Commit Graph

65 Commits

Author SHA1 Message Date
c7e6af5698 Remove deleted file
2000-12-23  JP Rosevear  <jpr@helixcode.com>

	* POTFILES.in: Remove deleted file

svn path=/trunk/; revision=7142
2000-12-23 06:44:45 +00:00
4369c400fc Alarm trigger queueing for the GUI part.
2000-12-21  Federico Mena Quintero  <federico@helixcode.com>

	Alarm trigger queueing for the GUI part.

	* gui/alarm-notify.[ch]: New files with the high-level alarm
	notification system; mostly moved over from gnome-cal.c.  The
	low-level timer stuff is still in alarm.[ch].

	* gui/alarm-notify.c (alarm_notify_init): New function to
	initialize the alarm notification system.
	(alarm_notify_done): New function to shut down the alarm
	notification system.
	(alarm_notify_add_client): New function to start monitoring a
	calendar client for alarm notification.
	(alarm_notify_remove_client): New function to stop monitoring a
	client.

	* gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so
	the callback may know which ID is being destroyed.

	* gui/alarm.c (clear_itimer): New function.
	(pop_alarm): Use clear_itimer().
	(alarm_done): New function to shut down the timer system.
	(alarm_add): Add some preconditions.  Do not call the destroy
	notification function if we could not create the alarm.
	(alarm_ready): Pass the alarm ID to the destroy notify function.
	(alarm_remove): Likewise.  Also, add some preconditions.

	* gui/gnome-cal.c: Removed the alarm notification functions from
	here since they are now in alarm-notify.c.
	(gnome_calendar_construct): Register the client with
	alarm_notify_add_client().
	(gnome_calendar_destroy): Use alarm_notify_remove_client() to
	unregister the client.
	(obj_updated_cb): Do not do any alarm-related stuff.
	(obj_removed_cb): Likewise.

	* gui/main.c (main): Shut down the alarm timer system.
	(main): Initialize and shut down the alarm notification system.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added
	alarm-notify.[ch] to the list of sources.

	* gui/calendar-model.c (calendar_model_set_cal_client): Only
	connect to the "cal_loaded" signal if the client is not already
	loaded.

	* gui/e-day-view.c (e_day_view_set_cal_client): Likewise.

	* gui/e-week-view.c (e_week_view_set_cal_client): Likewise.

	* gui/e-itip-control.c (update_calendar): Connect to "cal_loaded"
	before issuing the load request.

svn path=/trunk/; revision=7130
2000-12-22 17:29:39 +00:00
e90aa50001 Added proper dependency lists to the gtk-doc mess.
2000-12-19  Federico Mena Quintero  <federico@helixcode.com>

	Added proper dependency lists to the gtk-doc mess.

	* calendar/cal-client/Makefile.am (TARGET_DIR): Removed unused
	variable.
	(SOURCE_FILES): New variable with the list of source files we
	depend on.
	(IGNORED_SOURCE_HEADERS): New variable with the headers we ignore
	for the gtkdoc-scan phase.
	(scan_generated):
	(tmpl_dependencies):
	(tmpl_sources):
	(tmpl_generated);
	(sgml_dependencies):
	(sgml_generated): Lists of stuff that is generated and that other
	stuff depends on.
	(all): Added the $(sgml_generated) as the final target.
	(install-data-local): Added an installation hook; gtk-doc seems to
	want some of its generated files to be installed.

	* calendar/cal-client/evolution-cal-client-sections.txt: Updated.

	* calendar/cal-util/Makefile.am: Made the same changes as for
	calendar/cal-client/Makefile.am.

	* calendar/cal-util/evolution-cal-util-sections.txt: Updated.

	* Makefile.am (local_entities): Added alarm-generation.sgml.
	(all): Made the main target be the html/index.html.

