Commit Graph

13899 Commits

Author SHA1 Message Date
5d8a4ea16f Ref the html object here, this is an async handler so it's possible for
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (stream_write_or_redisplay_when_loaded): Ref the
	html object here, this is an async handler so it's possible for
	our caller (or someone else) to unref the html object before we
	finish.
	(load_content_free): Unref the async handler's ref of the html
	object here.
	(mail_display_new): Ref the html widget here so that we can be
	sure that so long as the mail-display is "alive", so is the html
	object. See bug #22328 for details. Basically, the message-browser
	is being closed before the message gets loaded and so the html
	object was being destroyed but the mail-display was still alive.
	(mail_display_destroy): Unref the html object when the
	mail-display is destroyed.

svn path=/trunk/; revision=16544
2002-04-20 00:41:25 +00:00
4cd8394cf6 Added yet more accelerators for the new config dialog--this time for the
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* mail-config.glade: Added yet more accelerators for the new config
	dialog--this time for the composer pages

svn path=/trunk/; revision=16543
2002-04-19 22:51:21 +00:00
68ac7d7c97 would help if I didn't name 2 widgets the same for the colour tab in the preferences dialog ;-)
svn path=/trunk/; revision=16541
2002-04-19 22:14:28 +00:00
b89aef3b8f Collapsed notebook into two pages and added accelerators for everything,
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages
	and added accelerators for everything, as part of my config dialog
	polishing project

svn path=/trunk/; revision=16540
2002-04-19 22:12:39 +00:00
ae9e80d9f3 Don't g_return_val_if_fail here if the boundary is an empty string. See
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart.c (write_to_stream): Don't g_return_val_if_fail
	here if the boundary is an empty string. See bug #23676 for
	details. The way I see it, we have 2 options: 1) leave this fix
	the way it is, thus allowing multipart boundaries to be
	empty-strings; or 2) make camel_multipart_get_boundary() change
	the boundary to something legal if the boundary is an
	empty-string. Since the parser should be able to handle an
	empty-string boundary *and* more importantly because we want to
	keep the same boundaries as the original raw message so as to be
	able to verify multipart/signed parts, I vote for solution #1.

svn path=/trunk/; revision=16539
2002-04-19 22:02:13 +00:00
4d1d5c599c Added a bunch of accelerators for the new config dialog
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* mail-config.glade: Added a bunch of accelerators for the new config
	dialog

svn path=/trunk/; revision=16538
2002-04-19 21:16:21 +00:00
7ea6adbd39 more cs translations
svn path=/trunk/; revision=16537
2002-04-19 20:26:02 +00:00
c1f065e586 print the cell in the allotted area (etog_print_height): return the print
2002-04-19  JP Rosevear  <jpr@ximian.com>

	* e-cell-toggle.c (etog_print): print the cell in the allotted
	area
	(etog_print_height): return the print height

svn path=/trunk/; revision=16536
2002-04-19 20:22:24 +00:00
562c2676e0 Minor label tweaks; changed "Default folders" to "Default Folders", and
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* glade/e-shell-config-default-folders.glade: Minor label tweaks;
	changed "Default folders" to "Default Folders", and added accelerators.

svn path=/trunk/; revision=16535
2002-04-19 15:41:34 +00:00
e1a10e4256 change order of scope option menu to match how it's stored.
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/ldap-config.glade: change order of scope option
	menu to match how it's stored.

svn path=/trunk/; revision=16534
2002-04-19 05:29:10 +00:00
58d7feca84 change ldap config control text so it fits in the config dialog.
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: change ldap
	config control text so it fits in the config dialog.

	* gui/component/ldap-config.c: #ifdef lots of stuff HAVE_LDAP so
	it'll build/run in either case.
	(addressbook_source_dialog_destroy): rename
	addressbook_add_server_druid_destroy to this, and free lots more
	stuff.
	(addressbook_add_server_druid):
	addressbook_add_server_druid_destroy ->
	addressbook_source_dialog_destroy.
	(do_schema_query): add 3 second timeout to schema query.
	(addressbook_edit_server_dialog): hook up destroy signal.
	(config_control_new): if HAVE_LDAP isn't defined, put up a label
	saying so.

svn path=/trunk/; revision=16533
2002-04-19 04:37:31 +00:00
7c844e0e35 add LDAP_CFLAGS to INCLUDES
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/Makefile.am (INCLUDES): add LDAP_CFLAGS to INCLUDES

