Commit Graph

3803 Commits

Author SHA1 Message Date
43c5226539 Set the store and full_name info on the dialog.
2004-08-30  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree.c (emft_popup_delete_folder): Set the store and
	full_name info on the dialog.
	(emft_popup_delete_response): Use the requisite data stored on the
	dialog object rather than examining the selection again. Fixes bug
	#62665.

svn path=/trunk/; revision=27095
2004-08-31 15:45:48 +00:00
674a09b0f3 ** See bug #64377.
2004-08-30  Not Zed  <NotZed@Ximian.com>

        ** See bug #64377.

        * em-folder-selector.c (emfs_response): only set the uri if we
        have one to set.

        * em-folder-tree.c (em_folder_tree_finalize): Removed
        cose using selected_path and selected_uri strings.
        (emft_popup_new_folder): "
        (emft_popup_copy_folder_selected): "
        (emft_tree_selection_changed):
        (emft_tree_row_activated): ", free paths after use.

        * em-folder-selector.c (emfs_create_name_changed): free
        get_selected_uri return.
        (emfs_create_name_activate): "
        (em_folder_selector_get_selected_path): handle api change, store
        the selected_path too.

        * em-folder-tree.c (em_folder_tree_get_selected_uri):
        de-constify,and get the selection directly from the tree.
        (em_folder_tree_get_selected_path): same.

svn path=/trunk/; revision=27092
2004-08-31 03:26:15 +00:00
f7d31c11f5 fixed merge conflicts
svn path=/trunk/; revision=27088
2004-08-30 18:55:34 +00:00
e6c34bb759 gtk-doc style comment fixes
svn path=/trunk/; revision=27087
2004-08-30 18:53:45 +00:00
ff17456c45 ** See bug #63456.
2004-08-27  Not Zed  <NotZed@Ximian.com>

        ** See bug #63456.

        * message-list.c (main_folder_changed): noop if the async_event
        pointer is NULL which can happen during destroy.

svn path=/trunk/; revision=27072
2004-08-30 04:23:21 +00:00
680c6494ff utf8_filename should be char * not char
2004-08-27  JP Rosevear  <jpr@novell.com>

	* importers/mail-importer.c (import_folders_rec): utf8_filename
	should be char * not char

svn path=/trunk/; revision=27051
2004-08-28 02:53:17 +00:00
aaa2eab453 bump version, requirements
2004-08-27  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requirements

svn path=/trunk/; revision=27050
2004-08-27 20:35:42 +00:00
afd6e11236 Don't crash if we're passed a NULL path. GtkFileChooser can return NULL
2004-08-27  Hans Petter Jansson  <hpj@ximian.com>

	* em-utils.c (emu_can_save): Don't crash if we're passed a NULL
	path. GtkFileChooser can return NULL filenames that get passed
	to this function.

svn path=/trunk/; revision=27048
2004-08-27 18:49:05 +00:00
6bde4be459 Don't mark component menu accels for translation.
svn path=/trunk/; revision=27036
2004-08-26 16:16:54 +00:00
0e3e684383 Fix for bug #63177
2004-08-24  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #63177

	* em-folder-tree.c (emft_drop_async_drop): Check full_name == NULL
	rather than full_name[0] since store's have NULL full_names, not
	empty string (like they used to).
	(emft_drop_folder): Same.
	(tree_drag_data_received): Don't abort the drop if the user
	dropped on a store, this is allowed (depending on the store).

svn path=/trunk/; revision=27035
2004-08-26 15:05:48 +00:00
75cc9c38d4 only open the trash or junk if they're vfolders here. Some stores that
2004-08-25  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (store_info_new): only open the trash or junk
        if they're vfolders here.  Some stores that implement their own
        trash folders are unacceptably slow to open otherwise.

svn path=/trunk/; revision=27027
2004-08-26 04:13:43 +00:00
9a60859203 Convert filename to UTF-8 from local encoding before displaying it.
* importers/evolution-mbox-importer.c: (load_file_fn):
        * importers/evolution-outlook-importer.c: (load_file_fn):
        * importers/mail-importer.c: (import_folders_rec):
        Convert filename to UTF-8 from local encoding before displaying it.

