Commit Graph

126 Commits

Author SHA1 Message Date
27692f2580 Remove UNICODE_LIBS
* conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Remove
	UNICODE_LIBS

	* cal-client/Makefile.am (client_test_LDADD): Remove -lunicode

svn path=/trunk/; revision=9588
2001-04-26 18:32:01 +00:00
1e9f8b5d12 create doc/devel/executive-summary/Makefile
2001-03-14  Gediminas Paulauskas <menesis@delfi.lt>

	* configure.in: create doc/devel/executive-summary/Makefile

	* doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml
	anymore

	* filter/filter-system-flag.c: translate status flag title.

svn path=/trunk/; revision=8714
2001-03-14 22:50:55 +00:00
07ea88fad1 PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove
2001-03-09  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/Makefile.am: PISOCK_INCLUDEDIR has become
	PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=8651
2001-03-12 22:40:55 +00:00
dee3e832b9 install conduit icons
2001-03-02  JP Rosevear  <jpr@ximian.com>

	* art/Makefile.am: install conduit icons

2001-03-02  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: update sed script

	* conduit/e-address.conduit.in: update for new pilot foo

2001-03-02  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/e-todo.conduit.in: update for new pilot foo

	* conduits/calendar/e-calendar.conduit.in: ditto

	* conduits/todo/Makefile.am: update sed script

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=8529
2001-03-02 19:43:11 +00:00
269b6e0a43 Oops, forgotten bits from last commit
svn path=/trunk/; revision=8294
2001-02-20 00:18:09 +00:00
d0cb488f87 Remove PISOCK_LIBDIR
001-02-19  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/Makefile.am: Remove PISOCK_LIBDIR

	* conduits/calendar/Makefile.am: ditto

2001-02-19  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: Remove PISOCK_LIBDIR

svn path=/trunk/; revision=8287
2001-02-19 23:35:09 +00:00
ac9abd5e60 Getting almost full and proper use of xml-i18n-tools.
Removed all files where glade writes strings.
Changed Makefile.am to not distribute them.
Changed all glade files to not write strings to those files.

Removed *.desktop and evolution.keys files, because they are generated.
Added them to .cvsignore
Added *.desktop.in evolution.keys.in files without transalted strings.
Added all existing entries from desktop files to po files.
Changed Makefile.am to distribute only .in files, and merge translations into
desktop files.

Removed obsolete files from po/ dir

svn path=/trunk/; revision=8164
2001-02-11 02:56:16 +00:00
ba874ca7d0 Added Slovak messages
svn path=/trunk/; revision=7893
2001-01-29 17:59:00 +00:00
34e6621ac1 libical import cleanup
2001-01-23  JP Rosevear  <jpr@ximian.com>

	*  libical import cleanup

svn path=/trunk/; revision=7753
2001-01-23 20:58:23 +00:00
4e6218b86b properly ref the cal component when we use it, prevents double free
2001-01-23  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (local_record_from_comp): properly ref
	the cal component when we use it, prevents double free

	* conduits/calendar/calendar-conduit.c (local_record_from_comp): ditto

svn path=/trunk/; revision=7741
2001-01-23 06:34:56 +00:00
38ae9b4005 remove duplicate message
2001-01-22  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (for_each_modified): remove duplicate
	message

	* conduits/calendar/Makefile.am: Remove vfs lib dependency

	* conduits/todo/Makefile.am: ditto

	* conduits/calendar/calendar-conduit.c: Remove alarm foo for now
	(for_each_modified): remove duplicate message

svn path=/trunk/; revision=7725
2001-01-22 23:09:12 +00:00
4f646fd08b Remove alarm foo for now
2001-01-22  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c: Remove alarm foo for now

2001-01-21  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c (delete_record): Remove
	deleted records from the pilot map so we don't have dupes in the future

	* conduits/todo/todo-conduit.c (delete_record): ditto

svn path=/trunk/; revision=7719
2001-01-22 20:08:26 +00:00
4c9ec36493 Updated sl translations
svn path=/trunk/; revision=7701
2001-01-22 11:38:22 +00:00
3532a74349 create a new cal component alarm (cal_component_add_alarm): add alarm to
2001-01-19  JP Rosevear  <jpr@ximian.com>

	* cal-util/cal-component.c (cal_component_alarm_new): create a new
	cal component alarm
	(cal_component_add_alarm): add alarm to the cal component
	(cal_component_remove_alarm): remove alarm from the cal component
	(remove_alarm): remove alarm from hash

	* cal-util/cal-component.h: new protos

	* conduits/calendar/calendar-conduit.c (comp_from_remote_record):
	add alarm information, still needs to be hacked to replace an already
	existing alarm.  questions abound about the heuristic for doing this.

