summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* io-version.c (trivfs_S_io_server_version): Fix receiver arg type.
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (trivfs_S_dir_readdir): Revert last change.
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (netfs_S_dir_readdir): Revert last change.
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (diskfs_S_dir_readdir): Revert last change.
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* fs.defs (dir_readdir): Revert AMOUNT type to int, since it's a count of entries and not a byte count.
2002-06-132002-06-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (DIST_FILES): New target. (MIGSTUBS): Likewise. (OBJS): Add $(MIGSTUBS). * ourfs_notify.defs: New file. * console.c: Diddle order of typedefs. (netfs_attempt_read): Clip AMT to bytes left to read before calling display_read. (netfs_S_file_notice_changes): New function. * console.h: Include <stdint.h>, not <sys/types.h>. Change all types from u_int32_t to uint32_t. * display.c: Include <stddef.h> and "outfs_notify_U.h". Change all u_int_32 types to uint32_t. (struct modreq): New structure. (struct display): New member filemod_reqs. (free_modreqs): New function. (display_notice_changes): Likewise. (display_notice_filechange): Likewise. (display_destroy): Free filemod_reqs member of DISPLAY. (MATRIX_POS): Macro removed. (screen_fill): Rewritten. (screen_shift_left): New function. (screen_shift_right): Likewise. (screen_scroll_up): Function removed. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (handle_esc_bracket): Use new screen_* functions. (display_output_one): Store old cursor and screen attributes, and if they have been changed, send file change notifications. * display.h: New prototype for display_notice_changes.
2002-06-122002-06-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* console.c: Include <argz.h>. Do not include "console.h", but inline it. New macro DEFAULT_ENCODING. (struct cons): De-const-ify member ENCODING. (mycons, cons): Remove global variables. (vcons_lookup): Use default encoding if CONS->encoding is not set. (new_node): Access CONS through VCONS. Adjust size of display node. (netfs_attempt_read): Truncate length to read before reading. (netfs_S_io_map): New function. (options): New global variable. (parse_opt): New function. (netfs_append_args): New function. (main): New variable CONS to hold console structure. Rediddle initialization to allocate memory for it, parse arguments, and create the root node in correct order. Also call display_init. * console.h: Rewritten with new meaning. It now describes the public interface of the console. * display.c: Include <assert.h>, <error.h>, <hurd.h>, <hurd/pager.h> and "console.h". (struct screen): Removed. (struct cursor): Remove members X, Y and status. (struct user_pager_info): New struct. (struct display): Remove member SCREEN, add new members USER, UPI, MEMOBJ and MEMOBJ_SIZE. (pager_bucket): New global variable. (display_get_filemap): New function. (pager_clear_user_data): Likewise. (pager_read_page): Likewise. (pager_write_page): Likewise. (pager_unlock_page): Likewise. (pager_report_extent): Likewise. (pager_dropweak): Likewise. (service_paging_requests): Likewise. (screen_init): Renamed to ... (user_create): ... this new function and changed to allocate memory object and map it for USER data in display structure. (screen_deinit): Renamed to ... (user_destroy): ... this new function and rewrote it. (MATRIX_POS): New macro. (screen_fill): Take DISPLAY argument instead SCREEN. Use MATRIX_POS. (screen_scroll_up): Likewise. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (handle_esc_bracket_hl): Take DISPLAY argument instead CURSOR. (handle_esc_bracket): Access screen and cursor fields correctly. (display_output_one): Likewise. (display_getsize): Likewise. (display_init): New function. (display_create): New variables width, height, lines. Call user_create, not screen_init. Call user_destroy, not screen_deinit. (display_destroy): Call user_destroy, not screen_deinit. (display_read): Reimplement using memory mapping. * display.h: New prototypes for display_init and display_get_filemap.
2002-06-11.Roland McGrath
2002-06-112002-06-11 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf (CPPFLAGS): Add -D_FILE_OFFSET_BITS=64. (hurd-version): Update to 0.3 so as to change sonames.
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* mkfs.c (iput): Use %Ld format for ino_t values.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c, pass1.c, pass1b.c, pass2.c: Use %Ld for ino_t values. * utilities.c: Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf (CPPFLAGS): Add -D_FILE_OFFSET_BITS=64.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* libtreefs/treefs.h: Use io_statbuf_t in place of struct stat throughout.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ftpdir.c (pdirent): Use %lld format for off_t value.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* fsck.h: Use ino_t for lfdir. * setup.c: Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* fsck.h: Use ino_t for lfdir. * setup.c: Likewise. * fsck.h (struct dirinfo): Use size_t for i_isize.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c, pass1.c, pass2.c, utilities.c: Use %Ld for ino_t values.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* inode.c (diskfs_cached_lookup): Use ino_t for argument.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* alloc.c, dir.c: Use %Ld format for ino_t values. * alloc.c (diskfs_alloc_node): Use %Ld format for blkcnt_t values.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE. Fail with EOVERFLOW when it would exceed that width. * alloc.c, dir.c: Use %Ld format for ino_t values. * alloc.c (diskfs_alloc_node): Use %Ld format for blkcnt_t values.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* node.c (diskfs_cached_lookup): Use ino_t for argument. * node.c (diskfs_alloc_node): Case to uintptr_t before ino_t. (diskfs_cached_lookup): Likewise, and vice versa. * dir.c (diskfs_get_directs, diskfs_lookup_hard): Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* tmpfs.c (diskfs_append_args): Use %Ld format for off_t value.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io.c (S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* pfinet-ops.c (S_pfinet_siocgifconf): Use vm_size_t for AMOUNT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-ops.c (S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (trivfs_S_dir_readdir): Use vm_size_t for AMOUNT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-identity.c (trivfs_S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* trivfs.h (trivfs_modify_stat): Use io_statbuf_t instead of struct stat.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* store.h (struct store_enc): Use loff_t instead of off_t. (store_enc_init, store_enc_return, store_return): Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (netfs_S_dir_readdir): Use vm_size_t for AMT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-identity.c (netfs_S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* netfs.h (struct node): Use io_statbuf_t instead of struct stat. (netfs_attempt_statfs): Use fsys_statfsbuf_t instead of struct statfs. (struct peropen): Use loff_t instead of off_t. (netfs_attempt_read, netfs_attempt_write): Likewise. (netfs_attempt_set_size, netfs_file_get_storage_info): Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]: Use struct stat64 in place of struct stat.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* fshelp.h: Use io_statbuf_t in place of struct stat throughout. (fshelp_get_identity): ino_t -> ino64_t
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* diskfs.h (struct node): Use io_statbuf_t instead of struct stat. (struct node): Use ino64_t for cache_id. (struct node): Use loff_t instead of off_t. (diskfs_grow, diskfs_truncate, diskfs_node_rdwr): Likewise. (diskfs_notice_filechange): Likewise. (diskfs_cached_lookup): Use ino64_t for CACHE_ID argument.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values. * pager.c (diskfs_grow, pager_unlock_page): Likewise. * inode.c (read_node): Likewise. * dir.c (diskfs_get_directs): Likewise. * dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE. Fail with EOVERFLOW when it would exceed that width.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values. * pager.c (diskfs_grow, pager_unlock_page): Likewise. * inode.c (read_node): Likewise. * dir.c (diskfs_get_directs): Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* inode.c (diskfs_cached_lookup): Use ino_t for argument. * ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values. * pager.c (diskfs_grow, pager_unlock_page): Likewise. * inode.c (read_node): Likewise. * dir.c (diskfs_get_directs): Likewise.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* boot.c (S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-09 Roland McGrath <roland@frob.com>Roland McGrath
* version.h: New file. * Makefile (INSTHDRS): Add it.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits. (off_t): Type removed. (off_array_t): Use loff_t instead of off_t as base type. * hurd_types.h (off_array_t): Likewise. [_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define using struct stat64/statfs64 instead of struct stat/statfs. * io.defs (io_identity): Use ino64_t for FILENO. * fs.defs (file_set_size): off_t -> loff_t * fs_notify.defs (file_changed): Likewise. * io.defs (io_write, io_read, io_seek): Likewise. * io_request.defs: Likewise for those RPCs' *_request variants. * io_reply.defs: Likewise for those RPCs' *_reply variants.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits. (off_t): Type removed. (off_array_t): Use loff_t instead of off_t as base type. * hurd_types.h (off_array_t): Likewise. [_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define using struct stat64/statfs64 instead of struct stat/statfs. * io.defs (io_identity): Use ino64_t for FILENO. * fs.defs (file_set_size): off_t -> loff_t * fs_notify.defs (file_changed): Likewise. * io.defs (io_write, io_read, io_seek): Likewise. * io_request.defs: Likewise for those RPCs' *_request variants. * io_reply.defs: Likewise for those RPCs' *_reply variants. * hurd_types.defs (size_t): Remove type. * fs.defs (dir_readdir): Use vm_size_t for AMOUNT. * socket.defs (socket_send, socket_recv): Likewise. * pfinet.defs (pfinet_siocgifconf): Likewise. * io.defs (io_write, io_read, io_readable): Likewise. * io_request.defs: Likewise for those RPCs' *_request variants. * io_reply.defs: Likewise for those RPCs' *_reply variants.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* hurd_types.defs (size_t): Remove type. * fs.defs (dir_readdir): Use vm_size_t for AMOUNT. * socket.defs (socket_send, socket_recv): Likewise. * pfinet.defs (pfinet_siocgifconf): Likewise. * io.defs (io_write, io_read, io_readable): Likewise. * io_request.defs: Likewise for those RPCs' *_request variants. * io_reply.defs: Likewise for those RPCs' *_reply variants.
2002-06-09.Roland McGrath
2002-06-092002-06-09 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (new_node): Use ino_t for io_identity argument. (netfs_S_dir_lookup): Likewise.
2002-06-09.Roland McGrath
2002-06-092002-06-09 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (installhdrs): List just ps.h, not common.h as well.