aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers/icalendar-importer.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove ECalShellSettings.Matthew Barnes2013-03-171-10/+5
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* Fix up error handling around e_book/cal_client_connect_finish().Matthew Barnes2013-01-311-3/+1
|
* Use e_cal_client_connect().Matthew Barnes2013-01-301-32/+33
| | | | Instead of e_client_utils_open_new() or e_cal_client_new().
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-201-3/+3
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Bug #691194 - Import .ics preview shows UTC time instead of local timeMilan Crha2013-01-151-0/+3
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-13/+19
|
* Fails to import calendar events due to used incorrect enum valuesMilan Crha2012-09-141-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-19/+19
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-5/+3
|
* Adapt calendar/importers to the new ESource API.Matthew Barnes2012-06-031-38/+40
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-10/+44
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-4/+12
|
* Port calendar importer to GSettingsRodrigo Moya2011-10-101-5/+5
|
* First successful buildRodrigo Moya2011-10-061-1/+1
|
* Merge from masterRodrigo Moya2011-10-051-2/+3
|\
| * Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-2/+3
| | | | | | | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
| * Coding style and whitespace cleanup.Matthew Barnes2011-09-041-32/+78
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-08-131-29/+57
| |
| * Replace alarm by reminder for UI consistency. Fixes bug #340614Andre Klapper2011-08-021-1/+1
| |
| * Bug #654261 - Importing ics files into Evolution fails silentlyMilan Crha2011-07-251-1/+5
| |
| * Do not use deprecated EBook/ECal APIMilan Crha2011-06-141-121/+264
| |
| * Coding style cleanups.Matthew Barnes2011-05-091-13/+13
| |
| * More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
| |
| * Utilize the new ESourceSelector:primary-selection property.Matthew Barnes2010-11-021-2/+2
| |
* | Use GSettings where possible in calendar importerRodrigo Moya2011-09-211-3/+3
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-141-32/+78
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-141-29/+57
| |
* | Replace alarm by reminder for UI consistency. Fixes bug #340614Andre Klapper2011-09-141-1/+1
| |
* | Bug #654261 - Importing ics files into Evolution fails silentlyMilan Crha2011-09-141-1/+5
| |
* | Do not use deprecated EBook/ECal APIMilan Crha2011-06-301-121/+264
| |
* | Coding style cleanups.Matthew Barnes2011-06-301-13/+13
| |
* | More whitespace cleanup.Matthew Barnes2011-06-301-1/+1
| |
* | Utilize the new ESourceSelector:primary-selection property.Matthew Barnes2010-11-101-2/+2
|/
* Coding style cleanups.Matthew Barnes2010-09-131-54/+54
|
* Bug #623204 - Be able to report detailed errors from backendsMilan Crha2010-07-091-3/+3
|
* Bug 257776 - Import assistant shows wrong extension for vCalendar filesMatthew Barnes2010-06-031-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-1/+7
|
* Bug #499320 - Preview before import from command lineMilan Crha2010-05-191-4/+511
|
* Make authentication functionality availableGustavo Noronha Silva2010-01-271-3/+3
| | | | | | | This involves renaming the calendar auth-related functions to have a prefix, and shipping the headers. Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-2/+2
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Trim unused or unnecessary bits from the import framework.Matthew Barnes2009-09-261-4/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-21/+21
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Fix compiler warnings in calendar.Matthew Barnes2009-05-261-4/+6
|
* ** Fix for bug #555310Milan Crha2009-01-121-1/+1
| | | | | | | | | | | | 2009-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #555310 * importers/icalendar-importer.c: (ivcal_getwidget): Localize strings properly. svn path=/trunk/; revision=37057
* Milan Crha <mcrha@redhat.com> ** Fix for bug #528816 (Disable vCalendar ↵Suman Manjunath2008-10-201-11/+23
| | | | | | importer when we can parse proper iCalendar from the given file). svn path=/trunk/; revision=36659
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-011-13/+15
| | | | svn path=/trunk/; revision=36520
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-7/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-4/+4
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -Kjartan Maraas2007-10-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
* 2007-10-01 mcrha Fix for bug #428402Milan Crha2007-10-011-4/+4
| | | | svn path=/trunk/; revision=34341
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-1/+1
| | | | svn path=/trunk/; revision=34156
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+1
| | | | svn path=/trunk/; revision=33432
* addressbook/importers/evolution-ldif-importer.cFrancisco Javier F. Serrador2006-10-151-2/+2
| | | | | | | | | | | | | | | | 2006-10-15 Francisco Javier F. Serrador <serrador@openshine.com> * addressbook/gui/widgets/eab-contact-display.c: addressbook/importers/evolution-ldif-importer.c addressbook/importers/evolution-vcard-importer.c calendar/importers/icalendar-importer.c plugins/groupwise-features/properties.glade plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml plugins/save-attachments/org-gnome-save-attachments.xml shell/shell.error.xml : Make some string improvements to allow better use of gettext compendia. svn path=/trunk/; revision=32879
* removed a duplicated exclamation mark. Fixes bug 325123.Andre Klapper2005-12-301-1/+1
| | | | | | | | 2005-12-30 Andre Klapper <a9016009@gmx.de> * icalendar-importer.c: removed a duplicated exclamation mark. Fixes bug 325123. svn path=/trunk/; revision=30979
* Use g_build_filename(), g_filename_from_uri(), g_usleep().Tor Lillqvist2005-12-171-9/+43
| | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * importers/icalendar-importer.c: Use g_build_filename(), g_filename_from_uri(), g_usleep(). svn path=/trunk/; revision=30818
* Merge back eplugin-import-branch.Michael Zucci2005-07-121-311/+315
| | | | svn path=/trunk/; revision=29725
* Prune unnecessary and nonexistent directories from the -I options. PruneTor Lillqvist2005-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-27 Tor Lillqvist <tml@novell.com> * */Makefile.am: Prune unnecessary and nonexistent directories from the -I options. Prune pathname macros not used in the sources in that directory from the -D options. Use NO_UNDEFINED. Link with all necessary libraries. On Win32 link with bootstrap libraries where necessary. * common/Makefile.am: As this is a noinst library, no use for LDFLAGS or LIBADD. * gui/Makefile.am: Use Win32-specific hack to work around MSYS feature in the gconftool invokation. * gui/calendar-commands.c: Remove superfluous inclusion of <pwd.h>. * gui/e-cal-list-view.c * gui/e-day-view.c: Remove superfluous inclusion of <gdk/gdkx.h>. * gui/gnome-cal.c: Remove superfluous inclusion of <sys/wait.h>. * importers/icalendar-importer.c: Use g_usleep() instead of sleep(). svn path=/trunk/; revision=29592
* Fixes #70035Rodrigo Moya2005-04-081-2/+2
| | | | | | | | | | | 2005-04-08 Rodrigo Moya <rodrigo@novell.com> Fixes #70035 * importers/icalendar-importer.c (support_format_fn, load_file_fn): use e_cal_util_parse_ics_string instead of icalparser_parse_string. svn path=/trunk/; revision=29194
* use receive_objects method instead of individually updating objects. SetRodrigo Moya2005-01-201-0/+6
| | | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-importer.c (update_objects): use receive_objects method instead of individually updating objects. Set the method on the VCALENDAR object we create. svn path=/trunk/; revision=28450
* use receive_objects method instead of individually updating objects.Rodrigo Moya2005-01-191-27/+13
| | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-imporer.c (update_objects): use receive_objects method instead of individually updating objects. svn path=/trunk/; revision=28449
* dittoJP Rosevear2004-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c: ditto * gui/calendar-component.h: remove e-source-selector include * gui/tasks-component.h: ditto * gui/calendar-component.c: update include to libedataserverui for source selector and option menus * gui/e-cal-popup.c: ditto * gui/dialogs/url-editor-dialog.h: ditto * gui/dialogs/select-source-dialog.c: ditto * gui/tasks-component.c: ditto * importers/icalendar-importer.c: ditto * gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of E_MAKE_TYPE * gui/dialogs/event-page.c: ditto * gui/dialogs/task-page.c: ditto svn path=/trunk/; revision=27569
* include config.h. See #61395.Not Zed2004-07-221-0/+4
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Fixes #54021JP Rosevear2004-04-191-2/+4
| | | | | | | | | | | 2004-04-18 JP Rosevear <jpr@ximian.com> Fixes #54021 * importers/icalendar-importer.c (update_single_object): ensure UID exists svn path=/trunk/; revision=25506
* Fixes #56553JP Rosevear2004-04-141-6/+0
| | | | | | | | | | | | 2004-04-14 JP Rosevear <jpr@ximian.com> Fixes #56553 * importers/icalendar-importer.c (prepare_events): don't double free or continue, we need to move to the next item (prepare_tasks): don't continue, move to the next item svn path=/trunk/; revision=25462
* remove useless includeJP Rosevear2004-02-101-1/+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-051-128/+176
| | | | | | | | | | | | | | | | | | | | 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-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* 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
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-53/+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
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-221-18/+84
| | | | svn path=/trunk/; revision=22966
* 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
* 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
* Shlibify.Hans Petter Jansson2003-03-011-10/+11
| | | | | | | | | | | | | | | | | | | 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-011-2/+3
| | | | | | | | | | | | | | | | | 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
* (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
* removed non-existant headers.Rodrigo Moya2002-11-081-2/+0
| | | | | | | | | | | | | 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-161-36/+90
| | | | | | | | | | | | | | | | | | | 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-091-102/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-301-0/+238
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