1Sun Jan 26 11:53:36 PST 2003  Christian Hammond <chipx86@gnupdate.org>
2
3	* libcomprex/io.c:
4	* libcomprex/io.h:
5	  - Added cxGets().
6	  - Fixed cxEof(). It should work better now. (Actually, it never worked
7	    before due to a trailing ; on an if statement).
8	  - You can now pass a negative value to cxSeek().
9
10Sat Jan 11 23:15:26 PST 2003  Christian Hammond <chipx86@gnupdate.org>
11
12	* libcomprex/fp.c:
13	* libcomprex/fp.h:
14	* libcomprex/io.c:
15	* libcomprex/io_internal.c:
16	  - Added cxSetFpAccessMode() and cxGetFpAccessMode().
17
18Sat Jan 04 11:21:24 PST 2003  Christian Hammond <chipx86@gnupdate.org>
19
20	* modules/archive/cab/io.c:
21	  - I had tolower() returning and receiving a char * instead of a char.
22	    Fixed.
23
24Wed Jan 01 21:53:10 PST 2003  Jason Willis <lazlo@gnupdate.org>
25
26	* modules/archive/zip/zip.c:
27	  - Fixed a problem with getting a file's basePath, which lead
28	    to incorrect parent directory assignment.
29
30Thu Dec 19 00:38:52 PST 2002  Christian Hammond <chipx86@gnupdate.org>
31
32	* libcomprex/directory.c:
33	* libcomprex/directory.h:
34	* libcomprex/file.c:
35	* libcomprex/file.h:
36	* libcomprex/fsnode.c:
37	* libcomprex/fsnode.h:
38	* libcomprex/io.c:
39	* libcomprex/io_internal.c:
40	* modules/archive/ar/ar.c:
41	* modules/archive/bzip2/bzip2.c:
42	* modules/archive/cab/io.c:
43	* modules/archive/cpio/header.c:
44	* modules/archive/zip/zip.c:
45	* modules/archive/zlib/zlib.c:
46	  - Removed cxSetFsNodePath(), cxSetFilePath(), and cxSetDirPath().
47	  - Paths are now generated dynamically in cxGetFsNodePath().
48	    If the name of any parent directory changes, the returned path
49	    will reflect that change.
50
51Thu Dec 19 00:14:39 PST 2002  Jason Willis <lazlo@gnupdate.org>
52
53	* libcomprex/archive.c:
54	* libcomprex/archive.h:
55	  - Created cxSetArchiveExtractCallback() to set an archive-specific
56	    callback to be called after the extraction of a given CxFile*.
57	  - Added ex_callback member to CxArchive.
58
59	* libcomprex/archive_io.c:
60	  - Modified cxExtractArchive() to broadcast an extraction event to the
61	    archive's callback, if set.
62	  - Replaced the call to cxExtractArchive to cxInternalExtractArchive().
63
64	* libcomprex/io_internal.c:
65	* libcomprex/io.c:
66	* libcomprex/internal.h:
67	  - Modified cxExtractFile() such that it no longer performs the extraction
68	    proper. Rather, it now broadcasts the extraction event to the archive's
69	    callback, and calls cxInternalExtractFile().  The extraction code was
70	    moved into this new function -  cxInternalExtractFile().
71
72	* tests/extractarchive.c:
73	* tests/Makefile.am:
74	  - Added a program to test extraction capabilities and extraction_callback
75	    functionality.
76
77Wed Dec 18 22:51:55 PST 2002  Christian Hammond <chipx86@gnupdate.org>
78
79	* libcomprex/directory.c:
80	  - Once again, fixed the file paths.
81
82Wed Dec 18 15:54:50 PST 2002  Christian Hammond <chipx86@gnupdate.org>
83
84	* libcomprex/archive.c:
85	* libcomprex/archive.h:
86	* libcomprex/directory.c:
87	  - The total number of files in an archive can now be returned using
88	    cxGetArchiveFileCount().
89
90Tue Dec 10 01:55:01 PST 2002  Christian Hammond <chipx86@gnupdate.org>
91
92	* configure.ac:
93	* configure.in:
94	  - Changed the way development version indicators are done.
95
96Thu Dec 05 22:56:37 EST 2002  Rodney Dawes <dobey@free.fr>
97
98	* libcomprex/Makefile.am:
99	* libcomprex/module.c:
100	  - Look for modules in the *INSTALLED* directory
101
102Wed Dec 04 01:17:26 PST 2002  Jason Willis <lazlo@gnupdate.org>
103
104	* libcomprex/directory.c:
105	* libcomprex/directory.h:
106	  - Added a few directory API functions to the fs node API:
107	    cxSetDirPhysicalPath(), cxGetDirPhysicalPath()
108	    cxSetDirDate(),  cxGetDirDate()
109  	    cxSetDirMode(),  cxGetDirMode()
110	    cxSetDirUid(),   cxGetDirUid()
111	    cxSetDirGid(),   cxGetDirGid()
112	    cxSetDirLocal(), cxGetDirLocal()
113
114Mon Dec 02 21:22:56 PST 2002  Jason Willis <lazlo@gnupdate.org>
115
116	* zip.c:
117	* zip.h:
118	* header.c:
119	* header.h:
120	  - Slightly modified the way uid/gid and mtime data are extracted
121	    from the extra fields associated with each file. Now utilizing
122	    a modified "api" for grabbing and searching for extras.
123	  - Extra-field use is now more compliant with Info-Zip recommendations
124
125	* extra.c:
126	* extra.h:
127	* Makefile.am:
128	  - Moved extra-field utility functions into their own source files.
129	  - Created specific callback functions for a few different extra-field
130	    types and a search function for finding a desired extra block.
131
132Sun Dec 01 13:42:36 PST 2002  Christian Hammond <chipx86@gnupdate.org>
133
134	* configure.ac:
135	* configure.in:
136	  - Changed the version again from 0.3.3cvs to 0.3.2.99.
137
138Sun Dec 01 01:40:38 PST 2002  Christian Hammond <chipx86@gnupdate.org>
139
140	* configure.ac:
141	* configure.in:
142	  - Changed the version from 0.3.3 to 0.3.3cvs.
143
144Sun Dec 01 01:10:05 PST 2002  Christian Hammond <chipx86@gnupdate.org>
145
146	* libcomprex/directory.c:
147	  - This should be better protection against a node name with a trailing
148	    '/', though I might improve it later.
149
150Thu Nov 14 02:24:59 PST 2002  Christian Hammond <chipx86@gnupdate.org>
151
152	* libcomprex/directory.c:
153	  - Specified the wrong datatype when doing a memset. Fixed.
154	  - Changed instances of cxGetFsNodeType(dir) != CX_FSNODETYPE_DIRECTORY
155	    to !CX_IS_DIRECTORY(dir).
156
157Thu Nov 07 17:17:36 PST 2002  Christian Hammond <chipx86@gnupdate.org>
158
159	* libcomprex/file.c:
160	* libcomprex/file.h:
161	* libcomprex/fsnode.c:
162	* modules/archive/ar/ar.c:
163	* modules/archive/bzip2/bzip2.c:
164	* modules/archive/cpio/header.c:
165	* modules/archive/tar/tar.c:
166	* modules/archive/zlib/zlib.c:
167	* tests/catarchive.c:
168	  - Removed CxFileType. Symlinks, hardlinks, devices, and FIFOs will
169	    now descend from CxFsNode, just like CxFile and CxDirectory do.
170
171Thu Nov 07 03:52:36 PST 2002  Christian Hammond <chipx86@gnupdate.org>
172
173	* libcomprex/directory.c:
174	  - Added checks to make sure the directories being passed are indeed
175	    directories.
176
177	* libcomprex/fsnode.h:
178	  - Added a utility function for determining if a node is a directory.
179
180Thu Nov 07 03:39:46 PST 2002  Christian Hammond <chipx86@gnupdate.org>
181
182	* libcomprex/directory.c:
183	* libcomprex/directory.h:
184	* libcomprex/file.c:
185	* libcomprex/file.h:
186	* libcomprex/fsiter.c:
187	* libcomprex/fsiter.h:
188	* libcomprex/fsnode.h:
189	* libcomprex/module.h:
190	  - Moved the file and directory structures from CxFsNode into their
191	    own structures. They are now referred to as pointers in the union
192	    where they were originally from, so this should take up less memory.
193
194Fri Nov 01 00:53:11 PST 2002  Jason Willis <lazlo@gnupdate.org>
195
196	* libcomprex/fsiter.c:
197	* libcomprex/fsnode.c:
198	  - Updated some residual "Out of memory" checks to use the MEM_CHECK
199            macro.
200
201Thu Oct 31 03:10:45 PST 2002  Jason Willis <lazlo@gnupdate.org>
202
203	* modules/archive/zip:
204  	  - Reworked some of the zip module to get archive reading working again.
205	  - Added support for "extra" fields which may contain GID and UID info.
206	  - Added read functions for files compressed using the "deflation"
207	    algorithm.  This introduced a dependency on zlib, particularly
208	    the inflate() and inflateInit2() functions.
209
210Mon Oct 28 13:45:50 PST 2002  Christian Hammond <chipx86@gnupdate.org>
211
212	* tests/Makefile.am:
213	* tests/showtree.c:
214	  - Added a test program to display the file/directory tree inside
215	    of a package.
216
217Thu Oct 24 00:22:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
218
219	* modules/archive/tar/block.c:
220	  - Initial support for non-ustar tar formats. This may break something.
221	    Please report any problems.
222
223	* modules/archive/tar/tar.c:
224	  - Cleaner code to put a '\0' at the end of a path ending with '/'.
225
226Sun Oct 20 14:34:25 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
227
228	* libcomprex/directory.c:
229	  - Fixed a bug in __getExistingPart() (called by cxGetDirectory())
230	    that would mess up when a directory name started with a '.'
231
232	* modules/archive/tar/tar.c:
233	  - Removed some calls to cxSetDirPath() and cxSetFilePath(), since
234	    libcomprex handles this itself.
235
236Sun Oct 20 00:41:50 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
237
238	* Makefile.am:
239	* comprex.h:
240	* libcomprex.m4.in:
241	* libcomprex/internal.h:
242	* libcomprex/utils.h:
243	* modules/archive/bzip2/bzip2.c:
244	* modules/archive/cpio/cpio.c:
245	* modules/archive/tar/block.c:
246	* modules/archive/tar/tar.c:
247	* modules/archive/tar/utils.c:
248	* modules/archive/zlib/zlib.c:
249	* modules/scheme/curl/curl.c:
250	* tests/catarchive.c:
251	* tests/catfile.c:
252	* tests/makearchive.c:
253	  - Removed comprex.h. Applications should now use
254	    libcomprex/comprex.h.
255	  - Added the beginnings of tar write support.
256
257Mon Oct 14 00:17:23 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
258
259	* libcomprex/modules/archive/cab.c:
260	* libcomprex/modules/archive/io.c:
261	  - Removed some debug statements.
262	  - This module no longer prevents other modules from being tried
263	    if the file is not a cab.
264
265Sun Oct 13 03:04:35 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
266
267	* modules/archive/cab/cab.c:
268	  - We can now loop through all the cabs in a set!
269
270Sun Oct 13 02:47:33 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
271
272	* modules/archive/cab/Makefile.am:
273	* modules/archive/cab/cab.c:
274	* modules/archive/cab/cab.h:
275	* modules/archive/cab/io.c:
276	* modules/archive/cab/utils.c:
277	* modules/archive/cab/utils.h:
278	  - Though it still doesn't function as a normal module, it can now
279	    dump some info about the files.
280
281Fri Oct 11 10:49:31 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
282
283	* acinclude.m4:
284	* configure.ac:
285	* configure.in:
286	* modules/archive/Makefile.am:
287	* modules/archive/cab/Makefile.am:
288	* modules/archive/cab/cab.c:
289	* modules/archive/cab/cab.h:
290	* modules/archive/cab/io.c:
291	  - Adding what I have for the cab module before I go to school.
292
293Sat Oct 05 19:16:18 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
294
295	* libcomprex/archive.c:
296	* libcomprex/archive_io.c:
297	* libcomprex/directory.c:
298	* libcomprex/io_internal.c:
299	* modules/archive/cpio/cpio.c:
300	  - This fix actually seems to work, unlike the previous one.
301
302Sat Oct 05 18:38:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
303
304	* libcomprex/archive.c:
305	* libcomprex/archive_io.c:
306	* libcomprex/directory.c:
307	  - Once again, the root directory doesn't have a name ("/"), since that
308	    would give every path in the archive an absolute path off the root
309	    directory.
310
311Sat Oct 05 15:55:55 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
312
313	* libcomprex/io_internal.c:
314	  - CX_MODE_RAW now works properly (or mostly properly!)
315
316	* modules/archive/ar/ar.c:
317	* modules/archive/bzip2/bzip2.c:
318	* modules/archive/cpio/cpio.c:
319	* modules/archive/zlib/zlib.c:
320	  - Files are now opened raw.
321
322Sat Oct 05 15:33:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
323
324	* modules/archive/bzip2/bzip2.c:
325	* modules/archive/cpio/cpio.c:
326	  - Added archive writing.
327
328Sat Oct 05 14:21:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
329
330	* modules/archive/cpio/cpio.c:
331	* modules/archive/cpio/cpio.h:
332	* modules/archive/cpio/header.h:
333	  - Changed references from "tar" to "cpio."
334
335Sat Oct 05 12:50:21 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
336
337	* modules/archive/zlib/zlib.c:
338	  - Added archive writing.
339
340Sat Oct 05 11:24:36 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
341
342	* modules/archive/ar/ar.c:
343	  - Fixed a memory leak. The iterator wasn't being deleted.
344
345Sat Oct 05 10:45:36 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
346
347	* libcomprex/archive_io.c:
348	* modules/archive/ar/ar.c:
349	  - Added basic archive writing support.
350
351	* libcomprex/directory.c:
352	  - The archive size is now updated when files are added or removed.
353
354	* libcomprex/io.c:
355	* libcomprex/io.h:
356	  - Added cxMakeFile(), which generated a CxFile from a local file's
357	    information.
358
359	* libcomprex/io_internal.c:
360	  - Added some support for writing to files.
361
362	* tests/Makefile.am:
363	* tests/makearchive.c:
364	  - Added a utility function to generate archives.
365
366Wed Sep 11 22:13:22 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
367
368	* libcomprex/Makefile.am:
369	  - $(INCLTDL) wasn't being added to INCLUDES. Fixed.
370
371Wed Sep 11 01:57:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
372
373	* acinclude.m4:
374	  - If --prefix wasn't specified, $prefix would be NONE, which would
375	    cause compiling to fail. Fixed.
376
377Sat Sep 07 01:59:06 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
378
379	* libcomprex/archive_io.c:
380	  - Fixed a stupid error where the bottom-most directory was the
381	    filename being outputted instead of the actual filename.
382
383Sat Sep 07 01:52:05 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
384
385	* libcomprex/directory.c:
386	  - The path is now set when things are added to a directory.
387
388Sat Sep 07 00:10:38 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
389
390	* libcomprex/archive_io.c:
391	* libcomprex/archive_io.h:
392	* libcomprex/internal.h:
393	* libcomprex/io.c:
394	* libcomprex/utils.c:
395	* libcomprex/utils.h:
396	  - Added cxExtractArchive().
397	  - Added cxMakePhysDirs().
398	  - Added cxApplyFsNodeInfo().
399	  - Permissions, timestamps, and ownership are now set on extracted
400	    files and directories.
401
402Fri Sep 06 22:52:51 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
403
404	* libcomprex/file.c:
405	* libcomprex/file.h:
406	* libcomprex/io.c:
407	* libcomprex/io.h:
408	  - Moved cxExtractFile() into io.[ch], where it belongs.
409
410Fri Sep 06 22:23:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
411
412	* libcomprex/file.c:
413	* libcomprex/file.h:
414	* libcomprex/internal.c:
415	* libcomprex/internal.h:
416	  - Made cxExtractFile() public.
417
418Sat Aug 31 14:18:38 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
419
420	* acinclude.m4:
421	  - Oops. libbz2 and libz should now be linking with the modules again.
422
423Sat Aug 31 11:32:20 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
424
425	* libcomprex/module.c:
426	  - Fixed the linked list node removal bug here too.
427
428Wed Aug 21 18:00:36 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
429
430	* acinclude.m4:
431	* configure.ac:
432	* configure.in:
433	  - Moved the complex module checking code into acinclude.m4,
434	    to make it easier to update.
435
436Wed Aug 21 12:43:07 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
437
438	* Makefile.am:
439	* acinclude.m4:
440	* autogen.sh:
441	* configure.ac:
442	* configure.in:
443	* setup-gettext:
444	  - Added support for gettext v0.11.3+
445
446Mon Jul 29 12:53:24 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
447
448	* modules/archive/ar/ar.c:
449	  - Filenames were not always read in correctly. Fixed.
450
451Sat Jul 20 19:55:39 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
452
453	* libcomprex/fsiter.c:
454	  - Renamed __findNextNode() back to __findFirstNode().
455	  - Added a new __findNextNode().
456	  - The iterator should now be working correctly.
457
458	* libcomprex/fsnode.h:
459	  - Added cxGetNextFsNode() and cxGetPreviousFsNode().
460
461	* modules/archive/cpio/header.c:
462	  - Files that simply start with a '.' are no longer stripped.
463
464	* modules/archive/tar/tar.c:
465	  - Files that start with a '.' are now handled and parsed correctly.
466	  - The right path is set in the resulting CxFile.
467
468
469Wed Jul 17 22:16:29 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
470
471	* libcomprex/directory.c:
472	* libcomprex/fsnode.h:
473	  - Merged the subdirectory and file lists for directories.
474
475	* libcomprex/fsiter.c:
476	* libcomprex/fsiter.h:
477	  - Fixed the filesystem iterator, at least for type
478	    CX_FSITER_FILES_DIRS (though it should work for all types now).
479
480Tue Jul 16 22:38:56 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
481
482	* libcomprex/archive.c:
483	  - Set the directory name and path name on the root directory
484	    to "/".
485
486	* libcomprex/directory.c:
487	* libcomprex/directory.h:
488	  - Added cxSetDirPath() and cxGetDirPath(), for setting the full
489	    path of a directory.
490
491	* modules/archive/tar/tar.c:
492	  - Set the full path on directories.
493
494Sat Jul 13 02:24:09 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
495
496	* INSTALL:
497	* README:
498	* libcomprex.spec.in:
499	  - Bumped up the version to 0.3.3.
500
501	* configure.ac:
502	* configure.in:
503	  - Bumped up the version to 0.3.3.
504	  - Added the cpio module.
505
506	* libcomprex/directory.c:
507	* libcomprex/directory.h:
508	  - Added cxMkDir().
509	  - Moved the cxGetDirectory() code into another utility function,
510	    which cxMkDir() also uses, and fixed a whole bunch of bugs in it.
511
512	* modules/archive/Makefile.am:
513	* modules/archive/cpio/Makefile.am:
514	* modules/archive/cpio/cpio.c:
515	* modules/archive/cpio/cpio.h:
516	* modules/archive/cpio/header.c:
517	* modules/archive/cpio/header.h:
518	  - Added the cpio module.
519
520Mon Jul 08 20:28:40 EDT 2002  Rodney Dawes <dobey@free.fr>
521
522	* Makefile.am:
523	* configure.ac:
524	* configure.in:
525	* libcomprex.pc.in:
526	  - Added the pkgconfig file stuff
527
528Thu Jun 27 01:33:27 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
529
530	* configure.ac:
531	* configure.in:
532	  - Added the Dutch translation.
533
534Sun Jun 23 03:00:28 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
535
536	* libcomprex/archive.c:
537	* libcomprex/directory.c:
538	* libcomprex/fp.c:
539	* libcomprex/internal.c:
540	* libcomprex/internal.h:
541	* libcomprex/io_internal.c:
542	* libcomprex/module.c:
543	* libcomprex/utils.c:
544	* modules/archive/ar/ar.c:
545	* modules/archive/bzip2/bzip2.c:
546	* modules/archive/tar/block.c:
547	* modules/archive/tar/tar.c:
548	* modules/archive/zip/header.c:
549	* modules/archive/zip/zip.c:
550	* modules/archive/zlib/zlib.c:
551	* modules/scheme/curl/curl.c:
552	  - Added the latest version of Jason Willis's memory checking
553	    patch, which changes all the mallocs and if statements to a
554	    single MEM_CHECK() macro.
555
556Sun Jun 23 02:49:15 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
557
558	* libcomprex/fsiter.c:
559	* tests/catarchive.c:
560	  - Committing before I leave. Beginning to add support for directory
561	    and file/directory iterators.
562
563Sat Jun 22 02:41:10 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
564
565	* libcomprex/Makefile.am:
566	  - Added fsiter.c and fsiter.h.
567
568	* libcomprex/directory.c:
569	  - Fixed a bug in the directory searching code where only one
570	    directory in a list would be compared to the queried path name.
571	  - Set the parent directories for files and subdirs.
572
573	* libcomprex/fsiter.c:
574	* libcomprex/fsiter.h:
575	  - Got the iterator working for files.
576	  - The iterator no longer allows for custom getPrev(), getNext(), and
577	    destroy() functions. All the iterator code will be stored in the
578	    main functions.
579
580	* tests/catarchive.c:
581	  - Updated to use the new iterator instead of a recursive function.
582
583Fri Jun 21 18:01:01 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
584
585	* libcomprex/comprex.h:
586	* libcomprex/fsiter.c:
587	* libcomprex/fsiter.h:
588	  - Added a filesystem iteration framework.
589
590Fri Jun 21 17:26:52 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
591
592	* libcomprex/directory.c:
593	* libcomprex/file.c:
594	* libcomprex/file.h:
595	* libcomprex/fsnode.h:
596	  - Moved everything out of CxFsNodeType into CxFileType. CxFsNodeType
597	    now just has values for file and directory.
598
599Fri Jun 21 11:16:34 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
600
601	* libcomprex/directory.c:
602	* libcomprex/directory.h:
603	* libcomprex/file.c:
604	* libcomprex/file.h:
605	  - Replaced the #defines with functions. This fixes some
606	    backwards-compatibility and documentation issues.
607
608Fri Jun 21 02:38:20 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
609
610	* libcomprex/utils.c:
611	  - Fixed a bug in cxSplitPath() where the base name wasn't getting
612	    set if there was no directory part.
613
614	* modules/archive/tar/tar.c:
615	  - Fixed a reference from cxSetDirectoryName() to cxSetDirName().
616	  - Used cxSplitPath() instead of individual calls to cxGetBaseName()
617	    and cxGetBasePath().
618
619Thu Jun 20 22:43:00 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
620
621	* configure.ac:
622	* configure.in:
623	  - My changes break backwards-compatibility on the API. Updated
624	    the library version to reflect that.
625
626	* libcomprex/Makefile.am:
627	* libcomprex/directory.c:
628	* libcomprex/directory.h:
629	* libcomprex/file.c:
630	* libcomprex/file.h:
631	* libcomprex/fsnode.c:
632	* libcomprex/fsnode.h:
633	* modules/archive/tar/tar.c:
634	  - Replaced CxFile and CxDirectory with a central structure:
635	    CxFsNode. CxFile and CxDirectory are now typedefs of this
636	    structure.
637	  - Renamed cxSetDirectoryName() and cxGetDirectoryName() to
638	    cxSetDirName() and cxGetDirName(), for consistency.
639
640Wed Jun 19 15:10:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
641
642	* libcomprex/archive.c:
643	* libcomprex/directory.c:
644	* libcomprex/file.c:
645	* libcomprex/fp.c:
646	* libcomprex/internal.c:
647	* libcomprex/internal.h:
648	* libcomprex/io_internal.c:
649	* libcomprex/module.c:
650	* libcomprex/utils.c:
651	* modules/archive/ar/ar.c:
652	* modules/archive/bzip2/bzip2.c:
653	* modules/archive/tar/block.c:
654	* modules/archive/tar/tar.c:
655	* modules/archive/zip/header.c:
656	* modules/archive/zip/zip.c:
657	* modules/archive/zlib/zlib.c:
658	* modules/scheme/curl/curl.c:
659	  - Applied Jason Willis's out of memory checking patch.
660
661Wed Jun 19 15:07:01 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
662
663	* Added gettext support.
664
665Sun Jun 16 19:16:15 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
666
667	* libcomprex/utils.c:
668	* libcomprex/utils.h:
669	  - Added cxSplitPath(), which splits paths into two variables: one
670	    for the directory, one for the filename.
671	  - Updated cxGetBaseName() and cxGetBasePath() to use cxSplitPath().
672
673Tue Jun 04 14:56:07 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
674
675	* libcomprex/module.c:
676	  - Removed the on-exit code, as this was causing some segfaults.
677	  - Slight optimizations in __trimModuleList().
678	  - Some code cleanups.
679
680Tue Jun 04 10:17:35 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
681
682	* libcomprex/utils.c:
683	  - Leakbug doesn't play well with (++c) in a strdup(), because of the
684	    macro wrappers. Fixed it so that ++c won't be done twice.
685
686	* modules/archive/tar/tar.c:
687	  - free() was being called on basePath when basePath was sometimes NULL.
688	    Fixed.
689
690Tue Jun 04 09:48:44 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
691
692	* configure.ac:
693	* configure.in:
694	  - Since a function or two was added, I'm bumping up the library
695	    version appropriately.
696
697Tue Jun 04 02:57:07 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
698
699	* libcomprex/internal.h:
700	  - Added cxOpenArchiveOrFile2(). Fixes a couple of compiler warnings.
701
702Tue Jun 04 02:37:59 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
703
704	* libcomprex/directory.c:
705	* libcomprex/internal.c:
706	  - Some bug fixes for when the directory part of a pathname is "." or
707	    ".."
708
709	* modules/archive/ar/ar.c:
710	* modules/archive/tar/tar.c:
711	* modules/archive/zlib/zlib.c:
712	  - Added seeking.
713	  - Fixed some bugs in the tar module when the directory part of a
714	    pathname is "."
715	  - Other small bug fixes.
716
717Mon Jun 03 17:53:48 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
718
719	* libcomprex/io_internal.c:
720	  - Incremented the reference count on an archive's file pointer so that
721	    it doesn't get lost.
722
723Mon Jun 03 11:20:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
724
725	* modules/archive/ar/ar.c:
726	  - Another fix for names without a trailing '/'. The entire file entry
727	    was being read in as a name. Fixed.
728
729Thu May 30 17:15:49 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
730
731	* INSTALL:
732	* NEWS:
733	* README:
734	* configure.ac:
735	* configure.in:
736	  - Bumped the version up to v0.3.2.
737
738	* libcomprex/archive_io.c:
739	* libcomprex/archive_io.h:
740	  - Added a function for opening archives from CxFile handles.
741
742	* libcomprex/module.c:
743	  - Some functions that should have been static were not. Fixed.
744
745	* modules/archive/ar/ar.c:
746	  - This would crash if a file in an ar file did not have a trailing
747	    '/'. This problem occurred on Debian archives. Fixed.
748
749Thu May 30 01:01:06 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
750
751	* docs/api/html/*:
752	* docs/api/man/*:
753	* libcomprex/archive.h:
754	* libcomprex/archive_io.h:
755	* libcomprex/directory.h:
756	* libcomprex/file.h:
757	* libcomprex/fp.h:
758	* libcomprex/io.h:
759	  - Updated the documentation.
760	  - Added man pages.
761
762Wed May 29 10:37:35 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
763
764	* libcomprex/directory.c:
765	* libcomprex/file.c:
766	* libcomprex/utils.h:
767	  - Fixed some crashes and more memory leaks. It SEEMS to work in
768	    all cases now...
769
770Wed May 29 10:27:10 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
771
772	* libcomprex/archive.c:
773	* libcomprex/directory.c:
774	* libcomprex/file.c:
775	* libcomprex/io.c:
776	* libcomprex/io_internal.c:
777	  - Hopefully fixed more of the leaks... We'll see. This is a nightmare.
778
779	* tests/catarchive.c:
780	  - Changed CX_READ_ONLY to CX_MODE_READ_ONLY.
781
782Wed May 29 01:01:09 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
783
784	* tests/Makefile.am:
785	* tests/catarchive.c:
786	* tests/catfile.c:
787	* tests/decomprex.c:
788	  - Removed decomprex.c, and put in its place catarchive.c, for
789	    displaying the contents of all files in an archive, and catfile.c,
790	    for displaying the contents in the specified file.
791
792Wed May 29 00:53:17 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
793
794	* libcomprex/archive.c:
795	* libcomprex/directory.c:
796	* libcomprex/file.c:
797	* libcomprex/fp.c:
798	* libcomprex/fp.h:
799	* libcomprex/internal.c:
800	* libcomprex/io.c:
801	* libcomprex/io_internal.c:
802	* libcomprex/utils.h:
803	  - Fixed several memory leaks.
804	  - Fixed the reference counts. Some of the fixes include hacks that
805	    shouldn't have to exist if things were getting referenced and
806	    dereferenced the right number of times, but I don't think that can
807	    happen consistently, so this is the best method.
808	  - Fixed cxOpenFile(), cxOpenStream(), and cxOpenBuffer(). These all
809	    work now.
810
811Sun May 26 02:46:43 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
812
813	* docs/api/html/:
814	  - Updated the documentation.
815
816Sun May 26 02:34:11 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
817
818	* libcomprex/io.c:
819	* libcomprex/io.h:
820	  - Added functionality to cxOpenStream() and cxOpenBuffer(). These have
821	    not been tested.
822
823Sun May 26 02:25:57 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
824
825	* libcomprex/archive_io.c:
826	* libcomprex/archive_io.h:
827	* libcomprex/internal.h:
828	* libcomprex/io_internal.c:
829	  - Added a function for reading archives and files from within buffers.
830	  - Split cxOpenArchiveOrFileStream() into cxOpenArchiveOrFile2() and
831	    cxInternalOpenStream().
832
833	* libcomprex/io.c:
834	  - Renamed cxOpenFileStream() and cxOpenFileBuffer() back to
835	    cxOpenStream() and cxOpenBuffer().
836
837Sat May 25 21:51:59 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
838
839	* libcomprex/archive_io.h:
840	  - Added cxOpenArchiveStream().
841
842	* libcomprex/internal.c:
843	  - No longer crashes if an archive's name is NULL.
844
845	* libcomprex/io_internal.c:
846	  - Fixed the check on fstat() in cxOpenArchiveOrFileStream().
847
848	* modules/archive/bzip2/bzip2.c:
849	* modules/archive/zlib/utils.h:
850	* modules/archive/zlib/zlib.c:
851	  - No longer crashes if the file has no name. Now they just change
852	    the name to "unknown." Not the best solution, but it works for now.
853
854Sat May 25 21:11:57 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
855
856	* libcomprex/archive_io.c:
857	* libcomprex/internal.h:
858	* libcomprex/io.c:
859	* libcomprex/io_internal.c:
860	  - Added the initial code for reading files and archives in from
861	    streams. It hasn't been tested yet.
862
863Sat May 25 14:21:55 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
864
865	* libcomprex/Makefile.am:
866	* libcomprex/archive_api.c:
867	* libcomprex/archive_api.h:
868	* libcomprex/archive_io.c:
869	* libcomprex/archive_io.h:
870	* libcomprex/comprex.h:
871	  - Renamed archive_api.c and archive_api.h to archive_io.c and
872	    archive_io.h.
873
874	* modules/archive/bzip2/bzip2.c:
875	  - The stream is now seeked to the beginning of the file.
876
877Sat May 25 12:49:21 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
878
879	* libcomprex/io_internal.c:
880	  - Found another memory leak, and squashed it.
881	  - Fixed a segfault.
882
883	* modules/archive/zlib/zlib.c:
884	  - The file handle wasn't getting closed if the it was the end of
885	    the file. Fixed.
886
887Sat May 25 12:19:33 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
888
889	* libcomprex/archive.c:
890	* libcomprex/directory.c:
891	* libcomprex/file.c:
892	* libcomprex/fp.c:
893	* libcomprex/io.c:
894	* libcomprex/io_internal.c:
895	* libcomprex/utils.h:
896	  - Removed the debug statements.
897
898	* libcomprex/directory_api.c:
899	* libcomprex/directory_api.h:
900	  - Finally removed the old directory API, which was never used.
901
902Sat May 25 12:05:22 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
903
904	* libcomprex/directory.c:
905	* libcomprex/directory.h:
906	* libcomprex/io.c:
907	* modules/archive/ar/ar.c:
908	* modules/archive/bzip2/bzip2.c:
909	* modules/archive/tar/tar.c:
910	* modules/archive/zlib/zlib.c:
911	  - More memory cleanups. I think this is the last batch.
912	  - Directories now claim the active reference on added files and
913	    subdirectories. Added a note about this in the documentation.
914
915Sat May 25 11:57:31 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
916
917	* libcomprex/io_internal.c:
918	  - Files specified on a path of archives that no module claims as an
919	    archvie will now cause __getNestedArchiveWithPath() to return NULL,
920	    instead of the last archive that can be opened.
921
922Sat May 25 11:39:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
923
924	* libcomprex/archive.c:
925	* libcomprex/directory.c:
926	* libcomprex/file.c:
927	* libcomprex/fp.c:
928	* libcomprex/internal.c:
929	* libcomprex/io.c:
930	* libcomprex/io_internal.c:
931	* libcomprex/module.c:
932	* libcomprex/utils.h:
933	* modules/archive/ar/ar.c:
934	* modules/archive/tar/tar.c:
935	* modules/archive/zlib/zlib.c:
936	  - Fixed several memory leaks.
937	  - Fixed several misc bugs.
938	  - Mostly fixed the archive traversal algorithms.
939	  - Fixed a bug where the subdir count was being incremented instead of
940	    the dir count in cxAddSubDir().
941	  - The __ltdlInit() prototype is now only there if DYNAMIC_MODS is
942	    not defined.
943
944Sat May 25 00:34:27 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
945
946	* configure.ac:
947	* configure.in: Remove the zip module for now.
948
949Tue May 21 23:56:57 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
950
951	* modules/scheme/curl/Makefile.am:
952	  - Renamed the library to libcurlscm.*. Everybody should delete
953	    their old $(prefix)/lib/comprex/scheme/libcurl.*.
954
955Tue May 21 14:22:53 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
956
957	* modules/archive/ar/ar.c:
958	  - No longer tries to free a NULL pointer if a name symbol table
959	    does not exist.
960
961Tue May 21 14:09:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
962
963	* libcomprex/archive.c:
964	* libcomprex/archive.h:
965	* libcomprex/fp.c:
966	* libcomprex/fp.h:
967	* libcomprex/internal.c:
968	* libcomprex/io.c:
969	* libcomprex/io_internal.c:
970	* modules/archive/ar/ar.c:
971	* modules/archive/bzip2/bzip2.c:
972	* modules/archive/tar/tar.c:
973	* modules/archive/zlib/zlib.c:
974	  - Added cxNewFp() for creating a file pointer structure.
975	  - Added some memory cleanups.
976	  - Archives now have associated file pointer structures.
977	  - Added some more reference counting code.
978
979Tue May 21 13:30:27 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
980
981	* libcomprex/archive.c:
982	* libcomprex/archive.h:
983	* libcomprex/directory.c:
984	* libcomprex/directory.h:
985	* libcomprex/file.c:
986	* libcomprex/file.h:
987	* libcomprex/fp.h:
988	* libcomprex/module.c:
989	* libcomprex/utils.h:
990	  - Added base support for reference counting.
991
992Mon May 20 23:12:34 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
993
994	* modules/archive/bzip2/bzip2.c:
995	  - Solved the bzip2 seek problem by writing to a temp file first.
996	    Nasty hack, and I don't like it, but it's at the moment the
997	    best solution.
998
999Mon May 20 22:15:29 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1000
1001	* modules/archive/bzip2/bzip2.c:
1002	  - Added error checking on reads and writes.
1003
1004	* modules/archive/zlib/zlib.c:
1005	  - Returned what should be a more correct value in reads and writes.
1006	  - Added error checking on reads and writes.
1007
1008Mon May 20 22:10:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1009
1010	* libcomprex/fp.c:
1011	* libcomprex/fp.h:
1012	  - Added a function for setting the current error on a file pointer.
1013
1014Mon May 20 01:10:01 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1015
1016	* libcomprex/io_internal.c:
1017	  - Set the associated file on all file pointers.
1018
1019	* modules/archive/bzip2/bzip2.c:
1020	  - The returned value on __readFunc() and __writeFunc() was the number
1021	    of bytes read/written, not the number of members. Fixed.
1022
1023Mon May 20 00:53:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1024
1025	* libcomprex/io_internal.c:
1026	  - Reverted the setting of remainingPath in __getNestedArchiveWithPath().
1027	    It was causing crashes.
1028
1029Mon May 20 00:40:55 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1030
1031	* libcomprex/io_internal.c:
1032	  - Added the close function for local files.
1033
1034Sun May 19 23:29:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1035
1036	* libcomprex/file.c:
1037	* libcomprex/fp.c:
1038	* libcomprex/fp.h:
1039	* libcomprex/io.c:
1040	* libcomprex/module.c:
1041	* libcomprex/module.h:
1042	* modules/archive/ar/ar.c:
1043	* modules/archive/bzip2/bzip2.c:
1044	* modules/archive/tar/tar.c:
1045	* modules/archive/zlib/zlib.c:
1046	  - Removed closeFile() in archive modules for closing file pointers.
1047	    Replaced it with a close() function associated with all CxFP
1048	    structures.
1049	  - Added destroyFile() in archive modules to destroy CxFile structures.
1050	  - Added cxSetCloseFunc() for setting a file pointer's close function.
1051
1052Sun May 19 13:20:59 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1053
1054	* libcomprex/file.c:
1055	  - Removed some #if 0'd code.
1056
1057	* libcomprex/io.c:
1058	  - The associated file on a file pointer is now set.
1059	  - The current position in a file is now updated after reads, writes,
1060	    and seeks.
1061
1062	* libcomprex/io_internal.c:
1063	  - In __getNestedArchiveWithPath(), the parent is now returned if
1064	    the path is not an openable archive.
1065	  - Removed some #if 0'd code.
1066
1067	* modules/archive/ar/ar.c:
1068	  - The file pointer is returned instead of CX_SUCCESS. Oops. :)
1069
1070Sun May 19 11:55:49 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1071
1072	* modules/archive/zlib/zlib.c:
1073	  - Added file seeking, and reading works again.
1074
1075Sun May 19 11:41:57 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1076
1077	* modules/archive/bzip2/bzip2.c:
1078	  - Added file seeking. There may be a memory leak as a result, though.
1079
1080Sun May 19 03:08:25 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1081
1082	* modules/archive/bzip2/bzip2.c:
1083	  - Got the read function working again.
1084
1085Sun May 19 02:57:08 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1086
1087	* libcomprex/io.c:
1088	  - Fixed attempted fclose()'s when they aren't really wanted.
1089	  - Removed a possible double free.
1090	  - Removed some #if 0'd code.
1091
1092Sun May 19 02:47:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1093
1094	* archive/tar/tar.c:
1095	  - Added checks so that opening a tar file will fail if the data stream
1096	    is empty.
1097
1098	* archive/zlib/zlib.c:
1099	  - The zlib module will no longer attempt to open a file that is empty.
1100
1101Sun May 19 01:49:10 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1102
1103	* modules/archive/zlib/zlib.c:
1104	  - Removed a double free.
1105
1106Sun May 19 01:38:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1107
1108	* libcomprex/fp.c:
1109	* libcomprex/fp.h:
1110	  - Changed the return type on the seek function.
1111
1112	* libcomprex/internal.c:
1113	* libcomprex/internal.h:
1114	* libcomprex/io_internal.c:
1115	  - Several changes to work with file pointer structures. They don't
1116	    work correctly, though.
1117
1118	* libcomprex/io.c:
1119	* libcomprex/io.h:
1120	  - cxOpenFile() is set to work with the file pointer structure.
1121	  - Added cxTell().
1122
1123	* modules/archive/Makefile.am: Disabled the zip module.
1124
1125	* modules/archive/ar/ar.c:
1126	* modules/archive/ar/ar.h:
1127	* modules/archive/ar/header.c:
1128	* modules/archive/bzip2/bzip2.c:
1129	* modules/archive/tar/block.c:
1130	* modules/archive/tar/tar.c:
1131	* modules/archive/tar/tar.h:
1132	* modules/archive/zlib/zlib.c:
1133	* tests/decomprex.c:
1134	  - Updated to work with the file pointer structure and the new
1135	    way of doing things.
1136
1137Tue May 14 14:35:53 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1138
1139	* libcomprex/fp.c:
1140	* libcomprex/fp.h:
1141	  - Fixed the return type on the seek function. It should have been void,
1142	    not size_t.
1143
1144Tue May 14 14:21:40 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1145
1146	* libcomprex/Makefile.am:
1147	* libcomprex/internal.c:
1148	* libcomprex/io_internal.c:
1149	  - Added io_internal.c, which is where some of the back-end I/O code
1150	    will go.
1151
1152	* libcomprex/fp.h:
1153	  - Added the moduleData variable.
1154	  - Re-aligned the doxygen comments.
1155
1156	* libcomprex/io.c:
1157	  - Put back the missing return statements from some functions.
1158
1159Mon May 13 20:06:34 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1160
1161	* libcomprex/Makefile.am:
1162	* libcomprex/comprex.h:
1163	* libcomprex/file.c:
1164	* libcomprex/file.h:
1165	* libcomprex/fp.c:
1166	* libcomprex/fp.h:
1167	* libcomprex/internal.c:
1168	* libcomprex/io.c:
1169	* libcomprex/io.h:
1170	* libcomprex/module.h:
1171	  - Added the initial code for the I/O rewrite branch. This will move
1172	    things over from using CxFile structures as file pointers to the
1173	    new CxFP file pointer structures. The goal is to eventually
1174	    remove the need for temp files in the libcomprex core library,
1175	    and add reading from buffers and existing FILE * streams.
1176
1177Sat May 11 10:06:46 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1178
1179	* INSTALL:
1180	* NEWS:
1181	* README:
1182	* configure.ac:
1183	* configure.in:
1184	* libcomprex.spec.in:
1185	  - Bumped the version up to v0.3.1.
1186
1187Fri May 10 17:03:22 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1188
1189	* libcomprex/module.c:
1190	* libcomprex/module.h:
1191	* modules/archive/ar/ar.c:
1192	* modules/archive/bzip2/bzip2.c:
1193	* modules/archive/tar/tar.c:
1194	* modules/archive/zip/zip.c:
1195	* modules/archive/zlib/zlib.c:
1196	  - Removed openDir() and closeDir() module functions.
1197
1198Fri May 10 16:37:51 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1199
1200	* libcomprex/internal.c:
1201	  - Single-file archive nesting no longer takes place unless the
1202	    archive is a single-file archive.
1203
1204	* modules/archive/ar/Makefile.am:
1205	* modules/archive/ar/ar.c:
1206	* modules/archive/ar/ar.h:
1207	* modules/archive/ar/header.c:
1208	* modules/archive/ar/utils.c:
1209	  - Added a working ar module.
1210
1211Thu May 09 09:53:00 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1212
1213	* aclocal.h:
1214	* configure.ac:
1215	* configure.in:
1216	  - Removed aclocal.h, and extended all the calls to AC_DEFINE() and
1217	    AC_DEFINE_UNQUOTED(). This should take away the need for an
1218	    aclocal.h.
1219
1220Mon May 06 09:48:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1221
1222	* Modules can now be linked in statically. Too many files to list.
1223	* Fixed a couple bugs throughout the tree.
1224
1225Sun May 05 00:46:35 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1226
1227	* libcomprex/archive.c:
1228	* libcomprex/archive.h:
1229	* libcomprex/file.c:
1230	* modules/archive/bzip2/bzip2.c:
1231	* modules/archive/zlib/zlib.c:
1232	  - Removed the deprecated cxArchiveAddFile(), cxArchiveRemoveFile(),
1233	    cxArchiveAddDir(), and cxArchiveRemoveDir() functions.
1234
1235Sun May 05 00:40:53 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1236
1237	* libcomprex/internal.c: Single-file archives should work again.
1238
1239Sun May 05 00:32:25 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1240
1241	* modules/archive/bzip2/bzip2.c: The file's type is now set.
1242
1243Sat May 04 23:53:53 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1244
1245	* libcomprex/archive_api.c:
1246	* libcomprex/file_api.c:
1247	* libcomprex/internal.c:
1248	* libcomprex/internal.h:
1249	  - Moved file opening code into internal.c. The function can now return
1250	    the file and/or archive, instead of just the file. cxOpenFile() and
1251		cxOpenArchive() wrap this function.
1252
1253Sat May 04 22:50:29 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1254
1255	* libcomprex/internal.c:
1256	* libcomprex/internal.h: Removed cxRecursiveDelete().
1257
1258Sat May 04 21:49:09 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1259
1260	* libcomprex/archive_api.c:
1261	* libcomprex/file_api.c:
1262	  - Lots of restructuring to fix problems with multi-file archives, and
1263	    to have the cxFileOpen() function do less work when it comes to
1264	    returning archives. This is still horribly broken. It leaks memory,
1265	    leaks temp files, and opens returned archives twice. I'll fix it
1266	    in an upcoming commit.
1267	  - Made some of the filenames, paths, and physical paths that are set to
1268	    archives and files more consistent.
1269
1270	* libcomprex/directory.c:
1271	* libcomprex/utils.c:
1272	  - Fixed a couple segfaults related to going past the end of a buffer.
1273
1274	* modules/archive/bzip2/bzip2.c:
1275	* modules/archive/zlib/zlib.c:
1276	  - The filename of the first file in the archive is now more like the
1277	    name of the archive, instead of the name of a temp file.
1278
1279	* modules/archive/tar/tar.c:
1280	  - Directories and files are added correctly.
1281	  - Filenames assigned are now more correct.
1282
1283	* tests/decomprex.c: Updated to recurse through directories.
1284
1285Thu May 02 02:36:49 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1286
1287	* libcomprex/directory.c:
1288	* libcomprex/directory.h:
1289	  - Added cxGetDirectory() and cxGetFile(), which returns directories
1290	    or files specified by a pathname. Hopefully it works.
1291
1292Thu May 02 01:59:00 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1293
1294	* libcomprex/utils.c:
1295	* libcomprex/utils.h:
1296	  - Split some code from cxGetFullFilePath() into cxFixPath().
1297	  - Added documentation to the functions in utils.h.
1298
1299Wed May 01 22:14:13 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1300
1301	* libcomprex/archive.c:
1302	* libcomprex/archive.h:
1303	  - Removed cxGetArchiveFileCount(), cxGetArchiveDirCount(),
1304	    cxGetArchiveFirstFile(), and cxGetArchiveFirstDir().
1305	    All file-related work should now be done off the root directory.
1306
1307	* libcomprex/directory.c:
1308	* libcomprex/directory.h:
1309	  - Renamed cxGetDirFirstFile() and cxGetDirFirstSubDir() to
1310	    cxGetFirstFile() and cxGetFirstSubDir().
1311
1312	* libcomprex/file_api.c:
1313	* tests/decomprex.c:
1314	  - Updated to work off the archive's root directory, instead of using
1315	    the now removed functions mentioned above.
1316
1317Wed May 01 02:04:19 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1318
1319	* libcomprex/directory.c:
1320	* libcomprex/directory.h:
1321	* libcomprex/file.c:
1322	* libcomprex/file.h:
1323	  - Added cxSetDirParent(), cxGetDirParent(), cxSetFileParent(), and
1324	    cxGetFileParent(), which all set and return the parent directory.
1325	  - Added checks so that a file or subdirectory not belonging to a
1326	    directory cannot be removed from that directory.
1327
1328Wed May 01 01:47:13 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1329
1330	* libcomprex/archive.c:
1331	* libcomprex/archive.h:
1332	* libcomprex/directory.c:
1333	* libcomprex/directory.h:
1334	* modules/archive/ar/ar.c:
1335	* tests/decomprex.c:
1336	  - Changed the structures around so that archives have a root
1337	    CxDirectory variable. This removes a lot of unnecessary
1338	    duplicate code, and will simplify things even more down the road.
1339	    Compatibility functions have been retained, temporarily.
1340
1341Tue Apr 30 23:41:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1342
1343	* libcomprex/archive.c:
1344	* libcomprex/archive.h:
1345	* libcomprex/directory.c:
1346	* libcomprex/directory.h:
1347	* libcomprex/file.h:
1348	* libcomprex/file_api.c:
1349	* modules/archive/tar/tar.c:
1350	  - Added better support for directories. These are now stored as
1351	    CxDirectory structures, instead of CxFile structures with
1352	    CX_FILETYPE_DIRECTORY set.
1353
1354Tue Apr 30 14:30:58 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1355
1356	* libcomprex/file_api.c:
1357	* libcomprex/utils.c:
1358	* libcomprex/utils.h:
1359	  - Retrieving files in nested archives works a little bit better now.
1360	    It still has a way to go, though.
1361	  - Added a function to turn any path into a full path.
1362
1363Mon Apr 29 02:19:02 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1364
1365	* modules/archive/tar/io.c:
1366	* modules/archive/tar/list.c:
1367	  - Got rid of these, as they are no longer being used.
1368
1369Mon Apr 29 01:54:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1370
1371	* modules/archive/tar/Makefile.am:
1372	* modules/archive/tar/block.c:
1373	* modules/archive/tar/header.c:
1374	* modules/archive/tar/header.h:
1375	* modules/archive/tar/tar.c:
1376	* modules/archive/tar/tar.h:
1377	* modules/archive/tar/utils.c:
1378	  - File input should now work with the tar module.
1379
1380Sat Apr 27 02:12:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1381
1382	* libcomprex/types.h: Added some new return types.
1383
1384Fri Apr 26 16:46:46 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1385
1386	* tests/decomprex.c:
1387	  - Don't try to read in files unless they are actually normal files.
1388
1389Fri Apr 26 16:36:34 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1390
1391	* modules/archive/zip/crc32.c:
1392	* modules/archive/zip/crc32.h:
1393	  - Got rid of a very annoying namespace conflict. You have no idea
1394	    how long I've been trying to find the reason for the segfaults I've
1395	    been getting.
1396
1397	* modules/archive/zip/header.c:
1398	  - This should return CX_INVALID_FORMAT if it's not a zip now.
1399
1400Fri Apr 26 16:24:04 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1401
1402	* modules/archive/tar/tar.c:
1403	  - CX_INVALID_FORMAT should now be returned if this is not a tar file.
1404
1405Fri Apr 26 15:57:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1406
1407	* libcomprex/module.c:
1408	* libcomprex/module.h:
1409	  - Removed references to libltdl stuff from module.h, and moved it to
1410	    module.c.
1411
1412Fri Apr 26 02:01:12 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1413
1414	* acconfig.h: Added HAVE_LIBZ and HAVE_LIBBZ2.
1415
1416	* configure.ac:
1417	* configure.in: Added AC_DEFINES in the checks for libz and libbz2.
1418
1419	* modules/archive/tar/header.c:
1420	* modules/archive/tar/header.h:
1421	* modules/archive/tar/io.c:
1422	* modules/archive/tar/tar.c:
1423	  - The tar module can now display a listing of files partially
1424	    correctly.
1425
1426Thu Apr 25 14:45:49 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1427
1428	* libcomprex/file.c:
1429	* libcomprex/file.h: Added file types.
1430
1431Thu Apr 25 14:31:16 PDT 2002  Christian Hammond <chipx86@gnupdate.org>
1432
1433	* modules/archive/Makefile.am: Install in the right directory.
1434
1435Sat Mar 02 23:41:36 PST 2002  Christian Hammond <chipx86@gnupdate.org>
1436
1437	* configure.ac:
1438	* configure.in:
1439	* modules/archive/Makefile.am:
1440	* modules/archive/tar/:
1441	  - Added some base code for the tar module. None of it is tested.
1442	    None of it works. Most of it will be replaced.
1443
1444Mon Dec 31 01:24:26 PST 2001  Christian Hammond <chipx86@gnupdate.org>
1445
1446	* Updated the copyrights for the new year.
1447
1448Thu Dec 13 12:21:58 PST 2001  Christian Hammond <chipx86@gnupdate.org>
1449
1450	* AUTHORS: Updated my e-mail address.
1451
1452Tue Dec 11 10:52:15 PST 2001  Christian Hammond <chipx86@gnupdate.org>
1453
1454	* INSTALL: Updated the entries for zlibg and leakbug.
1455
1456Tue Nov 20 16:55:08 PST 2001  Christian Hammond <chipx86@gnupdate.org>
1457
1458	* comprex-config.in: Added actual stuff to --libs and --cflags.
1459
1460Fri Nov 16 18:36:02 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1461
1462	* INSTALL: Updated with a list of requirements.
1463
1464Wed Nov 14 01:06:28 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1465
1466	* modules/archive/zip/Makefile.am:
1467	* modules/archive/zip/header.c:
1468	* modules/archive/zip/zip.c:
1469	* modules/archive/zip/zip.h:
1470	  - Wrote bounds checking for the read function.
1471	  - Wrote a crc32 function.
1472	  - A separate block of data storing the uncompressed size, compressed
1473	    size, and crc32 value is now supported.
1474
1475Tue Nov 13 23:15:57 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1476
1477	* libcomprex/archive_api.c:
1478	* libcomprex/file_api.c:
1479	* libcomprex/internal.c:
1480	* libcomprex/internal.h:
1481	* libcomprex/module.h:
1482	  - A module's openFile() now accepts two parameters, not three.
1483	  - cxFindOwnerModule now accepts only one parameter.
1484	  - Various changes to get multi-file archives to work better.
1485	  - Less memory should be used now.
1486
1487	* modules/archive/ar/ar.c:
1488	* modules/archive/bzip2/bzip2.c:
1489	* modules/archive/zlib/zlib.c: Modified to work with the new changes.
1490
1491	* modules/archive/zip/header.c:
1492	* modules/archive/zip/header.h:
1493	* modules/archive/zip/utils.c:
1494	* modules/archive/zip/utils.h:
1495	* modules/archive/zip/zip.c:
1496	* modules/archive/zip/zip.h: Works a bit better. Not ready for normal
1497	  use, though.
1498
1499Tue Nov 13 21:23:33 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1500
1501	* libcomprex/archive_api.c:
1502	* libcomprex/file_api.c:
1503	  - Cleaned some old code and debug statements.
1504	  - Physical paths on local, non-archive files are now set.
1505
1506Tue Nov 13 21:16:36 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1507
1508	* libcomprex/file_api.c: Non-archive files should now open right, but
1509	  I haven't verified it yet.
1510
1511Tue Nov 13 19:31:33 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1512
1513	* libcomprex/file_api.c: Multi-file archives should now be
1514	  accepted for loading.
1515
1516Tue Nov 13 13:10:37 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1517
1518	* libcomprex/file.c:
1519	* libcomprex/file.h: Added cxSetFileCompressedSize() and
1520	  cxGetFileCompressedSize().
1521
1522Tue Nov 13 12:47:40 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1523
1524	* Added the beginnings of the zip module.
1525
1526Mon Nov 12 00:36:58 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1527
1528	* modules/archive/ar/ar.c:
1529	* modules/archive/ar/ar.h:
1530	* modules/archive/ar/gethead.c: Updated to be more consistent with the
1531	  rest of GNUpdate's code style.
1532
1533Sun Nov 11 21:57:31 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1534
1535	* libcomprex/file_api.c: This should get rid of the rest of
1536	  the leaked temp files.
1537
1538Sun Nov 11 12:50:37 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1539
1540	* libcomprex/file_api.c: And finally, the algorithm works correctly!
1541	* modules/archive/bzip2/bzip2.c: Fixed a crash when strrchr()
1542	  returned NULL.
1543
1544Sun Nov 11 11:33:35 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1545
1546	* libcomprex/file_api.c: Split __loadArchiveFromArchive() into
1547	  __getNestedArchive() and __getNestedArchiveWithpath(). Easier to
1548	  maintain.
1549
1550Sun Nov 11 01:49:36 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1551
1552	* libcomprex/file_api.c:
1553	  - Tweaked the algorithm quite a bit. It now partially works for
1554		nested archives of the form archive.gz.bz2/archive.gz and
1555		archive.gz.bz2. Both will return the contents of archive.gz, which is
1556		stored in archive.gz.bz2.
1557
1558		Beware of memory leaks and left-over temp files.
1559
1560	* libcomprex/archive.c:
1561	* libcomprex/archive.h:
1562	  - Added cxSetArchiveLocal() and cxIsArchiveLocal().
1563	  - Temporary files are now deleted.
1564
1565Sat Nov 03 00:09:49 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1566
1567	* libcomprex.m4.in: Updated with some changes that should fix potential
1568	  compile errors during a ./configure process.
1569
1570Tue Oct 30 01:14:14 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1571
1572	* tests/decomprex.c: No longer spits out garbage at the end of a
1573	  file due to the lack of a terminating null character.
1574
1575Mon Oct 29 16:06:06 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1576
1577	* configure.ac: Fixed autoconf's complaining about debian/rules.
1578
1579Mon, 29 Oct 2001 21:58:17 +0100  Gerry Jo Jellestad <gerry@c64.org>
1580	* modules/archive/ar/ar.c: Potential byteskip speedup on stupid systems.
1581
1582Mon, 29 Oct 2001 21:49:24 +0100  Gerry Jo Jellestad <gerry@c64.org>
1583	* modules/archive/ar/ar.c: Removed some unnecessarry casting.
1584	* ./ChangeLog: Added a space before my name in the entry below =)
1585
1586Mon, 29 Oct 2001 21:20:42 +0100  Gerry Jo Jellestad <gerry@c64.org>
1587
1588	* modules/archive/ar/*:
1589		* Fixed things so this (hopefully) works with the new api.
1590		* Also did some bugfixing etc. in the process.
1591		* This is untested code, but it compiles =)
1592
1593Mon Oct 29 01:04:12 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1594
1595	* libcomprex/archive.c:
1596	* libcomprex/archive_api.c:
1597	* libcomprex/file.c:
1598	* libcomprex/file_api.c:
1599	* libcomprex/file_api.h:
1600	* libcomprex/internal.c: Fixed some more crashes.
1601
1602Sun Oct 28 23:52:12 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1603
1604	* libcomprex/file.c:
1605	* libcomprex/file_api.c: Fixed a crash. More to go.
1606
1607Sun Oct 28 22:54:45 PST 2001  Christian Hammond <chipx86@portaldesign.net>
1608
1609	* modules/archive/bzip2/Makefile.am:
1610	* modules/archive/zlib/Makefile.am:
1611	* modules/scheme/curl/Makefile.am: This should work on older automakes
1612	  and the newer automakes without problems.
1613
1614Tue Oct 23 00:30:33 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1615
1616	* libcomprex/archive.c:
1617	* libcomprex/archive.h: Added cxGetArchivePath(), cxSetArchivePath(),
1618	  cxGetArchivePhysicalPath(), and cxSetArchivePhysicalPath().
1619
1620	* libcomprex/file.c: Fixed a leakbug.
1621	* libcomprex/file.h: Documentation updates.
1622
1623Mon Oct 22 01:09:32 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1624
1625	* libcomprex/file.c:
1626	* libcomprex/file.h: Added cxGetFilePhysicalPath() and
1627	  cxSetFilePhysicalPath(). Getting closer to a working library again.
1628
1629Sat Oct 06 02:57:27 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1630
1631	* libcomprex/file_api.c:
1632	* modules/archive/bzip2/bzip2.c:
1633	* modules/archive/zlib/zlib.c: Added the closeArchive() module function.
1634
1635	* libcomprex/archive.h:
1636	* libcomprex/archive.c: Added cxArchiveRemoveFile().
1637
1638Sat Oct 06 02:47:38 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1639
1640	* libcomprex/archive.c:
1641	* libcomprex/archive_api.c:
1642	* libcomprex/file.c:
1643	* libcomprex/file_api.c:
1644	* modules/archive/zlib/zlib.c: Fixed some leakbugs.
1645	* modules/archive/bzip2/bzip2.c: Fixed a segfault.
1646	* libcomprex/internal.c: Changed references to libpackman to libcomprex.
1647
1648Thu Oct 04 01:15:38 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1649
1650	* configure.in:
1651	* modules/archive/Makefile.am:
1652	* modules/archive/bzip2/: Added the bzip2 module. It crashes when
1653	  closing, but it's a step closer.
1654
1655Wed Oct 03 08:43:34 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1656
1657	* modules/archive/zlib/zlib.c: Close those file pointers...
1658
1659Wed Oct 03 08:40:54 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1660
1661	* modules/archive/zlib/zlib.c: Returned CX_FILE_NOT_FOUND on a NULL
1662	  fp, not CX_ERROR.
1663
1664Tue Oct 02 21:40:50 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1665
1666	* modules/archive/zlib.c: Removed some old code, and added extensions
1667	  to the modSupportsExtension() function.
1668
1669Tue Oct 02 01:38:41 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1670
1671	* Renamed comprex.m4 to libcomprex.m4.
1672	  NOTE: You *MUST* remove any existing installed comprex.m4 files
1673	  (usually found in /usr/share/aclocal or /usr/local/share/aclocal)
1674	  or problems may result!
1675
1676Tue Oct 02 01:33:07 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1677
1678	* libcomprex/archive.c:
1679	* libcomprex/archive_api.c:
1680	* libcomprex/file.c:
1681	* libcomprex/file_api.c:
1682	* libcomprex/internal.c:
1683	* modules/archive/zlib/zlib.c:
1684	* tests/decomprex.c: Got file reading working! (Only for gzip
1685	  archives for now.)
1686
1687Sun Sep 30 15:18:13 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1688
1689	* libcomprex/types.h: Added utility macros for checking the access mode.
1690
1691	* libcomprex/file_api.c:
1692	* modules/archive/zlib/zlib.c: Uses the new utility macros.
1693
1694Sun Sep 30 15:00:21 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1695
1696	* libcomprex/file.h:
1697	* libcomprex/file.c: Added cxSetFileOpen() and cxIsFileOpen().
1698
1699	* libcomprex/file_api.c: Filled in the cxRead() function.
1700
1701	* libcomprex/archive/zlib/utils.h:
1702	* libcomprex/archive/zlib/zlib.c: Changed the way zlib is used,
1703	  fixed some leakbugs, and filled in modOpenFile().
1704
1705Sat Sep 29 01:05:53 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1706
1707	* tests/decomprex.c: Updated the test code to output the contents of
1708	  the files (when this is implemented).
1709
1710Wed Sep 19 22:24:26 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1711
1712	* modules/archive/zlib/utils.h:
1713	* modules/archive/zlib/zlib.c: The contained file is now added to the
1714	  list.
1715
1716Wed Sep 19 15:31:25 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1717
1718	* archive.c:
1719	* archive.h:
1720	* file_api.c: Removed the concept of parent archives. It's just too
1721	  messy, takes up too much memory, is rarely needed, and would require
1722	  reference counting and stuff that I'd rather not deal with.
1723
1724Wed Sep 19 15:26:34 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1725
1726	* libcomprex/file_api.c:
1727	* libcomprex/internal.c:
1728	* libcomprex/internal.h: Moved some utility functions to internal.c.
1729
1730	* libcomprex/archive_api.c: Added the core functionality to
1731	  cxOpenArchive().
1732
1733Wed Sep 19 14:56:04 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1734
1735	* libcomprex/module.c: Fixed potential crashes, and changed the
1736	  "file" directory to "archive."
1737
1738	* modules/archive/zlib/Makefile.am: Install into $(libdir)/comprex/archive
1739	  instead of $(libdir)/comprex/file.
1740
1741Wed Sep 19 11:46:31 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1742
1743	* configure.ac:
1744	* configure.in: Bumped the version up to 0.3.0. I did this because
1745	  the x.even.x versions are stable, and x.odd.x are unstable. This
1746	  is unstable, as was the previous version, but there were far too
1747	  many changes between versions to simply increase the minor version
1748	  level up. So we'll just skip 0.2.0 and call this 0.3.0.
1749
1750Wed Sep 19 11:28:20 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1751
1752	* libcomprex/file.h: Added clearErr(), eof(), error(), and strError()
1753	  functions to the CxFile.ops structure.
1754
1755	* libcomprex/file_api.h: Added documentation.
1756	* libcomprex/file_api.c: Implemented the new functions.
1757
1758Wed Sep 19 01:56:50 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1759
1760	* libcomprex/file_api.c: Filled out the cxRead() and cxWrite() functions.
1761
1762Wed Sep 19 01:35:32 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1763
1764	* libcomprex/file.h: Added a moduleData variable to the CxFile structure.
1765	* libcomprex/file_api.c: Filled out the algorithm a bit. I think it
1766	  will work now, but I haven't tested it yet. It's been a pain to write.
1767	  Too many recursive functions :)
1768
1769Mon Sep 10 00:57:37 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1770
1771	* libcomprex/file.c:
1772	* libcomprex/file.h: Added read() and write() op functions for
1773	  CxFile structures.
1774
1775	* libcomprex/file_api.c: Some more work on the algorithm. I'll hopefully
1776	  finish it this week, when I have more time.
1777
1778	* libcomprex/module.h: Minor doc update.
1779
1780Thu Sep 06 20:15:33 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1781
1782	* libcomprex/directory.c:
1783	* libcomprex/directory.h: Added a parent archive variable to
1784	  CxDirectory.
1785
1786	* libcomprex/directory_api.c:
1787	* libcomprex/directory_api.h: Added the stub function for cxCloseDir().
1788
1789	* libcomprex/file_api.c: Wrote some base code for the file opening.
1790	  This is not done yet. Don't try using it ;)
1791
1792	* libcomprex/module.c:
1793	* libcomprex/module.h: Changed some archive module functions around.
1794
1795	* modules/archive/zlib/zlib.c: Updated with the new module functions.
1796
1797Wed Sep 05 08:44:49 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1798
1799	* libcomprex/module.h: Changed the mode parameter from a char * to
1800	  a CxAccessMode on CxArchiveOps.openFile().
1801
1802Tue Sep 04 15:52:10 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1803
1804	* libcomprex/archive.c:
1805	* libcomprex/archive.h: Added support for setting/retrieving an
1806	  archive's parent archive (for nested archives).
1807
1808Tue Sep 04 00:31:34 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1809
1810	* libcomprex/archive.c:
1811	* libcomprex/types.h: Renamed CX_ARCHIVE_ERROR to CX_ARCHIVE_UNKNOWN.
1812	  This seems more appropriate.
1813
1814Tue Sep 04 00:27:02 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1815
1816	* libcomprex/archive.c:
1817	* libcomprex/archive.h:
1818	* libcomprex/file_api.c:
1819	* libcomprex/module.c:
1820	* libcomprex/module.h:
1821	* libcomprex/types.h:
1822	* modules/archive/zlib/zlib.c: Okay, scrapped the supportsMultiFile()
1823	  function. CxArchives now contain the flag specifying if they are
1824	  single or multi-file archives. This allows a module to support both
1825	  single and multi-file archives types. Also added functions for
1826	  manipulating and returning this flag.
1827
1828Tue Sep 04 00:08:41 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1829
1830	* libcomprex/module.c:
1831	* libcomprex/module.h:
1832	* modules/archive/zlib/zlib.c: Added the supportsMultiFile() function
1833	  and support.
1834
1835Mon Sep 03 01:05:35 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1836
1837	* modules/archive: Added this. It will soon replace modules/file.
1838
1839	* configure.ac:
1840	* configure.in: Updated for modules/archive/*.
1841
1842	* libcomprex/archive_api.c:
1843	* libcomprex/file_api.c: Added some skeleton code for working with
1844	  files and archives. This needs to be finished later.
1845
1846	* libcomprex/file_api.h: Renamed cxOpen() to cxOpenFile(), and
1847	  changed the mode parameter from a const char * to a CxAccessMode.
1848
1849	* libcomprex/module.c:
1850	* libcomprex/module.h: Documentation updates, and renamed ops.file to
1851	  ops.archive.
1852
1853	* libcomprex/types.h: Added CX_MODE_RAW.
1854
1855Sun Sep 02 01:42:33 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1856
1857	* libcomprex/file.c:
1858	* libcomprex/file.h: Added cxSetFilePath() and cxGetFilePath().
1859
1860Sun Sep 02 01:05:23 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1861
1862	* tests/decomprex.c: Compiles again. It is not setup to extract. I'll
1863	  just be using this as a guinea pig until libcomprex works again.
1864
1865Sun Sep 02 00:58:21 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1866
1867	* libcomprex/comprex.h: Added archive_api.h to the #include list.
1868	* libcomprex/module.h: Changed the module's openArchive()
1869	  implementation.
1870
1871Sat Sep 01 00:44:14 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1872
1873	* libcomprex/archive_api.c:
1874	* libcomprex/archive_api.h: Added these.
1875	* libcomprex/module.c:
1876	* libcomprex/module.h: Added support for the new archive functions.
1877
1878Sat Sep 01 00:06:21 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1879
1880	* libcomprex/module.c:
1881	* libcomprex/module.h:
1882	  * Renamed the CxFileOps structure to CxArchiveOps.
1883	  * Renamed CX_MODULE_FILE to CX_MODULE_ARCHIVE.
1884	  * Filled in the CxArchiveOps with the new functions.
1885
1886Fri Aug 31 23:43:37 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1887
1888	* debian/Makefile.am: Added this. We can now compile again (well, at
1889	  least past the debian/ directory).
1890
1891Fri Aug 31 08:30:24 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1892
1893	* configure.ac: Added the debian/rules to here as well.
1894
1895Fri Aug 24 23:19:18 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1896
1897	* directory.c: Added.
1898	* fileio.h: Renamed to file_api.h.
1899	* fileio.c: Renamed to file_api.c.
1900	* directory_api.c:
1901	* directory_api.h: Added the stubs for the base directory API.
1902
1903Thu Aug 23 14:16:08 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1904
1905	* configure.ac:
1906	* configure.ac:
1907	* docs/api/Makefile.am:
1908	* docs/api/man/Makefile.am: Man pages are now built and installed.
1909
1910Thu Aug 23 13:30:43 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1911
1912	* libcomprex.spec.in: Added real info.
1913
1914Thu Aug 23 12:55:33 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1915
1916	* libcomprex/archive.c:
1917	* libcomprex/archive.h:
1918	* libcomprex/comprex.h:
1919	* libcomprex/file.c:
1920	* libcomprex/file.h:
1921	* libcomprex/fileio.c:
1922	* libcomprex/fileio.h:
1923	* libcomprex/utils.c:
1924	* libcomprex/utils.h: It compiles again. It doesn't do anything though.
1925
1926Thu Aug 23 12:42:12 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1927
1928	* libcomprex/archive.c:
1929	* libcomprex/archive.h:
1930	* libcomprex/file.c:
1931	* libcomprex/file.h: Added file iteration support.
1932
1933Thu Aug 23 11:19:05 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1934
1935	* libcomprex/file.c:
1936	* libcomprex/file.h: Added information to the CxFile structure for
1937	  determining if the file is local or remote. Also added functions
1938	  for setting and returning this value.
1939
1940Thu Aug 23 02:10:28 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1941
1942	* libcomprex/file.c: Added.. Everything is still broken though.
1943
1944Thu Aug 23 02:05:27 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1945
1946	* libcomprex/file.h:
1947	  * Changed usernames and group names to UIDs and GIDs, respectively.
1948	  * Removed major/minor support.
1949
1950Thu Aug 23 00:28:24 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1951
1952	* libcomprex/status.h: Renamed to types.h.
1953
1954	* libcomprex/Makefile.am:
1955	* libcomprex/comprex.h:
1956	* libcomprex/archive.c:
1957	* libcomprex/archive.h:
1958	* libcomprex/file.h: Added, but everything is now broken. I'll fix it
1959	  tomorrow sometime.
1960
1961Tue Aug 07 21:41:32 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1962
1963	* configure.ac: Added this for autoconf 2.50 support.
1964	* Makefile.am: Make sure configure.in and configure.ac are in the
1965	  distribution tarballs.
1966
1967Thu Jul 26 04:11:03 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1968
1969	* libcomprex/module.c: Prints out an error if a module can't be loaded.
1970
1971Thu Jul 12 13:53:00 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1972
1973	* libcomprex/internal.h:
1974	* libcomprex/internal.c: Updated for the new leakbug.
1975
1976Thu Jun 21 13:01:50 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1977
1978	* libcomprex/fileio.c: Fixed a segfault in cxOpen(), and fixed a bug
1979	  where prefixing a filename with file: would cause the file to not
1980	  be found.
1981
1982Thu Jun 21 12:46:30 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1983
1984	* modules/scheme/curl/curl.c: Removed debug messages.
1985
1986Thu Jun 21 20:44:03 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
1987
1988	* modules/file/ar.c: Fixed a memory leak.
1989	* modules/file/ar.h: Forgot to include <libcomprex/internal.h>.
1990	* modules/file/gethead.c: A pointer was compared to 0 in stead of NULL.
1991
1992Wed Jun 20 23:44:51 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1993
1994	* libcomprex/fileio.c: Files without extensions no longer cause
1995	  segfaults.
1996
1997Wed Jun 20 23:36:07 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
1998
1999	* libcomprex/fileio.c: The temporary directories are now removed if
2000	  a problem occurs while opening an archive.
2001
2002Wed Jun 20 23:17:03 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2003
2004	* libcomprex/configure.in:
2005	* libcomprex/module.c:
2006	* libcomprex/utils.c:
2007	* libcomprex/utils.h: Added atexit() and on_exit() support and
2008	  library cleanup functions.
2009
2010	* libcomprex/fileio.c:
2011	* libcomprex/internal.c:
2012	* libcomprex/utils.c: Got rid of some memory leaks.
2013
2014	* tests/decomprex.c: Added leakbug and library cleanup support.
2015
2016Wed Jun 20 21:31:50 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2017
2018	* libcomprex/fileio.c: Absolute path names now work. If the specified
2019	  file does not exist, cxOpen returns cleanly, and does not crash.
2020
2021Thu Jun 21 01:19:40 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2022
2023	* modules/file/ar.c:
2024	  modules/file/ar.h:
2025	  modules/file/gethead.c:
2026		* Removed internal basepath code, since AR modules don't have any
2027		  internal path info.
2028	  	* Fixed syntax a little bit
2029
2030Tue Jun 19 03:08:14 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2031
2032	* libcomprex/fileio.c: The correct temporary directory is now
2033	  automatically determined based off various checks.
2034
2035Tue Jun 19 02:56:42 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2036
2037	* libcomprex/fileio.c:
2038	* libcomprex/fileio.h:
2039	* libcomprex/internal.c:
2040	* libcomprex/internal.h:
2041	* libcomprex/utils.c:
2042	* libcomprex/utils.h:
2043	* modules/file/ar/ar.c:
2044	* modules/file/bzip2/bzip2.c:
2045	* modules/file/zlib/zlib.c: Changed the CxFileBatch and CxFile
2046	  structures. The paths are now more organized (grouped into physical
2047	  paths and internal archive paths). Also added a cxGetBasePath()
2048	  function and cleaned up some code a bit.
2049
2050Tue Jun 19 01:27:07 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2051
2052	* libcomprex/fileio.c:
2053	* libcomprex/internal.h:
2054	* libcomprex/internal.c: The temporary archive files should now be
2055	  removed cleanly. I've yet to put this under any heavy tests, but
2056	  it should work just fine.
2057
2058Thu Jun 14 23:58:16 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2059
2060	* modules/file/ar/ar.c:
2061	  modules/file/ar/ar.h:
2062	  modules/file/ar/gethead.c:
2063	  	* Got rid of leading underscores in names
2064		* Added recognision by extension (.a .ar and .deb)
2065
2066	* tests/:
2067		* Added file3.txt.bz2 for testing
2068
2069Thu Jun 14 23:20:45 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2070
2071	* modules/file/bzip2/bzip2.c:
2072		* Fixed a bug where some extra garbage bytes was written
2073		* Optimized a wee bit =)
2074
2075Wed Jun 13 21:34:37 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2076
2077	* Added the bzip2 module. It seems to be partially buggy for now.
2078
2079Wed Jun 13 18:28:21 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2080
2081	* tests/: Removed test1.c, test2.c, and test3.c. The new decomprex
2082	  utility does a better job at testing.
2083
2084Wed Jun 13 18:16:15 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2085
2086	* libcomprex/module.c: Fixed an error in the linked lists of modules.
2087	* libcomprex/fileio.c:
2088	* modules/file/zlib/zlib.c:
2089	* modules/file/ar/ar.c: Files are now opened in binary mode, for
2090	  those platforms that require that (has no effect on most modern
2091	  operating systems).
2092
2093Fri Jun 08 13:37:06 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2094
2095	* libcomprex/internal.c: Fixed a bug where a NULL pointer was being
2096	  freed.
2097
2098Thu Jun 07 14:05:15 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2099
2100	* Split the AR module into smaller files.
2101
2102Wed Jun 06 16:56:36 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2103
2104	* The AR module:
2105		* Files in old-style (debian) ar-archives were extracted one byte to
2106		  small. Added an align-field to the ar header-struct to fix it.
2107		* Fixed some typos.
2108
2109Wed Jun 06 15:23:49 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2110
2111	* Fixed more stuff in the AR module:
2112		* Some of the functions returned error where they should have returned
2113		  success and vice versa.
2114		* An expression accessed head->size in stead of size
2115		* Also optimized a tiny bit.
2116		* It now works! Wahey =)
2117
2118Wed Jun 06 02:24:36 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2119
2120	* libcomprex/fileio.c: If some of the module checks don't work, this
2121	  will now open the file normally.
2122	* libcomprex/module.c: Fixed a nasty bug in the __trimModuleList()
2123	  function.
2124	* modules/file/zlib/zlib.c: This is no longer "greedy." It doesn't
2125	  attempt to open every time of file now, only gzipped files. This
2126	  bug prevented other modules from even trying.
2127	* tests/decomprex.c: Fixed this so it now requests that the module
2128	  tries to decompress the specified file.
2129
2130Tue Jun 05 18:44:41 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2131
2132	* libcomprex/fileio.c: Bug fixes and optimizations.
2133	* tests/decomprex.c: Add this as a more general-purpose testing tool.
2134	* tests/foo.ar: Added this to test the new ar module.
2135
2136Wed Jun 06 00:16:26 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2137
2138	* Fixed some stuff in the AR module:
2139		* Extended filenames are now handled correctly in both formats
2140		* Fixed a stupid bug where no files were successfully written
2141		* Also fixed a bug where one extra byte was written to odd-sized files
2142		* Split up some >80 chars lines, and fixed the syntax a bit
2143		* Plus some other small stuff
2144
2145Mon Jun 04 23:25:00 CEST 2001 Gerry Jo Jellestad <gerry@c64.org>
2146
2147	* Added the ar module.
2148
2149Sun Jun 03 23:45:29 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
2150
2151	* Added some basic API documentation.
2152
2153