Commit Graph

31 Commits

Author SHA1 Message Date
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
08567541fa Adapt save-calendar plugin to new ESource API. 2012-06-02 23:00:43 -04:00
7950d6a0c6 Adapt to libedataserver[ui] changes. 2012-04-21 17:07:15 -04:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
ea4c16fdad Bug #664370 - Crash when putting same component into icalcomponent 2012-01-05 14:22:04 +01:00
1037643622 Bug #663615 - Saving calendar duplicates the first event 2011-11-21 18:38:26 +01:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
749d08d537 Drop the duplicated 'Format' from filetype descriptionsto also sync strings with the ones used in shell/e-shell-utils.c 2011-07-27 14:50:20 +02:00
38790d8478 Do not use deprecated EBook/ECal API 2011-06-14 08:54:20 +02:00
7d20b8fd5f Utilize the new ESourceSelector:primary-selection property. 2010-11-01 14:46:03 -04:00
d635b839f8 Make authentication functionality available
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
2010-01-27 11:23:36 -02:00
c2ee0afbc8 Rename EError to EAlert to match general use better
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
2009-11-30 13:33:04 -06:00
643db16894 Get the "save-calendar" plugin working.
Based on initial work by Milan Crha.
2009-09-03 13:27:31 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
708696127f ** Fix for bug #541209
2009-01-21  Suman Manjunath  <msuman@novell.com>

        ** Fix for bug #541209

        ** Adapt to the new APIs from upstream libical. Changes made include
        using the "_r" counterpart for the following APIs:
        + icalproperty_as_ical_string ()
        + icalvalue_as_ical_string ()
        + icalcomponent_as_ical_string ()
        + icalparameter_as_ical_string ()
        + icaldurationtype_as_ical_string ()
        + icalenum_reqstat_code ()
        + icallangbind_property_eval_string ()
        + icallangbind_quote_as_ical ()
        + icalmime_text_end_part ()
        + icalperiodtype_as_ical_string ()
        + icalproperty_enum_to_string ()
        + icalproperty_get_parameter_as_string ()
        + icalproperty_get_value_as_string ()
        + icalproperty_get_property_name ()
        + icalrecurrencetype_as_string ()
        + icaltime_as_ical_string ()
        + icalreqstattype_as_string ()
        + icalvalue_binary_as_ical_string ()
        + icalvalue_int_as_ical_string ()
        + icalvalue_utcoffset_as_ical_string ()
        + icalvalue_string_as_ical_string ()
        + icalvalue_recur_as_ical_string ()
        + icalvalue_text_as_ical_string ()
        + icalvalue_attach_as_ical_string ()
        + icalvalue_duration_as_ical_string ()
        + icalvalue_date_as_ical_string ()
        + icalvalue_datetime_as_ical_string ()
        + icalvalue_float_as_ical_string ()
        + icalvalue_geo_as_ical_string ()
        + icalvalue_datetimeperiod_as_ical_string ()
        + icalvalue_period_as_ical_string ()
        + icalvalue_trigger_as_ical_string ()
        + icalvalue_as_ical_string ()


