summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-03-132004-03-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* storeread.c (main): Call argp_usage if store is not set at ARGP_KEY_END.
2004-03-072004-03-07 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* bdf.c (bdf_read): Change the types of has_size, has_fbbx, has_metricset, glyph_has_encoding, glyph_has_bbx, glyph_bwidth, glyph_bheight and glyph_blines to unsigned int. * bell.h (struct bell_ops): Change the type of the argument KEY of the interface `deprecated' to unsigned int. All callers changed. * display.h (struct display_ops): Changed the type of the arguments width and height to unsigned int. All callers changed. * driver.c (driver_fini): Change the type of `i' to unsigned int to silence a gcc warning. (driver_start): Likewise. (driver_remove): Likewise. (ADD_REMOVE_COMPONENT): Likewise. (driver_add): Likewise. * generic-speaker.c (beep_on): Cup pitch at 20000, not 327677. Also silences a gcc warning. * ncursesw.c: Changed all calls to the function `ncurses_refresh' to `refresh_screen'. (current_width): Changed type to unsigned int. (current_height): Likewise. (padx): Likewise. (pady): Likewise. (refresh_screen): Cast LINES and COLS to unsigned int. (input_loop): Change `i' from int to unsigned int to silence a gcc warning. * vga.c (current_width): Changed type to unsigned int to silence a gcc warning. (current_heigh): Likewise. (struct vga_display): Changed the type of the members `width' and `height' to unsigned int to silence a gcc warning. (vga_display_change_font): Disabled the unused code for now.
2004-03-062004-03-07 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* ihash.h (HURD_IHASH_NO_LOCP): Change to INTPTR_MIN. (struct hurd_ihash): Change type of locp_offset from off_t to intptr_t. (hurd_ihash_init): Likewise in prototype. (hurd_ihash_create): Likewise in prototype. * ihash.c (hurd_ihash_init): Likewise in definition. (hurd_ihash_create): Likewise in definition.
2004-03-052004-03-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* term.h (QUEUE_LOWAT): Increase to 200. (QUEUE_HIWAT): Increase to 8100.
2004-03-01auth/Marcus Brinkmann
2003-08-17 Marcus Brinkmann <marcus@gnu.org> * auth.c: Include <stddef.h>. (pending_users, pending_server): Change type to struct hurd_ihash, initialize with HURD_IHASH_INITIALIZER. (struct pending): Change type of member LOCP to hurd_ihash_locp_t. (S_auth_user_authenticate): Use hurd_ihash_* functions instead ihash_*. (S_auth_server_authenticate): Likewise. (main): Do not allocate the hash tables. console-client/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * vga-dynafont.c: Include <stddef.h>. (struct mapped_character): Change type of LOCP to hurd_ihash_locp_t. (struct dynafont): Change type of CHARMAP to struct hurd_ihash. (dynafont_new): Use hurd_ihash_init instead of ihash_create. Remove variable ERR. Call hurd_ihash_add instead of ihash_add. (dynafont_free): Call hurd_ihash_destroy, no ihash_free. (dynafont_lookup_internal): Use hurd_ihash_find, not ihash_find. (dynafont_lookup_internal): Call hurd_ihash_locp_remove instead ihash_locp_remove, and hurd_ihash_add instead ihash_add. (dynafont_change_font): Likewise. Clean out LOCP if character is unmapped. ftpfs/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ftpfs.h: Include <hurd/ihash.h>. (struct ftpfs): Change type of INODE_MAPPINGS to struct hurd_ihash. (struct ftpfs_dir_entry): Change type of INODE_LOCP to hurd_ihash_locp_t. * node.c (ftpfs_create_node): Call hurd_ihash_add, not ihash_add. (netfs_node_norefs): Call hurd_ihash_locp_remove, not ihash_locp_remove. * fs.c: Include <stddef.h>. (ftpfs_create): Call hurd_ihash_init, not hurd_ihash_create. Call hurd_ihash_destroy on error. libihash/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ihash.c: Rewritten. * ihash.h: Rewritten. * Makefile (SRCS): Remove sizes.c. (LCLHDRS): Remove priv.h. * primes.c, sizes.c, priv.h: Files removed. 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ports.h (struct port_bucket): Change type of HTABLE to struct hurd_ihash. (struct port_info): Change type of HENTRY to hurd_ihash_locp_t. * lookup-port.c (ports_lookup_port): Use hurd_ihash_find instead ihash_find. * bucket-iterate.c (_ports_bucket_class_iterate): Use HURD_IHASH_ITERATE instead ihash_iterate. * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise. * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. * create-internal.c (_ports_create_port_internal): Use hurd_ihash_add instead ihash_add. * import-port.c (ports_import_port): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. * create-bucket.c: Include <stddef.h>. (ports_create_bucket): Use hurd_ihash_init instead hurd_ihash_create. * class-iterate.c: Do not include <hurd/ihash.h>. * claim-right.c (ports_claim_right): Call hurd_ihash_locp_remove instead ihash_locp_remove. * complete-deallocate.c (_ports_complete_deallocate): Likewise. * destroy-right.c (ports_destroy_right): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. libps/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ps.h (struct ps_context): Change type of members procs, ttys, ttys_by_cttyid and users to struct hurd_ihash. * context.c (ps_context_create): Remove variables err_procs, err_ttys, err_ttys_by_cttyid and err_users. Use hurd_ihash_init instead of ihash_create. Call hurd_ihash_set_cleanup and the hurd_ihash_cleanup_t type instead of ihash_set_cleanup. (ps_context_free): Call hurd_ihash_destroy instead of ihash_free. (lookup): Call hurd_ihash_find instead ihash_find, hurd_ihash_add instead ihash_add. (ps_context_find_proc_stat): Take pointer of hash object. (ps_context_find_tty): Likewise. (ps_context_find_tty_by_cttyid): Likewise. (ps_context_find_user): Likewise. libpthread/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * sysdeps/hurd/pt-key.h (PTHREAD_KEY_MEMBERS): Change type of THREAD_SPECIFICS to hurd_ihash_t. * sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Call hurd_ihash_create instead ihash_create, and hurd_ihash_add instead ihash_add. * sysdeps/hurd/pt-getspecific.c (pthread_getspecific): Call hurd_ihash_find instead of ihash_find. * sysdeps/hurd/pt-destroy-specific.c (__pthread_destroy_specific): Call hurd_ihash_find instead of ihash_find, hurd_ihash_remove instead of ihash_remove, and hurd_ihash_free instead of ihash_free. proc/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * proc.h: Include <hurd/ihash.h>. (struct proc): Change type of members p_pidhashloc and p_taskhashloc to hurd_ihash_locp_t. (struct pgrp): Likewise for pg_hashloc. (struct session): Likewise for s_hashloc. * hash.c: Change type of pghash, pidhash, taskhash and sidhash to struct hurd_ihash and initialize them with HURD_IHASH_INITIALIZER. Include stddef.h. (pid_find): Call hurd_ihash_find instead ihash_find. (pid_find_allow_zombie): Likewise. (task_find): Likewise. (task_find_nocreate): Likewise. (pgrp_find): Likewise. (session_find): Likewise. (add_proc_to_hash): Call hurd_ihash_add instead ihash_add. (add_pgrp_to_hash): Likewise. (add_session_to_hash): Likewise. (remove_pgrp_from_hash): Call hurd_ihash_locp_remove instead ihash_locp_remove, and provide hash table pointer. (remove_proc_from_hash): Likewise. (remove_session_from_hash): Likewise. (prociterate): Use HURD_IHASH_ITERATE instead ihash_iterate. trans/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c: Include <stddef.h>. (struct netnode): Change type of member idport_locp to hurd_ihash_locp_t. (idport_ihash): Change type to struct hurd_ihash and initialize with HURD_IHASH_INITIALIZER. (new_node): Call hurd_ihash_add instead of ihash_add. (netfs_node_norefs): Call hrd_ihash_locp_remove instead ihash_locp_remove. (netfs_S_dir_lookup): Call hurd_ihash_find instead ihash_find. utils/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * rpctrace.c: Include <stddef.h>. (struct traced_info): Change type of LOCP to hurd_ihash_locp_t. (msgid_ihash): Change type to struct hurd_ihash, and initialize with HURD_IHASH_INITIALIZER, don't set cleanup here. (traced_names): Likewise. (main): Call hurd_ihash_set_cleanup for msgid_ihash. Don't create traced_names. (parse_msgid_list): Call hurd_ihash_add instead ihash_add. (new_send_wrapper): Likewise. (msgid_info): Likewise. Call hurd_ihash_find instead ihash_find. (rewrite_right): Likewise. (traced_dropweak): Call hurd_ihash_locp_remove instead ihash_locp_remove.
2004-02-11.Roland McGrath
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* linux-src/arch/i386/lib/checksum.S: Fix comment syntax.
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* runtime-argp.c (netfs_runtime_argp): Include <argp.h>.
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
2004-02-11formatoRoland McGrath
2004-02-11.Roland McGrath
2004-02-112004-02-11 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (servercopy): Change signature to avoid casted arguments. Update callers. (do_exec, S_exec_setexecdata): Update callers.
2004-02-11.Roland McGrath
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* start-translator-long.c (service_fsys_startup): Move mach_msg_type_t const variables inside the function, make them auto so they are optimized away to integer constants. Use a union instead of casts to do efficient type checking.
2004-02-10.Roland McGrath
2004-02-102004-01-15 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h (struct execdata.info.elf): Add `execstack' flag. * exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X flag bit. If no PT_GNU_STACK, default to set. (do_exec): If flag is clear, remove execute permission from stack.
2004-02-102004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c (dump_core): Include null terminator in note name size, and round up to four byte alignment. (dump_core: write_note): Don't round OFFSET after each partial write. (dump_core): Don't round up to page size before writing notes. Do round up to page size for offset of each PT_LOAD region.
2004-02-022004-02-02 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* pc-kbd.c (KDSETLEDS): New macro. (update_leds): Add support for setting the keyboard LED state on GNUMach 1.x (> 1.3). (input_loop): Use size_t for `nr' instead of int to silence a gcc warning.
2004-02-01.Roland McGrath
2004-02-012004-02-01 Alfred M. Szmidt <ams@kemisten.nu>Roland McGrath
* hurd.texi (Installing): Chapter removed.
2004-01-272004-01-26 Jeff Bailey <jbailey@nisa.net>Jeff Bailey
* config.make.in (hurddir): Use ${exec_prefix} instead of $(exec_prefix) (bootdir): Likewise (libdir): Get definition from autoconf (bindir): Likewise (sbindir): Likewise (includedir): Likewise (libexecdir): Likewise (infodir): Likewise (sysconfdir): Likewise (localstatedir): Likewise (sharedstatedir): Likewise
2004-01-10.Roland McGrath
2004-01-102004-01-10 Roberto Reale <rreale@iol.it>Roland McGrath
* ext2fs.h (ext2_getblk): Fix typo in comment. * getblk.c (ext2_getblk): Likewise. * dir.c (diskfs_get_directs): Likewise.
2003-11-052003-11-05 Jeff Bailey <jbailey@nisa.net>Jeff Bailey
* config.sub: Update. * config.guess: Update.
2003-10-28Gratuitous commit for final testJeff Bailey
2003-10-27Another gratuitous commitJeff Bailey
2003-10-27Another gratuitous commit to test my fix for my typoJeff Bailey
2003-10-27Gratuitous commit to test IRC log notificationJeff Bailey
2003-10-26.Roland McGrath
2003-10-262003-10-26 Roland McGrath <roland@frob.com>Roland McGrath
* storeread.c (doc, arg_doc): Make arrays, not pointers; make const. (doc): Add leading short description line before \v.
2003-10-26.Roland McGrath
2003-10-262003-10-26 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (docs, args_doc): Make arrays, not pointers. (doc): Remove "\v.". Reported by Alfred M. Szmidt <ams@kemisten.nu>.
2003-10-102003-10-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* nosenders.c, notify-stubs.c: Remove obsolete files.
2003-10-102003-10-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
2003-10-102003-10-09 Alfred M. Szmidt <ams@kemisten.nu>Marcus Brinkmann
* Makeconf (TAGS): Add a space between the function `strip' and its argument.
2003-09-292003-09-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* bugaddr.c: Fix last change.
2003-09-232003-09-17 Alfred M. Szmidt <ams@kemisten.nu>Marcus Brinkmann
* bugaddr.c: Update to "<bug-hurd@gnu.org>".
2003-09-06.Roland McGrath
2003-09-062003-09-05 Greg Buchholz <greg@sleepingsquirrel.org>Roland McGrath
* fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to EOPNOTSUPP (was EINVAL).
2003-08-312003-08-31 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* main.c (diskfs_readonly, diskfs_hard_readonly): Removed. (main): Set diskfs_readonly and diskfs_hard_readonly to one.
2003-08-162003-08-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* mgt.c (S_proc_dostop): Revert last change.
2003-08-162003-08-16 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* cons.h (cons_vcons_set_dimension): Fix typo.
2003-08-152003-08-11 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* console.c (cons_vcons_set_dimension): New function. * display.h (display_ops): New interface set_dimension. * ncursesw.c (ncursesw_set_dimension): New function. (ncursesw_displ): Add ncursesw_set_dimension. (ncurses_lock): Make variable static. (current_width): New variable. (current_height): Likewise. (cursor_state): Likewise. (cursor_hidden): Likewise. (driver_ncursesw_ops): Added ncursesw_set_dimension. * vga.c (current_width): New variable. (current_height): Likewise. (vga_display_set_cursor_status): If the cursor is outside the screen, don't change the visibility. (vga_display_set_cursor_pos): Don't set the cursor outside the physical screen. Update cursor_hidden and hide/unhide to match cursor_hidden. Function moved to above vga_display_set_cursor_status. (vga_display_scroll): Report an error when scrolling is not possible. (vga_display_clear): Recalculate cols, rows and length. (vga_display_write): Make it wrap around the edge. (vga_set_dimension): New function. (vga_disp_ops): Added vga_set_dimension. * ncursesw.c (conspad): New variable. (padx): Likewise. (pady): Likewise. (autoscroll): Likewise. (refresh_screen): new function. (input_loop): Use conspad instead of (the default) stdscr. Call console_exit instead of exiting here. Add keybindings 'j, 'k', 'l' and 'i' to scroll the console, add keybinding 'a' to switch autoscroll. (mvwputsn): Use conspad instead of (the default) stdscr. (ncursesw_scroll): Likewise. (ncursesw_write): Likewise. (ncursesw_driver_start): Likewise. Initialize conspad. (ncursesw_update): Call refresh_screen to refresh the console. (ncursesw_set_cursor_pos): Use conspad instead of (the default) stdscr. Make the console autoscroll. * ncursesw.c (ncursesw_driver_start): Remove endwin call at the end of the function. * ncursesw.c (ncursesw_set_cursor_status): If the status can not be set, use another status that can sanely be used instead of the unavailable status.
2003-08-152003-08-11 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* cons.h (cons_vcons_set_dimension): New prototype. * vcons-refresh.c (cons_vcons_refresh): Call cons_vcons_set_dimension instead of cons_vcons_clear.
2003-08-112003-08-09 Alfred M. Szmidt <ams@kemisten.nu>Marcus Brinkmann
* Makefile (targets): Add hurd.info-* to list.
2003-08-092003-06-16 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* mgt.c (S_proc_dostop): Instead of suspending all threads except CONTTHREAD, first suspend all threads, and then resume CONTTHREAD.
2003-08-092003-08-09 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fat.h: Include <byteswap.h>.
2003-08-092003-08-09 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fat.h (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to swap bytes. (write_dword) [BYTE_ORDER == BIG_ENDIAN]: Likewise. (read_word) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_16 to swap bytes. (write_word) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
2003-08-06I am reverting this change.Marcus Brinkmann
2003-08-062003-08-03 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* fatfs.h (struct disknode): New member DIRNODE. * inode.c (read_node): Added assertion to be sure the directory can always be found. Add directory dependancy to node by initializing DIRNODE and holding a reference. (diskfs_node_norefs): Release reference to DIRNODE. (write_node): Don't use diskfs_cached_lookup to lookup the directory, use DIRNODE instead and lock DP. Don't use diskfs_nput, use mutex_unlock instead. (diskfs_alloc_node): Add directory dependancy to node by initializing DIRNODE and holding a reference.