Commit Graph

3737 Commits

Author SHA1 Message Date
3892c5df4d Fixed some warnings.
2000-07-31  Christopher James Lahey  <clahey@helixcode.com>

	* component-factory.c, folder-browser.c: Fixed some warnings.

	* message-list.c: Made the icon column non sortable.

svn path=/trunk/; revision=4440
2000-07-31 22:32:52 +00:00
1ad76125ef Added an argument to set a column so that you can't sort by that column.
2000-07-31  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-col.c, e-table-col.h: Added an argument to set a column
	so that you can't sort by that column.

	* e-table-header-item.c: Obey the sortable column of ETableCol.

svn path=/trunk/; revision=4439
2000-07-31 22:32:36 +00:00
4b87fc9067 Oops, forgot to free node->function - not good.
2000-07-31  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-utils.c (free_sexp_node): Oops, forgot to
	free node->function - not good.

svn path=/trunk/; revision=4438
2000-07-31 22:15:31 +00:00
c441f00d35 Ah, screw the which.
svn path=/trunk/; revision=4437
2000-07-31 21:49:17 +00:00
35210db8f4 Stupid which program prints junk....
svn path=/trunk/; revision=4436
2000-07-31 21:44:06 +00:00
d66967206e Backslashes are unneccessary. Prepositions are.
svn path=/trunk/; revision=4435
2000-07-31 21:36:40 +00:00
4271c72588 Now tests for OAF clienty goodness
svn path=/trunk/; revision=4434
2000-07-31 21:33:58 +00:00
4944f15971 Now tests for OAF clienty goodness
svn path=/trunk/; revision=4433
2000-07-31 21:28:30 +00:00
959fe7be1e Buffer overrun fix in g_strfreev -- two more that I forgot
svn path=/trunk/; revision=4432
2000-07-31 20:46:47 +00:00
5ed94f2baf Buffer overrun fix in g_strfreev
svn path=/trunk/; revision=4431
2000-07-31 20:33:27 +00:00
bba29ab0f3 typo fix
svn path=/trunk/; revision=4430
2000-07-31 20:27:19 +00:00
d740e83295 Fix a NULL-pointer strcmp noticed by peterw.
* mail-config.c (service_page_set_url): Fix a NULL-pointer strcmp
	noticed by peterw.

svn path=/trunk/; revision=4429
2000-07-31 20:06:38 +00:00
3ef60c2537 New convenience function to translate a Camel sexp into the equivalent
2000-07-31  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-utils.c (imap_translate_sexp): New
	convenience function to translate a Camel sexp into the equivalent
	IMAP sexp.

	* providers/imap/camel-imap-store.c: More places now use
	imap_next_word

	* providers/imap/camel-imap-folder.c (imap_search_by_expression):
	Implemented initial version (this may or may not work quite right)

svn path=/trunk/; revision=4428
2000-07-31 20:00:20 +00:00
f67eb8f791 A few string overrun checks for the mime parser
svn path=/trunk/; revision=4427
2000-07-31 19:57:49 +00:00
f2f9d28a0b Updates to verifier
svn path=/trunk/; revision=4426
2000-07-31 17:22:57 +00:00
7286f1484f Oops, create a vfolder_rule when we add a new one.
2000-08-01  Not Zed  <NotZed@HelixCode.com>

        * vfolder-editor.c (rule_add): Oops, create a vfolder_rule when we
        add a new one.

svn path=/trunk/; revision=4425
2000-07-31 15:40:40 +00:00
dc63c5e222 If there are no user rules, dont bomb out.
2000-08-01  Not Zed  <NotZed@HelixCode.com>

	* rule-context.c (load): If there are no user rules, dont bomb
	out.

svn path=/trunk/; revision=4424
2000-07-31 15:38:13 +00:00
72092414aa Configurable vfolder sources, and a button to save a search
as a new vfolder.

2000-07-31  Not Zed  <NotZed@HelixCode.com>

        * mail-vfolder.h: Header for vfolder functions.

        * folder-browser.c (mail_uri_to_folder): Use new scheme to open
        vfolders.
        (search_save): New button/function to save a search as a vfolder.

        * mail-vfolder.c (vfolder_edit): Made asynchronous.
        (vfolder_uri_to_folder): New function for loading vfolders and
        setting up their source folders.
        (vfolder_refresh): Change shell vfolder uri's to indirect
        references rather than the real vfolder uri.
        (vfolder_gui_add_rule): Add a rule with user confirmation.
        (vfolder_create_part): Get a new part by name, for creating rules
        in code.

        * message-thread.c (thread_messages): Check for uid lookup
        failure, which indicates an error in the folder or calling code.