svn path=/trunk/; revision=37113
2009-01-21 06:42:45 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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
2008-06-06 15:12:53 +00:00
e9a0cfe1a9 ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
2008-04-17  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #526741 (gnome-vfs to gio/gvfs port)

	* configure.in: Drop dependency on gnome-vfs, depend on gio instead.

	* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.

	* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
	(async_read): Read data with gio, not with gnome-vfs.
	* calendar/gui/e-meeting-store.c: (async_close): Function removed.
	* calendar/gui/migration.c:
	* calendar/gui/e-memos.c:
	* calendar/gui/alarm-notify/notify-main.c:
	* calendar/gui/e-tasks.c:
	* calendar/gui/main.c:
	* calendar/gui/e-meeting-list-view.c:
	Do not include gnome-vfs.
	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
	Function removed, use e-util function instead.
	* calendar/gui/e-cal-popup.c: (temp_save_part):
	Reflect changes in CamelStreamVFS.
	* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
	(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
	* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
	New helper function to manage file:// urls for GtkHTML component.
	* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
	* calendar/gui/e-cal-component-memo-preview.c:
	(e_cal_comp_preview_url_requested_cb):
	Use above helper function.
	* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.

	* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
	* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
	(e_msg_composer_add_inline_image_from_file):
	Use shared e_util_guess_mime_type instead of its own.

	* e-util/e-gui-utils.c: Do not include gnome-vfs.
	* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
	* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
	Use gio instead of gnome-vfs.
	* e-util/e-util.h:
	* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
	(e_util_uri_to_filename), (e_util_read_file): New helper functions.

	* mail/Makefile.am:
	* mail/em-vfs-stream.h:
	* mail/em-vfs-stream.c: Removed from project, not used anywhere.
	* mail/em-menu.c:
	* mail/em-config.c: Do not include gnome-vfs.
	* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
	Changes related to Data Server change of CamelStreamVFS.
	* mail/em-format.c: (em_format_describe_part):
	* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
	(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
	(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
	* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
	* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
	(emp_standard_menu_factory): Use gio to fill popup and launch app.

	* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.

	* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
	* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
	Write to gio GOutputStream instead of gnome-vfs handle.
	* plugins/ipod-sync/format-handler.h: (open_for_writing):
	* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.

	* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
	* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
	Use gio GOutputStream instead of gnome-vfs handle.
	* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
	* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
	* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
	(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
	(mount_first), (publish):
	Use gio instead of gnome-vfs for opening (remote) files.

	* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
	* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
	Use gio GOutpuStream instead of gnome-vfs handle.
	* plugins/save-calendar/format-handler.h: (open_for_writing):
	* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.

	* shell/e-shell-window-commands.c: (command_quick_reference):
	Use gio instead of gnome-vfs.

	* widgets/misc/e-attachment.h: (struct _EAttachment):
	* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
	(e_attachment_new), (struct DownloadInfo), (download_info_free),
	(data_ready_cb), (download_to_local_path),
	(e_attachment_new_remote_file):
	Use gio instead of gnome-vfs to download remote files.
	* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
	Use new util function to read file.
	* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.


svn path=/trunk/; revision=35378
2008-04-17 16:59:08 +00:00
1157f25a69 Patch from OpenSUSE
2008-02-18  Srinivasa Ragavan  <sragavan@novell.com>

	* ical-format.c: (do_save_calendar_ical): Patch from OpenSUSE



svn path=/trunk/; revision=35043
2008-02-18 06:03:43 +00:00
4cbd83f8a9 ** Fixes bug 474651
2007-12-10  Tobias Mueller  <tobiasmue@svn.gnome.org>

        ** Fixes bug 474651

        * addressbook/gui/contact-editor/eab-editor.c:
        * plugins/save-calendar/ical-format.c:
        * plugins/save-calendar/csv-format.c:
        * plugins/save-calendar/rdf-format.c:
        * plugins/ipod-sync/ical-format.c:
        * plugins/ipod-sync/ipod-sync.c:
        * plugins/ipod-sync/evolution-ipod-sync.c:
        * calendar/gui/dialogs/changed-comp.c:
        * calendar/gui/dialogs/copy-source-dialog.c:
        * calendar/gui/dialogs/delete-error.c:
        Use format strings in gtk_message_dialog_new


svn path=/trunk/; revision=34680
2007-12-09 23:04:53 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
5ad1bf8506 Remove the --enable-file-chooser configure option.
GtkFileChooser has been around since 2004.

svn path=/trunk/; revision=34257
2007-09-14 15:29:05 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
14da7a959f Add the timezone information while exporting the calendars.
svn path=/trunk/; revision=33230
2007-02-20 18:10:26 +00:00
6d472a7717 Added code to see if the file already exist.
svn path=/trunk/; revision=31856
2006-04-21 19:23:18 +00:00
f8ea98797c include missing header.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * ical-format.c: include missing header.

svn path=/trunk/; revision=30227
2005-08-24 03:13:50 +00:00
9ab035ce81 Fixes #73541
2005-03-22222222222222222222222222222222222222222222  Chenthill Palanisamy  <pchenthill@novell.com>

	Fixes #73541
	* csv-format.c: (do_save_calendar_csv):
	* ical-format.c: (do_save_calendar_ical):
	* rdf-format.c: (do_save_calendar_rdf): Changed the
	cal e_cal_new to auth_new_from_source, so that the
	ecal has the auth function in it.

svn path=/trunk/; revision=29089
2005-03-22 14:46:36 +00:00
eb66f839dc Fixes #71527
2005-02-21  Rodrigo Moya <rodrigo@novell.com>

	Fixes #71527

	* ical-format.c (display_error_message): changed to get a simple
	string instead of a GError.
	(do_save_calendar_ical): use GNOME-VFS for saving the file.

svn path=/trunk/; revision=28888
2005-02-25 09:55:29 +00:00
ed19e01a4c Code splitup, each format has it's own c-file Added. Code splitup Added.
2004-12-20  Philip Van Hoof  <pvanhoof@gnome.org>

        * Makefile.am: Code splitup, each format has it's own c-file
        * csv-format.c: Added. Code splitup
        * format-handler.h: Added. Code splitup
        * ical-format.c: Added. Code splitup
        * rdf-format.c: Added. Support for RDF files. Code splitup
        * save-calendar.c: Support for RDF files. Code splitup

svn path=/trunk/; revision=28154
2004-12-20 12:47:51 +00:00