2001-01-17  JP Rosevear  <jpr@ximian.com>

	* README: Update package requirements

svn path=/trunk/; revision=7647
2001-01-19 14:57:09 +00:00
4358994dbe Check for open error and handled
1-01-17  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c (start_calendar_server): Check
	for open error and handled

	* conduits/todo/todo-conduit.c (start_calendar_server): ditto

svn path=/trunk/; revision=7579
2001-01-17 15:46:17 +00:00
0932fd7ec9 Ximianified email addresses and copyrights.
2001-01-17  Federico Mena Quintero  <federico@ximian.com>

	* */*: Ximianified email addresses and copyrights.

	* idl/evolution-calendar.idl (CalFactory::open): Renamed from
	::load(), and added an only_if_exists argument.
	(CalFactory::create): Removed method.
	(Listener::OpenStatus): Removed the IN_USE error and replaced it
	with a NOT_FOUND one; renamed the enum from LoadStatus.
	(Listener::notifyCalOpened): Renamed from notifyCalLoaded().

	* pcs/cal-backend.h (CalBackend): Removed the uri field.
	(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
	added a NOT_FOUND value.
	(CalBackendClass::open): Put in a slot for the open method.

	* pcs/cal-backend.c (cal_backend_create): Removed function.

	* pcs/cal-backend-file.c (cal_backend_file_open): Return the
	appropriate value when only_if_exists is TRUE.
	(create_cal): We are Ximian now, so set the PRODID property to
	the appropriate foo.

	* pcs/cal-factory.c (CalFactory_open): implemented, replacing
	CalFactory_load() and CalFactory_create().
	(CalFactory_open): Moved the queue_load_create_job() stuff to
	here, since we now only need to contemplate the open case instead
	of load/create ones.
	(open_backend): Do everything here; replaces load_backend() and
	create_backend().

	* cal-client/cal-listener.h (CalListenerClass::cal_opened):
	Renamed from cal_loaded.
	(CalListenerClass): Replaced the silly signals, which are
	gratuitous abstraction, by a set of function pointers in the
	instance structure.

	* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
	unused function.
	(cal_listener_construct): Added the listener notification functions.
	(cal_listener_new): Ditto.
	(Listener_notifyCalOpened): Renamed to our new naming convention
	for servant implementations.
	(Listener_notifyObjUpdated): Ditto.
	(Listener_notifyObjRemoved): Ditto.

	* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
	CalClientLoadStatus.
	(CalClientClass::cal_opened): Renamed from ::cal_loaded().
	(CalClientLoadState): New enum; basically make LoadState public so
	that users of this code do not have to maintain their own states.

	* cal-client/cal-client.c (cal_client_create_calendar): Removed
	function.
	(cal_client_open_calendar): Moved the functionality over from
	load_or_create(); now we do everything here.
	(*): Use the CalClientLoadState enum values instead of the old
	LoadState values.
	(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
	and return the appropriate value.
	(CalClientPrivate): Added an uri field.
	(cal_client_init): Initialize priv->uri.
	(cal_client_destroy): Free the priv->uri.
	(cal_opened_cb): Maintain the priv->uri.
	(cal_client_open_calendar): Fill in the priv->uri.
	(cal_client_get_uri): New function.

	* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
	function to configure the type of calendar components to create
	when doing click-to-add.  This makes the model usable for
	something other than task lists.
	(calendar_model_get_new_comp_vtype): New function.

	* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
	(e_calendar_table_destroy): Unref the subset_model.

	* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.

	* gui/gnome-cal.c (LoadState): Removed enum; we now use the
	CalClientLoadState from the client objects.
	(GnomeCalendarPrivate): Removed the loading_uri and
	task_pad_loading_uri fields as well as the load_state and
	task_pad_load_state fields, as we can now query them directly from
	the CalClient.
	(open_error): Renamed from load_error().
	(create_error): Removed function.
	(gnome_calendar_open): Do not take in the mode parameter.
	(cal_opened_cb): Get rid of our beautifully-crafted state machine
	and replace it with simple code; all the loading smarts are in the
	Wombat now.
	(setup_widgets): Set the new component vtype of the table model to
	CAL_COMPONENT_TODO.

	* gui/Makefile.am (evolution_calendar_SOURCES): Removed
	gnome-month-item.[ch] from the list of sources.

	* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
	field.
	(create_summary_view): Do not check if the file exists; this is
	the job of the Wombat.
	(generate_html_summary): Fixed prototype.
	(alarm_fn): Fixed prototype.
	(property_dialog): Fixed prototype.  Wonder if/how this ever
	worked.
	(create_summary_view): Cast the component and view as
	appropriate.  Removed unused html variable.

	[Iain dude, are you compiling with -Wall?]

	* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
	signature was *very* wrong.  It was using CalClientGetStatus
	instead of CalClientOpenStatus.

	* gui/e-tasks.h (ETasksOpenMode): Removed enum.

	* gui/e-tasks.c (setup_widgets): Set the new component vtype of
	the table model to CAL_COMPONENT_TODO.
	(LoadState): Removed the state machine foo.
	(e_tasks_open): Removed the mode parameter.
	(initial_load): Removed function.
	(create_error): Removed function.
	(ETasksPrivate): Removed folder_uri field.
	(cal_opened_cb): Remove the state machine.

	* gui/component-factory.c: #include "tasks-control.h"

	* conduits/calendar/calendar-conduit.h (ECalConduitContext):
	Removed calendar_load_tried field.

	* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
	Sigh, fixed function prototype.

	* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
	calendar_load_tried field.

	* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
	function prototype.

svn path=/trunk/; revision=7571
2001-01-17 10:44:33 +00:00
5179437ab2 fix debug output (print_remote): ditto
2001-01-16  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (print_local): fix debug output
	(print_remote): ditto

svn path=/trunk/; revision=7548
2001-01-16 22:35:24 +00:00
359bc474c0 accomadate tasks in their new dir
2001-01-15  JP Rosevear  <jpr@ximian.com>

	* pcs/cal-backend.c (cal_backend_compute_changes): accomadate tasks
	in their new dir

	* conduits/todo/todo-conduit.c (start_calendar_server): ditto

svn path=/trunk/; revision=7512
2001-01-15 20:36:32 +00:00
ff3935d0a6 '2001-01-15 JP Rosevear <jpr@ximian.com>
* 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-15 16:01:35 +00:00
80b2b2222e pass -module and -avoid-version to conduit linker
2001-01-14  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/Makefile.am: pass -module and -avoid-version to
	conduit linker

	* conduits/todo/Makefile.am: ditto

svn path=/trunk/; revision=7490
2001-01-14 14:58:15 +00:00
ae5692831b Fix erroneous documentation
2000-12-20  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.h: Fix erroneous documentation

	* conduits/todo/todo-conduit.c (comp_from_remote_record): if
	!is_empty_time rather than is_empty_time
	(e_todo_context_new): Return a pointer rather than fill in
	a parameter
	(e_todo_context_foreach_change): Free just the key
	(e_todo_context_destroy): Plug this enormous leakage.  I had assumed
	i had done this earlier, which isn't too bright when anything beyond
	2 minutes ago is fuzzy.
	(comp_from_remote_record): Kill warnings
	(post_sync): Destroy the map later
	(conduit_get_gpilot_conduit): Fix e_todo_context_new params

	* conduits/calendar/calendar-conduit.[hc]: Similar to above

svn path=/trunk/; revision=7105
2000-12-20 20:00:45 +00:00
6dc2652f70 Remove pointless comment
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-20 00:41:48 +00:00
fff1110610 Convert cal component strings to pilot character set
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-19 23:09:31 +00:00
5ff2d06f63 Even though icaltime_from_timet() now properly ignores the is_utc argument
2000-12-13  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (ensure_mandatory_properties): Even
	though icaltime_from_timet() now properly ignores the is_utc
	argument since time_t values *are* in UTC by definition, we were
	passing FALSE for that argument's value in a bunch of places.  So
	although it is ignored, changed them to TRUE for consistency.
	Hopefully newer versions of libical will remove that argument
	entirely since it does not make sense to speak of non-absolute
	time_t values.

	* cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise.

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

	* conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise.

	* gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise.

	* gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
	(e_day_view_on_delete_occurrence): Likewise.
	(e_day_view_on_unrecur_appointment): Likewise.
	(e_day_view_on_unrecur_appointment): Likewise.
	(e_day_view_finish_long_event_resize): Likewise.
	(e_day_view_finish_resize): Likewise.
	(e_day_view_key_press): Likewise.
	(e_day_view_on_top_canvas_drag_data_received): Likewise.
	(e_day_view_on_main_canvas_drag_data_received): Likewise.

	* gui/e-week-view.c (e_week_view_key_press): Likewise.
	(e_week_view_on_new_appointment): Likewise.
	(e_week_view_on_delete_occurrence): Likewise.
	(e_week_view_on_unrecur_appointment): Likewise.

	* gui/event-editor.c (simple_recur_to_comp_object): Likewise.
	(recur_to_comp_object): Likewise.
	(dialog_to_comp_object): Likewise.

	* gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise.

svn path=/trunk/; revision=6995
2000-12-14 04:48:45 +00:00
956c2d74d4 Revert federico's change for now because of libtool limitations with
2000-12-13  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/Makefile.am: Revert federico's change for now
	because of libtool limitations with ldadding shared libtool
	libs

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=6963
2000-12-13 07:21:59 +00:00
e3088ae21f More fixage - Federico
svn path=/trunk/; revision=6939
2000-12-12 05:00:45 +00:00
042281235a Ugly hack for syncing until pcs can be altered (longer term)
2000-12-07  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (post_sync): Ugly hack for syncing
	until pcs can be altered (longer term)

	* conduits/todo/todo-conduit.c (post_sync): ditto

svn path=/trunk/; revision=6849
2000-12-07 22:55:11 +00:00
ca1c3593bf Update so as not to conflict with calendar (next_changed_item): update to
2000-12-06  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (map_name): Update so as not to conflict
	with calendar
	(next_changed_item): update to use CalClientChange instead of CalObjChange
	(compute_status): ditto
	(pre_sync): ditto
	(for_each_modified): since we now have the cal component we can call
	local_record_from_comp directly

	* conduits/todo/todo-conduit.c: same as above

	* pcs/cal-backend.c: Remove much logging cruft
	(cal_backend_compute_changes): Calculate the changes based on the
	hashed database
	(cal_backend_get_changes): call cal_backend_compute_changes
	(cal_backend_compute_changes_foreach_key): hash callback for
	calculating deletions

	* pcs/cal-backend.h: update protype, remove logging cruft from
	object

	* pcs/cal.c (build_change_seq): dup the calobj rather than the uid
	now
	(Cal_get_changes): rename from Cal_get_changed_uids
	(cal_get_epv): reflect name change in epv

	* cal-util/cal-util.c (cal_obj_change_list_free): update assertion

	* cal-util/cal-util.h: CalObjChange now returns the entire ical
	component, update the change types.  This should all go away shortly

	* idl/evolution-calendar.idl: getChangedUIds -> getChanges.
	CalObjChange now contains the calobj rather than the uid, update
	the change types

	* cal-client/cal-client.c (cal_client_get_changes): rename from
	cal_client_get_changed_uids to make idl and addressbook

	* cal-client/cal-client.h: Update prototype

	* cal-client/cal-client.c (build_change_list): Build a list of
	CalClientChange instead of CalObjChange

	* cal-client/cal-client-types.c (cal_client_change_list_free): Free
	a glist of CalClientChanges

	* cal-client/cal-client-types.h: New file. Declarations for
	CalClientChange.

	* cal-client/Makefile.am: Build new files

svn path=/trunk/; revision=6822
2000-12-06 20:28:10 +00:00
c04178e3d1 Fix my build stupidty READ THE MACRO
2000-12-06  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/Makefile.am: Fix my build stupidty READ THE MACRO

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=6806
2000-12-06 05:03:50 +00:00
4ace381626 Debug message cleanups (comp_from_remote_record): Properly set the ical
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.c:  Debug message cleanups
	(comp_from_remote_record): Properly set the ical description field

	* conduits/calendar/calendar-conduit.c (is_empty_time): New utility
	functions that look for all 0's in a struct tm
	(comp_from_remote_record): use above
	(local_record_from_comp): Correctly set the repeatForever value so
	that we repeat forever instead of a really long time
	(comp_from_remote_record): Only set the cal component recurrence
	until field when repeatForever is 0

svn path=/trunk/; revision=6748
2000-11-30 23:56:33 +00:00
24fdc5f596 Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (local_record_from_comp): Empty
	by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX not
	SHRT_MAX. Calculate weekly and monthly by date recurrences properly
	(get_pilot_day): Convert ical day to corresponding integer for pilot day

svn path=/trunk/; revision=6740
2000-11-30 19:18:24 +00:00
de036a207d Debug message cleanups (get_ical_day): Fix off-by-one error which affected
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c: Debug message cleanups
	(get_ical_day): Fix off-by-one error which affected weekly occurences.
	(comp_from_remote_record): Monthly by day and by date were reversed
	(nth_weekday): function taken from event-editor.c that encodes BYDAY
	values - this needs to be in libical really.
	(comp_from_remote_record): Don't set the description if the pilot note
	is null.  Rejig so that we don't have to free objects.

svn path=/trunk/; revision=6738
2000-11-30 17:27:03 +00:00
a88ff5661a Return a struct rather than a pointer to a struct (compare):
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-29 03:49:12 +00:00
dd896b1476 Remove "complete" field
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-27 20:30:51 +00:00
a162472fd6 Inc the iterator before finding the next changed item.
2000-11-10  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (for_each_modified): Inc the
	iterator before finding the next changed item.

	* conduits/todo/todo-conduit.c (for_each_modified): ditto

svn path=/trunk/; revision=6533
2000-11-10 16:35:22 +00:00
b3a536d46b Let the warning make sense (compute_pid): remove
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-31 19:20:31 +00:00
7
c0de1438d0 Check boundary case of fast sync
2000-10-27    <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (check_for_slow_setting):
	Check boundary case of fast sync

	* conduits/todo/todo-conduit.c (check_for_slow_setting): ditto

svn path=/trunk/; revision=6233
2000-10-27 16:53:30 +00:00
7
349a30e209 Remove invalid test. (local_record_from_comp): If the event is all day,
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 15:58:37 +00:00
e071cdeeb4 Get archive field while parsing (map_write_foreach): Write out archive
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-27 12:30:27 +00:00
605d627493 updating some pt_BR <ricardo@conectiva.com.br>
any problem, just tell me, and i reverse the commit.

svn path=/trunk/; revision=6209
2000-10-26 20:06:18 +00:00
e504870c44 Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now
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-24 16:21:10 +00:00
ecb43703f8 Use new libeconduit calls and abstraction
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 22:18:44 +00:00
ab6f0dd67e Add libeconduit-static.la
2000-10-23  JP Rosevear  <jpr@helixcode.com>

	* 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

svn path=/trunk/; revision=6119
2000-10-23 18:38:33 +00:00
61008a12e1 Pilot map functions grabbed from existing conduits
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-23 18:27:21 +00:00
1fff251625 Pulling up stuff from the 0.6 branch
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-20 21:25:47 +00:00
8ea94d83a1 Updated Spanish translation
svn path=/trunk/; revision=5990
2000-10-18 15:34:01 +00:00
f5a84bbd66 Add defines
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-17 19:33:52 +00:00
6793123da8 Remove pilot cruft. All pilot stuff is in the conduits now and uses the
2000-10-16  JP Rosevear  <jpr@helixcode.com>

	* cal-client/cal-client.h: Remove pilot cruft.  All pilot stuff
	is in the conduits now and uses the logging facility.

	* pcs/cal-backend-file.c: ditto

	* pcs/cal-backend.h: ditto

	* pcs/cal-backend.c: ditto

	* pcs/cal.c: ditto

	* pcs/cal.h: ditto

	* idl/evolution-calendar.idl: ditto

	* cal-util/cal-component.h: ditto

	* cal-util/cal-component.c: ditto

	* cal-client/cal-client.c: ditto

	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
	Take a stab at storing recurrence stuff on the pilot properly

	* pcs/cal-backend.c (cal_backend_update_object): Don't log the
	event until after the update in case its a new item

svn path=/trunk/; revision=5940
2000-10-16 14:03:03 +00:00
4f67f61e80 Store recurrence stuff on the desktop properly (get_ical_day): Utility
2000-10-12  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (comp_from_remote_record):
	Store recurrence stuff on the desktop properly
	(get_ical_day): Utility function

svn path=/trunk/; revision=5878
2000-10-12 05:07:47 +00:00
c04a8d1e38 Take CalObjType as a param because its impossible to determine after a
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 22:02:37 +00:00