svn path=/trunk/; revision=27019
2004-08-25 10:59:53 +00:00
35645d523e store the select-uri on the view not in the thread message.
2004-08-23  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree.c (em_folder_tree_set_selected): store the
        select-uri on the view not in the thread message.
        (emft_get_folder_info__free):
        (emft_get_folder_info__got): select_uri removed.
        (em_folder_tree_set_selected_list): don't set each selected
        separately, do it as a list.
        (emft_maybe_expand_row): if this is a selected row, select it too.
        (emft_get_folder_info__got): do no pending set selection stuff
        here.
        (em_folder_tree_set_selected): just call set_selected_list with
        one item.
        (emft_expand_node): if this is a selected row, select it too.
        (emft_get_folder_info__got): no longer need to track lost folders.
        (emft_tree_row_activated): clear the pending select list.
        (emft_tree_selection_changed): and here too.
        (em_folder_tree_get_selected_uris): get the lost folders from the
        un-applied selected ones now.  also fixes a list appending error.
        (emft_tree_user_event): find out when the user hits a key or mouse
        button to override any pending single-user select and don't
        override the cursor setting either.
        (emft_tree_row_expanded): set the 'load subdirs' false before we
        load it, so we don't try to load it again if its still being
        loaded.
        (emft_get_folder_info__got): don't check the loaded flag here, it
        should be set by the callee, also check the exception return.

svn path=/trunk/; revision=27002
2004-08-24 02:54:03 +00:00
53aa17c033 Fix for bug #62812
2004-08-13  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #62812

	* em-format-html-display.c (em_format_html_display_search): Set
	the search_dialog to be transient for the parent window and make
	sure to destroy the search_dialog when the parent gets destroyed.

svn path=/trunk/; revision=26995
2004-08-23 15:27:10 +00:00
64943d5f70 changed the groupwise account setup error message
2004-08-21 Sivaiah Nallagatla <snallagatla@novell.com>

        * mail-erros.xml : changed the groupwise account setup error
        message

svn path=/trunk/; revision=26981
2004-08-21 06:55:07 +00:00
a68fb6b29a ** See bug #62963.
2004-08-16  Not Zed  <NotZed@Ximian.com>

        ** See bug #62963.

        * message-list.c (build_tree, build_flat): define selected in
        declaration block, not inline. Spotted by Vincent Noel
        <vnoel@cox.net>

svn path=/trunk/; revision=26959
2004-08-18 02:29:32 +00:00
6b9af3bc46 don't include the terminating NUL in the data length.
2004-08-13  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_utils_message_to_html): don't include the
        terminating NUL in the data length.
        (em_utils_part_to_html): nor here.

svn path=/trunk/; revision=26942
2004-08-16 03:31:21 +00:00
12327eb65c Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0
2004-08-12  Carlos Garnacho Parro  <carlosg@gnome.org>

	* em-utils.c: Optionally use GtkFileChooser if compiled against
	Gtk+ >= 2.4.0

	* mail-config.glade: added the "use_filechooser" property to the
	various GnomeFileEntries

svn path=/trunk/; revision=26897
2004-08-12 20:40:11 +00:00
1d5b61d3d0 Partial fix for bug #62771
2004-08-10  Jeffrey Stedfast  <fejj@novell.com>

	Partial fix for bug #62771

	* em-format-quote.c (emfq_format_header): Same.

	* em-format-html.c (efh_format_header): Decode the
	X-Mailer/User-Agent headers.

