Commit Graph

81 Commits

Author SHA1 Message Date
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
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Matthew Barnes e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Jonathon Jongsma 31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06: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
Jonathon Jongsma 68d3608b81 port plugins to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:32:22 -06:00
H.Habighorst f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04: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 42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
Matthew Barnes 547e123d27 Stop abusing forward declarations. 2009-06-18 15:26:21 -04:00
Matthew Barnes 6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -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
Matthew Barnes 1f65552d0d Bug 523216 – User-oriented plugin descriptions 2009-05-21 14:24:22 -04:00
Matthew Barnes d523f10dfe Use Behdad's brilliant git.mk to generate .gitignore files. 2009-05-02 11:37:10 -04:00
Suman Manjunath 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
Sankarasivasubramanian Pasupathilingam 79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
Sankarasivasubramanian Pasupathilingam b7fc5caefe License Changes from GPL to LGPL
svn path=/trunk/; revision=36313
2008-09-12 16:19:36 +00:00
Sankarasivasubramanian Pasupathilingam 14fa5c8a8c Change License from GPL to LGPL. 2nd batch.
More changes to come.

svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
Bharath Acharya f5c5017848 Use NO_UNDEFINED. Link with more libraries. To generate dlls on Windows.
2008-08-12  Bharath Acharya  <abharath@novell.com>

        * Makefile.am: Use NO_UNDEFINED. Link with more libraries. To
        generate dlls on Windows.


svn path=/trunk/; revision=35960
2008-08-12 04:04:18 +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 24debf9d7e Fix build breakage. Apparently <gtk/gtk.h> only recently started
pulling in <gio/gio.h>.  We still need to include gio.h explicitly
for a little while longer.

svn path=/trunk/; revision=35607
2008-06-06 19:23:47 +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
Srinivasa Ragavan 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
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
Gilles Dartiguelongue aad95f711a ** Fix bug #495872
uniformization of actions with memos/calendars/tasks

svn path=/trunk/; revision=34547
2007-11-17 22:11: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 54d4e5e5f8 ** Fixes bug #477045
2007-09-27  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #477045

	* addressbook/gui/component/addressbook-component.c:
	* addressbook/gui/component/addressbook-view.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/gui/widgets/eab-contact-display.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/calendar-component.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/comp-editor.c:
	* calendar/gui/dialogs/event-editor.c:
	* calendar/gui/dialogs/task-editor.c:
	* calendar/gui/e-cal-popup.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-memo-table.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/memos-component.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/tasks-component.c:
	* calendar/gui/tasks-control.c:
	* composer/e-msg-composer-select-file.c:
	* composer/e-msg-composer.c:
	* mail/em-folder-tree.c:
	* mail/em-folder-view.c:
	* mail/em-popup.c:
	* mail/mail-component.c:
	* mail/mail-mt.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* plugins/exchange-folder-permission.c:
	* plugins/exchange-folder.c:
	* plugins/groupwise-features/share-folder-common.c:
	* shell/e-shell-window-commands.c:
	* ui/evolution-addressbook.xml:
	* ui/evolution-calendar.xml:
	* ui/evolution-composer-entries.xml:
	* ui/evolution-editor.xml:
	* ui/evolution-event-editor.xml:
	* ui/evolution-mail-list.xml:
	* ui/evolution-mail-message.xml:
	* ui/evolution-memos.xml:
	* ui/evolution-message-composer.xml:
	* ui/evolution-subscribe.xml:
	* ui/evolution-task-editor.xml:
	* ui/evolution-tasks.xml:
	* ui/evolution.xml:
	Use standard icon names where applicable.


svn path=/trunk/; revision=34322
2007-09-27 17:48:23 +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
Hiroyuki Ikezoe e0b92a2aaa ** Fix for bug #455799
2007-08-04  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	** Fix for bug #455799

	Remove all .cvsignore and update svn:ignore porperty in whole
	directories.


svn path=/trunk/; revision=33945
2007-08-03 23:52:01 +00:00
Srinivasa Ragavan dffd9d69ef Fix for bug #437584
svn path=/trunk/; revision=33697
2007-06-18 05:15:58 +00:00
Sankar P 0c83d5d341 Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
2007-04-02  Sankar P  <psankar@novell.com>

	* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
	
	Code Cleanup. 
	Fixes part of #301149



svn path=/trunk/; revision=33354
2007-04-02 07:13:50 +00:00
Matthew Barnes 72f0d0c000 Fix "incompatible pointer type" warnings (#360619).
2007-03-29  Matthew Barnes  <mbarnes@redhat.com>

	* calendar/gui/e-day-view.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/tasks-control.c:
	* composer/e-msg-composer-select-file.c:
	* mail/em-account-editor.c:
	* mail/em-folder-view.c:
	* mail/em-format-html-display.c:
	* mail/em-format-html.c:
	* mail/em-format.h:
	* mail/em-mailer-prefs.c:
	* mail/em-vfolder-rule.c:
	* mail/mail-ops.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/itip-formatter/itip-formatter.c:
	* plugins/save-calendar/save-calendar.c:
	* shell/e-shell-window.c:
	* widgets/misc/e-icon-entry.c:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table-item.c:
	* widgets/table/e-tree-header-item.c:
	* widgets/table/e-tree-table-adapter.c:
	Fix "incompatible pointer type" warnings (#360619).


svn path=/trunk/; revision=33339
2007-03-29 17:29:46 +00:00
Chenthill Palanisamy 14da7a959f Add the timezone information while exporting the calendars.
svn path=/trunk/; revision=33230
2007-02-20 18:10:26 +00:00
Kjartan Maraas 8176e0119f Plug a leak.
2006-08-17  Kjartan Maraas  <kmaraas@gnome.org>

	* rdf-format.c: (add_time_to_rdf): Plug a leak.

svn path=/trunk/; revision=32557
2006-08-17 06:47:17 +00:00
Srinivasa Ragavan c345604989 Added support for saving/attaching files/events/mails from/to remote shares
svn path=/trunk/; revision=32024
2006-05-25 06:06:16 +00:00
Srinivasa Ragavan 6d472a7717 Added code to see if the file already exist.
svn path=/trunk/; revision=31856
2006-04-21 19:23:18 +00:00
Karsten Bräckelmann 8f9e400112 Fix mnemonics to be consistent.
svn path=/trunk/; revision=31497
2006-02-12 23:55:56 +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 41860d6b5e 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=30992
2005-12-31 14:23:55 +00:00