Commit Graph

9 Commits

Author SHA1 Message Date
d7e3011f51 clear all info from the map
2001-12-17  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (e_pilot_map_clear): clear all info from the map

	* e-pilot-map.h: add proto

svn path=/trunk/; revision=15177
2001-12-19 15:15:22 +00:00
be7e0fd349 More fixing of the license texts.
svn path=/trunk/; revision=14241
2001-10-27 23:36:16 +00:00
716da0ac90 update proto
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.h: update proto

	* e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if
	indicated and found
	(e_pilot_map_lookup_uid): ditto

svn path=/trunk/; revision=14208
2001-10-27 15:33:10 +00:00
a06095af85 take an extra param on whether to mark touched (map_sax_start_element):
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (real_e_pilot_map_insert): take an extra param on
	whether to mark touched
	(map_sax_start_element): use above
	(e_pilot_map_insert): ditto
	(e_pilot_map_write): pass in extra info to foreach call
	(map_write_foreach): if we are in touched only mode, write out the
	map only if its been touched

	* e-pilot-map.h: add new member

svn path=/trunk/; revision=14196
2001-10-27 03:44:02 +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
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
e504870c44 Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now
2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid.
	(e_pilot_map_lookup_uid): Lookup a uid by pid.
	Now this is wrapped, we can store archive info internally

	* e-pilot-map.h: New accessor prototype

2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.c (local_record_from_comp): Use
	new e-pilot-map lookup function
	(match): ditto

	* conduits/calendar/calendar-conduit.c (local_record_from_comp): Use
	new e-pilot-map lookup function
	(match): ditto

svn path=/trunk/; revision=6146
2000-10-24 16:21:10 +00:00
ecb43703f8 Use new libeconduit calls and abstraction
2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* conduit/address-conduit.h: Use new libeconduit calls and
	abstraction

	* conduit/address-conduit.c: ditto

2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.h: Use new libeconduit calls and
	abstraction

	* conduits/calendar/calendar-conduit.c: ditto

	* conduits/calendar/calendar-conduit.h: ditto

	* conduits/todo/todo-conduit.c: ditto

	* conduits/calendar/Makefile.am: Add libeconduit-static.la

	* conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write
	(pre_sync): Use e_pilot_map_read

2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* e-pilot-map.c: Operate with EPilotMap structure so things are
	abstract to the caller
	(e_pilot_map_pid_is_archived): Infrastructure for marking records
	as archived
	(e_pilot_map_uid_is_archived): ditto

	* e-pilot-map.h: Add more to public interface, including EPilotMap
	structure

svn path=/trunk/; revision=6134
2000-10-23 22:18:44 +00:00
61008a12e1 Pilot map functions grabbed from existing conduits
2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* e-pilot-map.c: Pilot map functions grabbed from existing conduits

	* e-pilot-map.h (e_pilot_map_write): Header

2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/Makefile.am: Add libeconduit-static.la

	* conduits/todo/todo-conduit.c (post_sync): Use e_pilot_map_write
	(pre_sync): Use e_pilot_map_read

svn path=/trunk/; revision=6116
2000-10-23 18:27:21 +00:00