svn path=/trunk/; revision=26889
2004-08-12 16:34:22 +00:00
85ae1fd47c just call e_passwords_ask_password directly. (pass_activate,
2004-08-10  Not Zed  <NotZed@Ximian.com>

        * mail-session.c (get_password): just call
        e_passwords_ask_password directly.
        (pass_activate, pass_response, request_password, do_get_pass)
        (do_free_pass, main_forget_password): no longer required as
        e_password now handles the magic, and is thread safe.

        * mail-config.c (mail_config_write_on_exit): epasswords api
        change.

svn path=/trunk/; revision=26880
2004-08-12 06:53:45 +00:00
d948e3cbe3 Return NULL not FALSE on error.
2004-08-06  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree-model.c (em_folder_tree_model_get_selected):
	Return NULL not FALSE on error.

svn path=/trunk/; revision=26864
2004-08-10 19:10:06 +00:00
bacab97bb2 minor typo, uppercase 'the' corrected.
2004-06-08  Karsten Bräckelmann  <guenther@rudersport.de>

	* em-format-html-display.c (smime_encrypt_table[4]): minor typo,
	uppercase 'the' corrected.

svn path=/trunk/; revision=26841
2004-08-06 17:36:01 +00:00
865fc73a24 If type="{Sender}" and name is an empty string, use the addr. Fixes bug
2004-08-03  Jeffrey Stedfast  <fejj@novell.com>

	* em-composer-utils.c (format_sender): If type="{Sender}" and name
	is an empty string, use the addr. Fixes bug #62377

svn path=/trunk/; revision=26820
2004-08-04 15:20:57 +00:00
f929f20b9f fixed changelog
svn path=/trunk/; revision=26815
2004-08-03 19:02:21 +00:00
7496d3f7b9 bump version, requirements
2004-08-02  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requirements

svn path=/trunk/; revision=26803
2004-08-02 21:14:38 +00:00
e19ffca408 Update to just call us "Evolution" and be more accurate about the new
2004-08-01  JP Rosevear  <jpr@novell.com>

	* default/C/Inbox: Update to just call us "Evolution" and be more
	accurate about the new features included

svn path=/trunk/; revision=26792
2004-08-02 14:29:25 +00:00
9c26a7412a add the error message needed for groupwise account setup
2004-07-29  Sivaiah Nallagatla <snallagatla@novell.com>

        * mail-errors.xml : add the error message needed for groupwise
        account setup

svn path=/trunk/; revision=26766
2004-07-29 06:47:31 +00:00
f000b8fa4f ** See #61958.
2004-07-28  Not Zed  <NotZed@Ximian.com>

        ** See #61958.

        * mail-folder-cache.c (real_flush_updates): remove the soreinfo
        lookup, it isn't used anywhere anymore.
        (mail_note_folder): hook onto the events outside of the lock, and
        don't pass the mfi pointer anymore.
        (mail_note_store): hook onto the events outside of the lock.
        (folder_changed, folder_finalised, folder_renamed): lookup the mfi
        if needed, it is no longer passed to the callback.
        (unset_folder_info): change unhook calls for new parameters.

svn path=/trunk/; revision=26764
2004-07-29 03:00:42 +00:00
10bfd57c37 ** See #61940.
2004-07-28  Not Zed  <NotZed@Ximian.com>

        ** See #61940.

        * em-composer-utils.c (composer_set_body): add emformat source arg.
        (em_utils_reply_to_message): take source arg.  Fixed callers.

        * em-utils.c (em_utils_message_to_html): take a source formatter
        argument, so we can copy/honour settings from it.
        (em_utils_part_to_html): similar.

svn path=/trunk/; revision=26757
2004-07-28 14:38:50 +00:00
7d0353e268 ** See #57972.
2004-07-27  Not Zed  <NotZed@Ximian.com>

        ** See #57972.

        * message-list.c (search_func): removed.
        (ml_search_path): new function to just search, not actually change
        the cursor like e_tree_find does.
        (message_list_can_select): new function, returns true if the
        selection specified is possible without changing the selection.
        (message_list_select): rewritten.
        (select_path): helper to select a path in a way that 'works
        reliably'.
        (message_list_select_next_thread): rewritten to use the
        table-adapter, so it properly handles arbitrary sorting.

        * em-folder-view.c (em_folder_view_get_popup_target): setup
        next/prev flags as appropriate.
        (emfv_enable_map[]): setup next/prev flags.

        * em-folder-view.h: added last and first message status bits to
        folder view select mask.

svn path=/trunk/; revision=26749
2004-07-28 02:55:52 +00:00
fd83a09d5c added len parameter to em_utils_part_to_html and em_utils_message_to_html.
2004-07-23  Radek Doulik  <rodo@ximian.com>

	* added len parameter to em_utils_part_to_html and
	em_utils_message_to_html. it is used to return length of returned
	buffer. we use that info later when setting composer body content.

svn path=/trunk/; revision=26747
2004-07-27 16:52:33 +00:00
063717e494 dont call e_error_default parent here, we dont have access to the toplevel
2004-07-22  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (impl_createControls): dont call
        e_error_default parent here, we dont have access to the toplevel
        yet.

svn path=/trunk/; revision=26728
2004-07-26 06:41:39 +00:00
d55e03c10c ** See bug #61824.
2004-07-23  Not Zed  <NotZed@Ximian.com>

        ** See bug #61824.

        * em-popup.c (emp_part_popup_reply_sender)
        (emp_part_popup_reply_list, emp_part_popup_reply_all): use new
        api.  We have no uid/folder to update here.

        * em-folder-view.c (emfv_message_reply): use new api for replying
        so we can supply the message content and have flags updated.

        * em-composer-utils.c (em_utils_reply_to_message): added optional
        folder and uid.
        (em_utils_reply_to_message_by_uid): removed, use the other
        interface instead.
        (reply_to_message): just call reply_to_message if we get a message
        to reply to.
        (em_utils_reply_to_message): if no message supplied, load it via
        the uid.

svn path=/trunk/; revision=26727
2004-07-26 06:33:23 +00:00
ad44453de2 set the session on the formatter. See #61767.
2004-07-22  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_utils_part_to_html, em_utils_message_to_html):
        set the session on the formatter.  See #61767.