svn path=/trunk/; revision=16532
2002-04-19 02:25:52 +00:00
21f3950537 Start of a white-paperish document describing camel-index and older
2002-04-19  Not Zed  <NotZed@Ximian.com>

        * devel-docs/camel-index.txt: Start of a white-paperish document
        describing camel-index and older libibex.

svn path=/trunk/; revision=16531
2002-04-19 02:04:35 +00:00
ec1f4cc64f no more source->type.
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (book_open_cb): no more
	source->type.

svn path=/trunk/; revision=16530
2002-04-19 02:01:05 +00:00
500a46c6b7 fill in source->ssl. (addressbook_source_dialog_set_source): set up
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/ldap-config.c (addressbook_dialog_get_source):
	fill in source->ssl.
	(addressbook_source_dialog_set_source): set up auth/scope/ssl
	option menus properly.

	* gui/component/addressbook-storage.c
	(addressbook_storage_init_source_uri): always include the
	limit/ssl in the uri so we don't need to rely on defaults
	everywhere.
	(ldap_source_foreach): store the ssl option.

	* gui/component/addressbook-storage.h: reorder SSLType to match
	the UI.

	* backend/pas/pas-backend-ldap.c: (struct _PASBackendLDAPPrivate)
	add field for ldap_timeout.
	(pas_backend_ldap_connect): reorder things a bit - we need to
	start tls before the root dse query, if we can.
	(pas_backend_ldap_load_uri): track the way ssl parameters are
	given in the uri, and parse out the timeout.

	* gui/component/ldap-config.c (port_changed_func): use the
	symbolic SSL name instead of an integer constant.

svn path=/trunk/; revision=16529
2002-04-18 22:43:54 +00:00
7397bc24b8 properly handle -ve recurrence values
2002-04-18  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly
	handle -ve recurrence values
	(month_num_submenu_selection_done_cb): track the current date in
	use
	(make_recur_month_num_submenu): make a submenu of dates
	(make_recur_month_num_menu): make the date/relation option menu
	(month_num_menu_selection_done_cb): update the date properly and
	keep both option menus consistent
	(month_day_menu_selection_done_cb): keep both option menus
	consistent
	(make_monthly_special): listen for selection done signal
	(make_recurrence_special): destroy old month_num_menu
	(recurrence_page_fill_widgets): properly handle -ve recurrence
	values

svn path=/trunk/; revision=16526
2002-04-18 22:03:39 +00:00
f133091e60 Removed all Delivered-To headers before redirecting. Fixes bug #23635.
2002-04-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (redirect_get_composer): Removed all
	Delivered-To headers before redirecting. Fixes bug #23635.

svn path=/trunk/; revision=16525
2002-04-18 21:39:59 +00:00
9b7cc54d6f fix memory leaks.
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix
	memory leaks.

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the
	Addressbook_ConfigControl stuff to LDAP_ConfigControl.

	* gui/component/Makefile.am (evolution_addressbook_SOURCES):
	remove addressbook-config.* and add ldap-config.*
	(glade_DATA): same.
	(evolution_addressbook_LDADD): add LDAP_LIBS.

	* gui/component/addressbook-component.c (owner_set_cb):
	addressbook_config_register_factory =>
	ldap_config_register_factory.

	* gui/component/addressbook.c (book_open_cb): remove source->type
	check - they're always LDAP.
	(load_uri_cb): same.

	* gui/component/addressbook-storage.c (ldap_unparse_ssl): new
	function.
	(ldap_parse_ssl): new function.
	(addressbook_storage_init_source_uri): use a more flexible scheme
	to build up the uri's, and add in the ssl parameter.
	(load_source_data): fill in source->ssl, and remove source->type
	assignment.
	(addressbook_source_copy): copy source->ssl, and remove
	source->type copy.
	(create_ldap_folder): addressbook_create_new_source =>
	ldap_config_create_new_source.

	* gui/component/addressbook-storage.h: remove
	AddressbookSourceType (it was always LDAP), and add
	AddressbookLDAPSSLType.

