Wed Jun 26 20:13:43 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	  - Added the Dutch translation.

Sun Jun 23 03:26:26 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/batch.c:
	* libpackman/db_api.c:
	* libpackman/depcheck.c:
	* libpackman/dependency.c:
	* libpackman/downloadurl.c:
	* libpackman/file.c:
	* libpackman/graph.c:
	* libpackman/hashtable.c:
	* libpackman/internal.c:
	* libpackman/internal.h:
	* libpackman/listeners.c:
	* libpackman/module.c:
	* libpackman/package.c:
	* libpackman/transaction.c:
	* libpackman/transerror.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/utils.c:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db_blocklist.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_cache.c:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/offsetlist.c:
	* modules/database/rpm/rpm.c:
	* modules/package/rpm/cpio.c:
	* modules/package/rpm/digest.c:
	* modules/package/rpm/header.c:
	* modules/package/rpm/rpm.c:
	* modules/package/tar/tar.c:
	  - Added the latest version of Jason Willis's memory checking
	    patch, which changes all the mallocs and if statements to a
	    single MEM_CHECK() macro.

Sun Jun 16 12:08:29 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* acconfig.h
	* configure.ac:
	* configure.in:
	  - Removed the need for acconfig.h.

Sun Jun 16 11:51:13 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* acinclude.m4:
	* configure.ac:
	* configure.in:
	  - Moved the rpm checking code into its own macro in acinclude.m4.

Fri Jun 07 21:52:39 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/dependency.h:
	  - Added the PM_DEP_PROVIDES dependency type.

	* modules/package/deb/Makefile.am:
	  - Changed -lcomprex to -l$(COMPREX_LIBS).

	* modules/package/deb/info.c:
	  - Replaced some of the dependency addition code with macros.
	  - Added support for more dependency types.

Fri Jun 07 21:34:46 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/deb/info.c:
	  - Added support for alternative dependencies.

Fri Jun 07 01:22:58 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* NEWS:
	* modules/package/Makefile.am:
	* modules/package/deb/Makefile.am:
	* modules/package/deb/deb.c:
	* modules/package/deb/deb.h:
	* modules/package/deb/info.c:
	  - Added the beginnings of a Debian package module.

Fri Jun 07 01:17:34 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* acinclude.m4:
	* configure.ac:
	* configure.in:
	  - Updated the required libcomprex version number.
	  - Added a check for libcomprex in the configure script.

Fri Jun 07 01:16:13 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/dependency.c:
	* libpackman/dependency.h:
	  - Added support for adding alternative required dependencies. I don't
	    know if I like the function names much.. They might change.

Tue Jun 04 14:59:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/module.c:
	  - Updated some things to resemble libcomprex's module.c.
	  - Removed the on-exit code, as it can suffer from the same problem
	    as libcomprex's.

Tue Jun 04 02:49:39 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	  - Added it.po.

Sun Jun 02 14:07:01 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/batch.c:
	* libpackman/db_api.c:
	* libpackman/depcheck.c:
	* libpackman/dependency.c:
	* libpackman/downloadurl.c:
	* libpackman/file.c:
	* libpackman/graph.c:
	* libpackman/hashtable.c:
	* libpackman/internal.c:
	* libpackman/listeners.c:
	* libpackman/module.c:
	* libpackman/package.c:
	* libpackman/transaction:
	* libpackman/transerror.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/search.c:
	* modules/database/gnupdate/utils.c:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db_blocklist.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_cache.c:
	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/offsetlist.c:
	* modules/database/rpm/rpm:
	* modules/package/rpm/cpio.c:
	* modules/package/rpm/digest:
	* modules/package/rpm/header.c:
	* modules/package/rpm/rpm.c:
	  - That's a lot of files. Applied Jason Willis's Out of Memory check
	    patch.

Thu May 30 17:20:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/module.c:
	  - Some internal functions that should have been static were not.
	    Fixed.

