Commit Graph

14704 Commits

Author SHA1 Message Date
00a8f5e2ec Use GtkType (I only changed this one because I turned on debugging for a
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-int.[c,h]: Use GtkType (I only changed this one because I
	turned on debugging for a bit).

	* filter-file.c (validate): Fix the strcmp logic a bit, I had it
	the exact opposite of what I really wanted. Oops :-)

svn path=/trunk/; revision=17586
2002-07-25 08:49:56 +00:00
6ea2a4da8b Update to take argc and argv arguments since this is the new definition
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_execute_shell_command): Update to take argc and
	argv arguments since this is the new definition for the
	CamelFilterDriverShellFunc.

	* mail-session.c (main_get_filter_driver): Updated for the renamed
	function.

svn path=/trunk/; revision=17585
2002-07-25 07:46:06 +00:00
6147ca54a4 Do some minimalistic validation of command-lines (ie, make sure it isn't
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-file.c (validate): Do some minimalistic validation of
	command-lines (ie, make sure it isn't an empty string).

	* filtertypes.xml: s/shell-exec/shell/ (for the action) and pass
	"/bin/sh" "-c" as the first 2 arguments. For the shell-exec
	*rule*, change the name to "pipe-message" and add the "/bin/sh"
	"-c" arguments too.

svn path=/trunk/; revision=17584
2002-07-25 07:45:01 +00:00
e5cd4631f6 Renamed from shell_exec(). Also, we now want to pass argc/argv on to the
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (do_shell): Renamed from
	shell_exec(). Also, we now want to pass argc/argv on to the
	CamelFilterDriverShellFunc.
	(camel_filter_driver_set_shell_func): Renamed a bit.

	* camel-filter-search.c (pipe_message): Renamed from shell_exec().

svn path=/trunk/; revision=17583
2002-07-25 07:43:16 +00:00
d60d213009 Use execv ("sh", "-c", command) rather than execing the command directly.
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-search.c (run_command): Use execv ("sh", "-c",
	command) rather than execing the command directly.

svn path=/trunk/; revision=17582
2002-07-25 06:04:55 +00:00
e6623c2d82 Mae sure that the html->pointer_url is non-NULL. Should fix bug #28159
2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (link_open_in_browser): Mae sure that the
	html->pointer_url is non-NULL. Should fix bug #28159 (this seems
	to be the only questionable way for a NULL url to be passed into
	on_link_clicked).

svn path=/trunk/; revision=17581
2002-07-25 05:28:32 +00:00
65f894d915 Check for whether current_message is NULL as well as preview_shown (if we
2002-07-24  Peter Williams  <peterw@ximian.com>

	* mail-callbacks.c (do_mail_fetch_and_print): Check for whether
	current_message is NULL as well as preview_shown (if we tried to
	load the message and failed, as may happen in offline mode.)
	(done_message_selected): Only print if we actually got the message.

	* folder-browser.c (folder_browser_query_changed): New function,
	use this on the query_changed signal. Don't run the search if
	they only changed the dropdown.

svn path=/trunk/; revision=17580
2002-07-24 21:31:50 +00:00
6dc1e9f71f Don't pass the length of the tag name into strncmp, instead use the length
2002-07-23  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (message_tag_followup_decode): Don't pass
	the length of the tag name into strncmp, instead use the length up
	to the first ':' in the value string.

svn path=/trunk/; revision=17579
2002-07-24 20:48:27 +00:00
ea1923cacf display the location in the itip information
2002-07-24  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (write_html): display the location in the
	itip information

svn path=/trunk/; revision=17578
2002-07-24 20:26:27 +00:00
e78a5a2635 cast!
svn path=/trunk/; revision=17577
2002-07-24 20:23:38 +00:00
86d2d39580 Call camel_session_get_service instead of camel_session_get_store, as
2002-07-23  Peter Williams  <peterw@ximian.com>

	* mail-ops.c (get_store_get): Call camel_session_get_service
	instead of camel_session_get_store, as _get_store calls
	_get_service_connected which is not what we want to do on startup.
	(set_offline_do): Rework the logic here. It was failing when
	trying to go online with a disco store that couldn't work offline.

	* mail-folder-cache.c (mail_note_store): If we're using an offline
	(well, non-online) disco store that cannot work offline, don't get
	the folderinfo as that will fail.

svn path=/trunk/; revision=17576
2002-07-24 19:37:57 +00:00
a401de9c22 Touch up changelog.
svn path=/trunk/; revision=17575
2002-07-24 18:22:34 +00:00
dbb7b4fd11 set status to in progress if the percent is between 0 and 100
2002-07-24  JP Rosevear  <jpr@ximian.com>

	* gui/calendar-model.c (set_percent): set status to in progress if
	the percent is between 0 and 100
	(set_status): if the value is set to in process, change the
	percent to 50

svn path=/trunk/; revision=17574
2002-07-24 18:21:13 +00:00
9a222768c2 use mail_config_get_send_html for html format flag
2002-07-24  Radek Doulik  <rodo@ximian.com>

	* mail-composer-prefs.c (sig_add): use
	mail_config_get_send_html for html format flag

	* mail-account-gui.c (sig_add_new_signature): use
	mail_config_get_send_html for html format flag

svn path=/trunk/; revision=17573
2002-07-24 17:32:54 +00:00
d4a60e8fa5 Change libversit.la -> libversit.a for danw's changes.
2002-07-24  Peter Williams  <peterw@ximian.com>

	* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Change
	libversit.la -> libversit.a for danw's changes.

svn path=/trunk/; revision=17572
2002-07-24 17:15:47 +00:00
4
733c6c6045 add a day for the leap year only if we are currently counting Feb., not if
2002-07-24    <jpr@ximian.com>

	* cal-util/timeutil.c (time_day_of_year): add a day for the leap
	year only if we are currently counting Feb., not if the month
	passed in is Feb.  Fixes #23446.

svn path=/trunk/; revision=17571
2002-07-24 17:06:55 +00:00
9fcbc8f335 When writing the summary, use TRUNC flag, duh. Also, write to a temp file
2002-07-25  Not Zed  <NotZed@Ximian.com>

        * camel-folder-summary.c (camel_folder_summary_save): When writing
        the summary, use TRUNC flag, duh.  Also, write to a temp file
        first, and rename when closed successfully, and check ferror() and
        fclose() against 0 rather than -1.

        * providers/local/camel-mbox-summary.c (summary_update): Decrement
        i if we remove the summary item so we dont skip every 2nd one.

        * camel-mime-utils.c (header_decode_mailbox): Use
        rfc2047_decode_word explicitly incase we just found an encoded
        word.  Stops us re-decoding the string twice, which fixes memory
        corruption in #26330 when the HUGE string is used later.

2002-07-24  Not Zed  <NotZed@Ximian.com>

        * camel-partition-table.c (camel_key_table_next): Didn't unlock if
        we exited on an empty key list.

svn path=/trunk/; revision=17570
2002-07-24 15:13:43 +00:00
710ba7ca95 s/libversit_lt/libversit/
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD):
	s/libversit_lt/libversit/

svn path=/trunk/; revision=17569
2002-07-24 14:07:27 +00:00
0c43bcb20b Propagate name changes or removes to the mail config. #15951. Doesn't
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * mail-folder-cache.c (real_flush_updates): Propagate name changes
        or removes to the mail config.  #15951.  Doesn't enitrely work for
        local folders, because they are never renamed only removed and
        added thanks to the shell's api.

        * mail-config.c (mail_config_uri_renamed): If a store folder is
        renamed, this checks for any config that needs updating, so far
        sent and drafts folders.
        (mail_config_uri_deleted): Same, for deleted folders.

svn path=/trunk/; revision=17568
2002-07-24 07:21:15 +00:00
1080bf46a1 Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise.
* e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): Add
missing cast.
(e_calendar_item_signal_emission_idle_cb): Likewise.