svn path=/trunk/; revision=16524
2002-04-18 21:26:48 +00:00
0c7e55e75c Append /addressbook.db to the end of the default URI if it starts with
* backend/ebook/e-book-util.c (e_book_load_default_book): Append
	/addressbook.db to the end of the default URI if it starts with
	file:

	* backend/ebook/e-book.c (e_book_load_uri_step): Fix this to not
	loop forever if you have more than one backend.

svn path=/trunk/; revision=16519
2002-04-18 20:50:28 +00:00
6ac6466501 use default paper name in case of wrong translation
2002-04-18  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c (do_mail_print): use default paper name in case
	of wrong translation

svn path=/trunk/; revision=16516
2002-04-18 20:38:06 +00:00
eb1f04235a The score "is" rule should have a value of "is" and not "less-than".
2002-04-18  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: The score "is" rule should have a value of "is"
	and not "less-than".

svn path=/trunk/; revision=16514
2002-04-18 20:08:17 +00:00
90710b285f show the settings
2002-04-18  JP Rosevear  <jpr@ximian.com>

	* gui/e-day-view.c (e_day_view_on_settings): show the settings

	* gui/e-week-view.c (e_week_view_on_settings): ditto

	* gui/calendar-commands.c (control_util_show_settings): show the
	settings dialog

	* gui/calendar-commands.h: new proto

	* gui/control-factory.c (control_factory_new_control): set the
	control as object data on the calendar

svn path=/trunk/; revision=16511
2002-04-18 19:00:25 +00:00
bd6359c660 emit show_settings signal (corba_class_init): assign epv method
2002-04-18  JP Rosevear  <jpr@ximian.com>

	* evolution-shell-view.c (impl_ShellView_show_settings): emit
	show_settings signal
	(corba_class_init): assign epv method
	(class_init): add signal

	* evolution-shell-view.h: new signal

	* e-shell.c (init): init settings_dialog private member
	(settings_dialog_destroy_cb): reset dialog pointer
	(e_shell_show_settings): show the settings dialog, bring it to the
	front if one already exists for this shell

	* e-shell.h: new proto

	* e-shell-view.c (corba_interface_show_settings): implement
	showSettings method
	(setup_corba_interface): listen for show_settings signal
	(e_shell_view_show_settings): show the settings dialog

	* e-shell-view.h: new proto

	* e-shell-view-menu.c (command_settings): call
	e_shell_view_show_settings instead

	* Evolution-ShellView.idl: add showSettings method

svn path=/trunk/; revision=16510
2002-04-18 18:57:45 +00:00
b997798e35 handle toggle and radio items (make_item): the item is now passed in from
2002-04-18  JP Rosevear  <jpr@ximian.com>

	* gal/widgets/e-popup-menu.c (e_popup_menu_create): handle toggle
	and radio items
	(make_item): the item is now passed in from above and not returned

svn path=/trunk/; revision=16508
2002-04-18 15:37:57 +00:00
59b2f41e54 begin of cs translation
svn path=/trunk/; revision=16507
2002-04-18 14:38:23 +00:00
ff664c121a If we get a failure, make sure we set an exception.
2002-04-18  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-local-store.c (rename_folder): If we get a
        failure, make sure we set an exception.

        * camel-text-index.c (camel_text_index_rename): If the file
        doesn't exist, just assume it never did, dont return failure.
        (text_index_rename): Add '.index' to the path name we're using,
        since we dont get it passed in.

svn path=/trunk/; revision=16505
2002-04-18 08:15:51 +00:00
2243175b0c Turn off the code which downloads the part if we can't identify it. See
2002-04-15  Not Zed  <NotZed@Ximian.com>

        * mail-identify.c (mail_identify_mime_part): Turn off the code
        which downloads the part if we can't identify it.  See discussion
        in #11778.

svn path=/trunk/; revision=16504
2002-04-18 02:21:08 +00:00
40c506c672 Require GAL 0.19.99.13.
* configure.in: Require GAL 0.19.99.13.

svn path=/trunk/; revision=16503
2002-04-18 02:20:19 +00:00
a3f94ff6ad New, override for EShortcutBar::shortcut_drag_motion.
* e-shortcuts-view.c (impl_shortcut_drag_motion): New, override
for EShortcutBar::shortcut_drag_motion.
(impl_shortcut_drag_data_received): New, override for
EShortcutBar::shortcut_drag_data_received.
(class_init): Install the method overrides.

