Commit Graph

7 Commits

Author SHA1 Message Date
3b3c44b51c null out DBT memory prior to usage (from Edd Dumbill <edd@usefulinc.com>)
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* e-dbhash.c (e_dbhash_foreach_key): null out DBT memory prior to
	usage (from Edd Dumbill <edd@usefulinc.com>)

svn path=/trunk/; revision=13869
2001-10-22 13:54:12 +00:00
216e27b012 memset everything to 0 (md5_to_dbt): ditto
2001-07-27  JP Rosevear  <jpr@ximian.com>

	* e-dbhash.c (string_to_dbt): memset everything to 0
	(md5_to_dbt): ditto

svn path=/trunk/; revision=11462
2001-07-27 22:14:12 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
8f183d269e Included information about db3.
2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* README: Included information about db3.

	* acconfig.h: Added HAVE_DB_H and HAVE_DB3_DB_H.

	* configure.in: Added various checks for db3 libraries and
	includes.  Of note are the new configure options
	--with-db3-includes=PREFIX and --with-db3-libs=PREFIX to specify
	the location for your db3 library.

From addressbook/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* backend/pas/Makefile.am (INCLUDES): Added db3 cflags.

	* backend/pas/pas-backend-file.c: Updated this to use db3.

From e-util/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added db3 cflags.

	* e-dbhash.c: Made this use db3.

	* e-db3-utils.c, e-db3-utils.h: New files with some helper
	functions.

From wombat/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (wombat_LDADD): Added db3 libs.

svn path=/trunk/; revision=10077
2001-06-01 01:02:12 +00:00
fa5982c96a New function, can't use strlen on the md5 hash because it might have null
2001-01-22  JP Rosevear  <jpr@ximian.com>

	* e-dbhash.c (md5_to_dbt): New function, can't use strlen on the md5
	hash because it might have null chars in it.
	(e_dbhash_add): use md5_to_dbt

svn path=/trunk/; revision=7726
2001-01-22 23:10:22 +00:00
b24160aa2c oops thats func not *func
2000-11-09  JP Rosevear  <jpr@helixcode.com>

	* e-dbhash.h: oops thats func not *func

	* e-dbhash.c (e_dbhash_foreach_key): Memset the data DBT to 0

svn path=/trunk/; revision=6521
2000-11-09 22:18:17 +00:00
082bc288ff Build e-dbhash.[hc]
2000-11-07  JP Rosevear  <jpr@helixcode.com>

	* Makefile.am: Build e-dbhash.[hc]

	* e-dbhash.[hc]: New routines to manage a db database on disk that
	contains md5 hashed data and indexed by uids.  Provides comparison
	functions and such so the caller does not have to do the md5 bits.

2000-11-07  JP Rosevear  <jpr@helixcode.com>

	* backend/pas/pas-book.h: Update PASRequest structure

	* backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name
	(pas_book_queue_get_changes): Use PASRequest change_id slot

	* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
	Properly copy change_id and change_context
	(pas_backend_file_book_view_free): Free change_id/change_context
	(pas_backend_file_changes_foreach_key): Callback to figure out the
	deleted cards
	(pas_backend_file_changes): Use new e-dbhash stuff to implement.
	Write out updated hash

	* backend/idl/addressbook.idl: Rename get_changes param

svn path=/trunk/; revision=6489
2000-11-07 22:25:34 +00:00