svn path=/trunk/; revision=4422
2000-07-31 15:07:49 +00:00
9ddabfee03 Set value of a simple type to a new string.
2000-07-31  Not Zed  <NotZed@HelixCode.com>

        * filter-input.c (filter_input_set_value): Set value of a simple
        type to a new string.

        * filter-option.c (filter_option_set_current): New function to set
        the current value of an option.

        * filter-rule.c (filter_rule_find_list): New function to find a
        rule in a list, by name.
        (filter_rule_set_name): Let you set the name of a rule.

        * rule-context.c (rule_context_find_rule): Find a rule by name.
        (rule_context_create_part): Helper to find and clone a part by
        name.

        * filter-folder.c (button_clicked): Fix warning.

        * filter.glade: Add new widgets for vfolder rule editor.

        * vfolder-context.c (vfolder_context_init): Changed to use vfolder
        rule as the rule type.

        * vfolder-rule.c: New class to encode extra information required
        for vfolder rules.

svn path=/trunk/; revision=4421
2000-07-31 15:03:23 +00:00
24be06c166 Mention that you should pass "--disable-more-warnings" to oaf and
gnome-vfs's configure scripts, since they are Pure Concentrated Evil
and otherwise default to using "-Werror", which breaks on lots of
peoples' machines.

svn path=/trunk/; revision=4420
2000-07-30 21:35:28 +00:00
986e020a43 Updated russian translation.
svn path=/trunk/; revision=4419
2000-07-30 15:40:50 +00:00
a44d1c188b ** Almost a total rewrite of every file, except for filter-driver which
2000-07-30  Not Zed  <NotZed@HelixCode.com>

        **  Almost a total rewrite of every file, except for filter-driver
        which just had minor updates.

        The rule format has changed.

svn path=/trunk/; revision=4418
2000-07-30 03:23:41 +00:00
4f1ecbb64b Remove hack to pass the storage around.
2000-07-29  Not Zed  <NotZed@HelixCode.com>

        * component-factory.c (create_view): Remove hack to pass the
        storage around.

        * folder-browser-factory.c (control_activate): Changed to call
        renamed vfolder editor.

        * mail-ops.c (vfolder_edit_vfolders): renamed from vfolder_edit,
        call new edit function.
        (vfolder_editor_clicked): Removed.
        (filter_druid_clicked):
        (filter_edit): Updated for api change.
        (real_fetch_mail): Fixed up for api change and fucked up indent.
        (filter_get_folder): callback for filter driver.

        * mail-vfolder.c: New file to manage virtual folders.

svn path=/trunk/; revision=4417
2000-07-30 03:21:16 +00:00
08f83c6fcf Made enter key destroy and recreate the ETableItem.
2000-07-29  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-click-to-add.c: Made enter key destroy and recreate the
	ETableItem.

	* e-table-item.c: Grab focus when person clicks even if cursor
	isn't changing.

svn path=/trunk/; revision=4416
2000-07-29 20:06:54 +00:00
99fde85896 Fix changelog email address.
svn path=/trunk/; revision=4415
2000-07-29 15:49:22 +00:00
94bc9ecd27 Added load-gnomecard-addressbook compilation.
2000-07-29  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/Makefile.am: Added load-gnomecard-addressbook
	compilation.

	* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
	e_card_load_cards_from_file helper function to load multiple cards
	from a single file.

	* backend/ebook/load-gnomecard-addressbook.c: New file to load
	vcard files.  I think this is the format that gnomecard uses so if
	you copy your gnomecard file to gnomecard.vcf and then run this
	program in the same directory, it'll copy all your gnome contacts
	into evolution.  It needs to be changed to take a filename as a
	parameter.  Some fields (phone and address information, for
	example) aren't displayed properly, but are saved.  This is new
	code, so some other than phone and address may be lost.

svn path=/trunk/; revision=4414
2000-07-29 15:04:56 +00:00
121d056d45 New function to create composer with sig file set.
2000-07-28  JP Rosevear  <jpr@arcavia.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
	function to create composer with sig file set.
	(e_msg_composer_get_sig_file): New function to get sig file
	(e_msg_composer_set_sig_file): New function to set sig file

