aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* folder-browser.c: Improved the code to separate the imap namespace from the ↵Jeffrey Stedfast2000-06-242-3/+9
| | | | | | folder path svn path=/trunk/; revision=3713
* Land most of the stuff to move fetch_mail, send_mail, expunge_folder, ↵Peter Williams2000-06-246-101/+415
| | | | | | init_imap, and init_news to async operation. svn path=/trunk/; revision=3711
* Little prototype fixesPeter Williams2000-06-232-5/+7
| | | | svn path=/trunk/; revision=3708
* Now should correctly get the selected folder from the given URL.Jeffrey Stedfast2000-06-232-2/+8
| | | | | | | | | 2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Now should correctly get the selected folder from the given URL. svn path=/trunk/; revision=3704
* add handling for loading "news:" folders.Chris Toshok2000-06-233-0/+98
| | | | | | | | | | | | | 2000-06-22 Chris Toshok <toshok@helixcode.com> * folder-browser.c (folder_browser_load_folder): add handling for loading "news:" folders. * component-factory.c (create_news_storage): add a root for news source. (owner_set_cb): call create_news_storage. svn path=/trunk/; revision=3703
* Updated to prepend url-> path if it exists for that imap store.Jeffrey Stedfast2000-06-233-11/+29
| | | | | | | | | | | | 2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Updated to prepend url-> path if it exists for that imap store. * component-factory.c (create_imap_storage): Modified to not prepend a hard-coded namespace. svn path=/trunk/; revision=3701
* Revert Peter's change and Chris's fix to it, since it looks like PeterDan Winship2000-06-231-62/+23
| | | | | | probably didn't actually intend to commit it yet... svn path=/trunk/; revision=3699
* new function, passed as arg to mail_operation_try. (fetch_mail): addChris Toshok2000-06-232-1/+13
| | | | | | | | | | 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
* Changed ml_value_at to return "" instead of NULL in some cases.Christopher James Lahey2000-06-232-4/+29
| | | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed ml_value_at to return "" instead of NULL in some cases. svn path=/trunk/; revision=3697
* Add libs so that we link right with gthreadsPeter Williams2000-06-232-0/+4
| | | | svn path=/trunk/; revision=3695
* Make the async dialogs non-modal; add cleanup callbacks in the main thread.Peter Williams2000-06-234-53/+119
| | | | svn path=/trunk/; revision=3694
* Add nice blocking stuff for the error dialog and a new get_password hook in ↵Peter Williams2000-06-234-41/+241
| | | | | | the async toolkit svn path=/trunk/; revision=3692
* Prettify the progress dialog a bit.Peter Williams2000-06-223-48/+120
| | | | svn path=/trunk/; revision=3689
* Removed an erroneous comment.Christopher James Lahey2000-06-222-5/+4
| | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Removed an erroneous comment. svn path=/trunk/; revision=3687
* Make this not crash if you don't have a transport configured.Dan Winship2000-06-222-1/+4
| | | | | | | * mail-config.c (create_transport_page): Make this not crash if you don't have a transport configured. svn path=/trunk/; revision=3686
* Update received date to work like sent date.Dan Winship2000-06-223-27/+32
| | | | | | * message-list.c: Update received date to work like sent date. svn path=/trunk/; revision=3678
* Add the async mail API (still not hooked up though)Peter Williams2000-06-226-2/+750
| | | | svn path=/trunk/; revision=3676
* Get evolution-dir the right way in e-setup.hPeter Williams2000-06-222-2/+6
| | | | svn path=/trunk/; revision=3675
* oops, should have checked for a NULL sources in component-factory.cJeffrey Stedfast2000-06-213-3/+9
| | | | | | (create_imap_storage) svn path=/trunk/; revision=3657
* Quick hack to prevent a NULL pointer dereference. Things need to beDan Winship2000-06-212-0/+7
| | | | | | | | * message-list.c (mark_msg_seen): Quick hack to prevent a NULL pointer dereference. Things need to be cleaned up a bit more here though. svn path=/trunk/; revision=3653
* Oops. This should have been removed a long time ago.Dan Winship2000-06-212-771/+5
| | | | | | | * mail-sources.c: Oops. This should have been removed a long time ago. svn path=/trunk/; revision=3650
* Only fetch the summary if the folder summary doesn't already exist. WhenJeffrey Stedfast2000-06-212-2/+8
| | | | | | | | | | | | | | | | | | | | | 2000-06-20 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_get_summary): Only fetch the summary if the folder summary doesn't already exist. When the summary *does* exist, start fetching from 1, not 0. (imap_free_summary): Don't do anything here. (imap_finalize): Free the summary here instead of in imap_free_summary(). * camel-url.c (check_equal): No need to check s1 if s2 is NULL (camel_url_equal): Don't check the passwd component of the url. and in mail/component-factory.c (create_imap_storage): removal of debug statements mail/folder-browser.c (folder_browser_load_folder): improved imap service parser svn path=/trunk/; revision=3649
* working on getting IMAP folder selection workingJeffrey Stedfast2000-06-213-16/+29
| | | | svn path=/trunk/; revision=3648
* Add missing declaration of `evolution_dir' to get it to compile.Ettore Perazzoli2000-06-212-0/+6
| | | | svn path=/trunk/; revision=3645
* Add a confirmation dialog box for when the user tries to send aEttore Perazzoli2000-06-202-0/+35
| | | | | | message without a subject. svn path=/trunk/; revision=3644
* basically got IMAP into the tree viewJeffrey Stedfast2000-06-203-15/+85
| | | | svn path=/trunk/; revision=3643
* add an option to prefer text/plain. (reply_body): add an option to preferDan Winship2000-06-202-13/+29
| | | | | | | | | | | * mail-format.c (find_preferred_alternative): add an option to prefer text/plain. (reply_body): add an option to prefer text/plain (mail_generate_reply): Check the mail sending preferences, and generate a text/plain reply if the user prefers to send plain text (and we have a text/plain part to generate a reply from). svn path=/trunk/; revision=3641
* Should now correctly display the Transport page (made it set theJeffrey Stedfast2000-06-192-13/+35
| | | | | | | | | | | | | | 2000-06-19 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (providers_config_new): Should now correctly display the Transport page (made it set the optionmenu correctly, before it would only set SMTP). (create_transport_page): Updated to set the page info to sendmail/smtp based on the url. (create_service_page): Had to add some code to set data on some objects so I could grab the objects I needed to modify in the above function. svn path=/trunk/; revision=3629
* started to add code to load an IMAP folder.Jeffrey Stedfast2000-06-193-18/+62
| | | | | | | | | | | | | | | | 2000-06-18 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): started to add code to load an IMAP folder. * component-factory.c: Started to add a create_imap_storage method so that we can eventually have our IMAP store displayed in the tree view. (create_vfolder_storage): Renamed from create_test_storage(). (owner_set_cb): Updated. svn path=/trunk/; revision=3627
* Prevent double-freeing action on summary_table and uid_rowmap.Dan Winship2000-06-182-5/+5
| | | | | | | * message-list.c (message_list_set_folder): Prevent double-freeing action on summary_table and uid_rowmap. svn path=/trunk/; revision=3615
* Implement clicking on the envelope icon to set read/unread. Based on aDan Winship2000-06-173-12/+43
| | | | | | | | | | * message-list.c (ml_set_value_at): Implement clicking on the envelope icon to set read/unread. Based on a patch by clahey. (select_msg): keep the timeout id for the "seen" flagging in the message_list structure, so ml_set_value_at can clear it so it doesn't re-mark a message seen after you click it unseen. svn path=/trunk/; revision=3601
* new function to do a uid to row mapping. (mark_msg_seen, select_msg,Dan Winship2000-06-174-60/+150
| | | | | | | | | | | | | | | | | | * 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
* Update for CamelFolder changes.Dan Winship2000-06-164-20/+10
| | | | | | | | | * 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
* New function to revert back to non-searching mode.Dan Winship2000-06-164-0/+16
| | | | | | | | | * 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
* if the document requests an unknown URL, it's not an error; just ignoreDan Winship2000-06-153-1/+17
| | | | | | | | | * 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
* call gtkhtmllib_init hereRadek Doulik2000-06-142-0/+5
| | | | | | | | 2000-06-14 Radek Doulik <rodo@helixcode.com> * main.c (main): call gtkhtmllib_init here svn path=/trunk/; revision=3567
* fixed it so that source always pointed to a valueJeffrey Stedfast2000-06-142-0/+7
| | | | svn path=/trunk/; revision=3554
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-132-16/+14
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Got rid of sources_max_row and identities_max_row as they are not reallyJeffrey Stedfast2000-06-132-19/+22
| | | | | | | | | | | | | 2000-06-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c: Got rid of sources_max_row and identities_max_row as they are not really needed (just use clist->rows) (on_cmdSourcesEdit_clicked): Modified to make 'source' point to the data being edited. (on_cmdSourcesAdd_clicked): Adds a new clist item and selects it so the editor knows where to stick the data when it's done. svn path=/trunk/; revision=3545
* Removed the ETableModel thaw handler.Federico Mena Quintero2000-06-132-7/+5
| | | | | | | | 2000-06-12 Federico Mena Quintero <federico@helixcode.com> * message-list.c: Removed the ETableModel thaw handler. svn path=/trunk/; revision=3542
* Return the result of folder_browser_load_folder. (get_prop, set_prop,Dan Winship2000-06-137-117/+31
| | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_set_uri): Return the result of folder_browser_load_folder. (get_prop, set_prop, folder_browser_properties_init): Remove. No longer needed. * folder-browser-factory.c (folder_browser_factory_new_control): Add a "uri" argument, return NULL if setting it fails. (folder_browser_factory_new_control): Remove property bag stuff. (folder_browser_factory_init, folder_browser_factory): Remove this, since we're using the component factory now. * component-factory.c (create_view): Update for folder_browser_factory_new_control change and return NOTFOUND as appropriate. * main.c (main): Don't call folder_browser_factory_init. svn path=/trunk/; revision=3532
* Fix the subject generation so we don't get "Re: Re:". This is workingDan Winship2000-06-132-4/+15
| | | | | | | | * mail-format.c (mail_generate_reply): Fix the subject generation so we don't get "Re: Re:". This is working around something that may later be declared a misfeature in Camel. svn path=/trunk/; revision=3531
* Implemented folder creation dialog (File -> New -> Folder). To makeEttore Perazzoli2000-06-112-1/+32
| | | | | | | | it really work though, the components should implement creation functionality by passing an appropriate function pointer in `e_shell_component_new()' for @create_folder_fn. svn path=/trunk/; revision=3504
* Add a serial number to FolderBrowser.Dan Winship2000-06-104-9/+30
| | | | | | | | | | | | * folder-browser.c (folder_browser_new): Add a serial number to FolderBrowser. * folder-browser-factory.c (control_activate, control_deactivate): Include fb serial number in the name of the Bonobo toolbar to prevent problems with disappearing toolbars. This is a kludge and should go away. svn path=/trunk/; revision=3501
* display error from camel_folder_expunge if there is one.Dan Winship2000-06-102-3/+3
| | | | | | | * mail-ops.c (expunge_folder): display error from camel_folder_expunge if there is one. svn path=/trunk/; revision=3500
* install an idle function to select the row rather than doing it directly.Dan Winship2000-06-102-8/+17
| | | | | | | | * message-list.c (select_row): install an idle function to select the row rather than doing it directly. Ugh. What a kludge, but at least it works now. svn path=/trunk/; revision=3498
* Update for CamelAuthCallback changes. (Uncache passwords when asked to.)Dan Winship2000-06-102-19/+38
| | | | | | | * session.c (evolution_auth_callback): Update for CamelAuthCallback changes. (Uncache passwords when asked to.) svn path=/trunk/; revision=3497
* close and expunge the source folder after copying it to a local folder.Dan Winship2000-06-102-0/+8
| | | | | | | * mail-ops.c (fetch_mail): close and expunge the source folder after copying it to a local folder. svn path=/trunk/; revision=3493
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-102-3/+18
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Redo things a bit so that whitespace-only text parts aren't displayed. (InDan Winship2000-06-102-112/+143
| | | | | | | | | * mail-format.c: Redo things a bit so that whitespace-only text parts aren't displayed. (In particular, so that whitespace-only subparts of multipart/mixed aren't displayed as separate (empty) parts.) svn path=/trunk/; revision=3488
* Update for folder creation/existence changes.Dan Winship2000-06-074-51/+17
| | | | | | | | | | | | * 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
* Leave the composer window around if the message doesn't get sent.Dan Winship2000-06-062-6/+14
| | | | | | | * mail-ops.c (composer_send_cb): Leave the composer window around if the message doesn't get sent. svn path=/trunk/; revision=3436
* Allow "GDK_KP_Delete", a keypad delete key, to delete a message.Matthew Loper2000-06-062-1/+7
| | | | | | | * folder-browser.c (etable_key): Allow "GDK_KP_Delete", a keypad delete key, to delete a message. svn path=/trunk/; revision=3435
* Remember passwords between calls. (forget_passwords): Callback for "ForgetDan Winship2000-06-064-2/+51
| | | | | | | | | | | * session.c (evolution_auth_callback): Remember passwords between calls. (forget_passwords): Callback for "Forget Passwords" menu item. * folder-browser-factory.c (control_activate): (control_deactivate): Add "Forget Passwords" menu item. svn path=/trunk/; revision=3434
* fix some function prototypesDan Winship2000-06-063-8/+14
| | | | | | * mail.h, mail-ops.c: fix some function prototypes svn path=/trunk/; revision=3433
* Add "Delete" = delete message.Dan Winship2000-06-062-0/+5
| | | | | | * folder-browser.c (etable_key): Add "Delete" = delete message. svn path=/trunk/; revision=3432
* Update for new composer attachment interface.Dan Winship2000-06-062-35/+15
| | | | | | | * mail-format.c (mail_generate_forward): Update for new composer attachment interface. svn path=/trunk/; revision=3431
* added new notebook page to the prividers config dialog for slecting ↵Jeffrey Stedfast2000-06-032-0/+71
| | | | | | text/plain or multipart/alternative svn path=/trunk/; revision=3403
* If the date in the summary is 0, output "?".Dan Winship2000-06-032-0/+6
| | | | | | | * message-list.c (filter_date): If the date in the summary is 0, output "?". svn path=/trunk/; revision=3400
* keep a GList of folder browsers created (owner_unset_cb): Go through theDan Winship2000-06-032-0/+22
| | | | | | | | | * component-factory.c (create_view): keep a GList of folder browsers created (owner_unset_cb): Go through the list and close each folder before exiting so they sync their summary state, etc to disk. svn path=/trunk/; revision=3393
* Use camel_service_connect, not connect_with_url, since we already passedDan Winship2000-06-032-2/+7
| | | | | | | | * 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
* Use camel_folder_free_summary instead of g_ptr_array_free. Unref theChristopher James Lahey2000-06-032-4/+11
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Use camel_folder_free_summary instead of g_ptr_array_free. Unref the folder when we're done with it. svn path=/trunk/; revision=3389
* Revert removal of e_setup_base_dir.Christopher James Lahey2000-06-022-0/+5
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * session.c: Revert removal of e_setup_base_dir. svn path=/trunk/; revision=3379
* Connect to ETable's key_press signal. (etable_key): scroll mail onDan Winship2000-06-022-3/+43
| | | | | | | | * folder-browser.c (my_folder_browser_init): Connect to ETable's key_press signal. (etable_key): scroll mail on space/backspace. svn path=/trunk/; revision=3375
* spelling changes in commenst!Jeffrey Stedfast2000-06-021-1/+1
| | | | | | er, comments...I did it again!!! svn path=/trunk/; revision=3374
* Made sent column as wide as from column.Christopher James Lahey2000-06-022-1/+5
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Made sent column as wide as from column. svn path=/trunk/; revision=3373
* source editor now fills in fieldsJeffrey Stedfast2000-06-022-0/+13
| | | | svn path=/trunk/; revision=3372
* was using the wrong clist row variable in the callbacks for the sources clistJeffrey Stedfast2000-06-022-2/+9
| | | | svn path=/trunk/; revision=3371
* Add a date column. (COL_SENT_WIDTH_MIN): Make this wider. (ml_value_at):Dan Winship2000-06-023-16/+53
| | | | | | | | | | | | | | * message-list.c: Add a date column. (COL_SENT_WIDTH_MIN): Make this wider. (ml_value_at): return the sent date (as a time_t) for COL_SENT. (Fix COL_TO too while I'm here.) (ml_duplicate_value, ml_free_value, ml_initialize_value, ml_value_is_empty): COL_SENT is numeric now. (message_list_init_renderers): Create a date renderer (using text_filter to translate the time_t into a string). (message_list_init_header): Use render_date for COL_SENT. svn path=/trunk/; revision=3365
* Don't call e_setup_base_dir.Christopher James Lahey2000-06-022-1/+4
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * session.c: Don't call e_setup_base_dir. svn path=/trunk/; revision=3361
* Fix forwarding to work for people other than me. :) [Although apparentlyDan Winship2000-06-022-1/+5
| | | | | | | | * mail-format.c (mail_generate_forward): Fix forwarding to work for people other than me. :) [Although apparently it doesn't really.] svn path=/trunk/; revision=3357
* Add a quick hack to move the selection down a row when you delete aDan Winship2000-06-022-1/+13
| | | | | | | * 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
* use <blockquote> rather than <center><table border=1 width=95%> to frameDan Winship2000-06-022-3/+11
| | | | | | | | | | | * mail-format.c (handle_message_rfc822): use <blockquote> rather than <center><table border=1 width=95%> to frame the embedded message. If <pre> text in the subtable won't fit in the 95% width, GtkHTML will write past the border of the table (and <blockquote><table border=1> causes creeping updates so it's not usable for now). svn path=/trunk/; revision=3352
* Turn off the grid in our ETable.Christopher James Lahey2000-06-022-0/+6
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Turn off the grid in our ETable. svn path=/trunk/; revision=3349
* identity and source clists are now filled in as well as the transport ↵Jeffrey Stedfast2000-06-022-10/+87
| | | | | | notebook page in the providers_config dialog when created svn path=/trunk/; revision=3346
* Oops. This needs to take a message argument because we might be writingDan Winship2000-06-022-9/+16
| | | | | | | | * mail-format.c (write_headers): Oops. This needs to take a message argument because we might be writing headers for an embedded message/rfc822 subpart rather than the root document. svn path=/trunk/; revision=3343
* fixed a segfault in service_acceptable()Jeffrey Stedfast2000-06-022-7/+12
| | | | | | in mail-config.c svn path=/trunk/; revision=3341
* Finished the configuration dialogs and renamed some Tools/ menu itemsJeffrey Stedfast2000-06-023-9/+18
| | | | | | this should also fix the bug where the VFolders menu item isn't removed when using the Calendar/etc svn path=/trunk/; revision=3336
* Make the mail folder browser use EScrollFrame for a nicer look.Ettore Perazzoli2000-06-014-12/+27
| | | | svn path=/trunk/; revision=3328
* Quit when the shell exits. This is a kludge, but a pretty necessary oneDan Winship2000-06-012-1/+16
| | | | | | | | * component-factory.c (owner_unset_cb): Quit when the shell exits. This is a kludge, but a pretty necessary one until the refcounting bugs that keep the component from exiting properly are fixed. svn path=/trunk/; revision=3323
* Closer to having a working configuration dialog working, source ↵Jeffrey Stedfast2000-06-012-11/+188
| | | | | | configuration partially works (in that it displays the dialogs) but the popup still segfaults fairly nastily svn path=/trunk/; revision=3322
* Fix up memory management of x-evolution-data URLs so the URLs and/or theirDan Winship2000-06-013-32/+39
| | | | | | | | | | | | | * mail-format.c (free_url, handle_text_enriched, get_url_for_icon): Fix up memory management of x-evolution-data URLs so the URLs and/or their data don't get freed while there are still references to them. * message-list.c (message_list_init_header): redo the (unused) online status column to no longer refer to pixmaps that no longer exist. svn path=/trunk/; revision=3320
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-012-3/+17
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3319
* config dialog will now allow identities to be added, edited and deletedJeffrey Stedfast2000-06-012-47/+282
| | | | | | | settings are now saved when the config dialog is exited via the OK button (only 1 identity is saved due to the fact that that is all the config file will allow) svn path=/trunk/; revision=3316
* Initialize the "urls" hash table stored on the message and store cid andDan Winship2000-06-013-125/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c (mail_format_mime_message): Initialize the "urls" hash table stored on the message and store cid and other URLs there rather than as object data on the message. (get_cid): rewrite this a bunch (handle_text_enriched): move the code from write_iframe_string() into here, since it's the only place that actually needs it. (handle_text_html): simplify this a lot. We can use a cid: URL here rather than x-evolution-data. (get_url_for_icon): New routine to return URLs for icons, and cache the results, so we don't have to keep re-reading the icon files (and so we can't be spoofed into reading non-icon files). (handle_mystery, handle_audio): use get_url_for_icon. * mail-display.c (save_data): move the CamelMimePart filename extracting code from get_cid to here. (on_link_clicked, on_object_requested): Update for cid: changes. (on_url_requested): Kill off the kludgy, exploitable x-gnome-icon URL schema, update cid and x-evolution-data to match mail-format.c. It should now be easier to implement RFC 2557 (Content-Location, etc), but that RFC still pretty much sucks. svn path=/trunk/; revision=3314
* Redo this back to the old way: a single GtkHTML with various things inlineDan Winship2000-05-315-384/+354
| | | | | | | | | | | | | | | | | | | | * mail-format.c: Redo this back to the old way: a single GtkHTML with various things inline in it. (Gets rid of flicker, simplifies some scrolling, selecting, and printing issues.) (handle_text_enriched, handle_text_html): Use <iframe>s for these, to protect the rest of the document from their possibily invalid HTML. (handle_via_bonobo): Use (new-and-improved) <object> tags for this, moving most of the work back into mail-display.c * mail-display.c (on_object_requested): Move the Bonobo embedding code back here again (reorganized a bit). (on_url_requested): add x-evolution-data handler, for iframe bodies. (mail_html_new, mail_html_end): removed (mail_display_set_message, mail_display_new): Update for NWO. svn path=/trunk/; revision=3312
* Removed merge cruft.Michael Zucci2000-05-311-1/+0
| | | | svn path=/trunk/; revision=3302
* Properly encode the search string.Not Zed2000-05-312-2/+7
| | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * folder-browser.c (search_set): Properly encode the search string. svn path=/trunk/; revision=3301
* Implemented the Transport section of the configuration dialog windowJeffrey Stedfast2000-05-313-44/+143
| | | | | | and fixed several memory leaks inside of mail-config.c svn path=/trunk/; revision=3299
* oops. use the seen and unseen icons to represent the right things. :)Dan Winship2000-05-311-2/+2
| | | | svn path=/trunk/; revision=3296
* use the "new" tigert pixmaps rather than the older ones. Includes aDan Winship2000-05-312-27/+27
| | | | | | | | | * message-list.c: use the "new" tigert pixmaps rather than the older ones. Includes a "replied to" icon (which is used now), but no "deleted" icon (although we have the strikeout renderer for that now). svn path=/trunk/; revision=3295
* call e_table_model_row_changed, not e_table_model_changed so we do lessDan Winship2000-05-312-3/+40
| | | | | | | | | | | | | * message-list.c (message_changed): call e_table_model_row_changed, not e_table_model_changed so we do less work, and don't lose the current selection. (select_msg): Set up a timer to mark the displayed message as "seen" if it's selected for longer than 1.5 seconds (a number pulled out of Matt's butt). (ml_value_at): Use the MESSAGE_STATUS column for read/unread as well as deleted. svn path=/trunk/; revision=3293
* Added bold for unread messages.Christopher James Lahey2000-05-313-7/+23
| | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Added bold for unread messages. svn path=/trunk/; revision=3292
* commit'd changelog :)Jeffrey Stedfast2000-05-311-0/+17
| | | | | | explains my last commit in much finer detail svn path=/trunk/; revision=3288
* started to add a camel provider configuration toolJeffrey Stedfast2000-05-314-6/+419
| | | | svn path=/trunk/; revision=3287
* Switched to using "cursor_change" signal instead of "row_selection" forChristopher James Lahey2000-05-302-17/+45
| | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Switched to using "cursor_change" signal instead of "row_selection" for switching messages. Select the first row (still doesn't work because of ETable.) Adapt to some small ETable changes. Set drawfocus to FALSE. svn path=/trunk/; revision=3278
* Hardcode the vfolder source to just the inbox (so at least it returnsNot Zed2000-05-304-4/+38
| | | | | | | | | | | | | | | 2000-05-29 Not Zed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_load_folder): Hardcode the vfolder source to just the inbox (so at least it returns something). * component-factory.c (create_test_storage): Create a vfolder dir first, and put the folders in that. (create_test_storage): Create the storage as VFolders, not "storage_name" :) svn path=/trunk/; revision=3269
* helper function since we need to set "modal" on the dialogs returned byDan Winship2000-05-292-14/+95
| | | | | | | | | | | | | | | * mail-config.c (error_dialog): helper function since we need to set "modal" on the dialogs returned by gnome_error_dialog to make them work when popped up from the modal Druid. (service_acceptable): New function to check if the info entered on a store/transport page actually checks out. (mail_config_druid): Connect to the "next" signal on the store and transport pages and don't let the user continue if the data is bad and "check this before continuing" is checked. Also, only display sources/transports in the "mail" domain. (Ie, not "vfolder".) svn path=/trunk/; revision=3255
* Use `foo@bar' rather than `<foo@bar>' for recipient with no name.Dan Winship2000-05-292-6/+15
| | | | | | | * mail-format.c (write_recipients_to_stream): Use `foo@bar' rather than `<foo@bar>' for recipient with no name. svn path=/trunk/; revision=3247
* don't put up an error message if the user cancels the password dialog.Dan Winship2000-05-292-1/+7
| | | | | | | * mail-ops.c (fetch_mail): don't put up an error message if the user cancels the password dialog. svn path=/trunk/; revision=3245
* vfolder gui! So you can define them,k they show up in the list (well,Not Zed2000-05-287-14/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added a COL_DELETED and made it the strikeout column for both textChristopher James Lahey2000-05-283-4/+24
| | | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Added a COL_DELETED and made it the strikeout column for both text renderers. svn path=/trunk/; revision=3237
* Various improvements:Dan Winship2000-05-282-74/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c: Various improvements: (call_handler_function, etc): Add a "mime_type" argument to the handlers, so that if a part is tagged as "application/octet-stream", and we figure out that it's really something else, the handler we call can know what that something else is. (handle_text_enriched): Small fixes to make this not do text/enriched-specific syntax in text/richtext or vice versa. (handle_mystery): Allow for mystery data that can't even be saved to disk. (ie, unrecognized external-body). Let the caller specify the URL to use. (handle_message_external_body): New function to deal with message/external-body parts. Generates URLs for anon-ftp, local-file, and URL access-types, and a more-useful-than-before descriptive message for other types. (handle_audio, handle_undisplayable): Use gnome_mime_get_value to try to get a description of the MIME type to display to the user rather than the raw form. (This will only work if the user has recent gnome-vfs installed. [If they don't, it works just like it used to.]) svn path=/trunk/; revision=3234
* Fix a bug (security/stability) in its usage of mail_html_write.Dan Winship2000-05-272-1/+4
| | | | | | | * mail-format.c (handle_text_html): Fix a bug (security/stability) in its usage of mail_html_write. svn path=/trunk/; revision=3227
* set CAMEL_MESSAGE_ANSWERED on a message after a successful reply.Dan Winship2000-05-273-10/+35
| | | | | | | | | | * 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
* Update for PersistStream changesDan Winship2000-05-262-2/+10
| | | | | | | * mail-format.c (handle_via_bonobo): Update for PersistStream changes svn path=/trunk/; revision=3216
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2511-16/+283
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* connect to and disconnect from the transport.Dan Winship2000-05-252-3/+13
| | | | | | | * mail-ops.c (composer_send_cb): connect to and disconnect from the transport. svn path=/trunk/; revision=3197
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-253-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Get rid of the old `evolution-service-repository' cruft and startEttore Perazzoli2000-05-233-52/+8
| | | | | | implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
* Updated for the GtkHTML API changes. Also fixed some compilerEttore Perazzoli2000-05-217-22/+42
| | | | | | warnings here and there. svn path=/trunk/; revision=3145
* Fixes for stream stuff.NotZed2000-05-203-18/+16
| | | | | | | | | | 2000-05-19 NotZed <NotZed@HelixCode.com> * mail-format.c: Fixes for stream stuff. * mail-display.c (save_data_cb): Remove exception stuff on streams. svn path=/trunk/; revision=3143
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-202-1/+53
| | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added initialize_value and value_is_empty callbacks. svn path=/trunk/; revision=3140
* move the development_warning from mail to shell so you don't get theDan Winship2000-05-192-69/+4
| | | | | | | nasty partially drawn shortcut bar at startup, and so you only have to see it once, regardless of how many mail folders you have svn path=/trunk/; revision=3129
* Update for camel_folder_get_uids (folder_changed,Dan Winship2000-05-193-31/+37
| | | | | | | | | | * 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
* This seems to be cruft. Nuke it.Dan Winship2000-05-182-50/+2
| | | | | | * mail-component.c: This seems to be cruft. Nuke it. svn path=/trunk/; revision=3115
* Use camel_data_wrapper_write_to_stream rather thanDan Winship2000-05-183-71/+41
| | | | | | | | | * mail-display.c (save_data_cb, save_data, on_url_requested): * mail-format.c (handle_text_plain_flowed, handle_text_html): Use camel_data_wrapper_write_to_stream rather than camel_data_wrapper_get_output_stream. svn path=/trunk/; revision=3113
* Ok, so all incoming mail comes through filters, yay!NotZed2000-05-172-64/+95
| | | | | | | | | | | | | | | | | | 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
* New menu to bring up the filter editor, and edit filters. They dontNotZed2000-05-175-1/+59
| | | | | | | | | | | | | | | 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
* Removed usage of bonobo_object_destroy.Christopher James Lahey2000-05-172-3/+6
| | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * mail-format.c: Removed usage of bonobo_object_destroy. svn path=/trunk/; revision=3094
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-142-25/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added libeutil for e-card's support for categories. * backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added a function to get the length. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories support (accessible either as "categories" or "category_list".) * contact-editor/Makefile.am: Added e-table and all of the categories files. * contact-editor/categories.glade, contact-editor/categories-strings.h, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h: * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Rearranged this dialog. * contact-editor/e-contact-editor.c: Rearranged dialog a bit. Added opening of categories dialog. * gui/component/Makefile.am: Rearranged libraries so that libetable would be available for the contact editor categories dialog. * gui/component/addressbook.c: Fix for new ETable resizing. Make contact editor dialog resizable. * gui/minicard/Makefile.am: Added libetable contact editor categories dialog. * gui/minicard/e-minicard.c: Make contact editor dialog resizable. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* Use 6 X's to mkstemp, as required by the man page, just a temp fix, thisNotZed2000-05-132-1/+7
| | | | | | | | | | 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
* Call a kludge a kludge. (And an insecure kludge at that.)Dan Winship2000-05-121-0/+5
| | | | svn path=/trunk/; revision=3000
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-122-1/+5
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Left-justify the message.Federico Mena Quintero2000-05-122-0/+6
| | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * folder-browser-factory.c (development_warning): Left-justify the message. svn path=/trunk/; revision=2990
* Fix compilation error.Chris Lahey2000-05-111-1/+1
| | | | svn path=/trunk/; revision=2984
* Made this dialog have fewer buttons.Christopher James Lahey2000-05-112-2/+6
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): Made this dialog have fewer buttons. svn path=/trunk/; revision=2983
* New development warning text from Nat.Christopher James Lahey2000-05-112-9/+40
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): New development warning text from Nat. svn path=/trunk/; revision=2982
* only set the default background color if style is not NULL.Larry Ewing2000-05-112-3/+10
| | | | | | | | | 2000-05-10 Larry Ewing <lewing@helixcode.com> * mail-config.c (html_new): only set the default background color if style is not NULL. svn path=/trunk/; revision=2980
* Removed dist-hook section.Christopher James Lahey2000-05-102-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-102-6/+5
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Fill in "blah blah blah".Matthew Loper2000-05-092-6/+17
| | | | | | * mail-config.c (mail_config_druid): Fill in "blah blah blah". svn path=/trunk/; revision=2945
* make this a little less kludgy. Use gnome_error_dialog rather than printfDan Winship2000-05-094-44/+50
| | | | | | | | | | | | | | | * 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
* Update for CamelStream CamelException changes.Dan Winship2000-05-093-15/+37
| | | | | | | | | | | | * mail-display.c (save_data_cb): (on_url_requested): Update for CamelStream CamelException changes. * mail-format.c: Pass NULL for a CamelException in a bunch of places... the user will see that the data is not being displayed, and there's not a lot we can do, and none of these things should be failing anyway. Maybe fix this later. svn path=/trunk/; revision=2925
* Size moved to message info, rather than content info structure.NotZed2000-05-082-5/+6
| | | | | | | | | 2000-05-07 NotZed <NotZed@HelixCode.com> * message-list.c (ml_value_at): Size moved to message info, rather than content info structure. svn path=/trunk/; revision=2905
* unref the message after displaying it.Dan Winship2000-05-083-4/+15
| | | | | | | | | | | * message-list.c (select_msg): unref the message after displaying it. * mail-format.c (get_data_wrapper_text): (handle_text_plain_flowed): (handle_via_bonobo): Replace camel_stream_close calls. svn path=/trunk/; revision=2883
* Changed a toolbar button from saying "New mail" (which suggests you mightMatthew Loper2000-05-082-1/+7
| | | | | | | | * folder-browser-factory.c: Changed a toolbar button from saying "New mail" (which suggests you might be composing new mail) to "Get mail". svn path=/trunk/; revision=2880
* Don't hardcode "inbox" here.Dan Winship2000-05-077-84/+58
| | | | | | | | | | | | | | | | | | | * 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
* New code to configure identity, mail source, and mail transport.Dan Winship2000-05-076-42/+1149
| | | | | | | | | | | | | | | | | | | * 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
* ignore evolution-mail.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * .cvsignore: ignore evolution-mail.pure * Makefile.am: add support for building evolution-mail.pure svn path=/trunk/; revision=2832
* consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h andDan Winship2000-05-0715-78/+43
| | | | | | | | * 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
* Use the OAFIID when using an OAF-enabled build of bonobo.Anders Carlsson2000-05-062-1/+16
| | | | | | | | | 2000-05-05 Anders Carlsson <andersca@gnu.org> * test-mail.c (create_container): Use the OAFIID when using an OAF-enabled build of bonobo. svn path=/trunk/; revision=2818
* ignore the .pure directoryChris Toshok2000-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* Requires a camel-patch, about to come through ...NotZed2000-05-053-24/+60
| | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 NotZed <NotZed@HelixCode.com> * message-list.c (message_list_set_folder): Get the whole message summary right away. (folder_changed): And if we change too. (ml_row_count): Use the match count or summary table length as the row count. (get_message_info): Use array references to lookup message summary info. For the search result list, use the summary_search_cache to cache the info lookup. (message_list_init): Allocate the summary search cache. (message_list_destroy): Free the summary search cache and the summary table, if there is one to free. (message_list_set_search): Save the match count, and clear the summary search cache for reuse. (folder_changed): Re-retrieve the summary list if the folder has changed. (message_list_set_folder): Retrieve the summary list when opening the folder. svn path=/trunk/; revision=2807
* Some small build fixes:Jacob Leach2000-05-042-1/+6
| | | | | | | | | | | * camel/Makefile.am (INCLUDES): add $(UNICODE_CFLAGS) to the INCLUDES, people who installed libunicde in non-standard include paths need this. * mail/Makefile.am (evolution_mail_LDADD): s/-lunicode/$(UNICODE_LIBS)/ svn path=/trunk/; revision=2785
* Make the "Cc:" field optional again. (Before, we could check ifDan Winship2000-05-042-7/+16
| | | | | | | | | * mail-format.c (write_recipients_to_stream, write_headers): Make the "Cc:" field optional again. (Before, we could check if camel_mime_message_get_recipients returned NULL, but now we need to actually look into the returned CamelInternetAddress object.) svn path=/trunk/; revision=2783
* s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael'sJacob Leach2000-05-031-7/+7
| | | | | | request. svn path=/trunk/; revision=2776
* comment out the changed signal for now.Larry Ewing2000-05-032-1/+6
| | | | | | | | | 2000-05-03 Larry Ewing <lewing@helixcode.com> * folder-browser.c (folder_browser_gui_init): comment out the changed signal for now. svn path=/trunk/; revision=2775
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* only free search if it is not NULL.Larry Ewing2000-05-032-1/+11
| | | | | | | | | 2000-05-02 Larry Ewing <lewing@helixcode.com> * message-list.c (message_list_set_search): only free search if it is not NULL. svn path=/trunk/; revision=2754
* > 2000-05-02 NotZed <NotZed@HelixCode.com>Michael Zucci2000-05-034-3/+14
| | | | | | | | | | | | | > > * folder-browser.c (folder_browser_gui_init): Connect the changed > signal to search, so it searched immediately? > 40a46,48 > (message_list_set_search): Save the search string. > (folder_changed): If the folder changes, re-run the search, > otherwise we may end up with invalid entries in the display. svn path=/trunk/; revision=2749
* Added a deleted message icon whcih shows when messages areMichael Zucci2000-05-025-6/+96
| | | | | | | | | | | | | | | | | | | | | deleted (takes a while to update the gui for some reason). Updates the gui when expunged, via a signal. * pixmaps.h: Added envelope-deleted state. (message_list_init_renderers): Added a 3rd state to message_status = deleted. (ml_value_at): Show the message state as deleted, if it is marked for deletion. (folder_changed): When the folder changes, update the display. (message_list_set_folder): Connect to the folder_changed event here. (message_changed): Callback to update the display when the message changes. (select_msg): And connect to the message_changed signal so we know when it cahgnes. svn path=/trunk/; revision=2746
* Ok, you can now delete and expunge messages ... not really prettyMichael Zucci2000-05-024-2/+60
| | | | | | | | | | | | | | (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
* > (folder_browser_gui_init): Add an option meny to the search line.Michael Zucci2000-05-024-14/+108
| | | | | | | | | > (create_option_menu): Build the option menu from a table. > (search_set): Build a search from another string whent he option > menu or text item is changed. 5 search options are defined so > far. svn path=/trunk/; revision=2742
* A hackish little quick-search entry. (search_activate): Perform aNotZed2000-05-025-25/+116
| | | | | | | | | | | | | | | | | | | | | 2000-05-01 NotZed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_gui_init): A hackish little quick-search entry. (search_activate): Perform a quick-search on the folder subject only. * message-list.c (get_message_info): If there is an active search, then get the data from that ... use this instead of _get_message_info(). (ml_row_count): If we have an active search, get the info from its result. (select_msg): Changed to use get_message_info, so searches work. (ml_value_at): And same here. * mail-display.c: Include missing errno.h. svn path=/trunk/; revision=2724
* This is no longer necessary.Dan Winship2000-04-303-20/+8
| | | | | | | | | * 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
* Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog.Dan Winship2000-04-303-1/+127
| | | | | | | | | | | | | * mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog. * mail-format.c (get_cid): if the part has a Content-Disposition with a filename specified, record (a sanitized version of) that on the wrapper when creating the cid reference, so the "save attachment" code can use it later. (handle_mystery): fix a bug in the cid generation here. svn path=/trunk/; revision=2685
* Improve the builtin vs bonobo selection code. (handle_mystery): IncludeDan Winship2000-04-306-133/+231
| | | | | | | | | | | | | | | | | | | | | | * mail-format.c (lookup_handler, etc): Improve the builtin vs bonobo selection code. (handle_mystery): Include name and Content-Description in the "mystery data" info, when available (handle_unknown_type): Call mail_identify_mime_part before giving up. (handle_undisplayable): Split out of handle_unknown_type now that handle_unknown_type can try alternate viewers. (handle_via_bonobo): Fall back to handle_undisplayable if the bonobo control fails. * mail-identify.c (mail_identify_mime_part): New function to attempt to identify a MIME part that we can't identify based on Content-Type alone. * mail-display.c (on_url_requested): redo the mystery data icon display stuff less kludgily. svn path=/trunk/; revision=2684
* update for Camel recipient changes. (Just to make it build, not to takeDan Winship2000-04-292-17/+38
| | | | | | advantage of new features, or do things cleanly.) svn path=/trunk/; revision=2677
* Fix broken OAF patch for the GNORBA case.Ettore Perazzoli2000-04-292-8/+14
| | | | svn path=/trunk/; revision=2676
* Makefile fixMiguel de Icaza2000-04-281-1/+2
| | | | svn path=/trunk/; revision=2674
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-288-29/+187
| | | | svn path=/trunk/; revision=2673
* Oops. Remove the part of the previous patch that wasn't supposed toDan Winship2000-04-281-24/+8
| | | | | | escape into the real world. :) svn path=/trunk/; revision=2665
* Move text_to_html to e-util.Dan Winship2000-04-285-217/+70
| | | | | | | | | | | | | * 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
* Improve URL converstion code. Recognize https, recognize "www\..*" withoutDan Winship2000-04-282-14/+55
| | | | | | | | | * mail-format.c (text_to_html): Improve URL converstion code. Recognize https, recognize "www\..*" without a prefixed "http://". Properly escape &, <, >, etc in URL strings. Don't be fooled by "mailto:", "http://", etc with no following data. svn path=/trunk/; revision=2660
* Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS toDan Winship2000-04-273-95/+145
| | | | | | | | | | | | | * mail-format.c (text_to_html): Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs in text. * mail-display.c (mail_html_new): Add link_clicked signal handler. (on_link_clicked): Use gnome_url_show to launch a browser. The Dingus has landed. svn path=/trunk/; revision=2653
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-272-14/+11
| | | | | | | | | | | | | * camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
* update for CamelStream changes.Dan Winship2000-04-262-5/+8
| | | | | | * mail-format.c: update for CamelStream changes. svn path=/trunk/; revision=2631
* add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and aDan Winship2000-04-262-28/+138
| | | | | | | | | | | | | * mail-format.c (text_to_html): add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and a space. (handle_text_plain): Check for "format=flowed" in the Content-Type. (handle_text_plain_flowed): Spinoff of handle_text_plain to deal with RFC 2646 flowed text. (All the examples I can find of it are generated by Eudora, but it's a pretty cool idea that ought to be used more widely.) svn path=/trunk/; revision=2618
* Now that we're not limited to a single GtkHTML for the display, there's noDan Winship2000-04-263-270/+191
| | | | | | | | | | | | | | | | | * mail-format.c, mail-display.c: Now that we're not limited to a single GtkHTML for the display, there's no reason to embed Bonobo objects for unrecognized content-types in GtkHTML rather than embedded them into the vbox directly. So do that. Meanwhile, fix up the handler-selection code so that we can declare which built-in handlers are more desirable than external handlers and which are less. (Of course, eventually we'll want this to be customizable.) Add some cleverness to handle_multipart_alternative as well so it doesn't accept an alternative which we can display generically over one we can display specifically. svn path=/trunk/; revision=2616
* (reply_body): Make this deal better with multiparts.Dan Winship2000-04-262-40/+30
| | | | svn path=/trunk/; revision=2612
* (setup_function_table): pass unknown text subtypes toDan Winship2000-04-262-3/+34
| | | | | | | | | | | handle_text_plain. (handle_multipart_appledouble): new handler. Just ignores the first (application/applefile) part and tries to display the second part. Since the second part is usually application/octet-stream, this doesn't work very well still usually. svn path=/trunk/; revision=2611
* Fix some bugs that crept into reply generation. This needs a lot more workDan Winship2000-04-252-5/+21
| | | | | | | | * mail-format.c (reply_body): Fix some bugs that crept into reply generation. This needs a lot more work to deal correctly with complicated bodies. svn path=/trunk/; revision=2602
* Redo large chunks of this. The mail display now consists of a vbox in aDan Winship2000-04-255-638/+747
| | | | | | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo large chunks of this. The mail display now consists of a vbox in a scrolled window, in which we put multiple GtkHTML objects. This means broken HTML in one part can't corrupt other parts. The headers now scroll with the body. Unrecognized attachments look prettier, but still don't do anything, and will probably be changed later. We can also now display nested message/rfc822 parts and multipart/alternatives with multipart subparts. Oh, and text/{richtext,enriched}, since we had all these ancient sample messages that use it and the lack of support annoyed me. :) Bonobo embeddables are broken right now, but I don't think that's my fault. svn path=/trunk/; revision=2601
* rename "send" to "send_msg", to avoid name clash with the tcp function.Dan Winship2000-04-245-5/+90
| | | | | | | | | | | | | | * 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
* Change cid expectations to match current camel reality.Dan Winship2000-04-232-5/+5
| | | | | | | * mail-display.c (on_url_requested): Change cid expectations to match current camel reality. svn path=/trunk/; revision=2558
* call glade_gnome_init, for composer.Dan Winship2000-04-232-0/+6
| | | | | | * main.c (main): call glade_gnome_init, for composer. svn path=/trunk/; revision=2556
* #include "mail-format.h"Dan Winship2000-04-231-0/+1
| | | | svn path=/trunk/; revision=2555
* move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,Dan Winship2000-04-236-56/+328
| | | | | | | | | | | | | | | | | * 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
* deal with cid: URLs. (find_cid): helper routine for above. (This could beDan Winship2000-04-213-21/+144
| | | | | | | | | | * mail-display.c (on_url_requested): deal with cid: URLs. (find_cid): helper routine for above. (This could be much better.) (mail_display_init): connect url_requested signal * mail-format.c (handle_multipart_related): Make this work. svn path=/trunk/; revision=2542
* ref the message we display, since we're going to unref it when we removeDan Winship2000-04-212-0/+8
| | | | | | | | | * mail-display.c (mail_display_set_message): ref the message we display, since we're going to unref it when we remove it. Fixes a bug that showed up with the new camel code, but it's not obvious if it's due to a bug or a feature in the new code. svn path=/trunk/; revision=2541
* Oops, remove some debug i put there.NotZed2000-04-212-4/+1
| | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * message-list.c: (ml_row_count): Oops, remove some debug i put there. svn path=/trunk/; revision=2535
* Add libibex.la to link.NotZed2000-04-214-24/+33
| | | | | | | | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * Makefile.am (evolution_mail_LDADD): Add libibex.la to link. * message-list.h: Removed folder summary. * message-list.c: Dont include folder-summary anymore. (select_msg): Changed to use folder, not summary in summary_get_message_info(). God this code is grotty. (ml_value_at): Ditto. (ml_value_at): Changed to use new interface. Hmm, this returns a static variable, that seems wrong. (message_list_set_folder): Remove folder summary. svn path=/trunk/; revision=2530
* update for bonobo change, and remove a now-unused variable.Dan Winship2000-04-212-43/+7
| | | | | | | * mail-display.c: update for bonobo change, and remove a now-unused variable. svn path=/trunk/; revision=2525
* new function, actually calls select_msg. (on_row_selection_cmd): registerChris Toshok2000-04-173-5/+33
| | | | | | | | | | | | | | * message-list.c (on_row_selection_idle): new function, actually calls select_msg. (on_row_selection_cmd): register an idle instead of calling select_msg directly. this fixes the lag before the row is selected - selection is instantaneous now, with message loading happening afterward. * message-list.h: add row_to_select and an idle_id to the message list to make the select_msg call happen in an idle func. svn path=/trunk/; revision=2470
* no more e_cell_set_editable. this info always comes from the model.Chris Toshok2000-04-172-3/+5
| | | | | | | * message-list.c (message_list_init_renderers): no more e_cell_set_editable. this info always comes from the model. svn path=/trunk/; revision=2469
* Moved from camel/camel-formatter, and changed slightly. (More to come.)Dan Winship2000-04-158-239/+893
| | | | | | | | | | | | | | 2000-04-14 Dan Winship <danw@helixcode.com> * mail-format.[ch]: Moved from camel/camel-formatter, and changed slightly. (More to come.) * html-stream.[ch]: No longer necessary. mail-format uses GtkHTMLStreamHandles directly. * mail-display.[ch]: update for new message formatting code. svn path=/trunk/; revision=2438
* use gnome_app_fill_toolbar_with_data, so we get the beautiful gnomeChris Toshok2000-04-152-36/+36
| | | | | | | | * folder-browser-factory.c (control_activate): use gnome_app_fill_toolbar_with_data, so we get the beautiful gnome toolbar. svn path=/trunk/; revision=2427
* Fix up the warning message a bit. (folder_browser_factory): Make theDan Winship2000-04-142-9/+16
| | | | | | | | * folder-browser-factory.c (development_warning): Fix up the warning message a bit. (folder_browser_factory): Make the warning bypassable. svn path=/trunk/; revision=2425
* Fix the embarassing cursor bug.Miguel de Icaza2000-04-122-0/+5
| | | | | | Fix the embarassing cursor bug. svn path=/trunk/; revision=2404
* Add some #includes for the non-HAVE_MKSTEMP caseDan Winship2000-04-102-0/+7
| | | | | | * mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case svn path=/trunk/; revision=2361
* use camel_movemail when fetching mail from an mbox store. This leavesDan Winship2000-04-102-14/+84
| | | | | | | | | | * 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
* + * addressbook/gui/component/addressbook.c (addressbook_factory):Matthew Loper2000-04-092-0/+7
| | | | | | | | | | | | | | | + Added gtk_widget_push/pop_colormap/visual, which I assume is + necessary for canvas use. + + * folder-browser.c (folder_browser_new): set folder_browser->uri + to NULL, so that we know when to free it. + + * e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell, + like in e_table_col_new, since that same ECell is unref'd in + etc_destroy(). + svn path=/trunk/; revision=2350
* Add more beautiful art from Miggue, the Diego Rivera of the nextMiguel de Icaza2000-04-089-120/+211
| | | | | | | | | | | | 2000-04-07 Miguel de Icaza <miguel@gnu.org> * message-list.c (states_pixmaps): Add more beautiful art from Miggue, the Diego Rivera of the next millenium. (message_list_init_header): Use the beautiful art. * pixmaps: Miguel rediscovers the "transparent" concept. svn path=/trunk/; revision=2335
* + * folder-browser.c (folder_browser_destroy): Unref the shellMatthew Loper2000-04-083-1/+27
| | | | | | | | | | | | | | | | | | + interface that we have a handle to. + + * folder-browser-factory.c (control_destroy_cb): New function; + destroys a folder-browser when its control is destroyed. + (folder_browser_factory): Hook up to the above. + + * e-shell-view.c (destroy_folder_view): New function; + Bonobo_Unknown_unref's the controls that have the views in them. + (esv_destroy): Calls the above for each folder_view in the + hashtable. + (get_view): unref the ServiceRepository interface of the control + when we're done with it. + svn path=/trunk/; revision=2333
* new file, for toolbar/menu callbacks (fetch_mail): fetch mail. Doesn't doDan Winship2000-04-085-18/+215
| | | | | | | | | | | | | | | * 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
* Load the icons from the installation path, not form the GNOME-libsMiguel de Icaza2000-04-069-53/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-06 Miguel de Icaza <miguel@gnu.org> * shell/e-shortcut.c (shell_icon_cb): Load the icons from the installation path, not form the GNOME-libs installation prefix. (shell_icon_cb): Memory leak fix. * shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES installation directory here. * art/Makefile.am (images_DATA): Renamed from pixmaps to images. 2000-04-06 Miguel de Icaza <miguel@gnu.org> * message-list.c: Stick pixmaps here. * mail-display.c (embeddable_destroy_cb): Replaced C++ comments with C comments. * message-list.c (load_internal_images): New function, loads images. (message_list_init_renderers): Load images, fix previous attempt at loading images. * Makefile.am (dist-hook): Added distribution of pixmaps. * pixmaps: New directory, used to hold the XPMs we ship with. * pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's envelopes incorporated. 2000-04-06 Miguel de Icaza <miguel@gnu.org> * e-cell-text.c: Killed ARG_EDITABLE. (ect_event): Updated to new editable setup. (e_cell_text_new): Kill editable argument. * e-cell-toggle.c (etog_event): Handle editability here * e-cell-text.h: Removed editable bit field from here, it is now taken care at the e-cell level. * e-cell.c (e_cell_set_editable): New function. (e_cell_init): Set editable to TRUE by default. * test-check.c (check_test): update to new api * test-table.c (table_browser_test): ditto. (do_e_table_demo): ditto. * test-cols.c (multi_cols_test): ditto svn path=/trunk/; revision=2302
* update to new property API.Michael Meeks2000-04-022-23/+62
| | | | svn path=/trunk/; revision=2278
* remove debugging printf()s that no longer seem usefulDan Winship2000-04-014-11/+10
| | | | svn path=/trunk/; revision=2274
* Call bonobo_control_frame_activate on the folder_view every time it isDan Winship2000-03-302-16/+82
| | | | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Call bonobo_control_frame_activate on the folder_view every time it is displayed, and bonobo_control_frame_deactivate every time it is hidden. * folder-browser-factory.c (control_activate): build a toolbar. (control_deactivate): and hide it. svn path=/trunk/; revision=2250
* quiet warnings when building in ../poChris Toshok2000-03-282-54/+57
| | | | | | * mail-display.c: quiet warnings when building in ../po svn path=/trunk/; revision=2204
* Memory leak fix.Miguel de Icaza2000-03-272-10/+19
| | | | | | | | | 2000-03-26 Miguel de Icaza <miguel@gnu.org> * folder-browser-factory.c (folder_browser_set_shell): Memory leak fix. svn path=/trunk/; revision=2175
* update for summary changes. Hey, neat, it really does make it moreDan Winship2000-03-252-28/+50
| | | | | | | * message-list.c (select_msg, ml_value_at): update for summary changes. Hey, neat, it really does make it more efficient. svn path=/trunk/; revision=2160
* Updated .cvsignore filesChris Lahey2000-03-232-1/+6
| | | | svn path=/trunk/; revision=2151
* Minor cleanup & commenting.Matthew Loper2000-03-223-40/+46
| | | | | | | | * mail-display.c: Minor cleanup & commenting. * folder-browser-factory.c: Minor cleanup & warning elimination. svn path=/trunk/; revision=2134
* display message sizebertrand2000-03-213-2/+13
| | | | | | | | | | | | | | | | | | | | | 2000-03-21 bertrand <bertrand@helixcode.com> * message-list.c (ml_value_at): display message size 2000-03-21 bertrand <bertrand@helixcode.com> * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_append_internal_to_external): copy the size field * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): initialize message_info to NULL * camel-folder-summary.h: added the size field. * providers/mbox/camel-mbox-summary.h: added the received_date field. svn path=/trunk/; revision=2133
* launch the good componentBertrand Guiheneuf2000-03-211-1/+1
| | | | svn path=/trunk/; revision=2130
* Temporarily removed the calendar from the subdirs list. The compilationbertrand2000-03-213-3/+76
| | | | | | | | | 03-21-2000 bertrand <bg@aful.org> Temporarily removed the calendar from the subdirs list. The compilation errors confuse people. svn path=/trunk/; revision=2129
* Properly ref & sink the table and header models.Christopher James Lahey2000-03-212-0/+9
| | | | | | | | 2000-03-20 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Properly ref & sink the table and header models. svn path=/trunk/; revision=2126
* Fix for srcdir != builddir.Elliot Lee2000-03-181-0/+1
| | | | | | | | | * calendar/cal-client/Makefile.am, calendar/cal-util/Makefile.am, calendar/gui/Makefile.am, calendar/pcs/Makefile.am, mail/Makefile.am, widgets/e-text/Makefile.am: Fix for srcdir != builddir. svn path=/trunk/; revision=2119
* First cut at a mail source selection wizard. Basically a rigged demo atDan Winship2000-03-152-1/+778
| | | | | | | | | * mail-sources.c: First cut at a mail source selection wizard. Basically a rigged demo at this point. Doesn't use camel to get its information, and is not yet complete or integrated with the mail component. Did I mention that the code is ugly? svn path=/trunk/; revision=2117
* i2000-03-13 bertrand <bertrand@helixcode.com>bertrand2000-03-132-1/+13
| | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_set_shell): for testing and demonstration purpose, immediately register a fake service. 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell.c (EShell_register_service): test implementation. Show the uri and the type of service that has just been registered. Test the registering mechanism. Actually seems to work well. svn path=/trunk/; revision=2112
* (get_view): added a parameter to have a reference to the EShellView.bertrand2000-03-131-1/+1
| | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> (get_view): added a parameter to have a reference to the EShellView. (get_view): In the case of the mail component use the Evolution_ServiceRepository to give the component a reference to the Shell server. The Mail component now has a reference to the shell corba server. It is gonna make it possible to register new services in the shell. svn path=/trunk/; revision=2111
* once we have the bonobo control widget, disable the autoactivation andbertrand2000-03-135-73/+51
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. (control_activate_cb): when the control is activated, it merges its own UI with the remote UIHandler. (control_add_menu): sample menu merging. (folder_browser_factory): connect the control "activate" signal. (Bonobo control / shell view) UIMenu merging. svn path=/trunk/; revision=2110
* name changebertrand2000-03-133-14/+20
| | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): name change 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. * evolution-mail.gnorba: name changes svn path=/trunk/; revision=2109
* added the get_e_folder_type function.bertrand2000-03-135-4/+73
| | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
* plug mem leaks due to bad documentation ofbertrand2000-03-093-5/+14
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-07 bertrand <bertrand@helixcode.com> * camel-formatter.c (handle_mime_part): plug mem leaks due to bad documentation of camel_content_field_get_mime_type (print_camel_body_part): idem (handle_multipart_alternative): idem * gmime-content-field.c (gmime_content_field_get_mime_type): documentation fix. * camel-mime-part.c (my_finalize): unref the content_input_stream if any. * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. svn path=/trunk/; revision=2089
* added a warning so that the user knows that this version may crash hisbertrand2000-03-082-6/+12
| | | | | | | | | | 2000-03-07 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (development_warning): added a warning so that the user knows that this version may crash his mails. svn path=/trunk/; revision=2078
* sync from laptopBertrand Guiheneuf2000-03-084-72/+96
| | | | svn path=/trunk/; revision=2077
* missing fileBertrand Guiheneuf2000-03-072-3/+104
| | | | svn path=/trunk/; revision=2076
* More changes than a man can remember.Bertrand Guiheneuf2000-03-0614-82/+634
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* Added a prototype message listing.Christopher James Lahey2000-03-052-5/+26
| | | | | | | | 2000-03-05 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a prototype message listing. svn path=/trunk/; revision=2059
* Set up the column headers properly.Christopher James Lahey2000-03-053-2/+10
| | | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Set up the column headers properly. * folder-browser.c: Show the folder_browser widget. svn path=/trunk/; revision=2050
* Define ml_duplicate_value and ml_free_value correctly.Christopher James Lahey2000-03-052-1/+44
| | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Define ml_duplicate_value and ml_free_value correctly. svn path=/trunk/; revision=2048
* Use g_int_compare and g_str_compare as we should be instead of g_int_equalChristopher James Lahey2000-03-052-10/+15
| | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Use g_int_compare and g_str_compare as we should be instead of g_int_equal and g_str_equal. svn path=/trunk/; revision=2046
* sync for debugging with chrisBertrand Guiheneuf2000-03-054-7/+25
| | | | svn path=/trunk/; revision=2044
* Change this to use the ETable widget itself instead of building it fromChristopher James Lahey2000-03-052-3/+10
| | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Change this to use the ETable widget itself instead of building it from all the parts. svn path=/trunk/; revision=2043
* Ref the table columns since we unref them at the end.Christopher James Lahey2000-03-042-1/+8
| | | | | | | | | 2000-03-03 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Ref the table columns since we unref them at the end. svn path=/trunk/; revision=2023
* Various building fixes. At least, now it builds for me.Ettore Perazzoli2000-03-022-3/+10
| | | | svn path=/trunk/; revision=2007
* Fixed references to libutil.a -> libeutil.laMichael Zucci2000-02-292-1/+5
| | | | svn path=/trunk/; revision=1983
* Added e_xml_get_integer_prop_by_name.Christopher James Lahey2000-02-252-1/+17
| | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_get_integer_prop_by_name. * e-util/Makefile.am: Added e-util.c. * e-util/e-util.h: Added e-util.c functions. * e-util/e-util.c: New file for compare functions from mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed to match new e_table_simple interface. svn path=/trunk/; revision=1931
* last set of changes for CamelFolder changes. Evolution builds again...Dan Winship2000-02-252-1/+6
| | | | svn path=/trunk/; revision=1928
* This were moved to widgets/e-text/ a while ago but never removed. TheyChristopher James Lahey2000-02-242-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c, e-text-event-processor.h, e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h: This were moved to widgets/e-text/ a while ago but never removed. They have now been removed. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some warnings from this file. Made tooltips disappear when you're finished with them. * widgets/e-minicard/test-reflow.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-minicard-label.c: Commented out unused about_callback functions. * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to its e-minicard children. * widgets/e-minicard/e-minicard.c: Made e-minicard take and return an EFocus for its "has_focus" argument. This makes shift-tab work properly. * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return an EFocus for its "has_focus" argument. Made the font that e-minicard-label uses only be allocated once. * e-util/e-canvas-utils.h: Fixed the comment at the top and added #ifndef __E_CANVAS_UTILS__. * e-util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some xml utilities. * e-util/e-util.h: Added type EFocus which describes which direction the focus will be coming from. in mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed this to not use the "x" and "y" arguments to e-table-item. in widgets/e-table: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c, e-table-subset-variable.h: A new model which is a subset, but you can add and remove rows. * test-table.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. Properly parse headers. Adapted to the changes to e_table, including creating example xml spec data. * test-cols.c, test-check.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. * e-table.c, e-table.h: Reworked e-table to use the ETable grouping system. The only difference for the interface is that instead of passing in a column_spec and a grouping_spec, you pass in a single string that is an xml format that includes both pieces of information. * e-table-subset.h: Added rules for emacs to do correct indentation. * e-table-subset.c: Implemented freezing. No signals are emitted while frozen and "model_changed" is emitted when thawed. * e-table-sorted.h: ETableSortedClass has ETableSubset as its parent object instead of ETableSubsetClass. Fixed this. * e-table-simple.c, e-table-simple.h: Implemented the thaw method. Use of simple now requires an extra argument (the thaw method.) * e-table-model.h, e-table-model.c: Added e_table_model_freeze and e_table_model_thaw. * e-table-item.h, e-table-item.c: Reworked this a bit to make it provide some things the new group system needed and to make inter-item keyboard focus work. Changed the external interface only in the list of arguments it recognizes and signals it emits. Instead of "x" and "y", you have to use e_canvas_item_move_absolute and instead of emitting a "height_changed" signal, it emits a "resize" signal. There's new "has_focus", "width", and "height" arguments and a function to get the currently focused column. * e-table-header-item.c: Got rid of some warnings here. Changed the * e-table-group-leaf.h, e-table-group-leaf.c, e-table-group-container.h, e-table-group-container.c: New types to make e_table_group work properly. * e-table-group.h, e-table-group.c: Completely reworked e-table grouping. e-table-group now uses a hierarchical structure. * e-cell.h: Added e_cell_print. This doesn't work yet. * e-cell.c: Made e_cell_realize exist. (It was improperly named e_cell_view_realize in the .c.) * e-cell-text.c: Made the blinking cursor disappear properly. * check-filled.xpm, check-empty.xpm: Made these const char *[] instead of char *[] to avoid compiler warnings. * Makefile.am: Added e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-subset-variable.c, e-table-subset-variable.h. svn path=/trunk/; revision=1915
* + * message-list.c (message_list_set_folder): Check 'desc'riptionsMatthew Loper2000-02-242-10/+21
| | | | | | + of exceptions. svn path=/trunk/; revision=1908
* fix to show a sample correct implementation.bertrand2000-02-223-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * message-list.c (message_list_set_folder): fix to show a sample correct implementation. * camel-folder.c (camel_folder_get_subfolder): (camel_folder_create): (camel_folder_delete): (camel_folder_delete_messages): (camel_folder_list_subfolders): (camel_folder_expunge): (camel_folder_get_message_by_number): (camel_folder_get_message_count): (camel_folder_append_message): (camel_folder_copy_message_to): (camel_folder_get_summary): (camel_folder_get_message_uid): (camel_folder_get_message_by_uid): (camel_folder_get_uid_list): Check folder state (open/close) and raise an exception if it is not ok. * providers/mbox/camel-mbox-folder.c (_create): create the file and the path with two different names. * camel-folder.c (_create): handle the case when the folder name starts with '/' * camel-exception.c (camel_exception_new): use (void) instead of () in decl. * camel-exception.h: cosmetic fixes. * camel-exception.c (camel_exception_init): new routine. Fix a bug in mail/message-list.c * camel-folder.h: cosmetic changes. * camel-stream-b64.c (reset__static): added a reset method. Thanks message-browser to find so much bugs :) * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd Unicode libs. Fixes and exception handling in camel-folder. Fixes in mail/evolution-mail to make it not segfault and to demonstrate a correct implementation. svn path=/trunk/; revision=1902
* + * libical/Makefile.in: autogenerated file removed from cvs, andMatthew Loper2000-02-222-1/+6
| | | | | | | | | | | + added to .cvsignore. + * libical/src/Makefile.in: same. + * libical/src/libical/Makefile.in: same. + * libical/src/libicalss/Makefile.in: same. + + * mail/Makefile.am: added -lunicode to evolution_mail_LDADD. svn path=/trunk/; revision=1894
* Add "authenticator" to CamelSession and update things to use it.Dan Winship2000-02-222-1/+46
| | | | svn path=/trunk/; revision=1890
* update for CamelSession changesDan Winship2000-02-222-1/+11
| | | | svn path=/trunk/; revision=1889
* + * widgets/e-minicard/.cvsignore: Added minicard-label-test,Matthew Loper2000-02-202-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | + minicard-test, and reflow-test. + + * shell/.cvsignore: added files autogenerated from Evolution.idl. + + * libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo, + vcaltmp.lo, libversit.la + + * libical/src/test/.cvsignore: New file. + + * libical/src/libical/.cvsignore: New file. + + * libical/src/libicalss/.cvsignore: New file. + + * libical/.cvsignore: New file, with config.log in it. + + * calendar/.cvsignore: Added tlacuache and tl-test. + + * libibex/.cvsignore: added lookup. + + * mail/.cvsignore: added test-mail. svn path=/trunk/; revision=1859
* New header with the typedefs for all camel classes. Now the class headersDan Winship2000-02-192-0/+2
| | | | | | | | | | | | | | | * camel/camel-types.h: New header with the typedefs for all camel classes. Now the class headers can just include this and the header for the parent type. This makes it possible for CamelService to include a CamelSession without creating an #include loop. * camel/*: * composer/e-msg-composer-attachment-bar.h: * mail/folder-browser.c: * mail/message-list.c: frob #includes to match the new reality svn path=/trunk/; revision=1850
* Further Makefile.am fixage -miguelMiguel de Icaza2000-02-191-2/+2
| | | | svn path=/trunk/; revision=1846
* update for bonobo changesDan Winship2000-02-171-1/+5
| | | | svn path=/trunk/; revision=1819
* Add session.cArturo Espinosa2000-02-171-0/+67
| | | | svn path=/trunk/; revision=1800
* Add session.hArturo Espinosa2000-02-171-0/+17
| | | | svn path=/trunk/; revision=1799
* Add the unicode libraries as well.Miguel de Icaza2000-02-167-9/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* + * tests/ui-tests/message-browser.c (handle_tree_item): Expand treeMatthew Loper2000-02-142-2/+6
| | | | | | | | | | | | | | | | | | | | | | + items. + (mime_message_to_html): New function; translates a + CamelMimeMessage into two strings (one for the header, and one for + the body). + (get_gtk_html_window): New function; fills out a window with + html. The html is taken from a processed rfc822 file, via a + CamelFormatter. + + * camel/camel-formatter.c: Added assertions. + (handle_text_html): Don't call text_to_html on something that's + already html. + (multipart_foreach): function deleted. + + * mail/html-stream.c (html_stream_new): Second param of + gtk_html_begin should be "", not NULL. + (html_stream_new): gtk_html_parse() is deprecated, so the call was + removed. svn path=/trunk/; revision=1766
* HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.Matthew Loper2000-02-142-1/+6
| | | | | | | | | | * mail/html-stream.h: HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream. * tests/ui-tests/message-browser.c: Added preliminary support for the viewing of messages via gtkhtml. Lots of commenting. svn path=/trunk/; revision=1765
* Add the e-text directory to the includes list.Christopher James Lahey2000-02-123-2/+10
| | | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Add the e-text directory to the includes list. * message-list.c: Change the call to e_cell_text_new, since there's an added argument. svn path=/trunk/; revision=1744
* Display the summary. AbstractlyMiguel de Icaza2000-02-111-5/+20
| | | | svn path=/trunk/; revision=1734
* Added libetext as libetable depends on it.Christopher James Lahey2000-02-092-0/+5
| | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libetext as libetable depends on it. svn path=/trunk/; revision=1709