Age | Commit message (Collapse) | Author |
|
* config.sub: Update.
* config.guess: Update.
|
|
|
|
|
|
|
|
|
|
|
|
* storeread.c (doc, arg_doc): Make arrays, not pointers; make const.
(doc): Add leading short description line before \v.
|
|
|
|
* rpctrace.c (docs, args_doc): Make arrays, not pointers.
(doc): Remove "\v.". Reported by Alfred M. Szmidt <ams@kemisten.nu>.
|
|
* nosenders.c, notify-stubs.c: Remove obsolete files.
|
|
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
|
|
* Makeconf (TAGS): Add a space between the function `strip' and
its argument.
|
|
* bugaddr.c: Fix last change.
|
|
* bugaddr.c: Update to "<bug-hurd@gnu.org>".
|
|
|
|
* fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to
EOPNOTSUPP (was EINVAL).
|
|
* main.c (diskfs_readonly, diskfs_hard_readonly): Removed.
(main): Set diskfs_readonly and diskfs_hard_readonly to one.
|
|
* mgt.c (S_proc_dostop): Revert last change.
|
|
* cons.h (cons_vcons_set_dimension): Fix typo.
|
|
* 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.
|
|
* cons.h (cons_vcons_set_dimension): New prototype.
* vcons-refresh.c (cons_vcons_refresh): Call
cons_vcons_set_dimension instead of cons_vcons_clear.
|
|
* Makefile (targets): Add hurd.info-* to list.
|
|
* mgt.c (S_proc_dostop): Instead of suspending all threads except
CONTTHREAD, first suspend all threads, and then resume CONTTHREAD.
|
|
* fat.h: Include <byteswap.h>.
|
|
* 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.
|
|
|
|
* 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.
|
|
* idvec-verify.c: Remove #pragma weak crypt.
(verify_passwd): Don't check if crypt exist.
|
|
* idvec-verify.c: Include <crypt.h>.
(crypt): Removed prototype.
|
|
* fat.c (fat_read_sblock): Catch error from store_read.
|
|
* zero.c: Do not include <assert.h>.
|
|
* rdwr.c (store_write): Return EINVAL when LEN is not aligned to
STORE->block_size, instead of raising assertion failure.
(store_read): Likewise.
|
|
|
|
* typed.c (store_find_class): Use dlopen/dlclose on the names found by
looking through the list instead of passing list elements directly to
dlsym, which is not kosher.
|
|
* inode.c (read_node): Fix typo.
|
|
|
|
* vmstat.c (vm_state_refresh): Use memset instead of bzero.
(main): Likewise.
|
|
* module.c (store_module_open): NAME that doesn't contain ':' is
not considered invalid argument, but a class name without
class-specific portion.
* typed.c (store_typed_open): When NAME is empty string, don't
invoke store_open (name + 1, ...).
|
|
* opts-std-startup.c: Include <string.h>.
(OPT_VISUAL_BELL): New macro.
(OPT_AUDIBLE_BELL): Likewise.
(_cons_visual_bell): New variable.
(_cons_audible_bell): Likewise.
(startup_options): Added options "--visual-bell" and
"--audible-bell" ...
(parse_startup_opt): ...and parse those new options here.
* priv.h (bell_type_t): New enumeration.
(_cons_visual_bell): New external variable.
(_cons_audible_bell): Likewise.
* file-changed.c (cons_S_file_changed): Use the right bell.
|
|
* node-create.c: New file.
* Makefile (SRCS): Added node-created.c.
* dir.c: Include <hurd/fsys.h>.
(diskfs_direnter_hard): Initialize a new block with zeros. Enter
direntry and setup the virtual inode. Also handle directories
correctly.
(diskfs_rewrite_hard): Function rewritten.
(diskfs_dirempty): Change logic to test if a file was deleted.
* fat.c (fat_extend_chain): Unlock spin_lock when returning from
function. Set dn->last to 0 when deallocating the complete
file. Update dn->last when not deallocating the complete file. Set
dn->first to zero when the complete file was deallocated. Also
update dn->length_of_chain to the new amount of clusters in the
chain.
* main.c (diskfs_hard_readonly): Remove global variable.
|
|
* fsck.h (num_files): Change type to long.
|
|
* term.h (rdev): Change type to dev_t.
|
|
|
|
* fatfs.h (LOG2_BLOCKS_PER_CLUSTER): Fix typo.
|
|
* pager.c (find_cluster): Round to cluster size rather than adding
cluster size.
|
|
* vga.c: New global variable vga_display_max_glyphs.
(parse_startup_args): New macro PARSE_FONT_OPT_NOARGS.
(parse_startup_args): Parse --max-colors and --max-glyphs.
(vga_display_init): Set disp->df_size to match the color setting.
|
|
* dir-renamed.c (diskfs_rename_dir): Check permissions to remove
FROMNAME before any modification could take place. Check result
of removing the from node.
|
|
* fat.c (fat_read_sblock): Don't test if the root dir size is a
multiple of sectors_per_cluster. Reported by Barry deFreese
(bddebian@cox.net).
* fatfs.h (LOG2_BLOCKS_PER_CLUSTER): New macro.
(FAT_FIRST_CLUSTER_BLOCK): Likewise.
(fat_first_cluster_byte): Macro removed.
* inode.c (read_node): Correctly setup diskfs_root_node for FAT32
filesystems.
* pager.c (fat_getcluster): Check for reading beyond allocsize
correctly for file systems with a clustersize > vm_page_size.
(file_pager_read_small_page): Don't use byte offsets when
calculating the block.
(file_pager_read_huge_page): Likewise.
(pending_clusters_write): Likewise.
(file_pager_write_small_page): Likewise.
(STAT_INC): Cast to void to suppress warning.
|
|
* display.c (display_create): Added arguments width, height and
lines, variables with the same name were removed.
* display.h (display_creat): Add missing arguments to prototype.
* console.c (DEFAULT_WIDTH): New macro.
(DEFAULT_HEIGHT): Likewise.
(DEFAULT_LINES): Likewise.
(STRX): Likewise.
(STR): Likewise.
(struct cons): New members lines, width and height.
(vcons_lookup): Add missing arguments to display_create.
(options): Add options width, height and lines.
(parse_opt): Parse width, height and lines.
(netfs_append_args): Append arguments width, height and lines.
(netfs_append_args): Fix asprintf error checking.
(main): Initialize cons with default width, height and lines.
|
|
* dir.c (diskfs_get_directs): Consider ENTRY when adding
"." and ".." for the rootnode.
* inode.c (read_node): Use ifind instead of diskfs_cached_lookup
and do not use diskfs_nput anymore.
* main.c (diskfs_S_fsys_getfile): New function.
|