Commit Graph

3737 Commits

Author SHA1 Message Date
906c46112c Oops. If the number of messages in the folder is 0, don't fetch summaries
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary): Oops.
	If the number of messages in the folder is 0, don't fetch
	summaries 1 thru 0, just return an empty summary.

svn path=/trunk/; revision=4150
2000-07-13 19:07:14 +00:00
c79e70871b s/CAMEL_SERVICE_NEED_HOST/CAMEL_SERVICE_URL_NEED_HOST.
2000-07-13  Jonathan Blandford  <jrb@redhat.com>

	* mail-config.c (create_transport): s/CAMEL_SERVICE_NEED_HOST/CAMEL_SERVICE_URL_NEED_HOST.

Fix obvious typo in code.

svn path=/trunk/; revision=4149
2000-07-13 18:36:11 +00:00
36485a36d8 Add a "gboolean required" argument, and set its value on the entry.
* mail-config.c (add_row): Add a "gboolean required" argument, and
	set its value on the entry.
	(create_source, create_transport): Create rows for URL elements if
	the URL ALLOWs them. Mark them required if it NEEDs them.
	(service_note_doneness): Only require the required fields to be
	filled in.

	Now the IMAP config page allows the user to enter a path, but
	doesn't require it.

svn path=/trunk/; revision=4148
2000-07-13 17:20:34 +00:00
e3970d1396 define a set of CAMEL_SERVICE_URL_ALLOW_* flags parallel to the _NEED_*
* camel-service.h: define a set of CAMEL_SERVICE_URL_ALLOW_* flags
	parallel to the _NEED_* flags, and make the _NEED_* flags imply
	the _ALLOW_* ones.

	* providers/imap/camel-imap-store.c (camel_imap_store_init): imap
	urls ALLOW_PATH

svn path=/trunk/; revision=4147
2000-07-13 17:17:56 +00:00
2aaffa2560 update
svn path=/trunk/; revision=4146
2000-07-13 16:13:27 +00:00
9729426da1 small cleanups, quiet compiler
svn path=/trunk/; revision=4145
2000-07-13 15:05:41 +00:00
ba844049f7 Updated the Turkish translation.
svn path=/trunk/; revision=4144
2000-07-13 14:08:47 +00:00
4e6de4710e Updated russian translation.
svn path=/trunk/; revision=4143
2000-07-13 12:27:30 +00:00
0c301ab7cb New and improved approach to fetching an entire folder summary that should
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary): New
	and improved approach to fetching an entire folder summary
	that should be much much faster than the old way as it gets
	the entire folder summary in 1 shot rather than requesting
	message by message. As with the last update, this version
	also only fetches the minimum number of header fields.
	(imap_get_summary): Oops, forgot to free the temp
	GPtrArray *headers

svn path=/trunk/; revision=4142
2000-07-13 08:56:52 +00:00
5cb1a7b1e6 New and improved approach to fetching an entire folder summary that should
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary): New
	and improved approach to fetching an entire folder summary
	that should be much much faster than the old way as it gets
	the entire folder summary in 1 shot rather than requesting
	message by message. As with the last update, this version
	also only fetches the minimum number of header fields.

svn path=/trunk/; revision=4141
2000-07-13 08:28:24 +00:00
5ad92b1723 Don't fetch the entire RFC822 header, just fetch the fields we want.
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary): Don't
	fetch the entire RFC822 header, just fetch the fields we want.
	(imap_get_message_info): Same.

svn path=/trunk/; revision=4140
2000-07-13 05:50:20 +00:00
2ffef2c837 Back to the old way to avoid g_warnings, yay. Also fix append to send a
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (real_fetch_mail): Back to the old way to avoid
	g_warnings, yay. Also fix append to send a flags argument (0)

svn path=/trunk/; revision=4139
2000-07-13 05:44:23 +00:00
bc79d7668d Back to the old way to avoid g_warnings, yay
2000-07-13  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (real_fetch_mail): Back to the old way to avoid
	g_warnings, yay

svn path=/trunk/; revision=4138
2000-07-13 05:35:29 +00:00
f3b827786b (install-data-hook): ignore error on mkdir.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	(install-data-hook): ignore error on mkdir.

