| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-27 <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (add_archive_record): Remove
invalid test.
(local_record_from_comp): If the event is all day, mark it as timeless
(comp_from_remote_record): Timeless events take up all day
* conduits/todo/todo-conduit.c (add_archive_record): ditto
svn path=/trunk/; revision=6230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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>
* 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-20 JP Rosevear <jpr@helixcode.com>
* pcs/cal-backend.c (cal_backend_destroy): New destroy
handler to properly stop the timer, sync the log and unref
the URI.
(cal_backend_last_client_gone): Just emit the signal,
clean up work is done in cal_backend_destroy now.
* pcs/cal-backend-file.c (cal_backend_file_load): Unref the
uri we are replacing NOT the new uri.
2000-10-20 JP Rosevear <jpr@helixcode.com>
* conduits/todo/Makefile.am: Fix build
* conduits/calendar/Makefile.am: Fix build
2000-10-20 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (delete_archive_record):
Don't throw an error
* conduits/todo/todo-conduit.c (delete_archive_record): ditto
2000-10-20 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit-control-applet.c: Add defines
* conduits/todo/todo-conduit-config.h: put #ifdefs around functions
can't make this a public interface in the usual way as then the
symbols would be exported
* conduits/todo/todo-conduit.c: Kill warnings. clahey will be
happy! Add some defines to include only the necessary config functions.
(conduit_get_gpilot_conduit): Hook up archive signals
* conduits/calendar/calendar-conduit.c: Same as above
* conduits/calendar/calendar-conduit-control-applet.c: ditto
* conduits/calendar/calendar-conduit-config.h: ditto
svn path=/trunk/; revision=6086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-17 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit-control-applet.c: Add defines
* conduits/todo/todo-conduit-config.h: put #ifdefs around functions
can't make this a public interface in the usual way as then the
symbols would be exported
* conduits/todo/todo-conduit.c: Kill warnings. clahey will be
happy! Add some defines to include only the necessary config functions.
(conduit_get_gpilot_conduit): Hook up archive signals
* conduits/calendar/calendar-conduit.c: Same as above
* conduits/calendar/calendar-conduit-control-applet.c: ditto
* conduits/calendar/calendar-conduit-config.h: ditto
svn path=/trunk/; revision=5967
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 JP Rosevear <jpr@helixcode.com>
* pcs/cal-backend.c (cal_backend_log_entry): Take CalObjType
as a param because its impossible to determine after a delete.
(cal_backend_remove_object): Calculate CalObjType and pass
it to cal_backend_log_entry
(cal_backend_update_object): ditto
* conduits/todo/todo-conduit.c (local_record_from_comp): Kill
unused variables.
(add_archive_record): Don't kill the sync if this happens
(update_record): Kill old function
(replace_record): New function to handle replace_record signal
(conduit_get_gpilot_conduit): Listen for replace record signal
(add_record): Always add a new record, never replace
(replace_record): Always replace an existing record
* conduits/calendar/calendar-conduit.c: Same as above
2000-10-11 JP Rosevear <jpr@helixcode.com>
* configure.in: Fix bonobo error message
svn path=/trunk/; revision=5866
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (map_sax_start_element): The
element is "pilot_id" not "pilotid". Update both maps
(compute_pid): Utility function to set a local records pid
(local_record_from_comp): Compute the pid and status here,
no longer use the old cal_component pilot interfaces
(free_match): Its a *local not a **local
* conduits/calendar/calendar-conduit.c: same as above
* conduits/todo/todo-conduit.h: Have both a uid and pid map
* conduits/todo/calendar-conduit.h: same as above
svn path=/trunk/; revision=5836
|
|
|
|
|
|
|
|
|
| |
2000-10-09 JP Rosevear <jpr@helixcode.com>
* conduits/*: Adjust to using gnome-pilot-sync-abs conduit which
is based on the latest pilot link changes.
svn path=/trunk/; revision=5812
|
|
|
|
|
|
|
|
|
| |
2000-09-20 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (pre_sync): Don't fail if there
is no map file.
svn path=/trunk/; revision=5532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-20 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.h: Add since field to context
* conduits/todo/todo-conduit.c (map_set_node_timet): New utility
function
(map_sax_start_element): Look for the map timestamp as well
(map_write): Write the map timestamp
(pre_sync): Use the map time stamp when looking for changed entries
* pcs/cal-backend.c (cal_backend_log_sax_start_element): Make sure
we are in a valid timestamp
svn path=/trunk/; revision=5527
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-20 JP Rosevear <jpr@helixcode.com>
* pcs/cal-backend.c (cal_backend_get_log_entries): Use a local
sax handler.
* conduits/todo/todo-conduit.c (pre_sync): Use xmlSAXParseFile
(map_sax_parse): Delete
svn path=/trunk/; revision=5524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-19 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (check_for_slow_setting): Add some
other cases where a slow sync is in order
(pre_sync): Pre load the uids, the map and the add/mod/del lists
(match_record): Use the map hash to match records
(iterate): Iterate using the pre-loaded uid list
(iterate_specific): Iterate using the add/mod/del lists
(purge): Delete all entries in the del list
(set_status): Set status by adding to an appropriate list
(set_pilot_id): Set pilot_id by updating map hash
* conduits/todo/todo-conduit.h: Add lists for added, modified and
deleted objects
* conduits/todo/todo-conduit.c (map_name): Get the pilot_id->uid
map
file name
(map_sax_start_element): SAX handler to extract a pilot_id->uid
mapping
(map_sax_parse): Parse the given file and build a pilot_id->uid
hash
(map_write_foreach): Write out individual mapping elements
(map_write): Write out the pilot_id->uid mapping
(start_calendar_server_cb): Rename from gnome_calendar_load_cb
* conduits/todo/todo-conduit-config.h: Rename pilotID to pilot_id
* conduits/todo/e-todo.conduit.in: A little renaming
* conduits/todo/Makefile.am: Fix build slightly
* pcs/cal.c (build_change_seq): Build a corba sequence out of a
list
of CalObjChanges
(Cal_get_objects_in_range): Implement new corba function
* pcs/cal-backend.c (cal_backend_init): Intiliaze to NULL
(cal_backend_load): Track the uri so we can write the log file
to the same place
(cal_backend_log_name): Figure out the log filename/path based on
the calendar uri
(cal_backend_set_node_timet): Set an xml node property value from
a time_t
(cal_backend_log_entry): Adds a log entry to list waiting to be
written
out
(cal_backend_log_sync): Syncs the log entries to disk
(cal_backend_log_sax_start_element): SAX callback for reading in
log entries
(cal_backend_log_sax_end_element): ditto
(cal_backend_log_sax_parse): Main SAX parser call to parse the log
file looking for particular log entries and creating a
CalObjChange
hash with the last change for each object
(cal_backend_get_log_entries): Returns a hash of objects of a
given
type changed since the given time
(cal_backend_update_object): Add appropriate log entries
(cal_backend_remove_object): ditto
(cal_backend_get_changed_uids): Implement new idl interface call
(cal_backend_foreach_changed): Convert CalObjChange hash into a
list
* pcs/cal-backend-imc.[hc]: Remove crufty files
* pcs/cal-backend-file.c (cal_backend_file_get_type_by_uid): New
function that returns the CalObjType for a uid.
* cal-client/cal-client.h: Update prototypes.
* cal-client/cal-client.c (build_change_list): Build a list
of CalObjChange items from a corba sequence.
(cal_client_get_changed_uids): New accessor method for the
similarly named addition to the idl file.
* cal-util/cal-util.h: Update prototypes and add CalObjChangeType
enum.
* cal-util/cal-util.c (cal_obj_change_list_free): New utility
method to free a list of CalObjChange objects.
* idl/evolution-calendar.idl: Add get_changed_uids method
and associated types.
svn path=/trunk/; revision=5512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-14 JP Rosevear <jpr@helixcode.com>
* Add headers with GPL notice and credit copyright to those
appropriate
* conduits/todo/todo-conduit-control-applet.c (doHelp): Update
name,
authors, copyright for about dialog.
(activate_sync_type): Tidy
* conduits/todo/Makefile.am: Rename binaries and libs to e-todo*
to avoid conflicts.
* conduits/todo/e-todo.conduit.in: Reflect binary/lib name changes
* conduits/todo/e-todo-conduit-control-applet.desktop: ditto
* conduits/todo/todo.conduit.in: Removed
* conduits/todo/todo-conduit-control-applet.desktop: Removed
* conduits/todo/todo-conduit-config.h
(todoconduit_load_configuration):
The config file will now be called e-todo-conduit
(todoconduit_save_configuration): ditto
* conduits/todo/todo-conduit.c: Some renaming to keep consistent.
(pre_sync): Remove commented out function that does not exist.
* conduits/todo/todo-conduit-control-applet.c: ditto
* conduits/todo/todo-conduit-config.h: ditto
* conduits/todo/todo-conduit.h: ditto
svn path=/trunk/; revision=5433
|
|
|
|
|
|
|
|
|
|
| |
2000-09-12 JP Rosevear <jpr@helixcode.com>
* pcs/cal-backend-file.c (cal_backend_file_load): Use g_int_*
for now
(cal_backend_file_create): ditto
svn path=/trunk/; revision=5385
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-11 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c: Handle renaming, header cleanup
* conduits/todo/todo-conduit.h: Rename GCalLocalRecord to
EToDoLocalRecord, header cleanup
svn path=/trunk/; revision=5312
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-11 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (comp_from_remote_record): Use
description list instead of comment list for pilot todo note
(transmit): Check for null cal component properties, set priority
correctly, use description list instead of comment list. Make
pilot record private when appropriate.
svn path=/trunk/; revision=5311
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (comp_from_remote_record): Only
set the due date only if it exists
svn path=/trunk/; revision=5310
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c
(update_calendar_entry_in_repository):
Make log output a little more sensible
(comp_from_remote_record): Minor correction when making a
CalComponent
from scratch.
(update_record): Use comp_from_remote_record for new items, rather
than repeating the code here.
svn path=/trunk/; revision=5307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c: Remove catch_ret_val function
since its no longer useful. Fix naming of various fields from
the header changes. Use GnomePilotRecord* stuff instead of
ICAL_PILOT_SYNC_*
(e_todo_context_new): Rename from gcalconduit_new_context. Now
takes
a pilot id and loads the configuration here
(e_todo_context_destroy): Rename from gcalconduit_destroy_context.
Unref the client and destroy the configuration if they exist here
(start_calendar_server): Change the default calendar name
(local_record_from_comp_uid): Rename from
local_record_from_ical_uid
(local_record_from_compobject): Rename from
local_record_from_icalobject. Properly do the pilot id and
status.
(comp_from_remote_record): Rename from ical_from_remote_record.
Handle due, complete, classification and pilot stuff properly
(pre_sync): Remove some old stuff. We need to figure out how to
set some of the field values.
(set_status): Reflect pilot status changes from above
(conduit_destroy_gpilot_conduit): Remove cleanup stuff that is
now done by e_todo_context_destroy
(conduit_get_gpilot_conduit): Only set the context as object
data of the conduit.
* conduits/todo/todo-conduit.h: Rename GCalConduitContext to
EToDoConduitContext. Remove some unused struct fields.
For GCalLocalRecord, rename ical to comp.
svn path=/trunk/; revision=5306
|
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c: Convert "//" style comments
(local_record_from_ical_uid): Remove iCalObject cruft
(ical_from_remote_record): ditto
(free_match): Properly unref the CalComponent
svn path=/trunk/; revision=5299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (local_record_from_icalobject): Use
cal component pilot stuff properly
(find_record_in_repository): Remove cruft
(ical_from_remote_record): Remove cruft
(update_record): Set the vtype immediately after creation. Remove
cruft
* conduits/todo/todo-conduit.h: Remove iCalObject stuff
* conduits/todo/todo-conduit-config.h: Move all the config stuff
here, I need to kill the warnings at some point
* conduits/todo/todo-conduit-control-applet.c (doRevertSettings):
Set all the state variables correctly on a revert
(doSaveSettings): Update original state
(doHelp): Rename from about_cb
(main): Destroy configurations when done
* conduits/todo/Makefile.am: Tidy
* pcs/cal-backend-file.c (cbf_pilot_hash): Function for hashing
pilot ids
(cbf_pilot_equal): For hash table of pilot ids
(cal_backend_file_destroy): Destroy pilot id hash
(add_component): Insert the uid into the pilot hash
(remove_component): Remove the uid from the pilot hash
(cal_backend_file_load): Create the pilot hash
(cal_backend_file_create): ditto
(cal_backend_file_get_uid_by_pilot_id): Implement using the pilot
hash
(cal_backend_file_update_pilot_id): ditto
* cal-util/cal-component.h: Update prototypes
* cal-util/cal-component.c (cal_component_get_pilot_id): Implement
using ical X properties
(cal_component_set_pilot_id): ditto
(cal_component_get_pilot_status): ditto
(cal_component_set_pilot_status): ditto
(cal_component_free_pilot_id): Free a pilot id
(cal_component_free_pilot_status): Free a pilot status
svn path=/trunk/; revision=5298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-02 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Added calendar/conduits/Makefile,
calendar/conduits/calendar/Makefile and
calendar/conduits/todo/Makefile to the list of makefiles to
output.
From calendar/ChangeLog:
2000-09-02 Christopher James Lahey <clahey@helixcode.com>
* conduits/calendar/calendar-conduit.c,
conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c:
Fixed some warnings.
From mail/ChangeLog:
2000-09-01 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c: Removed a warning.
svn path=/trunk/; revision=5179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c: Update for new libical.
Conduits should atleast compile again.
* conduits/calendar/calendar-conduit.c: ditto
* Makefile.am: Build the conduits only when they've been
enabled.
svn path=/trunk/; revision=5165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/cal-component.c (cal_component_get_pilot_id):
(cal_component_set_pilot_id): stubs for pilot id accessors
(cal_component_get_pilot_status):
(cal_component_set_pilot_status): stubs for pilot status accessors
* conduits/calendar/calendar-conduit.c (transmit): start to
convert to cal-component interface
* conduits/todo/todo-conduit.c (transmit): same
svn path=/trunk/; revision=4767
|
|
|
|
|
|
|
|
|
| |
* conduits/todo/todo-conduit.c (conduit_get_gpilot_conduit): if
oaf isn't initialized by the time the conduit starts, start it
up. we do this because we need to start wombat with oaf, and
gpilotd doesn't currently start oaf.
svn path=/trunk/; revision=4539
|
|
|
|
| |
svn path=/trunk/; revision=4501
|
|
|
|
|
|
|
|
|
|
|
| |
* conduits/todo/todo-conduit.c: conduit based on the calendar conduit.
this conduit syncs a pilot's ToDoDB database to wombat's list of "todo"
events.
* gui/gncal-todo.c (simple_todo_editor): set todo's priority control
based on value from ical object during edit.
svn path=/trunk/; revision=4156
|
|
|
|
| |
svn path=/trunk/; revision=4130
|
|
* configure.in: uses GNOME_PILOT_CHECK
* gncal/GnomeCal.idl: added a get_objects() call,
which returns all the objects in the calendar.
* gncal/Makefile.am: added two conduits with
control-applets. Compiled only if configure sets
HAVE_GNOME_PILOT
* gncal/calender-conduit.[ch]: began implementing conduit.
* gncal/todo-conduit.[ch]: begin implementing conduit.
* gncal/corba-cal.c: implemented the get_objects() call.
svn path=/trunk/; revision=1216
|