Commit Graph

4280 Commits

Author SHA1 Message Date
0bb5d2102e I changed the Reply-All behavior so that the sender's address does
not appear in the cc: field.

svn path=/trunk/; revision=5246
2000-09-07 21:42:45 +00:00
be8c0eaaec Preliminaries for new UI handler.
svn path=/trunk/; revision=5245
2000-09-07 21:42:15 +00:00
a939d54562 oops, forgot to pass "expunge" to camel_folder_sync - this should fix that
svn path=/trunk/; revision=5244
2000-09-07 21:35:33 +00:00
38c7385713 Make this not leak.
* camel-session.c (camel_session_get_storage_path): Make this not
	leak.

svn path=/trunk/; revision=5243
2000-09-07 21:00:56 +00:00
c8b89a700b Updated to pass an exception to filter_driver_run and also check the
2000-09-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_fetch_mail): Updated to pass an exception to
	filter_driver_run and also check the exception before deleting the
	message from the source folder.
	(do_filter_ondemand): Updated to pass an exception to
	filter_driver_run

svn path=/trunk/; revision=5242
2000-09-07 20:39:11 +00:00
58eb7bf31c Rewrote - this shouldn't need to be an async function
2000-09-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (filter_driver_run): Rewrote - this shouldn't
	need to be an async function

	* filter-message-search.c (match_all): Modified to look at the
	boolean value being fed to it and just to return that instead of
	always returning TRUE

svn path=/trunk/; revision=5241
2000-09-07 20:38:32 +00:00
1b3a2114ee Pass a storage dir to camel_session_new now.
* session.c (session_init): Pass a storage dir to
        camel_session_new now.

        * main.c (main): Can't call session_init here now, because it
        requires evolution_dir to be set.

        * component-factory.c (owner_set_cb): call session_init here.

svn path=/trunk/; revision=5240
2000-09-07 20:00:03 +00:00
1fb4f1bfee Make this take a path to a directory that Camel can use for its own
* camel-session.c (camel_session_new): Make this take a path to a
	directory that Camel can use for its own nefarious purposes.
	(camel_session_get_storage_path): New function to return a path
	that a service can use for its own nefarious sub-purposes.

	* camel-service.c (camel_service_get_path): New method (and
	useful default implementation) to get a (relative) pathname
	corresponding to the service.

svn path=/trunk/; revision=5239
2000-09-07 19:59:53 +00:00
cb05e36a62 Fix previous fix. (Free the uids, just do it correctly.)
* mail-ops.c (do_fetch_mail): Fix previous fix. (Free the uids,
	just do it correctly.)

svn path=/trunk/; revision=5238
2000-09-07 19:31:05 +00:00
646590a8c7 Don't free uids, let the camel folder do that when it gets finalized
2000-09-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_fetch_mail): Don't free uids, let the camel
	folder do that when it gets finalized

svn path=/trunk/; revision=5237
2000-09-07 18:39:06 +00:00
e6dd871ad7 Rewrote - this shouldn't need to be an async function
2000-09-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (filter_driver_run): Rewrote - this shouldn't
	need to be an async function

	* filter-message-search.c (match_all): Modified to look at the
	boolean value being fed to it and just to return that instead of
	always returning TRUE

svn path=/trunk/; revision=5236
2000-09-07 18:34:15 +00:00
0db696fa42 Bunch of unicode related changes
svn path=/trunk/; revision=5235
2000-09-07 18:30:30 +00:00
722a05828e Redid "soft" intro stuff, worked on mail a little. minor commit.
2000-09-07  Aaron Weber  <aaron@helixcode.com>

	* C/preface.sgml: Redid "soft" intro stuff, worked on mail a
	little. minor commit.

svn path=/trunk/; revision=5234
2000-09-07 16:25:04 +00:00
3b31310826 *** empty log message ***
svn path=/trunk/; revision=5233
2000-09-07 16:22:30 +00:00
50b0bd7bdf Make KPOP work again.
* providers/pop3/camel-pop3-store.c (connect_to_server): Make KPOP
	work again.