svn path=/trunk/; revision=4137
2000-07-13 05:05:34 +00:00
57d6e1cd92 Remove some text cruft i was using for testing.
svn path=/trunk/; revision=4136
2000-07-13 04:03:38 +00:00
0fcc4e0a67 Reset filter on setup. (reset): When resetting qp encoding, set the state
2000-07-13  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-filter-basic.c (camel_mime_filter_basic_new_type):
        Reset filter on setup.
        (reset): When resetting qp encoding, set the state to -1, instead
        of 0.

        * camel-mime-utils.c (quoted_encode_step): Actually count the
        characters output sofar (it never counted any).  Bunch of other
        fixes.
        (quoted_encode_close): Also flush out final character, if ther's
        one.

svn path=/trunk/; revision=4135
2000-07-13 04:02:13 +00:00
548fa4f72a Oops, missed a source file.
Added #include <e-util/e-util.h> and renamed strstrcase to e_strstrcase in providers/imap/camel-imap-folder.c

svn path=/trunk/; revision=4134
2000-07-13 02:14:50 +00:00
6fe78080d7 Chris forgot to add #include <e-util/e-util.h> to the source files
2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

	Chris forgot to add #include <e-util/e-util.h> to the source files

	* providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's
	fix, we don't want to send a string to a %d.

svn path=/trunk/; revision=4133
2000-07-13 02:11:57 +00:00
e691169372 Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST in
2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

	Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST
	in e-utils/e-utils.c nor anywhere else in Evolution - besides,
	Camel should remain independant of Evolution.

	* providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's
	fix, we don't want to send a string to a %d.

svn path=/trunk/; revision=4132
2000-07-13 01:35:25 +00:00
0b66e8a93b oops. fix typo that was saving the port in the rootdn spot.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-ldap-storage.c (ldap_server_foreach): oops.  fix
	typo that was saving the port in the rootdn spot.
	(save_ldap_data): make this a bit safer - writing to a new file
	and renaming it.
	(load_ldap_data): make this a bit smarter - if parsing the
	ldapservers.xml file fails and there's a .new file there,
	rename it.

svn path=/trunk/; revision=4131
2000-07-13 00:15:44 +00:00
d75a6c0b38 todo conduit builds and plays nice but does nothing
svn path=/trunk/; revision=4130
2000-07-12 23:34:10 +00:00
f9eb656383 Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions
2000-07-12  Federico Mena Quintero  <federico@helixcode.com>

	* configure.in: Make gnome-print-0.20 mandatory.  We will bail out
	with CVS HEAD versions to avoid breakage.

svn path=/trunk/; revision=4129
2000-07-12 23:10:48 +00:00
86236d0687 Made scroll wheel work properly in header.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Made scroll wheel work properly in
	header.

svn path=/trunk/; revision=4128
2000-07-12 23:03:39 +00:00
5e764dcac9 From addressbook/ChangeLog:
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* backend/pas/pas-backend-file.c: Do case insensitive compares.

	* addressbook/gui/component/addressbook.c: Make quick search
	search both name and company name.

From camel/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* camel-folder-search.c, providers/imap/camel-imap-store.c:
	Changed from strstrcase to e_strstrcase.

	* string-utils.c, string-utils.h: Removed strstrcase (in favor of
	e_strstrcase in e-util/e-util.c.)

From e-util/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strstrcase function.

svn path=/trunk/; revision=4127
2000-07-12 22:59:25 +00:00
247366f851 fix some cut & paste bung.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* mail-config.c (providers_config_new): fix some cut & paste bung.

svn path=/trunk/; revision=4126
2000-07-12 22:17:23 +00:00
6e8da6b223 Add icons to the toolbars.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Add icons to the toolbars.

svn path=/trunk/; revision=4125
2000-07-12 22:03:32 +00:00
8429138315 Added installation of arrow.png.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/Makefile.am: Added installation of arrow.png.

	* contact-editor/e-contact-editor.c: Use EVOLUTIONDIR #define.

svn path=/trunk/; revision=4124
2000-07-12 21:57:31 +00:00
eb33e78eeb GnomeFont update.
2000-07-12  Michael Meeks  <michael@helixcode.com>

	* gui/print.c (titled_box, print_text, print_month_small),
	(bound_text): GnomeFont update.