Thu May 30 00:39:06 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/api/man/*:
	  - Updated the man pages using my new Doxygen-to-Man page script.

Tue May 07 09:24:39 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/rpm.c:
	  - Retrieving the number of packages for an rpm v3.0.x database
	    should now work, using the same cheap hack that is used for
	    rpm v4.0.x.

Mon May 06 10:06:42 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	  - Trying a different check for librpm 3.x compatibility.

Mon May 06 01:57:46 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/rpm/Makefile.am:
	* modules/package/emp/Makefile.am:
	* modules/package/rpm/Makefile.am:
	  - The CFLAGS are now preserved for modules, so -Wall, debugging
	    symbols, dmalloc, leakbug, etc. can be used again.

Sun May 05 12:31:11 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/module.c:
	  - A bit of restructuring and code cleanups.

Sat May 04 10:26:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/rpm.c:
	  - This should work with RPM v3.0.x again.
	  - Fixed a memory leak.

Fri Apr 26 15:54:28 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/module.c:
	* libpackman/module.h:
	  - Removed references to libltdl stuff from module.h, and moved it to
	    module.c.

Thu Apr 25 01:19:02 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* acconfig.h:
	* configure.ac:
	* configure.in:
	* libpackman/Makefile.am:
	* libpackman/internal.c:
	* libpackman/internal.h:
	* libpackman/module.c:
	* libpackman/module.h:
	* modules/database/Makefile.am:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate.c:
	* modules/database/rpm/Makefile.am:
	* modules/database/rpm/rpm.c:
	* modules/package/Makefile.am:
	* modules/package/emp/Makefile.am:
	* modules/package/emp/emp.c:
	* modules/package/rpm/Makefile.am:
	* modules/package/rpm/rpm.c:
	  - Package and database modules can now be compiled in statically.
	  - Dynamic module support can be disabled.

Wed Apr 24 20:31:23 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/Makefile.am:
	* libpackman/module.h:
	* libpackman/packman.h:
	* libpackman/script.c:
	* libpackman/script.h:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/rpm/rpm.c:
	* modules/package/emp/emp.c
	* modules/package/rpm/rpm.c:
	  - Added the base code for script support.

Sun Apr 21 23:11:30 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/rpm.c:
	  - Queries and file extractions on SRPMs should work now.

Sun Apr 21 09:14:23 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* INSTALL:
	* NEWS:
	* README:
	* configure.ac:
	* configure.in: Bumped the version up to 0.3.2.

Sat Apr 20 00:37:32 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.h: Slight doc fix.
	* docs/api/man/*: Updated the man pages.

Sat Apr 20 00:22:29 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	  - Moved pmDbRemovePackage() and pmDbRemoveBatch() to the new
	    transaction code.
	  - Updated the documentation.

	* libpackman/transaction.c:
	* libpackman/transaction.h:
	* libpackman/transerror.c:
	* libpackman/transerror.h:
	  - Renamed pmNewTransactionError() to pmNewTransError().
	  - Updated the documentation.
	  - Added #ifdef __cplusplus checks.

Fri Apr 19 23:45:40 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* tests/addpackage.c:
	  - Moved the pmUninstallPackage() and pmUninstallBatch() to the new
	    transaction code.

Sun Apr 14 01:46:43 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/transaction.c:
	* libpackman/transerror.h:
	  - Added some base uninstall and DB removal transaction code.
	  - The checks on all packages' extractAll() functions is now
	    performed only if the transaction type is PM_TRANSACTION_INSTALL.

Sun Apr 14 01:24:09 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	  - pmDbAddPackage() and pmDbAddBatch() now uses the new transaction
	    code.

Sun Apr 14 00:50:44 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/transaction.c:
	* libpackman/transaction.h:
	  - Renamed pmCreateTransaction() to pmNewTransaction().
	  - Reversed the db and type parameters on pmNewTransaction().
	
	* libpackman/db_api.c:
	* libpackman/db_api.h:
	  - Replaced the installation code with called to the new transaction
	    code.

Sun Apr 14 00:41:57 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/Makefile.am:
	* libpackman/db_api.c:
	* libpackman/package_api.c:
	* libpackman/packman.h:
	* libpackman/transaction.c:
	* libpackman/transaction.h:
	* libpackman/transerror.c:
	* libpackman/transerror.h:
	  - Split the transaction error support from transaction.[ch] into
	    transerror.[ch].
	  - Wrote a bunch of the transaction code.

Sat Apr 13 01:47:12 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/Makefile.am:
	* libpackman/packman.h:
	* libpackman/transaction.c:
	* libpackman/transaction.h:
	  - Added the base code for transaction handling.

	* libpackman/db_api.c:
	  - Added the requirement and provide count back into the total
	    package steps computation.

Tue Apr 09 01:12:55 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/cpio.c:
	* modules/package/rpm/cpio.h:
	* modules/package/rpm/rpm.c:
	  - I was wrong about the previous remark regarding source RPMs.
	    I have now fixed the bugs, and added some hacks to get the MD5
	    checks to work. It should all be rewritten, but it works for now.

Mon Apr 08 23:40:08 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/cpio.c:
	* modules/package/rpm/rpm.c:
	  - Some bug fixes. It turns out that an MD5 sum doesn't need to be
	    specified on a cpioInstallArchive() unless it's a source RPM.
	  - Added support for prefix stripping in older archives.

Mon Apr 08 09:42:18 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/Makefile.am:
	  - Added -lz to the LIBADD variable.

	* modules/package/rpm/cpio.c:
	  - Removed a debug statement.

Sun Apr 07 23:40:20 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/addpackage.c:
	  - Fixed a typo where == was used instead of !=.

Sun Apr 07 21:50:38 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/hashtable.c:
	  - The type and size values on calls to htAdd() were switched. Fixed.

	* modules/database/gnupdate/addpackage.c:
	  - Dependency version information is added only if it's specified
	    in the PmDependency structure.
	
	* modules/database/gnupdate/get_dependencies.c:
	  - pmSetDependencyVersion() is now called regardless of the existance
	    of a GDBTAG_VERSION_FLAGS entry in the hash table.

Sun Apr 07 18:30:54 PDT 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/get_dependencies.c:
	  - Required and provided dependencies in a package can now be
	    retrieved.

	* NEWS: Rearranged some stuff, and added the above change.

Sun Apr 07 01:03:52 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/db_utils.h:
	  - Small optimizations to the prefix compression.
	  - Fixed seveal bugs where strings weren't being compressed right or
	    at all.
	  - The keys are no longer compressed and then decompressed during a
	    write. The compression generates a separate array, which can simply
	    be freed afterward.

Sat Apr 06 01:22:32 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	* modules/database/gnupdate/db/offsetlist.c:
	* modules/database/gnupdate/db/offsetlist.h:
	  - Changed the max allowable data size from a short to a long.

	* modules/database/gnupdate/db/btree_node.c:
	  - Changed the max allowable data size from a short to a long.
	  - Fixed a bug where the reported size of a node was incorrect.
	  - Fixed a bug where not all strings in a node was being compressed.
	  - Changed the max key size from a char to a short.

	* modules/database/gnupdate/db/db_blocks.c:
	  - Changed the max allowable data size from a short to a long.
	  - Fixed a bug where gdbGetNeededBlockCount() returned 1 when
	    dataSize % multiple == 0. It was more of a bad, late-night
	    decision than a bug, though.

	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/db_utils.h:
	  - Changed the max key size from a char to a short.
	  - Added checks to make sure no more than 255 bytes could be
	    removed from a string (that's the max that the counter can hold).
	  - Rewrote the code that gets the prefix length. It's hacky looking,
	    but should be more optimized.
	  - Removed the redundant code to add a NUL to the end of the strings.

Fri Apr 05 01:56:45 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* NEWS: Added "pkg-config support" to NEWS.

Fri Apr 05 01:50:30 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/db/db_blocklist.c:
	* modules/database/gnupdate/db/db_blocklist.h:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_header.c:
	* modules/database/gnupdate/db/db_header.h:
	  - Moved the free block list near the start of the database, immediately
	    after the database header.
	  - Fixed a bug when registering blocks where the offsets returned
	    were multiples of 4, instead of the block size.

Thu Apr 04 01:04:59 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocklist.h:
	  - Added the offset for the free blocks list as a #define.
	  
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_header.h:
	  - When reading or writing overflow blocks, an fseek() is no longer
		performed if the next block is immediately after the previous block.
	  - Added GDB_VALID_OFFSET() macro and checks.
	  - Sorted the reserved block chains, to prevent jumping back and forth
	    during reads and writes.

Wed Apr 03 21:11:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	  - Added functions for registering or freeing entire chains of
	    blocks at a time.

Wed Apr 03 02:06:29 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	  - Removed some old, #if 0'd code.
	
	* modules/database/gnupdate/db/btree_insert.c:
	  - Removed debug statements.

	* modules/database/gnupdate/db/db_blocks.c:
	  - Removed debug statements.
	  - Fixed a memory leak.
	  - Set the block to dirty before writing.
	  - Reserved blocks are once again removed from the free blocks list.

	* modules/database/gnupdate/db/db_header.h:
	  - Bumped up the version of the database file format.

Tue Apr 02 12:21:01 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_node.c:
	  - Removed left leafs in B+Tree nodes.

	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/db_forward.c:
	* modules/database/gnupdate/db/db_forward.h:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/addpackage.c:
	  - Removed the forward block type.
	  - Changed the block size on B+Tree nodes from 256 to 128.
	  - Replaced more blockType checks with GDB_VALID_BLOCK_TYPE().
	  - Properly padded the blocks.
	  - Block offset chains are now stored in the GdbBlock structure.
	  - Blocks are now written onto their original blocks as far as they
	    can go.
	  - Blocks that are no longer used in a chain are freed.
	  - Added some error checking and lots of debug statements.
	  - Removed the size variable in GdbBlock.
	  - Fixed the GDB_VALID_BLOCK_TYPE() macro.
	  - Fixed a bug where a freed block wasn't getting added to the list.
	  - Fixed some memory leaks.
	  - Fixed several bugs when reading and writing blocks.

Mon Apr 01 12:41:55 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	  - Added the GDB_VALID_BLOCK_TYPE() macro.
	  - Removed the blockSize and multiple parameters on gdbFreeBlock()
	    and gdbReserveBlock().
	  - Rewrote gdbFreeBlock(), gdbReserveBlock(), and gdbReadBlock().


Sun Mar 31 21:10:53 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	  - Rewrote the gdbReadBlock() function.
	  - Changed block type vars to blocktype_t.

Sun Mar 31 02:30:57 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/btree_delete.c:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_forward.c:
	* modules/database/gnupdate/db/db_forward.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/db_types.h:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	* modules/database/gnupdate/db/db_cache.c:
	* modules/database/gnupdate/db/db_cache.h:
	* modules/database/gnupdate/addpackage.c:
	  - Removed all parent offset references.
	  - Split the block cache code into its own file.
	  - Removed all childMoved() and blockMoved() functions.

Sat Mar 30 00:36:37 EST 2002  Rodney Dawes <dobey@free.fr>

	* configure.(in|ac): Output libpackman.pc
	* Makefile.am: EXTRA_DIST include libpackman.pc.in,
	  add the dir/data for libpackman.pc
	* libpackman.pc.in: Added file
	
Thu Mar 28 13:07:00 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/api/man/pmRebuildDatabase.3:
	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* libpackman/module.h:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/rpm/rpm.c:
	  - Added support for database rebuilding. This is not implemented
	    in the GNUpdate database yet.

Wed Mar 27 20:11:06 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_search.c:
	  - Searches are no longer performed on empty trees. This will
	    prevent a segfault.

	* modules/database/gnupdate/db/offsetlist.h:
	  - Accidentally had two definitions of olCreate(), and none of
	    olOpen(). Fixed.

	* modules/database/gnupdate/addpackage.c:
	  - Replaced the files B+Tree with an offset list. This has bugs still,
	    which I'll fix later, so don't build your tree right now unless you
		want a segfault.

	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search_by_file.c:
	  - Updated to work with an offset list.

Wed Mar 27 19:46:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/offsetlist.c:
	* modules/database/gnupdate/db/offsetlist.h:
	  - Added olOpen(), olClose(), olGetOffset(), and olGetCount().
	  - Renamed olAdd to olAddOffset().

Wed Mar 27 02:22:44 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/gnupdate.c:
	  - The dependency search functions are now hooked into the module.

Wed Mar 27 02:19:43 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search_by_file.c:
	* modules/database/gnupdate/search_by_group.c:
	* modules/database/gnupdate/search_by_name.c:
	* modules/database/gnupdate/search_by_provides.c:
	* modules/database/gnupdate/search_by_requires.c:
	  - Fixed some memory leaks.
	  - Removed the storage of the key on searches.

Wed Mar 27 02:09:50 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/search_by_provides.c:
	* modules/database/gnupdate/search_by_requires.c:
	  - Re-added the search by provides and requires functions.

	* modules/database/gnupdate/addpackage.c:
	  - The files index tree is now built correctly. Stupid mistake.

Wed Mar 27 01:56:22 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/search_by_file.c:
	  - Added the search by file.
	  - Put lists of packages that owns each file in a tree. This makes
	    the files index file huge, however. I will make a better solution
	    soon. I just needed something I could play with for now.

Wed Mar 27 01:25:13 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	  - The provided dependencies are now put in the right index file.
	  - Files and dependency entries in the hashtable are no longer
	    added if the package does not contain them.
	
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/search.c:
	  - All the index databases are now closed.
	  - Moved dbDestroyMatches() to search.c, and added actual
	    functionality.
	
	* modules/database/gnupdate/search_by_group.c:
	  - Added BTreeTraversal support. Now all the packages in a group
	    are returned.

Tue Mar 26 11:42:22 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search_by_group.c:
	* modules/database/gnupdate/search_by_name.c:
	  - Added searching by group.
	  - The groups, required dependencies, and provided
	    dependencies index files now contain a tree of all packages that
	    are associated with the group or dependency.

Tue Mar 26 01:16:28 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_internal.h:
	  - Added gettext support.
	
	* modules/database/gnupdate/search_by_name.c:
	  - PM_FAILED is now returned if the package name was not found.

Mon Mar 25 01:42:14 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* Added gettext support.

Sat Mar 23 17:48:07 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/cpio.c:
	  - Fixed a compiler error when mmap support is enabled.

Fri Mar 22 12:31:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/hashtable.c:
	  - Fixed a bug in the data removing function.
	
	* libpackman/graph.c:
	  - Fixed several incredibly stupid bugs.. 5 segfaults, 3
	    infinite loops, and a couple wrong variable names.

Fri Mar 22 10:39:46 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/depcheck.c:
	* libpackman/graph.c:
	* libpackman/hashtable.c:
	  - Added what seems to be a much better pmBuildDepGraph() algorithm.

Fri Mar 22 01:04:56 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/api/man/:
	* libpackman/hashtable.h:
	  - Updated the hash table documentation, and added man pages.

Thu Mar 21 21:27:10 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/packman.h:
	* libpackman/graph.c:
	* libpackman/hashtable.c:
	* libpackman/hashtable.h:
	  - Moved the hashtable code into its own file.

Tue Mar 19 23:02:23 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/api/man/:
	* libpackman/dependency.h:
	* libpackman/file.h:
	* libpackman/graph.h:
	  - Documentation updates. Never too early to rewrite the man pages for
	    the new/changed functions.

Tue Mar 19 01:58:20 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* tests/dbtest.c:
	  - Renamed pmFirstPackage(), pmNextPackage() to pmFirstMatch(),
	    pmNextMatch().

	* tools/:
	  - Removed convertdb. gpkg can do this itself now.

Tue Mar 19 01:50:49 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/depcheck.c:
	  - Stupid mistake. depName was being stat'd instead of filename.

Mon Mar 18 10:20:01 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/depcheck.c:
	* libpackman/graph.c:
	* libpackman/graph.h:
	  - pmTSort() has been renamed to pmTSortPackages().
	  - pmTSortPackages() now orders the packages into a batch instead
	    of an array.

Mon Mar 18 02:20:08 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/graph.c:
	* libpackman/graph.h:
	* libpackman/depcheck.c:
	  - Added the topological sort algorithm. Packages are now sorted by
	    dependency order prior to any dependency checking.

Mon Mar 18 01:45:40 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/batch.c:
	* libpackman/db_api.c:
	* libpackman/downloadurl.c:
	* libpackman/file.c:
	  - Removed some unneeded calls to set variables to 0 or NULL.

	* libpackman/batch.h:
	* libpackman/depcheck.c:
	  - The dependency check algorithm now generates a graph of the
	    packages.

	* libpackman/graph.c:
	* libpackman/listeners.c:
	* libpackman/listeners.h:
	  - Added event broadcasting for the dependency graph, dependency
	    checking, and the overall Preparation stage.

	* modules/package/rpm/rpm.c:
	  - Some calls to free() were in the wrong place. Fixed.

Sat Mar 16 00:27:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/rpm/depends.c:
	* modules/package/rpm/misc.c:
	  - Bug fixes to prevent core dumps on incomplete/corrupted packages.

Thu Mar 14 23:43:21 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/graph.c:
	  - Fixed the graphing algorithm. Several dumb bugs.

	* libpackman/package.c:
	  - Stupid bug. I referenced package->prev in pmGetNextPackage().

Thu Mar 14 22:38:25 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/Makefile.am:
	* libpackman/graph.c:
	* libpackman/graph.h:
	* libpackman/packman.h:
	  - Added basic graphing functions.
	
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/tags.h:
	* modules/database/rpm/rpm.c:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/rpmlib.h:
	* tests/dbtest.c:
	* tests/packagetest.c:
	  - Added support for the package relationships in the rpm module.
	  - Fixed calls to pmGetDependencyMinVersion().

Thu Mar 14 21:49:35 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/dependency.c:
	* libpackman/dependency.h:
	* libpackman/types.h:
	  - Changed pmGetDependencyMinVersion() and pmSetDependencyMinVersion()
	    to pmGetDependencyVersion() and pmSetDependencyVersion().
	  - Added version relationships (<, <=, =, >=, >)

Tue Mar 12 15:02:10 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* INSTALL:
	* NEWS:
	* README:
	* configure.ac:
	* configure.in: Bumped the version up to 0.3.1.

Sat Mar 09 02:05:40 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman.spec.in: Added the man pages to the package.

Tue Mar 05 14:31:42 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* Documentation updates. Too many files to list.

	* libpackman/db.c:
	* libpackman/db.h:
	  - Renamed pmSetDatabaseAccessMode(), pmGetDatabaseAccessMode() to
	    pmSetDbAccessMode(), pmGetDbAccessMode().
	
	* libpackman/db_api.c:
	* libpackman/db_api.h:
	  - Renamed pmDatabaseGetPackageCount(), pmDatabaseAddPackage(),
	    pmDatabaseRemovePackage(), pmDatabaseAddBatch(),
	    pmDatabbaseRemoveBatch() to
	    pmDbGetPackageCount(), pmDbAddPackage(), pmDbRemovePackage(),
	    pmDbAddBatch(), pmDbRemoveBatch().
	
	* libpackman/depcheck.c:
	* libpackman/depcheck.h:
	  - Renamed pmCheckDependencies(), pmCheckBatchDependencies() to
	    pmCheckDeps(), pmCheckBatchDeps().

Mon Mar 04 09:33:48 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* INSTALL: Removed libgnurdf and libcomprex from the required libraries
	  section.

Sat Mar 02 01:18:15 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman.spec.in:
	  - Fixed some stuff up, added new files.
	
	* modules/database/gnupdate/Makefile.am:
	  - Removed some commented out stuff.
	
	* modules/database/gnupdate/db/Makefile.am:
	  - Forgot to add db_types.h.

Sat Mar 02 00:49:42 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	  - Removed the emp module.
	
	* docs/Makefile.am:
	* docs/api/html/Makefile.am:
	* docs/specs/Makefile.am:
	  - Prepared the docs for distribution.

Sat Mar 02 00:36:48 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in: libcomprex isn't needed yet.

Mon Feb 25 10:12:56 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/addpackage.c:
	  - The dirty flag is now updated where it should be updated.

Mon Feb 25 09:45:55 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	  - The hashtable is now actually written the second time. No more
	    weird errors about offset 1234 :)

Sun Feb 24 11:42:49 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/offsetlist.c:
	* modules/database/gnupdate/db/offsetlist.h:
	  - Added an offset list structure.

Sun Feb 24 10:26:28 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/tags.h:
	  - Added the creation and generation of the groups index file,
	    required dependencies index file, and provided dependencies
	    index file.

Sun Feb 24 09:42:23 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/internal.c:
	* libpackman/internal.h:
	  - Added pmSplitPath() and pmGetDirName().

	* modules/database/gnupdate/addpackage.c:
	  - Added the generation of the Files index file.
	
	* modules/database/gnupdate/db/db_blocks.c:
	  - Changed the B+Tree node block size from 64 bytes to 256 bytes.

Fri Feb 22 23:28:57 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/rpm.c:
	  - The Header stored in pkg->dbData is now "linked" so that the
	    reference count is bumped up. This prevents the header from being
	    freed while the package is still in use.

Fri Feb 22 02:55:43 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/internal.h:
	* libpackman/listeners.c:
	* libpackman/listeners.h:
	* libpackman/package.h:
	* libpackman/package_api.c:
	* libpackman/package_api.h:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/rpm/rpm.c:
	  - Rewrote the event listener functions, and added event generation
	    to the appropriate spots.

Thu Feb 21 01:56:43 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_forward.c:
	* modules/database/gnupdate/db/db_forward.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - Added forwarding blocks.
	  - Removed the parent offset parameter on htCreate().
	  - Added the initial declarations for creating and opening
	    the Files index file.

Wed Feb 20 10:38:48 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/rpm.c:
	  - Create /var/lib/rpm if it doesn't exist when creating a database.
	    Librpm doesn't appear to do this automatically.

Wed Feb 20 01:33:27 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* libpackman/module.c:
	* libpackman/module.h:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/rpm/rpm.c:
	  - Added database creation functions.

Tue Feb 19 23:08:50 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* libpackman/module.c:
	* libpackman/module.h:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/rpm/rpm.c:
	  - Added the ability to retrieve the number of packages in a database.
	    Librpm has decided not to return this value, though. Maybe this is
	    just a bug in librpm?

Tue Feb 19 00:56:36 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db_blocks.c:
	* modules/database/gnupdate/db_blocks.h:
	  - The next offset in the block headers are now only there if
	    the LINKED flag is set. This saved a few hundred KB of space
	    in my database.

Tue Feb 19 00:20:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/dependency.c:
	* libpackman/file.c:
	* libpackman/module.h:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/get_files.c:
	* modules/database/gnupdate/get_dependencies.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/rpm/rpm.c:
	  - Added two new database functions: getRequiredDeps() and
	    getProvidedDeps().
	  - Added support for these functions in pmFirstRequirement(),
	    pmFirstProvide(), and the database modules.
	  - Changed the return type for getFiles().
	
Mon Feb 18 23:15:22 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/file.c:
	* libpackman/module.h:
	* libpackman/package.c:
	* libpackman/package.h:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/get_files.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/utils.c:
	* modules/database/rpm/rpm.c:
	  - Added two new database functions: destroyPkgData() and getFiles().
	  - Added support for these functions in pmFirstFile() and the database
	    modules.

Sun Feb 17 02:24:04 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/utils.c:
	  - Files are now stored and loaded correctly. I'll do something
	    about the speed later.

Sun Feb 17 00:44:13 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocklist.c:
	* modules/database/gnupdate/db/db_blocklist.h:
	* modules/database/gnupdate/db/db_blocks.c:
	  - Added another function for moving the block list.
	  - The old block list data is removed when a block list is moved.
	  - The block list read/write routines have been optimized to remove
	    unnecessary disk I/O.

Sun Feb 17 00:30:43 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/hashtable.c:
	  - Added linked block functionality.

Sat Feb 16 16:09:52 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/package/Makefile.am: Don't build emp for now.

Sat Feb 16 15:52:52 PST 2002  Christian Hammond <chipx86@gnupdate.org>
	
	* libpackman/db_api.c:
	  - If the database can't be opened, unlink the module.

	* libpackman/internal.c:
	  - Removed some old functions, and fixed a potential memory leak.

	* libpackman/module.c:
	  - Changed some variable names, and hopefully optimized some code a bit.

	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/db/Makefile.am:
	  - The $(INCLTDL) isn't needed.
	
	* modules/database/gnupdate/addpackage.c:
	  - The files tree is now generated. Unfortunately, it tends to be a
	    little slow...
	
	* modules/database/gnupdate/gnupdate.c:
	  - Fixed a leakbug.

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db_header.c:
	  - Cleaned up some memory leaks.
	  - Rearranged some blocks of code.
	  - Small I/O optimizations in the database header.

	* modules/database/gnupdate/db/db_blocks.c:
	  - Changed the block sizes.
	  - Fixed a memory leak.

	* modules/database/rpm/rpm.c:
	  - Code cleanups.
	  - Fixed a segfault.
	  - Fixed some memory leaks.

	* tests/dbtest.c:
	  - Code cleanups.
	  - Fixed some memory leaks.

Thu Feb 14 02:18:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/utils.c:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/hashtable.c:
	  - The database works again.

Wed Feb 13 22:58:45 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocks.c:
	  - Actually, that's more correct I believe.

Wed Feb 13 22:47:30 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocks.c:
	  - Fixed a problem where some blocks' dirty flags weren't being
	    cleared.

Wed Feb 13 12:00:25 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/btree_blocks.c:
	* modules/database/gnupdate/db/btree_blocks.h:
	* modules/database/gnupdate/db/hashtable.h:
	  - Many bug fixes. Slowly working my way through them...

Sun Feb 10 22:29:54 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/specs/gnupdatedb/gnupdatedb.dbk:
	  - Updated this a little bit with more up-to-date information, and
	    removed outdated/incorrect information.

Sun Feb 10 11:49:44 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_blocks.h:
	  - The raw data block type is now block type #1, and everything else
	    is shifted up one.

Sun Feb 10 11:27:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/gnupdate.c:
	  - Changed the file extension for index files to be .idx.

Sat Feb 09 10:27:23 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	  - Added btreeChildMoved().

	* modules/database/gnupdate/db/btree_node.c:
	  - Some bug fixes.
	  - Most parents are now being updated correctly, but there is still
	    a bug in there.

	* modules/database/gnupdate/db/db.h:
	  - Placed the typedef enums before the #includes. I read it was bad
	    to typedef an enum before defining it.

	* modules/database/gnupdate/db/db_blocks.c:
	  - Changed some block sizes around for experimental purposes.
	  - Blocks are no longer overwriting other blocks.
	  - Fixed some leakbugs.
	  - Some other bug fixes that I don't feel like naming at the moment.

	* modules/database/gnupdate/db/hashtable.c:
	  - Moved blocks are now being set as dirty, as is the hashtable when
	    a value is added to it.

Fri Feb 08 17:25:16 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	  - Now calling the right functions.
	
	* modules/database/gnupdate/utils.c:
	  - No longer writing past the end of a string.

	* modules/database/gnupdate/db/btree.c:
	  - Changed an offset_t back to an unsigned long. Oops :)

	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/hashtable.c:
	  - Bug fixes. Still doesn't work, though, but it's closer.

Fri Feb 08 01:31:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/rpm.c:
	  - Added calls to LB_REGISTER_ARRAY, so that leakbug won't complain
	    as much.

Fri Feb 08 00:30:02 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/btree.c:
	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_delete.c:
	* modules/database/gnupdate/db/btree_delete.h:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_lock.c:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/btree_search.c:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_blocklist.c:
	* modules/database/gnupdate/db/db_blocklist.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/db_lock.h:
	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/db_utils.h:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - Doing a complete restructure of the API, so that I can create a
	    generic interface to remove duplicate code and make it easier to
	    mix and match data structures, and to create new data structures.
	  - Do NOT update yet! It's broken! :)

Tue Feb 05 02:41:01 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/db_utils.h:
	  - Added gdbPut8, gdbPut16, and gdbPut32.

Sat Feb 02 13:58:07 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/utils.c:
	  - Oops, shouldn't be freeing strings when I'm using longs.

Sat Feb 02 13:41:43 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - htRead() should have been htOpen().
	  - Fixed some bugs that were preventing the data from being read
	    in properly. First, I was trying to compute the size of the
	    data before I could even know it, and second, I was never updating
	    the number of items in a bucket.

	* modules/database/gnupdate/get_all_packages.c:
	* modules/database/gnupdate/gnupdate.h:
	  - Changed some offset data types to offset_t.

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/utils.c:
	  - Now using the new convenience functions.

Sat Feb 02 02:05:30 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - Added convenience wrappers for strings and longs.

Sat Feb 02 01:33:25 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/btree_node.c:
	  - Added a block type field to the beginning of the B+Tree header
	    and node blocks.

	* modules/database/gnupdate/db/db.c:
	  - Changed the B+Tree order back to 5.
	  - Updated to work with the new, rewritten functions for the
	    hashtable.

	* modules/database/gnupdate/db/db_blocks.c:
	  - Removed the debugging exit(1) statement.

	* modules/database/gnupdate/db/db_blocks.h:
	  - Added block types.

	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - Some pretty big rewrites to the hashtable. It now stores
	    actual data instead of offsets.

	* modules/database/gnupdate/addpackage.c:
	  - Some small, sloppy rewrites to test the new implementations.

	* modules/database/gnupdate/utils.c:
	  - Updated to work with the new, rewritten functions for the
	    hashtable.

Thu Jan 31 00:34:06 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/db/db_internal.h:
	* modules/database/gnupdate/db/hashtable.c:
	* modules/database/gnupdate/db/hashtable.h:
	  - Added the hashtable block. The database will be broken for
	    a few days while I do the necessary code updates for other
	    parts of the database.

Wed Jan 23 22:39:53 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	  - Fixed some problems with compression.
	
	* modules/database/gnupdate/db/btree_node.h:
	  - Changed the block size again. I'm just trying some things.
	
	* modules/database/gnupdate/db/db.c:
	  - Changed the order on the trees. Again, another test, mostly
	    to hunt bugs.
	
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	  - Changed the parameters for the block list size to a long
	    from an int.
	  - Fixed a very annoying bug that I've been trying to hunt down
	    for a long time. The database should be more stable now.
	
	* modules/database/gnupdate/db/db_utils.c:
	  - Removed the debug statements.

Wed Jan 23 00:06:10 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	  - Removed the magic string on B+Tree header blocks. This reduced
	    the database another few megs.

Tue Jan 22 23:28:14 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	  - This compresses better.

Tue Jan 22 23:15:48 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	  - Applied the compression to the keys as well. Since we're
	    automatically compressing and decompressing each node on load,
	    this shouldn't cause any problems, and it has shaved more off of
	    my database.

Tue Jan 22 22:34:56 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.c:
	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_delete.c:
	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_lock.c:
	* modules/database/gnupdate/db/btree_lock.h:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/btree_search.c:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	* modules/database/gnupdate/db/db_header.c:
	* modules/database/gnupdate/db/db_header.h:
	* modules/database/gnupdate/db/db_utils.c:
	  - Changed all offsets to the type offset_t, and made it an unsigned
	    long, so that the database can, in theory, hold more.

Tue Jan 22 20:59:41 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	* modules/database/gnupdate/db/db_utils.c:
	* modules/database/gnupdate/db/db_utils.h:
	  - Added Prefix Compression for database keys. Unfortunately, this
	    only reduced the size of my database by a few megabytes, but
	    every little bit helps.

Wed Jan 16 03:48:04 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h:
	  - Removed node magic strings, changed key sizes to 1 byte
	    instead of 4, and changed the node block multiple to 32.
	    This reduced my database by 2MB. Not much, but an improvement.

Mon Jan 14 20:19:34 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.c:
	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_traverse.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/get_all_packages.c:
	* modules/database/gnupdate/utils.c:
	  - Fixed the database. Now a list of all files can be retrieved.
	    It's now very slow, however, but there will be optimizations
	    later.

Mon Jan 14 16:38:19 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/tags.h:
	* modules/database/gnupdate/utils.c:
	  - Added a list of files to the package data file.
	    Warning: This gets very large. Testers may want to wait until I
	             add block compression.

Mon Jan 14 02:20:15 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/get_all_packages.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search.c:
	* modules/database/gnupdate/search_by_name.c:
	* modules/database/gnupdate/utils.c:
	  - Did some rearrangement of functions.
	  - More information is added to and retrieved from the database now.

Mon Jan 14 02:02:47 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	  - Added more to the database.

Mon Jan 14 01:45:22 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/get_all_packages.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/tags.h:
	* modules/database/gnupdate/utils.c:
	  - The database works.

Sun Jan 13 23:39:38 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.c:
	  - Updated to supply multiples.
	
	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_insert.c:
	  - Moved BTreeStatus to GdbStatus.
	
	* modules/database/gnupdate/db/btree_header.h:
	  - Got rid of the reference to DB_BLOCKSIZE.

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	  - Added convenience functions for adding data, indexes and trees
	    to the database.
	
	* modules/database/gnupdate/db/addpackage.c:
	  - Updated to use the new functions.
	  - Added a function for packing values into a string.

Sun Jan 13 22:45:03 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/btree_node.h
	* modules/database/gnupdate/db/db_blocks.c:
	* modules/database/gnupdate/db/db_blocks.h:
	  - Added the ability to set the block multiple (32, 64, etc.)
	    for individual blocks. This will later help me prevent wasted
	    space.

Sun Jan 13 01:29:38 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	  - The access mode is now set before the module is opened.
	
	* modules/database/gnupdate/gnupdate.c:
	  - Now returns PM_FAILED if a database couldn't be opened.

	* modules/database/rpm/rpm.c:
	  - Returns PM_FAILED if the database couldn't be opened, instead of
	    just calling exit(1).

Sun Jan 13 01:11:00 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/gnupdate.c:
	* modules/database/gnupdate/db/gnupdate.h:
	* modules/database/gnupdate/db/btree_delete.c:
	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	  - Added access modes to the database (using PmAccessMode).
	  - Changed the path where the databases are kept.

Sat Jan 12 21:19:32 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* gnupdatedb.magic: Updated for the new database format.

Sat Jan 12 20:37:18 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/get_all_packages.c:
	  - btreeInitTraversal() is passed a BTree now, as it should, instead
	    of a GDatabase.

	* modules/database/gnupdate/db/db.c:
	  - The free blocks offset was being set after where the main
	    tree should be, but gdbReserveBlock() put the tree where the free
		block list is. This is now fixed, and the tree is exactly where
		it should be.

Sat Jan 12 19:54:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree.c:
	  - The necessary variables are now set when initializing a tree.

	* modules/database/gnupdate/db/btree_header.h:
	  - Re-arranged some #defines.
	  - Removed block list offset functions.
	
	* modules/database/gnupdate/db/btree_insert.c:
	  - Removed the code to set the parent on a node after an addKey().
	    This should be handled automatically in the node functions.

	* modules/database/gnupdate/db/btree_node.c:
	  - Set the dirty flag on some things.
	  - The gdbGetNodeSize() function has been returning bad values all
	    this time. Fixed now.

	* modules/database/gnupdate/db/db.c:
	  - The free blocks offset and count are now read in when the
	    database is opened.

Sat Jan 12 01:27:39 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	  - Databases are loaded again.

Sat Jan 12 01:15:27 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/db.c:
	* modules/database/gnupdate/db/db.h:
	  - Added the functions for opening, creating, and closing databases.

	* modules/database/gnupdate/db/btree.c:
	* modules/database/gnupdate/db/btree.h:
	  - Changed the functions so they'll always open trees inside the
	    supplied database.

	* modules/database/gnupdate/db/btree_header.c:
	* modules/database/gnupdate/db/btree_header.h:
	* modules/database/gnupdate/db/db_header.c:
	* modules/database/gnupdate/db/db_header.h:
	  - The headers are now written the way they should be.

	* modules/database/gnupdate/db/btree_insert.c:
	* modules/database/gnupdate/db/btree_lock.c:
	* modules/database/gnupdate/db/btree_node.c:
	  - The offset range checking is now updated to factor in the two
	    headers at the start of the file.

Fri Jan 11 23:53:16 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/btree_blocks.c:
	* modules/database/gnupdate/db/btree_blocks.h:
	  - Moved to db_blocks.c and db_blocks.h

	* modules/database/gnupdate/db/btree_lock.c:
	* modules/database/gnupdate/db/btree_lock.h:
	  - Split some stuff out into db_lock.c and db_lock.h.
	
	* modules/database/gnupdate/db/Makefile.am:
	* modules/database/gnupdate/db/btree.c:
	* modules/database/gnupdate/db/btree.h:
	* modules/database/gnupdate/db/btree_node.c:
	* modules/database/gnupdate/db/db_internal.h:
	  - Updated for the new changes.

Fri Jan 11 18:28:32 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/db/:
	  - Added everything into here. The beginning of the restructure.

Wed Jan 09 23:28:10 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/mddb/:
	  - Removed this. Doing some restructuring.

Mon Jan 07 23:05:56 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/get_all_packages.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search.c:
	  - Added initial support for traversing a list of all packages.

Mon Jan 07 22:44:00 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree_test.c:
	* modules/database/gnupdate/btree/btree_traverse.c:
	  - Moved btreePrettyPrint() to btree_traverse.c.
	  - Replaced btreeTraverse()'s functionality with the new
	    traversal functions. This should reduce the number of reads
	    and writes.

Mon Jan 07 22:38:37 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.h:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_node.c:
	* modules/database/gnupdate/btree/btree_test.c:
	* modules/database/gnupdate/btree/btree_traverse.c:
	  - Nodes can now be traversed from the left leaf to the right-most
	    leaf. The neighboring leafs are also updated when nodes are moved.
	  - Added new functions for doing incremental traversals on the tree.

Mon Jan 07 03:34:57 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* docs/specs/gnupdatedb/:
	  - Added what I currently have for the database specification.

Mon Jan 07 01:51:04 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_node.c:
	  - Data is now flushed to disk immediately after a write.

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	  - Added basic support for the package data file.

Mon Jan 07 01:41:50 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/mddb/mddb_header.c:
	  - The header should be flushed immediately to disk.

	* modules/database/gnupdate/mddb/mddb_header.h:
	  - Fixed the header data size.

Sun Jan 06 23:46:15 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/mddb/:
	  - Started work on the Metadata Database.

Sun Jan 06 23:06:00 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_header.h:
	  - Added BTREE_VERSION_OFFSET, just because I keep getting
	    confused by the large gap between the Magic and Order offsets.

Sun Jan 06 18:12:32 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_header.h:
	  - Minor documentation changes.

Sun Jan 06 18:07:39 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_header.h:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_lock.c:
	* modules/database/gnupdate/btree/btree_node.c:
	* modules/database/gnupdate/btree/btree_search.c:
	* modules/database/gnupdate/btree/btree_test.c:
	* modules/database/gnupdate/btree/btree_traverse.c:
	  - A couple #define renames, and removed some unnecessary #includes.

Sat Jan 05 02:18:28 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree.h:
	  - Added btreeCreateInternal().
	  - Updated the btreeSearch() documentation.
	  - The root node and left leaf offsets of trees are now read in
	    immediately after the header.

	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_header.h:
	  - Added btreeIsHeaderPresent().
	  - The free blocks offset and count is no longer written for internal
	    trees.
	  - btreeSetFreeBlockOffset(), btreeGetFreeBlockOffset(),
	    btreeSetFreeBlockCount(), and btreeGetFreeBlockCount() now return
	    the values in the main header, not the relative offset of the
	    current header.

	* modules/database/gnupdate/btree/btree_search.c:
	  - btreeSearch() now returns a long instead of an int.

	* modules/database/gnupdate/btree/btree_test.c:
	  - Updated to test out internal trees.

Fri Jan 04 04:10:58 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree.h:
	  - Reverted btreePrettyPrint() to how it originally was.

	* modules/database/gnupdate/btree/btree_delete.c:
	  - Deletions work again.
	
	* modules/database/gnupdate/btree/btree_insert.c:
	  - Removed the callt o abort().

Fri Jan 04 03:42:03 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree_header.c:
	  - Header data is now written relative to the start of the header.
	  - Fixed a bug where the BTree structure's root variable was being
	    set during btreeSetLeftLeaf(), instead of the leftLeaf variable.

Fri Jan 04 03:30:48 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree.c:
	  - Moved some common BTree struct setup commands into a helper
	    function.

Fri Jan 04 03:25:25 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree.c:
	* modules/database/gnupdate/btree.h:
	* modules/database/gnupdate/btree_header.c:
	* modules/database/gnupdate/btree_header.h:
	  - Moved the header reading and writing to btreeReadHeader() and
	    btreeWriteHeader().

Fri Jan 04 02:13:29 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree.c:
	* modules/database/gnupdate/btree.h:
	* modules/database/gnupdate/btree_node.c:
	* modules/database/gnupdate/btree_node.h:
	  - Added a two-byte magic string (\x14\x04) to the nodes.
	  - Added base stubs for internal trees.

Tue Jan 01 23:40:17 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree_blocks.h:
	  - Block size of 64 wins.

Tue Jan 01 22:49:20 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree_blocks.h:
	  - Set the block size back to 32. Going to run benchmarks
	    to determine the ideal size.
	
	* modules/database/gnupdate/btree_insert.c:
	* modules/database/gnupdate/btree_node.c:
	  - Fixed the remaining bugs that I've had.
	  - Removed debug statements.

Tue Jan 01 17:46:23 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree.c:
	* modules/database/gnupdate/btree.h:
	* modules/database/gnupdate/btree_node.c:
	* modules/database/gnupdate/btree_node.h:
	  - Moved reference counting for nodes from BTree to BTreeNode.
	  - Minor bug fixes and debug statements.

Tue Jan 01 02:13:17 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree_blocks.c:
	* modules/database/gnupdate/btree_blocks.h:
	* modules/database/gnupdate/btree_delete.c:
	* modules/database/gnupdate/btree_insert.c:
	* modules/database/gnupdate/btree_node.c:
	* modules/database/gnupdate/btree_node.h:
	* modules/database/gnupdate/btree_utils.c:
	  - Removed the tree parameter on btreeGetBlockSize(),
	    btreeGetNodeSize(), btreeWriteNode(), and btreeEraseNode().

Tue Jan 01 01:45:00 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	  - Using tree->openNodeSize instead of tree->order when memsetting.

	* modules/database/gnupdate/btree/btree_node.c:
	  - Fixed a bug where the size of the node was never getting set on
	    read. This caused duplicate nodes on every right, which led to
		huge files.

Tue Jan 01 01:34:32 PST 2002  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h: The type argument on pmOpenDatabase() is now
	  a const char *, instead of a char *.

Mon Dec 31 01:09:46 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* Updated the copyrights for the new year.

Mon Dec 24 16:51:20 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/rpm/Makefile.am:
	* modules/package/emp/Makefile.am:
	* modules/package/rpm/Makefile.am:
	* tests/Makefile.am:
	* tools/Makefile.am: These libs aren't needed anymore.

Mon Dec 24 16:48:54 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	* packman-config.in: libgnurdf is no longer required.

Mon Dec 24 16:25:06 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree.h:
	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_node.c:
	  - Fixed some of the current bugs by keeping a list of open nodes.
	    When a new node is to be read in, it looks for that node in the
		table first. There unfortunately is another major bug, but I'll
		fix that soon.

Mon Dec 24 00:56:23 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_internal.h:
	* modules/database/gnupdate/btree/btree_node.c:
	  - Some code cleanups.
	
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	  - Use the B+Tree.

Thu Dec 20 14:30:35 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	  - Call the new lock functions.

Thu Dec 20 14:12:03 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/Makefile.am:
	* modules/database/gnupdate/btree/btree_internal.h:
	* modules/database/gnupdate/btree/btree_lock.c:
	* modules/database/gnupdate/btree/btree_lock.h:
	  - Added the base locking stubs.

Wed Dec 19 03:00:12 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	  - The size and offset in each block in the free block list is
	    now written separately, so that it is not padded on fwrite().

Wed Dec 19 02:47:48 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_blocks.h:
	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_node.c:
	  - Added btreeFreeBlock().
	  - Fixed some hard-to-find bugs that were corrupting the tree.

Wed Dec 19 01:32:45 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman.spec.in: Updated some paths, and my e-mail address.

Mon Dec 17 01:37:04 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_delete.c:
	  - Fixed a bug on __borrowLeft() where the root node wasn't getting
	    saved. It probably applied to __borrowRight() too, so it's fixed
		there as well.

	* modules/database/gnupdate/btree/btree_node.c:
	  - Used btreePad() the proper way. I have no clue how it managed
	    to not crash before.
	
	* modules/database/gnupdate/btree/btree_test.c:
	  - Just moved stuff around for testing purposes...

	* modules/database/gnupdate/btree/btree_utils.c:
	* modules/database/gnupdate/btree/btree_utils.h:
	  - The count parameter is now a long instead of an int on
	    btreePad().

Sun Dec 16 23:27:26 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_node.c:
	* modules/database/gnupdate/btree/btree_node.h:
	* modules/database/gnupdate/btree/btree_utils.c:
	  - Removed btreeWipeNode().

Sun Dec 16 22:53:08 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	  - Fixed more leakbugs.

Sun Dec 16 22:24:02 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	  - Fixed some leakbugs.
	  - Fixed some problems where already freed memory was being freed.
	  
	* modules/database/gnupdate/btree/btree_node.c:
	* modules/database/gnupdate/btree/btree_node.h:
	  - Added btreeEraseNode(), which will take the place of
	    btreeWipeNode().
	
	* modules/database/gnupdate/btree/btree_test.c:
	  - Just giving it more tests.

Sun Dec 16 02:41:40 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_node.c:
	  Removed debug statements.

	* modules/database/gnupdate/btree/btree_test.c:
	  I realized I'm just a very dumb person, and that strings containing
	  integers don't compare the same way integers do, which is why I was
	  getting the results I was getting. I am now entering in letters from
	  the alphabet, since I now feel that that is all I am able to do
	  correctly without making myself feel like a total idiot.

Sun Dec 16 02:29:39 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_node.c: Errors and warnings
	  are now printed to stderr.

Sun Dec 16 02:12:37 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree.h:
	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_search.c:
	* modules/database/gnupdate/btree/btree_test.c: Removed the compare()
	  function in BTree. The standard strcmp() is now used.

Sun Dec 16 00:14:07 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c: Check the HEADER_MAJOR_VER
	  and HEADER_MINOR_VER instead of just numbers.
	  
	* modules/database/gnupdate/btree/btree_blocks.c: Removed debug
	  statements, for now.
	
	* modules/database/gnupdate/btree/btree_insert.c:
	  - Fixed some bugs.
	  - Added some debug statements.
	  - Set the parent offsets of nodes when written..
	
	* modules/database/gnupdate/btree/btree_node.c:
	  - Fixed an off-by-one error.
	  - Wipe out old nodes when a node moves.
	  - Set the parent offsets of a moved node's children.
	  - Set the children offsets of a moved node's parent.
	  
Thu Dec 13 22:00:32 PST 2001  Christian Hammond <chipx86@gnupdate.org>
	
	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree_node.c:
	* modules/database/gnupdate/btree/btree_utils.c:
	* modules/database/gnupdate/btree/btree_utils.h: Added btreePad().

Thu Dec 13 20:34:13 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* Makefile.am:
	* gnupdatedb.magic: Added a magic file for the GNUpdate database.

Thu Dec 13 20:29:58 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_header.h:
	  - Fixed the order of the offset definitions to be in the correct order.
	  - Bumped up the database structure version number to 0.2.

Thu Dec 13 18:32:33 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.c:
	  - Write the free blocks list offset upon tree creation.
	
	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_blocks.h:
	  - Code cleanups.
	  - If the reserved block can just expand into the blocks list, the
	    blocks list will just move. Saves a lot of node reorganization.
	  - Nodes are never added to the end of the file now. The "end of the
	    file" (or end of the tree) is now the offset of the free blocks
		list.
	
	* modules/database/gnupdate/btree/btree_node.c:
	  - Exit on error, don't just return NULL. That can lead to odd
	    crashes later, or even DB corruption.
	  - Reserve a new block on node writing if the node has grown since it
	    was last written or read.

Thu Dec 13 12:21:21 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* AUTHORS: Updated my e-mail address.

Thu Dec 13 00:13:30 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree.h:
	  - Added size and blockSize variables to BTreeNode.
	  - Added a freeBlockCount variable to BTree.
	  
	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_header.h:
	  - Added btreeGetFreeBlockCount(), btreeSetFreeBlockCount(),
	    btreeGetFreeBlockOffset(), and btreeSetFreeBlockOffset().
	  - Added some checks to prevent segfaults.
	
	* modules/database/gnupdate/btree/btree_blocks.c:
	* modules/database/gnupdate/btree/btree_blocks.h:
	  - Added btreeFreeBlockList() and btreeReserveBlock().
	  - Wrote the initial block code.
	
	* modules/database/gnupdate/btree/btree_node.c:
	  - Updated for some of the above changes.

Tue Dec 11 23:03:10 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_header.c:
	* modules/database/gnupdate/btree/btree_header.h: Added
	  btreeGetRootNode(), btreeGetLeftLeaf(), and btreeGetTreeSize().
	
	* modules/database/gnupdate/btree/btree.c:
	* modules/database/gnupdate/btree/btree_insert.c:
	* modules/database/gnupdate/btree/btree_delete.c:
	* modules/database/gnupdate/btree/btree_search.c:
	* modules/database/gnupdate/btree/btree_traverse.c:
	  - Updated to use the new functions, instead of relying on the values
	    read in from when the tree is first opened.
	  - Removed btreeFull().

Tue Dec 11 22:13:56 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* modules/database/gnupdate/btree/btree_internal.h: Include the
	  necessary include files.

Tue Dec 11 22:09:24 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/internal.h: Removed an unnecessary include of leakbug.h.

Tue Dec 11 21:55:25 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* configure.ac:
	* configure.in:
	* modules/database/gnupdate/Makefile.am:
	* modules/database/gnupdate/btree/: Added the beginnings of the B+Tree.
	  I'll get it working correctly and wrap things around it soon.

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h: Removed and commented out
	  old code blocks.

	NOTE: As of this moment, the GNUpdate database is broken. Don't update!

Thu Nov 22 12:20:19 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/internal.c:
	* libpackman/internal.h:
	* libpackman/module.c:
	* libpackman/module.h: Added functions for cleaning up the library
	  easier.

Tue Nov 20 10:33:24 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/types.h: Added PM_EXISTS.

	* libpackman/depcheck.c: Dependencies that are actual files on a
	  filesystem can now be resolved without a database.

	* modules/database/gnupdate/addpackage.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/gnupdate/search_by_name.c:
	* modules/database/gnupdate/search_by_file.c: Replaced getBaseName()
	  with cxGetBaseName().

Mon Nov 19 23:04:08 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/depcheck.c:
	* libpackman/types.h: Added a PM_DEP_ERROR error type.

	* libpackman/db_api.c:
	  - Added 3 new parameters to pmInstallPackage(), pmInstallBatch(),
	    pmDatabaseAddPackage(), and pmDatabaseAddBatch(): failedDeps,
	    failedCount, and checkDeps.

	* tests/addpackage.c:
	* tools/convertdb.c: Updated for the new changes.

Mon Nov 19 20:20:22 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/depcheck.c:
	* libpackman/depcheck.h:
	* libpackman/package.c:
	* libpackman/package.h: Added basic dependency checking.

	* modules/database/gnupdate/search_by_file.c: Fixed a problem
	  where the abbrev string wasn't null-terminated.

Mon Nov 19 01:02:50 PST 2001  Christian Hammond <chipx86@gnupdate.org>

	* libpackman/db_api.c:
	* libpackman/db_api.h:
	* libpackman/types.h: Added pmInstallBatch(), pmUninstallBatch(),
	  pmDatabaseAddBatch(), and pmDatabaseRemoveBatch(). Dependency
	  checking is the next step!

Sun Nov 18 22:25:19 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* Added HTML documentation, and some other minor restructuring of
	  docs/.

Sun Nov 18 21:59:35 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/depends.c: Fixed the RPM module. Only took all
	  weekend to find the missing "!"'s.

Sun Nov 18 02:54:46 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/Makefile.am:
	* libpackman/batch.c:
	* libpackman/batch.h:
	* libpackman/packman.h: Added a new PmBatch structure and API.

Sat Nov 17 21:41:20 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/package.c:
	* libpackman/package.h: Added pmGetPreviousPackage(),
	  pmGetNextPackage(), pmSetPreviousPackage(), and pmSetNextPackage().

Fri Nov 16 17:50:37 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* configure.ac: Bumped the version to 0.3.0.
	
	* AUTHORS:
	* INSTALL:
	* README: Filled these in.

Thu Nov 15 16:57:06 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* acconfig.h:
	* configure.ac:
	* configure.in: Updated to build with rpm v4.0.3.

Thu Nov 15 15:04:37 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/rpm/rpm.c: Changed calls from rfreeMacros() and
	  rfreeRpmrc() to rpmFreeMacros() and rpmFreeRpmrc(). I with I had
	  some idea as to why this got changed to this. I'm very confused as
	  to why it ever worked.

Sun Nov 11 16:32:45 EST 2001  Rodney Dawes <dobey@free.fr>

	* configure.(in|ac): Added emp module to the build
	* modules/package/Makefile.am: Added emp to build
	* modules/package/emp/*: Added emp module
	
Sat Nov 03 00:14:37 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* acinclude.m4:
	* libpackman.m4.in: Updated with some changes that should fix potential
	  compile errors during a ./configure process.

Mon Oct 29 10:16:49 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/dependency.c:
	* libpackman/dependency.h: Added some base API support for other
	  dependency types.

Sun Oct 28 23:00:01 PST 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/Makefile.am:
	* modules/database/rpm/Makefile.am:
	* modules/package/rpm/Makefile.am:
	* modules/package/tar/Makefile.am: This should work on older automakes
	  and the newer automakes without problems.

Thu Aug 30 14:14:23 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.ac:
	* configure.in: Complain and stop if libcomprex or libgnurdf
	  isn't installed.

Thu Aug 23 17:44:23 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman.spec.in: Filled in with info.

	* configure.ac:
	* configure.in: Removed a reference to the tar module.

Sun Aug 19 02:19:37 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db_api.c: Fixed some segfaults.
	
	* modules/database/gnupdate/search.c:
	* modules/database/gnupdate/search_by_name.c: Branch looping now
	  skips empty branches the way it should.

Sun Aug 19 01:57:31 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db_api.c: Fixed some minor bugs.
	
	* modules/database/gnupdate/addpackage.c: Code cleanups.
	* modules/database/gnupdate/removepackage.c: The basics of database
	  entry removal has been implemented.

Sat Aug 18 15:55:43 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/addpackage.c: Fixed some segfaults.

Sat Aug 18 14:19:26 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/addremove.c: Split into addpackage.c
	  and removepackage.c.

Sat Aug 18 11:38:16 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* Removed pmMalloc() and pmFree(). With leakbug, this is no longer
	  needed, and actually promotes sloppy coding (due to the auto-checking
	  of NULL pointers). There will probably be some bugs as a result of
	  this change.

Sat Aug 18 02:26:30 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* libpackman/file.c:
	* libpackman/file.h:
	* libpackman/internal.c:
	* libpackman/internal.h:
	* modules/database/gnupdate/addremove.c:
	* modules/database/gnupdate/utils.c:
	* modules/database/rpm/rpm.c:
	* modules/package/rpm/misc.c:
	* modules/package/rpm/rpm.c:
	  * Changed the file mode in the PmFile structure to a mode_t from
	    a string.
	  * Removed pmOctalToMode().

Sat Aug 18 01:12:32 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/depends.c:
	* modules/package/rpm/header.c:
	* modules/package/rpm/header.h:
	* modules/package/rpm/misc.c:
	* modules/package/rpm/package.c:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/signature.c: Finally fixed the bug where
	  short integers in the RPM headers weren't getting translated right.
	  I've been fighting this bug every night for 5 days now!

Thu Aug 16 22:27:39 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* modules/package/rpm/depends.c:
	* modules/package/rpm/header.c:
	* modules/package/rpm/header.h:
	* modules/package/rpm/misc.c:
	* modules/package/rpm/package.c:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/rpmlib.h: Better compliance with rpm v4.0.2.

Mon Aug 13 01:31:04 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/status.h: Renamed to types.h.
	* libpackman/types.h:
	  * Added the PmAccessMode enum
	  * Added PM_READ_ONLY to the PmStatus enum.

	* libpackman/db.h:
	  * Added pmSetDatabaseAccessMode() and pmGetDatabaseAccessMode().

	* libpackman/db.c:
	  * Split most of this out to db_api.c.
	  * Added pmSetDatabaseAccessMode() and pmGetDatabaseAccessMode().

	* libpackman/db_api.h:
	* libpackman/db_api.c:
	  * Removed the old pmGetSystemArch() and pmGetSystemOS() functions.
	  * Added PmAccessMode support.
	  * Added some checks to prevent segfaults due to NULL pointers.
	
	* libpackman/package.c:
	* libpackman/package.h:
	  * Added PmAccessMode support.
	  * Added pmSetPackageAccessMode() and pmGetPackageAccessMode().

	* libpackman/package_api.c:
	* libpackman/package_api.h:
	  * Added some documentation.
	  * Added PmAccessMode support.
	  * Removed old, unused functions and #defines.

	* Makefile.am:
	* packman.h:
	  * Removed status.h.
	  * Added types.h and db_api.c.
	
	* tests/addpackage.c:
	* tests/dbtest.c:
	* tests/packagetest.c:
	* tools/convertdb.c: Updated to work with the new PmAccessMode
	  and API changes.

Sun Aug 12 12:44:28 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/utils.c: The package branch is now set
	  to the name of the branch, not the URN.

Fri Aug 10 22:06:29 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/addremove.c: This should prevent duplicate
	  entries in some of the RDF files. Also prevents some crashes.

Fri Aug 10 21:28:34 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/Makefile.am:
	* modules/package/rpm/cpio.c:
	* modules/package/rpm/cpio.h:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/rpmlib.h:
	  * File extraction is now implemented!
	  * Dependency and file information is now added to the PmPackage
	    structure.

Fri Aug 10 03:17:02 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/package.c:
	* libpackman/package.h:
	* libpackman/package_api.c:
	* libpackman/package_api.h:
	  * Code cleanups.
	  * Added pmSetPackageFilePath() and pmGetPackageFilePath().

Fri Aug 10 02:55:01 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/addremove.c: Fixed some segfaults due to
	  not checking for NULL pointers.

Fri Aug 10 02:02:39 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* Renamed packman.m4.in to libpackman.m4.in.
	  IMPORTANT: You MUST delete /usr/share/aclocal/packman.m4!

Fri Aug 10 01:57:28 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/rpm.c: Provided dummy entries for extractFile
	  and extractAll.

Fri Aug 10 01:55:09 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/addremove.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h:
	* modules/database/rpm/rpm.c: Removed the installPackage
	  and uninstallPackage support.

Fri Aug 10 01:51:20 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db.c:
	* libpackman/module.h: Removed the installPackage and uninstallPackage
	  support from database modules. Databases should not install packages.
	  They should only add the entries to the database (which addPackage
	  and removePackage already do). The pmInstallPackage() now extracts
	  the package and then adds it to the database.

Fri Aug 10 01:30:43 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db.c: Fixed potential crashes.
	* libpackman/status.h: Added PM_PACKAGE_ERROR.
	
	* libpackman/module.h:
	* libpackman/package_api.c:
	* libpackman/package_api.h: Added base support for extracting files
	  from packages.
	
Tue Aug 07 21:47:17 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.ac: Added this for autoconf 2.50 support.
	* Makefile.am: Make sure configure.in and configure.ac are in the
	  distribution tarballs.

Sun Jul 29 15:57:59 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/cpio.c:
	* modules/package/rpm/depends.c:
	* modules/package/rpm/depends.h:
	* modules/package/rpm/header.c:
	* modules/package/rpm/header.h:
	* modules/package/rpm/lead.c:
	* modules/package/rpm/lead.h:
	* modules/package/rpm/misc.c:
	* modules/package/rpm/misc.h:
	* modules/package/rpm/package.c:
	* modules/package/rpm/package.h:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/rpmlib.h:
	* modules/package/rpm/signature.c:
	* modules/package/rpm/signature.h: Changed rpm* to grpm* and
	  Rpm* to GRpm*. This prevents conflicts when this module and
	  the librpm library is loaded at the same time.

Sun Jul 29 12:28:33 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* tests/packagetest.c: Displays an error if you don't specify a
	  filename. Much better than just crashing.

Sun Jul 29 10:31:48 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db.c: Removed some debug statements.

Thu Jul 26 11:46:46 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in: Added a little info message on compiling after
	  ./configure.

Thu Jul 26 05:40:16 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h: Adding packages to the
	  database works again.

Thu Jul 26 05:33:01 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/module.c:
	* libpackman/module.h:
	* libpackman/package_api.c:
	* libpackman/package_api.h: Module support has improved, and some old
	  functions have been commented out and are scheduled for removal.

Thu Jul 26 05:32:01 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/gnupdate.c: /var/lib/gnupdate is now
	  created automatically.

Thu Jul 26 05:24:43 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/gnupdate.h: Changed a reference to
	  dbFindByRequiredBy() to dbFindByRequires().

Thu Jul 26 03:22:51 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in: Some necessary functions and header files are checked
	  for during ./configure.
	
	* libpackman/module.c: Database modules are now loaded properly.

Thu Jul 26 02:54:20 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* acinclude.m4:
	* configure.in: Added checks for libcomprex.

Mon Jul 09 13:44:29 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* acinclude.m4:
	* modules/database/gnupdate/addremove.c:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/gnupdate/search.c:
	* modules/database/gnupdate/search_by_file.c:
	* modules/database/gnupdate/search_by_group.c:
	* modules/database/gnupdate/search_by_name.c:
	* modules/database/gnupdate/search_by_provides.c:
	* modules/database/gnupdate/search_by_requires.c:
	* modules/database/gnupdate/utils.c: Updated for libgnurdf v0.3.0.

Mon Jun 11 00:01:20 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/module.c:
	* libpackman/module.h:
	* modules/database/gnupdate/gnupdate.c:
	* modules/database/rpm/rpm.c:
	* modules/package/rpm/rpm.c: Changed the module system to be closer
	  to libcomprex's (one entry function that fills out an ops structure).

Sun Jun 10 23:21:21 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/module.h:
	* libpackman/package_api.c: A couple API fixes.

Sun Jun 10 23:00:50 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* modules/package/rpm/: Updated to reflect the changes made in
	  RPM v4.0.2.

Wed Jun 06 02:18:26 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/module.c: Fixed a nasty bug in the __trimModuleList()
	  function.

Sun Jun 03 16:32:18 PDT 2001  Christian Hammond <chipx86@portaldesign.net>
	
	* acconfig.h:
	* configure.in: Removed some unnecessary stuff, and fixed other things.
	* packman.h: Updated to be consistent with the other files.
	* libpackman/Makefile.am: Removed the unnecessary PM_MODULE_PATH
	  variable.
	* libpackman/internal.c:
	* libpackman/internal.h: Changed some return values from char * to
	  const char *
	* libpackman/module.c:
	* libpackman/module.h: Documentation updates, and got rid of an
	  unnecessary pmFree().
	* modules/package/tar/tar.c: Made the function names more consistent
	  with the rest of the library.

Mon May 21 01:29:55 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* libpackman/internal.h: Added more checks.
	* modules/package/Makefile.am: Removed the building of tar for now.

Mon May 21 01:21:54 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* modules/package/rpm/cpio.h:
	* modules/package/rpm/depends.c:
	* modules/package/rpm/header.c:
	* modules/package/rpm/lead.c:
	* modules/package/rpm/misc.c:
	* modules/package/rpm/package.c:
	* modules/package/rpm/rpm.c:
	* modules/package/rpm/rpmlib.h:
	* modules/package/rpm/signature.c: Added some portability stuff, and
	  made it a bit easier to maintain. Also fixed some typos.

Mon May 21 00:41:09 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* configure.in:
	* libpackman/db.c:
	* libpackman/dependency.c:
	* libpackman/downloadurl.c:
	* libpackman/file.c:
	* libpackman/internal.c:
	* libpackman/module.c:
	* libpackman/package.c:
	* libpackman/package_api.c: Added some portability checks.

Sat May 19 01:32:58 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/internal.h:
	* libpackman/internal.c:
	  - Added support for the realloc() wrappers.
	  - Added functions for determining home directories, temp directories,
	    etc., and directory listing functions.

	* libpackman/module.h:
	* libpackman/module.c:
	  - Added auto-module loading functions. Libpackman can now actually
	    run again :)
	  - Changed some char * parameters to const char *.

	* modules/database/gnupdate/addremove.c:
	  - Fixed. It now works with libgnurdf v0.2.0.

	* modules/package/rpm/rpm.c: Added a little TODO.
	* configure.in: Added a check for pwd.h.

Sat May 05 23:47:46 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db.c:
	* libpackman/dependency.c:
	* libpackman/downloadurl.c:
	* libpackman/file.c:
	* libpackman/internal.c:
	* libpackman/module.c:
	* libpackman/package.c:
	* libpackman/package_api.c: Changed the header comments to be Doxygen
	  comments to stay consistent with the *.h files.

Sat May 05 23:30:48 PDT 2001  Christian Hammond <chipx86@portaldesign.net>

	* libpackman/db.c:
	* libpackman/module.c:
	* libpackman/package_api.c: Added some checks which will prevent
	  crashes on NULL pointers if modules do not implement all the
	  possible functions.

