aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
Commit message (Collapse)AuthorAgeFilesLines
* Random #ifdefs to make it build, although this file is going away.Federico Mena Quintero2000-03-102-23/+10
| | | | | | | | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/calendar.c: Random #ifdefs to make it build, although this file is going away. * gui/Makefile.am: Removed referenes to calobj.[ch] and timeutil.[ch]. * gui/calendar-conduit.c: Fixup includes. * gui/calendar-conduit.h: Fixup includes. svn path=/trunk/; revision=2092
* replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendarSeth Alves2000-03-091-1/+1
| | | | | | | | | | | | | | | * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
* Update to use gpilotd_get_pilot_basedir and ↵Vadim Strizhevsky2000-01-081-3/+1
| | | | | | gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new. svn path=/trunk/; revision=1544
* Added an argument to the corba get_number_of_objects, so you can decideEskil Heyn Olsen2000-01-051-52/+30
| | | | | | | which status the objects you count should have, eg. any or modified etc. Will add record type someday. svn path=/trunk/; revision=1535
* Minor unmiportant changes, but my laptop is acting up, so IEskil Heyn Olsen1999-12-301-3/+8
| | | | | | need them somewhere safe, eg. cvs :) svn path=/trunk/; revision=1522
* Capplets now sets first_sync on enable, this should make the conduit copyEskil Heyn Olsen1999-12-081-1/+4
| | | | | | | | * calendar-conduit-control-applet.c (setSettings): Capplets now sets first_sync on enable, this should make the conduit copy old entries from the pilot to gnomecal. svn path=/trunk/; revision=1476
* Check if local store is empty. If, force slow sync.Eskil Heyn Olsen1999-12-073-28/+50
| | | | | | | | | | | | | | | * calendar-conduit.c (pre_sync): Check if local store is empty. If, force slow sync. * GnomeCal.idl (GNOME): Added get_number_of_objects. * corba-cal.c (cal_repo_get_number_of_objects): implemented the get_number_of_objects. * calendar-conduit-control-applet.c (setStateCfg): Fixed bug that caused the capplet to always set the sync action to Disable upon start. svn path=/trunk/; revision=1475
* undef DEBUG_CALCONDUT, suppresses debug output.Eskil Heyn Olsen1999-12-031-2/+2
| | | | | | * calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output. svn path=/trunk/; revision=1455
* Fixed compare bug. Also neated up some of the if's in set_status.Eskil Heyn Olsen1999-11-301-11/+13
| | | | | | | * calendar-conduit.c (compare): Fixed compare bug. Also neated up some of the if's in set_status. svn path=/trunk/; revision=1444
* Writes some warning messages when pre_sync fails.Eskil Heyn Olsen1999-11-221-0/+2
| | | | | | | * calendar-conduit.c (pre_sync): Writes some warning messages when pre_sync fails. svn path=/trunk/; revision=1427
* Enabled debug output. Sets a g_log_domain, now version 0.8.5. ConsistentEskil Heyn Olsen1999-11-101-96/+316
| | | | | | | | | | | | | | | 1999-11-09 Eskil Heyn Olsen <deity@eskil.dk> * calendar-conduit.c: Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent use of GSList/GList. Implemented compare, default uses one that compares the contents of a struct Appointment, but also has #ifdeffed code that does a field level comparison, not complete, but perhaps educational. * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1376
* Commented the code out, thus the capplet works again.Eskil Heyn Olsen1999-11-051-0/+2
| | | | | | | * calendar-conduit-control-applet.c (readStateCfg): Commented the code out, thus the capplet works again. svn path=/trunk/; revision=1368
* Uses the PISOCK_LIBDIR, for people with odd install dirs for theirEskil Olsen1999-11-044-79/+182
| | | | | | | | | | | | | | | | | | | | | | | | 1999-11-04 Eskil Olsen <deity@eskil.dk> * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install dirs for their pilot-link. Also install a pretty icon for the calendar-conduit. * calendar-conduit-control-applet.c: Modfied the try/revert/ok/cancel scheme to be more intuitive, also uses a GtkOptionMenu for the possible sync methods. * calendar-conduit-control-applet.desktop: use the nice icon... * calendar-conduit.c: Ack, had to define debug_alarms and alarm_default, otherwise they are undefined. Is gncal code messy or is this considered a way of configuring the cal engine ? Implemented delete_all syncabs methods. * calendar-pilot-sync.c: also had to declare debug_alarms and alarm_defaults, just as ugly. svn path=/trunk/; revision=1367
* now it doesn't build todo conduit anymore. Since the conduit is just aEskil Heyn Olsen1999-10-225-283/+358
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: now it doesn't build todo conduit anymore. Since the conduit is just a skeleton, no need to build and install it. * calendar-conduit-control-applet.c: revamped for all the changes in calendar-conduit.h. Also fixed the pilotId bug that all conduit capplets had. * calendar-conduit-control-applet.desktop: renamed to GnomeCalendar. * calendar-conduit.h: Fixed namespace pollution, appended GCal to structures, gcalconduit to methods. Introduced the GCalConduitContext. * calendar-conduit.c: No more global variables, all is contained in a GCalConduitContext variable, that all the signals are passed as user data. svn path=/trunk/; revision=1338
* moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set theEskil Heyn Olsen1999-10-081-70/+97
| | | | | | | | | * calendar.c (calendar_object_changed): moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the modified flag. * calendar-conduit.c: more _free calls, vamped the noise on output. svn path=/trunk/; revision=1320
* checks return values from gpilotd_init/connect.Eskil Heyn Olsen1999-10-063-24/+42
| | | | | | | | | | * *conduit*[ch]: checks return values from gpilotd_init/connect. * calender.c (vcalendar_create_from_calendar): removed a set of cleanVObject cleanStrTbl, since the freed memory that the function returned. svn path=/trunk/; revision=1319
* Now has correct return values wrt the conduit api ref.Eskil Heyn Olsen1999-09-291-55/+87
| | | | svn path=/trunk/; revision=1318
* Small fix -miguelArturo Espinosa1999-09-281-2/+2
| | | | svn path=/trunk/; revision=1265
* the g_free that was commented out since glib said was a duplicate free,Eskil Heyn Olsen1999-09-252-36/+135
| | | | | | | | | | | | | | | | | | | * corba-cal.c: the g_free that was commented out since glib said was a duplicate free, was supposed to be a free. * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a get_objects_by_id_list. Latter is not done. * calendar-conduit.c: rewrote the way the conduit iterates over records. It no longers fetches all entries (since that didn't work with more then 285 entries. It now fetches the id list, and gets each record. (will be using get_objects_by_id_list to get records in amounts of 10 or so later, to reduce amount of corba calls). * calendar-conduit.c: now sets alarm parameters when transferring from gnomecal to pilot. svn path=/trunk/; revision=1257
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-234-5/+13
| | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. svn path=/trunk/; revision=1253
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-231-100/+149
| | | | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. The conduit is actually beginning to be usefull now... svn path=/trunk/; revision=1252
* commented out a g_free that glib reported as being a duplicate free. gotEskil Heyn Olsen1999-09-231-7/+19
| | | | | | | | * corba-cal.c: commented out a g_free that glib reported as being a duplicate free. * calendar_conduit.c: got gnomecal->pilot up and runnning. svn path=/trunk/; revision=1251
* lot of rework, implemented various set_* functions, transmit andEskil Heyn Olsen1999-09-212-168/+402
| | | | | | | | * gncal/calendar-conduit: lot of rework, implemented various set_* functions, transmit and free_transmit, now appears stable, still only syncs oneway (pilot -> gnomecal) svn path=/trunk/; revision=1243
* About to rehash conduit.Eskil Heyn Olsen1999-09-191-4/+38
| | | | | | Changed pilotid in calobj to guint32. svn path=/trunk/; revision=1240
* changed to be a .la file instead of .a, this allows lib*_conduit to useEskil Heyn Olsen1999-09-192-43/+180
| | | | | | | | | | | | * libversit: changed to be a .la file instead of .a, this allows lib*_conduit to use the library. * gncal/calendar-conduit: implemented iterate and iterate_specific. * gncal/corba-cal: fixed warnings. svn path=/trunk/; revision=1239
* added sources to calendar-conduitEskil Heyn Olsen1999-09-151-29/+238
| | | | | | | | | | | | * gncal/Makefile.am: added sources to calendar-conduit * gncal/calendar-conduit.c: imported Miguels update_record function * gncal/corba-cal.c: fixed a grave bug in exception throwing, which cause ORBit to sigsegv. svn path=/trunk/; revision=1229
* forgot the .desktop files...`Eskil Heyn Olsen1999-09-082-0/+12
| | | | svn path=/trunk/; revision=1217
* uses GNOME_PILOT_CHECKEskil Heyn Olsen1999-09-086-5/+1045
| | | | | | | | | | | | | | | | | | | * 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
* fix this.Jonathan Blandford1999-08-031-0/+3
| | | | svn path=/trunk/; revision=1067
* add thisJonathan Blandford1999-07-311-0/+205
svn path=/trunk/; revision=1048