svn path=/trunk/; revision=7084
2000-12-19 18:13:34 +00:00
8d96fe16f1 Alarm instance generation support for the Wombat.
2000-12-18  Federico Mena Quintero  <federico@helixcode.com>

	Alarm instance generation support for the Wombat.

	* idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to
	have an alarm UID, the trigger time, and the actual occurrence
	time.
	(Cal::CalComponentAlarms): New structure to hold a pair of a
	component and its alarms that trigger in a particular range of
	time.
	(Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq.

	* cal-util/cal-component.h (CalAlarmInstance): New C-side
	structure to match the one on the IDL.
	(CalComponentAlarms): Ditto.
	(CalAlarmAction): Renamed from CalComponentAlarmAction.
	(CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType.
	Encoded the START and END parameters for the RELATED parameter in
	this enum, too.  Added a NONE value for invalid or missing trigger
	specifications.
	(CalComponentAlarmTriggerRelated): Removed.
	(CalAlarmTrigger): Renamed from CalComponentAlarmTrigger.  Renamed
	the duration/time fields to rel_duration/abs_time, respectively.

	* cal-util/cal-component.c (cal_component_alarm_get_trigger):
	Changed to use the new trigger structure.
	(cal_component_alarm_set_trigger): Likewise.
	(cal_component_alarm_free_trigger): Removed function.
	(cal_component_has_alarms): Count the elements in the
	alarm_uid_hash instead of trying to fetch the first alarm subcomponent.
	(cal_component_alarms_free): New function to free a
	CalComponentAlarms structure.
	(CalComponentAlarmPrivate): Added an uid property pointer.
	(scan_alarm_property): Scan for the our extension UID property.
	(cal_component_alarm_get_uid): New function.

	* pcs/cal-backend.h (CalBackendClass): Changed the signatures of
	the ::get_alarms_in_range() and ::get_alarms_for_object() methods.

	* pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed
	signature; use the new method.
	(cal_backend_get_alarms_for_object): Likewise.

	* pcs/cal-backend-file.c (compute_alarm_range): New spiffy
	function to compute a range of time for alarm occurrences.
	(add_alarm_occurrences_cb): New function to add alarms for a
	particular occurrence of the component.
	(generate_absolute_triggers): New function to add the absolute
	alarm triggers.
	(generate_alarms_for_comp): New function to generate all the alarm
	instances for a component.
	(cal_backend_file_get_alarms_in_range): Implemented.

	* pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API.
	(Cal_get_alarms_for_object): Likewise.
	(build_alarm_instance_seq): Removed old function.

	* cal-util/cal-util.c (cal_alarm_instance_list_free): Removed
	function.

	* cal-client/cal-client.c (build_component_alarms_list): New
	function to demarshal the component alarms sequence.
	(build_alarm_instance_list): New function to demarshal the alarm
	instances sequence.
	(cal_client_get_alarms_in_range): Updated for the new API.
	(cal_client_get_alarms_for_object): Updated for the new API.

	* gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff
	to make it build.

svn path=/trunk/; revision=7076
2000-12-18 23:47:52 +00:00
25d1434052 make it public-reference.sgml not referenc.sgml here.
2000-12-13  Larry Ewing  <lewing@helixcode.com>

	* calendar/Makefile.am (EXTRA_DIST): make it public-reference.sgml
	not referenc.sgml here.

svn path=/trunk/; revision=6973
2000-12-13 20:03:08 +00:00
ce1f72922f Finished the calendar architecture chapter.
2000-11-29  Federico Mena Quintero  <federico@helixcode.com>

	* calendar/architecture.sgml: Finished the calendar architecture
	chapter.

svn path=/trunk/; revision=6729
2000-11-30 02:43:57 +00:00
ef585975d0 Added an id for the API reference <part>. Added the FDL <legalnotice>.
2000-11-29  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-devel-guide.sgml: Added an id for the API reference <part>.
	Added the FDL <legalnotice>.
	Added the preface and toplevel reference entities.
	Added entities for Evolution, Wombat, and Camel.
	Added an appendix for the GNU FDL.

	* preface.sgml: New file with the introduction to the Evolution
	Developer's Guide.

	* reference.sgml: Split the toplevel reference part into its own
	file.

	* fdl.sgml: Added the GNU Free Documentation License.

	* calendar/evolution-calendar.sgml: Added an id for the <part>.

	* calendar/public-reference.sgml: Added an id for the <reference>.
	Moved this file over from calendar/reference.sgml.

	* Makefile.am (local_entities): Added a list of the SGML files
	that define entities for inclusion in the toplevel document.  This
	way we can track documentation file dependencies down to all
	levels.
	(html/index.html): Made the toplevel document depend on
	$(local_entities).  Also, removed the "html" target and put its
	contents directly here; this way we avoid having .PHONY targets.
	(EXTRA_DIST): Removed the evolution_devel_guideDATA; it made no
	sense.
	(content_files): Added preface.sgml and reference.sgml.

svn path=/trunk/; revision=6715
2000-11-29 16:26:59 +00:00
8617011337 Fixed to install the stylesheet-images as well.
2000-09-19  Federico Mena Quintero  <federico@helixcode.com>

	* C/Makefile.am: Fixed to install the stylesheet-images as well.

svn path=/trunk/; revision=5514
2000-09-19 23:41:07 +00:00
4aee454eba Made the toplevel <book> id be "index".
2000-09-15  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-devel-guide.sgml: Made the toplevel <book> id be
	"index".

svn path=/trunk/; revision=5467
2000-09-15 22:36:48 +00:00
bf9f26b773 Added the cal-util library to the documentation framework - Federico
svn path=/trunk/; revision=4839
2000-08-14 23:59:13 +00:00
13263cdb40 Fix make maintainer-clean
svn path=/trunk/; revision=4670
2000-08-09 21:24:40 +00:00
7672cda86c Sync - Federico
svn path=/trunk/; revision=4213
2000-07-18 17:19:25 +00:00
9cad440d04 More docs - Federico
svn path=/trunk/; revision=4208
2000-07-18 04:20:46 +00:00
86ec303a21 Docs docs docs - Federico
svn path=/trunk/; revision=4206
2000-07-17 23:57:22 +00:00
e38c9ea0ed New <book> toplevel for the Evolution Developer's Guide.
2000-07-17  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-devel-guide.sgml: New <book> toplevel for the
	Evolution Developer's Guide.

	* calendar/evolution-calendar.sgml: New <part> for the calendar
	developer's documentation.

	* calendar/architecture.sgml: New <chapter> for the calendar
	architecture.

	* calendar/reference.sgml: New <reference> for the calendar API
	reference.

svn path=/trunk/; revision=4191
2000-07-17 21:08:41 +00:00