2000-07-29  JP Rosevear  <jpr@arcavia.com>

	* mail-format.c (mail_generate_reply): Use new mail config stuff

	* component-factory.c (create_imap_storage): Use new mail config
	stuff
	(create_news_storage): ditto

	* evolution-mail.schemas: Gconf schema for evolution mail

	* mail-config-druid.glade: Gladification of config druid

	* mail-config.h: New header with config structs.

	* mail-config.c: Rewrite of GUI configuration tools to use
	new config structs.  Stores multiple identities and sources now.
	Still only uses the first one found.
	(mail_config_fetch): Returns MailConfig struct to caller
	for configuration queries.
	(mail_config): Renamed function to show mail config dialog.
	(mail_config_druid): Renamed function to show mail config druid.

	* mail-ops.c (create_msg_composer): Use
	e_msg_composer_new_with_sig_file and new config stuff
	(check_configured): Use new config stuff
	(fetch_mail): ditto
	(composer_send_cb): ditto

svn path=/trunk/; revision=4413
2000-07-29 06:04:24 +00:00
f34353458d Added mark_all_seen(), to mark every message in the list with
2000-07-28  Cody Russell  <bratsche@gnome.org>
        * mail-ops.c, mail.h: Added mark_all_seen(), to mark every
        message in the list with CAMEL_MESSAGE_SEEN.

        * folder-browser-factory.c: Added "Actions/Mark all seen".

svn path=/trunk/; revision=4412
2000-07-29 04:20:38 +00:00
da2fff47da Make sure the third word/token (whatever) is "EXPUNGE" and not something
2000-07-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_expunge): Make sure
	the third word/token (whatever) is "EXPUNGE" and not something
	else like "EXISTS" or "RECENT". When removing the message from
	the summary also make sure to free that data to avoid leakage.
	Also make sure to subtract 1 from the 'id' since IMAP starts
	at 1 and our summary starts at 0 :-)

svn path=/trunk/; revision=4411
2000-07-29 01:49:06 +00:00
dca8b620c8 fixed a few logic errors
svn path=/trunk/; revision=4410
2000-07-29 00:18:09 +00:00
0ba155afa8 Cleaned up a bit, now uses imap_next_word() (camel_imap_command_extended):
2000-07-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (camel_imap_status): Cleaned
	up a bit, now uses imap_next_word()
	(camel_imap_command_extended): Now uses imap_next_word(). When
	checking for RECENT, allow the first digit of the recent-count
	be between 0 and 9 inclusive instead of exclusive.

	* providers/imap/camel-imap-folder.c (imap_expunge): Optimized.
	No longer will it need to reload the summary as it now instead
	removes the appropriate message summaries from the cache.
	(camel_imap_folder_changed): If recent == 0 then return. If
	recent < 0 then just emit the folder_changed signal, don't reload
	summaries.

svn path=/trunk/; revision=4409
2000-07-28 23:13:46 +00:00
c8960411f0 New helper script to diagnose problems installing evolution.
svn path=/trunk/; revision=4408
2000-07-28 22:02:10 +00:00
d5ae7c6cf0 Remove the idle handler before destroying the data it operates on.
* e-table-header.c (eth_destroy): Remove the idle handler before
	destroying the data it operates on.