svn path=/trunk/; revision=4123
2000-07-12 21:32:02 +00:00
c2f5cf9966 add "message/news" to the mime_function_table using the same handler as
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* mail-format.c (setup_function_table): add "message/news" to the
	mime_function_table using the same handler as message/rfc822.

svn path=/trunk/; revision=4122
2000-07-12 21:26:45 +00:00
77e6472926 get the article num out of our uid and mark it read in the newsrc.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-folder.c
	(nntp_folder_set_message_flags): get the article num out of our
	uid and mark it read in the newsrc.
	(nntp_folder_get_message): get the message id out of the uid to
	fetch the article.

	* providers/nntp/camel-nntp-utils.c (get_XOVER_headers): the uid
	is now <article-num>,<messageid>
	(get_HEAD_headers): same.

	* camel-mime-parser.c (folder_scan_step): go to HSCAN_MESSAGE
	state when ct->subtype is "news" as well as "rfc822".  this makes
	attachments of type "message/news" display properly.

svn path=/trunk/; revision=4121
2000-07-12 21:24:26 +00:00
540e1d7671 Useful default implementations for free_{uids,subfolder_names,summary}.
* camel-folder.c (camel_folder_free_deep,
	camel_folder_free_shallow, camel_folder_free_nop): Useful default
	implementations for free_{uids,subfolder_names,summary}.
	(free_subfolder_names, free_uids): Make these g_warning-ing
	default implementations.

	* providers/*/camel-*-folder.c: Use the new functions where
	appropriate, remove duplicated code.

svn path=/trunk/; revision=4120
2000-07-12 20:37:00 +00:00
4b7d13b41f Solaris fixes: make sure not to pass NULL to printf's %s
svn path=/trunk/; revision=4119
2000-07-12 19:46:08 +00:00
2872871ac0 Use mbox_set_message_flags () instead of setting the flags by hand. This
2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/mbox/camel-mbox-folder.c (mbox_delete_message): Use
	mbox_set_message_flags () instead of setting the flags by hand. This
	fixes the problem of the "message_changed" signal not being emitted
	at the correct time.

	* providers/imap/camel-imap-folder.c: "folder_changed" signals should
	pass a third argument (which is ignored).

	* camel-folder.c: Undo gtk signal emits done in set_flags and
	expunge.
	(move_message_to):
	(copy_message_to): Create info as a const CamelMessageInfo

svn path=/trunk/; revision=4118
2000-07-12 19:28:50 +00:00
49618ae6eb Fix bug #345: Command to show/hide attachments in the composer
svn path=/trunk/; revision=4117
2000-07-12 18:27:34 +00:00
ed332931e1 fixed various problems
* conduits/calendar/calendar-conduit.c: fixed various problems

	* cal-client/Makefile.am: build a static version of the library
	to link with the conduits

	* cal-util/Makefile.am: same

svn path=/trunk/; revision=4116
2000-07-12 18:26:16 +00:00
355d3fae66 add news server tab to dialog.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* mail-config.glade*: add news server tab to dialog.

	* mail-config.c (on_NewsServerConfigDialogButton_clicked): new function.
	(on_clistNewsServers_select_row): new function.
	(on_cmdNewsServersAdd_clicked): new function.
	(on_cmdNewsServersEdit_clicked): new function.
	(on_cmdNewsServersDelete_clicked): new function.
	(providers_config_new): mirror the source tab's code to fill in
	the news server tab.
	(write_config): save out the news server.
	(create_news_server_config_dialog): new function.
	(create_news_server_page): new function.

svn path=/trunk/; revision=4115
2000-07-12 18:24:42 +00:00
ee5fbe7663 create an empty news directory in $(defaultdir).
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (install-data-hook): create an empty news directory
	in $(defaultdir).

svn path=/trunk/; revision=4114
2000-07-12 18:15:58 +00:00
2d4ee0e3a3 don't add test-newsrc to the build since it needs libcamel (which isn't
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/Makefile.am: don't add test-newsrc to the build
	since it needs libcamel (which isn't built at the time test-newsrc
	needs linking.)

	* providers/nntp/camel-nntp-utils.c (get_HEAD_headers): fill in
	MessageInfo->message_id.
	(get_XOVER_headers): same.

	* providers/nntp/camel-nntp-folder.c (nntp_folder_init): move
	summary loading here.
	(nntp_folder_sync): summary/newsrc changes should be stored here.
	put a comment to that effect.
	(nntp_folder_set_message_flags): don't save the newsrc here.
	(nntp_folder_get_uids): use g_ptr_array_index instead of the
	cast/addition.
	(nntp_folder_get_summary): no need to check if we should generate
	the summary here.  already done.
	(nntp_folder_get_message_info): implement.

	* providers/nntp/camel-nntp-store.c
	(camel_nntp_store_get_toplevel_dir): use evolution_dir instead of
	computing it ourselves.
	(nntp_store_disconnect): call camel_nntp_newsrc_write.
	(ensure_news_dir_exists): new function to create the news/<news
	server> subdir.
	(camel_nntp_store_class_init): hook up connect/disconnect and
	finalize.
	(nntp_store_connect): if ensure_news_dir_exists fails throw an
	exception.

svn path=/trunk/; revision=4113
2000-07-12 18:14:31 +00:00
87a211d95f Fixed to match gconf API change.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* main.c: Fixed to match gconf API change.

svn path=/trunk/; revision=4112
2000-07-12 18:07:06 +00:00
ecde034b38 updated pt_BR translations
svn path=/trunk/; revision=4111
2000-07-12 16:26:10 +00:00
d55f9b8a07 Fix bug #378: last displayed message is still shown in an empty folder
svn path=/trunk/; revision=4110
2000-07-12 16:02:02 +00:00
e41d73fabb Fix bug #394: Refiling messages does not update the view
svn path=/trunk/; revision=4109
2000-07-12 15:45:59 +00:00
8f6fcc14fb Fix bug #390: default attachment save dir should be ~
svn path=/trunk/; revision=4108
2000-07-12 15:11:52 +00:00
e10afbe355 Tried rearranging the casts to try for a more correct computation.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-scroll-frame.c: Tried rearranging the casts to try for a more
	correct computation.

svn path=/trunk/; revision=4107
2000-07-12 04:34:19 +00:00
a406eacc70 Use size_t and ssize_t for read/write methods
2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-stream.c: Use size_t and ssize_t for read/write methods

svn path=/trunk/; revision=4106
2000-07-12 04:30:18 +00:00
bc22c33ee2 Updated to emit the message_changed signal. (imap_delete_message): Updated
2000-07-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_set_message_flags):
	Updated to emit the message_changed signal.
	(imap_delete_message): Updated to use imap_set_message_flags ().
	(imap_move_message_to): Updated to use imap_set_message_flags ()
	and to emit the folder_changed signal on the destination folder.
	(imap_copy_message_to): Updated to emit the folder_changed signal
	on the destination folder.
	(imap_append_message): Updated to emit the folder_changed signal
	on the destination folder.

svn path=/trunk/; revision=4105
2000-07-12 04:13:21 +00:00
08b0dbea5a Updated to reflect changes to camel_folder_append_message ()
2000-07-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (filter_driver_run): Updated to reflect changes to
	camel_folder_append_message ()

svn path=/trunk/; revision=4104
2000-07-12 03:09:27 +00:00
83ea15c72f Removed an unused function
2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c: Removed an unused function

svn path=/trunk/; revision=4103
2000-07-12 01:17:10 +00:00
4cd310350f Removed some debugging printfs.
2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-vbox.c: Removed some debugging printfs.

	* e-canvas.c (e_canvas_unrealize): Call parent unrealize method.

svn path=/trunk/; revision=4102
2000-07-12 01:16:42 +00:00
71cd8403b2 Handle the COMPLETED property. (free_icalcomponent): Ditto.
2000-07-11  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (scan_property): Handle the COMPLETED
	property.
	(free_icalcomponent): Ditto.
	(cal_component_get_completed): Ditto.
	(cal_component_set_completed): Ditto.
	(scan_property): Handle the TRANSPARENCY property.
	(free_icalcomponent): Ditto.
	(cal_component_get_transparency): Ditto.
	(cal_component_set_transparency): Ditto.
	(scan_property): Handle the URL property.
	(free_icalcomponent): Ditto.
	(cal_component_get_url): Ditto.
	(cal_component_set_url): Ditto.

svn path=/trunk/; revision=4101
2000-07-12 01:02:36 +00:00