Commit Graph

48 Commits

Author SHA1 Message Date
83bf2090ac if oaf isn't initialized by the time the conduit starts, start it up. we
* 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
2000-08-04 23:37:17 +00:00
baa5d86837 fixed a bunch of bugs, added a lot of debug spew.
svn path=/trunk/; revision=4501
2000-08-03 02:35:15 +00:00
38168a2e40 New function. (scan_property): Handle the RDATE property. (scan_period):
2000-07-25  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_free_period_list): New function.
	(scan_property): Handle the RDATE property.
	(scan_period): Likewise.
	(free_icalcomponent): Likewise.
	(get_period_list): Likewise.
	(set_period_list): Likewise.
	(cal_component_get_rdate_list): Likewise.
	(cal_component_set_rdate_list): Likewise.
	(scan_text): Simplify a bit since we only handle the ALTREP
	parameter; there is no need to iterate over all parameters.
	(scan_datetime): Simplify; just handle the TZID parameter.
	(scan_summary): Simplify; just handle the ALTREP parameter.
	(cal_component_get_as_string): New function.

	* idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER;
	now we only expose the types of objects we know about.

	* cal-util/cal-util.h (CalObjType): Likewise.

	* cal-client/cal-client.c (cal_client_get_n_objects): Likewise.
	(cal_client_get_uids): Likewise.

	* conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise.
	(check_for_slow_setting): Likewise.

	* pcs/cal-backend-imc.c (count_objects): Likewise.
	(build_uids_list): Likewise.

	* pcs/cal.c (Cal_get_uids): Likewise.
	(Cal_get_n_objects): Likewise.

svn path=/trunk/; revision=4336
2000-07-25 22:01:22 +00:00
a3ba8ebd3b Added the Turkish desktop entries
svn path=/trunk/; revision=4227
2000-07-19 21:57:39 +00:00
085e18d437 conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDB
* 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
2000-07-13 21:35:57 +00:00
9729426da1 small cleanups, quiet compiler
svn path=/trunk/; revision=4145
2000-07-13 15:05:41 +00:00
d75a6c0b38 todo conduit builds and plays nice but does nothing
svn path=/trunk/; revision=4130
2000-07-12 23:34:10 +00:00
ed332931e1 fixed various problems
* conduits/calendar/calendar-conduit.c: fixed various problems

	* cal-client/Makefile.am: build a static version of the library
	to link with the conduits

	* cal-util/Makefile.am: same

svn path=/trunk/; revision=4116
2000-07-12 18:26:16 +00:00
a5edbcbd01 ignore binaries
svn path=/trunk/; revision=4073
2000-07-10 23:47:21 +00:00
6f15b362cc remove gnomecal.conduit
* gui/Makefile.am (EXTRA_DIST): remove gnomecal.conduit

	* conduits/calendar/Makefile.am (EXTRA_DIST): We want
	calendar.conduit.in, not calendar.conduit.

svn path=/trunk/; revision=4070
2000-07-10 23:27:18 +00:00
4b266ff799 *** empty log message ***
svn path=/trunk/; revision=4067
2000-07-10 23:00:55 +00:00
096d8845b4 *** empty log message ***
svn path=/trunk/; revision=4065
2000-07-10 22:57:47 +00:00
1cee3b4887 updated calendar conduit to use oaf and wombat
svn path=/trunk/; revision=4061
2000-07-10 22:54:56 +00:00
10c3eb46b1 added makefiles for calendar conduits
* configure.in: added makefiles for calendar conduits

	* gui/Makefile.am (SUBDIRS):
	* conduits/calendar/Makefile.am: moved calendar-conduit stuff from
	the gui directory to here.

	* Makefile.am (SUBDIRS): added conduits to SIBDIRS

svn path=/trunk/; revision=4058
2000-07-10 22:36:06 +00:00
ae33d3f67e Removed from the public header; made static. Now everyone should use
2000-06-06  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/calobj.c (ical_object_destroy): Removed from the public
	header; made static.  Now everyone should use refcounting.

	* pcs/cal-backend-imc.c (free_ical_object): Use
	ical_object_unref().
	(remove_object): Likewise.