svn path=/trunk/; revision=4407
2000-07-28 21:33:25 +00:00
42ea927055 Get message count when STATUS is not available. (imap_init):
2000-07-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c
	(imap_get_message_count_internal): Get message count when STATUS
	is not available.
	(imap_init): folder->has_search_capability is required for IMAP so
	should always be set to TRUE (is currently being set to FALSE as
	I've not yet implemented SEARCH support).
	(camel_imap_folder_changed): Seem to have fixed my optimization
	hack

2000-07-28  Jon K Hellan  <hellan@acm.org>

	* providers/imap/camel-imap-store.h (CamelImapServerLevel): New
	enum.
	(CamelImapStore): Added server_level and has_status_capability
	members.

	* providers/imap/camel-imap-store.c (imap_connect): Detect
	IMAP4REV1, IMAP4 and STATUS in capability response.

	* providers/imap/camel-imap-folder.c
	(imap_get_message_count_internal): Use STATUS only if server
	supports it. TODO: Get message count when STATUS not supported.
	(imap_get_message, imap_get_summary_internal,
	imap_get_message_info_internal): Handle IMAP4 as well.
	(imap_protocol_get_summary_specifier): New function: Make a data
	item specifier for the header lines we need, appropriate to the
	server level.

svn path=/trunk/; revision=4406
2000-07-28 17:41:15 +00:00
f0e2a902fa Szabolcs BAN <shooby@gnome.hu>
* Updated Hungarian translations.

svn path=/trunk/; revision=4405
2000-07-28 14:45:57 +00:00
a28ef9db3c Fixed my routine to only fetch new headers, my IDs were off by 1 on the
2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
	Fixed my routine to only fetch new headers, my IDs were off by 1
	on the high end, so when it would fetch the last newly arrived
	message it would fail and end up fetching all of the summaries
	because of the corruption.

svn path=/trunk/; revision=4404
2000-07-28 02:02:51 +00:00
8a7e082b56 If the path doesn't begin with a / and there is a host, prepend a / to the
2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-url.c (camel_url_to_string): If the path doesn't begin
	with a / and there is a host, prepend a / to the path.

svn path=/trunk/; revision=4403
2000-07-27 23:49:47 +00:00
5c7766bfbd Lets fix Dan's kludge the Right Way (tm) (set_service_url): Only strip off
2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.c: Lets fix Dan's kludge the Right Way (tm)
	(set_service_url): Only strip off the leading "/" from the
	url->path if url->host is NULL
	(get_service_url): Only prepend a leading "/" to the path if the
	host is NULL

svn path=/trunk/; revision=4402
2000-07-27 23:48:22 +00:00
6b69bd22e3 Make sure the LDAP backend files get distributed even if OpenLDAP
support is not enabled.

svn path=/trunk/; revision=4401
2000-07-27 23:16:07 +00:00
2c5a9bc227 Added camel-imap-utils.[c,h]
2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/Makefile.am: Added camel-imap-utils.[c,h]

	* providers/imap/camel-imap-utils.[c,h]: Utilities for parsing
	server responses for use in both camel-imap-store.c and
	camel-imap-folder.c

	* providers/imap/camel-imap-folder.c (imap_get_summary_internal):
	Free all the pointers in the headers array.
	(imap_get_subfolder_names_internal): Updated to use
	imap_parse_list_response
	(imap_parse_subfolder_list): Removed in favor of
	imap_parse_list_response

	* providers/imap/camel-imap-store.c (camel_imap_command_extended):
	Free all the pointers in the data array.
	(imap_connect): Updated to use imap_parse_list_response and fixed
	a leak
	(folder_is_selectable): Updated.

svn path=/trunk/; revision=4400
2000-07-27 23:11:11 +00:00
1bf9e43982 toss in a kludge to deal with the IMAP vs mbox path problem for now.
* mail-config.c (get_service_url): toss in a kludge to deal with
	the IMAP vs mbox path problem for now.

svn path=/trunk/; revision=4399
2000-07-27 23:10:04 +00:00
4a4c22b8e1 Now uses a hash table for looking up message info rather than a linear
2000-07-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message_info): Now uses
	a hash table for looking up message info rather than a linear search :)

svn path=/trunk/; revision=4398
2000-07-27 18:32:23 +00:00
84d7c755a0 work with either gconf 0.5 or newer
* main.c (idle_cb): work with either gconf 0.5 or newer

svn path=/trunk/; revision=4396
2000-07-27 17:22:28 +00:00
96dfd1f12d Check for gconf_client_get_default (gconf 0.5 vs newer)
* configure.in: Check for gconf_client_get_default (gconf 0.5 vs
	newer)

svn path=/trunk/; revision=4395
2000-07-27 17:22:15 +00:00
268f0e60b2 Fix Makefile.am booboo.
svn path=/trunk/; revision=4394
2000-07-27 17:01:05 +00:00
7964b93b27 Update and get rid of <A0>s.
svn path=/trunk/; revision=4393
2000-07-27 16:40:59 +00:00
967c830626 Fixed up the table behavior so that it's not always in an edit mode.
2000-07-27  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Fixed up the table behavior so that it's not
	always in an edit mode.

svn path=/trunk/; revision=4392
2000-07-27 16:33:11 +00:00
20b372b8e9 Small fixes.
svn path=/trunk/; revision=4391
2000-07-27 16:30:56 +00:00
1da0c533d3 Fix silly error of not chaining destructor for canvas.
svn path=/trunk/; revision=4390
2000-07-27 16:25:43 +00:00
672fb81ed0 0.3 "Jelly Fish".
svn path=/trunk/; revision=4389
2000-07-27 16:09:13 +00:00