2004-07-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #61747.

        * message-list.c (search_func): don't emit a message_selected here
        (god knows why we did?).  Don't update cursor_uid either, just
        clear it.
        (message_list_select): select the path if we find it here, causing
        the cascade of selection action.

svn path=/trunk/; revision=26710
2004-07-23 03:49:22 +00:00
aab6f62642 Free uri and name strings. Fixes a leak.
2004-07-19  Jeffrey Stedfast  <fejj@novell.com>

	* em-migrate.c (em_migrate_folder): Free uri and name
	strings. Fixes a leak.

svn path=/trunk/; revision=26688
2004-07-21 15:54:00 +00:00
230dd59a43 Chck that the selection is active. Hopefully this will fix bug #61427.
2004-07-13  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-view.c (emfv_message_reply): Chck that the selection
	is active. Hopefully this will fix bug #61427.

svn path=/trunk/; revision=26667
2004-07-16 16:03:44 +00:00
5b61aaf875 free return value from e_mkdtemp
* em-utils.c (em_utils_selection_set_urilist,
        em_utils_temp_save_part): free return value from e_mkdtemp

svn path=/trunk/; revision=26648
2004-07-14 15:20:19 +00:00
27f894733e only call expunge if the folder is set. (emfb_enable_map[]): only enable
2004-07-09  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): only call expunge if
        the folder is set.
        (emfb_enable_map[]): only enable expunge menu item if we have a
        valid folder set.

        ** See bug #60900.

        * em-format-html.c: convert the text_inline_parts hash to be keyed
        off the partid.
        (efh_free_inline_parts): -> efh_free_cache and fix to do it.

        * em-format.c (emf_free_cache): make the inline table cache other
        info too based on partid, this frees the structure.
        (emf_clone_inlines): copy all of the cache data.
        (em_format_is_inline): use the new data structure to determine
        state.
        (em_format_set_inline): same for setting.
        (emf_multipart_signed): cache/lookup the cached part.
        (emf_insert_cache): helper to add a cache entry.
        (emf_multipart_encrypted): cache decrypted part.
        (emf_application_xpkcs7mime): same.

2004-07-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #60900 (related only).

        * em-format-html-display.c (efhd_attachment_show): let set_inline
        do the redraw itself if required.  kill some dead code.

        * em-format.c (em_format_set_inline): trigger a redraw here like
        the other em_format_set methods, if the state changed.

        * em-format.c (emf_format_clone): free inline table keys & setup
        string hash table.

        * em-format-quote.c (emfq_format_attachment):
        * em-format-html-display.c (efhd_format_attachment):
        * em-format-html.c (efh_format_attachment): is_inline api changes.

        * em-format-html-display.c (efhd_attachment_show): set_inline api
        changes.

        * em-format.c (em_format_is_inline): make this use the partid
        rather than the part address as a key, which may change.
        (emf_init): make the inline talbe a string hashtable.
        (emf_finalise): free inline keys.
        (emf_clone_inlines): copy the key string.

