| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-19 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): always free
the delivery elements and correct embarrassingly stupid memory error
that was causing the addressbook conduit problems.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): ref/unref ourself when processing
in case someone we signal unrefs us.
* conduit/address-conduit.c (sequence_complete): disconnect signals
when complete
svn path=/trunk/; revision=7641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conduit/address-conduit.c (print_local): prevent segfaults and
buffer overflows
(print_remote): ditto
2001-01-15 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (print_local): prevent segfaults and
buffer overflows.
(print_remote): ditto
* conduits/calendar/calendar-conduit.c: as above
svn path=/trunk/; revision=7504
|
|
|
|
|
|
|
|
| |
2001-01-14 JP Rosevear <jpr@ximian.com>
* configure.in: remove old config message
svn path=/trunk/; revision=7492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-21 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Ref the cards that get put
in the change list
(next_changed_item): util function to get the real next changed item
(compute_status): really compute the status of the record
(local_record_from_uid): Set the id of the temporary card
(check_for_slow_setting): Make this check a little saner
(card_added): Only record the CardObjectChange if the card is not
archived
(card_changed): ditto
(card_removed): ditto
(set_status_cleared): actually clear the status
(for_each_modified): Clean out cruft and use next_changed_item
(add_record): Set the new id properly in our local card copy
(replace_record): handle the case where the record has been deleted
and we need to call add. need to update the changed_hash entry
(delete_record): Don't panic if the card is not found, its already
been deleted.
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
The change_context no longer has a del_cards member
(pas_backend_file_book_view_free): ditto
(pas_backend_file_process_get_changes): ditto
(pas_backend_file_changes_foreach_key): just record the id
(pas_backend_file_changes): notify_remove needs an id not a vcard
svn path=/trunk/; revision=7120
|
|
|
|
|
|
|
|
|
| |
2000-12-20 JP Rosevear <jpr@helixcode.com>
* e-pilot-util.c (e_pilot_utf8_to_pchar): Check for null strings
(e_pilot_utf8_from_pchar): ditto
svn path=/trunk/; revision=7106
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-20 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (match): Use my own wrapper
functions instead of trying to *directly* access the the data
structures my self
(post_sync): Put in hack to prevent syncing the same records twice
svn path=/trunk/; revision=7104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c: Remove pointless comment
* conduits/todo/todo-conduit.c (is_empty_time): add utility function
(comp_from_remote_record): use it
2000-12-19 JP Rosevear <jpr@helixcode.com>
*conduit/address-conduit.c (ecard_from_remote_record): Convert
pilot strings to utf for the e-cards.
svn path=/trunk/; revision=7093
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
Convert cal component strings to pilot character set
(comp_from_remote_record): vice versa
* conduits/todo/todo-conduit.c: Same as above
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_from_ecard): Convert ecard
strings to pilot encodings
2000-12-19 JP Rosevear <jpr@helixcode.com>
* e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to
pilot character set
(e_pilot_utf8_from_pchar): vice versa
* Makefile.am: Conditionally build e-pilot-util.[hc] because
they depend on pilot-link stuff
svn path=/trunk/; revision=7090
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-07 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_from_uid): Pass "" rather
than NULL to e_card_new.
(local_record_from_ecard): Make sure ecard->name is valid
(check_for_slow_setting): Remove hard coded test value
(card_added): g_strdup the resul of e_card_get_id
(card_changed): ditto
svn path=/trunk/; revision=6859
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-05 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key):
Create an empty vcard with the appropriate id for deleted cards
* conduit/address-conduit.c (ecard_from_remote_record): Ensure the
address fields are added sensibly
svn path=/trunk/; revision=6793
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-28 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (local_record_to_pilot_record): Return
a struct rather than a pointer to a struct
(compare): local_record_to_pilot_record now returns a struct
(prepare): ditto
(free_prepare): remove as per gnome-pilot changes
(conduit_get_gpilot_conduit): don't listen for free_prepare signal
* conduits/calendar/calendar-conduit.c: Same as above
2000-11-28 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_to_pilot_record): Return
a struct rather than a pointer to a struct
(view_cb): kill warning
(compare): local_record_to_pilot_record now returns a struct
(prepare): ditto
(free_prepare): remove as per gnome-pilot changes
(conduit_get_gpilot_conduit): don't listen for free_prepare signal
svn path=/trunk/; revision=6708
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-27 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Remove "complete" field
* conduit/address-conduit.c (print_local): Make it print useful debug
info
(print_remote): ditto
(local_record_from_ecard): Make sure phone numbers get out to the pilot
(ecard_from_remote_record): Set phone strings to "" if they are null
(sequence_complete): unref the book view
(view_cb): ref the book view
(free_prepare): do nothing
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
Destroy the card lists with the rest of the view.
(pas_backend_file_changes): Don't destroy the card lists here
(pas_backend_file_book_view_free): Free the card/id lists in the
change context here, the correct place.
(pas_backend_file_changes): instead of here...
2000-11-27 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (free_prepare): Ditto
* conduits/calendar/calendar-conduit.c (free_prepare): Adjust
free_prepare to the correct signal parameters. Don't actually
do anything - there is a semantic discrepancy that needs to be
resolved.
2000-11-27 JP Rosevear <jpr@helixcode.com>
* providers/local/.cvsignore: shush
svn path=/trunk/; revision=6681
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-09 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Add changed_hash, change list and complete bool
* conduit/address-conduit.c (local_record_from_ecard): Add empty field checks
(card_added): callback for book view
(card_changed): ditto
(card_removed): ditto
(sequence_complete): ditto
(view_cb): callback for the get changes call
(pre_sync): force synchronous loading of book view
(for_each): we already have the card so create the local record directly
(for_each_modified): Uncomment and fix
(delete_record): ditto
* conduit/Makefile.am: link against gal for ebook - needs fixing
* backend/ebook/e-book.c (e_book_do_response_get_changes): Properly respond
to a get_changes call
(e_book_check_listener_queue): define the get changes response operation
* backend/ebook/e-book-listener.c (e_book_listener_queue_get_changes_response):
Queue up a get changes response
(impl_BookListener_respond_get_changes): Implement the get_changes method
(e_book_listener_get_epv): add get_changes implementation to epv
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Only
copy the search_context and change_context elements if they actually exist
(pas_backend_file_changes): Hard code a path for now, only notify if
there is something to notify about
svn path=/trunk/; revision=6524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-31 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Let the warning make sense
(compute_pid): remove
(local_record_from_ecard): Create local record from ecard - not finished
(local_record_from_uid): Obtain local_record from uid with the proper
e-book way
(set_status_cleared): Add empty callback
(add_archive_record): kill
(delete_archive_record): kill
(archive_record): Add empty callback
(conduit_get_gpilot_conduit): Update signal connects
* backend/pas/pas-backend-file.c (vcard_change_type): Function to determine
the type of change - not finished
(pas_backend_file_search_changes): Create a view and callback based on
how the cards have changed
(pas_backend_file_process_get_changes): Implement the get changes operation
for files
(pas_backend_file_process_client_requests): Add GetChanges method for
processing
* backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to
the list
(impl_Evolution_Book_get_changes): implement object method
(pas_book_get_epv): Add get changes to epv
(pas_book_respond_get_changes): Respond to the get changes operation
* backend/pas/pas-book.h: Add GetChanges PASOperation
* backend/idl/addressbook.idl: add get_changes and respond_get_changes
methods
* backend/ebook/e-book.c (e_book_get_changes): Client function
to a view of the changed objects
* backend/ebook/e-book.h: New prototype
2000-10-31 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.h: Remove add/del/mod hashes and
add changed_hash.
* conduits/calendar/calendar-conduit.h: ditto
* conduits/todo/todo-conduit.c (next_changed_item): Utility function
to get the next "really" changed item (changed status can be cleared now)
(compute_status): Compute status based on changed_hash
(pre_sync): Fill changed_hash and counts adds/mods/dels
(set_status_cleared): New callback handler - avoid double syncing
(for_each_modified): Use next_changed_item to iterate
(add_archive_record): kill
(delete_archive_record): kill
(archive_record): New callback handler - mark/unmark archive status
(conduit_get_gpilot_conduit): Adjust signal connects
* conduits/calendar/calendar-conduit.c: ditto
svn path=/trunk/; revision=6297
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (pre_sync): Use e_pilot_map_read
(post_sync): Use e_pilot_map_write
* conduit/Makefile.am: Link libeconduit and not libical
svn path=/trunk/; revision=6121
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-20 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: New structure of file - similar
to calendar/todo conduits
* conduit/address-conduit.c: ditto
* conduit/address-conduit-config.h: Config stuff for conduit
* conduit/.cvsignore: Update
* conduit/Makefile.am: Build fixes
* conduit/address-conduit-control-applet.desktop: Renamed
to e-address-conduit-control-applet.desktop
* conduit/address.conduit.in: Renamed to e-address.conduit.in
svn path=/trunk/; revision=6081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-19 Christopher James Lahey <clahey@helixcode.com>
* conduit/address-conduit.c, conduit/address-conduit.h: Changed
this to use ECardSimple.
* contact-editor/e-contact-editor.c: Fixed a memory leak.
* gui/component/addressbook.c: Added stuff to the right click
menu. Activated the new search dialog that doesn't quite work
yet.
* gui/minicard/e-minicard-view.c: Fixed some run time warnings.
svn path=/trunk/; revision=4882
|
|
|
|
|
|
|
|
|
|
| |
2000-08-13 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (conduit_get_gpilot_conduit): add
special oaf initialization hack so conduit can find wombat, and
accept all cookies so that we can actually talk to oaf.
svn path=/trunk/; revision=4829
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (transmit): implement code to encode
the first email address and send to the pilot.
(get_phone_label_by_flag): rename find_phone_label_for_flags to
this, and implement by calling get_phone_label_by_name.
svn path=/trunk/; revision=4761
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (ecard_from_remote_record): add code
for handling email addresses from pilot (which stores it as a
phone number entry. go figure.)
(check_for_slow_setting): #if 0 out, since we don't use it (yet).
(update_record): un #if 0 the code to handle the case where the
pilot info has changed for a local record.
(merge_ecard_with_remote_record): implement function, but for now
just return the existing (desktop) record - we still don't allow
merge from the pilot.
svn path=/trunk/; revision=4758
|
|
|
|
| |
svn path=/trunk/; revision=4383
|
|
|
|
| |
svn path=/trunk/; revision=4382
|
|
|
|
| |
svn path=/trunk/; revision=4379
|
|
|
|
| |
svn path=/trunk/; revision=4378
|
|
|
|
| |
svn path=/trunk/; revision=4377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-card-types.h: add enum for e-card pilot status.
* conduit/address-conduit.c: #ifdef out all the archiving code with SUPPORT_ARCHIVING.
(purge): implement correctly - deleting ecards whose pilot status is DELETED.
(set_status): implement.
(set_pilot_id): add gtk_main call here to change commit_card into a synchronous
(delete_all): implement correctly - don't delete the records, just set their status to DELETED.
(local_record_from_ecard): get the current status from the ecard.
* backend/ebook/e-card.c (e_card_get_vcard): add vcard support for pilot status.
(parse_pilot_status): new function.
(e_card_class_init): add pilot status object arg.
(e_card_set_arg): add pilot status support.
(e_card_get_arg): same.
(e_card_init): initialize pilot_status to 0.
svn path=/trunk/; revision=4340
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c: add comment headers to signals that
didn't have any.
svn path=/trunk/; revision=4338
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (start_address_server): use the user's
Contact db. not toshok's.
svn path=/trunk/; revision=4337
|
|
|
|
| |
svn path=/trunk/; revision=4320
|
|
|
|
| |
svn path=/trunk/; revision=4306
|
|
svn path=/trunk/; revision=4174
|