Commit Graph

12920 Commits

Author SHA1 Message Date
551901216e Connect to the destroy signal on the popup dialog.
2001-12-12  Jeffrey Stedfast  <fejJ@ximian.com>

	* mail-config.c (mail_config_check_service): Connect to the
	destroy signal on the popup dialog.

2001-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_plain): Make sure i != num_specials
	after we check for any special text markers. Fixes bug #12265.

svn path=/trunk/; revision=15085
2001-12-14 20:06:51 +00:00
900078b311 Connect to the save-draft signal. (send_to_url): Here too. (mail_reply):
2001-12-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (compose_msg): Connect to the save-draft signal.
	(send_to_url): Here too.
	(mail_reply): And here...
	(forward_get_composer): Same.
	(do_edit_messages): And finally here.

svn path=/trunk/; revision=15081
2001-12-14 19:11:05 +00:00
3abfba882b Setup the SAVE_DRAFT signal. (menu_file_save_draft_cb): Emit the
2001-12-14  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (class_init): Setup the SAVE_DRAFT signal.
	(menu_file_save_draft_cb): Emit the SAVE_DRAFT signal.
	(exit_dialog_cb): Same here.
	(save_draft): Removed. This code is now a signal that
	mail-callbacks will connect to.

svn path=/trunk/; revision=15079
2001-12-14 18:53:30 +00:00
5b050b30a9 [Fix #17258, shell displays splash even if Evolution is already
running.]

* e-shell.c (e_shell_construct): Display the splash screen only if
the registration succeeds.

svn path=/trunk/; revision=15078
2001-12-14 18:51:06 +00:00
bad0d14682 Removed x-inline-pgp-hack kludge because it doesn't work.
2001-12-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c (camel_pgp_mime_part_verify): Removed
	x-inline-pgp-hack kludge because it doesn't work.
	(camel_pgp_mime_part_decrypt): Same.

svn path=/trunk/; revision=15077
2001-12-14 18:06:16 +00:00
37f1f773e2 Start reiplementing The Right Way and not danw's fucking half-assed kludge
2001-12-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_inline_pgp):
	(try_inline_pgp_sig): Start reiplementing The Right Way and not
	danw's fucking half-assed kludge that doesn't work.

svn path=/trunk/; revision=15076
2001-12-14 17:57:08 +00:00
969ffa703d 0.10.0 here we go!
svn path=/trunk/; revision=15036
2001-12-14 04:59:04 +00:00
23a8973248 0.10.0 here we go!
svn path=/trunk/; revision=15035
2001-12-14 04:58:54 +00:00
597556884c Make sure to copy the custom fields so they are not overwritten
2001-12-13  JP Rosevear  <jpr@ximian.com>

 	* conduit/address-conduit.c (local_record_from_ecard): Make sure
 	to copy the custom fields so they are not overwritten

svn path=/trunk/; revision=15034
2001-12-14 04:25:57 +00:00
4d9df464b9 include stdlib.h (for alloca on freebsd) and only include alloca.h if
2001-12-13  Chris Toshok  <toshok@ximian.com>

	* camel-data-cache.c: include stdlib.h (for alloca on freebsd) and
	only include alloca.h if HAVE_ALLOCA_H is defined.

svn path=/trunk/; revision=15033
2001-12-14 03:02:55 +00:00
f6c13cdb84 check for alloca.h.
2001-12-13  Chris Toshok  <toshok@ximian.com>

	* configure.in: check for alloca.h.

