Commit Graph

13849 Commits

Author SHA1 Message Date
fba7f7c206 oops, forgot to commit this last time
svn path=/trunk/; revision=16472
2002-04-15 08:29:08 +00:00
6f6b1c6af6 fixes for socklen_t detection
svn path=/trunk/; revision=16467
2002-04-14 20:55:05 +00:00
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
dc0f1749e2 s/ENABLE_NEWS/ENABLE_NNTP
svn path=/trunk/; revision=16464
2002-04-14 05:46:46 +00:00
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
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
2337f88f58 compile fixes
svn path=/trunk/; revision=16461
2002-04-14 03:25:29 +00:00
f1d41196e7 fix the nntp provider makefile.am
svn path=/trunk/; revision=16460
2002-04-14 00:57:35 +00:00
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
a9a42c8c70 Updated French translation.
svn path=/trunk/; revision=16458
2002-04-13 10:49:20 +00:00
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
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
5faef3d2b7 added a #include to fix a compile warning
svn path=/trunk/; revision=16453
2002-04-12 20:23:31 +00:00
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
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
b53958f38c Fix typos
svn path=/trunk/; revision=16450
2002-04-12 10:23:32 +00:00
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
c49683a6da Change the Reply-To header contents. (e_msg_composer_hdrs_set_reply_to):
2002-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (from_changed): Change the Reply-To header
	contents.
	(e_msg_composer_hdrs_set_reply_to): The Reply-To entry was an
	EEntry, not a bonobo control so fix this to set the text using
	e_entry_set_text.
	(e_msg_composer_hdrs_get_reply_to): Use e_entry_get_text here for
	the same reason.

svn path=/trunk/; revision=16445
2002-04-12 05:50:16 +00:00
a00fe6ed72 Fix "Follow Up" searches by comparing to the empty string, rather than just
looking at the string value (which isn't a boolean) (Bug #233340

svn path=/trunk/; revision=16444
2002-04-12 01:37:34 +00:00
045c2a07b9 new method.
2002-04-05  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend.[ch] (cal_backend_get_query): new method.

	* pcs/cal-backend-file.c (cal_backend_file_get_query): new method.

	* pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation
	instead of calling query_new directly.

	* pcs/query.[ch]: fixed headers.

svn path=/trunk/; revision=16443
2002-04-11 23:05:56 +00:00
48182f64e8 Handle parsing negative integers.
2002-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-sexp.c (parse_value): Handle parsing negative integers.

svn path=/trunk/; revision=16441
2002-04-11 21:53:44 +00:00
2175169690 Include addressbook-config.h here as this file uses it.
2002-04-11  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/addressbook-component.c: Include
	addressbook-config.h here as this file uses it.

	* gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made
	this dialog searchable by typing in the ETable.

	* gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h
	here.

	* gui/widgets/e-addressbook-reflow-adapter.c
	(e_addressbook_reflow_adapter_right_click),
	gui/widgets/e-addressbook-view.c (table_right_click): Fixed a
	memory leak here by using "selection-done" signal.

	* gui/widgets/e-addressbook-reflow-adapter.c,
	gui/widgets/e-addressbook-reflow-adapter.h,
	gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c:
	Added a right click menu for areas that aren't cards.

svn path=/trunk/; revision=16440
2002-04-11 20:15:16 +00:00
0479b8d9a0 Fixed a memory leak here by using the "selection-done" signal.
2002-04-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_header_context_menu): Fixed a memory
	leak here by using the "selection-done" signal.

	* e-table.c, e-table.h (white_item_event): Added the
	"white_space_event" signal.

svn path=/trunk/; revision=16439
2002-04-11 20:02:31 +00:00
9f6c9f9e1d If the last message(s) were deleted, and we had any messages output,
2002-04-11  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-spool-summary.c (spool_summary_sync_full):
        If the last message(s) were deleted, and we had any messages
        output, account for the lost \n of the following From line by
        adding an extra \n. fix for #8214.

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

        * camel-mime-part-utils.c (convert_buffer): If we get a 0 length
        input, return a 0 lenght output as valid - fixes bugs with some
        iconv impl and its simpler anyway.

svn path=/trunk/; revision=16438
2002-04-11 09:00:57 +00:00
8ecd526c85 s/Sent/Date. This fixes bug #11159.
2002-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.etspec: s/Sent/Date. This fixes bug #11159.

