Commit Graph

13882 Commits

Author SHA1 Message Date
Chris Toshok
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
Dan Winship
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
Radek Doulik
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
Jeffrey Stedfast
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
JP Rosevear
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
JP Rosevear
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
JP Rosevear
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
Radek Doulik
59b2f41e54 begin of cs translation
svn path=/trunk/; revision=16507
2002-04-18 14:38:23 +00:00
Not Zed
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
Not Zed
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
Ettore Perazzoli
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
Ettore Perazzoli
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
Not Zed
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
Jeffrey Stedfast
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
Christopher James Lahey
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
Christopher James Lahey
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
Dan Winship
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
Christopher James Lahey
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Christopher James Lahey
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
Ettore Perazzoli
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
Radek Doulik
0fef30a29a reverted last change commited by mistake
svn path=/trunk/; revision=16490
2002-04-17 15:04:27 +00:00
Radek Doulik
d1662eeb89 untranslated cs.po
svn path=/trunk/; revision=16489
2002-04-17 15:03:14 +00:00
Radek Doulik
c9a3b76bf0 added cs to ALL_LINGUAS
svn path=/trunk/; revision=16488
2002-04-17 15:02:48 +00:00
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Jeffrey Stedfast
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
Christophe Merlet
3ffe85ae86 Updated French translation.
svn path=/trunk/; revision=16478
2002-04-16 08:55:26 +00:00
Jeffrey Stedfast
fba7f7c206 oops, forgot to commit this last time
svn path=/trunk/; revision=16472
2002-04-15 08:29:08 +00:00
Jeffrey Stedfast
6f6b1c6af6 fixes for socklen_t detection
svn path=/trunk/; revision=16467
2002-04-14 20:55:05 +00:00
Jeffrey Stedfast
64d2b647c1 Added #include <sys/types.h> for dirent.h which needs it on MacOS X.
2002-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-spoold-store.c: Added #include
	<sys/types.h> for dirent.h which needs it on MacOS X.

	* providers/local/camel-maildir-store.c: Same.

	* providers/nntp/camel-nntp-store.c: Same.

	* providers/imap/camel-imap-message-cache.c: Same.

	* camel-provider.c: Same.

	* camel-data-cache.c: Same.

svn path=/trunk/; revision=16466
2002-04-14 20:13:01 +00:00
Jeffrey Stedfast
dc0f1749e2 s/ENABLE_NEWS/ENABLE_NNTP
svn path=/trunk/; revision=16464
2002-04-14 05:46:46 +00:00
Jeffrey Stedfast
2665c984e4 Added #include <sys/types.h> for dirent.h which needs it on MacOS X.
2002-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-provider.c: Added #include <sys/types.h> for dirent.h
	which needs it on MacOS X.

	* camel-data-cache.c: Same.

svn path=/trunk/; revision=16463
2002-04-14 05:40:33 +00:00
Jeffrey Stedfast
bebaa90ca9 Check for socklen_t and if it doesn't exist, define it as unsigned int.
2002-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Check for socklen_t and if it doesn't exist,
	define it as unsigned int.

svn path=/trunk/; revision=16462
2002-04-14 05:29:44 +00:00
Jeffrey Stedfast
2337f88f58 compile fixes
svn path=/trunk/; revision=16461
2002-04-14 03:25:29 +00:00
Jeffrey Stedfast
f1d41196e7 fix the nntp provider makefile.am
svn path=/trunk/; revision=16460
2002-04-14 00:57:35 +00:00
Jeffrey Stedfast
f3f1cba62e Build fixes for --enable-nntp.
2002-04-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c: Build fixes for --enable-nntp.

svn path=/trunk/; revision=16459
2002-04-13 21:12:16 +00:00
Christophe Merlet
a9a42c8c70 Updated French translation.
svn path=/trunk/; revision=16458
2002-04-13 10:49:20 +00:00
Jeffrey Stedfast
5b5ae41e20 Treat commas as token delimeters. (WEEKDAY_CHARS): Use full weekday names
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* broken-date-parser.c (datetok): Treat commas as token
	delimeters.
	(WEEKDAY_CHARS): Use full weekday names in case the broken mailer
	used the full names.
	(MONTH_CHARS): Same as above but for months.

svn path=/trunk/; revision=16456
2002-04-12 22:16:42 +00:00
Jeffrey Stedfast
883cf4d180 Fixed a grammer mistake, or so according to bug #23376. Whatever.
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-rule.c (get_widget): Fixed a grammer mistake, or so
	according to bug #23376. Whatever.

svn path=/trunk/; revision=16454
2002-04-12 20:44:59 +00:00
Jeffrey Stedfast
5faef3d2b7 added a #include to fix a compile warning
svn path=/trunk/; revision=16453
2002-04-12 20:23:31 +00:00
Jeffrey Stedfast
a3c38a5f19 Make it so that unchecking the "Enable Advanced Options" in the signature
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_construct): Make it
	so that unchecking the "Enable Advanced Options" in the signature
	tab disables the advanced settings and vise versa.

svn path=/trunk/; revision=16452
2002-04-12 20:13:28 +00:00
Jeffrey Stedfast
d550435b70 Setup News preferences too if it is enabled.
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_construct): Setup News
	preferences too if it is enabled.

svn path=/trunk/; revision=16451
2002-04-12 19:52:41 +00:00
Andrew V. Samoilov
b53958f38c Fix typos
svn path=/trunk/; revision=16450
2002-04-12 10:23:32 +00:00
Jeffrey Stedfast
6b48c8e16e Set the text of the reply-to. (mail_account_gui_save): Get the reply-to
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Set the text of the
	reply-to.
	(mail_account_gui_save): Get the reply-to text here.
	(mail_account_gui_identity_complete): If there is text in the
	reply-to widget make sure it's valid.

	* mail-config.c (identity_copy): Copy the reply-to.
	(config_read): Read in the reply-to for all the accounts.
	(mail_config_write): Save the reply-to.
	(impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to.
	(identity_destroy): Free the reply-to.

svn path=/trunk/; revision=16446
2002-04-12 05:54:58 +00:00