Commit Graph

3099 Commits

Author SHA1 Message Date
2ca2244e6b call e_ldap_storage_add_server call.
2000-07-05  Chris Toshok  <toshok@helixcode.com>

	* gui/component/addressbook.c (new_server_cb): call
	e_ldap_storage_add_server call.

	* gui/component/ldap-server-dialog.glade: add name row.

	* gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type.

	* gui/component/e-ldap-server-dialog.c (extract_server_info): add
	support for the name-entry.

	* gui/component/e-ldap-server-dialog.c (fill_in_server_info): same.

	* gui/component/e-ldap-storage.h: add ELDAPServer type, and add
	prototypes for e_ldap_storage_add_server and
	e_ldap_storage_remove_server.

	* gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new
	function, add it to our hash table, add a shell folder, and save
	out the metadata.
	(ldap_server_foreach): add the ldap server info under a
	"contactserver" node.
	(setup_ldap_storage): create our hashtable.

svn path=/trunk/; revision=3895
2000-07-05 20:07:46 +00:00
bc4c507c9e updates
svn path=/trunk/; revision=3894
2000-07-05 19:57:15 +00:00
53faeaabcc Use the gnomevfs sniff buffer interface to try to identify the MIME type
* mail-identify.c (mail_identify_mime_part): Use the gnomevfs
	sniff buffer interface to try to identify the MIME type when
	everything else fails.

	* mail-display.c (on_object_requested):
	* mail-format.c (lookup_handler, handle_undisplayable,
	handle_audio): s/gnome_mime/gnome_vfs_mime/

	* Makefile.am: Add gnomevfs stuff

svn path=/trunk/; revision=3893
2000-07-05 19:47:35 +00:00
0837fc4099 Fix the "clashing UIDs are not updated on disk" problem by syncing
back to disk even if the saved UID does not match the in-memory UID
and added some debugging messages.

Also, make sure the UID we use for Ibex stuff is the new one when
changing UIDs to solve a clashing problem.