svn path=/trunk/; revision=5232
2000-09-07 16:21:41 +00:00
64119bc6be Accidentally broke docs, now valid.
2000-09-07  Aaron Weber  <aaron@helixcode.com>

	* C/evolution-guide.sgml: Accidentally broke docs, now valid.

svn path=/trunk/; revision=5231
2000-09-07 16:02:44 +00:00
d435ef1f87 Add a mention of the verify-evolution-install.sh script in tools/.
* README: Add a mention of the verify-evolution-install.sh script
	in tools/.

svn path=/trunk/; revision=5230
2000-09-07 15:37:32 +00:00
0963419d89 Merge in the colour combo emhancements.
2000-09-06  Jody Goldberg <jgoldberg@home.com>

	* color-group.c (color_group_new_named) : strdup the name if it is
	  supplied by the user.
	(color_group_class_init) : Use the destroy method.

2000-09-03 Michael Levy  <mlevy@genoscope.cns.fr>

	* color-group.c : Re-write of color-combo-group.c to allow
	for arbitrary widgets to share a common color history.

	* widget-color-combo.c :
	Extracted all the code required to make the color table and moved it to a
	new object (ColorPalette). Changed the ColorCombo so that it uses
	the ColorPalette (and the shared color hsitory provided by the groupped
	ColorPalettes).
	All the code that refered to the creation of the color table was
	removed, and when appropriate, moved to color-palette.c
	Removed all mention of ColorComboGroups (as these no longer exist).

	* color-palette.c : Extracted from widget-color-combo.c
	(color_palette_new) : Creates a color palette.
	(color_palette_get_current_color) : returns the current color.


2000-07-30  Michael Levy  <mlevy@genoscope.cns.fr>

	* color-combo-group.c : New GtkObject meant to group color combo boxes so
	that their custom color histories are shared.
	Includes functions to create and destroy the object, as
	well as those required size, and navigate through the custom color history.

	* widget-color-combo.c
	(group_new_custom_color) : New function to handle the
	new_custom_color signal emitted by the ColorComboGroup
	(custom_color_history_setup) : New function which initialises a
	combo box's custom color history with the one stored in the group
	(color_table_setup) : Added call to custom_color_history_setup.
	(cust_color_set) : Removed call to cust_color_row_shift and moved
	it to group_new_custom_color. Also added call to
	color_combo_group_add_color in order to notify group of change
	(color_combo_new_with_vals) : Added mandatory group name to
	function prototype. Also added call to color_combo_group_new_named
	and connected the "new_custom_color" signal emitted by the newly
	created group to group_new_custom_color
	(color_combo_new) : Added mandatory group name to function
	prototype.

	* widget-color-combo.c (color_combo_new) : Added mandatory group
	name to function prototype.

svn path=/trunk/; revision=5229
2000-09-07 14:56:59 +00:00
1aef3474d9 Remove incorrect optimization. Events are read-only!
2000-09-07  Federico Mena Quintero  <federico@helixcode.com>

	* e-canvas.c (emit_event): Remove incorrect optimization.  Events
	are read-only!

