Commit Graph

18443 Commits

Author SHA1 Message Date
fb9b835fe3 Define EVO_MARSHAL_RULE, which creates glib marshaller .c and .h files
* configure.in: Define EVO_MARSHAL_RULE, which creates glib
	marshaller .c and .h files that don't cause gcc warnings

	* marshal.mk: The Makefile fragment used by EVO_MARSHAL_RULE.
	(Can't include newlines in an AC_SUBST, so we have to use
	AC_SUBST_FILE)

	* Makefile.am (EXTRA_DIST): add marshal.mk

svn path=/trunk/; revision=21910
2003-07-23 16:38:42 +00:00
b167ce0861 moved the duplicated popup menu code here. (e_cal_view_create_popup_menu):
2003-07-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.[ch]: moved the duplicated popup menu code here.
	(e_cal_view_create_popup_menu): new function to create the popup
	menu for all views.
	(on_new_appointment, on_new_event, on_new_meeting, on_new_task,
	 on_goto_today, on_goto_date, on_edit_appointment, on_print,
	 on_save_as, on_print_event, on_meeting, on_forward, on_publish,
	 on_settings, on_delete_appointment, on_cut, on_copy, on_paste,
	 on_unrecur_appointment): callbacks for the popup menu items.

	* gui/e-week-view.c (e_week_view_on_new_appointment,
	  e_week_view_new_appointment, e_week_view_on_new_event,
	  e_week_view_on_new_meeting, e_week_view_on_new_task,
	  e_week_view_on_goto_today, e_week_view_on_goto_date,
	  e_week_view_on_edit_appointment, e_week_view_on_print,
	  e_week_view_on_save_as, e_week_view_on_print_event,
	  e_week_view_on_meeting, e_week_view_on_forward,
	  e_week_view_on_publish, e_week_view_on_settings,
	  e_week_view_on_delete_appointment,
	  e_week_view_delete_event_internal, e_week_view_on_cut,
	  e_week_view_on_copy, e_week_view_on_paste):
	* gui/e-day-view.c (e_day_view_on_new_appointment,
	  e_day_view_on_new_event, e_day_view_on_new_meeting,
	  e_day_view_on_new_task, e_day_view_on_goto_today,
	  e_day_view_on_goto_date, e_day_view_on_edit_appointment,
	  e_day_view_on_print, e_day_view_on_save_as,
	  e_day_view_on_print_event, e_day_view_on_meeting,
	  e_day_view_on_forward, e_day_view_on_publish,
	  e_day_view_on_settings, e_day_view_on_delete_appointment,
	  e_day_view_delete_event_internal, e_day_view_on_cut,
	  e_day_view_on_copy, e_day_view_on_paste): removed duplicated code.

	* gui/gnome-cal.[ch] (gnome_calendar_unrecur_selection): new function.

svn path=/trunk/; revision=21908
2003-07-23 15:52:08 +00:00
6742a6ed12 Fix a warning
* e-shell-importer.c (prepare_intelligent_page): Fix a warning

svn path=/trunk/; revision=21907
2003-07-23 15:06:55 +00:00
16d96582c1 Fix a warning.
* e-summary-factory.c (e_summary_factory_new_control): Fix a
	warning.

	* e-summary-rdf.c (tree_walk): Fix a warning

	* e-summary-weather.c (e_summary_weather_get_html): Remove an
	unused variable.
	(weather_make_html): Likewise.

svn path=/trunk/; revision=21906
2003-07-23 15:06:21 +00:00
d5ce44bd78 Fix an unused variable
* gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix
	an unused variable

	* gui/calendar-commands.c (purge_cmd): Fix warnings.

	* gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match
	the actual functions

	* gui/control-factory.c: add some missing #includes

	* gui/dialogs/delete-comp.c (delete_component_dialog): Fix a
	warning

	* gui/e-itip-control.c (write_label_piece): Remove unused variable.

	* gui/print.c (print_calendar): Remove unused variable
	(print_comp): Likewise.

	* gui/tasks-control.c (confirm_purge): Fix warnings.
	(print_tasks): Remove unused variable.

svn path=/trunk/; revision=21905
2003-07-23 15:05:03 +00:00
c1cfb3197a Remove gtk_window_set_policy call since that function is deprecated and it
* gui/search/e-addressbook-search-dialog.c
	(e_addressbook_search_dialog_init): Remove gtk_window_set_policy
	call since that function is deprecated and it was just setting
	everything to the default values anyway.

	* gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for
	e_free_object_list.