svn path=/trunk/; revision=16502
2002-04-18 02:19:27 +00:00
6ccd0e6f59 When doing a contains match, split the words and perform an and on it.
2002-04-18  Not Zed  <NotZed@Ximian.com>

        * camel-folder-search.c (check_header): When doing a contains
        match, split the words and perform an and on it.
        (match_words_messages): If we have an index, but were forced to do
        a full search, first lookup a subset of messages using
        the index and a simplified word set.  Only do a manual search of
        this subset.

2002-04-17  Not Zed  <NotZed@Ximian.com>

        * camel-folder-search.c (match_message_index): Changed to take a
        utf8 string not a regex pattern.
        (match_words_index): Matches against a camel_search_words list.
        (match_words_1message): Matches a single message against a
        camel_search_words list.
        (match_words_message): Same, but gets the message from the folder
        for you.
        (match_words_messages): Matches a list of messages against a words
        list.
        (search_body_contains): Rewritten to handle multiple word
        searches.  For #23371.

        * providers/imap/camel-imap-search.c (sync_match): Split words
        when searching, to support multiple search words.  Also, try
        searching specifying charset of utf8 if we can, if that fails,
        fall back to not specifying charset.  TODO: It should translate
        the strings into the locale default charset?

        * providers/imap/camel-imap-store.c (connect_to_server): Added new
        cap - utf8_search, if set, we tell the server we're searching
        using utf8, otherwise we dont (incorrectly, since we always use
        utf8 to search).

        * camel-search-private.c (camel_ustrstrcase): Make this class public.
        (camel_search_words_split): Split a word into multiple words based
        on whitespace, and keep track of whether the word is simple
        (indexable directly), or not.
        (camel_search_words_free): Free 'em.

svn path=/trunk/; revision=16501
2002-04-18 02:18:55 +00:00
e5e67a6644 If the vee-folder is the unmatched, we don't have our own expression so we
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-vee-folder.c (vee_search_by_expression): If the vee-folder
	is the unmatched, we don't have our own expression so we cannot
	merge them. Instead, just use the expression passed in. This fixes
	a Null-Pointer-Read crash on Solaris systems at least.

svn path=/trunk/; revision=16500
2002-04-17 22:33:33 +00:00
b7dd8f28ef Bumped required gal version number to 0.19.99.12.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required gal version number to 0.19.99.12.

svn path=/trunk/; revision=16499
2002-04-17 22:32:58 +00:00
c2ee47d180 Bumped required gal version number to 0.19.99.11.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required gal version number to 0.19.99.11.

From addressbook/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_create_categories): Changed this to use
	ECategoriesMasterListOptionMenu.

	* gui/component/select-names/e-select-names.c
	(section_right_click_cb),
	gui/widgets/e-addressbook-reflow-adapter.c,
	gui/widgets/e-addressbook-view.c: Updated these to match the new
	EPopupMenu.

From calendar/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
	gui/dialogs/meeting-page.c: Updated these to match the new
	EPopupMenu.

From mail/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser.c, mail-display.c: Updated these to match the new
	EPopupMenu.

From shell/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* e-activity-handler.c: Updated this to match the new EPopupMenu.

svn path=/trunk/; revision=16498
2002-04-17 22:29:56 +00:00
a35bc80a53 Replace with an antialiased version
* monkey-16.png: Replace with an antialiased version

svn path=/trunk/; revision=16497
2002-04-17 22:03:11 +00:00
11112bffd1 Bumped version number to 0.19.99.11.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.11.

	* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed
	this to be API compatible with gal 0.19.  Added a bunch of pound
	defines and added API for toggle and radio menu items.

	* gal/widgets/e-categories.c: Updated this to match the new
	EPopupMenu.

From gal/e-table/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c: Updated this to match the new EPopupMenu.

svn path=/trunk/; revision=16496
2002-04-17 21:57:08 +00:00
240b0dfa22 Handle broken multipart/signed parts such as where the signature part is
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Handle broken
	multipart/signed parts such as where the signature part is not the
	last part (as it should be). Fixes bug #23583.

	* folder-browser.c (message_list_drag_data_get): Free the temp
	GByteArrays.