svn path=/trunk/; revision=5228
2000-09-07 04:40:06 +00:00
861e4d421c oops, spelling mistake
svn path=/trunk/; revision=5227
2000-09-07 03:48:39 +00:00
e35881116f Implemented (someone added these to camel-mime-message.h but never
2000-09-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-message.c (camel_mime_message_get_received_date):
	Implemented (someone added these to camel-mime-message.h but never
	implemented them!!) - though it may not be right.
	(camel_mime_message_get_sent_date): Same.

svn path=/trunk/; revision=5226
2000-09-07 03:47:45 +00:00
eec65a9ce0 New async function to filter messages on demand. (do_fetch_mail): Updated
2000-09-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (mail_do_filter_ondemand): New async function to
	filter messages on demand.
	(do_fetch_mail): Updated to filter 1 message at a time using the
	new filter-driver code

	* mail-callbacks.c (composer_postpone_cb): Send NULL as the
	message info.
	(run_filter_ondemand): Use mail_do_filter_ondemand instead of
	filter_driver_run

	* mail-tools.c: Removed mail_tool_filter_contents_into and
	mail_tool_fetch_mail_into_searchable as they have now been
	deprecated.

svn path=/trunk/; revision=5225
2000-09-07 03:15:35 +00:00
534b71582b Totally rewritten to filter a single message at a time instead of
2000-09-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (filter_driver_run): Totally rewritten to filter
	a single message at a time instead of filtering a folder.

	* filter-message-search.c (filter_message_search): New convenience
	function for searching a message.

svn path=/trunk/; revision=5224
2000-09-07 02:58:59 +00:00
ff533a0ccf Get the meeting time selector to work on my system (libunicode
installation prefix different from the GNOME default installation
prefix).

svn path=/trunk/; revision=5223
2000-09-06 19:19:18 +00:00
165ba7b2ef set the data to NULL for the tree root, so nuke_uids won't try to free
* message-list.c (clear_tree): set the data to NULL for the tree
	root, so nuke_uids won't try to free anything.

svn path=/trunk/; revision=5222
2000-09-06 19:01:52 +00:00
7d777d329b Fix memory handling for the shell's CORBA object reference within the
folder browser.

svn path=/trunk/; revision=5221
2000-09-06 14:36:08 +00:00
51857b1153 Use new cal_component_has_recurrences convenience function
2000-09-06  JP Rosevear  <jpr@helixcode.com>

	* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event):
	Use new cal_component_has_recurrences convenience function

	* gui/e-week-view.c (e_week_view_show_popup_menu): ditto

	* gui/e-week-view-event-item.c
(e_week_view_event_item_draw_icons):
	ditto

	* gui/calendar-model.c (calendar_model_value_at): ditto
	(calendar_model_value_at): ditto

	* gui/e-day-view.c (e_day_view_on_event_click): ditto
	(e_day_view_on_event_right_click): ditto
	(e_day_view_on_top_canvas_motion): ditto
	(e_day_view_on_top_canvas_motion): ditto
	(e_day_view_on_main_canvas_motion): ditto
	(e_day_view_on_main_canvas_motion): ditto
	(e_day_view_reshape_day_event): ditto

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
	ditto

	* gui/e-day-view.c (e_day_view_on_long_event_click): ditto

svn path=/trunk/; revision=5220
2000-09-06 10:42:49 +00:00
5c27983900 Use new convenience functions and only get the recurrence stuff if needed.
2000-09-06  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-recur.c (cal_recur_generate_instances): Use
	new convenience functions and only get the recurrence
	stuff if needed.  Free the recurrence stuff if used.

2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-component.h: Add new prototypes

	* cal-util/cal-component.c (cal_component_has_exrules): Utility
	function to determine whether a cal component has any exrules
	(cal_component_has_exdates): Ditto for exdates
	(cal_component_has_exceptions): Utility function to determine
	whether a cal component has any exception rules
	(cal_component_has_recurrences):Utility function to determine
	whether a cal component has any recurrence rules

svn path=/trunk/; revision=5219
2000-09-06 09:59:17 +00:00
114f5b7f91 Kill all exdates if there are no dates in the box
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* gui/event-editor.c (dialog_to_comp_object): Kill all exdates if
	there are no dates in the box

	* cal-util/cal-recur.c (generate_instances_for_year): Add a
special
	case for when there are exceptions but no rrules or rdates.
	(cal_obj_remove_exceptions): Use date only compare func
	(cal_obj_date_only_compare_func): New compare function that
	compares the date only, not the time.

	* gui/event-editor.c (dialog_to_comp_object): Need a break for the
	yearly recurrence type
	(dialog_to_comp_object): We need to allocate icaltimetypes for the
	exdate list
	(fill_widgets): Handle a weekly recurrence with no particular day
set
	(dialog_to_comp_object): Kill all rrules if "None" is selected as
	the recurrence type by the user