svn path=/trunk/; revision=21904
2003-07-23 15:02:39 +00:00
a356037663 Fix type warnings (folder_browser_toggle_caret_mode): Remove unused
* folder-browser.c (message_list_drag_data_get): Fix type warnings
	(folder_browser_toggle_caret_mode): Remove unused variable.

	* folder-browser-ui.c (basename): remove unused function

	* mail-account-gui.c (mail_account_gui_build_extra_conf): Fix
	warnings

	* mail-callbacks.c (empty_trash): Remove unused variable.

	* mail-display.c: #include gal/widgets/e-gui-utils.h for
	e_auto_kill_popup_menu_on_selection_done

	* mail-importer.c: #include e-util/e-path.h for e_path_to_physical

	* mail-session.c (main_play_sound): don't declare filename to be
	const and then free it.

	* mail-vfolder.c (vfolder_edit_rule, vfolder_gui_add_rule): Fix
	casts

	* message-list.c (build_flat_diff): Fix a typo in the
	non-BROKEN_ETREE code

svn path=/trunk/; revision=21903
2003-07-23 15:01:26 +00:00
f5ed342cd3 #include camel-file-utils.h for camel_read()
* camel-block-file.c: #include camel-file-utils.h for camel_read()

	* camel-uid-cache.c (camel_uid_cache_save): Remove unused variable
	and label.

	* camel-url.c: #include camel-string-utils.h for camel_strdown

	* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Cast
	an (unsigned char *) to (char *) to fix a warning

svn path=/trunk/; revision=21902
2003-07-23 14:57:22 +00:00
64a3e0a91c Fix a non-ANSI switch label.
* e-component-listener.c (connection_listen_cb): Fix a non-ANSI
        switch label.

        * e-gui-utils.c: only include "art/empty.xpm" if
        HAVE_LIBGNOMEUI_GNOME_ICON_LOOKUP_H isn't defined

        * e-xml-hash-utils.c (e_xml_to_hash): Deconstify a non-const
        variable to fix a warning.

svn path=/trunk/; revision=21901
2003-07-23 14:55:52 +00:00
c4e2afa4a0 Remove this, since it claims to be deprecated, and nothing is actually
* e-messagebox.c: Remove this, since it claims to be deprecated,
        and nothing is actually using it any more.

        * Makefile.am: Remove e-messagebox.[ch]

svn path=/trunk/; revision=21900
2003-07-23 14:54:16 +00:00
89cbf144bd add missing e_text_copy_clipboard() prototype
* gal/e-text/e-text.h: add missing e_text_copy_clipboard()
	  prototype

svn path=/trunk/; revision=21899
2003-07-23 14:44:57 +00:00
a1e92e17fa Create the pixbuf from empty.xpm rather than just calling
* e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf
	from empty.xpm rather than just calling gdk_pixbuf_new(), which
	doesn't actually initialize the pixel data.

svn path=/trunk/; revision=21898
2003-07-23 13:49:30 +00:00
3be35526b6 removed unneeded prototypes.
2003-07-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.h:
	* gui/e-week-view.h: removed unneeded prototypes.

	* gui/e-cal-view.[ch] (e_cal_view_get_visible_time_range): new
	function.
	(selection_received): deal correctly with the selected time range.

	* gui/e-week-view.c (e_week_view_get_visible_time_range): made it
	private as the implementation of the 'get_visible_time_range'
	virtual method.

	* gui/e-day-view.c (e_day_view_get_visible_time_range): ditto.

	* gui/gnome-cal.c (gnome_calendar_direction): merged redundant 'case'.
	(focus_current_view): removed redundant code.

svn path=/trunk/; revision=21897
2003-07-23 12:14:57 +00:00
c1a24b93ef manage the case where the selected events are the popup menu ones.
2003-07-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c (e_day_view_get_selected_events):
	* gui/e-week-view.c (e_week_view_get_selected_events): manage the
	case where the selected events are the popup menu ones.

svn path=/trunk/; revision=21895
2003-07-22 21:56:40 +00:00
c06781b52c removed missing calls to e_day/week_view_*_clipboard.
2003-07-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_copy_clipboard,
	gnome_calendar_cut_clipboard, gnome_calendar_paste_clipboard):
	removed missing calls to e_day/week_view_*_clipboard.