svn path=/trunk/; revision=3892
2000-07-05 19:42:32 +00:00
095903c7d3 remove the Internet Directories group.
2000-07-05  Chris Toshok  <toshok@helixcode.com>

	* shortcuts.xml: remove the Internet Directories group.

	* Makefile.am (default_DATA): add ldapservers.xml.

	* local/Makefile.am (SUBDIRS): remove Directories.

	* ldapservers.xml: new ldap metadata.

	* local/Directories/*: remove directories.

svn path=/trunk/; revision=3891
2000-07-05 18:34:47 +00:00
ca5704f996 remove hack to read "uri" file from local directory.
2000-07-05  Chris Toshok  <toshok@helixcode.com>

	* gui/component/addressbook.c (set_prop): remove hack to read
	"uri" file from local directory.

	* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
	e-ldap-storage.{c,h}

	* gui/component/addressbook-component.c (owner_set_cb): call
	setup_ldap_storage.

	* gui/component/e-ldap-storage.c (setup_ldap_storage): Register
	the LDAP storage and load the .xml file.
	(load_ldap_data): function to load our xml file.
	(save_ldap_data): function to save our xml file.

svn path=/trunk/; revision=3890
2000-07-05 18:26:05 +00:00
6cfd18ee1c Fix typos and update the "to-address" rule to match To or Cc. Fix typos.
* filtertypes.xml: Fix typos and update the "to-address" rule to
	match To or Cc.
	* vfoldertypes.xml: Fix typos.

svn path=/trunk/; revision=3889
2000-07-05 18:01:00 +00:00
a3c2c90d0a Add "Cc" to summary and bump summary version number.
* camel-folder-summary.c: Add "Cc" to summary and bump summary
	version number.

	* camel-folder-search.c (search_header_contains): make "Cc" a
	searchable header.

svn path=/trunk/; revision=3888
2000-07-05 17:59:48 +00:00
54376bf2c7 Add uids to the "processed" list only after succesfully doing something
* filter-driver.c (do_delete, do_copy, do_stop,
	filter_driver_run): Add uids to the "processed" list only after
	succesfully doing something with them. Fixes the problem where
	copying a message to a folder that didn't exist would result in it
	disapearing.

svn path=/trunk/; revision=3887
2000-07-05 17:00:59 +00:00
55ad9bc04f updated pt_BR translations
svn path=/trunk/; revision=3886
2000-07-05 14:41:09 +00:00
6d76cc84a1 Centralize creation of new UIDs for the summary.
svn path=/trunk/; revision=3885
2000-07-04 03:40:58 +00:00
c9974759b3 Update configure.in' and POTFILES.in' for Chris' latest commit.
svn path=/trunk/; revision=3884
2000-07-04 03:05:04 +00:00
aca1430865 Use &obj instead of &ico in the call to cal_client_get_object(). The ToDo
2000-07-04  Damon Chaplin  <damon@helixcode.com>

        * gui/gncal-todo.c (gncal_todo_update): Use &obj instead of &ico in
        the call to cal_client_get_object(). The ToDo list should work now.

        * gui/event-editor-dialog.glade: set the toplevel GnomeApp to invisible
        so it doesn't appear and then resize.

svn path=/trunk/; revision=3883
2000-07-04 02:57:51 +00:00
9bc397a131 Get rid of unused function `camel_folder_summary_set_uid()'.
svn path=/trunk/; revision=3882
2000-07-04 02:37:00 +00:00
e21b797d83 Get rid of a compiler warning.
svn path=/trunk/; revision=3881
2000-07-04 02:33:15 +00:00
4ae033dd39 Use CalComponentText instead of CalComponentPropSummary. Removed the
2000-07-03  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_get_summary): Use
	CalComponentText instead of CalComponentPropSummary.  Removed the
	latter typedef.
	(cal_component_set_summary): Likewise.
	(scan_property): Handle the CLASSIFICATION property.
	(cal_component_get_classification): Ditto.
	(cal_component_set_classification): Ditto.

svn path=/trunk/; revision=3880
2000-07-04 00:58:22 +00:00
7ad9e59992 call mail_display_set_message with NULL if the message we tried to select
* message-list.c (select_msg): call mail_display_set_message with
	NULL if the message we tried to select doesn't exist (probably
	meaning we tried to selecte the first message and the folder is
	empty.)

	* mail-display.c (mail_display_set_message): deal with NULL as an
	input (meaning "undisplay previous message and display nothing").

svn path=/trunk/; revision=3879
2000-07-04 00:56:45 +00:00
323c4f2062 Fixed more compile errors.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names-text-model.c,
	gui/component/select-names/e-select-names.c: Fixed more compile
	errors.

svn path=/trunk/; revision=3878
2000-07-04 00:32:40 +00:00
fe9ab058bf Fixed compile error.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/Makefile.am: Fixed compile error.

svn path=/trunk/; revision=3877
2000-07-04 00:28:30 +00:00
6fd5b82ca0 Removed e-card-iterator.c, e-card-iterator.h, e-card-list-iterator.c,
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/Makefile.am: Removed e-card-iterator.c,
	e-card-iterator.h, e-card-list-iterator.c, e-card-list-iterator.h,
	e-card-list.c, e-card-list.h.

	* backend/ebook/e-card-iterator.c,
	backend/ebook/e-card-iterator.h,
	backend/ebook/e-card-list-iterator.c,
	backend/ebook/e-card-list-iterator.h, backend/ebook/e-card-list.c,
	backend/ebook/e-card-list.h: Removed in favor or versions without
	the -card in the e-util directory since these classes are not
	specific to cards at all.

	* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h,
	backend/ebook/e-card.c, backend/ebook/e-card.h,
	backend/ebook/load-pine-addressbook.c, backend/ebook/test-card.c,
	backend/pas/pas-backend-file.c: Changed the references to
	e-card-list.c and friends to e-list.c and friends.

	* contact-editor/e-contact-editor.c: Added #include
	<e-contact-save-as.h> to fix a warning.

	* gui/component/Makefile.am: Moved a number of classes associated
	with the select-names object to the new select-names directory.

	* gui/component/addressbook.c: Changed the reference to
	e-select-names.h.

	* gui/component/e-select-names.c, gui/component/e-select-names.h,
	gui/component/select-names.glade,
	gui/component/select-names.glade.h: Moved these files into
	select-names/.

	* gui/component/select-names/.cvsignore,
	gui/component/select-names/Makefile.am,
	gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names-manager.h,
	gui/component/select-names/e-select-names-model.c,
	gui/component/select-names/e-select-names-model.h,
	gui/component/select-names/e-select-names-table-model.c,
	gui/component/select-names/e-select-names-table-model.h,
	gui/component/select-names/e-select-names-text-model.c,
	gui/component/select-names/e-select-names-text-model.h,
	gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h,
	gui/component/select-names/recipient.glade,
	gui/component/select-names/select-names.glade,
	gui/component/select-names/select-names.glade.h: New files for
	select names dialog (e-select-names.c, e-select-names.h,
	select-names.glade, select-names.glade.h and recipient.glade moved
	from gui/component/.)

svn path=/trunk/; revision=3876
2000-07-03 23:03:45 +00:00
43f902781b Renamed from cal_component_free_description_list(). We can share this
2000-07-03  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_free_text_list): Renamed
	from cal_component_free_description_list().  We can share this
	function since both comments and descriptions have the same form.
	(scan_text): Ditto.
	(get_text_list): New function.
	(set_text_list): New function.
	(cal_component_get_description_list): Use get_text_list().
	(cal_component_set_description_list): Use set_text_list().
	(cal_component_set_uid): Add sanity check.
	(cal_component_get_summary): Ditto.
	(cal_component_get_description_list): Ditto.
	(cal_component_get_dtstart): Ditto.
	(cal_component_get_dtend): Ditto.
	(cal_component_get_due): Ditto.
	(scan_property): Handle the COMMENT property.
	(cal_component_get_comment_list): Ditto.
	(cal_component_set_comment_list): Ditto.

svn path=/trunk/; revision=3875
2000-07-03 22:59:07 +00:00
6f709e4fd7 Added e-entry.c and e-entry.h.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/Makefile.am: Added e-entry.c and e-entry.h.

	* widgets/e-text/e-entry.c, widgets/e-text/e-entry.h: New files to
	be a widget containing a text item.

	* widgets/e-text/e-text.c: Fixed some spacing.

svn path=/trunk/; revision=3874
2000-07-03 22:35:47 +00:00
e59563eb7d Added a reflow_compare callback and did removal if you do shift-click on a
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Added a reflow_compare callback and did removal
	if you do shift-click on a selected row that's not the cursor.

svn path=/trunk/; revision=3873
2000-07-03 22:27:25 +00:00
40e24cdab6 New list class with iterators.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* e-iterator.c, e-iterator.h, e-list-iterator.c,
	e-list-iterator.h, e-list.c, e-list.h: New list class with
	iterators.

	* e-canvas.c: Made it so that you don't get the same selection in
	the selection list more than once.

svn path=/trunk/; revision=3871
2000-07-03 22:25:47 +00:00
a1d1e450a1 Parse In-Reply-To with header_references_decode, not header_msgid_decode.
* camel-folder-summary.c (message_info_new): Parse In-Reply-To
	with header_references_decode, not header_msgid_decode.

	* camel-mime-message.c (camel_mime_message_class_init): message
	headers are case-insensitive.

svn path=/trunk/; revision=3870
2000-07-03 15:13:07 +00:00
bd3e2e1b65 Fix a bug in error-setting code. (pop3_connect): Don't re-prompt for
* providers/pop3/camel-pop3-store.c (camel_pop3_command): Fix a
	bug in error-setting code.
	(pop3_connect): Don't re-prompt for password in the KPOP case.
	(pop3_get_response): New function, split out from
	camel_pop3_command.
	(connect_to_server): Use pop3_get_response to parse the greeting
	message, and error out appropriately if it's -ERR.

svn path=/trunk/; revision=3869
2000-07-03 14:36:40 +00:00
9ec7ff026c Handle CATEGORIES. This can appear multiple times, so we maintain a list.
2000-07-02  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (scan_categories): Handle CATEGORIES.
	This can appear multiple times, so we maintain a list.  We
	compress them later to a single property with multiple values.
	(cal_component_get_categories_list): Ditto.
	(cal_component_set_categories_list): Ditto.
	(cal_component_free_categories_list): Ditto.
	(free_icalcomponent): Properly free the mappings.

svn path=/trunk/; revision=3868
2000-07-03 02:24:27 +00:00
38ec332283 Get filters to work by not freeing the XML document nor the ruleset.
This probably makes us leak, but I don't understand how the code is
supposed to work so I cannot do the correct fix.  At least filters
(seem to) work now.

svn path=/trunk/; revision=3867
2000-07-03 02:10:23 +00:00
2b06fe7a4d Remove hack to redisplay the inbox, since folder_changed signals will now
* mail-ops.c (real_fetch_mail): Remove hack to redisplay the
	inbox, since folder_changed signals will now be emitted
	appropriately.

svn path=/trunk/; revision=3866
2000-07-03 01:22:27 +00:00
847e5b6946 add this, which was missing from ChangeLog in the previous commit:
(append_message): emit "folder_changed" on a successful append.

svn path=/trunk/; revision=3865
2000-07-03 01:21:38 +00:00
5158267d36 freeze the folder to avoid multiple folder_changed's (close_folder): and
* filter-driver.c (open_folder): freeze the folder to avoid
	multiple folder_changed's
	(close_folder): and thaw it.

svn path=/trunk/; revision=3864
2000-07-03 01:20:28 +00:00
03b3618408 New functions to freeze and thaw a folder (to prevent message/folder
* camel-folder.c (camel_folder_freeze, camel_folder_thaw): New
        functions to freeze and thaw a folder (to prevent message/folder
        changed signals in the middle of a long series of operations).
        (camel_folder_class_init): Change signals to GTK_RUN_FIRST.
        (message_changed, folder_changed): Add default implementations
        that stop the emission and record info for later if the folder is
        frozen.

        * providers/mbox/camel-mbox-folder.c (mbox_sync): leftover fixes
        from the close->sync change: don't destroy the ibex, summary, and
        search when syncing.

svn path=/trunk/; revision=3863
2000-07-03 01:17:49 +00:00
033a1cd5a7 Fix filter_driver_new invocation.
* component-factory.c (create_vfolder_storage): Fix
	filter_driver_new invocation.

svn path=/trunk/; revision=3862
2000-07-03 00:39:35 +00:00
f0e2807dbe test-mail and test-thread should be noinst.
* Makefile.am (bin_PROGRAMS): test-mail and test-thread should be
	noinst.

svn path=/trunk/; revision=3861
2000-07-03 00:33:50 +00:00
480cd7ee76 Pass mail_uri_to_folder and rules to filter_driver_new.
* mail-ops.c (real_fetch_mail):
	(vfolder_editor_clicked):
	* component-factory.c (create_vfolder_storage):
	Pass mail_uri_to_folder and rules to filter_driver_new.

svn path=/trunk/; revision=3860
2000-07-02 23:18:17 +00:00
f1701f224d kill filter_driver_set_session and filter_driver_set_rules and instead
* filter-driver.c (filter_driver_new): kill
	filter_driver_set_session and filter_driver_set_rules and instead
	make filter_driver_new take the rules and a callback function it
	can use to turn URIs into folders.
	(open_folder): Use the callback function rather than calling camel
	directly: some URIs need special handling to turn them into stores
	and folders correctly, so let the mailer do that.

svn path=/trunk/; revision=3859
2000-07-02 23:18:06 +00:00
e497e9ad28 Fix double freeing of the camel exception; this prevents a crash when a
folder cannot be opened.

svn path=/trunk/; revision=3858
2000-07-02 21:25:15 +00:00
514ae3ebe3 Handle date/time and timezone pairs. (scan_property): Handle DTSTART and
2000-07-02  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (scan_datetime): Handle date/time and
	timezone pairs.
	(scan_property): Handle DTSTART and DTEND.
	(cal_component_free_datetime): Ditto.
	(get_datetime): Ditto.
	(cal_component_get_dtstart): Ditto.
	(set_datetime): Ditto.
	(cal_component_set_dtstart): Ditto.
	(cal_component_get_dtend): Ditto.
	(cal_component_set_dtend): Ditto.
	(scan_property): Handle DUE date.
	(cal_component_get_due): Ditto.
	(cal_component_set_due): Ditto.

svn path=/trunk/; revision=3857
2000-07-02 13:25:35 +00:00
4c0c741c6d A rather complex uudecoder written in the spirit of Zucchi-ness, is it up
2000-07-02  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-utils.c (uudecode_step): A rather complex uudecoder
	written in the spirit of Zucchi-ness, is it up to par? Only the
	Z-man can tell us :-)

svn path=/trunk/; revision=3856
2000-07-02 05:17:40 +00:00
fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
a84feecf5b Removed bogus extra gtk_object_ref() that caused the shell not to quit
correctly.

svn path=/trunk/; revision=3853
2000-07-02 01:40:28 +00:00
c55d63c5df Again, disable compilation of the Pilot stuff until it links - Federico
svn path=/trunk/; revision=3852
2000-07-02 00:41:14 +00:00
98753e92d2 New method, to return an end-user-friendly name corresponding to a
* camel-service.c (camel_service_get_name): New method, to return
	an end-user-friendly name corresponding to a service. (eg, "POP
	service for danw on trna.helixcode.com").

	* providers/imap/camel-imap-store.c,
	providers/mbox/camel-mbox-store.c,
	providers/nntp/camel-nntp-store.c,
	providers/pop3/camel-pop3-store.c,
	providers/sendmail/camel-sendmail-transport.c,
	providers/smtp/camel-smtp-transport.c: Implement.

svn path=/trunk/; revision=3851
2000-07-01 23:07:18 +00:00
6dabd2bd96 remove unneeded libcamelimap_la_LDADD.
* providers/imap/Makefile.am: remove unneeded
	libcamelimap_la_LDADD.

svn path=/trunk/; revision=3850
2000-07-01 22:50:12 +00:00
00d1c1c333 fix the CAPA-parsing code to not get into an infinite loop.
* providers/pop3/camel-pop3-store.c (connect_to_server): fix the
	CAPA-parsing code to not get into an infinite loop.

svn path=/trunk/; revision=3849
2000-07-01 22:10:22 +00:00
25e3c025f6 Removed. These aren't being used any more. (The real pixmaps are in
* pixmaps.h, pixmaps/*.xpm: Removed. These aren't being used any
	more. (The real pixmaps are in ../art.)

svn path=/trunk/; revision=3848
2000-07-01 21:34:43 +00:00
3e96455b29 Fixed the bug that would sometimes leave part of the server response
2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message): Fixed
	the bug that would sometimes leave part of the server response
	tacked on to the end of the message.

svn path=/trunk/; revision=3847
2000-07-01 20:07:13 +00:00
57abc7f895 Updated to reflect changes made to camel-folder.
2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c: Updated to reflect changes made to
	camel-folder.

svn path=/trunk/; revision=3846
2000-07-01 17:48:50 +00:00
ec8bc2a47c Handle the DESCRIPTION property. There can be multiple descriptions with
2000-07-01  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_get_description_list):
	Handle the DESCRIPTION property.  There can be multiple
	descriptions with parameters each, so we deal with a list instead
	of a single structure.
	(cal_component_set_description_list): Ditto.
	(cal_component_free_description_list): Ditto.
	(scan_property): Ditto.
	(scan_description): Ditto.

svn path=/trunk/; revision=3845
2000-07-01 08:24:43 +00:00
ee429c5ada Updated to reflect camel-folder changes.
2000-07-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (get_message_info):
	(select_msg): Updated to reflect camel-folder changes.

	* mail-ops.c (real_fetch_mail): Modified to reflect camel-folder
	changes.

svn path=/trunk/; revision=3844
2000-07-01 04:55:46 +00:00