Age | Commit message (Collapse) | Author |
|
* magic.c (magic_getroot): Deallocate DOTDOT if processing here.
(magic_open): Do not allocate and deallocate DOTDOT, just consume
the reference given to us.
(magic_peropen_destroy): New function.
(main): If in directory mode, install magic_peropen_destroy hook.
|
|
* Makefile (modules): Add `current-vcs' and its rules.
* console.c (console_current_id): New function.
* input.h (console_current_id): New prototype.
* trans.c (struct netnode): New member `symlink_path'.
(console_demuxer): Handle case when node it anonymous.
(netfs_S_io_select): Likewise.
(netfs_S_io_read): Likewise.
(netfs_S_io_write): Likewise.
(netfs_report_access): Likewise.
(netfs_attempt_mksymlink): Implement symlinks.
(netfs_attempt_lookup): Likewise.
(netfs_attempt_unlink): Likewise.
(netfs_attempt_link): Likewise.
(netfs_attempt_mkfile): Likewise.
(netfs_attempt_readlink): Likewise.
(netfs_get_dirents): Likewise.
(netfs_create_consnode): Likewise.
* trans.h (struct consnode): New members `readlink' and `mksymlink'.
* current-vcs.c: New file.
|
|
* priv.h (_cons_file): Prototype moved and renamed to...
* cons.h (cons_file): ... this.
* init-init.c (cons_init): Updated `_cons_file' reference.
* opts-std-startup.c (_cons_file): Renamed into `cons_file'. Updated
reference.
|
|
* ftpfs.c (parse_startup_opt): User names may contain a @, so take
the last @ of FTPFS_REMOTE_FS.
* host.c (split_server_name): User names may contain a @, so take
the last @ of P.
|
|
2005-05-17 Neal H. Walfield <neal@gnu.org>
* sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE.
|
|
* configure.in: Error out if MiG couldn't be found.
* configure: Regenerated.
|
|
* tmpfs.c (parse_opt): Use the right argument for parsing the
mode.
|
|
* init.c (main): Only pass ARGP_NO_ERRS to argp_parse when invoked
by the bootstrap filesystem.
(flags): New variable.
|
|
* Makefile (iso9660fs.static): New target.
|
|
|
|
* doc/hurd.texi: Doc fixes.
|
|
* README.UTF8: New file.
* motd.UTF8: Likewise.
|
|
* console.c (consnode_path): Renamed to ...
(console_node): ... this. Updated all references.
|
|
* storeio.c (trivfs_modify_stat): Don't initialize st_blocks.
|
|
* kdioctl.defs: New file.
|
|
* Makefile (SRCS): Add `vcons-move-mouse.c' and `vcons-event.c'.
* cons.h (mouse_movement): New enum.
(mouse_button): Likewise.
(mouse_event): New struct.
(mouse_event_t): New type.
(cons_vcons_set_mousecursor_pos): New prototype.
(cons_vcons_set_mousecursor_status): Likewise.
(cons_vcons_move_mouse): Likewise.
* file-changed.c (cons_S_file_changed): Generate the
`CONS_EVT_OUTPUT' event, in case there was output.
* opts-std-startup.c (OPT_MOUSE_SHOW, OPT_MOUSE_HIDE)
(OPT_MOUSE_SENS, DEFAULT_MOUSE_SENS, DEFAULT_MOUSE_SENS_STRING):
New macros.
(_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New
variables.
(startup_options): Add the options `--mouse-show-on',
`--mouse-hide-on' and `--mouse-sensitivity'.
(parse_startup_opt): Parse the options that were added to
`startup_options' using the new local function `parse_events'.
* priv.h (CONS_EVT_MOUSE_MOVE, CONS_EVT_MOUSE_BUTTON)
(CONS_EVT_KEYPRESS, CONS_EVT_OUTPUT): New macros.
(_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New
declarations.
(_cons_vcons_input): New prototype.
(_cons_vcons_console_event): Likewise.
* vcons-event.c: New file.
* vcons-move-mouse.c: Likewise.
* vcons-input.c (_cons_vcons_input): New function.
(cons_vcons_input): Rewritten to use _cons_vcons_input and report
the `CONS_EVT_KEYPRESS' event.
* vcons-refresh.c: Include "priv.h".
(cons_vcons_refresh): Report the `CONS_EVT_OUTPUT' event.
* vcons-scrollback.c: Include "priv.h".
(cons_vcons_scrollback): Report the `CONS_EVT_OUTPUT' event.
|
|
* Makefile (SRCS): Add `trans.c'.
(LCLHDRS): Add `mach-inputdev.h'.
(HURDLIBS): Add `netfs', `fshelp' and `iohelp'.
(modules): Add `pc_mouse'.
(pc_kbd.so.$(hurd-version)): Add `kdioctlServer.o' and
`kbd-repeat.c'.
(pc_mouse.so.$(hurd-version)): New variable.
* console.c: Include <trans.h>.
(DEFAULT_CONSOLE_NODE): New macro.
(saved_id, saved_cons, consnode_path): New variables.
(console_move_mouse): New function.
(console_switch_away): New function.
(console_switch_back): Likewise.
(cons_vcons_set_mousecursor_pos): Likewise.
(cons_vcons_set_mousecursor_status): Likewise.
(options): Add the option `--console-node'.
(parse_opt): Parse the options that were added to `options'.
(main): Setup the console client translator node.
* display.h (display_ops): New members `set_mousecursor_pos' and
`set_mousecursor_status'.
* driver.c (driver_start): Change the type of `i' to `unsigned
int'.
* driver.h (driver_ops): New members `save_status' and
`restore_status'.
* input.h (console_switch_away): New prototype.
(console_switch_back): Likewise.
(console_move_mouse): Likewise.
* kbd-repeat.c: New file.
* mach-inputdev.h: Likewise.
* pc-mouse.c: Likewise.
* trans.c: Likewise.
* trans.h: Likewise.
* pc-kbd.c: Include <argp.h> and "mach-inputdev.h".
(DEFAULT_REPEATER_NODE): New macro.
(repeater_node, cnode): New variables.
(kev_type, mouse_motion, Scancode, m_deltaX, m_deltaY, MOUSE_LEFT)
(MOUSE_MIDDLE, MOUSE_RIGHT, MOUSE_MOTION, KEYBD_EVENT)
(IOCPARM_MASK, IOC_OUT, IOC_IN, _IOC, _IOR, _IOW, KDSKBDMODE,
(KB_EVENT, KB_ASCII, KDGKBDTYPE, KB_VANILLAKB, KDSETLEDS):
Removed.
(gnumach_v1_input_next): Call the repeater when repeating is
active.
(doc, options, argp): New variables.
(parse_opt): New function.
(pc_kbd_init): Function rewritten.
(pc_kbd_start): Initialize the repeater, when it is active.
(pc_kbd_fini): Destroy the console node.
* vga.c (vga_mousecursor): New struct.
(vga_mousecursor_t): New type.
(mousecursor): New variable.
(hide_mousecursor): New function.
(draw_mousecursor): Likewise.
(vga_display_restore_status): Likewise.
(vga_display_update): Likewise.
(vga_set_mousecursor_pos): Likewise.
(vga_set_mousecursor_status): Likewise.
(vga_display_scroll): Update the mousecursor state.
(driver_vga_ops): Add `vga_display_restore_status'.
(vga_display_op): Add `vga_display_update', `vga_set_mousecursor_pos'
and `vga_set_mousecursor_status'.
|
|
* Makefile ($(installed_logins)): Don't overwrite already existing
login files unless asked for.
|
|
* pc-kbd.c (input_loop): Make the left shift key behave the same
as right shift key with regards to page up/down.
|
|
|
|
* io.defs (io_read, io_write, io_select): Comment fixes.
|
|
* storeinfo.c (diskfs_S_file_get_storage_info): Cast -1 to
store_offset_t in conditional operator, instead of implicitly cast
to uint32_t.
|
|
* resume-all-rpcs.c (ports_resume_all_rpcs): Fix check for block
condition.
* resume-bucket-rpcs.c (ports_resume_bucket_rpcs): Likewise.
* resume-class-rpcs.c (ports_resume_class_rpcs): Likewise.
* resume-port-rpcs.c (ports_resume_port_rpcs): Likewise.
|
|
|
|
2004-10-23 Marcus Brinkmann <marcus@gnu.org>
* hostmux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
usermux/
2004-10-23 Marcus Brinkmann <marcus@gnu.org>
* usermux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
libshouldbeinlibc/
2004-10-23 Marcus Brinkmann <marcus@gnu.org>
* ugids-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
|
|
|
|
* exec.c (check_elf_phdr): Return early on setting ENOEXEC.
Only touch E->info.elf.phdr_addr once, on the PT_LOAD segment that
actually contains the e_phoff location in the file.
(do_exec): If E.info.elf.phdr_addr is zero, don't set BOOT->phdr_size.
|
|
* driver.c (driver_start): Don't underflow I.
|
|
|
|
* Makefile (vga-CPPFLAGS): New variable.
* vga.c (DEFAULT_VGA_FONT, DEFAULT_VGA_FONT_ITALIC)
(DEFAULT_VGA_FONT_BOLD, DEFAULT_VGA_FONT_BOLD_ITALIC): Use
`DEFAULT_VGA_FONT_DIR' instead of hardcoding the filename.
|
|
* config.make.in (datadir): New variable.
|
|
|
|
|
|
* priv.h (struct execdata.info.elf): New field `phdr_addr'.
* exec.c (check_elf): Set E->info.elf.phdr_addr here from e_phoff.
(check_elf_phdr): Don't check for PT_PHDR, remove last two args.
(do_exec): Update callers. Set BOOT->phdr_addr and BOOT->phdr_size
using info saved by check_elf.
|
|
|
|
* fsysopts.c (doc): Changed `--remount' to `--update'.
|
|
|
|
* mount.c (argp_opts): Enabled never-enabled options and added
long versions: --verbose/-v, --remount/--update/-u,
--writable/-w, --readonly/-r and --options/-o. Reported by
Ben Asselstine.
* mount.c (parse_opt): For -u, use "update" instead of the deprecated
"remount" argument.
|
|
* io-select.c: Include <hurd/ports.h>.
(netfs_S_io_select): Add arguments `reply' and `replytype'.
* mutations.h (IO_SELECT_REPLY_PORT): New macro.
|
|
|
|
* Makefile (lib-subdirs): Remove bogon in last checkin.
|
|
|
|
* linux-src/net/ipv4/udp.c (udp_v4_get_port): Put empty statement
after label to silence compiler warning.
* linux-src/net/ipv4/tcp_ipv4.c
(tcp_v4_get_port, tcp_v4_connect, tcp_v4_rcv): Likewise.
* linux-src/net/ipv4/route.c (ip_rt_redirect): Likewise.
* linux-src/net/ipv4/arp.c (arp_constructor): Likewise.
|
|
|
|
* Makefile (prog-subdirs): Remove serverboot.
|
|
|
|
* store.h (__start_store_std_classes, __stop_store_std_classes):
Declare using __attribute__ ((weak)).
* typed.c (store_find_class): Removed `#pragma weak' for
`__stop_store_std_classes' and `__start_store_std_classes'.
|
|
|
|
* misc.h (OPENONLY_STATE_MODES): Remove O_NONBLOCK.
|
|
* ihash.h (HURD_IHASH_ITERATE): Don't use increment operator in
assignment, but just add one. Reported by Ognyan Kulev.
|