* e-search-bar.c (init): Don't initialize dropdown_menu here
anymore since we got rid of it.

* e-search-bar.h (struct _ESearchBar): Removed member
dropdown_menu.

svn path=/trunk/; revision=17567
2002-07-24 06:28:45 +00:00
2131710f75 Commit a fix that I thought I committed a while ago:
2002-07-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_encrypted): Commit a fix that I
	thought I committed a while ago:

	* mail-format.c (handle_multipart_encrypted): Pass the correct
	pointer into camel_multipart_encrypted_decrypt().

	* mail-ops.c (mail_send_message): Rework the logic a bit. If we
	find an account, use that to set the sent_folder_uri and the
	transport_url, otherwise use the X-Evolution-Transport and
	X-Evolution-Fcc headers.

svn path=/trunk/; revision=17566
2002-07-24 06:18:36 +00:00
c1dee24434 If no --with-kde-applnk-path is given, try to
detect the directory using `kde-config'.

svn path=/trunk/; revision=17565
2002-07-24 05:27:19 +00:00
8c88d15dd5 Initialise the standard uri's before doing anything else.
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (owner_set_cb): Initialise the standard
        uri's before doing anything else.

        * mail-vfolder.c (uri_is_ignore): Return true if the uri is any
        sent, drafts or outbox folder uri.
        (mail_vfolder_add_uri): Dont automagically add any
        sent/outbox/drafts folder with "local" or "remote" etc rules, only
        add sent folders if explictly listed as folder rules.  Maintain
        the remote/local folders list accordingly.
        (vfolder_adduri_do): dont check against sent_folder, drafts_folder
        or outbox_folder, this is checked by above code.  For #14863.

svn path=/trunk/; revision=17564
2002-07-24 05:23:53 +00:00
975b2f33f9 (command_work_online): Remove debugging
message.
(command_work_offline): Likewise.

svn path=/trunk/; revision=17563
2002-07-24 04:54:55 +00:00
d487683bb3 Sync before doing an expunge if we dont have uidplus. See #25766.
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-folder.c (imap_expunge_uids_online):
        Sync before doing an expunge if we dont have uidplus.  See #25766.
        (imap_expunge_uids_resyncing): Same here.

svn path=/trunk/; revision=17562
2002-07-24 03:41:24 +00:00
7e8effc12c Move folders to a subdirectory of storage_path, rather than in it. Bye bye
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-store.c (get_folder_online): Move
	folders to a subdirectory of storage_path, rather than in it.
	Bye bye everyones settings.  See 24947.
        (get_folder_offline): And here too.
        (delete_folder): And here too.
        (rename_folder): and here too.
        (get_folder_info_offline): And here too.  I love code reuse.

svn path=/trunk/; revision=17561
2002-07-24 02:51:44 +00:00
816d869e70 Duplicated the very much hack in imap_store_refresh_folders() to avoid a
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-store.c (get_folder_info_online):
        Duplicated the very much hack in imap_store_refresh_folders() to
        avoid a deadlock in #27959.  A decent fix has to wait for a
        rewrite.

svn path=/trunk/; revision=17560
2002-07-24 02:33:26 +00:00
1bddc83831 restart automanager to avoid multiple dialog apearing
2002-07-23  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (autosave_run): restart automanager to avoid
	multiple dialog apearing

svn path=/trunk/; revision=17559
2002-07-23 22:42:59 +00:00
f14e08e0a8 Don't use strncmp here or reply-all will match reply.
2002-07-23  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (message_tag_followup_decode): Don't use
	strncmp here or reply-all will match reply.

svn path=/trunk/; revision=17558
2002-07-23 21:12:12 +00:00
252e27586e Use *Control*equal and *Control*minus
for TextZoomIn and TextZoomOut instead of *Control*+ and
*Control*-, since the former actually works.  :-)

svn path=/trunk/; revision=17557
2002-07-23 20:50:41 +00:00
b7f80576ce (item_key_press): In the case of '-' and '=', check
that no non-Shift modifier is pressed.

svn path=/trunk/; revision=17556
2002-07-23 20:50:17 +00:00
b6f3f2287c icon fixes
svn path=/trunk/; revision=17555
2002-07-23 20:28:58 +00:00
e0cdfddc55 Bind MessageMove to Control-Shift-V. [#24394]
* evolution-mail-message.xml: Bind MessageMove to Control-Shift-V.
[#24394]

* evolution-addressbook.xml: Bind ContactsMoveToFolder and
ContactsCopyToFolder to Control-Shift-V and Control-Shift-Y for
consistency with the mailer.  Also move "Select All" up in the
Edit menu and add a separator before "Delete".

svn path=/trunk/; revision=17554
2002-07-23 19:16:11 +00:00
3
592c4df236 use proper meeting icon
2002-07-23    <jpr@ximian.com>

	* gui/e-day-view.c (e_day_view_realize): use proper meeting icon

svn path=/trunk/; revision=17553
2002-07-23 19:04:48 +00:00
761efc48f5 changed accel for HTML from T to M to avoid conflict with other menu
2002-07-23  Larry Ewing  <lewing@ximian.com>

	* evolution-message-composer.xml: changed accel for HTML from T to
	M to avoid conflict with other menu items.

svn path=/trunk/; revision=17552
2002-07-23 18:09:02 +00:00
a7289d38f7 CVS_SILENT
svn path=/trunk/; revision=17551
2002-07-23 16:46:24 +00:00
ef539c50b7 Also perform a search on the query_changed signal, which is what gets
2002-07-22  Peter Williams  <peterw@ximian.com>

	* folder-browser.c (folder_browser_gui_init): Also perform a search
	on the query_changed signal, which is what gets emitted when the
	Search menu is used.

2002-07-22  Peter Williams  <peterw@ximian.com>

	* e-filter-bar.c (do_advanced): Break out the code for creating
	the advanced rule editor into a separate function, so that...
	(menubar_activated): ... can also create an Advanced dialog;
	needed when the Search menu's advanced button is used.
	(option_changed): Change this to call the function instead of
	having all the code to itself.

	* e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions
	so that other code (eg, EFilterBar) doesn't get confused by
	an old id being used when the search-activated signal gets
	emitted.

	* e-search-bar.c (clear_search): Set the item_id to CLEAR
	before emitting the signal.
	(search_now_verb_cb): Just make this emit query_changed,
	as the button in the toolbar does.

svn path=/trunk/; revision=17550
2002-07-23 16:03:07 +00:00
7f9b336892 use uri_list before we set "uri-list" to NULL, which will automagically
2002-07-24  Not Zed  <NotZed@Ximian.com>

        * mail-display.c (drag_data_delete_cb): use uri_list before we set
        "uri-list" to NULL, which will automagically free it for us, so
        dont free it either.  Found with vagrind.

svn path=/trunk/; revision=17549
2002-07-23 15:56:09 +00:00
ef4b84d6d4 Replace a bunch of old gnomecal functions with the functionally identical
* cal-util/timeutil.c: Replace a bunch of old gnomecal functions
	with the functionally identical ones from Connector.

svn path=/trunk/; revision=17548
2002-07-23 13:57:51 +00:00
122a24ce8f Applied patch below.
2002-07-23  Not Zed  <NotZed@Ximian.com>

        * Applied patch below.

2002-07-19  Christian Kreibich <christian@whoop.org>

        * e.msg-composer.c (get_signature_html): Test for the signature
        delimiter not only at the beginning of a signature file, but also
        inside the signature.

svn path=/trunk/; revision=17547
2002-07-23 11:24:00 +00:00
b42221290c Updated Greek translation
svn path=/trunk/; revision=17546
2002-07-23 10:15:59 +00:00
7f41408ca9 Updated Greek translation
svn path=/trunk/; revision=17545
2002-07-23 10:13:15 +00:00
35949e810e Disconnect from folderbroser signals when we unref it, so we dont get
2002-07-23  Not Zed  <NotZed@Ximian.com>

        * message-browser.c (message_browser_destroy): Disconnect from
        folderbroser signals when we unref it, so we dont get signals
        later on if someone else has a ref on it (causing crash).

svn path=/trunk/; revision=17543
2002-07-23 07:46:01 +00:00
00ca525caf Reverted some code that got committed by accident.
2002-07-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some
	code that got committed by accident.
	(e_msg_composer_set_view_cc): Same.
	(e_msg_composer_set_view_replyto): Here too.
	(e_msg_composer_set_view_from): And here.

svn path=/trunk/; revision=17542
2002-07-23 06:08:05 +00:00
80bbd1f809 #include <string.h> for memcpy.
2002-07-23  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream.c: #include <string.h> for memcpy.

svn path=/trunk/; revision=17541
2002-07-23 05:14:58 +00:00
4747d7a5d4 fixed up some gtk-doc comments
svn path=/trunk/; revision=17540
2002-07-23 00:06:18 +00:00
4f5bca2bc9 more cleanup
svn path=/trunk/; revision=17539
2002-07-22 23:53:11 +00:00
26524d4a05 Removed a lot of extra g_return_if_fail's that we don't need (if we are
2002-07-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Removed a lot of extra g_return_if_fail's that
	we don't need (if we are going to check if the pointer is a a
	composer widget using the gtk type-check macros, then there is no
	need to first check that it isn't NULL).
	(get_file_content): Signatures are now supposed to be in UTF-8 and
	not the user's locale charset, so we must first read in the
	content, then check that it is valid UTF-8. If it isn't, then we
	need to try to convert it to UTF-8.

svn path=/trunk/; revision=17538
2002-07-22 23:34:34 +00:00
6e0ef227ee Removed a lot of extra g_return_if_fail's that we don't need (if we are
2002-07-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Removed a lot of extra g_return_if_fail's that
	we don't need (if we are going to check if the pointer is a a
	composer widget using the gtk type-check macros, then there is no
	need to first check that it isn't NULL).

svn path=/trunk/; revision=17537
2002-07-22 23:32:15 +00:00
22a346a7e4 Check to make sure the script output is valid UTF-8, if not then attempt
2002-07-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_signature_run_script): Check to make
	sure the script output is valid UTF-8, if not then attempt to
	convert it into UTF-8. Fixes bug #28086.

svn path=/trunk/; revision=17536
2002-07-22 23:10:00 +00:00