Commit Graph

57 Commits

Author SHA1 Message Date
Milan Crha a6e34f0bb7 Move authentication of backends back to the client
Since this change the client is responsible to provide credentials
to use to authenticate backends (through ESource-s, to be more precise),
unless the credentials are already saved.
2015-02-02 14:50:27 +01:00
Milan Crha e182db0e47 Use EClientCache to open calendars in plugins
This partly fixes bug #721712 (Writeable calendars can report
as read-only after open), because the EClientCache always returns
the same EClient, which has internal properties properly updated
(at the second and following calls).
2014-11-25 19:09:19 +01:00
Milan Crha e6810c9b04 Fix various memory leaks and invalid memory usages 2014-10-07 07:27:35 +02:00
Matthew Barnes c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
Matthew Barnes b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
Matthew Barnes 3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
Matthew Barnes f19241d136 Use e_cal_client_connect().
Instead of e_client_utils_open_new() or e_cal_client_new().
2013-01-30 09:35:27 -05:00
Matthew Barnes 8e2902eefc Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.
Clean up resulting deprecation warnings, which were all related to
GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
2013-01-19 19:08:01 -05:00
Matthew Barnes c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
Matthew Barnes 2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
Matthew Barnes 08567541fa Adapt save-calendar plugin to new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes 7950d6a0c6 Adapt to libedataserver[ui] changes. 2012-04-21 17:07:15 -04:00
Milan Crha 1037643622 Bug #663615 - Saving calendar duplicates the first event 2011-11-21 18:38:26 +01:00
Matthew Barnes fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
Matthew Barnes f59681796d Coding style and whitespace cleanup. 2011-08-13 11:27:51 -04:00
Andre Klapper 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
Milan Crha 38790d8478 Do not use deprecated EBook/ECal API 2011-06-14 08:54:20 +02:00
Matthew Barnes f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
Matthew Barnes 8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
Matthew Barnes 4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
Matthew Barnes 0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
Matthew Barnes 7d20b8fd5f Utilize the new ESourceSelector:primary-selection property. 2010-11-01 14:46:03 -04:00
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
Matthew Barnes 49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
Gustavo Noronha Silva 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
Jonathon Jongsma 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
Matthew Barnes 643db16894 Get the "save-calendar" plugin working.
Based on initial work by Milan Crha.
2009-09-03 13:27:31 -04:00
Milan Crha 41fe23adc1 Bug #325278 - cannot access parts of "save calendar" without mouse 2009-08-03 12:07:11 +02:00
Matthew Barnes 0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
Matthew Barnes fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
Matthew Barnes 6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
Matthew Barnes ffa17ed195 Fix compiler warnings in plugins. 2009-05-26 16:56:30 -04:00
Sankarasivasubramanian Pasupathilingam 79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
Jeffrey Stedfast abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
Matthew Barnes 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
Matthew Barnes f7550c81c7 ** Fix a bunch of compiler warnings.
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fix a bunch of compiler warnings.

	* calendar/gui/e-select-names-renderer.c
	(e_select_names_renderer_focus_out_event):
	Remove this function.  Looks like it hasn't been used in years.

	* mail/em-format-html.c (efh_message_external):
	Fix a typo in checking for an empty 'mode' string.

	* mail/message-list.c (subtree_size):
	Remove this function.  Looks like it hasn't been used in years.

	* plugins/email-custom-header/email-custom-header.c
	(action_email_custom_header_cb):
	Remove unused 'editor' variable.

	* plugins/save-calendar/csv-format.c (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c (do_save_calendar_rdf):
	Remove pointless address check of a local variable.


svn path=/trunk/; revision=35527
2008-05-22 18:00:17 +00:00
Milan Crha 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
Milan Crha 34da45d5d6 ** Fix for bug #475781
2008-01-25  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #475781

	* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
	* plugins/itip-formatter/itip-formatter.c: (format_itip_object):
	* calendar/gui/dialogs/recurrence-page.c: (fill_ending_date),
	(recurrence_page_fill_widgets):
	* calendar/gui/dialogs/memo-page.c: (memo_page_fill_widgets):
	* calendar/gui/e-day-view.c: 2*(e_day_view_finish_long_event_resize),
	2*(e_day_view_on_editing_stopped):
	* calendar/gui/itip-utils.c: (comp_compliant), (reply_to_calendar_comp):
	* calendar/gui/e-week-view.c: (e_week_view_on_editing_stopped):
	* calendar/gui/e-calendar-view.c: (e_calendar_view_add_event),
	(e_calendar_view_get_tooltips):
	* calendar/gui/e-cal-component-preview.c: (write_html):
	* calendar/gui/e-cal-component-memo-preview.c: (write_html):
	* calendar/gui/e-cal-model.c: (add_instance_cb):
	Fix memory leaks around ECalComponentDateTime.


svn path=/trunk/; revision=34895
2008-01-25 14:10:07 +00:00
Tobias Mueller 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Kjartan Maraas 45f799eb86 Make this place a bit more quiet
svn path=/trunk/; revision=31328
2006-01-27 16:34:03 +00:00
Simon Zheng 956be87d36 use e_utf8_strftime() in evolution-data-server/
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * csv-format.c:
        * rdf-format.c:
        use e_utf8_strftime() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

svn path=/trunk/; revision=31120
2006-01-10 08:12:18 +00:00
Andre Klapper a64850e2f8 fixed two strings for consistency. Fixes bug 325127 and partially bug
2005-12-30  Andre Klapper <a9016009@gmx.de>
	* csv-format.c: fixed two strings for consistency.
        Fixes bug 325127 and partially bug 325125.

svn path=/trunk/; revision=30975
2005-12-30 04:46:09 +00:00
Michael Zucci 3e68ed9f53 error file moves/e-error.h moves
svn path=/trunk/; revision=29370
2005-05-16 06:21:48 +00:00
Philip Van Hoof 71b1d28397 Fixes for Bug #73099 and Bug #73098 Changed malloc to g_malloc and char to
2005-03-02  Philip Van Hoof  <pvanhoof@gnome.org>

        * rdf-format.c: Fixes for Bug #73099 and Bug #73098
	* csv-format.c: Changed malloc to g_malloc and char to gchar
	* csv-format.c: Fixes for Bug #73099 and Bug #73098

svn path=/trunk/; revision=29314
2005-05-09 09:07:35 +00:00
Chenthill Palanisamy 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
Rodrigo Moya fcc9045e90 Reverted not approved patch
svn path=/trunk/; revision=28943
2005-03-02 18:24:54 +00:00
Rodrigo Moya bf9dfb886c Reverted not approved patch
svn path=/trunk/; revision=28942
2005-03-02 18:23:21 +00:00