aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-pilot-map.c
Commit message (Collapse)AuthorAgeFilesLines
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-37/+37
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
|
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-13/+15
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-43/+43
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fixes bug #437579Matthew Barnes2007-10-101-73/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* ** Fix for bug #471791 Srinivasa Ragavan2007-09-101-4/+4
| | | | svn path=/trunk/; revision=34214
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Clean up compiler warnings in e-util directory (#438467).Matthew Barnes2007-06-031-18/+18
| | | | svn path=/trunk/; revision=33623
* Use e_xml_parse_file() and e_xml_save_file() instead of using libxmlTor Lillqvist2005-12-171-4/+7
| | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-pilot-map.c: Use e_xml_parse_file() and e_xml_save_file() instead of using libxml directly. svn path=/trunk/; revision=30824
* g_file_exists -> g_file_test. (e_pilot_map_write): don't use doc->root.Chris Toshok2003-01-261-7/+5
| | | | | | | | | 2003-01-25 Chris Toshok <toshok@ximian.com> * e-pilot-map.c (e_pilot_map_read): g_file_exists -> g_file_test. (e_pilot_map_write): don't use doc->root. svn path=/trunk/; revision=19631
* clear all info from the mapJP Rosevear2001-12-191-1/+12
| | | | | | | | | | 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
* only insert non-0 pids into the pid map (e_pilot_map_insert): remove andJP Rosevear2001-11-141-26/+60
| | | | | | | | | | | | | 2001-11-13 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (real_e_pilot_map_insert): only insert non-0 pids into the pid map (e_pilot_map_insert): remove and free old keys/values here - including possibly orphaned keys (e_pilot_map_remove_by_uid): only free things if they should have been found svn path=/trunk/; revision=14687
* make sure to free the keys as well (e_pilot_map_remove_by_uid): dittoJP Rosevear2001-10-291-12/+19
| | | | | | | | | | 2001-10-28 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (e_pilot_map_remove_by_pid): make sure to free the keys as well (e_pilot_map_remove_by_uid): ditto svn path=/trunk/; revision=14315
* More fixing of the license texts.Ettore Perazzoli2001-10-281-9/+9
| | | | svn path=/trunk/; revision=14241
* update protoJP Rosevear2001-10-271-2/+21
| | | | | | | | | | | | 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
* take an extra param on whether to mark touched (map_sax_start_element):JP Rosevear2001-10-271-41/+67
| | | | | | | | | | | | | | | | 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
* add archived records with pilot id of 0 (map_write_foreach): use the uidJP Rosevear2001-10-271-21/+52
| | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (map_sax_start_element): add archived records with pilot id of 0 (map_write_foreach): use the uid map for writing (e_pilot_map_write): write using the uid map svn path=/trunk/; revision=14147
* free up old memory first (e_pilot_map_destroy): free allocated memory whenJP Rosevear2001-10-261-8/+24
| | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (e_pilot_map_insert): free up old memory first (e_pilot_map_destroy): free allocated memory when destroying svn path=/trunk/; revision=14143
* plug leakJP Rosevear2001-10-241-0/+1
| | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (map_set_node_timet): plug leak svn path=/trunk/; revision=13945
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-2/+2
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Added #include <glib.h> and move corresponding local headers to the top toKjartan Maraas2001-04-241-2/+3
| | | | | | | | | | 2001-04-24 Kjartan Maraas <kmaraas@gnome.org> * e-gui-utils.c, e-memory, e-msgport.c, e-pilot-map, e-sexp.c: Added #include <glib.h> and move corresponding local headers to the top to catch missing includes in them. Tip from clahey. svn path=/trunk/; revision=9537
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-301-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-utils.h: Remove #include <glib.h> * e-dialog-widgets.c: Shuffle some headers. * e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h> * e-gtk-utils.c: #include <gtk/gtksignal.h> * e-gtk-utils.h: Replace #include <gtk/gtk.h> * e-gui-utils.c: Replace #include <gnome.h> * e-html-utils.c: Shuffle headers. * e-iterator.c: Replace #include <gtk/gtk.h> * e-iterator.h: Replace #include <gtk/gtk.h> * e-list-iterator.c: Remove #include <gtk/gtk.h> * e-list-iterator.h: Replace #include <gtk/gtk.h> * e-list.c: Remove #include <gtk/gtk.h> * e-list.h: Replace #include <gtk/gtk.h> * e-memory.c: #include <string.h> and <stdlib.h> * e-msgport.c: Move around some includes. s/%d/%ld/g in a printf() call to fix a warning. * e-pilot-map.c: #include <string.h>. Replace #include <gnome.h> * e-pilot-util.c: Remove #include <gnome.h> * e-sexp.c: Remove #include <glib.h> * e-sexp.h: Replace #include <gtk/gtk.h> * e-time-utils.c: #include <string.h> * md5-utils.c: Shuffle headers. * test-ename-western-gtk.c: Replace #include <gnome.h> * test-ename-western.c: Same here. svn path=/trunk/; revision=9016
* New function, can't use strlen on the md5 hash because it might have nullJP Rosevear2001-01-231-0/+39
| | | | | | | | | | 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
* Return null if no pnode was found.72000-10-271-2/+5
| | | | | | | | | 2000-10-27 <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_uid): Return null if no pnode was found. svn path=/trunk/; revision=6229
* Get archive field while parsing (map_write_foreach): Write out archiveJP Rosevear2000-10-271-26/+66
| | | | | | | | | | | | | | | | 2000-10-27 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (map_sax_start_element): Get archive field while parsing (map_write_foreach): Write out archive field (e_pilot_map_pid_is_archived): implement (e_pilot_map_uid_is_archived): ditto (e_pilot_map_insert): Insert new node structures (e_pilot_map_lookup_pid): Take into account the list is now a list of structures (e_pilot_map_lookup_uid): ditto svn path=/trunk/; revision=6224
* Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. NowJP Rosevear2000-10-251-1/+24
| | | | | | | | | | | | | | | | | | | | | | 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
* Use new libeconduit calls and abstractionJP Rosevear2000-10-241-32/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Pilot map functions grabbed from existing conduitsJP Rosevear2000-10-241-0/+162
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