svn path=/trunk/; revision=16495
2002-04-17 21:55:00 +00:00
fee3cf83f6 Handle broken multipart/signed parts such as where the signature part is
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Handle broken
	multipart/signed parts such as where the signature part is not the
	last part (as it should be). Fixes bug #23583.

	* folder-browser.c (message_list_drag_data_get): Free the temp
	GByteArrays.
	(setup_popup_icons): Connect to the destroy signal on the pixmap
	objects using gtk_object_unref as the callback - this way when the
	popup menu gets destroyed, the pixmaps clean themselves up.
	(on_right_click): Same idea for the label_menu.

svn path=/trunk/; revision=16494
2002-04-17 21:20:19 +00:00
d89c3d0a9c Just use g_basename. (mlf_finalize): Free the real_path.
2002-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_folder_construct): Just use g_basename.
	(mlf_finalize): Free the real_path.

	* folder-browser.c (on_right_click): Unref the GdkGC so we don't
	leak it.

svn path=/trunk/; revision=16493
2002-04-17 20:00:39 +00:00
822505f93b If there is a grabbed_item, send all events to it.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (emit_event): If there is a grabbed_item,
	send all events to it.

svn path=/trunk/; revision=16492
2002-04-17 19:38:27 +00:00
ea772d632d Removed. (impl_tree_drag_motion): Rewritten to use
* e-storage-set-view.c (handle_evolution_path_drag_motion):
Removed.
(impl_tree_drag_motion): Rewritten to use
`e_folder_dnd_bridge_motion()'.
(impl_tree_drag_data_received): Rewritten to use
`e_folder_dnd_bridge_data_received()'.
(convert_gdk_drag_action_to_corba): Removed.
(convert_corba_drag_action_to_gdk): Removed.
(find_matching_target_for_drag_context): Removed.

* e-folder-dnd-bridge.c: New.
* e-folder-dnd-bridge.h: New.

svn path=/trunk/; revision=16491
2002-04-17 15:22:25 +00:00
0fef30a29a reverted last change commited by mistake
svn path=/trunk/; revision=16490
2002-04-17 15:04:27 +00:00
d1662eeb89 untranslated cs.po
svn path=/trunk/; revision=16489
2002-04-17 15:03:14 +00:00
c9a3b76bf0 added cs to ALL_LINGUAS
svn path=/trunk/; revision=16488
2002-04-17 15:02:48 +00:00
4f12e85340 Free the format string.
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_destroy_xevolution): Free the format
	string.

	* mail-config.c (config_write_signature): Don't leak the path
	strings here.

	* mail-signature-editor.c (menu_file_save_cb): Free the dirname
	string.

svn path=/trunk/; revision=16486
2002-04-17 02:36:39 +00:00
91259ad3c0 Unref the priv->tooltips object here.
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (destroy): Unref the priv->tooltips object
	here.

	* e-msg-composer-attachment-bar.c (destroy): Free the priv struct.

	* e-msg-composer.c (set_editor_signature): We don't need a 'name'?
	So don't strdup it.

svn path=/trunk/; revision=16485
2002-04-17 02:16:58 +00:00
fc281a966c Get rid of an unused variable.
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_filter_folder): Get
	rid of an unused variable.

	* providers/smtp/camel-smtp-transport.c (smtp_helo): Use
	camel_gethostbyaddr since gethostbyaddr is not reentrant.

	* camel-http-stream.c (http_connect): Updated after the rename of
	camel_get_host_byname.

	* camel-service.c (camel_gethostbyname): Renamed.
	(camel_gethostbyaddr): New cancellable/reentrant version of
	gethostbyaddr.

svn path=/trunk/; revision=16484
2002-04-17 01:25:28 +00:00
b06b0051c5 New wrapper around gethostbyaddr_r if the system has it, else a whole new
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyaddr_r): New wrapper around
	gethostbyaddr_r if the system has it, else a whole new
	implementation.

svn path=/trunk/; revision=16483
2002-04-17 01:17:24 +00:00
37a6a67b83 Add checks for gethostbyaddr_r
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Add checks for gethostbyaddr_r

svn path=/trunk/; revision=16482
2002-04-17 01:16:20 +00:00
710bf52288 Ref the prefs widget here since we unref in the destroy callback. Caught
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-factory.c (config_control_factory_cb): Ref the prefs
	widget here since we unref in the destroy callback. Caught this
	thanks to purify.

svn path=/trunk/; revision=16481
2002-04-16 23:36:57 +00:00
3ffe85ae86 Updated French translation.
svn path=/trunk/; revision=16478
2002-04-16 08:55:26 +00:00