| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Cleaned up #includes. Remove unneccesary includes of
<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
fine grained headers where needed. Also marked a bunch of
strings for translations and added some missing prototypes.
svn path=/trunk/; revision=9025
|
|
|
|
|
|
|
|
|
| |
* mail-send-recv.c (receive_get_folder): Doh! This was storing
"struct _folder_info"s in the cache and then trying to read them
back as CamelFolders. Fixicate. Fixes the "crash with 2 POP
accounts" bug.
svn path=/trunk/; revision=9021
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-27 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (receive_done): Use gnome-dialog-close instead
of object_unref, for some reason it doesn't like being unref'd
with a refcount of 1, _who knows_. Gets rid of that refcount
warning on get mail.
svn path=/trunk/; revision=8976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-23 Jon Trowbridge <trow@ximian.com>
* gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card):
Added. Call me old-fashioned, but I just prefer to have a real
API rather than doing everything via gtk_object_get/set-type
calls.
(e_minicard_widget_set_arg): Changed to call
e_minicard_widget_set_card.
* backend/ebook/e-book-util.c: Small changes to get rid of
compiler warnings. (Casting out const, removed unused variables,
etc.) Removed some debugging messages.
* gui/component/addressbook-factory.c (main): Added call
to e_address_popup_factory_init.
* gui/component/e-address-popup.c: Added. A popup gadget that is
invoked (as a bonobo control) when an address is left-clicked in
the mailer. The addressbook is queries, and the address is either
displayed as a minicard (if it already exists) or in a "generic
format". A button is provided for editting/adding the contact.
Some of the semantics of this widget are a bit... non-standard,
because of bonobo issues. I can't really seem to replicate
popup-menu behavior because of how bonobo propogates events, etc.
so I've tried to produce something that I think is non-annoying.
YMMV.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* mail-display.c (handle_embedded_address_object): #ifdef away
some code I don't quite want to delete yet.
(html_button_press_event): Remove some of Radek's placeholder
code, replace it with code to create my AddressPopup bonobo
control.
* mail-format.c: Remove some obsolete code that if #ifdef-ed out
a while ago.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity
header when sending.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message):
Don't call camel_mime_message_set_identity. (The call is
commented out, left over from some earlier experimentation that I
want to be able to remember later...)
* camel-mime-message.c (camel_mime_message_set_identity): Added.
A function to set the X-Evolution-Identity header.
svn path=/trunk/; revision=8916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-01 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_search_menu_activated): Fixes
for changes to search bar.
(search_save): Removed.
(search_full): Removed.
(search_full_clicked): Removed.
(folder_browser_search_option_items[]): Removed.
(folder_browser_search_query_changed): Changed for search bar
changes.
(folder_browser_clear_search): Removed.
* mail-vfolder.c (vfolder_clone_rule): New function to clone a
filter/search rule into a matching vfolder rule.
* mail-send-recv.c (mail_receive_uri): Setup a timeout for status
updates.
(build_dialogue): Setup timeout id for status updates.
(operation_status_timeout): New function to set the status via a
timeout.
(receive_done): Remove the timeout handler if we need to.
(operation_status):
(receive_status): Just update the info, and let the timeout
handler update the gui.
(do_free_status):
(do_show_status): Removed gui thread status message processing.
2001-02-28 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_config_search): New function to
configure the FilterRule for the search mechanism.
2001-02-27 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_gui_init): Setup the search bar
as a filterbar.
(got_folder): Set the whole search bar sensitive or not based on
the search capability of the folder.
* folder-browser.h: Changed to use efilterbar instead of esearchbar.
svn path=/trunk/; revision=8438
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-23 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): Only allow downloading if the
source is enabled at this time.
(mail_autoreceive_setup): Check for enabled sources before setting
up autodownload.
* mail-vtrash.c
(get_trash_free): Free store if we have it.
(get_trash_got): Move vtrash add into here, so we execute in the
right thread.
svn path=/trunk/; revision=8354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-16 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (receive_status): Dont do the thaw/freeze set here.
(update_folders): "
* mail-vfolder.c (vfolder_refresh): Setup the virtual
'unmatched' folder by default.
(vfolder_uri_to_folder): HAndle UNMATCHED folder specially, it has
no explicit sources.
svn path=/trunk/; revision=8277
|
|
|
|
|
|
|
|
|
|
| |
2001-02-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (receive_get_folder): Not sure it makes any
difference, but lets ref the folder while the hash table is locked
rather than after we unlock it.
svn path=/trunk/; revision=8260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-09 Not Zed <NotZed@Ximian.com>
* mail-ops.c (filter_folder_free): only free driver, if set.
(fetch_mail_fetched): Unref the driver here, so it can cleanup
before we call the 'done' callback.
* component-factory.c (owner_set_cb): Add setup for mail
autoreceive stuff.
* mail-send-recv.c (free_info_data): Free the send info's from teh
active hash, not the running list.
(receive_done): As we finish downloads, remove them and clean them
up, and also close the window.
(mail_autoreceive_setup): New function to setup & maintain
automatic download stuff.
svn path=/trunk/; revision=8134
|
|
|
|
|
|
|
|
|
| |
2001-02-08 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (mail_send_receive):
(mail_receive_uri): Init active_downloads hash if it hasn't been yet.
svn path=/trunk/; revision=8098
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-07 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (operation_status): Handle internal camel status return.
(receive_done): Remove active download when done.
(mail_receive_uri): Initiate download of a single source, with no gui.
(build_dialogue): Mark any new items as real active downloads.
(do_show_status): Make the progress bar optional.
2001-02-06 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c: camel_cancel->camel_operation.
* mail-ops.old.c: camel_cancel->camel_operation.
* mail-ops.c: camel_cancel->camel_operation.
* mail-mt.c: camel_cancel->camel_operation.
* mail-callbacks.c (stop_threads): camel_cancel->camel_operation.
* mail-mt.h: CamelCancel->CamelOperation.
svn path=/trunk/; revision=8096
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Christopher James Lahey <clahey@ximian.com>
* evolution-mbox-importer.c, evolution-mbox-importer.h: Moved
bonobo includes from the .c to the .h. Include
evolution-mbox-importer.h in evolution-mbox-importer.c.
* evolution-outlook-importer.c, evolution-outlook-importer.h:
Moved bonobo includes from the .c to the .h. Include
evolution-outlook-importer.h in evolution-outlook-importer.c.
* mail-callbacks.c: Include mail-send-recv.h.
* mail-local.c (mail_local_lookup_folder): Cast local_store to
CAMEL_STORE.
* mail-mt.c (mail_msg_cleanup): Make this function static.
* mail-send-recv.c, mail-send-recv.h: Created mail_send_recv.h.
Included it in mail-send-recv.c. Added a #include
<libgnomeui/gnome-window-icon.h>.
(mail_send_receive): Added a cast.
* mail-summary.c (new_folder_cb, removed_folder_cb,
create_summary_view): Cast the source func in calling g_idle_add.
svn path=/trunk/; revision=8002
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-02 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (mail_send_receive): Cleaned up so we dont add
an unecessary level of indenting.
* message-list.c (ml_tree_value_at): For collapsed tree nodes,
scan the collapses nodes for the unread and status information.
Since we dont really have fake nodes anymore.
2001-01-30 Ian Campbell <ijc25@cam.ac.uk>
* message-list.c: Add support for new icons for being
read/unread for fake root messages on threads.
svn path=/trunk/; revision=7942
|
|
|
|
|
|
| |
Only allow one send and recv dialog at once.
svn path=/trunk/; revision=7917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-29 Not Zed <NotZed@Ximian.com>
* message-list.c (tree_equal): Debug function to compare the tree
we think we have, after an incremental update.
(build_tree): Check the tree after we've built it.
* mail-mt.c (mail_get_password): If we are being called from the
main gui thread, then just call the dialogue directly. Ideally we
dont want this anyway but lets handle the case nicely.
(mail_get_password): Try locking around the password request, to
single-queue any password requests.
(mail_msg_init): Push an exit handler to clean it up on completion.
* mail-send-recv.c (receive_update_got_store): New function called
when the store has been retrieved asynchronously.
(mail_send_receive): Get the store asynchronously. This was
causing problems where the password dialogue would try and be
called from the main thread via a message.
* mail-ops.c (mail_get_store): New function to get a store
(a)synchronously. More or less taken from subscribe-dialog, which
i will remove later.
(mail_scan_subfolders): Try running the scan subfolder thing
asynchronously, to help startup time. Not sure if this will work,
but presumably the shell can handle the folders appearing later
ok.
svn path=/trunk/; revision=7886
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Jeffrey Stedfast <fejj@ximian.com>
The following fixes seem to clear up the problem of new mail not
being shown in the Inbox and/or other folders where mail had been
delivered.
* mail-send-recv.c (build_dialogue): Freeze the inbox.
(receive_get_folder): Freeze folders before dumping them into the
hash table.
(free_folder_info): Thaw the folder.
(free_info_data): Thaw the Inbox.
svn path=/trunk/; revision=7824
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-24 Not Zed <NotZed@Ximian.com>
* folder-browser.c (search_string[]): Fix the subject match
expression, which was missing a closing ).
* mail-send-recv.c (do_show_status): Escape any % signs in the
string before setting the format string.
svn path=/trunk/; revision=7797
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (build_dialogue): Make sure the source->url is
not NULL (which is perfectly valid).
(mail_send_receive): Where oh where should my prototype be?
(receive_get_folder): Make sure to ref the folder before you add
it to the hash table.
* openpgp-utils.c:
* mail-crypto.c: A few minor tweaks.
svn path=/trunk/; revision=7757
|
|
|
|
|
|
|
|
|
| |
2001-01-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (build_dialogue): Make sure the source->url is
not NULL (which is perfectly valid).
svn path=/trunk/; revision=7756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
update first arg of mail_too_filter_get_folder_func
* mail-tools.c (mail_tool_filter_get_folder_func): Update first
arg to CamelFilterDriver *
* mail-send-recv.c (receive_status):
* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/
* mail-callbacks.c: Remove filter-driver.h include
* mail-accounts.c: Put the news functions inside #ifdef
ENABLE_NNTP to prevent warnings about unused statis functions.
* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
(populate_store_list): add a de-constifying cast
svn path=/trunk/; revision=7708
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-22 Not Zed <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): remove a warning with
conditional news compilation.
* mail-ops.h: Cleaned up the header list.
* folder-browser-factory.c: Replace the old get_send mail with the
new one (button).
* mail-ops.c (set_x_mailer):
(mail_load_evolution_rule_context):
(mail_do_fetch_mail):
(mail_do_filter_ondemand):
(mail_send_mail_old):
(mail_do_send_queue): All removed, (for) now lives in mail-send-recv.c.
(load_context):
(setup_filter_driver):
(filter_get_folder):
(mail_filter_folder):
(mail_fetch_mail):
(mail_update_subfolders):
(mail_send_mail):
(mail_send_queue): New equivalents of all these fundtions, moved
from mail-send-recv.c ...
(mail_filter_on_demand): Moved here too.
(mail_load_filter_context): Export this.
* mail-callbacks.c (apply_filters): Use the new
mail_filter_on_demand() call.
(send_receieve_mail): Use mail_send_receive to do the work. Add a
little error handling here that used to be elsewhere.
(send_queued_mail): Removed.
(fetch_mail): Removed.
(select_first_unread): #ifdef'd this out. Not sure if this still
makes sense, but it doesn't get run right now anyway.
(composer_postpone_cb): Fix the setting of message flags. You
dont need to get them first, ever.
* mail-send-recv.c (mail_send_message): Dont use
mail_tool_send_via_transport anymore (it does nothing useful).
* mail-tools.c (mail_tool_camel_lock_up): Turned into a noop.
(mail_tool_camel_lock_down): And here too.
(mail_tool_move_folder_contents): Removed from the code (hasn't
bene used for ages).
(mail_tool_send_via_transport): Removed, it doesn't save anything.
svn path=/trunk/; revision=7702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-21 Not Zed <NotZed@Ximian.com>
* mail-mt.c (mail_msg_new): Init a cancel field in the message.
(mail_msg_free): Free it.
(mail_msg_cancel): New function to attempt to cancel an
operation by id. Impelementation functions can still be
uncancellable by not registering for cancellation, etc, or do it
themselves as well.
* mail-send-recv.c (fetch_mail_filter_folder): set folder_uid's
properly, so we can save it later.
(filter_folder_filter): Renamed from fetch_mail_filter_folder,
since its going to be used for all filtering.
(mail_fetch_mail): Changed from mail_filter_mail.
(mail_filter_folder): New function, replaces
mail_do_filter_ondemand functionality.
(mail_filter_on_demand): New function, actually replaces
mail_do_filter_ondemand.
(receive_get_folder): Added an exception arg.
(mail_send_message): New function to just send a message.
(send_mail_send): Use mail_send_message.
(send_queue_send): New send qeue code, use mail_send_message, and
clean up some stuff.
(mail_send_receive): Changed from mail_receive.
(build_dialogue): Setup the sending data, as well.
(mail_update_subfolders): New function to update folder info.
(send_mail_send): hook into cancellation if we want.
svn path=/trunk/; revision=7672
|
|
2001-01-19 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c: New swanky send/recieve thingy, well it so far
only receives (pop/mbox). Ignore all the warnings for now, and
the ugly 'button' to run it.
svn path=/trunk/; revision=7636
|