| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=26178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-18 JP Rosevear <jpr@novell.com>
* idl/evolution-calendar.idl: add arg
* gui/alarm-notify/alarm-queue.c (edit_component): send a mode
type
* gui/alarm-notify/alarm-notify.c: add fixme note
* gui/comp-editor-factory.c (impl_editExisting): take a editor
mode and twist it into a source type
(impl_editNew): ditto
(open_client): take a source type for creating the client
(lookup_open_client): ditto
svn path=/trunk/; revision=25959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-18 JP Rosevear <jpr@novell.com>
* gui/alarm-notify/notify-main.c (init_alarm_service): just set
up
the alarm notify object
* gui/alarm-notify/alarm-notify.h: update proto
* gui/alarm-notify/alarm-notify.c (process_removal_in_hash):
process removals using the source list
(list_changed_cb): when the list changes, update
(load_calendars): initially load the calendars
(alarm_notify_init): load the calendars here and don't listen
for
a selection notification
(alarm_notify_add_calendar): get the source type when adding a
calendar
* gui/alarm-notify/notify-main.c (main): no need to
init/shutdown
gnome vfs
* gui/alarm-notify/config-data.h: new proto
* gui/alarm-notify/config-data.c
(config_data_get_notify_with_tray): routine to get schema value
* gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking
here, setup_timeout does that
(queue_alarm): ditto
(setup_timeout): calculate the timeout better
* gui/alarm-notify/alarm-queue.c (query_objects_changed_cb):
tidy
(edit_component): clean up exception handling
(display_notification): don't show the tray icon if we aren't
notifying with the tray
* gui/apps_evolution_calendar.schemas.in.in: add
notify_with_tray
option
svn path=/trunk/; revision=25958
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf
listener callback to list for changes in selected calendars.
(alarm_notify_finalize): remove the GConf notification listener.
(conf_changed_cb): callback to react on configuration changes. Process
the new selected calendars and remove the unselected ones.
(process_removal_in_hash): callback to remove unselected calendars.
svn path=/trunk/; revision=24973
|
|
|
|
|
|
| |
* gui/alarm-notify/alarm-notify.c: fix rampant double-freeing.
svn path=/trunk/; revision=24927
|
|
|
|
|
|
|
|
|
| |
2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (free_client_hash): remove the client
from the queue also.
svn path=/trunk/; revision=24790
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): open the
calendars asynchonously.
(cal_opened_cb): callback for "cal_opened" signal. Add the calendars to
the alarm queue here.
svn path=/trunk/; revision=24751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes #52970
* idl/evolution-calendar.idl: added back the AlarmNotify interface.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
changed to have the AlarmNotify component be created via a factory.
* gui/alarm-notify/alarm-notify.[ch]: converted to implement the
AlarmNotify interface.
* gui/alarm-notify/notify-main.c (main): register the factory with
bonobo_generic_factory_new, not the object itself. Removed redundant
call to bonobo_object_unref. Call e_passwords_shutdown on exit.
* gui/alarm-notify/config-data.c (config_data_get_calendars_to_load):
get only the selected calendars/task lists.
svn path=/trunk/; revision=24613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-15 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/save.[ch]: removed.
* gui/alarm-notify/Makefile.am: removed save.[ch].
* gui/alarm-notify/notify-main.c: removed obsolete headers.
* gui/alarm-notify/config-data.[ch]
(config_data_set_last_notification_time,
config_data_get_last_notification_time,
config_data_save_blessed_program, config_data_is_blessed_program):
new functions.
* gui/alarm-notify/alarm-queue.c: dont use removed functions.
(alarm_trigger_cb, procedure_notification_dialog,
alarm_queue_init):
use config_data_* functions.
* gui/alarm-notify/alarm-notify.c: dont use removed functions.
svn path=/trunk/; revision=24249
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/notify-main.c: added missing headers.
* gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
use the correct variable when calling alarm_queue_remove_client().
* gui/calendar-component.c (impl_upgradeFromVersion): removed redundant
variable declarations.
* gui/migration.c (process_old_dir):
* gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate):
* gui/e-date-time-list.c (e_date_time_list_finalize):
* gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings.
* gui/e-calendar-table.c: added missing prototypes at the top to
avoid warnings.
* gui/e-week-view.c (e_week_view_scroll_a_step):
* gui/e-day-view.c (e_day_view_event_move): directly return in the
default: case.
* gui/e-tasks.c (setup_widgets): connect to changes on the model.
(model_row_changed_cb): callback to update the HTML detailed view
when the currently selected task changes.
(client_obj_updated_cb): removed unused function.
(set_status_message): changed to accept a variable list of arguments.
(e_tasks_add_todo_uri): display status messages and get error message
from backend and display it in a dialog.
(cal_opened_cb, load_error, method_error, permission_error): removed
unused functions.
* gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and
display status messages.
(gnome_calendar_construct, gnome_calendar_add_event_source):
adapted to changes in open_ecal().
svn path=/trunk/; revision=24147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* common/authentication.[ch]: new files for managing interactive
authentication with backends.
* common/Makefile.am: build new private library.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar):
* gui/dialogs/event-page.c (source_changed_cb):
* gui/dialogs/task-page.c (source_changed_cb):
* gui/dialogs/copy-source-dialog.c (copy_source):
* gui/calendar-component.c (setup_create_ecal):
* gui/calendar-offline-handler.c (backend_go_offline,
backend_go_online, calendar_offline_handler_init):
* gui/comp-editor-factory.c (open_client):
* gui/e-itip-control.c (start_calendar_server):
* gui/e-tasks.c (e_tasks_add_todo_uri):
* gui/gnome-cal.c (gnome_calendar_construct,
gnome_calendar_add_event_uri):
* gui/tasks-component.c (setup_create_ecal):
* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn,
gnome_calendar_import_data_fn): create the ECal's via the
auth_new_cal_from* functions in the authentication module.
* gui/alarm-notify/Makefile.am:
* gui/Makefile.am:
* importers/Makefile.am: link new private library.
* Makefile.am: added new directory to the build.
svn path=/trunk/; revision=23999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-21 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
ecal's by type and minimize loading. Switch to using the source
option menu
* conduits/todo/todo-conduit.c (start_calendar_server): ditto
* conduits/calendar/calendar-conduit.c (start_calendar_server):
use ECalSourceType
* importers/icalendar-importer.c (load_file_fn): ditto
(vcal_load_file_fn): ditto
(gnome_calendar_import_data_fn): ditto
* gui/dialogs/task-page.c (source_changed_cb): ditto
* gui/dialogs/event-page.c (source_changed_cb): ditto
* gui/dialogs/copy-source-dialog.h: update proto
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto
* gui/tasks-component.c (copy_task_list_cb): ditto
(setup_create_ecal): ditto
* gui/gnome-cal.c (gnome_calendar_construct): ditto
(gnome_calendar_add_event_uri): ditto
* gui/e-tasks.c (e_tasks_add_todo_uri): ditto
* gui/comp-editor-factory.c (open_client): ditto
* gui/calendar-offline-handler.c (backend_go_offline): ditto
(backend_go_online): ditto
(calendar_offline_handler_init): ditto
* gui/calendar-component.c (copy_calendar_cb): ditto
(setup_create_ecal): ditto
* gui/print.c (print_month_small): don't pass type to
e_cal_generate_instances
(print_day_details): ditto
(print_week_summary): ditto
* gui/tag-calendar.c (tag_calendar_by_client): ditto
svn path=/trunk/; revision=23994
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
make sure we free the data stored in the hash table.
(alarm_notify_add_calendar): call alarm_queue_add_client, or we wont
have alarms at all.
* gui/alarm-notify/alarm-queue.c: no need to hold a ref count.
(alarm_queue_add_client, alarm_queue_remove_client): don't use the
refcount private member.
(alarm_queue_add_client): don't connect to non-existing ECal signals.
(display_notification, free_client_alarms_cb): fixed warnings.
svn path=/trunk/; revision=23960
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (add_uri_to_load, remove_uri_to_load):
removed unneeded functions.
(alarm_notify_add_calendar, alarm_notify_remove_calendar): no need
anymore to add/remove URIs to load on startup to the configuration.
svn path=/trunk/; revision=23525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-26 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () ->
e_cal_new_from_uri ().
(backend_go_online): Ditto.
(calendar_offline_handler_init): Ditto.
* gui/comp-editor-factory.c (open_client): Ditto.
* gui/e-itip-control.c (start_calendar_server): Ditto.
(object_requested_cb): Ditto.
* gui/e-tasks.c (e_tasks_add_todo_uri): Ditto.
* gui/gnome-cal.c (gnome_calendar_construct): Ditto.
(gnome_calendar_add_event_uri): Ditto.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto.
* importers/icalendar-importer.c (load_file_fn): Ditto.
(vcal_load_file_fn): Ditto.
(gnome_calendar_import_data_fn): Ditto.
* gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to
e_cal_new ().
svn path=/trunk/; revision=23498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
* idl/evolution-calendar.idl: remove the AlarmNotify service, no
more need for it, since the alarm daemon will listen for changes
on the GConf key.
* gui/gnome-cal.c (add_alarms): removed function to talk to the
alarm daemon.
(client_cal_opened_cb): don't call add_alarms().
* gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject.
(AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed
AlarmNotify interface implementation.
(alarm_notify_class_init): no epv to initialize.
(alarm_notify_remove_calendar): new function, copied from the
CORBA method implementation.
(alarm_notify_factory_fn): return NULL, since there is no objects
that can be created via this factory now.
* gui/alarm-notify/notify-main.c (main): now the factory is the alarm
notification service itself.
(load_calendars): no need to use exceptions here.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
now the factory is the alarm notification service itself.
* gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA
types.
svn path=/trunk/; revision=23384
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-tasks.[ch] (e_tasks_get_cal_client): removed.
* gui/tasks-control.c (sensitize_commands): fixed to work correctly
with the ECalView's model.
(tasks_control_set_property): don't use e_tasks_get_cal_client.
* gui/alarm-notify/alarm-notify.c (free_client_hash): new function
to remove items from the CalClient's hash table.
(alarm_notify_finalize): call free_client_hash() for each item
in the hash table.
svn path=/trunk/; revision=23136
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-26 Jack Jia <jack.jia@sun.com>
** Fixes #47863.
* gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set
the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash.
svn path=/trunk/; revision=22380
|
|
|
|
| |
svn path=/trunk/; revision=22308
|
|
|
|
|
|
|
|
|
| |
2003-04-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
unused code.
svn path=/trunk/; revision=21032
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-09 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we
already have the client loaded, don't remove it, just increment its
reference count.
* gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new
argument to specify whether we want the component's structure removed
if no more alarms exist, and only free the structure if TRUE.
(remove_alarms): added same new argument and pass it over to
remove_queued_alarm.
(remove_comp, obj_updated_cb): passed new argument to remove_alarms.
(procedure_notification): passed new argument to remove_queued_alarm.
(obj_removed_cb): set all freed pointers to NULL.
(notify_dialog_cb): only remove the alarm if the pointers are not NULL.
svn path=/trunk/; revision=20232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-21 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-model.c (calendar_model_class_init): GObject, not
GtkObject.
(calendar_model_destroy): -> calendar_model_finalize ().
* gui/calendar-view.c (calendar_view_class_init): GObject, not
GtkObject.
(calendar_view_destroy): -> calendar_view_finalize ().
* gui/comp-editor-factory.c (comp_editor_factory_class_init):
GObject, not GtkObject.
(comp_editor_factory_destroy): -> comp_editor_factory_finalize ().
* gui/e-day-view.c (e_day_view_long_event_button_press):
gtk_signal_disconnect () -> g_signal_handler_disconnect ().
(e_day_view_on_event_button_press): Ditto.
(e_day_view_on_long_event_click): Ditto.
(e_day_view_on_event_click): Ditto.
(e_day_view_on_event_double_click): Ditto.
(e_day_view_on_delete_appointment): Ditto.
* gui/e-week-view.c (e_week_view_on_text_item_event):
gtk_signal_disconnect () -> g_signal_handler_disconnect ().
* gui/alarm-notify/alarm-notify.c (AlarmNotify_RemoveCalendar):
Don't cast to GtkObject.
svn path=/trunk/; revision=19995
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-12 Federico Mena Quintero <federico@ximian.com>
* pcs/cal-backend-util.c: #include <string.h>
* pcs/cal.c: Fixed prototypes of the CORBA method implementations.
* pcs/cal-backend-file.c (cal_backend_file_dispose): Added a
dispose method.
(cal_backend_file_get_free_busy): Converted to use EConfigListener
rather than BonoboConfigDatabase.
* gui/alarm-notify/alarm-notify.c: #include <string.h>, fix use of
g_hash_table_lookup_extended().
* gui/alarm-notify/alarm-notify-dialog.c: Substitute deprecated
GTK+ functions for new ones.
* gui/alarm-notify/alarm-queue.c: Likewise.
* gui/alarm-notify/notify-main.c: #include <string.h>,
<gtk/gtkmain.h>.
* gui/alarm-notify/save.c: #include <string.h>.
svn path=/trunk/; revision=18726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend.c: use libxml2 headers.
* gui/alarm-notify/Makefile.am:
* gui/dialogs/Makefile.am:
* gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of
$(ORBIT_IDL).
* gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject.
* gui/alarm-notify/alarm-notify-dialog.c: compilation fixes.
(alarm_notify_dialog): adapted to new glade_xml_new signature.
* gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and
GtkStock and GtkDialog.
* gui/alarm-notify/notify-main.c: ported to BonoboActivation and
use GObject functions instead of GtkObject ones.
* gui/alarm-notify/save.h: removed BonoboConfig related functions.
* gui/alarm-notify/config-data.c: use GObject functions instead of
GtkObject ones.
* TODO.port: added file for keeping track of disabled things while we
port.
svn path=/trunk/; revision=18550
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-25 Rodrigo Moya <rodrigo@ximian.com>
Fixes #25410
* gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper
cleanup on removal of clients.
(alarm_notify_add_calendar): ditto.
svn path=/trunk/; revision=17287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-12 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify.c: added timeout_id to LoadedClient structure, to
keep track of the timeout function.
(retry_timeout_cb): don't use RetryData, but the LoadedClient.
(cal_opened_cb): ditto, and assigned lc->timeout_id to the return
value of g_timeout_add().
(alarm_notify_add_calendar): destroy the timeout callback when
destroying the LoadedClient structure.
svn path=/trunk/; revision=17178
|
|
|
|
|
|
|
|
|
|
| |
2002-06-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
already loaded client when asked to be opened again, and *really*
re-open it again.
svn path=/trunk/; revision=17167
|
|
|
|
|
|
|
|
|
|
| |
2002-05-20 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c:
* gui/alarm-notify/notify-main.c: ported changes from evolution-1-0
to make it work with reminders on remote backends.
svn path=/trunk/; revision=16944
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-06 Rodrigo Moya <rodrigo@ximian.com>
Should fix #21240
* gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
with EUri, to allow non-registered methods.
svn path=/trunk/; revision=15944
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c (add_uri_to_load): Do not assert
if we fail to load the URI list. This would of course have been a
bonobo-conf activation problem.
(remove_uri_to_load): Likewise.
* gui/alarm-notify/notify-main.c (load_calendars): Likewise.
* gui/alarm-notify/alarm-queue.c (load_missed_alarms): Make the
time range half-open so that we do not display the last alarm
twice.
svn path=/trunk/; revision=13797
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Federico Mena Quintero <federico@ximian.com>
Adds session management for the alarm daemon. Also makes it store
a list of calendars to be monitored. Those calendars will all be
loaded when the alarm daemon starts up.
* idl/evolution-calendar.idl (AlarmNotify): Removed the ::die()
method. The alarm daemon now handles termination via the session
manager's commands.
* gui/alarm-notify/notify-main.c (set_session_parameters): New
function, sets some parameters so that the session manager can
restart the daemon via the evolution-alarm-client program. Also,
sets up the "die" signal so that the daemon can terminate when the
session ends.
(load_calendars): New function to load the calendars on startup.
(main): Set the session parameters. Load the calendars on startup.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New
function, moved over from the impl_ function. Added a
load_afterwards argument to indicate whether the calendar should
just be loaded or if it should also be added to the list of
calendars to load on startup.
(AlarmNotify_addCalendar): Use alarm_notify_add_calendar().
(AlarmNotify_removeCalendar): Remove the calendar from the list of
calendars to load on startup.
* gui/alarm-notify/save.c (save_calendars_to_load): New function,
saves a sequence of the URIs to load.
(get_calendars_to_load): New function, loads a sequence of
calendars to load.
* gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init().
* gui/component-factory.c (remove_folder): Ask the alarm daemon to
stop monitoring alarms for the folder that is being deleted.
svn path=/trunk/; revision=13763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-24 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject.
* gui/gnome-cal.c (gnome_calendar_open): Ask the alarm
notification service to add the calendar and tasks URIs.
(add_alarms): New function.
* gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the
OAFIID.
(main): Initialize and shut down gnome-vfs.
* gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh.
(evolution_calendar_SOURCES): Added the files generated from the IDL.
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function
used when an alarm is triggered.
* gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files;
they are now in gui/alarm-notify.
* gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog
files.
* pcs/cal.c (cal_forget_password): This was incorrectly named
cal_client_forget_password(); renamed it.
* gui/main.c (main): Initialize and shut down gnome-vfs.
svn path=/trunk/; revision=10453
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-23 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c (AlarmNotify_addCalendar):
Switched to using our own refcounted structure for loaded clients.
(AlarmNotify_removeCalendar): Ditto. Also, do the full
destruction of the client.
(alarm_notify_destroy): Destroy each element in the hash table.
* cal-client/cal-client.c (cal_client_construct): Test for
exceptions from OAF when activating the Wombat calendar factory.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.oaf.in:
New .oaf.in file.
* gui/alarm-notify/Makefile.am (oaf_in_files): Updated.
* gui/GNOME_Evolution_Calendar.oaf.in: Put all the servers here
instead of in a million files.
* gui/GNOME_Evolution_Calendar_Control.oaf.in: Removed file.
* gui/GNOME_Evolution_Calendar_gnomecal.oaf.in: Removed *REALLY*
obsolete file.
* gui/Makefile.am (oaf_in_files): Updated.
svn path=/trunk/; revision=8375
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-16 Federico Mena Quintero <federico@ximian.com>
* pcs/cal-factory.c (CalFactoryPrivate): Added a `registered'
field.
(cal_factory_oaf_register): New function; now the factory performs
its own registration with OAF.
(cal_factory_destroy): Unregister from OAF if appropriate.
svn path=/trunk/; revision=8308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-18 Federico Mena Quintero <federico@ximian.com>
* gui/tasks-migrate.[ch]: New files with a simple sequence to
migrate the task components from the old calendar folder into the
new tasks folder.
* gui/component-factory.c (owner_set_cb): Call tasks_migrate()
once evolution_dir is set. It sucks to have to do this here.
* cal-client/cal-client.c (cal_client_get_uids): In the inline
docs, indicate how to free the return value.
(cal_opened_cb): Ahem, moved assertion to the right place. Also,
ref() and unref() around our own signal emission because we are
not inside a signal handler, rather a simple callback from the
listener object; we want to have a chance to clean up even if the
client is unrefed during the emission.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
tasks-migrate.[ch] to the list of sources.
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* gui/event-editor.c (init_widgets): Use
e_calendar_item_set_max_days_sel() instead of setting GTK+ object
arguments.
* gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a
reversed test for the client being loaded.
* gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly
reversed test.
svn path=/trunk/; revision=7622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-09 Federico Mena Quintero <federico@helixcode.com>
* idl/evolution-calendar.idl (AlarmNotify): New interface for the
alarm notification system.
* gui/alarm-notify: New directory for the alarm notification
daemon and its auxiliary stuff.
* gui/alarm-notify/alarm.[ch]: Moved over from gui/alarm.[ch].
* gui/alarm-notify/alarm-queue.[ch]: Moved over from
gui/alarm-notify.[ch]. Renamed functions from alarm_notify_*() to
alarm_queue_*().
* gui/alarm-notify/alarm-notify.[ch]: Implementation of the
GNOME::Evolution::Calendar::AlarmNotify interface.
* gui/Makefile.am (evolution_calendar_LDADD): Removed the
LINK_FLAGS variable and reordered the libraries to remove some
duplicated ones.
(SUBDIRS): Added the alarm-notify directory.
svn path=/trunk/; revision=7338
|