svn path=/trunk/; revision=15032
2001-12-14 03:02:27 +00:00
5ebc441eaa Used g_strdup_printf to dup a string. Doh! Changed to g_strdup. (Bug
2001-12-13  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-book-util.c (simple_query_new): Used
	g_strdup_printf to dup a string.  Doh!  Changed to g_strdup.
	(Bug #17126)

svn path=/trunk/; revision=15031
2001-12-13 23:45:11 +00:00
9c742bd727 merge from head
2001-11-21  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (menubar_activated): Mark the dialogue as already
        up so we dont allow multiple dialogues up.  Behaviour fix part of
        #15745.

svn path=/trunk/; revision=15030
2001-12-13 23:41:15 +00:00
9b42600ef3 Fixes #17085
2001-12-11  Zbigniew Chyla  <cyba@gnome.pl>

	Fixes #17085

	* camel-charset-map.c: Added #include <errno.h>.

	* camel-charset-map-private.h:
	Recreated (following instructions from camel-charset-map.c)

svn path=/trunk/; revision=15029
2001-12-13 23:39:01 +00:00
11e3595c72 added calendar/zones.h
2001-12-13  Damon Chaplin  <damon@ximian.com>

	* POTFILES.in: added calendar/zones.h

svn path=/trunk/; revision=15027
2001-12-13 21:35:56 +00:00
9cd29d5730 new file to contain all timezone names for translation. We won't be using
2001-12-13  Damon Chaplin  <damon@ximian.com>

	* zones.h: new file to contain all timezone names for translation.
	We won't be using the translations in 1.0.1, but it gives translators
	time before we do use them in 1.0.2.

	* Makefile.am: added zones.h to EXTRA_DIST.

svn path=/trunk/; revision=15026
2001-12-13 21:33:16 +00:00
da13189489 cast the key argument to g_hash_table_insert to a gpointer to avoid compiler warnings
svn path=/trunk/; revision=15023
2001-12-13 20:58:30 +00:00
66587d89a3 Keep a name-to-type hash so that we can make sure that the type has not
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-object.c (camel_type_register): Keep a name-to-type hash
	so that we can make sure that the type has not yet been registered
	(prevents a race condition such as the one in bug #16559).

	* camel-service.c (camel_service_connect): Make sure that the
	connect_op is non-NULL before unregistering/unreffing it.

svn path=/trunk/; revision=15021
2001-12-13 20:38:11 +00:00
e2f8314f13 added a Content-Description to the signature part - part of a merge from the 1-0 branch.
svn path=/trunk/; revision=15020
2001-12-13 20:37:20 +00:00
95fb75425d merged some changes from the 1-0 branch that apparently never got merged into HEAD
svn path=/trunk/; revision=15019
2001-12-13 20:32:42 +00:00
d103ae62e1 Attach to the parent widget's destroy signal - when that gets destroyed,
001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	Attach to the parent widget's destroy signal - when that gets
	destroyed, we need to cancel the editor dialog too. Also connect
	to our parent window's "hide" signal so that when the composer
	gets hidden (ie, it's being sent), we also close the dialogs.

	* e-msg-composer.c (init): Default composer->enable_autosave to
	TRUE.

svn path=/trunk/; revision=15016
2001-12-13 20:14:26 +00:00
fe2f7a99bb Updated Slovak translation.
2001-12-13  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

svn path=/trunk/; revision=15014
2001-12-13 13:07:55 +00:00
8a2afc3517 New helper function to create the `~/evolution/private' directory.
* e-setup.c (setup_bonobo_conf_private_directory): New helper
function to create the `~/evolution/private' directory.
(e_setup): Call it.

svn path=/trunk/; revision=15012
2001-12-13 00:45:09 +00:00
3681ee8079 Install the man page.
* data/Makefile.am (man_MANS): Install the man page.

* data/evolution.1: New man page for Evolution.

svn path=/trunk/; revision=15011
2001-12-13 00:38:19 +00:00
153ab60b42 ungrab the pointer before calling e_day_view_finish_long_event_resize
2001-12-12  JP Rosevear  <jpr@ximian.com>

	* gui/e-day-view.c (e_day_view_on_top_canvas_button_release):
 	ungrab the pointer before calling
 	e_day_view_finish_long_event_resize
 	(e_day_view_on_main_canvas_button_release): ditto
 	(e_day_view_finish_long_event_resize): ask if the meeting should
 	be sent
 	(e_day_view_finish_resize): ditto
 	(e_day_view_on_editing_stopped): ditto
 	(e_day_view_on_top_canvas_drag_data_received): ditto
 	(e_day_view_on_main_canvas_drag_data_received): ditto

svn path=/trunk/; revision=15008
2001-12-12 21:28:14 +00:00
3622e520dd set the new-mail-notify command.
2001-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_set_new_mail_notification_command):
	set the new-mail-notify command.
	(mail_config_get_new_mail_notification_command): get the
	new-mail-notify command.
	(mail_config_set_new_mail_notification): set the
	new-mail-notification action.
	(mail_config_get_new_mail_notification): get the
	new-mail-notification action.
	(mail_config_write_on_exit): save the new-mail-notification
	settings.
	(config_read): Read in the new-mail-notification settings.

	* mail-ops.c (mail_execute_shell_command): New function to execute
	a shell command async. Will be used for playing sounds on new mail
	or whatever.

svn path=/trunk/; revision=15005
2001-12-12 21:14:30 +00:00
39d4313c30 Updated Swedish translation.
2001-12-12  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=15003
2001-12-12 20:27:26 +00:00
29f8216c4c properly convert the dtstart and dtend times if they are UTC (cursor_cb):
2001-12-11  JP Rosevear  <jpr@ximian.com>

 	* gui/e-meeting-model.c (process_free_busy_comp): properly convert
 	the dtstart and dtend times if they are UTC
 	(cursor_cb): if we don't have anybody to get f/b info for, process
 	the callbacks immediately
 	(e_meeting_model_refresh_busy_periods): take start/end times,
 	calculate the timet values with object timezone
 	(e_meeting_model_etable_model_to_view_row): proper cast
 	(e_meeting_model_etable_view_to_model_row): ditto
	(async_open): bail out if we couldn't open properly

	* gui/e-meeting-time-sel.c
 	(e_meeting_time_selector_on_update_free_busy): use defines for
 	determining the number of days before and after of free busy to
 	request
 	(e_meeting_time_selector_update_dates_shown): use defines for the
 	number of days shown

 	* gui/e-meeting-model.h: update proto

svn path=/trunk/; revision=15000
2001-12-12 03:22:50 +00:00
49546f4de2 If multiple-selection is enabled but nothing is slected, fall back to
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (confirm): If multiple-selection is
	enabled but nothing is slected, fall back to using the filename in
	the entry box as the "selected" file.
	(create_file_selection): If the composer gets hidden (ie it's
	being "sent") then cancel the file selection dialog.

svn path=/trunk/; revision=14999
2001-12-12 00:56:51 +00:00
d91cf08981 Fixed for mail_content_loaded's new signature.
2001-12-11  Jon Trowbridge  <trow@ximian.com>

	* mail-identify.c (mail_identify_mime_part): Fixed for
	mail_content_loaded's new signature.

	* mail-format.c (attachment_header): Don't convert URLs, etc. if
	we are printing.
	(write_address): Don't convert addresses to mailto: links if we
	are printing.
	(write_one_text_plain_chunk): Add a printing flag, that we pass
	along to mail_text_write.
	(handle_text_plain): Pass our printing flag to
	write_one_text_plain_chunk.
	(mail_get_message_rfc822): Don't unneccesarily convert URLs.
	(mail_content_loaded): Add a GtkHTML parameter.

	* mail-display.c (mail_display_initialize_gtkhtml): Added.  Breaks
	all of the signal hookups out of mail_display_new.
	(mail_display_new): Call mail_display_initialize_gtkhtml.
	(mail_text_write): Don't convert URLs, etc., if we are printing.
	Lots of other changes to pass around GtkHTML/GtkHTMLStream objects.

	* mail-callbacks.c (do_mail_print): Call
	mail_display_initialize_gtkhtml on our GtkHTML object.

	* folder-browser.c (update_status_bar): Make the status bar more
	useful when you have a large number of hidden messages.

svn path=/trunk/; revision=14997
2001-12-11 23:07:22 +00:00
3e70bbe666 unregister ETableHeaderItem widget as a drag target when unrealizing it.
2001-12-11  Gustavo Giráldez  <gustavo.giraldez@gmx.net>

	* gal/e-table/e-table-header-item.c (ethi_unrealize): unregister
	ETableHeaderItem widget as a drag target when unrealizing it.

svn path=/trunk/; revision=14996
2001-12-11 22:20:31 +00:00
12b70e06ff use UTF-8 as the char set when testing pilot link
2001-12-10  JP Rosevear  <jpr@ximian.com>

 	* configure.in: use UTF-8 as the char set when testing pilot link

2001-12-10  JP Rosevear  <jpr@ximian.com>

	* e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of
	UTF8 as the source char set
	(e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the
	destination char set

svn path=/trunk/; revision=14995
2001-12-11 22:00:12 +00:00
17957b8297 If multiple-selection is enabled but nothing is slected, fall back to
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (confirm): If multiple-selection is
	enabled but nothing is slected, fall back to using the filename in
	the entry box as the "selected" file.

svn path=/trunk/; revision=14994
2001-12-11 21:55:55 +00:00
84cc28032c If the widget is non-NULL, then gtk_widget_destroy that bad boy...
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c
	(file_selection_info_destroy_notify): If the widget is non-NULL,
	then gtk_widget_destroy that bad boy...

svn path=/trunk/; revision=14984
2001-12-11 19:37:30 +00:00
8a954d0448 Fix typo.
svn path=/trunk/; revision=14983
2001-12-11 18:06:11 +00:00
a80cc021c1 A new icon that sucks less. We still need stoem Tuomas-love.
2001-12-11  Jon Trowbridge  <trow@ximian.com>

	* mail-need-reply.xpm: A new icon that sucks less.  We still need
	stoem Tuomas-love.

svn path=/trunk/; revision=14982
2001-12-11 18:05:55 +00:00
6642d01f14 Add ETable magic for our new "Needs Reply" column. (The next few entries
2001-12-11  Jon Trowbridge  <trow@ximian.com>

	* message-list.etspec: Add ETable magic for our new "Needs Reply"
	column.  (The next few entries are for bug #90)

	* message-list.h: Add COL_NEED_REPLY.

	* message-list.c: Move mail_need_reply_xpm to the end of
	states_pixmaps.
	(ml_duplicate_value): Handle COL_NEED_REPLY.
	(ml_free_value): Handle COL_NEED_REPLY.
	(ml_initialize_value): Handle COL_NEED_REPLY.
	(ml_value_is_empty): Handle COL_NEED_REPLY.  Added
	needs_reply_map[] array.
	(ml_value_to_string): Handle COL_NEED_REPLY.
	(ml_tree_value_at): Fix magic numbers, undoing my changes from the
	otehr day.  Add handler for COL_NEED_REPLY.
	(message_list_create_extras): Attach icons for COL_NEED_REPLY.
	(on_click): Undo my previous changes to display need-reply status
	in COL_MESSAGE_STATUS.  Add handing for COL_NEED_REPLY.

	* mail.h: Change mail_format_mime_message, mail_format_raw_message
	and the MailMimeHandlerFn typedef to take GtkHTML and
	GtkHTMLStream args, as per our changes in mail-format.c.

	* mail-format.c: Giant refactoring.  Remove the assumption
	throughout that we will always want to render into the GtkHTML
	object contained in the MailDisplay.  Instead, always pass in the
	GtkHTML and GtkHTMLStream that we want to write to.  Also, ignore
	theme work-arounds if the printing flag is set.  (This and what
	follows fixes bug #82)

	* mail-display.h: Remove GtkHTMLStream *stream from MailDisplay.
	We don't need it anymore.

	* mail-display.c (mail_display_render): Added.  Breaks the code
	that renders the message into the GtkHTML object out of
	mail_display_redisplay.
	(mail_display_redisplay): Call mail_display_render.
	(mail_display_init): Remove reference to ->stream.
	(mail_display_new): Remove reference to ->stream.

	* mail-callbacks.c (do_mail_print): Create a new GtkHTML to render
	our printed version into (via the new function
	mail_display_render.  Set the MailDisplay's printing flag to TRUE
	before we render, and set it back to FALSE afterwards.
	(do_mail_fetch_and_print): If the preview pane isn't open when we
	try to print, fetch the message before printing.
	(print_msg): Call do_mail_fetch_and_print.
	(print_preview_msg): Call do_mail_fetch_and_print.

	* folder-browser-ui.c: Remove "PrintMessage" and
	"PrintPreviewMessage" from message_pane_enables... these now work
	when the preview pane is closed.  Disable printing if multiple
	messages are selected.

svn path=/trunk/; revision=14981
2001-12-11 18:03:44 +00:00
0bdb17a8e3 "Ximian Evolution", not "Evolution".
* data/evolution.desktop.in (_Name): "Ximian Evolution", not
"Evolution".

svn path=/trunk/; revision=14980
2001-12-11 17:35:48 +00:00
3248591df9 Up VERSION to 1.1.0.99.
* configure.in: Up VERSION to 1.1.0.99.

(Also, fix the ChangeLog a bit, as Jeff committed some ChangeLog
entries that were not supposed to be committed.)

svn path=/trunk/; revision=14979
2001-12-11 17:35:09 +00:00
8a78eadaa6 Updated Slovak translation.
2001-12-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

svn path=/trunk/; revision=14978
2001-12-11 14:34:16 +00:00
4c5bb9d903 Updated Ukrainian Translation
svn path=/trunk/; revision=14977
2001-12-11 14:08:38 +00:00
a014ee4309 Merging files:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c, e-table-config.h (setup_gui): Set the title of
	the window here.

	* e-table-header-item.c (ethi_popup_customize_view): Use a useful
	string for the header here.

svn path=/trunk/; revision=14975
2001-12-11 10:10:02 +00:00
dc83cb0331 Merging changes:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c (etss_get_view_row): Removed incorrect calls to
	e_table_model_row_changed here.

svn path=/trunk/; revision=14973
2001-12-11 10:02:27 +00:00
ef46478b1c Merging changes:
2001-12-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_find_col_by_x,
	ethi_find_col_by_x_nearest): Made these return 0 to the left of
	all columns and ethi_find_col_by_x return cols - 1 if to the right
	of all columns.  Fixes Ximian bug #14414.

svn path=/trunk/; revision=14971
2001-12-11 09:56:14 +00:00
b9cdb00a64 Don't expunge when we sync anymore, this fixes bug #4472.
2001-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (filter_folder_filter): Don't expunge when we sync
	anymore, this fixes bug #4472.

svn path=/trunk/; revision=14969
2001-12-11 03:24:59 +00:00
19339ece30 select_file_attachments now returns a GPtrArray so handle that and loop
2001-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (add_from_user):
	select_file_attachments now returns a GPtrArray so handle that and
	loop until we've added all the attachment files.

	* e-msg-composer-select-file.c (confirm): Add an evil kludge to
	get a list of filenames from the GtkFileSelection widget based on
	the label in the history option menu item and the base filenames
	of the selected items in the filename clist.
	(create_file_selection): Setup the clist to allow multiple
	selection.
	(file_selection_info_destroy_notify): Destroy the GPtrArray
	containing the list of xselected files.
	(select_file_internal): Return a GPtrArray of files instead of a
	char *.

svn path=/trunk/; revision=14968
2001-12-11 01:01:05 +00:00
63ce54907c Make sure that the message subject is non-NULL beforetrying to base a
2001-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-autofilter.c (rule_from_message): Make sure that the
	message subject is non-NULL beforetrying to base a vfolder rule
	off it. Fixes bug #16284.

2001-12-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Connect to the dialog's "destroy"
	event and close any druids/editors that may be open when that
	signal is caught. Fixes bug #16501.

	* mail-vfolder.c (vfolder_edit): Set the window title to "Virtual
	Folders". Fixes bug #16695.

svn path=/trunk/; revision=14966
2001-12-10 20:09:37 +00:00
4996c32075 Only execute an executable sig file if a magic environment variable is
2001-12-10  Jon Trowbridge  <trow@ximian.com>

	* e-msg-composer.c (get_file_content): Only execute an executable
	sig file if a magic environment variable is set.

svn path=/trunk/; revision=14962
2001-12-10 19:30:24 +00:00
68f8ea5429 removed code that connects to GnomeCalendar's "dates_shown_changed"
2001-12-10  Damon Chaplin  <damon@ximian.com>

	* gui/control-factory.c (control_factory_new_control): removed code
	that connects to GnomeCalendar's "dates_shown_changed" signal.

	* gui/calendar-commands.c (gcal_calendar_dates_change_cb):
	(calendar_control_activate): moved it here, so it gets reconnected
	whenever the control is activated. Fixes bug #15798.

svn path=/trunk/; revision=14960
2001-12-10 19:24:42 +00:00
9786b8ab7d if all we have is the TZID, see if it is one of our TZIDs and if so get
2001-12-10  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_display_name): if all
	we have is the TZID, see if it is one of our TZIDs and if so get the
	city name out of it. Fixes bug #16571.

svn path=/trunk/; revision=14957
2001-12-10 19:15:40 +00:00