svn path=/trunk/; revision=5218
2000-09-06 01:06:48 +00:00
e8648e4817 uses the new TaskEditor dialog.
2000-09-06  Damon Chaplin  <damon@helixcode.com>

	* gui/e-calendar-table.c (e_calendar_table_open_task): uses the new
	TaskEditor dialog.

	* gui/dialogs/task-editor.[hc]:
	* gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the
	'Status' property (CalComponent doesn't support it yet), and use a
	replacement for GnomeDateEdit, since we need to support setting 'None'
	as the date.

2000-09-04  Damon Chaplin  <damon@helixcode.com>

	* gui/event-editor.c (obj_updated_cb):
	(obj_removed_cb): compare the updated object's uid with the one we
	are editing, and just return if it doesn't match.

2000-09-01  Damon Chaplin  <damon@helixcode.com>

	* gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see
	if the client has loaded successfully. Gets rid of a few warnings.

svn path=/trunk/; revision=5217
2000-09-06 00:13:05 +00:00
6403bd5b4d make sure we get the start_weekday since we need it for draw_days(). Fixes
2000-09-05  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.c (e_calendar_item_draw_month): make sure we get
	the start_weekday since we need it for draw_days(). Fixes a drawing
	bug.

2000-08-31  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.c (e_calendar_item_button_press):
	(e_calendar_item_button_release): grab/ungrab the pointer so we
	always get the button_release event.

svn path=/trunk/; revision=5216
2000-09-06 00:10:39 +00:00
d9da6499c0 camel_mime_part_get_filename now deals with both Content-Disposition and
* mail-display.c (make_safe_filename):
	* mail-format.c (handle_mystery):
	* mail-identify.c (mail_identify_mime_part):
	camel_mime_part_get_filename now deals with both
	Content-Disposition and Content-Type.

svn path=/trunk/; revision=5215
2000-09-05 23:12:27 +00:00
1bafa31bc2 kill a warning
svn path=/trunk/; revision=5214
2000-09-05 23:12:12 +00:00
aaeea6be54 If a MIME part has no Content-Disposition, but does have a "name" on the
* camel-mime-part.c (camel_mime_part_get_filename): If a MIME part
	has no Content-Disposition, but does have a "name" on the
	Content-Type, return that as the filename.
	(process_header): strstrip the Content-Description

svn path=/trunk/; revision=5213
2000-09-05 23:00:22 +00:00
eafd7dbe01 care about response code. (get_HEAD_headers): same.
2000-09-05  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/camel-nntp-utils.c (get_OVER_headers): care about
	response code.
	(get_HEAD_headers): same.
	(camel_nntp_get_headers): same.

	* providers/nntp/camel-nntp-store.h: get rid of
	CAMEL_NNTP_OK/ERR/FAIL.

	* providers/nntp/camel-nntp-store.c
	(camel_nntp_store_get_extensions): take CamelException arg and
	pass along to camel_nntp_command.
	(camel_nntp_store_get_overview_fmt): same.
	(nntp_store_connect): convert to using constants in
	camel-nntp-resp-codes.h
	(nntp_store_get_folder): make use of camel_nntp_folder_new.
	(camel_nntp_command_send_recv): new function to deal with auth
	challenge.
	(camel_nntp_command): split out most of this function into
	camel_nntp_command_send_recv.  also, return the actual response
	code instead of CAMEL_NNTP_OK/ERR/FAIL.

	* providers/nntp/camel-nntp-resp-codes.h: new file.

	* providers/nntp/camel-nntp-folder.h: prototype for
	camel_nntp_folder_new.

	* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): new
	convenience function.
	(nntp_folder_get_message): care more about the actual response
	code.

	* providers/nntp/Makefile.am (libcamelnntp_la_SOURCES): add
	camel-nntp-auth.c.
	(libcamelnntpinclude_HEADERS): add camel-nntp-auth.h.

	* providers/nntp/camel-nntp-auth.h: new file.

	* providers/nntp/camel-nntp-auth.c: new file.

svn path=/trunk/; revision=5212
2000-09-05 22:32:49 +00:00
54a6d12d79 The exdate and rdate lists are a list of icaltimetypes, not
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-recur.c (generate_instances_for_year): The exdate
	and rdate lists are a list of icaltimetypes, not
CalComponentPeriods

	*gui/e-day-view.c (e_day_view_on_delete_occurrence): The exdate