svn path=/trunk/; revision=16437
2002-04-11 05:33:52 +00:00
418861fcdc Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight where
2002-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-folder.c: Set the UID_SET_LIMIT value
	to 4096. I ran into an issue tonight where apparently the IMAP
	server changed the UIDVALIDITY and so Evo needed to re-fetch all
	headers and it was trying to send a uid set of some 25k (yes, I
	have a very large INBOX). Anyways, it was set to unlimited
	before. Courier IMAPd can safely handle up to ~16k per token, but
	UW IMAPd can only handle 8k per command-line, so I set it to 4k
	just to be safe.

svn path=/trunk/; revision=16436
2002-04-11 05:19:13 +00:00
0dd1662b86 Set the 'No' button as the default.
2002-04-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (confirm_expunge): Set the 'No' button as the
	default.

svn path=/trunk/; revision=16435
2002-04-11 04:20:27 +00:00
d601244b7f it's monkey-16.png not monkey.png
svn path=/trunk/; revision=16434
2002-04-10 22:36:30 +00:00
f0e916f543 Fix this: Rodrigo's patch used one of the functions I just removed. :)
* gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch
	used one of the functions I just removed. :)

svn path=/trunk/; revision=16433
2002-04-10 22:00:46 +00:00
44a748f48a add Rupert's seal of approval
svn path=/trunk/; revision=16432
2002-04-10 21:32:48 +00:00
68336a42a5 Oops, put x_mailer_display_style in /Mail/Display, not /Mail/Format
svn path=/trunk/; revision=16431
2002-04-10 21:26:16 +00:00
b10ec13f8b Handle the X-Mailer display style. (There is currently no GUI for
* mail-config.c (config_read, mail_config_write,
	mail_config_get_x_mailer_display_style,
	mail_config_set_x_mailer_display_style): Handle the X-Mailer
	display style. (There is currently no GUI for configuring this.)

	* mail-format.c (write_headers, write_xmailer_header): Show
	X-Mailer/User-Agent (and Rupert's stamp of approval) as
	appropriate.

svn path=/trunk/; revision=16430
2002-04-10 21:23:02 +00:00
bf2a13c1ef oops, after converting everything truncate the GByteArray to the correct length (in case we over-allocated)
svn path=/trunk/; revision=16429
2002-04-10 20:03:51 +00:00
5a08bd3e44 Fixed a bug that would miscalculate how much data to copy into the
2002-04-10  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part-utils.c (convert_buffer): Fixed a bug that would
	miscalculate how much data to copy into the GByteArray (negative
	value) thus causing a segfault. Also optimized it while I was at
	it.

svn path=/trunk/; revision=16428
2002-04-10 19:59:13 +00:00
09a4db1fde use the default uri for tasks (as stored in the configuration) when the
2002-04-10  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_open): use the default uri for
	tasks (as stored in the configuration) when the calendar URI is not
	a local one (connector, etc).

svn path=/trunk/; revision=16427
2002-04-10 19:47:13 +00:00
f6b7c9d6e5 No need to query for the persist-stream interface here, just re-use
2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (set_editor_text): No need to query for the
	persist-stream interface here, just re-use
	composer->persist_stream_interface - this might improve the speed
	at which a reply action brings up the composer.

svn path=/trunk/; revision=16425
2002-04-10 19:38:56 +00:00
796b9fe197 #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> and
* gal/util/e-xml-utils.c: #include <parser.h> and <xmlmemory.h>
instead of <gnome-xml/parser.h> and <gnome-xml/xmlmemory.h>.  In
fact, the latter is incompatible with what `gnome-config --cflags
xml' is assuming, and breaks in the case where gnome-xml is not
installed in /usr/local.

svn path=/trunk/; revision=16424
2002-04-10 19:13:28 +00:00
8ded5c9c10 Shell config page routines. Right now handles the default folders page.
* e-shell-config.c: Shell config page routines. Right now
	handles the default folders page.

	* glade/e-shell-config-default-folders.glade: New.

	* GNOME_Evolution_Shell.oaf.in: Add info for the default folders
	config page.

	* main.c (idle_cb): If we successfully registered the shell,
	register the config factory.

	* evolution-shell-client.c (evolution_shell_client_new): Note the
	fact that it frees the corba_shell when it is destroyed.

	* evolution-folder-selector-button.c
	(evolution_folder_selector_button_construct, destroy): Use
	bonobo_object_ref/unref on the shell client, not gtk.

	* e-shell.c (e_shell_construct): Pass local_directory to
	e_setup_check_db.
	(handle_default_uri): Fix the config db paths here to match the
	other routines.

	* e-setup.c (e_setup_check_db): Make this take the evolution
	directory path as well so we can properly set up file: URIs for
	the default folders.

svn path=/trunk/; revision=16423
2002-04-10 19:01:14 +00:00
eaeb675f41 Add. (Copied from Unscalable Gorilla because it was handy. Will probably
* Makefile.am (images_DATA), folder-settings.png: Add. (Copied
	from Unscalable Gorilla because it was handy. Will probably get
	changed to something else...)

svn path=/trunk/; revision=16422
2002-04-10 18:55:23 +00:00
6ee39cc861 Use new-and-improved default folder URI config paths.
* cal-client/cal-client.c (get_default_uri): Use new-and-improved
	default folder URI config paths.

	* gui/calendar-config.c (calendar_config_{get,set}_default_uri,
	calendar_config_{get,set}_default_tasks_uri): Remove these. The
	shell owns this information now. (Weren't being used anyway.)

	* gui/component-factory.c (get_data_uri): Fix another place that
	hardcoded tacking foo.ics on to the end of URLs.

svn path=/trunk/; revision=16421
2002-04-10 16:58:14 +00:00
c5ac2a9e51 Check that there is a value to setup. Fixes #15470.
2002-04-10  Not Zed  <NotZed@Ximian.com>

        * filter-input.c (validate): Check that there is a value to
        setup.  Fixes #15470.

svn path=/trunk/; revision=16420
2002-04-10 10:27:39 +00:00
35cd31644f Make the folder_lock recursive. See bug #22363 for details. Basically,
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (camel_store_init): Make the folder_lock
	recursive. See bug #22363 for details. Basically,
	get_folder_info() is requesting a diary folder which in turn
	connects which requests then calls get_folder() but deadlocks
	because get_folder_info already holds the lock.

svn path=/trunk/; revision=16419
2002-04-10 03:02:33 +00:00
63a8a94536 removed an extra printf
svn path=/trunk/; revision=16418
2002-04-09 23:53:20 +00:00
6b93328a40 Kludge around the brokeness that is GtkOptionMenu just like we kludge
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (setup_service): Kludge around the brokeness
	that is GtkOptionMenu just like we kludge around it for the
	authtype option menu.

svn path=/trunk/; revision=16417
2002-04-09 23:52:46 +00:00
35d0d166f8 Change the logic for displaying a default window, so we don't end up with
* main.c (idle_cb): Change the logic for displaying a default
window, so we don't end up with two windows all the time.

svn path=/trunk/; revision=16416
2002-04-09 21:57:10 +00:00
0ed2607807 This needs to return a gboolean (TRUE). (rule_edit): Using
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (double_click): This needs to return a gboolean
	(TRUE).
	(rule_edit): Using gnome_dialog_set_parent instead of
	gtk_widget_set_parent_window seems to fix bug #23226.

svn path=/trunk/; revision=16415
2002-04-09 21:51:07 +00:00
e5eb5e62f7 made the copmment clearer
svn path=/trunk/; revision=16413
2002-04-09 20:02:43 +00:00
3fca798afe Don't adjust the timezone offset if we used tm.tm_gmtoff because it is
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-message.c (camel_mime_message_set_date): Don't adjust
	the timezone offset if we used tm.tm_gmtoff because it is already
	adjusted.

svn path=/trunk/; revision=16412
2002-04-09 19:57:09 +00:00
4ebf5cbd15 Oops. The previous change made the search bar widgets get packed in the
* e-search-bar.c (e_search_bar_construct, add_button): Oops. The
	previous change made the search bar widgets get packed in the
	wrong order. So use gtk_box_pack_end instead in add_button and add
	the two buttons in reverse order. It's all good now. Noticed by
	Ettore, who I then promptly blamed for it. Sorry Ettore!

svn path=/trunk/; revision=16411
2002-04-09 19:42:56 +00:00
574ee58b96 Update for new-and-improved consistent default folder uri.
* backend/ebook/e-book-util.c (e_book_load_default_book): Update
	for new-and-improved consistent default folder uri.

	* gui/component/addressbook.c (addressbook_load_default_book): Use
	e_book_load_default_book rather than duplicating most of its logic
	here.
	(load_uri_cb): Modify to work as a callback for
	addressbook_load_default_book as well as addressbook_load_uri.

svn path=/trunk/; revision=16409
2002-04-09 16:37:49 +00:00