svn path=/trunk/; revision=21894
2003-07-22 21:35:40 +00:00
806e63b32a added "get_selected_events", and "update_query" virtual methods.
2003-07-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.[ch]: added "get_selected_events",
	and "update_query" virtual methods.
	(e_cal_view_class_init): initialize new virtual methods.
	(e_cal_view_destroy): destroy new private members.
	(e_cal_view_get_selected_events, e_cal_view_set_cal_client,
	 e_cal_view_get_cal_client): new functions.
	(e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
	 e_cal_view_paste_clipboard): merged clipboard stuff.

	* gui/e-day-view.c (e_day_view_cut_clipboard,
	  e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed.
	(e_day_view_get_selected_events): made these private as the
	implementation of the 'get_selected_events' base class virtual method.

	* gui/e-week-view.c (e_week_view_get_selected_events): ditto.
	(e_week_view_cut_clipboard, e_week_view_copy_clipboard,
	 e_week_view_paste_clipboard): removed.

	* gui/calendar-commands.c (sensitize_calendar_commands): call
	e_cal_view_get_selected_events.

	* gui/gnome-cal.c: removed a lot of redundant code thanks to the
	above changes.

svn path=/trunk/; revision=21893
2003-07-22 21:13:38 +00:00
2c6ab566c9 Updated German translation.
svn path=/trunk/; revision=21891
2003-07-22 18:31:27 +00:00
70ef8a70ea removed e_day_view_set_calendar prototype.
2003-07-21  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.[ch]: removed e_day_view_set_calendar prototype.
	(e_day_view_set_status_message): removed.

	* gui/e-week-view.[ch] (e_week_view_set_status_message): removed.

	* gui/e-cal-view.[ch] (e_cal_view_set_status_message): new functions.
	(e_cal_view_destroy): unref activity client.

	* gui/gnome-cal.c: updated to e_*_view/e_cal_view.

svn path=/trunk/; revision=21890
2003-07-22 15:38:21 +00:00
82ff4d6379 Make the "vcard" arg const. ...: add lots and lots of other consts as a
* backend/ebook/e-card.c: (e_card_new,
	e_card_new_with_default_charset): Make the "vcard" arg const.
	...: add lots and lots of other consts as a side effect

svn path=/trunk/; revision=21888
2003-07-22 14:39:00 +00:00
e18a5b7762 connect to "delete_event" signal with startup_wizard_delete. [#46284]
2003-07-22  Antonio Xu  <antonio.xu@sun.com>

	* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
	to "delete_event" signal with startup_wizard_delete. [#46284]

svn path=/trunk/; revision=21885
2003-07-22 08:30:04 +00:00
b4e252d26e use g_signal_connect_after to connect "prepare" signal.
2003-07-22  Antonio Xu <antonio.xu@sun.com>

	* e-shell-importer.c: (show_import_wizard): use
	g_signal_connect_after to connect "prepare" signal.
	(prepare_intelligent_page): Display some error log and disable
	forward button rather than jump to finish page.  [#46017]

svn path=/trunk/; revision=21884
2003-07-22 08:15:09 +00:00
ef517a5fba Init charset to NULL.
2003-07-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Init charset to NULL.

svn path=/trunk/; revision=21882
2003-07-21 17:56:17 +00:00
8a2f94b835 Make this work again.
* e-msg-composer.c (build_message): Make this work again.

svn path=/trunk/; revision=21881
2003-07-21 17:44:55 +00:00
b61b6225f1 *configure.in: Added 'ms' (Malay) to ALL_LINGUAS.
2003-07-20 Hasbullah Bin Pit <sebol@ikhlas.com>

        *configure.in: Added 'ms' (Malay) to ALL_LINGUAS.

svn path=/trunk/; revision=21878
2003-07-21 14:35:16 +00:00
3f3cdd2477 Added initial Malay Translation by MIMOS Open Source Development Group
2003-07-21  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Added initial Malay Translation by
                MIMOS Open Source Development Group <syed@mimos.my>

svn path=/trunk/; revision=21877
2003-07-21 14:24:21 +00:00
b59ab9da29 connect "back" signal to back_finish_func in finish page.
2003-07-21 Antonio Xu <antonio.xu@sun.com>

	* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
        "back" signal to back_finish_func in finish page.
        (back_finish_func): handle "back" signal.
        (prepare_importer_page): Jump to finish page when running equal zero.
        [#46026]

svn path=/trunk/; revision=21875
2003-07-21 06:41:52 +00:00
0f8b35a367 Convert unmaintained translations to UTF-8
svn path=/trunk/; revision=21872
2003-07-19 07:43:11 +00:00
49a3666edc ** For bug #46013
2003-07-17  Maxx Cao  <maxx.cao@sun.com>

        ** For bug #46013

        * e-msg-composer-hdrs.c (header_new_recipient): To/cc/bcc buttons
        made focusable.

svn path=/trunk/; revision=21868
2003-07-18 13:49:22 +00:00
9480887536 moved duplicated code to...
2003-07-18  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.[ch]:
	* gui/e-week-view.[ch]: moved duplicated code to...

	* gui/e-cal-view.[ch]: ...here.
	(e_cal_view_get_calendar, e_cal_view_set_calendar): new functions.

	* gui/e-week-view-event-item.c (e_week_event_item_double_click):
	* gui/gnome-cal.c (setup_widgets): adapted to changes in views.

svn path=/trunk/; revision=21865
2003-07-18 10:37:44 +00:00
451cc1a07a Updated to convert to/from the correct charset (since content is no longer
2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-message.c (find_best_encoding): Updated to convert
	to/from the correct charset (since content is no longer
	necessarily in UTF-8).
	(best_encoding): Free the charset string when we're done with it.

svn path=/trunk/; revision=21863
2003-07-17 20:12:12 +00:00
76c23a45f1 Increment the seekable stream position by the number of bytes read. Oops.
2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-stream-fs.c (stream_read): Increment the seekable stream
	position by the number of bytes read. Oops.
	(stream_write): Same here.

svn path=/trunk/; revision=21862
2003-07-17 19:17:42 +00:00
7b6185cbe1 Increment the seekable stream position by the number of bytes read. Oops.
2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-stream-fs.c (stream_read): Increment the seekable stream
	position by the number of bytes read. Oops.

svn path=/trunk/; revision=21861
2003-07-17 19:14:51 +00:00
2b960e3b75 fix the date on my last commit to keep things in order
svn path=/trunk/; revision=21860
2003-07-17 17:10:37 +00:00
1016194c44 free the folder_type
* e-shell-user-creatable-items-handler.c (free_menu_items): free
	the folder_type

	* e-splash.c (e_splash_new): Unref the pixbuf.

	* evolution-shell-component.c (impl_finalize): Add some missing
	frees.
	(user_creatable_item_type_free): free the tooltip

svn path=/trunk/; revision=21859
2003-07-17 17:09:38 +00:00
9bcb908ca5 disconnect from model signals to prevent a race condition at shutdown
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
	disconnect from model signals to prevent a race condition at
	shutdown where the view gets destroyed and then the model notices
	the backend dying before being destroyed itself.

	* gui/widgets/e-addressbook-reflow-adapter.c
	(addressbook_finalize): add, to free priv.
	(e_addressbook_reflow_adapter_class_init): set it up

	* gui/component/e-address-popup.c (e_address_popup_set_free_form):
	Don't leak strings

	* gui/component/addressbook-storage.c (load_source_data): don't
	leak xml data.

	* gui/component/addressbook-component.c (new_item_cb): don't leak
	the new card.

svn path=/trunk/; revision=21858
2003-07-17 16:58:02 +00:00
732db2157e encode the text (e_xml_from_hash): pass xmlDoc to foreach method
2003-07-03  JP Rosevear  <jpr@ximian.com>

 	* e-xml-hash-utils.c (foreach_save_func): encode the text
 	(e_xml_from_hash): pass xmlDoc to foreach method
 	(e_xmlhash_new): check for file existence
 	(e_xmlhash_destroy): only destroy the hash if it exists

svn path=/trunk/; revision=21856
2003-07-17 12:48:35 +00:00
ce6939b848 new base class for calendar views.
2003-07-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.[ch]: new base class for calendar views.

	* gui/e-day-view.[ch]:
	* gui/e-week-view.[ch]: base these classes on ECalView.

	* gui/Makefile.am: added new files.

svn path=/trunk/; revision=21854
2003-07-17 12:00:40 +00:00
e05eb7f89e s/expunge/purge.
2003-07-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-config.[ch]:
	* gui/tasks-control.c: s/expunge/purge.

svn path=/trunk/; revision=21853
2003-07-17 10:44:01 +00:00
aa13b07254 s/Expunge/Purge.
2003-07-17  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-tasks.xml: s/Expunge/Purge.

	* evolution-calendar.xml: fixed menmonic for Purge.

svn path=/trunk/; revision=21852
2003-07-17 10:43:21 +00:00
20d610abe4 ** See bug #42573
2003-07-17  Timo Sirainen <tss@iki.fi>

	** See bug #42573

	* providers/imap/camel-imap-folder.c (do_append): Only free the
	response after we have finished the literal request, otherwise we
	could try processing folder updates incorrectly.

svn path=/trunk/; revision=21851
2003-07-17 06:31:35 +00:00
96d8c5e1a3 new function, which uses a CalQuery to retrieve the objects older than a
2003-07-16  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.[ch] (gnome_calendar_purge): new function,
	which uses a CalQuery to retrieve the objects older than a given date.
	(check_instance_cb): callback for cal_recur_generate_instances.
	(purging_obj_updated_cb): call check_instance_cb on each recurrence
	to double-check the event can be deleted.
	(purging_query_done_cb, purging_eval_error_cb): needed callbacks to
	finish the query.
	(gnome_calendar_destroy): free new members.

	* gui/calendar-commands.c (purge_cmd): added implementation for the
	'Purge' menu item.

svn path=/trunk/; revision=21846
2003-07-16 23:15:04 +00:00
a15a6521f8 added 'Purge' menu item.
2003-07-15  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-calendar.xml: added 'Purge' menu item.

	* evolution-tasks.xml: added separator after 'Send/Receive'.

svn path=/trunk/; revision=21845
2003-07-16 23:13:42 +00:00
19ffc6d23e We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look
2003-07-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_encrypted): We don't have
	camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
	protocol for now.
	(mail_format_data_wrapper_write_to_stream): Updated for the new
	way camel handles content objects.

svn path=/trunk/; revision=21844
2003-07-16 20:46:19 +00:00
1dea5ca338 don't set the rawtext bit anymore.
2003-07-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
	the rawtext bit anymore.

	* e-msg-composer.c (build_message): Convert the plain part's
	content stream from UTF-8 to whatever charset we want.

2003-07-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings
	and other breakage introduced by Maxx.

svn path=/trunk/; revision=21843
2003-07-16 20:45:56 +00:00
b83ddf044c Add the CamelMimePartEncodingType definition here.
2003-07-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.h: Add the CamelMimePartEncodingType definition
	here.

	* camel-mime-part.h: Remove the CamelMimePartEncodingType
	definition.

	* camel-mime-part-utils.c
	(simple_data_wrapper_construct_from_parser): Don't do any of the
	auto-detection we used to do here anymore. Just read the content
	into a memory buffer and record the encoding type.
	(camel_mime_part_construct_content_from_parser): Don't mangle the
	Content-Type struct here anymore.

	* camel-data-wrapper.c (camel_data_wrapper_init): Init encoding to
	DEFAULT.
	(write_to_stream): If the stream needs to be decoded, decode it.

svn path=/trunk/; revision=21842
2003-07-16 20:45:26 +00:00
0b56232492 We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look
2003-07-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_encrypted): We don't have
	camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
	protocol for now.

svn path=/trunk/; revision=21841
2003-07-16 20:11:06 +00:00
65e1b7029a Fixes #45774
2003-07-16  Andrew Wu <Yang.Wu@sun.com>

      Fixes #45774

      * gui/e-day-view.c (e_day_view_goto_start_of_work_day):
      implemented select the time that begins a work day.
      (e_day_view_goto_end_of_work_day):
      implemented select the time that ends a work day.

svn path=/trunk/; revision=21839
2003-07-16 09:20:28 +00:00
d706bab541 Fixes #45772
2003-07-16  Andrew Wu <Yang.Wu@sun.com>

        Fixes #45772

        * gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right
          to go to the same day of the previous/next week.
        * gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType.

svn path=/trunk/; revision=21836
2003-07-16 08:05:05 +00:00
6c397fa70c If we read 0 bytes, then set eos to TRUE.
2003-07-15  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-stream-fs.c (stream_read): If we read 0 bytes, then set
	eos to TRUE.

svn path=/trunk/; revision=21820
2003-07-16 02:32:30 +00:00
32380aa7c9 Handle invalid URIs, or more likely, the last empty element in a URI list
2003-07-15  Federico Mena Quintero  <federico@ximian.com>

	* folder-browser.c (message_list_drag_data_received): Handle
	invalid URIs, or more likely, the last empty element in a URI list
	--- g_strsplit() will yield { "uri1", "", NULL }.  Fixes #46398.

	* component-factory.c (destination_folder_handle_drop): Likewise.

svn path=/trunk/; revision=21818
2003-07-15 19:47:57 +00:00