list
	is a list of icaltimetypes, not CalComponentDateTimes

svn path=/trunk/; revision=5211
2000-09-05 21:48:56 +00:00
dc2a0341af Update for CamelObject and some other changes
svn path=/trunk/; revision=5210
2000-09-05 21:18:00 +00:00
69b79e75f6 Grammar, links, screenshots.
2000-09-05  Aaron Weber  <aaron@helixcode.com>

	* C/usage-contact.sgml: Grammar, links, screenshots.

	* fig/* Re-took most screenshots.

	* C/usage-mail.sgml: Filters, proofing.

svn path=/trunk/; revision=5209
2000-09-05 21:04:15 +00:00
4cfcef013a Add a use-default-port option to the source editor ; bugfixes
svn path=/trunk/; revision=5208
2000-09-05 20:53:22 +00:00
c089061f4d Re-rename "Sent".
* component-factory.c (owner_set_cb): Re-rename "Sent".

svn path=/trunk/; revision=5207
2000-09-05 20:44:36 +00:00
7a21e4e904 Cache provider, for caching a remote store locally. This is not done yet.
svn path=/trunk/; revision=5206
2000-09-05 20:33:05 +00:00
52d74ec874 Remove the "+ 90" here since it seems to break things for me, and it's not
* folder-browser.c (fb_resize_cb): Remove the "+ 90" here since it
	seems to break things for me, and it's not commented anyway and
	there's no excuse for adding 90 to a number with no explanation.

svn path=/trunk/; revision=5205
2000-09-05 20:21:40 +00:00
43851a4f3d Append the exdate to the list AFTER we create the date value.
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* gui/e-day-view.c (e_day_view_on_delete_occurrence): Append
	the exdate to the list AFTER we create the date value.

svn path=/trunk/; revision=5204
2000-09-05 20:20:09 +00:00
2e91dd59bf Free the data, not the list element.
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-component.c (cal_component_free_recur_list): Free
	the data, not the list element.

svn path=/trunk/; revision=5203
2000-09-05 20:10:52 +00:00
b1e66c4c60 Cleanup of lots of exception handling ; bugfixes
svn path=/trunk/; revision=5202
2000-09-05 20:08:10 +00:00
a86c7ea0ab only call camel_folder_get_message_info if the folder has
* mail-tools.c (mail_tool_move_folder_contents): only call
	camel_folder_get_message_info if the folder has
	summary_capability. Don't hack up a fake CamelMessageInfo:
	append_message will take NULL.

svn path=/trunk/; revision=5201
2000-09-05 20:06:30 +00:00
362fa53610 Replace mail_do_setup_draftbox, mail_do_setup_outbox, and
* mail-ops.c: Replace mail_do_setup_draftbox,
	mail_do_setup_outbox, and mail_do_setup_sentbox with
	mail_do_setup_folder.
	(do_send_mail, do_send_queue): s/sentbox_folder/sent_folder/

	* component-factory.c (owner_set_cb): Use mail_do_setup_folder,
	rename sentbox_folder to sent_folder, and call
	mail_operation_wait_for_finish after the setup_folder calls in
	case anything needs to use the _folder variables.

svn path=/trunk/; revision=5200
2000-09-05 19:43:08 +00:00
84680074b1 Compute the event duration using the event start/end times, not the
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-recur.c (cal_recur_generate_instances): Compute
	the event duration using the event start/end times, not the
	interval times.

svn path=/trunk/; revision=5199
2000-09-05 19:21:11 +00:00
e0daf2ad0c Check to see if r->enddate is (time_t)-1 and set to 0 if so
2000-09-05  JP Rosevear  <jpr@helixcode.com>

	* cal-util/cal-recur.c (cal_recur_from_icalrecurrencetype): Check
	to see if r->enddate is (time_t)-1 and set to 0 if so

svn path=/trunk/; revision=5198
2000-09-05 18:16:26 +00:00
699f000495 Improve the Kerberos checks further (check for Sun kerb; check for sendauth proto)
svn path=/trunk/; revision=5197
2000-09-05 17:32:11 +00:00