Commit Graph

12 Commits

Author SHA1 Message Date
Andy McFadden
14edb498a9 Remove a wayward tab. 2003-03-10 23:02:48 +00:00
Andy McFadden
53bb12944c Tightened up error handling on some internal-error failures. 2003-02-23 19:14:44 +00:00
Andy McFadden
b5a25968d6 Fixed a rare bug. Put two files in an archive, recompress them (use
exerciser dt/at after sev 2 10), flush, then delete the first one and
flush.  The archive gets trashed, because the record's fileOffset wasn't
getting updated properly.
2003-02-23 03:26:37 +00:00
Andy McFadden
104f34629c Fixed a bug in Nu_RecordSet_MoveAllRecords() that left origRecordSet in
an unhappy state after deleting a record.  Added a bunch of asserts to
catch similar problems in the future.
2003-02-23 01:09:20 +00:00
Andy McFadden
56a96dc7eb Added "original pathname" fields to NuFileDetails and NuErrorStatus.
Changed callback setters to return NuCallback instead of NuError.
2003-02-18 21:43:46 +00:00
Andy McFadden
1169554de3 Changed the DataSource API to take resource release callback pointers
instead of a "doClose" argument.  NufxLib should no longer try to free
anything allocated by the application (or vice-versa).

The DataSource "copy" function now does refcounting instead of copying.
This was done as part of cleaning up some memory leaks in the DataSource
code.

The samples were all updated with the changes to the API (and the
occasional minor valgrind-inspired bug fix).
2003-02-09 01:53:51 +00:00
Andy McFadden
ba99fa7372 Updated copyright notices. 2003-02-08 22:43:24 +00:00
Andy McFadden
8fefff8cfa Update copyright notices and legalese. 2002-10-11 20:15:50 +00:00
Andy McFadden
6e51e34904 Allow deletion of all records. We mark the archive as brand-new in
this case, so that closing the archive after doing so results in the
file being removed.
2002-10-10 18:36:30 +00:00
Andy McFadden
771144bcea Fixed "assert" vs "Assert", some naming convention lapses, and a
possible gotcha in the Squeeze code.
2002-09-28 00:57:36 +00:00
Andy McFadden
768a224513 Reformatted files to use spaces instead of hard tabs. No substantitve changes. 2002-09-21 00:49:42 +00:00
cvs
5615fa90d4 Imported sources. 2000-05-23 01:55:31 +00:00