svn path=/trunk/; revision=26614
2004-07-10 01:31:04 +00:00
3135766500 Fix for bug #61199.
2004-07-07  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #61199.

	* em-format-html.c (efh_format_address): Same.

	* em-format-quote.c (emfq_format_address): Make sure 'real' isn't
	NULL before using.

svn path=/trunk/; revision=26606
2004-07-09 13:57:54 +00:00
defbf78488 tarball should ship .schemas.in.in files, not generated files.
* Makefile.am:
        tarball should ship .schemas.in.in files, not generated files.

svn path=/trunk/; revision=26602
2004-07-09 11:17:59 +00:00
8893f5137d bump version, requirements
2004-07-02  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requirements

2004-07-02  JP Rosevaer  <jpr@novell.com>

	* Makefile.am (SUBDIRS): Revert previous error change

svn path=/trunk/; revision=26583
2004-07-05 15:08:43 +00:00
82109a2cb1 Remove $(error_i18n) (CLEANFILES): Put $(error_i18n) in here
2004-07-01  Rodney Dawes  <dobey@novell.com>

	* Makefile.am (BUILT_SOURCES): Remove $(error_i18n)
	(CLEANFILES): Put $(error_i18n) in here

svn path=/trunk/; revision=26557
2004-07-01 19:27:11 +00:00
0535daf02a call folder_subscribed directly from the async function not
2004-06-29  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree-model.c (folder_created_cb): call
        folder_subscribed directly from the async function not
        foldre_subscribed_cb, otherwise we run out of order.  Part of
        #60775.

svn path=/trunk/; revision=26547
2004-06-29 10:05:54 +00:00
adc60c535f setup exclusion for vfolder sources, noselect folders. Bug #60794.
2004-06-29  Not Zed  <NotZed@Ximian.com>

        * em-vfolder-rule.c (source_add): setup exclusion for vfolder
        sources, noselect folders.  Bug #60794.

svn path=/trunk/; revision=26544
2004-06-29 06:30:24 +00:00
d6ce7d54b0 duh remove changelog entry, it didn't get changed
svn path=/trunk/; revision=26542
2004-06-28 08:48:34 +00:00
9891f067ce fix accelerators. #56746.
2004-06-28  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (impl__get_userCreatableItems): fix
        accelerators.  #56746.

svn path=/trunk/; revision=26541
2004-06-28 08:47:24 +00:00
ead0633d3b Don't prepend the path string with a '/'.
2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-selector.c (em_folder_selector_get_selected_path):
	Don't prepend the path string with a '/'.

	* em-folder-tree.c (em_folder_tree_create_folder): This takes a
	full_name so update the argument to make that clear.
	(emft_create_folder): Same and also don't strip a leading '/'

svn path=/trunk/; revision=26513
2004-06-25 14:44:49 +00:00
c3744c7c3c set search column. #60152.
2004-06-25  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree.c (folder_tree_new): set search column.  #60152.

svn path=/trunk/; revision=26507
2004-06-25 04:15:38 +00:00
516c77a7a9 Add code to set the parent, position, and type hint of the "Add address"
2004-06-24  Rodney Dawes  <dobey@novell.com>

	* em-utils.c (em_utils_add_address): Add code to set the parent,
	position, and type hint of the "Add address" dialog

	Fixes #60030

svn path=/trunk/; revision=26501
2004-06-24 21:27:44 +00:00
4b2eddbec7 ** See #54030.
2004-06-23  Not Zed  <NotZed@Ximian.com>

        ** See #54030.

        * e-searching-tokenizer.c (e_searching_tokenizer_match_count):
        only return a count if we're using the primary search string.

        * em-format-html-display.c (efhd_search_response): set the primary
        search string to NULL instead of resetting it.
        (efhd_update_search): dont noop if we have a null search text,
        just set an empty search.

        * e-searching-tokenizer.c (e_searching_tokenizer_reset): remove
        this, revert jeff's fixes for 54030.  this is incomplete and so
        doesn't work either (search text stays remembered and secondary
        search text lost too).

        ** See #60523.

        * em-folder-view.c (emfv_finalise): unhook the folder changed
        before destroying the async thing, and move it all to destroy
        event anyway.
        (emfv_destroy): as above.

svn path=/trunk/; revision=26472
2004-06-23 08:08:40 +00:00