Age | Commit message (Collapse) | Author |
|
[bug #15808]
* ifsock.c: Include <argp.h>, <sys/cdefs.h> and <version.h>.
(__XSTRING): New macro.
(argp_program_version, doc, argp): New variables.
(main): Call argp_parse().
Based on a patch by Ben Asselstine <benasselstine@gmail.com>.
|
|
|
|
* Makeconf (mach_defs_names): Remove `mach_norma' and `norma_task'.
|
|
* kalloc.c: #include <malloc.h>.
(init_hook, malloc_hook, free_hook): New functions.
(__malloc_initialize_hook): New variable.
(malloc, free): Functions removed.
|
|
* ps.c (current_tty_name): Don't declare as static.
* rpctrace.c (print_contents): Don't use ?: as a lvalue.
(msgids_file_p): Don't declare as static.
|
|
* mkfs.c (parse_opt): Move UP's functionality into UP_INT in order to
fix invalid lvalues.
|
|
* dir.h (DIRECT_NAMELEN): Don't use ?: as a lvalue.
|
|
* glue-include/asm/system.h (xchg): Fix invalid lvalue.
* linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_rst_req): Don't use ?: as a
lvalue.
|
|
* loop.c (server_loop): Fix invalid lvalues.
|
|
* priv.h: Include <argp.h>.
|
|
* boot.c (boot_script_exec_cmd): Fix invalid lvalues.
|
|
|
|
* io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would
become negative.
|
|
|
|
* config.guess: Updated from the canonical source.
* config.sub: Likewise.
|
|
* console.c (main): Check CONS instead of MALLOC.
|
|
* input.c (input_create): Fix arguments order of iconv_open()
call.
|
|
|
|
* store.h (STORE_STD_CLASS): Use __attribute_used__ macro
instead of `unused' attribute.
|
|
|
|
2005-05-17 Neal H. Walfield <neal@gnu.org>
* connq.h (struct connq_request): Remove forward.
(connq_listen): Wait for a request to be queued not until there is
a connection attempt. Remove REQ parameter. Update callers.
(connq_request_complete): Remove declaration.
(connq_connect): Wait for a slot to queue a request not until
there is an acceptor. Remove SOCK parameter. Update callers.
(connq_connect_complete): New declaration.
(connq_connect_cancel): New declaration.
* connq.c (struct connq): Remove fields noqueue, queue, length,
head and tail. Add fields head, tail, count, max, connectors and
num_connectors. That is, replace the circular buffer with a
singly linked list.
(qnext): Remove function.
(struct connq_request): Remove field signal, lock, completed and
err. Add field next.
(connq_request_init): Rewrite according to new semantics.
(connq_request_enqueue): New function.
(connq_request_dequeue): New function.
(connq_create): Update according to new semantics.
(connq_destroy): Likewise.
(connq_listen): Rewrite to not block until there is a connector
but until there is a request in the queue.
(connq_request_complete): Remove function.
(connq_connect): Rewrite to not block until there is an acceptor
but until there is space for a request.
(connq_connect_complete): New function.
(connq_connect_cancel): New function.
(connq_compress): Remove dead code.
(connq_set_length): Rewrite.
* socket.c (S_socket_connect): Create the server socket here...
(S_socket_accept): ... not here.
|
|
* rpctrace.c: Include <fnmatch.h>, <sys/stat.h>, and <dirent.h>.
(main, options): Renamed the option `-I' to `-i', and
reimplemented `-I' to search a given directory for message ID
files.
(main): Variable `err' removed.
|
|
|
|
* current-vcs.c (repeater_node): Set default.
|
|
fatfs/
2005-07-12 Marcus Brinkmann <marcus@gnu.org>
* pager.c (diskfs_get_filemap): Initialize upi->max_prot to PROT.
|
|
* 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.
|