| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* mail-ops.c (do_fetch_mail): Don't get_message_flags, because
POP doesn't support it and it's pointless anyway since we're
setting deleted, not toggling it. call camel_folder_sync with
expunge=TRUE so that the deletions are actually recorded.
svn path=/trunk/; revision=5450
|
|
|
|
|
|
|
| |
* mail-ops.c (do_fetch_mail): Fix the sense of the "keep on
server" check so we're not doing this backwards.
svn path=/trunk/; revision=5447
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix it again.
2000-07-11 Dan Winship <danw@helixcode.com>
* mail-ops.c (real_send_mail): Set the post_send_data flag
rather than toggling it. (Maybe we'll need more control
over it later, but for now, the only flag we set is
"replied", and we want that set, not toggled.)
svn path=/trunk/; revision=5445
|
|
|
|
|
|
|
| |
* mail-ops.c (setup_append_mail): camel_folder_append is perfectly
happy to take a NULL info.
svn path=/trunk/; revision=5429
|
|
|
|
|
|
|
|
|
| |
2000-09-14 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Only use the cache if the user plans
to keep_on_server.
svn path=/trunk/; revision=5422
|
|
|
|
|
|
|
|
|
| |
2000-09-12 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Was trying to unhook an event from
the wrong folder - oops.
svn path=/trunk/; revision=5356
|
|
|
|
| |
svn path=/trunk/; revision=5351
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (run_filter_ondemand): Updated to use the new
mail_do_filter_ondemand.
* mail-ops.c (do_fetch_mail): Update to use the new
filter_driver_run args.
(do_filter_ondemand): Updated to use the new filter_driver_run
args.
(mail_do_filter_ondemand): Take a FilterContext as a argument
instead of a driver as we need to destroy the filter inside the
do_filter_ondemand function and things'd get messy.
svn path=/trunk/; revision=5347
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Don't have the filter driver
self_destruct.
svn path=/trunk/; revision=5345
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): If we're fetching from an mbox
formatted file then we need to do some special-casing.
svn path=/trunk/; revision=5329
|
|
|
|
|
|
| |
fetching mail ;-)
svn path=/trunk/; revision=5291
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Use the CamelUIDCache so that we
only retrieve *new* messages and also send notes to the status bar
telling it which message we're downloading so that Ettore can
sleep at night ;-)
svn path=/trunk/; revision=5290
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Updated to not send hook/unhook data
to filter_driver_run as it no longer takes those args.
(do_filter_ondemand): Same. Also wrap filtering in freeze/thaw to
prevent signals from being queued up
svn path=/trunk/; revision=5288
|
|
|
|
|
|
|
|
|
|
| |
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Freeze the default folder before
filtering and thaw it afterward to prevent a ton of
"folder_changed" signals from being queued.
svn path=/trunk/; revision=5286
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c, mail-config-gui.c, mail-ops.c: Fixed some
warnings.
* message-list.c: Added base ETableModel functions.
svn path=/trunk/; revision=5268
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Updated to pass a CamelMessageInfo
to filter_driver_run
(do_filter_ondemand): Same.
svn path=/trunk/; revision=5252
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_filter_ondemand): Updated to check the boolean
return code from fulter_driver_run to find out whether or not the
message was filtered so that it can decide whether or not to
delete the message from the source folder or not.
svn path=/trunk/; revision=5250
|
|
|
|
| |
svn path=/trunk/; revision=5244
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* mail-ops.c (do_fetch_mail): Fix previous fix. (Free the uids,
just do it correctly.)
svn path=/trunk/; revision=5238
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
| |
svn path=/trunk/; revision=5214
|
|
|
|
| |
svn path=/trunk/; revision=5208
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-03 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser-factory.c: Change the "Get Mail" toolbar button
to become "Send & Receieve"
* mail-callbacks.c (send_queued_mail): New callback function for
sending queued mail
(send_receieve_mail): New callback for Send & Receieve that
basically just calls send_queued_mail and then fetch_mail
* mail-ops.c (cleanup_send_mail): Mod to be able to handle a NULL
composer window
(setup_send_mail): Modified to handle a NULL composer widget
(mail_do_send_queue): New convenience async function to send all
messages in a folder (aka all messages in a queue)
svn path=/trunk/; revision=5184
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (compose_msg): Attach a callback to the
postpone signal
(send_to_url): Same
(mail_reply): Same
(forward_msg): Same
(composer_postpone_cb): Callback function for the postpone signal
* mail-ops.c (mail_do_setup_outbox): New convenience function to
load the Outbox folder
(mail_do_setup_sentbox): Same, but for Sentbox.
(do_send_mail): Now saves messages in Sentbox if sent successfully
(mail_do_append_mail): New convenience async function for
appending messages to a folder
* component-factory.c: Added outbox_folder and sent_folder
(owner_set_cb): Call our new convenience functions to load Outbox
and Sentbox
svn path=/trunk/; revision=5178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (mail_do_setup_outbox): New convenience function to
load the Outbox folder
(mail_do_setup_sentbox): Same, but for Sentbox.
(do_send_mail): Now saves messages in Sentbox if sent successfully
* component-factory.c: Added outbox_folder and sent_folder
(owner_set_cb): Call our new convenience functions to load Outbox
and Sentbox
svn path=/trunk/; revision=5172
|
|
|
|
|
|
|
| |
is decoupled from its path, and updated all the components
accordingly.
svn path=/trunk/; revision=5159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (mail_do_send_mail): Update this and related
functions to no longer take a From address. (The composer deals
with it itself now.)
(do_send_mail): Add the Evolution version back to the X-Mailer
header (this change got lost in the thread migration).
* mail-callbacks.c (composer_send_cb): Don't re-fetch the From
address. It's set by the composer now. Don't free the
post_send_data from here.
(mail_reply): Attach to the composer's destroy signal to free the
psd. (The current code would free it more than once if an error
occurred while trying to send the first time.)
svn path=/trunk/; revision=5102
|
|
|
|
|
|
| |
Code (TM)
svn path=/trunk/; revision=5076
|
|
|
|
| |
svn path=/trunk/; revision=5074
|
|
|
|
|
|
| |
new mail dialog more descriptive.
svn path=/trunk/; revision=5016
|
|
|
|
|
|
| |
the recursive-store-loading. Load stores when they're added to the config page.
svn path=/trunk/; revision=5005
|
|
|
|
| |
svn path=/trunk/; revision=4984
|
|
|
|
| |
svn path=/trunk/; revision=4862
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-16 Richard Hult <rhult@hem.passagen.se>
* mail-ops.c (cleanup_display_message): Use a configurable
timeout.
* mail-config.c (mail_config_set_mark_as_seen_timeout): New
function
for the settable mark-as-seen timeout.
(mail_config_mark_as_seen_timeout): Likewise.
(mail_config_write): Write the timeout setting.
(config_read): Read timeout setting.
* mail-config-gui.c (mail_config): Add option for the settable
mark-as-seen timeout.
(mail_config_apply_clicked): Likewise.
(timeout_changed): New function for the timeout setting.
svn path=/trunk/; revision=4859
|
|
|
|
| |
svn path=/trunk/; revision=4852
|
|
|
|
| |
svn path=/trunk/; revision=4846
|
|
|
|
| |
svn path=/trunk/; revision=4845
|
|
|
|
|
|
| |
the disabled mail functions
svn path=/trunk/; revision=4836
|
|
|
|
|
|
| |
doofus.
svn path=/trunk/; revision=4830
|
|
|
|
|
|
| |
CORBA listener before storing it.
svn path=/trunk/; revision=4804
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-13 Jeffrey Stedfast <fejj@helixcode.com>
* component-factory.c (create_news_storage): Updated to reflect
changes to mail_do_scan_subfolders
(create_imap_storage): Same.
* mail-ops.c (mail_do_scan_subfolders): No longer takes an
add_INBOX argument
svn path=/trunk/; revision=4795
|
|
|
|
|
|
|
| |
* mail-ops.c (do_scan_subfolders): Lose a reference to the store
on purpose. To be fixed later.
svn path=/trunk/; revision=4794
|
|
|
|
|
|
| |
* mail-ops.c (do_send_mail): Don't leak the transport.
svn path=/trunk/; revision=4784
|
|
|
|
| |
svn path=/trunk/; revision=4750
|
|
|
|
| |
svn path=/trunk/; revision=4739
|
|
|
|
|
|
|
| |
* mail-ops.c (describe_fetch_mail): Use camel_service_get_name
rather than showing the URL to the user.
svn path=/trunk/; revision=4737
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-tools.c (mail_tool_get_folder_name): Add a function to
return a useful name for a folder (not just "mbox" or "mh" for
any local folder.)
* mail-ops.c: Use mail_tool_get_folder_name rather than
folder->full_name when printing folder names.
svn path=/trunk/; revision=4733
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* session.c (session_init): Don't call e_setup_base_dir. It was
wrong and it doesn't exist any more.
* component-factory.c (owner_set_cb): Update for changed
prototype, and record the evolution_homedir. Move call to
mail_config_init here from session.c so it happens after
evolution_dir is initialized.
* mail.h: define "extern char *evolution_dir;" (formerly in
e-util/e-setup.h)
* component-factory.c, mail-callbacks.c, mail-config-gui.c,
mail-config.c, mail-display.c, mail-format.c, mail-ops.c,
mail-tools.c, session.c: Remove "e-util/e-setup.h" include.
svn path=/trunk/; revision=4712
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-tools.c (mail_tool_get_folder_from_urlname): Add a
"gboolean create" argument to pass to camel_store_get_folder.
* mail-ops.c (do_create_folder, do_setup_draftbox):
* mail-local.c (mail_tool_local_uri_to_folder):
* mail-vfolder.c (vfolder_uri_to_folder): Add create flag to
mail_tool_get_folder_from_urlname calls.
svn path=/trunk/; revision=4702
|
|
|
|
| |
svn path=/trunk/; revision=4699
|
|
|
|
| |
svn path=/trunk/; revision=4696
|
|
|
|
| |
svn path=/trunk/; revision=4687
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (composer_send_cb): Get the from address set in the
composer, if that fails ONLY THEN get the default from mail config
* mail-config.c (mail_config_get_identities): New convenience
function for getting a list of the configured identities
svn path=/trunk/; revision=4672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-view.c (mail_view_create): Changed to only take a
FolderBrowser argument
* mail-ops.c (real_view_msg): Create a new FolderBrowser for each
message being opened in a new window. Also set the
message_list->cursor_uid and mail_display->current_message to the
appropriate values.
(real_view_msg): Updated to reflect changes in the mail_view_create
* message-list.c (on_right_click): Nicify a little, add in a menu
separator between VFolder and Filter stuff.
* mail-ops.c (real_view_msg): Set the UID of the message that is
being displayed
svn path=/trunk/; revision=4662
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_view_msg): Create a new FolderBrowser for each
message being opened in a new window. Also set the
message_list->cursor_uid and mail_display->current_message to the
appropriate values.
svn path=/trunk/; revision=4660
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* message-list.c (on_right_click): Nicify a little, add in a menu
separator between VFolder and Filter stuff.
svn path=/trunk/; revision=4657
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_view_msg): Set the UID of the message that is
being displayed
svn path=/trunk/; revision=4655
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* mail-display.c, mail-format.c, mail-ops.c: Fixed some warnings.
* message-list.c: Fix the call to e_popup_menu_run to match the
new signature.
svn path=/trunk/; revision=4634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (view_msg): New convenience function with params of a
normal Gtk callback function. We also now create a new
FolderBrowser object so that the message-view window isn't tied to
the display in the main window
(view_message): Now calls view_msg (this function is a bonobo
callback and can't be used with gtk widgets)
(edit_msg): Same idea as view_msg()
(edit_message): Again, same as view_message()
* message-list.c (on_right_click): Callback for creating an
e-popup-menu
(message_list_init): Added a right_click event to trigger a pop-up
menu to be displayed
svn path=/trunk/; revision=4619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-config-gui.c: Add "Don't delete messages from server"
button to remote SOURCEs that aren't STORAGEs (ie, POP).
(provider_list): Only list SOURCEs. (ie, not mh)
* mail-config.c: Save/load "keep_on_server" flag.
* mail-ops.c (fetch_remote_mail): New function, split out of
real_fetch_mail. Deals with copying mail from a remote server into
a temporary mbox, possibly using a CamelUIDCache to leave the
messages on the server.
svn path=/trunk/; revision=4617
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-08 JP Rosevear <jpr@helixcode.com>
* Makefile.am: Fix build by allowing includes for e-table dir
2000-08-08 JP Rosevear <jpr@helixcode.com>
* mail-ops.c (check_configured): Use config accessors
(fetch_mail): ditto
(composer_send_cb): ditto
(create_msg_composer): ditto
* mail-config-gui.h: Update API
* mail-config.h: Update API
* mail-config.c: Add accessor functions
(mail_config_is_configured): accessor function
(mail_config_get_default_identity): ditto
(mail_config_get_default_source): ditto
(mail_config_get_transport): ditto
(mail_config_send_html): ditto
(identity_copy): Make public
(identity_destroy): ditto
(identity_destroy_each): ditto
(service_copy): ditto
(service_destroy): ditto
(service_destroy_each): ditto
(mail_config_init): Rename from init_config and make public
(mail_config_clear): Rename from clear_config and make public
(mail_config_read): Rename from read_config and make public
(mail_config_write): Reanme from write_config and make public
* main.c (main): Call mail_config_init.
* mail.h: Include mail-config-gui.h
* mail-config-gui.c: Move config gui stuff here.
(source_dialog): Kill memory leak from debug leftovers.
Make sure returned source is NULL by default
svn path=/trunk/; revision=4592
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Not Zed <NotZed@HelixCode.com>
* mail-local.c (local_reconfigure_folder): Redone to show a
dialogue first, and show progress of whats happening as its done.
* Makefile.am (glade_DATA): Added local-config.glade, for mailbox
reconfig dialogue.
2000-08-04 Not Zed <NotZed@HelixCode.com>
* folder-browser.c (mail_uri_to_folder): Use local_uri_to_folder()
for local uri's (file://).
* mail-local.c (local_uri_to_folder): Handle looking up folder
storage type before opening the store/folder.
(local_reconfigure_folder): Function to reconfigure the format of
a local mailbox into another storage format.
* Makefile.am (evolution_mail_SOURCES): Added mail-local.c and
missing mail-vfolder.h.
svn path=/trunk/; revision=4591
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am: Added mail-view.c
* folder-browser-factory.c (control_activate): Adda menu item for
viewing the message
* mail-view.c: New file containing methods for viewing messages in
separate windows
* mail-ops.c (view_message): New callback for viewing messages in
a new window.
svn path=/trunk/; revision=4588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (write_headers): Get rid of kludge around subject
beginning with spaces.
(mail_generate_reply): Get rid of kludge around subject beginning
with spaces and also use g_strncasecmp instead of strncasecmp for
portability
* mail-ops.c (forward_msg): Get rid of kludges around subject
beginning with spaces.
svn path=/trunk/; revision=4572
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (message_list_select): Clarify that the input row
is a model row, and swap it to a view row when finding the
next/previous row.
(idle_select_row): Select view row 0, not model row 0.
* mail-ops.c (select_first_unread): Start from view row 0, not
model row 0.
svn path=/trunk/; revision=4570
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (mail_get_message_body): Renamed from reply_body()
so other functions can use it
(mail_generate_reply): Updated to reflect function name changes
* mail-ops.c (real_edit_msg): Attach a callback to the send signal
svn path=/trunk/; revision=4564
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser-factory.c (control_activate): New menu item under
Actions to allow editing of messages.
* mail-ops.c (edit_message): New function for editing messages.
svn path=/trunk/; revision=4563
|
|
|
|
| |
svn path=/trunk/; revision=4528
|
|
|
|
|
|
|
|
| |
2000-08-03 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (composer_send_cb): Yay, no more compiler warnings
svn path=/trunk/; revision=4521
|
|
|
|
| |
svn path=/trunk/; revision=4505
|
|
|
|
|
|
|
|
|
| |
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* mail-ops.c, message-list.c: Emit "model_pre_change" where
appropriate.
svn path=/trunk/; revision=4475
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-29 Not Zed <NotZed@HelixCode.com>
* component-factory.c (create_view): Remove hack to pass the
storage around.
* folder-browser-factory.c (control_activate): Changed to call
renamed vfolder editor.
* mail-ops.c (vfolder_edit_vfolders): renamed from vfolder_edit,
call new edit function.
(vfolder_editor_clicked): Removed.
(filter_druid_clicked):
(filter_edit): Updated for api change.
(real_fetch_mail): Fixed up for api change and fucked up indent.
(filter_get_folder): callback for filter driver.
* mail-vfolder.c: New file to manage virtual folders.
svn path=/trunk/; revision=4417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-28 JP Rosevear <jpr@arcavia.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
function to create composer with sig file set.
(e_msg_composer_get_sig_file): New function to get sig file
(e_msg_composer_set_sig_file): New function to set sig file
2000-07-29 JP Rosevear <jpr@arcavia.com>
* mail-format.c (mail_generate_reply): Use new mail config stuff
* component-factory.c (create_imap_storage): Use new mail config
stuff
(create_news_storage): ditto
* evolution-mail.schemas: Gconf schema for evolution mail
* mail-config-druid.glade: Gladification of config druid
* mail-config.h: New header with config structs.
* mail-config.c: Rewrite of GUI configuration tools to use
new config structs. Stores multiple identities and sources now.
Still only uses the first one found.
(mail_config_fetch): Returns MailConfig struct to caller
for configuration queries.
(mail_config): Renamed function to show mail config dialog.
(mail_config_druid): Renamed function to show mail config druid.
* mail-ops.c (create_msg_composer): Use
e_msg_composer_new_with_sig_file and new config stuff
(check_configured): Use new config stuff
(fetch_mail): ditto
(composer_send_cb): ditto
svn path=/trunk/; revision=4413
|
|
|
|
|
|
|
|
|
|
| |
2000-07-28 Cody Russell <bratsche@gnome.org>
* mail-ops.c, mail.h: Added mark_all_seen(), to mark every
message in the list with CAMEL_MESSAGE_SEEN.
* folder-browser-factory.c: Added "Actions/Mark all seen".
svn path=/trunk/; revision=4412
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (real_fetch_mail): Don't create the tmp_mbox before
calling movemail, because the external movemail requires it to not
exist. Contrariwise, delete it in the cleanup code if it's empty.
Update for camel_movemail interface change. Do the "No new
messages" dialog in the mbox case as well as the remote mail
issue.
svn path=/trunk/; revision=4356
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-26 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c: s/struct refile_data/struct move_data
(real_move_msg): Renamed from real_refile_msg()
(move_msg): Renamed from refile_msg()
* folder-browser-factory.c: Changed Refile to Move.
svn path=/trunk/; revision=4347
|
|
|
|
| |
svn path=/trunk/; revision=4319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (mark_msg_seen, ml_tree_set_value_at,
message_list_regenerate): Update for CamelFolder API changes.
(Certain functions no longer take a CamelException.)
* mail-ops.c (real_fetch_mail, real_send_mail, real_delete_msg):
ditto
* component-factory.c (real_create_imap_storage,
real_create_news_storage): ditto
svn path=/trunk/; revision=4305
|
|
|
|
| |
svn path=/trunk/; revision=4284
|
|
|
|
|
|
| |
"Developer Preview".
svn path=/trunk/; revision=4179
|
|
|
|
|
|
|
|
|
| |
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 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-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Changed to use
camel_folder_move_message_to () rather than get_message () and then
append_message (). This also makes it so we don't have to worry about
fetching message flags to pass to the new append_message () method.
* folder-browser.c (folder_browser_load_folder): Disable
Search capability menu/entry if folder doesn't support it.
* message-list.c (message_list_regenerate): Don't perform
a search if the folder doesn't support it.
svn path=/trunk/; revision=4098
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (real_send_mail): Set the post_send_data flag rather
than toggling it. (Maybe we'll need more control over it later,
but for now, the only flag we set is "replied", and we want
that set, not toggled.)
svn path=/trunk/; revision=4096
|
|
|
|
|
|
| |
* kill more debugging messages
svn path=/trunk/; revision=4050
|
|
|
|
|
|
| |
* mail-ops.c (real_fetch_mail): Don't multiply free dest_url.
svn path=/trunk/; revision=4049
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (message_list_select): Update
message_list_select_next to do either next or previous.
* folder-browser.c (etable_key): Make 'n' and 'p' do next and
previous unread message.
* mail-ops.c (select_first_unread): Update.
(real_fetch_mail): clean up a bit.
svn path=/trunk/; revision=4046
|
|
|
|
| |
svn path=/trunk/; revision=4045
|
|
|
|
|
|
|
|
| |
2000-07-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Fixed broken POP fetching
svn path=/trunk/; revision=4042
|
|
|
|
|
|
|
|
|
| |
2000-07-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Fixed movemail so that it too would
deliver to Inbox.
svn path=/trunk/; revision=4029
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (get_message_info): Don't g_warn if the user
selects a fake tree parent.
(message_list_select_next): Ignore fake rows
(build_tree): Store the "root_subject" for fake rows
(ml_tree_value_at): Display the correct subject for fake rows.
(on_cursor_change_cmd): Update for the other changes and set
cursor_uid to NULL when the cursor is on a fake row.
* mail-ops.c (reply): Don't try to reply when no (real) message is
selected.
(forward_msg): Ditto.
svn path=/trunk/; revision=4021
|
|
|
|
|
|
|
|
|
| |
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Always dump incoming messages to
Inbox (assuming not filtered to another location).
svn path=/trunk/; revision=3996
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (forward_msg): Deal with having multiple selected
messages.
* mail-format.c (mail_generate_forward): Removed. (Integrated into
forward_msg)
svn path=/trunk/; revision=3982
|
|
|
|
|
|
|
| |
* folder-browser-factory.c, folder-browser.c, mail-ops.c,
message-list.c: fix warnings.
svn path=/trunk/; revision=3931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (message_list_select_next): New function to
select the first message on or after the given row that meets
certain flag criteria.
* folder-browser.c (etable_key): call message_list_select_next to
select next non-deleted message after Delete.
* mail-ops.c (real_fetch_mail): call message_list_select_next to
select first unread message in current folder if it changes.
(real_delete_msg): Remove the code to move the etable cursor. It
only makes sense really if you deleted the message with the
keyboard, so do it from there.
svn path=/trunk/; revision=3927
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-thread.c (sort_thread): sort messages based on date for
the initial sort order.
(thread_messages_free): Implement.
(message_list_init): set the root node invisible afterall.
(message_list_set_search): Clear the old tree before putting in a
new one.
svn path=/trunk/; revision=3922
|
|
|
|
|
|
|
|
| |
* mail-ops.c (real_fetch_mail): Remove hack to redisplay the
inbox, since folder_changed signals will now be emitted
appropriately.
svn path=/trunk/; revision=3866
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (real_fetch_mail):
(vfolder_editor_clicked):
* component-factory.c (create_vfolder_storage):
Pass mail_uri_to_folder and rules to filter_driver_new.
svn path=/trunk/; revision=3860
|
|
|
|
|
|
| |
selection dialog, and update the code that uses it accordingly.
svn path=/trunk/; revision=3854
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-01 Jeffrey Stedfast <fejj@helixcode.com>
* message-list.c (get_message_info):
(select_msg): Updated to reflect camel-folder changes.
* mail-ops.c (real_fetch_mail): Modified to reflect camel-folder
changes.
svn path=/trunk/; revision=3844
|
|
|
|
|
|
|
|
| |
* mail-ops.c (print_msg): Use gnome-print to do a print preview.
* folder-browser-factory.c: Hook up "Print" button.
svn path=/trunk/; revision=3835
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (message_list_foreach): New function, a wrapper
around e_table_selected_row_foreach, which calls the callback
function with UIDs rather than row numbers.
* folder-browser-factory.c: Remove never-used "Find" button from
the toolbar and replace it with "Refile". (We need a better icon
for this...). Hook up "Refile" to "refile_msg".
* mail-ops.c (refile_msg): Call the shell's user_select_folder
routine, and then use message_list_foreach and real_refile_msg to
do the work.
(delete_msg): Update to use message_list_foreach.
* folder-browser.c (mail_uri_to_folder): new function, extracted
from folder_browser_load_folder, to turn a URI into a folder.
(folder_browser_load_folder): Use it.
svn path=/trunk/; revision=3833
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (on_row_selection): use the ETable row_selection
signal to track how many rows are selected. Eventually we will use
this info to disable toolbar buttons when you have too few/too
many messages selected, but the current toolbar widget doesn't
allow that.
* message-list.h, message-list.c, mail-ops.c: Change selected_row
and selected_uid fields of MessageList to cursor_row and
cursor_uid to be more correct according to the new ETable
interfaces.
svn path=/trunk/; revision=3829
|
|
|
|
| |
svn path=/trunk/; revision=3813
|
|
|
|
|
|
|
|
|
| |
2000-06-29 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (delete_msg): Clean up compile warnings
(real_fetch_mail): Fetching from IMAP should do nothing
svn path=/trunk/; revision=3811
|
|
|
|
|
|
|
|
| |
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* mail-ops.c: Handle multiple deletes (change by Peter Williams.)
svn path=/trunk/; revision=3809
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-29 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser-factory.c: Changed "Send" to "Compose" to
avoid user confusion. Compose is a little more intuitive.
* mail-ops.c (compose_msg): Renamed to avoid confusion
svn path=/trunk/; revision=3805
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* message-list.c, mail-ops.c: Changed the name of
e_table_select_row to e_table_set_cursor_row.
From widgets/e-table:
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c: Made this appear a bit better.
* e-table-defines.h: Cleaned this up a bit, added
ETableForeachFunc.
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
e-table.c, e-table.h: Changed e_table_select_row to
e_table_set_cursor_row. Changed e_table_get_selected_view_row to
e_table_get_cursor_row. Added e_table_selected_row_foreach.
* e-table-header-item.c: Fixed some warnings.
* e-table-sorted-variable.c: Removed some unneeded debugging print
statments.
* e-tree-example-1.c: Changed e_table_get_selected_view_row to
e_table_get_cursor_row.
svn path=/trunk/; revision=3799
|
|
|
|
| |
svn path=/trunk/; revision=3740
|
|
|
|
|
|
| |
init_imap, and init_news to async operation.
svn path=/trunk/; revision=3711
|
|
|
|
|
|
| |
probably didn't actually intend to commit it yet...
svn path=/trunk/; revision=3699
|
|
|
|
|
|
|
|
|
|
| |
2000-06-22 Chris Toshok <toshok@helixcode.com>
* mail-ops.c (fetch_mail_cleanup): new function, passed as arg to
mail_operation_try.
(fetch_mail): add cleanup func arg.
svn path=/trunk/; revision=3698
|
|
|
|
| |
svn path=/trunk/; revision=3689
|
|
|
|
|
|
| |
message without a subject.
svn path=/trunk/; revision=3644
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (get_message_row): new function to do a uid to
row mapping.
(mark_msg_seen, select_msg, message_changed,
message_list_set_folder): Update for Camel flag changes.
(on_cursor_change_cmd): Rename "row_to_select" to "selected_row",
and keep a "selected_uid" as well.
* mail-ops.c (composer_send_cb): Update for Camel flag changes,
and fix some memory-handling bugs. (Free the post_send_data when
the composer is destroyed, not when the user clicks "send", which
could happen never, or more than once.)
(delete_msg): Update for Camel flag changes, and fix the "holding
down the delete key skips some messages" bug.
svn path=/trunk/; revision=3600
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail):
* component-factory.c (owner_unset_cb):
* message-list.c (message_list_set_folder): Update for CamelFolder
changes.
svn path=/trunk/; revision=3583
|
|
|
|
|
|
|
|
|
| |
* folder-browser.c (folder_browser_clear_search): New function to
revert back to non-searching mode.
* mail-ops.c (fetch_mail): Use folder_browser_clear_search.
svn path=/trunk/; revision=3576
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (on_url_requested): if the document requests an
unknown URL, it's not an error; just ignore the URL.
* mail-ops.c (fetch_mail): If there's no new mail, tell the user.
svn path=/trunk/; revision=3574
|
|
|
|
|
|
|
| |
* mail-ops.c (expunge_folder): display error from
camel_folder_expunge if there is one.
svn path=/trunk/; revision=3500
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail): close and expunge the source folder
after copying it to a local folder.
svn path=/trunk/; revision=3493
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail):
* folder-browser.c (folder_browser_load_folder): Update for folder
creation/existence changes.
* message-list.c (message_list_set_folder): Remove the code to
create the folder if it doesn't exist, since we don't want to do
that.
svn path=/trunk/; revision=3455
|
|
|
|
|
|
|
| |
* mail-ops.c (composer_send_cb): Leave the composer window around
if the message doesn't get sent.
svn path=/trunk/; revision=3436
|
|
|
|
|
|
| |
* mail.h, mail-ops.c: fix some function prototypes
svn path=/trunk/; revision=3433
|
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail): Use camel_service_connect, not
connect_with_url, since we already passed the URL into
camel_session_get_store.
svn path=/trunk/; revision=3392
|
|
|
|
|
|
|
| |
* mail-ops.c (delete_msg): Add a quick hack to move the selection
down a row when you delete a message.
svn path=/trunk/; revision=3355
|
|
|
|
| |
svn path=/trunk/; revision=3287
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail): don't put up an error message if the
user cancels the password dialog.
svn path=/trunk/; revision=3245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after a restart), but they always come up empty - doesn't search any
folders yet.
2000-05-27 Not Zed <NotZed@HelixCode.com>
* Makefile.am (SHELL_OBJS): Include mail storage so we can
initialise folders.
* component-factory.c (create_test_storage): Parses vfolder
defintions and adds them to the storage. Definetly needs more
work.
* folder-browser-factory.c (control_activate): Add the VFolder
druid menu item.
(control_deactivate): And remove it.
* mail-ops.c (vfolder_editor_clicked): For editing vfolder
definitions (rather like filters, oddly enough :). Tries to
update the shell but it doesn't seem to work properly - requires a
mail component restart to take effect.
* folder-browser.c (folder_browser_load_folder): Handle vfolder:
urls' appropriately and map to camel. Still needs a way to tell
the vfolder what folders to search! (all vfolders come up empty!).
svn path=/trunk/; revision=3241
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (composer_send_cb, reply): set CAMEL_MESSAGE_ANSWERED
on a message after a successful reply.
* message-list.c (folder_changed): free the summary with
camel_folder_free_summary rather than g_ptr_array_free.
svn path=/trunk/; revision=3221
|
|
|
|
|
|
|
| |
* mail-ops.c (composer_send_cb): connect to and disconnect from
the transport.
svn path=/trunk/; revision=3197
|
|
|
|
|
|
|
|
|
|
| |
* message-list.c (select_msg): Update for camel_folder_get_uids
(folder_changed, message_list_set_folder): Update for
camel_folder_get_summary
* mail-ops.c (fetch_mail): Update for camel_folder_get_uids
svn path=/trunk/; revision=3128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default is just to copy to the inbox.
I wouldn't trust this code as far as i could piss up
a wall, just yet.
2000-05-16 NotZed <NotZed@HelixCode.com>
* mail-ops.c
(fetch_mail): Apply filters to incoming mail ... *hold breath*
If we are coming from a non-indexed/searchable/etc source, then
copy it to an mbox first. When copying mail from an mbox source,
dont remove it aftewards, open it for append, so partially
filtered mail isn't lost.
svn path=/trunk/; revision=3102
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get invoked yet though.
2000-05-16 NotZed <NotZed@HelixCode.com>
* mail-ops.c (filter_edit): Function to bring up the filter editor.
(filter_druid_clicked): Save/close dialogue.
* Makefile.am (evolution_mail_LDADD): Added libfilter.
(INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm)
for putting spaces instead of tabs in.
svn path=/trunk/; revision=3099
|
|
|
|
|
|
|
|
|
|
| |
2000-05-12 NotZed <NotZed@HelixCode.com>
* mail-ops.c (fetch_mail): Use 6 X's to mkstemp, as required by
the man page, just a temp fix, this should probably change to a
known filename.
svn path=/trunk/; revision=3007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser.c (folder_browser_load_folder): make this a
little less kludgy. Use gnome_error_dialog rather than printf on
errors.
* mail-ops.c (fetch_mail): Fix to work with the new shell stuff...
sorta. Will need more fixing later when the new shell framework is
more done.
* mail-config.c (finish): Call gnome_config_sync so the data
actually gets written.
svn path=/trunk/; revision=2931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser-factory.c (folder_browser_factory): Don't
hardcode "inbox" here.
* folder-browser.c (folder_browser_set_uri): Don't hardcode
"inbox" here either.
(folder_browser_load_folder): Create a new store according to the
folder browser's URI, and load the mbox file from that store.
Parts of this are temporary.
* session.c, mail.h: There is no longer a global store, just a
global session.
* mail-config.c, mail-ops.c: Update for default_session -> session
change. fetch_mail is currently broken.
svn path=/trunk/; revision=2853
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-config.c: New code to configure identity, mail source, and
mail transport.
(mail_config_druid): A druid using the config widgets. (Only
allows configuration of a single identity, source, and transport.)
* mail-ops.c (check_configured): New function to make sure the
user has configured stuff, and call the druid if not.
(fetch_mail, send_msg, send_to_url, reply, forward_msg): Call
check_configured
(composer_send_cb): Make this pass the message to a CamelTransport
rather than just printing it to stdout.
* folder-browser-factory.c (development_warning): Add a warning
about sending mail, since you can do that now.
svn path=/trunk/; revision=2842
|
|
|
|
|
|
|
|
| |
* mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h,
main.h and session.h into this new file. There's no reason to have
a .h for every .c.
svn path=/trunk/; revision=2830
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(gui wise), but it works, after a fashion.
> * folder-browser-factory.c: Setup callback for actual delete op.
> (control_activate): Setup a tool menu item to expnge deleted
> messages.
>
> * mail-ops.c (delete_msg): Toggle the delete flag on a message.
> (expunge_folder): New function to expunge deleted messages from
> the current folder.
svn path=/trunk/; revision=2744
|
|
|
|
|
|
|
|
|
| |
* session.c (session_providers_init): This is no longer necessary.
* mail-ops.c (fetch_mail): Remove kludge to load remote provider,
as camel can do it by itself now.
svn path=/trunk/; revision=2692
|
|
|
|
|
|
| |
escape into the real world. :)
svn path=/trunk/; revision=2665
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c: Move text_to_html to e-util.
* mail-ops.c (send_to_url): New routine. Thin wrapper for
e_msg_composer_new_from_url.
* mail-display.c (on_link_clicked): print a warning for news or
nntp URLs (which we'll deal with some day), and call send_to_url
for mailto URLs.
svn path=/trunk/; revision=2664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser-factory.c: rename "send" to "send_msg", to avoid
name clash with the tcp function. Connect the "forward" button.
* mail-ops.c: rename "send" to "send_msg", to avoid name clash
with the tcp function. Add forward_msg function.
* mail-format.c (mail_generate_forward): support function for
forward_msg. Pretty much a big kludge right now, pending the
attachment/attachment-bar changes.
svn path=/trunk/; revision=2562
|
|
|
|
| |
svn path=/trunk/; revision=2555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser-factory.c: move msg_composer_cb and
msg_composer_send_cb to mail-ops. Attach send, reply, and "reply
to all" buttons.
* mail-ops.c (composer_send_cb, send): moved from
folder-browser-factory.c.
(reply_to_sender, reply_to_all): new functions to do replies.
* mail-format.c (text_to_html): Add an "add_pre" flag, to make
it wrap the output in <pre></pre>.
(mail_generate_reply): New function to create a composer and build
a reply in it.
svn path=/trunk/; revision=2554
|
|
|
|
|
|
| |
* mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case
svn path=/trunk/; revision=2361
|
|
|
|
|
|
|
|
|
|
| |
* mail-ops.c (fetch_mail): use camel_movemail when fetching mail
from an mbox store. This leaves behind temp files for now,
because CamelMboxFolder::delete is too confused to use, and NotZed
is rewriting CamelMboxFolder, so I'm not going to bother to try to
fix it.
svn path=/trunk/; revision=2359
|
|
* mail-ops.c: new file, for toolbar/menu callbacks
(fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges.
* folder-browser-factory.c (control_activate): use new fetch_mail
function as the callback for the "New mail" icon. Rename check_cb
to random_cb.
* Makefile.am: don't build test-sources since the version in
CVS doesn't do much and once I've fixed it it won't be a separate
program. Add mail-ops.[ch].
svn path=/trunk/; revision=2330
|