Commit Graph

8 Commits

Author SHA1 Message Date
Andy McFadden
7469f782cb Added kNuErrFileAccessDenied. Return it when OpenRW fails with an
access permission problem, so that an application can follow it with
an OpenRO call for read-only files.
2003-02-27 21:33:29 +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
d41016e6c1 Added support for compressing data with libbz2. Disabled by default.
Generalized compression method enable/disable.  Now any method can be
removed.  Applications can call NuTestFeature() to figure out what is
supported by the copy of NufxLib they're linked against.
2002-10-09 23:12:06 +00:00
Andy McFadden
550ff22758 Added Binary II support. For NufxLib this is really just a new error
code that gets returned when we identify an archive as BNY.
2002-10-09 00:16:27 +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