svn path=/trunk/; revision=3439
2000-06-06 18:15:57 +00:00
a677dc02e0 Added Norwegian translation
svn path=/trunk/; revision=3147
2000-05-21 19:48:15 +00:00
9a5cce66b1 updated Danish strings
svn path=/trunk/; revision=2682
2000-04-29 18:02:54 +00:00
e3769571ce Added Danish strings to desktop/menu file
svn path=/trunk/; revision=2489
2000-04-18 20:19:40 +00:00
acd3bd04ea Random #ifdefs to make it build, although this file is going away.
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
2000-03-09 21:14:19 +00:00
873dfc7f89 replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar
* 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
2000-03-09 14:25:56 +00:00
25606cbf7d Update to use gpilotd_get_pilot_basedir and gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new.
svn path=/trunk/; revision=1544
2000-01-08 04:44:57 +00:00
36e5e42d31 Added an argument to the corba get_number_of_objects, so you can decide
which status the objects you count should have, eg. any or modified
etc. Will add record type someday.

svn path=/trunk/; revision=1535
2000-01-05 12:12:44 +00:00
d0606659a4 Minor unmiportant changes, but my laptop is acting up, so I
need them somewhere safe, eg. cvs :)

svn path=/trunk/; revision=1522
1999-12-29 20:46:09 +00:00
98b072cced Capplets now sets first_sync on enable, this should make the conduit copy
* 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
1999-12-08 00:45:53 +00:00
b279ef22cc Check if local store is empty. If, force slow sync.
* 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
1999-12-07 03:43:51 +00:00
aea33f51dd undef DEBUG_CALCONDUT, suppresses debug output.
* calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output.

svn path=/trunk/; revision=1455
1999-12-03 00:14:36 +00:00
6e69c39698 Fixed compare bug. Also neated up some of the if's in set_status.
* calendar-conduit.c (compare): Fixed compare bug. Also neated up
	some of the if's in set_status.

svn path=/trunk/; revision=1444
1999-11-30 00:26:02 +00:00
c75604cac3 Writes some warning messages when pre_sync fails.
* calendar-conduit.c (pre_sync): Writes some warning
 	messages when pre_sync fails.

svn path=/trunk/; revision=1427
1999-11-22 01:20:45 +00:00
4e15d4092c Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent
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
1999-11-09 19:28:29 +00:00
c8fce201dc Commented the code out, thus the capplet works again.
* calendar-conduit-control-applet.c (readStateCfg): Commented the
        code out, thus the capplet works again.

svn path=/trunk/; revision=1368
1999-11-05 12:38:16 +00:00
ee413a3fd2 Uses the PISOCK_LIBDIR, for people with odd install dirs for their
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
1999-11-04 14:20:13 +00:00
47f01927e1 now it doesn't build todo conduit anymore. Since the conduit is just a
* 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
1999-10-22 01:16:15 +00:00
df56237294 moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the
* 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
1999-10-07 18:26:46 +00:00
fe4a9b93de checks return values from gpilotd_init/connect.
* *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
1999-10-06 15:23:18 +00:00
f0ba84bd71 Now has correct return values wrt the conduit api ref.
svn path=/trunk/; revision=1318
1999-09-29 13:19:07 +00:00
241a65b72b Small fix -miguel
svn path=/trunk/; revision=1265
1999-09-27 20:56:29 +00:00
008fb50b9f the g_free that was commented out since glib said was a duplicate free,
* 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
1999-09-25 14:30:22 +00:00
2c445af124 better merge of summary/description when doing ical_from_remote
* 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
1999-09-23 05:58:40 +00:00
af62852034 better merge of summary/description when doing ical_from_remote
* 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
1999-09-23 04:05:36 +00:00
a6d203d4a8 commented out a g_free that glib reported as being a duplicate free. got
* 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
1999-09-22 22:28:41 +00:00
ad24a0d6eb lot of rework, implemented various set_* functions, transmit and
* 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
1999-09-20 21:09:00 +00:00
0c7bf54679 About to rehash conduit.
Changed pilotid in calobj to guint32.

svn path=/trunk/; revision=1240
1999-09-19 09:35:41 +00:00
f75cc7238b changed to be a .la file instead of .a, this allows lib*_conduit to use
* 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
1999-09-19 01:14:24 +00:00
7251a2d2bc added sources to calendar-conduit
* 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
1999-09-15 08:38:05 +00:00
445fa5fd05 forgot the .desktop files...`
svn path=/trunk/; revision=1217
1999-09-08 13:15:32 +00:00
8550ca3f28 uses GNOME_PILOT_CHECK
* 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
1999-09-08 13:06:07 +00:00
a58fc79aab fix this.
svn path=/trunk/; revision=1067
1999-08-02 20:19:53 +00:00
686958286d add this
svn path=/trunk/; revision=1048
1999-07-30 21:56:36 +00:00