URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [io/] [fileio/] [v2_0/] [ChangeLog] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>* cdl/fileio.cdl: Add doc link.2003-02-20 Bart Veer <bartv@ecoscentric.com>* cdl/fileio.cdl: identify test binaries, not test sources2003-01-30 Andrew Lunn <andrew.lunn@ascom.ch>* cdl/fileio.cdl: Added interface CYGINT_IO_FILEIO_FS which anyFS which FILEIO can use should implement.2003-01-23 Gary Thomas <gary@mlbassoc.com>* src/misc.cxx (cyg_mtab_lookup): Return an error if the currentdirectory is not known - happens if no file systems are mounted.2002-11-10 Nick Garnett <nickg@ecoscentric.com>* src/fio.h: Added macros to deal with signal handling. These willcall into the POSIX package if it is present, but are null if itis not.* src/select.cxx: Renamed original select() to cyg_pselect() andadded select() and pselect() routine from POSIX-200X to callit. Reorganized code a little and added calls to macros to dealwith signal delivery and detection.* cdl/fileio.cdl:* tests/pselect.c: New test added to verify the signal masking anddelivery behaviour of pselect().* tests/select.c: Fixed up some printfs to make it a little tidier.2002-11-03 Gary Thomas <gthomas@ecoscentric.com>* src/io.cxx:* cdl/fileio.cdl: Add readv()/writev() support.2002-08-08 Nick Garnett <nickg@calivar.demon.co.uk>* src/select.cxx (select): Changed mechanism for calculatingselect timeout to avoid possible race conditions between this codeand the timer DSR.2002-05-29 Jesper Skov <jskov@redhat.com>* tests/fileio1.c: Removed strcat definition. Rely on string.h toprovide it.2002-05-28 Jonathan Larmour <jlarmour@redhat.com>* include/limits.h (NAME_MAX): Increase default to 64.* cdl/fileio.cdl: Set CYGBLD_ISO_NAME_MAX_HEADER.2002-04-11 Nick Garnett <nickg@redhat.com>* doc/fileio.sgml: Added a section on writing a newfilesystem. This probably still needs more work, but it's betterthan nothing.2002-04-05 Nick Garnett <nickg@redhat.com>* src/devfs.cxx: Changed test for EAGAIN in dev_fo_read() anddev_fo_write() to negate value first.2002-03-07 Nick Garnett <nickg@redhat.com>* doc/fileio.sgml: Added this file to contain documentation onthis package.2002-02-04 Gary Thomas <gthomas@redhat.com>* tests/socket.c (main):* tests/select.c (main): sin_len field must be set.2002-01-29 Jonathan Larmour <jlarmour@redhat.com>* cdl/fileio.cdl: Actually, don't bother to build testfs.c at all.2002-01-29 Jesper Skov <jskov@redhat.com>* cdl/fileio.cdl: Added CYGPKG_FILEIO_BUILD_TESTS option and madebuilding of testfs dependant on it.2002-01-25 Jonathan Larmour <jlarmour@redhat.com>* include/inode.h: New API defining a common generic inode type.* src/inocache.cxx: Implement the inode cache functions.* cdl/fileio.cdl: (Configurably) build it.2002-01-23 David Woodhouse <dwmw2@redhat.com>2002-01-23 Jonathan Larmour <jlarmour@redhat.com>* cdl/fileio.cdl: Remove select compilation and support to newCYGFUN_IO_FILEIO_SELECT option conditional on the kernelDitto for DEVS and CYGPKG_IO_FILEIO_DEVFS_SUPPORT.Make CYGPKG_IO_FILEIO_SOCKET_SUPPORT also conditional on kernel.* src/fio.h: Define FILEIO_MUTEX_LOCK() and FILEIO_MUTEX_UNLOCK()so that code doesn't need to care whether the kernel is included ornot.* src/fd.cxx: Conditionalize mutex usage throughout on CYGPKG_KERNEL,and FILEIO_MUTEX_LOCK()/UNLOCK().* src/file.cxx: Ditto.* src/misc.cxx: Ditto.(cyg_timestamp): Only use Cyg_Clock implementation if CYGPKG_KERNEL.2002-01-23 Jonathan Larmour <jlarmour@redhat.com>* src/misc.cxx: Initialize fileio_initializer at prio CYG_INIT_IO_FSso it happens after the devices it depends on.* src/file.cxx (getcwd_lock): Ditto.* src/select.cxx (select_mutex): ditto.(selwait): ditto.* src/fd.cxx (fdlock): ditto(file_lock): ditto.* src/dir.cxx (readdir): Use FILEIO_RETURN_VALUE on exit.(readdir_r): Ditto.* src/devfs.cxx (dev_stat): Don't use handle for st_dev - it willprobably be truncated.2002-01-04 Wade Jensen <Wade_Jensen@inter-tel.com>2002-01-04 Jonathan Larmour <jlarmour@redhat.com>* src/socket.cxx (recvfrom): Set msg.msg_namelen correctly forNULL fromlen.2001-12-28 Gary Thomas <gthomas@redhat.com>* src/io.cxx (readwrite): Add missing check for return (errors).2001-11-29 Jonathan Larmour <jlarmour@redhat.com>* src/file.cxx (chdir): Don't detach from current dir if unset.2001-11-02 Felix Wong <felixwong@i-technologies.cc>2001-11-02 Jonathan Larmour <jlarmour@redhat.com>* src/devfs.cxx (dev_fo_read): Support block devices.(dev_fo_write): Ditto.2001-10-09 Jonathan Larmour <jlarmour@redhat.com>* src/fio.h: Make cancellation point dependand onCYGINT_ISO_PTHREAD_IMPL from <pkgconf/isoinfra.h> really.* tests/select.c: Ditto.2001-10-09 Jesper Skov <jskov@redhat.com>* tests/select.c: Do NA check for posix threads.* src/fio.h: Make cancellation point dependant onCYGPKG_POSIX_PTHREAD as in the POSIX package.2001-07-26 Jonathan Larmour <jlarmour@redhat.com>* cdl/fileio.cdl: Implements select().* src/select.cxx: Include <sys/select.h> from isoinfra.2001-07-19 Jonathan Larmour <jlarmour@redhat.com>* src/devfs.cxx (dev_fo_read): Treat non-blocking reads returningEAGAIN correctly(dev_fo_write): Ditto for writes.2001-06-14 Jonathan Larmour <jlarmour@redhat.com>* src/fio.h (FILEIO_ENTRY): Don't use CYG_MACRO_START/END aroundtracing macros.Reported by Richard Panton.2001-06-11 Jonathan Larmour <jlarmour@redhat.com>* src/socket.cxx (cyg_sock_unlock): Fix cyg_file_lock->cyg_file_unlockthinko.2001-03-15 Gary Thomas <gthomas@redhat.com>* src/file.cxx (open): Check for required/valid open mode.2001-03-14 Jonathan Larmour <jlarmour@redhat.com>* src/misc.cxx (cyg_mtab_lookup): check valid mtab entry(umount): ditto.2001-03-14 Martin van Veen <martin_van_veen@yahoo.com>* src/misc.cxx (mount): Return error if mount fails.2001-03-12 Gary Thomas <gthomas@redhat.com>* src/misc.cxx (mount): Do implicit 'chdir()' in theabsence of any statically mounted file systems.(cyg_fs_lock, cyg_fs_unlock): Add assertions.* src/file.cxx (LOCK_FS):* src/dir.cxx (LOCK_FS): Add assertions on 'mte'.2001-01-05 Nick Garnett <nickg@cygnus.co.uk>* tests/socket.c (main):Added call to init_all_network_interfaces().2000-12-15 Nick Garnett <nickg@cygnus.co.uk>* src/misc.cxx: Fixed some bugs in initialization of timestampfunction when Wallclock and POSIX packages are absent.2000-11-01 Jonathan Larmour <jlarmour@redhat.com>* src/io.cxx (readwrite): Ensure we call FILEIO_RETURN_VALUE() toget correct cleanup(fpathconf): Ditto(lseek): Ditto* src/file.cxx (open): If applicable, refer to stdin, stdout and stderrhere to ensure they are pulled in, in case selective linking wouldotherwise eliminate them. This is to ensure they get allocated tofd's 0, 1 and 2.2000-10-13 Nick Garnett <nickg@cygnus.co.uk>* src/io.cxx (readwrite): Merged both read() and write() functionsinto this single common routine.* include/fileio.h: Introduced a common typedef for both read andwrite operations.* doc/fileio.txt: Added some text about getcwd() and tidied upsome other parts.2000-10-05 Nick Garnett <nickg@cygnus.co.uk>* src/file.cxx: Added support for getcwd(). There are threemechanisms provided here. The first is to use the FS_INFO_GETCWDkey on the filesystem to use any support it has for this. If thatfails it falls back on one of the two other mechanisms. IfCYGPKG_IO_FILEIO_TRACK_CWD is set then the current directory istracked textually in chdir() and the result of that is reported ingetcwd(). Otherwise an attempt is made to traverse the directorytree to its root using ".." entries. This last option iscomplicated and expensive, so the other two mechanisms are to bepreferred if possible.* include/fileio.h: Added FS_INFO_GETCWD getinfo option and amatching struct cyg_getcwd_info. These are used to access getcwd()support in a filesystem.* src/fio.h: Added initial support for POSIX API function entryand return.* cdl/fileio.cdl: Added CYGPKG_IO_FILEIO_TRACK_CWD option toenable current directory tracking.2000-09-28 Nick Garnett <nickg@cygnus.co.uk>* src/select.cxx (cyg_selwakeup):Removed test for whether the waiting thread is actually waitingfor this event. This lead to a race condition when the thread isstill polling other objects but has already checked thisevent. Now all waiting selectors are woken up by each selectableevent.2000-09-18 Jonathan Larmour <jlarmour@redhat.com>* src/select.cxx: Apply constructor prioritization to mutexes andcondition variables* src/fd.cxx: Ditto2000-09-11 Jonathan Larmour <jlarmour@redhat.com>* tests/select.c: NA if no POSIX package* cdl/fileio.cdl: Set CYGBLD_ISO_OPEN_MAX_HEADER to this package'slimits.h* include/limits.h: New file to define OPEN_MAX (and other things infuture)2000-09-08 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h:Removed spaces from arguments to CYG_HAL_TABLE_ENTRY().2000-09-04 Jonathan Larmour <jlarmour@redhat.com>* include/sockio.h (struct cyg_nstab_entry): Apply CYG_HAL_TABLE_TYPE* include/fileio.h (struct cyg_mtab_entry): Ditto(FSTAB_ENTRY): Ditto2000-08-31 Nick Garnett <nickg@cygnus.co.uk>* src/select.cxx (select): Added scheduler unlock in timeoutreturn case.2000-08-22 Jonathan Larmour <jlarmour@redhat.co.uk>* doc/fileio.txt: Add Nick's text description of plug-in filesystemsand sockets here for now.2000-08-18 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h: Added CYG_FAPPEND flag for preservation infile object flags.Added prototype for cyg_timestamp().* src/misc.cxx: Fixed bug in cyg_mtab_lookup() when dealing withempty mount table entries.Added cyg_timestamp() to provide timestamp support to clientfilesystems.2000-08-09 Jonathan Larmour <jlarmour@redhat.co.uk>* src/misc.cxx: Don't define own strcmp() function (which had a buganyway). Use string.h.* cdl/fileio.cdl: requires ISO C string functions2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>* src/misc.cxx: Use correct initializer for mtab_extra* src/fio.h (FILEIO_RETURN_VOID): Surround in CYG_MACRO_START toprevent problems when used with one-line if.(FILEIO_RETURN_VALUE): Likewise* include/fileio.h: Make getinfo/setinfo take void *bufs, not char *for easier casting (and more correct)* tests/testfs.c: Likewise* src/devfs.cxx: Likewise.Also fix bug with Nick's change below that set non-blocking modein all cases.2000-07-31 Nick Garnett <nickg@cygnus.co.uk>* src/devfs.cxx (dev_open): Added support for O_NONBLOCK.2000-07-27 Nick Garnett <nickg@cygnus.co.uk>* tests/select.c: Wrapped include of pkgconf/io_serial.h in#ifdef CYGPKG_IO_SERIAL.2000-07-25 Jonathan Larmour <jlarmour@redhat.co.uk>* tests/select.c (main): Wrap call to init_all_network_interfaces()in #ifdef TEST_NET2000-07-25 Nick Garnett <nickg@cygnus.co.uk>* tests/select.c (main): Added call toinit_all_network_interfaces().2000-07-21 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h:* src/file.cxx:* src/devfs.cxx:* tests/testfs.c:Added support for link() API call. This was the only major fileoperation omitted.2000-07-20 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h: Added some modes for fsync().* src/file.cxx: Added access() function.* src/io.cxx: Added fdatasync() and isatty().* src/devfs.cxx: Added fsync() support.* tests/fileio1.c: Added calls to access() to check (non-)existenceof files where appropriate.2000-07-13 Nick Garnett <nickg@cygnus.co.uk>* src/select.cxx (select): Fixed return value when timing out. Nowreturns zero and no error, it used to return -1 and ETIMEDOUT.* src/io.cxx: Fixed fsync() to match standard.* src/devfs.cxx:Added lseek() support - all devices are always at positionzero. Added [f]stat() support - currently just fills in the statbuffer with some predefined values. When we have moresophisticated devices this may need to be improved.* tests/testfs.c (testfs_open): Added support for O_TRUNC openflag.* tests/stdio.c:* cdl/fileio.cdl:Added stdio.c to test C library IO integration. This does not testthe C library functionality, just that it works with the fileiopackage in certain limited ways.2000-06-30 Nick Garnett <nickg@cygnus.co.uk>* src/misc.cxx: Fixed definition of mtab_extra[] so that it getsemitted correctly into the object file.* tests/testfs.c:Added support for dynamic mount()/umount().Added testfs_dump() to report state of filesystem, and to do alittle consistency checking.* tests/fileio1.c: Extended testing to mount() and maximum filesizes.2000-06-28 Nick Garnett <nickg@cygnus.co.uk>* include/dirent.h: Added this file to contain directory supportdefinitions.* include/fileio.h:Introduced separate typedefs for all operation functions.Added CYG_FDIR to mark directory streams.Added some default operation functions.* src/fio.h (FILEIO_RETURN_VOID): Added this macro.* src/dir.cxx: Added this file to contain directory listing APIfunctions.* src/misc.cxx:Added default operation functions.* src/file.cxx:Fixed mkdir() to have correct prototype.Moved opendir() to dir.cxx.Added support in chdir() for deregistering the current directory.* cdl/fileio.cdl: Added dev.cxx to compile list. Added support fordirent.h implementation.* tests/testfs.c: Lots of changes towards a more completeimplementation.* tests/select.c: Changed SHOW_RESULT() message a little. Fixed upsome warnings when no testing is possible.* tests/fileio1.c:Largely rewritten to do more complete testing.2000-06-19 Nick Garnett <nickg@cygnus.co.uk>* src/select.cxx: Added selwake_count variable to count selectwakeups. This allows us to avoid sleeping when a selectee callscyg_selwakeup() while we are still scanning the FD sets.* include/fileio.h:* include/sockio.h:* src/misc.cxx:* src/socket.cxx:Converted tables to new mechanism.* tests/select.c: Reduced buffer size to avoid buffer overflow inserial devices.2000-06-15 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h:Added typedef for cyg_selinfo.Added umount to fstab entry structure.Added mount() and unmount() prototypes.Added const in various places.Changed some types from CYG_ADDRWORD to their ISO standardequivalents.Added si_thread field to cyg_selinfo structure, addedcyg_selinit() prototype.* src/socket.cxx: Converted an errant LOCK_NS() into theUNLOCK_NS() it should be.* src/select.cxx:Added cyg_selinit() which must be called by all selectees atinitialization to prepare a cyg_selinfo structure for use.Modified cyg_selwakeup() to minimize the number for actual wakeupoperations it actually performs.* src/misc.cxx:Added mtab_extra[] to contain dynamic mount table entries,modified startup scan of mtab to cope with this.changed matchlen() to cope with "/" mountpoint, this function israpidly ceasing to be the neat bit of code it started out as.Added implementations of mount() and umount().* src/devfs.cxx: Added dev_umount, various minor tweaks.* cdl/fileio.cdl: Added CYGNUM_FILEIO_MTAB_EXTRA to define howmany extra mount table entries should exist for dynamic mounts.Added select.c to list of tests.* tests/select.c: Added this file to test select() functionalityon both sockets and (serial) devices.* tests/socket.c: Tidied some compilation warnings.* tests/testfs.c: Added umount stub function.2000-06-12 Nick Garnett <nickg@cygnus.co.uk>* include/sockio.h:* include/fileio.h:* src/fio.h:* tests/testfs.c:* src/socket.cxx:* src/misc.cxx:* src/file.cxx:* src/fd.cxx:* src/io.cxx:* src/devfs.cxx:Tidied up and sorted out locking protocols and synchronizationmechanisms.2000-06-09 Nick Garnett <nickg@cygnus.co.uk>* src/select.cxx:* src/devfs.cxx:* include/fileio.h:* tests/testfs.c:Added select() support.* src/socket.cxx: Fixed a resource management bug in accept().* tests/socket.c: Extended to test that all API calls work, atleast minimally, as they should. Still some calls to add here.2000-06-07 Nick Garnett <nickg@cygnus.co.uk>* tests/socket.c: Simple socket API test program. Needs much morework to give full coverage.* src/socket.cxx: Filled in some implementations. Changed sometype specifications.* src/select.cxx: Added this file to contain select()implementation. At present it does nothing.* include/sockio.h:Added definition of socklen_t for use when the NET package isabsent - just so this file compiles.Added macro to generate an nstab entry.Changed prototypes of socket operation ffunctions to better matchboth API definition and BSD stack implementation.* cdl/fileio.cdl: Added support for socket API. This is onlyactive if the NET package is present.Added initial socket API test program.2000-06-02 Nick Garnett <nickg@cygnus.co.uk>* src/socket.cxx:Added this file to implement socket interface. This is still arough draft that has not yet been tested.* src/misc.cxx:* src/io.cxx:* src/fio.h: Various minor changes and bug fixes.* src/file.cxx: Various bug fixes. Added pathconf().* src/fd.cxx: Various changes and bug fixes, mostly in thehandling of the locking mechanisms.* src/devfs.cxx: Added this filesystem to interface to the deviceIO subsystem. Not yet tested.* include/sockio.h: Various minor changes prompted byimplementation.* include/fileio.h:Added macros to instantiate filesystem and mount table entries.Added mode mask for setting up f_flags.Changed file object types, added device type.* cdl/fileio.cdl:Added some extra files to compile. Some now go in libextras.Added table maxima for fstab, mtab and nstab.Added tests.* tests/fileio1.c: Added this simple test for the fileioinfrastructure.* tests/testfs.c:Created this simple ROM filesystem to test out the fileioinfrastructure. This is not really usable for anything other thanthis, and should not be used in "production" systems. Hence itspresence in tests rather than src.At present this only has support for open(), close(), read(),write(), lseek() and unlink(). Other parts will be implemented asand when required.2000-05-31 Nick Garnett <nickg@cygnus.co.uk>* src/fio.h:* src/file.cxx:* src/io.cxx:* src/misc.cxx:Roughed out most of the file IO infrastructure. While this codecompiles, none of it has actually been executed yet. A lot of thiswas cut-and-paste-and-edit, so some minor blemishes are to beexpected.* src/fd.cxx: Several modifications in response to implementingrest of infrastructure. Added dup() and dup2() API routines.* include/fileio.h: Many changes and tidies prompted byinfrastructure implementation.* cdl/fileio.cdl: Added "implements" directives for isoinfrainterfaces. Extended compile to new files.2000-05-26 Nick Garnett <nickg@cygnus.co.uk>* include/fileio.h:* include/sockio.h:* src/fd.cxx:* cdl/fileio.cdl:Created these files as a start at defining the file IO package.There is still a lot to do here, so expect radical changes to allof these files in the near future.
Go to most recent revision | Compare with Previous | Blame | View Log
