aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers
Commit message (Collapse)AuthorAgeFilesLines
* remove useless includeJP Rosevear2004-02-102-16/+0
| | | | | | | | | | 004-02-10 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c: remove useless include * importers/Makefile.am: remove executable build cruft svn path=/trunk/; revision=24689
* use new cal auth functionsJP Rosevear2004-02-051-9/+3
| | | | | | | | | | | | | | 2004-02-04 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c (gnome_calendar_import_data_fn): use new cal auth functions * common/authentication.c (auth_new_cal_from_default): get a default calendar with auth * common/authentication.h: add proto svn path=/trunk/; revision=24621
* we only have a single client to free (prepare_events): make the vtodo listJP Rosevear2004-02-052-128/+177
| | | | | | | | | | | | | | | | | | | | 2004-02-04 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c (importer_destroy_cb): we only have a single client to free (prepare_events): make the vtodo list optional (button_toggled_cb): handle the type of thing to import switching (primary_selection_changed_cb): handle the selected item switching (create_control_fn): create a control with types (events, tasks) and corresponding source selectors (process_item_fn): only import one type of item at a time (load_file_fn): load the ecal as dictated by the source and type (vcal_importer_new): pass in control function (gnome_calendar_import_data_fn): get the default calendars * importers/Makefile.am (importersdir): add lib svn path=/trunk/; revision=24620
* use g_file_get_contents (load_file_fn): ditto (vcal_support_format_fn):JP Rosevear2004-02-021-65/+16
| | | | | | | | | | | | 2004-02-02 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c (support_format_fn): use g_file_get_contents (load_file_fn): ditto (vcal_support_format_fn): ditto (load_vcalendar_file): ditto svn path=/trunk/; revision=24568
* new files for managing interactive authentication with backends.Rodrigo Moya2003-12-222-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* rewrite for new ecal api, cache all ecal's by type and minimize loading.JP Rosevear2003-12-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * importers/icalendar-importer.c: Do not #include shell stuff. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. * e-msg-composer-hdrs.c: Do not #include <evolution-folder-selector-button.h>. (e_msg_composer_hdrs_set_post_to): #if 0 out for now. (e_msg_composer_hdrs_get_post_to): Likewise. * mail-vfolder.c: Do not #include "evolution-shell-component.h". * Makefile.am (libevolution_mail_la_SOURCES): Don't compile mail-importer.[ch] for now. * mail-component-factory.c: Do not #include <evolution-shell-client.h>. * mail-config.c: Likewise. * mail-vfolder.h: Do not #include <evolution-storage.h> or <evolution-shell-component.h>. * mail.h: Do not #include <evolution-storage.h>. * mail-ops.h: Do not #include <evolution-storage.h>. (mail_scan_subfolders): Remove prototype. (mail_update_subfolders): Likewise. svn path=/trunk/; revision=23595
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-022-14/+14
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto.Hans Petter Jansson2003-11-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes #51052Rodrigo Moya2003-11-191-0/+7
| | | | | | | | | | | | 2003-11-19 Rodrigo Moya <rodrigo@ximian.com> Fixes #51052 * importers/icalendar-importer.c (prepare_events, prepare_tasks): call icalcompiter_next to move the pointer to the next before removing a component avoid breaking the link. svn path=/trunk/; revision=23441
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-171-2/+1
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* return boolean not ECalStatus (update_objects): ditto (process_item_fn):JP Rosevear2003-11-111-20/+18
| | | | | | | | | | | 2003-11-10 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c (update_single_object): return boolean not ECalStatus (update_objects): ditto (process_item_fn): handle above returns svn path=/trunk/; revision=23280
* remove includes for toplevel libical dirJP Rosevear2003-11-081-2/+0
| | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove includes for toplevel libical dir * gui/dialogs/Makefile.am: ditto * importers/Makefile.am: ditto svn path=/trunk/; revision=23225
* Shush.JP Rosevear2003-11-071-1/+1
| | | | svn path=/trunk/; revision=23215
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-072-58/+53
| | | | svn path=/trunk/; revision=23206
* Fix for #50387.Harry Lu2003-11-031-1/+4
| | | | | | | | | | | | 2003-11-03 Harry Lu <harry.lu@sun.com> Fix for #50387. * importers/icalendar-importer.c (support_format_fn): Call icalcomponent_is_valid() to check whether the returned icalcomponent is valid. svn path=/trunk/; revision=23165
* set up vars and rules for versioning the .server filesJP Rosevear2003-10-311-5/+9
| | | | | | | | | | | | 2003-10-31 JP Rosevear <jpr@ximian.com> * configure.in: set up vars and rules for versioning the .server files * Makefile.am's: use rules for versioning .server file, ensure built files are removed before disting svn path=/trunk/; revision=23149
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-221-18/+84
| | | | svn path=/trunk/; revision=22966
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * cal-client/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/alarm-notify/config-data.h: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/dialogs/comp-editor-util.c: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h> instead of <ical.h> * importers/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/cal.c: #include <libical/ical.h> instead of <ical.h> svn path=/trunk/; revision=22845
* libical.la -> libical-evolution.laHans Petter Jansson2003-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-22 Hans Petter Jansson <hpj@ximian.com> * calendar/cal-util/Makefile.am (libical_util_la_LIBADD): libical.la -> libical-evolution.la * calendar/importers/Makefile.am (libevolution_calendar_importers_la_LIBADD): libicalvcal.la -> libicalvcal-evolution.la * shell/Makefile.am (evolution_LDADD): libical.la -> libical-evolution.la * libical/configure.in: Require flex 2.5.31 and add a test for it. Rename WITH_CXX conditional to WITH_CXX_BINDINGS. * libical/examples/Makefile.am (doesnothing_LDADD): Add -evolution to lib names. * libical/src/test/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. * libical/src/test/regression.c (main): WITH_CXX -> WITH_CXX_BINDINGS. * libical/src/libicalcap/Makefile.am: Add -evolution to lib names. Install to Evolution's priv dirs. * libical/src/libicalvcal/Makefile.am: Ditto. * libical/src/libical/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. Install in privlibdir. Install includes to $(privincludedir)/libical. * libical/src/libicalss/Makefile.am: Ditto. * libical/src/libicalss/icalsslexer.l: Replace option reentrant-bison with reentrant and bison-bridge. Use new Flex variable names. * libical/src/libical/icallexer.l: * libical/src/libical/icalyacc.y: * libical/src/libicalss/icalsslexer.c: * libical/src/libicalss/icalssyacc.c: * libical/src/libicalss/icalssyacc.h: Removed from repository. svn path=/trunk/; revision=22633
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-121-3/+3
| | | | | | Evolution. svn path=/trunk/; revision=22538
* Fixes part of #43388Rodrigo Moya2003-06-031-14/+13
| | | | | | | | | | | | 2003-06-02 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #43388 * importers/icalendar-importer.c (prepare_events): (prepare_tasks): use external iterators for removing components from the main component. svn path=/trunk/; revision=21373
* Clean up server namesDan Winship2003-04-081-8/+11
| | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Likewise * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n svn path=/trunk/; revision=20705
* Fixes #39262Rodrigo Moya2003-04-031-7/+33
| | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #39262 * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): use folder_type argument to determine what to import. svn path=/trunk/; revision=20647
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-031-0/+2
| | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20646
* added filename (tasks.ics/calendar.ics) to the URI if it does not containRodrigo Moya2003-04-021-2/+24
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added filename (tasks.ics/calendar.ics) to the URI if it does not contain it. svn path=/trunk/; revision=20611
* use g_object_unref for CalClient's. (create_checkboxes_control): useRodrigo Moya2003-03-271-8/+8
| | | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (gnome_calendar_import_data_fn): use g_object_unref for CalClient's. (create_checkboxes_control): use g_signal_connect. svn path=/trunk/; revision=20519
* return correct values in g_return_val_if_fail.Rodrigo Moya2003-03-271-1/+1
| | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_get_load_state): return correct values in g_return_val_if_fail. svn path=/trunk/; revision=20516
* removed activation of shell_client. (importer_destroy_cb): no need toRodrigo Moya2003-03-201-28/+0
| | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c: removed activation of shell_client. (importer_destroy_cb): no need to unref shell_client. (connect_to_shell): removed. (ical_importer_new, vcal_importer_new): don't call connect_to_shell. svn path=/trunk/; revision=20381
* removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead ofRodrigo Moya2003-03-201-90/+5
| | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c (get_uri_from_folder_path): removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead of folderpath. svn path=/trunk/; revision=20380
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-201-2/+2
| | | | | | | Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] svn path=/trunk/; revision=20368
* Shlibify.Hans Petter Jansson2003-03-014-60/+44
| | | | | | | | | | | | | | | | | | | 2003-02-28 Hans Petter Jansson <hpj@ximian.com> * importers/Makefile.am: Shlibify. * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Shlibify. * importers/icalendar-importer.c: Add necessary includes. (importer_destroy_cb): This is now a GWeakNotify func. gtk_ -> g_. (ical_importer_new) (vcal_importer_new) (gnome_calendar_importer_destroy_cb): Destroy signal -> weak ref. * importers/main.c: Add necessary includes. Shlibify. svn path=/trunk/; revision=20115
* Add calendar/importers/Makefile to output.Hans Petter Jansson2003-03-013-5/+8
| | | | | | | | | | | | | | | | | 2003-02-28 Hans Petter Jansson <hpj@ximian.com> * configure.in: Add calendar/importers/Makefile to output. * calendar/Makefile.am (SUBDIRS): Add importers/. * calendar/importers/Makefile.am (server_in_files) (server_DATA): Insert $(libexecdir). * calendar/importers/icalendar-importer.c (connect_to_shell): oaf_activate_from_id() -> bonobo_activation_activate_from_id(). (load_vcalendar_file): U_() -> _(). svn path=/trunk/; revision=20109
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-071-2/+2
| | | | svn path=/trunk/; revision=19818
* Update this some although it's not currently being builtDan Winship2003-02-061-6/+4
| | | | | | | * importers/Makefile.am: Update this some although it's not currently being built svn path=/trunk/; revision=19795
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-231-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * gui/e-tasks.c (e_tasks_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install libcal-util.la in $(privlibdir) instead of $(libdir). * gui/dialogs/comp-editor.c (setup_widgets): Get evolution-comp-editor.xml from EVOLUTION_UIDIR. (comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR. * gui/tasks-control.c (tasks_control_activate): Get evolution-tasks.xml from EVOLUTION_UI_DIRECTORY. * gui/calendar-commands.c (calendar_control_activate): Get evolution-calendar.xml from EVOLUTION_UI_DIRECTORY. * pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION). * importers/Makefile.am: Install evolution-calendar-importer in $(libexecdir)/evolution/$(BASE_VERSION). (sounddir): Remove. * gui/dialogs/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. (etspecdir): Likewise. * gui/Makefile.am (help_base): Remove. (install-data-local): Do not make the $(help_base)/C directory. (etspecdir): Version using $(BASE_VERSION). (gladedir): Likewise. (iconsdir): Likewise. (INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned, and add a -DEVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install evolution-alarm-notify in $(libexecdir)/evolution/$(BASE_VERSION). * cal-util/Makefile.am (libcal_utilincludedir): Version using $(BASE_VERSION). * gui/alarm-notify/Makefile.am (iconsdir): Likewise. (gladedir): Likewise. * cal-client/Makefile.am: Install libcal-client.la in privlibdir instead of libdir. (libcal_clientincludedir): Version using $(BASE_VERSION). svn path=/trunk/; revision=19553
* (connect_to_shell): CORBA_Object_release() the CORBA shell.Ettore Perazzoli2003-01-111-0/+3
| | | | | | | (connect_to_shell): CORBA_Object_release() the CORBA shell. svn path=/trunk/; revision=19416
* use GLib macros.Rodrigo Moya2002-11-082-9/+7
| | | | | | | | | | | | 2002-11-08 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-calendar-importer.h: use GLib macros. * importers/main.c (init_importer): use bonobo_generic_factory_new, not bonobo_generic_factory_new_multi. (main): don't use libgnome functions. svn path=/trunk/; revision=18666
* removed non-existant headers.Rodrigo Moya2002-11-084-8/+6
| | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c: removed non-existant headers. * importers/Makefile.am: changes for BonoboActivation. * gui/GNOME_Evolution_Calendar.server.in: install to $libdir, not $datadir. svn path=/trunk/; revision=18640
* Fixes #30290Rodrigo Moya2002-10-011-3/+2
| | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #30290 * importers/icalendar-importer.c (process_item_fn): return a status of BUSY rather than NOT_READY, to avoid the display of the error message. svn path=/trunk/; revision=18276
* Add "calendar/public" and "tasks/public". (type_is_calendar,Dan Winship2002-09-261-2/+4
| | | | | | | | | | | | | | | | | * gui/component-factory.c (folder_types): Add "calendar/public" and "tasks/public". (type_is_calendar, type_is_tasks): New utility functions (create_view, create_folder, remove_folder, xfer_folder, sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks * importers/icalendar-importer.c (get_uri_from_folder_path): allow importing into public calendar/task folders too. * gui/e-itip-control.c: Note that it's intentional that we use "calendar" and "tasks" here instead of "calendar/*" and "tasks/*". (31032) svn path=/trunk/; revision=18222
* if there's an exception, continue with the next item.Rodrigo Moya2002-07-191-1/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
* Fixes #8001Rodrigo Moya2002-07-163-37/+92
| | | | | | | | | | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #8001 * importers/icalendar-importer.c (connect_to_shell): new function for connecting the importers (both iCal and vCal) to the shell, needed for some information retrieval about the folders we're importing to. (ical_importer_new, vcal_importer_new): call connect_to_shell. (importer_destroy_cb): unref the shell client object. (get_uri_from_folder_path): retrieve the uri from the storage registry. (check_folder_type): removed. * importers/Makefile.am: included libeshell to LIBS. svn path=/trunk/; revision=17463
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* added vCalendar importer and intelligent GnomeCalendar importer code here,Damon Chaplin2002-02-095-102/+584
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-08 Damon Chaplin <damon@ximian.com> * importers/icalendar-importer.c: added vCalendar importer and intelligent GnomeCalendar importer code here, as it shares a lot of code with the iCalendar importer. NOTE: check_folder_type() needs to be finished at some point. It needs a new shell Corba call so it can decide whether to import events or tasks into the folder. Currently it just imports both. * importers/main.c (importer_factory_fn): create vCalendar importer or GnomeCalendar importer if required. * importers/evolution-calendar-importer.h: added declarations for creating a vCalendar importer and intelligent Gnome Calendar importer. * importers/Makefile.am: added -DEVOLUTION_SOUNDDIR so the importer knows what filename to use for audio alarms in vCalendar files. Added libicalvcal-evolution to LDADD. * importers/GNOME_Evolution_Calendar_Importer.oaf.in: added vCalendar importer and intelligent Gnome Calendar importer. * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE if the event uses UTC. We don't want to flag all events from Outlook, which use UTC. svn path=/trunk/; revision=15628
* Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here.Ettore Perazzoli2002-01-251-1/+1
| | | | | | | * importers/Makefile.am (evolution_calendar_importer_LDADD): Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here. svn path=/trunk/; revision=15462
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-251-2/+1
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* fixed executable name. Fixes bug #16880.Damon Chaplin2001-12-111-1/+1
| | | | | | | | | 2001-12-10 Damon Chaplin <damon@ximian.com> * importers/GNOME_Evolution_Calendar_Importer.oaf.in: fixed executable name. Fixes bug #16880. svn path=/trunk/; revision=14955
* use libical-evolution.laDamon Chaplin2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * importers/Makefile.am (evolution_calendar_importer_LDADD): * gui/Makefile.am (evolution_calendar_LDADD): * cal-util/Makefile.am (test_recur_LDADD): * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la * gui/dialogs/schedule-page.c: save the timezone passed in for the start time, so if our times are changed we use this. Also, if the end time was passed in in a different timezone, convert it. Also hide the time fields for DATE values. Note that DATE values still do not work. * gui/dialogs/meeting-page.glade: changed "Invite Others" to "Invite Others..." to be consistent with the other page. * gui/dialogs/event-page.c (times_updated): (all_day_event_toggled_cb): set is_date if appropriate. * gui/e-itip-control.c (write_label_piece): convert all UTC times to the current timezone. Outlook sends simple, non-recurring, events as UTC times, which isn't very useful. svn path=/trunk/; revision=14397
* include the header as a source so it gets dist'ed.JP Rosevear2001-10-301-0/+1
| | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * importers/Makefile.am: include the header as a source so it gets dist'ed. svn path=/trunk/; revision=14366
* s/BONOBO_CFLAGS/BONOBO_GNOME_CFLAGS/.Ettore Perazzoli2001-10-301-1/+1
| | | | | | | * importers/Makefile.am (INCLUDES): s/BONOBO_CFLAGS/BONOBO_GNOME_CFLAGS/. svn path=/trunk/; revision=14363
* fixed URI construction, which was preventing importing into the rootRodrigo Moya2001-10-301-2/+5
| | | | | | | | | | 2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn): fixed URI construction, which was preventing importing into the root calendar (~/evo/local/Calendar/) svn path=/trunk/; revision=14358
* added evolution-calendar-importer binary, starting with an iCalendar fileRodrigo Moya2001-10-306-0/+425
2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * importers/: added evolution-calendar-importer binary, starting with an iCalendar file importer svn path=/trunk/; revision=14354