Commit Graph

34 Commits

Author SHA1 Message Date
49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05: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
41fe23adc1 Bug #325278 - cannot access parts of "save calendar" without mouse 2009-08-03 12:07:11 +02:00
0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -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
ffa17ed195 Fix compiler warnings in plugins. 2009-05-26 16:56:30 -04: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
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
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
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
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
45f799eb86 Make this place a bit more quiet
svn path=/trunk/; revision=31328
2006-01-27 16:34:03 +00:00
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
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
3e68ed9f53 error file moves/e-error.h moves
svn path=/trunk/; revision=29370
2005-05-16 06:21:48 +00:00
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
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
fcc9045e90 Reverted not approved patch
svn path=/trunk/; revision=28943
2005-03-02 18:24:54 +00:00
bf9dfb886c Reverted not approved patch
svn path=/trunk/; revision=28942
2005-03-02 18:23:21 +00:00
a4a674c9f1 Reverted not approved patch
svn path=/trunk/; revision=28941
2005-03-02 18:23:20 +00:00
39545a5a7c Corrected a little oeps
svn path=/trunk/; revision=28938
2005-03-02 16:00:26 +00:00
43f8824655 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

svn path=/trunk/; revision=28937
2005-03-02 15:56:23 +00:00
8b109cc5bb Fixes for Bug #73099 and Bug #73098
2005-03-02  Philip Van Hoof  <pvanhoof@gnome.org>

        * csv-format.c: Fixes for Bug #73099 and Bug #73098

svn path=/trunk/; revision=28935
2005-03-02 11:40:43 +00:00
6823de81f3 Use standard error messages
2005-01-04  Philip Van Hoof  <pvanhoof@gnome.org>

        * csv-format.c, rdf-format.c: Use standard error messages

svn path=/trunk/; revision=28233
2005-01-04 11:52:21 +00:00
8cfe52bd9e Warning when overwriting file
2004-12-27  Philip Van Hoof  <pvanhoof@gnome.org>

        * csv-format.c, rdf-format.c: Warning when overwriting file

svn path=/trunk/; revision=28213
2005-01-03 12:39:33 +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