Age | Commit message (Collapse) | Author |
|
|
|
* unix.c (ftp_conn_unix_start_get_stats): Pass dirname a copy of NAME
instead of the original pointer.
|
|
* Makefile (lib-subdirs): Add libpthread.
|
|
|
|
* hurd.ti (cub1): Change from \E[D to ^H.
* display.c (handle_esc_bracket): Revert last change.
|
|
* display.c (handle_esc_bracket): Implement <bw> for <cub1>.
|
|
|
|
* ext2fs.h (struct disknode): New member `info_i_translator'.
* inode.c (diskfs_set_translator): Update NP->dn->info_i_translator.
* ialloc.c (diskfs_alloc_node): Clear a nonzero translator block in
the on-disk inode just as we do for data blocks.
|
|
|
|
* dir.h (MAXNAMLEN): #undef before defining.
|
|
2002-10-04 Marcus Brinkmann <marcus@gnu.org>
* console.h (struct cons_display): Doc fix.
libcons/
2002-10-04 Marcus Brinkmann <marcus@gnu.org>
* vcons-open.c (cons_vcons_open): Add casts to silence gcc
warning.
|
|
* vga-support.c (vga_get_font_width): New function.
* vga-support.h: Add prototype for vga_get_font_width.
* vga-dynafont.c (create_system_font): Call vga_get_font_width to
determine real font width.
|
|
* ttys (console): Change type column ($TERM setting) to `mach-color'.
|
|
* control (Build-Depends): Add libncursesw5-dev.
* changelog: Add a note about this here.
|
|
2002-09-29 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Translators): Change isofs to iso9660fs
(ISO-9660 CD-ROM FS): Likewise.
isofs/
2002-09-29 Marcus Brinkmann <marcus@gnu.org>
* Makefile (target): Change to iso9660fs.
* main.c (diskfs_server_name): Change to iso9660fs.
|
|
* loop.c (server_loop): Use memset instead bzero.
(server_loop): Add parenthesis for post-decrement (even
though it is only used as an lvalue here). Increment P after
using it in the macro, not within.
* ops.c (complete_setattr): Likewise.
(op_setattr, op_read, op_write, op_create, op_symlink, op_mkdir,
op_readdir, op_getport): Likewise.
* xdr.c (encode_fattr): Likewise.
(encode_data): Likewise. Also use memcpy instead bcopy.
(encode_statfs): Likewise.
(decode_name): Likewise. Also use memcpy instead bcopy.
(encode_fhandle): Use memcpy instead bcopy.
* cache.c (process_cred): Add parenthesis for post-decrement (even
though it is only used as an lvalue here). Increment P after
using it in the macro, not within.
(idspec_lookup): Use memcpy, not bcopy.
(lookup_cache_handle): Likewise.
(create_cached_handle): Likewise.
(check_cached_replies): Likewise.
|
|
* mount.c (mount_root): Add parenthesis for post-decrement (even
though it is only used as an lvalue here). Increment P after
using it in the macro, not within.
* rpc.c (initialize_rpc, conduct_rpc): Likewise.
* ops.c (process_returned_stat, process_wcc_stat,
netfs_validate_stat, netfs_attempt_chown, netfs_attempt_chmod,
netfs_attempt_utimes, netfs_attempt_set_size,
netfs_attempt_statfs, netfs_attempt_read, netfs_attempt_write,
verify_nonexistent, netfs_attempt_lookup, netfs_attempt_mkdir,
netfs_attempt_rmdir, netfs_attempt_link,
netfs_attempt_create_file, netfs_attempt_unlink,
netfs_attempt_rename, netfs_attempt_readlink, netfs_report_access,
netfs_check_open_permissions): Likewise.
(fetch_directory): Likewise. Also use memcpy instead bcopy.
* cache.c (recache_handle): Likewise.
* nfs.c (xdr_encode_data, xdr_encode_sattr_mode,
xdr_encode_sattr_ids, xdr_encode_sattr_size,
xdr_encode_sattr_times, xdr_encode_create_state,
xdr_encode_sattr_stat, xdr_decode_64bit, xdr_decode_fattr):
Likewise.
(xdr_decode_string): Likewise. Also use memcpy instead bcopy.
(xdr_decode_fhandle): Likewise. Also use memcpy instead bcopy.
|
|
* pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations.
|
|
* vcons-refresh.c (cons_vcons_refresh): Take VCONS->scrolling into
account.
|
|
* pager.c, pager.h: New file.
* Makefile (SRCS): Add pager.c.
(LCLHDRS): Add pager.h.
* display.c: Do not include <hurd/pager.h>, <sys/mman.h>,
<sys/io.h>, <fcntl.h> and <sys/fcntl.h>. Include <hurd/ports.h>
and "pager.h".
(struct display): Replace member PAGER and MEMOBJ with USER_PAGER.
(display_get_filemap): Implement with user_pager_get_filemap.
(user_destroy): Implement with user_pager_destroy.
(user_create): Implement partially with user_create.
(display_init): Call user_pager_init.
(struct user_pager_info, pager_bucket, pager_clear_user_data,
pager_read_page, pager_write_page, pager_unlock_page,
pager_report_extent, pager_dropweak, service_paging_requests):
Move to ...
* pager.c: ... here.
|
|
* console.c: Include <mach.h>.
(netfs_S_dir_notice_changes): New variable PREQ. Clean out the
dead wood, eh, dead name notifications from the CONS->dirmod_req
list.
* display.c (struct user_pager_info): Drop members DISPLAY and P.
(struct display): Remove member UPI and add member PAGER.
(pager_report_extent): Remove local variable DISPLAY, use UPI
directly.
(user_create): New variable UPI to hold the user pager info.
Modify the code to match new struct organization.
(user_destroy): Unmap the user data.
(display_notice_changes): Request dead-name notifications.
(free_modreqs): Cancel dead-name notification request before
deallocation send right.
(display_notice_filechange): Likewise.
(do_mach_notify_msg_accepted): Likewise.
(display_destroy): Take DISPLAY->lock while operating. Reset the
filemod_reqs and filemod_reqs_pending members of DISPLAY to NULL.
(do_mach_notify_port_deleted): Add comment.
(do_mach_notify_dead_name): Implement.
(do_mach_notify_no_senders): Implement by delegating to libports.
(do_mach_notify_send_once): Don't fail.
|
|
|
|
* vga-support.c (vga_read_write_font_buffer): New function. It
turns out that reading and writing needs the same register
settings.
(vga_write_font_buffer): Implement in terms of
vga_read_write_font_buffer.
(vga_read_font_buffer): Likewise.
|
|
2002-09-18 Marcus Brinkmann <marcus@gnu.org>
* console.h (struct cons_display): Add a new flag
CONS_FLAGS_TRACK_MOUSE.
(CONS_MOUSE_BUTTON_MASK, CONS_MOUSE_BUTTON1, CONS_MOUSE_BUTTON2,
CONS_MOUSE_BUTTON3, CONS_MOUSE_RELEASE, CONS_MOUSE_MOD_MASK,
CONS_MOUSE_MOD_SHIFT, CONS_MOUSE_MOD_META, CONS_MOUSE_MOD_CTRL,
CONS_MOUSE_OFFSET_BASE, CONS_MOUSE_EVENT_LENGTH,
CONS_MOUSE_EVENT_PREFIX, CONS, MOUSE_EVENT): New macro.
(CONS_KEY_B2): New macro.
console/
2002-09-18 Marcus Brinkmann <marcus@gnu.org>
* hurd.ti: Enable <kb2> and <kmouse>, fix the comments.
* display.c (handle_esc_bracket_question_hl): Handle escape
bracket 1000 h/l for XTerm-like mouse tracking enable/disable.
|
|
* display.c (handle_esc_bracket): Use scrolling region for <ind>,
<indn>, <ri>, <rin>, <il1>, <il>, <dl1> and <dl>. Also fix
off-by-one error in <ri>, <rin>.
|
|
* ncursesw.c: Add an entry for the clear function.
* pc-kbd.c (sv_to_kc): Add entries for unused scan codes 0x55 and
0x56.
|
|
* hurd.ti: Change <gsbom> and <grbom> to escape bracket
right-angle sequences. Add <csr>, <smir>, <rmir> and <mir>,
disable <ich1>.
* display.c (handle_esc_bracket_m): Map \E[21m to normal intensity
(as a way to switch off bright intensity).
(handle_esc_bracket): Fix calculation of fill area for <ech>.
(struct scrolling_region): New type.
(struct display): New members INSERT_MODE and CSR.
(display_output_one): For <rs2>, also reset DISPLAY->insert_mode
and DISPLAY->csr.
(display_create): Initialize DISPLAY->csr.bottom.
(display_output_one): If in insert mode, shift to the right before
printing the character.
(linefeed): Take scrolling region into account.
(handle_esc_bracket): Switch the meaning of 'h' and 'l'.
(handle_esc_bracket_question): Likewise.
(handle_esc_bracket_question_hl): Switch the interpretation of
FLAG.
(handle_esc_bracket_hl): Likewise. Add support for insert mode
<smir> and <rmir>.
(struct parse): New state STATE_ESC_BRACKET_RIGHT_ANGLE.
(display_output_one): Handle STATE_ESC_BRACKET_RIGHT_ANGLE.
(display_output_one): Move the bold attribute handling from here
(<PU1>, <PU2>) ...
(handle_esc_bracket_right_angle_hl): ... to here. New function
handling <gsbom> and <grbom>.
(handle_esc_bracket_right_angle): New function.
(handle_esc_bracket): Implement <csr>.
|
|
|
|
|
|
* elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types
are not actually identical, must rearrange some members a little.
|
|
* Makeconf (CPPFLAGS): Move -std=gnu99 option to ...
(CFLAGS): ... here.
pfinet/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* Makefile: Revert last change.
* glue-include/asm/spinlock.h (SPIN_LOCK_UNLOCKED): Do not use a
compound literal, which is not constant.
|
|
* input.c (input_enqueue): Initialize ERR.
* bdf.c, bdf.h, display-drv.h, dynafont.c, dynafont.h, focus.c,
focus.h, input-drv.h, main.c, ourfs_notify.defs, vcons.c, vcons.h,
vga.c, vga-display.c, vga.h, vga-hw.h: Obsolete files removed.
|
|
* changelog: Update for new Debian package.
|
|
* pc-kbd.c (input_loop): Move code that toggles NumLock after code
that handles direct entry of character codes with RightAlt.
|
|
* opts-std-startup.c (OPT_NO_JUMP_DOWN_ON_INPUT): New macro.
(OPT_NO_JUMP_DOWN_ON_OUTPUT): Likewise.
(_cons_jump_down_on_input): Default to 1.
(startup_options): Add new options --no-jump-down-on-input and
--no-jump-down-on-output.
(parse_startup_opt): Handle these new options.
|
|
* display.c (handle_esc_bracket_m): Really disable italics on
<ritm>.
|
|
* Makefile: For now, filter -std=gnu99 out of CPPFLAGS.
|
|
* Makefile (prog-subdirs): Add console-client.
sutils/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* MAKEDEV.sh (mkdev: vcs): New console device.
(mkdev: tty[0-9a-f]|tty[0-9][0-9a-f]): Replaced with new rules for
tty[1-9][0-9].
utils/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* console-ncurses.c: File removed (the ncursesw console client is
now a driver in the console-client).
* Makefile: Revert 2002-08-22 change:
Do not include`../config.make'.
(targets) [LIBNCURSES]: Removed.
(SRCS) [LIBNCURSES]: Likewise.
(HURDLIBS) [LIBNCURSES]: Likewise.
(console-ncurses): Target removed.
(console-ncurses-CPPFLAGS): Removed.
(console-ncurses-LDLIBS): Likewise.
console-client/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* Makefile, bdf.c, bdf.h, bell.h, console.c, display.h, driver.c,
driver.h, generic-speaker.c, input.h, pc-kbd.c, timer.c, timer.h,
unicode.h, vga.c, vga-dynacolor.c, vga-dynacolor.h, vga-dynafont.c,
vga-dynafont.h, vga-hw.h, vga-support.c, vga-support.h: New file.
|
|
* cons.h: Add prototype for cons_vcons_clear.
* file-changed.c (cons_S_file_changed): Prepare all areas we write
to with cons_vcons_clear (unless we use cons_vcons_scroll
already).
* vcons-refresh.c (cons_vcons_refresh): Likewise.
* vcons-scrollback.c (_cons_vcons_scrollback): Likewise.
|
|
2002-09-16 Marcus Brinkmann <marcus@gnu.org>
* console.h (conchar_attr_t): Add bits for italic and bold text
attributes.
console/
2002-09-16 Marcus Brinkmann <marcus@gnu.org>
* hurd.ti: Add capabilities <sitm>, <ritm>, <gsbom>, <grbom>.
* display.c (handle_esc_bracket_m): Add support for italic.
(display_output_one): Add new capabilities PU1 and PU2 to toggle
bold mode. Reset PARSE->state on most escape sequences.
* console.c (parse_attributes): Rename old bold attribute to
bright. Add support for italic and bold.
|
|
* opts-std-startup.c (parse_startup_opt): Use argp_error instead
argp_usage for error. Replace case for ARGP_KEY_END with case for
ARGP_KEY_NO_ARGS.
|
|
* getty.c: Include <termios.h>.
(set_speed): New function.
(main): Take linespec from argc[1], not argc[2]. Call set_speed.
|
|
change with _on_.
|
|
* Makefile (SRCS): Add vcons-input.c.
* vcons-input.c: New file.
* vcons-scrollback.c (_cons_vcons_scrollback): New function.
(cons_vcons_scrollback): Reimplement in terms of
_cons_vcons_scrollback.
* cons.h (cons_scroll_t): New type.
(cons_vcons_scrollback): Update prototype.
* priv.h (_cons_jump_down_at_input): New extern.
(_cons_jump_down_at_output): Likewise.
(_cons_vcons_scrollback): New prototype.
* opts-std-startup.c (OPT_JUMP_DOWN_AT_INPUT): New macro.
(OPT_JUMP_DOWN_AT_OUTPUT): Likewise.
(_cons_jump_down_at_input): New variable.
(_cons_jump_down_at_output): Likewise.
(startup_options): Add new options --jump-down-at-input and
--jump-down-at-output.
(parse_startup_opt): Handle these new options.
* file-changed.c (cons_S_file_changed): Support the jump down at
output option.
|
|
* file-changed.c (cons_S_file_changed): Fix typo in last change.
|
|
* hurdio.c (hurdio_writer_loop): Check output_stopped instead termflags.
Move the code that signals the underlying file to ...
(hurdio_start_output): ... here.
|
|
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* display.c (DISPLAY_CHANGE_FLAGS): New macro.
(struct changes): New member FLAGS.
(display_flush_filechange): Handle change of flags.
(display_output_some): Initialize DISPLAY->changes.flags.
(display_start_output): Clear CONS_FLAGS_SCROLL_LOCK in DISPLAY.
(display_stop_output): Set CONS_FLAGS_SCROLL_LOCK in DISPLAY.
hurd/
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* console.h (struct cons_display): New member FLAGS.
(union cons_change_t): Likewise for WHAT->flags.
libcons/
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* cons.h: New prototype for cons_vcons_set_scroll_lock.
(struct vcons): Add member FLAGS to state.
* file-changed.c (cons_S_file_changed): Handle change of flags.
* vcons-refresh.c (cons_vcons_refresh): Copy FLAGS field.
Call cons_vcons_set_scroll_lock.
* cons-switch.c (cons_switch): Initialize VCONS_ENTRY even if
DELTA is negative.
utils/
2002-09-09 Marcus Brinkmann <marcus@gnu.org>
* console-ncurses.c (cons_vcons_set_scroll_lock): New function.
|
|
* munge.c (input_character): Really toggle USER_OUTPUT_SUSP if
VSTART == VSTOP.
|
|
* hurdio.c (hurdio_writer_loop): Desert the DTR on all errors, not
only EIO.
(hurdio_reader_loop): Likewise.
|
|
* display.c (display_output_some): If iconv fails with EILSEQ,
skip the next byte in the buffer and print a replacement
character.
|