summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-08-29Revery previous change. Was intended for ams-branch, not HEAD.Neal H. Walfield
2005-08-29pflocal/Neal H. Walfield
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.
2005-07-262005-07-26 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* 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.
2005-07-13Fix last change.Marcus Brinkmann
2005-07-132005-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* current-vcs.c (repeater_node): Set default.
2005-07-12ext2fs/Marcus Brinkmann
fatfs/ 2005-07-12 Marcus Brinkmann <marcus@gnu.org> * pager.c (diskfs_get_filemap): Initialize upi->max_prot to PROT.
2005-07-122005-07-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2005-07-112005-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* 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.
2005-07-112005-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* 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.
2005-06-182005-06-14 Hugues Larrive <hugues.larrive@gmail.com>Alfred M. Szmidt
* 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-18pflocal/Neal H. Walfield
2005-05-17 Neal H. Walfield <neal@gnu.org> * sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE.
2005-04-072005-04-07 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* configure.in: Error out if MiG couldn't be found. * configure: Regenerated.
2005-03-202005-03-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* tmpfs.c (parse_opt): Use the right argument for parsing the mode.
2005-02-242005-02-24 Ben Asselstine <benasselstine@gmail.com>Marcus Brinkmann
* init.c (main): Only pass ARGP_NO_ERRS to argp_parse when invoked by the bootstrap filesystem. (flags): New variable.
2005-02-232005-02-23 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* Makefile (iso9660fs.static): New target.
2005-01-22Nobody noticed that...Alfred M. Szmidt
2005-01-222005-01-21 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* doc/hurd.texi: Doc fixes.
2005-01-192005-01-19 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* README.UTF8: New file. * motd.UTF8: Likewise.
2005-01-172005-01-10 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* console.c (consnode_path): Renamed to ... (console_node): ... this. Updated all references.
2005-01-072005-01-08 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* storeio.c (trivfs_modify_stat): Don't initialize st_blocks.
2005-01-062005-01-06 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* kdioctl.defs: New file.
2005-01-062005-01-06 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* 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.
2005-01-062005-01-06 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* 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'.
2004-12-182004-12-16 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* Makefile ($(installed_logins)): Don't overwrite already existing login files unless asked for.
2004-11-152004-11-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* pc-kbd.c (input_loop): Make the left shift key behave the same as right shift key with regards to page up/down.
2004-11-09.Alfred M. Szmidt
2004-11-092004-10-31 Alfred M. Szmidt <ams@gnu.org>Alfred M. Szmidt
* io.defs (io_read, io_write, io_select): Comment fixes.
2004-11-082004-11-08 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* storeinfo.c (diskfs_S_file_get_storage_info): Cast -1 to store_offset_t in conditional operator, instead of implicitly cast to uint32_t.
2004-11-082004-11-03 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* 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(check_elf_phdr): Fix typo in last change.Roland McGrath
2004-10-23hostmux/Marcus Brinkmann
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.
2004-10-22.Roland McGrath
2004-10-222004-10-22 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2004-10-222004-10-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* driver.c (driver_start): Don't underflow I.
2004-09-29.Alfred M. Szmidt
2004-09-292004-09-29 Alfred M. Szmidt <ams@kemisten.nu>Alfred M. Szmidt
* 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.
2004-09-292004-09-29 Alfred M. Szmidt <ams@kemisten.nu>Alfred M. Szmidt
* config.make.in (datadir): New variable.
2004-09-26(check_elf_phdr): Tweak last change.Roland McGrath
2004-09-26.Roland McGrath
2004-09-262004-09-26 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2004-09-22.Roland McGrath
2004-09-222004-09-21 Alfred M. Szmidt <ams@kemisten.nu>Roland McGrath
* fsysopts.c (doc): Changed `--remount' to `--update'.
2004-09-22.Roland McGrath
2004-09-222004-09-21 Alfred M. Szmidt <ams@kemisten.nu>Roland McGrath
* 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.
2004-09-122004-09-12 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* io-select.c: Include <hurd/ports.h>. (netfs_S_io_select): Add arguments `reply' and `replytype'. * mutations.h (IO_SELECT_REPLY_PORT): New macro.
2004-09-10.Roland McGrath
2004-09-102004-09-10 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (lib-subdirs): Remove bogon in last checkin.
2004-09-10.Roland McGrath
2004-09-102004-09-03 Alfred M. Szmidt <ams@kemisten.nu>Roland McGrath
* 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.
2004-09-10.Roland McGrath