aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Increase the size of the escapped mlist buffer, we can't assume that thereJeffrey Stedfast2002-07-032-1/+5
| | | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Increase the size of the escapped mlist buffer, we can't assume that there can only ever be a single '_' in the mlist name afaik. svn path=/trunk/; revision=17353
* Fixes bug #27263.Jeffrey Stedfast2002-07-034-15/+56
| | | | | | | | | | | | | | | | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27263. * folder-browser.c (filter_subject): Decide the filter source type based on the folder we are in (Sent/Outbox folders use FILTER_SOURCE_OUTGOING). (filter_sender): Same. (filter_recipient): Here too. (filter_mlist): And here. (on_right_click): Set the fdata->source. (filter_type_got_message): Pass fdata->source into filter_gui_add_from_message(). (filter_mlist_uid): Same. * mail-autofilter.c (filter_gui_add_from_message): Now takes a source argument so that we don't always add incoming rules. (filter_gui_add_from_mlist): Same. svn path=/trunk/; revision=17352
* Remove Bcc headers too.Jeffrey Stedfast2002-07-033-1/+10
| | | | | | | | | 2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_make_message_attachment): Remove Bcc headers too. svn path=/trunk/; revision=17351
* (e_shell_show_settings): Don't set up the settingsEttore Perazzoli2002-07-032-2/+5
| | | | | | dialog as a transient. [#25776] svn path=/trunk/; revision=17350
* (bonobo_interface_remove_folder_cb): AddEttore Perazzoli2002-07-032-1/+7
| | | | | | parameter @listener to match the signal's signature. [#24413] svn path=/trunk/; revision=17349
* (update_sensitivity): Removed.Ettore Perazzoli2002-07-032-43/+58
| | | | | | | | | | | | (set_find_now_sensitive): New. (entry_changed_cb): Always make the "Find Now" button and menu item sensitive here. (emit_search_activated): ...And here, always insensitive. (setup_standard_verbs): Always start up insensitive. (activate_button_clicked_cb): Make the entry grab the focus. (clear_button_clicked_cb): Likewise. svn path=/trunk/; revision=17348
* (folder_browser_gui_init): Don't connectEttore Perazzoli2002-07-022-3/+8
| | | | | | | | folder_browser_search_do_search to "query_changed" since we don't want the search to happen unless the user clicks "Find Now", for consistency. svn path=/trunk/; revision=17347
* (subitem_activated_cb): Don't emitEttore Perazzoli2002-07-022-3/+7
| | | | | | | | "search_activated" here. (e_search_bar_set_subitem_id): And not here either. (e_search_bar_set_text): Same. svn path=/trunk/; revision=17346
* (activate_by_subitems): Don't set the entry to beEttore Perazzoli2002-07-022-2/+7
| | | | | | an empty string here. svn path=/trunk/; revision=17345
* Added a bunch of tooltips.Ettore Perazzoli2002-07-022-3/+13
| | | | svn path=/trunk/; revision=17344
* New arg @tooltip; pass it toEttore Perazzoli2002-07-0213-8/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): New arg @tooltip; pass it to evolution_shell_component_add_user_creatable_item() [which now has a @tooltip arg]. * gui/component-factory.c (add_creatable_item): New arg @tooltip. Pass it to evolution_shell_component_add_user_creatable_item(), which now has a @tooltip arg. (create_object): Added tooltips. * component-factory.c (create_component): Pass a tooltip to evolution_shell_component_add_user_creatable_item. * e-shell-user-creatable-items-handler.c: New member tooltip in struct MenuItem. (ensure_menu_items): Initialize the tooltip member. (shell_view_view_changed_callback): Set the tooltip for the "New" button. (ensure_menu_xml): Set up the tooltip here as well. * evolution-shell-component.c: Add tooltip member to struct UserCreatableItemType. (user_creatable_item_type_new): New arg @tooltip. (evolution_shell_component_add_user_creatable_item): New arg @tooltip. (impl__get_userCreatableItemTypes): Put the tooltip in the struct as well. * e-shell-user-creatable-items-handler.c (setup_toolbar_button): Create a GtkTooltips object and attach it to the combo_button using gtk_object_set_data(). (shell_view_view_changed_callback): Set up a tooltip for the button, according to the default. * Evolution-ShellComponent.idl: Add a tooltip member to struct UserCreatableItemType. svn path=/trunk/; revision=17343
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-07-022-30/+27
| | | | | | | | 2002-07-03 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17341
* remove dependency on removed file camel/camel-pgp-context.hSean Atkinson2002-07-022-2/+5
| | | | | | | | | 002-07-02 Sean Atkinson <sean@cantab.net> * mail-preferences.c: remove dependency on removed file camel/camel-pgp-context.h svn path=/trunk/; revision=17340
* Make sure that cid is non-NULL.Jeffrey Stedfast2002-07-022-1/+6
| | | | | | | | | 2002-07-01 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_related): Make sure that cid is non-NULL. svn path=/trunk/; revision=17338
* Remove debugging message.Ettore Perazzoli2002-07-024-23/+39
| | | | | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Remove debugging message. * e-shell-view.c (setup_verb_sensitivity_for_folder): Set sensitivity of /commands/AddFolderToShortcutBar, /commands/OpenFolder and /commands/OpenFolderInNewWindow too, depending on whether the node that was right-clicked can be opened as a folder. * e-storage-set-view.c (popup_folder_menu): Pop up the right-click menu even if we are not clicking on a folder with a proper handler. svn path=/trunk/; revision=17337
* New member preparing_to_quit in EShellPrivate.Ettore Perazzoli2002-07-022-1/+22
| | | | | | | | | | (init): Initialize to FALSE. (e_shell_prepare_for_quit): Set preparing_to_quit to TRUE on entering, and set it to FALSE on return. (view_delete_event_cb): Don't call e_shell_prepare_for_quit() if preparing_for_quit is TRUE. svn path=/trunk/; revision=17336
* listen for timezone config change (property_change_cb): set the timezoneJP Rosevear2002-07-013-2/+31
| | | | | | | | | | | | | 2002-07-01 JP Rosevear <jpr@ximian.com> * gui/calendar-config.c (config_read): listen for timezone config change (property_change_cb): set the timezone if it changed elsewhere * gui/main.c (init_bonobo): call bonobo_activate because we make bonobo related calls before the bonobo_main call svn path=/trunk/; revision=17335
* don't unref selection_model (otherwise 3 clicks of "Show Supported Bases"Sean Atkinson2002-07-012-2/+6
| | | | | | | | | | 2002-06-27 Sean Atkinson <sean@cantab.net> * gui/component/addressbook-config.c (query_for_supported_bases): don't unref selection_model (otherwise 3 clicks of "Show Supported Bases" crashes if LDAP server isn't running). svn path=/trunk/; revision=17333
* Removed some conflict indicators i missed.Michael Zucci2002-07-011-1/+0
| | | | svn path=/trunk/; revision=17332
* Removed. The folder's deleted event isn't needed since we're listening toNot Zed2002-07-012-14/+12
| | | | | | | | | | | | | | 2002-07-01 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (folder_deleted): Removed. The folder's deleted event isn't needed since we're listening to the store's folder_deleted signal. Also, the code was wrong, it cleared the folder without disconnecting events, etc. See #16486, and probably others. (mail_note_folder): Dont hook onto deleted anymore. (unset_folder_info): Or unhook from it. svn path=/trunk/; revision=17331
* add pas-backend-summary.[ch].Chris Toshok2002-06-305-68/+1226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-29 Chris Toshok <toshok@ximian.com> * backend/pas/Makefile.am (libpas_a_SOURCES): add pas-backend-summary.[ch]. * backend/pas/pas-backend-file.c (string_to_dbt): move this to the top of the file so it can be used in.. (build_summary): loop over the db, adding cards ot the summary. (do_summary_query): call pas_backend_summary_search and loop over the returned id's looking them up in the db. (pas_backend_file_search): call pas_backend_summary_is_summary_query, and either call do_summary_query if it's a query over just the set of attributes in the summary or use the old, slow method if not. (pas_backend_file_process_create_card): call pas_backend_summary_add_card. (pas_backend_file_process_remove_card): call pas_backend_summary_remove_card. (pas_backend_file_process_modify_card): call remove_card/add_card. (pas_backend_file_load_uri): try to load the summary file, and if it doesn't exist create it. (pas_backend_file_destroy): unref the summary. * backend/pas/pas-backend-summary.[ch]: new files, reading and writing (and querying) summaries. svn path=/trunk/; revision=17330
* Don't skip over disabled accounts - put them in the folder tree too.Jeffrey Stedfast2002-06-293-9/+14
| | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Don't skip over disabled accounts - put them in the folder tree too. svn path=/trunk/; revision=17329
* (Categories): Added.Ettore Perazzoli2002-06-292-0/+7
| | | | svn path=/trunk/; revision=17328
* Fixage/updateageAaron Weber2002-06-292-43/+55
| | | | svn path=/trunk/; revision=17327
* (impl_Storage_updateFolder): Don't stopEttore Perazzoli2002-06-292-14/+12
| | | | | | | notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326
* Ooops. Fix date in ChangeLog.Ettore Perazzoli2002-06-291-1/+1
| | | | svn path=/trunk/; revision=17325
* *** empty log message ***Ettore Perazzoli2002-06-292-45/+133
| | | | svn path=/trunk/; revision=17324
* Fixes bug #27055.Jeffrey Stedfast2002-06-293-3/+22
| | | | | | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27055. * mail-accounts.c (account_add_finished): Unref the main accounts widget. (account_add_clicked): Ref the main accounts widget. (account_edit_finished): Unref the main accounts widget. (account_edit_clicked): Ref the main accounts widget. svn path=/trunk/; revision=17323
* Add this, to call e_summary_mail_get_info from an idle handler.Dan Winship2002-06-292-16/+31
| | | | | | | | | | * e-summary-mail.c (e_summary_mail_idle_get_info): Add this, to call e_summary_mail_get_info from an idle handler. (new_folder_cb, update_folder_cb): Use idle_get_info rather than making another corba call from inside the corba handler. (Fixes a three-way deadlock between mail, summary, and exchange.) svn path=/trunk/; revision=17322
* Don't use --no-auto-key-retrieve, this option has apparently beenJeffrey Stedfast2002-06-292-4/+16
| | | | | | | | | | 2002-06-28 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Don't use --no-auto-key-retrieve, this option has apparently been deprecated in gpg 1.0.7. svn path=/trunk/; revision=17321
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-19/+55
| | | | | | | | | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. (gpg_ctx_parse_status): In the case of a NODATA response from gpg, try to use the diagnostics that gpg may have written to its stderr. (gpg_verify): Check that the gpg process has not exited. (gpg_ctx_op_wait): Make sure we haven't already exited (as by gpg_ctx_op_is_exited()) and if we have, retrieve the exit status from the gpg context. svn path=/trunk/; revision=17320
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-3/+13
| | | | | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. (gpg_ctx_parse_status): In the case of a NODATA response from gpg, try to use the diagnostics that gpg may have written to its stderr. svn path=/trunk/; revision=17319
* Recursively delete any subfolders.Jeffrey Stedfast2002-06-282-12/+46
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Recursively delete any subfolders. svn path=/trunk/; revision=17318
* Update .po files.JP Rosevear2002-06-2838-138845/+185436
| | | | svn path=/trunk/; revision=17317
* Hack around a libtool/make problem that was causing libversit.a to beDan Winship2002-06-281-0/+6
| | | | | | | | * libversit/Makefile.am: Hack around a libtool/make problem that was causing libversit.a to be rebuilt at "make install" time, causing further relinking down the line. svn path=/trunk/; revision=17316
* Removed camel/camel-pgp-context.c and added camel-gpg-context.c andJeffrey Stedfast2002-06-282-1/+1
| | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed camel/camel-pgp-context.c and added camel-gpg-context.c and camel-multipart-encrypted.c. Also removed camel/camel-spoold-store.c svn path=/trunk/; revision=17314
* add spanish OMF fileAaron Weber2002-06-281-0/+16
| | | | svn path=/trunk/; revision=17312
* Loop on our reads while errno is EINTR or EAGAIN. Also make sure toJeffrey Stedfast2002-06-282-23/+20
| | | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. Also make sure to completely read stdout and stderr by keeping better state. svn path=/trunk/; revision=17311
* Removed camel/camel-pgp-context.c and added camel-gpg-context.c andJeffrey Stedfast2002-06-282-1/+7
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed camel/camel-pgp-context.c and added camel-gpg-context.c and camel-multipart-encrypted.c. svn path=/trunk/; revision=17310
* apply patch from owen taylorAaron Weber2002-06-274-10/+33
| | | | | | | | | | | | 2002-06-27 Aaron Weber <aaron@ximian.com> * C/evolution-C.omf: apply patch from owen taylor 2002-06-27 Aaron Weber <aaron@ximian.com> * evolution-no.omf: apply patch from otaylor. svn path=/trunk/; revision=17308
* Loop on our reads while errno is EINTR or EAGAIN.Jeffrey Stedfast2002-06-272-9/+25
| | | | | | | | | 2002-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while errno is EINTR or EAGAIN. svn path=/trunk/; revision=17307
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-272-47/+165
| | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. (e_msg_composer_new_with_message): Handle multipart/signed and multipart/encrypted parts by adding the (decrypted) content and setting the composer to pgp sign/encrypt the message when the user re-sends it. svn path=/trunk/; revision=17306
* updatedRadek Doulik2002-06-271-96/+98
| | | | svn path=/trunk/; revision=17305
* slight build fixesJeffrey Stedfast2002-06-273-19/+20
| | | | svn path=/trunk/; revision=17304
* Removed.Jeffrey Stedfast2002-06-277-1934/+41
| | | | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.[c,h]: Removed. * camel-pgp-mime.c (pgp_mime_part_sign_restore_part): Removed. (pgp_mime_part_sign_prepare_part): Removed. (camel_pgp_mime_part_sign): Removed. (camel_pgp_mime_part_verify): Removed. (camel_pgp_mime_part_encrypt): Removed. (camel_pgp_mime_part_decrypt): Removed. (camel_pgp_mime_is_rfc2015_signed): Documented. (camel_pgp_mime_is_rfc2015_encrypted): Same. svn path=/trunk/; revision=17303
* updatedRadek Doulik2002-06-271-63/+71
| | | | svn path=/trunk/; revision=17302
* Don't allow the pgp type to be anything except NONE or GPG.Jeffrey Stedfast2002-06-277-139/+80
| | | | | | | | | | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Don't allow the pgp type to be anything except NONE or GPG. * mail-preferences.c (mail_preferences_apply): Don't allow someone to use anything other than GnuPG. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): No need to handle pgp5 or pgp6 types anymore since we are no longer supporting them. Ding dong the witch is dead! * mail-format.c (handle_multipart_encrypted): Rewritten to use camel_multipart_encrypted_decrypt. * mail-crypto.c (mail_crypto_pgp_mime_part_verify): Removed. (mail_crypto_pgp_mime_part_encrypt): Removed. (mail_crypto_pgp_mime_part_decrypt): Are we seeing a trend yet? svn path=/trunk/; revision=17301
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-272-31/+56
| | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. svn path=/trunk/; revision=17300
* Oops, this needs to take a userid argument.Jeffrey Stedfast2002-06-273-5/+8
| | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt): Oops, this needs to take a userid argument. svn path=/trunk/; revision=17299
* remove the search-refining feature, which isn't actually true, i think.Aaron Weber2002-06-275-96/+73
| | | | | | | | | | | | | | | 2002-06-26 Aaron Weber <aaron@ximian.com> * C/usage-contact.sgml: remove the search-refining feature, which isn't actually true, i think. * C/apx-authors.sgml: update slightly. * C/apx-bugs.sgml: remove list of 1.1.x features. * C/usage-mainwindow.sgml: minor tweaks svn path=/trunk/; revision=17298
* Removed (never did anything anyway).Jeffrey Stedfast2002-06-275-240/+11
| | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_clearsign): Removed (never did anything anyway). * camel-pgp-context.c (pgp_clearsign): Removed. * camel-cipher-context.c (camel_cipher_clearsign): Removed unused method. svn path=/trunk/; revision=17297
* New class implementing the multipart/encrypted content type. ContainsJeffrey Stedfast2002-06-275-0/+420
| | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.[c,h]: New class implementing the multipart/encrypted content type. Contains methods for encrypting and decrypting a multipart/encrypted MIME object. svn path=/trunk/; revision=17296
* Check for NODATA too.Jeffrey Stedfast2002-06-273-2/+15
| | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_parse_status): Check for NODATA too. svn path=/trunk/; revision=17295
* Only let the dialog be opened onceIain Holmes2002-06-272-0/+20
| | | | svn path=/trunk/; revision=17294
* Fix crash on "broken" rdfsIain Holmes2002-06-272-0/+9
| | | | svn path=/trunk/; revision=17293
* Fix a typo in the Locations fileIain Holmes2002-06-273-9/+10
| | | | svn path=/trunk/; revision=17292
* Sort the states in the right orderIain Holmes2002-06-273-8/+12
| | | | svn path=/trunk/; revision=17291
* Fix bugs, make the folder list be a storage set view and add a delete url buttonIain Holmes2002-06-2610-66/+573
| | | | svn path=/trunk/; revision=17290
* Changes for an importer bug and to get the storagesetselector in the summaryIain Holmes2002-06-267-29/+216
| | | | svn path=/trunk/; revision=17289
* Fixes #25410Rodrigo Moya2002-06-262-0/+16
| | | | | | | | | | | | 2002-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #25410 * gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper cleanup on removal of clients. (alarm_notify_add_calendar): ditto. svn path=/trunk/; revision=17287
* Remove the #include for camel-spoold-store.hJeffrey Stedfast2002-06-262-1/+5
| | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c: Remove the #include for camel-spoold-store.h svn path=/trunk/; revision=17285
* Include <sys/time.h> for struct timeval.Not Zed2002-06-2622-2418/+1045
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-26 Not Zed <NotZed@Ximian.com> * camel-gpg-context.c: Include <sys/time.h> for struct timeval. * providers/local/camel-local-provider.c (camel_provider_module_init): Removed spoold provider. The spool provider does it now. 2002-06-25 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-folder.c (camel_spool_folder_new): Support a new xstatus option - folders update/honour the Status/X-Status headers in addition to X-Evolution. * providers/local/camel-local-summary.c (camel_local_summary_write_headers): If supplied with an additional status or xstatus arg, write a Status header and/or X-Status. Also fix the case of properly terminating the headers if an xev line isn't supplied. * providers/local/Makefile.am (libcamellocalinclude_HEADERS,SOURCES): Removed spoold-store.[ch]. * providers/local/camel-local-provider.c (camel_provider_module_init): For the spoold type, just use the spool store instead. * providers/local/camel-spool-store.h: Added a type field, so the 1 store can implement different types without having to subclass. * providers/local/camel-spool-store.c (camel_spool_store_get_toplevel_dir): Removed, inherits from local store now. (construct): If we're pointing to a file, treat it as mbox mode, otherwise treat it as 'elm' mode. (get_folder): Only test for INBOX in mbox mode. (get_folder_info_elm): (get_folder_info_mbox): Two alternatives for getting folder info, depending on the type of folder we're looking at. (get_folder_info_mbox): Make the url include the protocol. (scan_dir): " * providers/local/camel-spoold-store.c (camel_spoold_store_get_toplevel_dir): Removed, inherits from local store now. * camel-folder.c (get_message_user_tag): Dont use a g_return_if_fail for info==NULL. This is not an error. (set_message_user_tag): And same here. (set_message_user_flag): Sigh, and here. (get_message_user_flag): And here. (set_message_flags): and here ... (get_message_flags): Dum de dum, de done at last. * providers/local/camel-mbox-folder.c (mbox_get_message): Check for new messages whenever we retrieve one. In the common no-update case, this is a single stat. (mbox_get_message): If we need to rescan, then force a full rescan to make sure it does the right thing. (mbox_get_message): Cleanup the exception handling a bit, if we do get an error, propagate any folder changes anyway as well. (mbox_set_message_user_flag): Argh more of these stupid g_returns taht shouldn't be. (mbox_set_message_user_tag): Here too. (mbox_set_message_flags): If the read flag is being changed, mark it as an xevchange (i.e. Status line change). * providers/local/camel-mbox-summary.c (summary_rebuild): Merged into summary_update. (summary_update): Changed to allow it to update existing lists of messages without clearing out the summary. (mbox_summary_check): Dont clear the summary, just re-scan. (message_info_new): Attempt to support the 'Status: RO' elm/pine thing. (camel_mbox_summary_encode_status): (camel_mbox_summary_decode_status): Util functions for creating/parsing the Status line. (camel_mbox_summary_sync_mbox): Write out the status line if we're going to try support it. (camel_mbox_summary_xstatus): Implement option to control read/write of (x-)status. (message_info_new): Do x-status stuff based on run-time option. (camel_mbox_summary_sync_mbox): " (mbox_summary_add): If x-status enabled, then always add status/x-status headers to message. * camel-folder-summary.c (summary_assign_uid): If the messageinfo is already in the summary, AND is the same messageinfo, dont do anything, return a value to indicate this. (camel_folder_summary_add): Do nothing if this info already in the summary, so we can perform updates. 2002-06-24 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-summary.c (camel_local_summary_check_force): New method to force the next summary check to be a full check, set if a mismatch occurs. * camel-folder-summary.c (camel_folder_summary_load): If we have no summary path set, dont do any i/o, rather than abort. (camel_folder_summary_save): " (camel_folder_summary_header_load): " * providers/local/camel-spool-store.h: Inherit from camel mbox store, even if we override almost everything. * providers/local/camel-local-folder.c (camel_local_folder_construct): If the base path points to a file, use that as the folder path as well. * providers/local/camel-spool-folder.h: Inherit from camel-mbox-folder. * providers/local/camel-spool-summary.c (spool_summary_sync_full): Use camel_mbox_summary_sync_mbox to do most of the work. * providers/local/camel-spool-summary.[ch]: Make spool-summary inherit from mbox summary rather than foldersummary. * providers/local/camel-mbox-summary.c (mbox_summary_sync): Make sync_full/quick virtual methods. (camel_mbox_summary_sync_mbox): The full sync method put into a simple function that sync's from fd to fd. (mbox_summary_sync_full): Use summary_sync_mbox to do the real work. (mbox_summary_check): Create removed events if the folder gets cleared. Also, dont clear the summary before a rebuild, try to merge. svn path=/trunk/; revision=17284
* #include <sys/time.h>Jeffrey Stedfast2002-06-263-1/+5
| | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c: #include <sys/time.h> svn path=/trunk/; revision=17283
* more improvem,ent.Aaron Weber2002-06-262-20/+17
| | | | | | | | 2002-06-25 Aaron Weber <aaron@ximian.com> * C/config-prefs.sgml: more improvem,ent. svn path=/trunk/; revision=17281
* Also handle https urls.Jeffrey Stedfast2002-06-262-1/+3
| | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): Also handle https urls. svn path=/trunk/; revision=17280
* reorder the adding of creatable items so the default is a new contact, notChris Toshok2002-06-262-3/+9
| | | | | | | | | | 2002-06-25 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (create_component): reorder the adding of creatable items so the default is a new contact, not a new contact list. svn path=/trunk/; revision=17279
* Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision isJeffrey Stedfast2002-06-262-1/+7
| | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision is done for us. svn path=/trunk/; revision=17278
* Some compiler warning fixes.Jeffrey Stedfast2002-06-269-63/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_add_storage): Some compiler warning fixes. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Removed. (mail_crypto_get_pgp_cipher_context): New convenience function to construct a pgp cipher context. (mail_crypto_pgp_mime_part_verify): Use the new get_pgp_cipher_context function. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Here too. * mail-account-gui.c (mail_account_gui_new): Initialise the pgp_always_trust checkbox. (mail_account_gui_save): Get whether or not to always_trust the user's pgp keys. * mail-config.c (account_copy): Copy over the pgp_always_trust option. (config_read): Read in the always_trust option. (mail_config_write): Save the always_trust option. svn path=/trunk/; revision=17277
* Add example FAQ items in welcome email, as per danw's request in bug 18645Aaron Weber2002-06-252-11/+21
| | | | | | | | | 2002-06-25 Aaron Weber <aaron@ximian.com> * local/Inbox/mbox: Add example FAQ items in welcome email, as per danw's request in bug 18645 svn path=/trunk/; revision=17276
* plug leak and actually use the minimal comp we createJP Rosevear2002-06-252-1/+10
| | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): plug leak and actually use the minimal comp we create svn path=/trunk/; revision=17275
* add back protoJP Rosevear2002-06-2516-235/+625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.h: add back proto * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): add page needs_send signal * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17274
* remove source argument (get it from the dialog). (edit_source_clicked):Sean Atkinson2002-06-252-6/+25
| | | | | | | | | | | | 2002-06-21 Sean Atkinson <sean@cantab.net> * gui/component/addressbook-config.c (addressbook_edit_server_dialog): remove source argument (get it from the dialog). (edit_source_clicked): same. (sources_table_double_click): added to edit server by double-clicking. (ldap_dialog_new): use sources_table_double_click. svn path=/trunk/; revision=17272
* Return the option as --digest-algo=<micalg> (gpg_ctx_parse_status): DecodeJeffrey Stedfast2002-06-252-20/+82
| | | | | | | | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_hash_str): Return the option as --digest-algo=<micalg> (gpg_ctx_parse_status): Decode more status information and keep track of trust and such. (gpg_ctx_op_complete): Make sure we aren't waiting for gpg to write data to stdout (such as encrypted/decrypted data or a signature). (gpg_encrypt): Remove the fejj@stampede.org hard-coded value (which had only meant to be for testing). svn path=/trunk/; revision=17271
* implemented camel_gpg_context_set_always_trust()Jeffrey Stedfast2002-06-252-0/+19
| | | | svn path=/trunk/; revision=17269
* Use --command-fd rather than --passphrase-fd since what we really want isJeffrey Stedfast2002-06-252-1/+8
| | | | | | | | | | | | | 2002-06-24 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Use --command-fd rather than --passphrase-fd since what we really want is an interactive mode (besides, --passphrase-fd requires a passphrase to be sent before --status-fd will send a NEED_PASSPHRASE status message). (gpg_ctx_parse_status): When we encounter a BAD_PASSPHRASE, tell the session to uncache it. svn path=/trunk/; revision=17268
* Use --command-fd rather than --passphrase-fd since what we really want isJeffrey Stedfast2002-06-252-100/+76
| | | | | | | | | | | 2002-06-24 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_get_argv): Use --command-fd rather than --passphrase-fd since what we really want is an interactive mode (besides, --passphrase-fd requires a passphrase to be sent before --status-fd will send a NEED_PASSPHRASE status message). svn path=/trunk/; revision=17267
* overhaul. still need to improve examples.Aaron Weber2002-06-255-276/+254
| | | | | | | | | | | | 2002-06-24 Aaron Weber <aaron@ximian.com> * C/config-prefs.sgml: overhaul. still need to improve examples. * C/usage-mail.sgml: link to somewhere i have deleted. * C/usage-contact.sgml: fix sharing section more svn path=/trunk/; revision=17266
* (impl_clicked): PassEttore Perazzoli2002-06-252-1/+7
| | | | | | | default_type to e_shell_show_folder_creation_dialog() properly. [Patch by Christian Kreibich <christian@whoop.org>.] svn path=/trunk/; revision=17265
* updatedRadek Doulik2002-06-251-165/+142
| | | | svn path=/trunk/; revision=17264
* Check for ERRSIG also. (gpg_ctx_op_step): Don't try writing a passphraseJeffrey Stedfast2002-06-242-6/+14
| | | | | | | | | | | 2002-06-23 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_parse_status): Check for ERRSIG also. (gpg_ctx_op_step): Don't try writing a passphrase unless our operation requires it. svn path=/trunk/; revision=17263
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-06-232-1079/+1283
| | | | | | | | 2002-06-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17259
* s/jeff/jeffreyJeffrey Stedfast2002-06-231-1/+1
| | | | svn path=/trunk/; revision=17258
* Return -1 on error. (gpg_decrypt): Same. (gpg_sign): Again here.Jeffrey Stedfast2002-06-233-56/+117
| | | | | | | | | | | | | | | 2002-06-22 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_encrypt): Return -1 on error. (gpg_decrypt): Same. (gpg_sign): Again here. (gpg_ctx_op_step): Only attenmpt to read from the status-fd if we are not already 'complete'. * camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Flush the filtered stream. svn path=/trunk/; revision=17257
* more fixes, now verifying works and signing almost works as well, except gpg ↵Jeffrey Stedfast2002-06-221-7/+30
| | | | | | is running out of memory for me? not sure if that is a gpg or evo bug svn path=/trunk/; revision=17256
* yay, I get to hold more state because Unix pipes suck so badly. This isJeffrey Stedfast2002-06-221-101/+220
| | | | | | | | getting very close to working now... I think that as soon as I debug this segfault, it will work. Probably dereferencing a NULL pointer or something stupid like that. svn path=/trunk/; revision=17255
* Use the new gpg cipher context rather than the old pgp context.Jeffrey Stedfast2002-06-222-22/+30
| | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new gpg cipher context rather than the old pgp context. svn path=/trunk/; revision=17254
* If the pgp type is gpg, then use the gpg context.Jeffrey Stedfast2002-06-224-32/+88
| | | | | | | | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_verify): If the pgp type is gpg, then use the gpg context. (mail_crypto_pgp_mime_part_sign): Same. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Same. * mail-format.c (handle_multipart_signed): Use the new gpg cipher context. svn path=/trunk/; revision=17253
* added camel_gpg_context_new which I had forgotten beforeJeffrey Stedfast2002-06-221-0/+28
| | | | svn path=/trunk/; revision=17252
* New source files implementing the CamelCipherContext class for gnupg.Jeffrey Stedfast2002-06-229-32/+1286
| | | | | | | | | | | | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.[c,h]: New source files implementing the CamelCipherContext class for gnupg. * camel-pgp-context.c (camel_pgp_context_new): Return a CamelCipherContext. * camel-pgp-mime.c (camel_pgp_mime_part_decrypt): Take a CamelCipherContext argument rather than a CamelPgpContext since we now have a CamelGpgContext also. (camel_pgp_mime_part_encrypt): Same. (camel_pgp_mime_part_verify): Same. (camel_pgp_mime_part_sign): Same. svn path=/trunk/; revision=17251
* Updated to support searching as well as making it use CamelDigestSummary.Jeffrey Stedfast2002-06-215-106/+325
| | | | | | | | | | | | | | | | | 2002-06-20 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-folder.c: Updated to support searching as well as making it use CamelDigestSummary. * camel-digest-summary.[c,h]: New class to handle the summary for CamelDigestFolder. * camel-tcp-stream-ssl.c (set_errno): PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN. (stream_connect): Reset the PR_Poll() timeout back to 2 minutes as this wasn't the problem afterall. svn path=/trunk/; revision=17249
* Ignore more files. Removed obsolete files. Add missing files, removeAbel Cheung2002-06-216-118/+14
| | | | | | | | | | | | 2002-06-21 Abel Cheung <maddog@linux.org.hk> * .cvsignore: Ignore more files. * Makefile.i18npatch, update.sh: Removed obsolete files. * POTFILES.in: Add missing files, remove entries already present in POTFILES.skip. * POTFILES.skip: Remove non-existant entries. svn path=/trunk/; revision=17248
* PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN.Jeffrey Stedfast2002-06-202-2/+9
| | | | | | | | | | | 2002-06-20 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (set_errno): PR_IO_TIMEOUT_ERROR should map to ETIMEDOUT and not EAGAIN. (stream_connect): Reset the PR_Poll() timeout back to 2 minutes as this wasn't the problem afterall. svn path=/trunk/; revision=17246
* Drop back to initial state if we came from eof state.Not Zed2002-06-202-1/+7
| | | | | | | | | 2002-06-19 Not Zed <NotZed@Ximian.com> * camel-mime-parser.c (folder_scan_drop_step): Drop back to initial state if we came from eof state. svn path=/trunk/; revision=17245
* don't convert text to html twiceRadek Doulik2002-06-202-7/+5
| | | | | | | | | 2002-06-19 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): don't convert text to html twice svn path=/trunk/; revision=17239
* Remove #include <config.h> Same Same gtk_widget_show() all items in theKjartan Maraas2002-06-207-21/+11
| | | | | | | | | | | | | | 2002-06-19 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.h: Remove #include <config.h> * e-shell-about-box.h: Same * e-history.h: Same * e-shell-importer.c: gtk_widget_show() all items in the optionmenu before showing it. * e-shell-offline-handler.h: Remove #include <config.h> * e-shell-settings-dialog.h: Same. svn path=/trunk/; revision=17235
* Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to beJeffrey Stedfast2002-06-202-1/+5
| | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_connect): Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to be 2 minutes (plus it blocks my connection at home for far too long). svn path=/trunk/; revision=17234
* Make sure we hold the command_lock before accessing current_folder.Jeffrey Stedfast2002-06-203-2/+35
| | | | | | | | | | | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_refresh_info): Make sure we hold the command_lock before accessing current_folder. (imap_append_online): Same. (imap_transfer_online): Same. * providers/imap/camel-imap-store.c (delete_folder): We need to hold the command_lock before we can set the current_folder to NULL. (rename_folder): Same. (get_folder_info_online): We need to make sure we hold the command_lock in order to use current_folder. (everywhere): Same. svn path=/trunk/; revision=17233
* Don't bother trying to authenticate (and thus don't throw up an errorJeffrey Stedfast2002-06-193-6/+19
| | | | | | | | | | | | | | | | 2002-06-19 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): Don't bother trying to authenticate (and thus don't throw up an error dialog) unless the server is an ESMTP server and supports authentication. * camel-sasl-plain.c: Change the user-friendly name to PLAIN, this is what it should be. Not "Password" because user's immediately think that they need authentication when they see "Password" even if they don't need it at all. svn path=/trunk/; revision=17232
* update for new zonesJP Rosevear2002-06-192-77/+4
| | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones svn path=/trunk/; revision=17231
* Reverse unintended changeJP Rosevear2002-06-191-0/+6
| | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Reverse unintended change * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=17229
* New convenience function to find the first parent node that is visible andJeffrey Stedfast2002-06-193-11/+41
| | | | | | | | | | | | | | | | | 2002-06-18 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_change_first_visible_parent): New convenience function to find the first parent node that is visible and emit a changed signal on it. (main_folder_changed): If a message changed, call change_first_visible_parent() in case we are in a collapsed thread so that our first visible parent gets updated as well. Fixes bug #26263. * component-factory.c (storage_remove_folder): Simplify the error checking. svn path=/trunk/; revision=17228
* update for new zonesJP Rosevear2002-06-191-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones 2002-06-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17226
* (build_items): Put the numbers in front of theEttore Perazzoli2002-06-192-1/+6
| | | | | | rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
* Added info about non-organizer changes to calendar events.Aaron Weber2002-06-191-8/+34
| | | | svn path=/trunk/; revision=17223
* check for libsoftokn3 if we couldn't link the first timeJP Rosevear2002-06-192-0/+10
| | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * configure.in: check for libsoftokn3 if we couldn't link the first time svn path=/trunk/; revision=17220
* Patch by clahey.JP Rosevear2002-06-181-1/+37
| | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> Patch by clahey. * e-table.c (et_get_arg): get the use_click_to_add value (et_set_arg): set the use_click_to_add_value, and either display the item or destroy it (e_table_class_init): add the use_click_to_add arg svn path=/trunk/; revision=17218
* Update the freeze state of the new source folder.Jeffrey Stedfast2002-06-183-4/+37
| | | | | | | | | | | 2002-06-17 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-folder.c (camel_vee_folder_add_folder): Update the freeze state of the new source folder. (camel_vee_folder_remove_folder): Undo any freeze state that we have imposed on this source folder. svn path=/trunk/; revision=17216
* Fixes wombat crash (for JP and myself)Rodrigo Moya2002-06-182-5/+14
| | | | | | | | | | | | | 2002-06-17 Rodrigo Moya <rodrigo@ximian.com> Fixes wombat crash (for JP and myself) * gui/gnome-cal.c (gnome_calendar_open): don't call add_alarms here, since the client is not yet attached to the backend, and the alarm daemon does unref the client before creating a new one. (client_cal_opened_cb): call add_alarms here. svn path=/trunk/; revision=17215
* New convenience function to get a cached normalised string.Jeffrey Stedfast2002-06-184-72/+164
| | | | | | | | | | | | | | | | | | 2002-06-17 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (get_normalised_string): New convenience function to get a cached normalised string. (subject_compare): Removed, as we strip Re:'s when normalising the subject strings now. (ml_tree_value_at): Added support for the normalised columns (used for a sorting optimisation). (message_list_init): Initialise normalised_hash. (message_list_destroy): Destroy normalised_hash. (message_list_create_extras): Removed subject_compare. (main_folder_changed): De-cache normalised strings for any removed uids. svn path=/trunk/; revision=17213
* pass NULL to e_contact_list_save_as. modality sucks. fixes broken build.Chris Toshok2002-06-182-4/+2
| | | | | | | | | | | 2002-06-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): pass NULL to e_contact_list_save_as. modality sucks. fixes broken build. (save_as): same. svn path=/trunk/; revision=17212
* pass NULL to e_contact_list_save_as. modality sucks. fixes broken build.Chris Toshok2002-06-181-0/+9
| | | | | | | | | | | | | 2002-06-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): pass NULL to e_contact_list_save_as. modality sucks. fixes broken build. (save_as): same. * gui/widgets/e-addressbook-reflow-adapter.c (save_as): same. svn path=/trunk/; revision=17210
* remove the camel-remote-store private structJeffrey Stedfast2002-06-181-17/+1
| | | | svn path=/trunk/; revision=17209
* If we dont support searching, dont try to.Not Zed2002-06-173-2/+11
| | | | | | | | | 2002-06-17 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regen): If we dont support searching, dont try to. svn path=/trunk/; revision=17208
* Use connect_while_alive, so we're not called after we've quit. See bugNot Zed2002-06-172-4/+10
| | | | | | | | | | 2002-06-07 Not Zed <NotZed@Ximian.com> * e-dialog-utils.c (e_gnome_warning_dialog_parented): (e_gnome_ok_cancel_dialog_parented): Use connect_while_alive, so we're not called after we've quit. See bug #15397. svn path=/trunk/; revision=17207
* updatedRadek Doulik2002-06-171-599/+734
| | | | svn path=/trunk/; revision=17204
* Edit the view after appending it to the model.Christopher James Lahey2002-06-171-0/+1
| | | | | | | | | 2002-06-16 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): Edit the view after appending it to the model. svn path=/trunk/; revision=17203
* Updated Slovenian translationAndraz Tori2002-06-161-2/+2
| | | | svn path=/trunk/; revision=17202
* [ fixes bug #26130 ] pass ce->app as parent_window.Chris Toshok2002-06-165-8/+37
| | | | | | | | | | | | | | | | | | | | | 2002-06-15 Chris Toshok <toshok@ximian.com> [ fixes bug #26130 ] * gui/contact-editor/e-contact-editor.c (file_save_as_cb): pass ce->app as parent_window. * gui/contact-list-editor/e-contact-list-editor.c (file_save_as_cb): same . * gui/contact-editor/e-contact-save-as.c (e_contact_list_save_as): if a parent_window is specified, the file selector should be modal/transient for that window. (e_contact_save_as): same. * gui/contact-editor/e-contact-save-as.h: track prototype changes (addition of GtkWindow *parent_window to both calls.) svn path=/trunk/; revision=17199
* use ldap_unbind_ext. (create_card_handler): don't leak the new vcard.Chris Toshok2002-06-162-6/+22
| | | | | | | | | | | 2002-06-15 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use ldap_unbind_ext. (create_card_handler): don't leak the new vcard. (pas_backend_ldap_process_authenticate_user): don't leak the dn. svn path=/trunk/; revision=17197
* up the max threshold to 3000 cards from 1000 cards.. seems to improveChris Toshok2002-06-162-4/+13
| | | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search): up the max threshold to 3000 cards from 1000 cards.. seems to improve performance a bit. also remove the g_list_reverse since it doesn't matter what order the cards arrive to the gui. (pas_backend_file_changes): plug memory leaks. svn path=/trunk/; revision=17196
* fix a braindead typo that caused us to leak strings in certainChris Toshok2002-06-161-1/+1
| | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * libversit/vobject.c (unUseStr): fix a braindead typo that caused us to leak strings in certain circumstances (when the string being freed was second in the list, the head of the list would get lost.) svn path=/trunk/; revision=17194
* fix a braindead typo that caused us to leak strings in certainChris Toshok2002-06-161-0/+7
| | | | | | | | | | | 2002-06-14 Chris Toshok <toshok@ximian.com> * libversit/vobject.c (unUseStr): fix a braindead typo that caused us to leak strings in certain circumstances (when the string being freed was second in the list, the head of the list would get lost.) svn path=/trunk/; revision=17193
* Made "" compare as not equal to "" for addresses. (use_common_book_cb):Christopher James Lahey2002-06-152-4/+14
| | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-compare.c (compare_email_addresses): Made "" compare as not equal to "" for addresses. (use_common_book_cb): Don't bother checking for nickname here since we don't use it as a match later. Don't add "" as an address to the list of query parts. svn path=/trunk/; revision=17191
* Don't draw or interact with the popup button if a cell isn't editableChristopher James Lahey2002-06-159-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact with the popup button if a cell isn't editable (based on a patch by JPR.) * e-table-col.c, e-table-col.h: Added the compare_col field to this structure. Added a GtkArg to set it. * e-table-column-specification.c, e-table-column-specification.h: Added the compare_col field here. Made it load properly from xml. * e-table-sorting-utils.c: Sort based on the compare_col in the ETableCol instead of the col_idx. * e-table-utils.c (et_col_spec_to_col): Set the compare_col field in the ETableCol properly. * e-table.c, e-table.h: Removed the drag_get_data_row and drag_get_data_col fields since they're not used any longer. (e_table_construct): If specification loading fails, return a NULL ETable instead of just ignoring it. (e_table_drag_highlight): Only destroy table->drop_highlight if it exists. svn path=/trunk/; revision=17190
* Freeze source folders. (vee_thaw): Thaw all source folders. Fixes bugJeffrey Stedfast2002-06-152-0/+56
| | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-folder.c (vee_freeze): Freeze source folders. (vee_thaw): Thaw all source folders. Fixes bug #24317. svn path=/trunk/; revision=17189
* Unlock the command_lock after each UID STORE command so that otherJeffrey Stedfast2002-06-152-5/+14
| | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Unlock the command_lock after each UID STORE command so that other (probably more important) threads can send their requests. svn path=/trunk/; revision=17188
* Fixed compiler warnings.Jeffrey Stedfast2002-06-1510-15/+31
| | | | | | | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-arg.c: * camel-disco-diary.c: * camel-index-control.c: * camel-mime-part.c: * camel-pgp-mime.c: * camel-store.c: * camel-tcp-stream-ssl.c: * camel-text-index.c: Fixed compiler warnings. svn path=/trunk/; revision=17187
* Updated to use ctx->sign_protocol rather than ctx->protocol.Jeffrey Stedfast2002-06-155-10/+22
| | | | | | | | | | | | | | 2002-06-14 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-signed.c: Updated to use ctx->sign_protocol rather than ctx->protocol. * camel-cipher-context.h: Add an ecnryption protocol member. * camel-pgp-context.c (camel_pgp_context_init): Set the encryption protocol. svn path=/trunk/; revision=17186
* Don't enable fields if the editor isn't editable and theChristopher James Lahey2002-06-142-0/+11
| | | | | | | | | | | 2002-06-13 Christopher James Lahey <clahey@ximian.com> * gui/contact-editor/e-contact-editor.c (enable_writable_fields): Don't enable fields if the editor isn't editable and the widget_field_mappings lists this field as being desensitize for read only. svn path=/trunk/; revision=17184
* UpdatedAndrew V. Samoilov2002-06-131-43/+29
| | | | svn path=/trunk/; revision=17183
* Use utf-8 instead of utf8 to avoid msgfmt's warning.Andrew V. Samoilov2002-06-132-155/+77
| | | | svn path=/trunk/; revision=17182
* Updated Ukrainian translation.Andrew V. Samoilov2002-06-132-143/+73
| | | | | | * uk.po: Updated Ukrainian translation. svn path=/trunk/; revision=17181
* Updated Russian translation.Andrew V. Samoilov2002-06-131-351/+148
| | | | | | * ru.po: Updated Russian translation. svn path=/trunk/; revision=17180
* Updated Russian translation.Andrew V. Samoilov2002-06-131-0/+4
| | | | | | * ru.po: Updated Russian translation. svn path=/trunk/; revision=17179
* added timeout_id to LoadedClient structure, to keep track of the timeoutRodrigo Moya2002-06-132-26/+33
| | | | | | | | | | | | | | 2002-06-12 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify.c: added timeout_id to LoadedClient structure, to keep track of the timeout function. (retry_timeout_cb): don't use RetryData, but the LoadedClient. (cal_opened_cb): ditto, and assigned lc->timeout_id to the return value of g_timeout_add(). (alarm_notify_add_calendar): destroy the timeout callback when destroying the LoadedClient structure. svn path=/trunk/; revision=17178
* Free the uri_string once we're done with it.Jeffrey Stedfast2002-06-132-1/+8
| | | | | | | | | 2002-06-12 Jeffrey Stedfast <fejj@ximian.com> * pcs/cal-factory.c (open_fn): Free the uri_string once we're done with it. svn path=/trunk/; revision=17176
* Fix a typo.Kjartan Maraas2002-06-132-1/+5
| | | | | | | | 2002-06-12 Kjartan Maraas <kmaraas@gnome.org> * gui/dialogs/cal-prefs-dialog.glade: Fix a typo. svn path=/trunk/; revision=17174
* [ fixes bug #17332 ] we shouldn't ever return NULL here. in error cases weChris Toshok2002-06-122-1/+8
| | | | | | | | | | | 2002-06-11 Chris Toshok <toshok@ximian.com> [ fixes bug #17332 ] * backend/ebook/e-book.c (e_book_get_static_capabilities): we shouldn't ever return NULL here. in error cases we need to return g_strdup(""); svn path=/trunk/; revision=17173
* Made double clicking on read only folders not do anything.Christopher James Lahey2002-06-122-8/+14
| | | | | | | | | 2002-06-11 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c (e_minicard_view_event): Made double clicking on read only folders not do anything. svn path=/trunk/; revision=17171
* Move m->complete = TRUE; to within the cancel-check block, this wayJeffrey Stedfast2002-06-122-2/+9
| | | | | | | | | | | 2002-06-11 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (regen_list_regen): Move m->complete = TRUE; to within the cancel-check block, this way complete only ever gets set to TRUE if we weren't cancelled. I assume this is how it was supposed to work. svn path=/trunk/; revision=17169
* removed already loaded client when asked to be opened again, and *really*Rodrigo Moya2002-06-122-11/+13
| | | | | | | | | | 2002-06-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed already loaded client when asked to be opened again, and *really* re-open it again. svn path=/trunk/; revision=17167
* UpdatedAndrew V. Samoilov2002-06-112-447/+310
| | | | svn path=/trunk/; revision=17166
* If we dont get a folder, dont try and get details off it. Should get ridNot Zed2002-06-114-43/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-11 Not Zed <NotZed@Ximian.com> * folder-info.c (do_get_info): If we dont get a folder, dont try and get details off it. Should get rid of most of those annoying summary warnings, but not the cause of them. 2002-06-06 Not Zed <NotZed@Ximian.com> * message-list.c (mail_regen_list): Keep track of the regeneration request in a list. (regen_list_free): Remove the request from the regenreation list. (message_list_set_folder): If there are any outstanding regneration requests, cancel them. (regen_list_regened): If we were cancelled, do nothing. (regen_list_regen): If we were cancelled, shortcut processing. This is all for #23571. * message-list.c (regen_list_regen): Change the way we calculate the hide deleted messages and tree view options. Do it based on a search and uid's rather than a summary. (regen_list_regened): Handle changes to tree storage. (mail_regen_list): The tree is now stored between updates, so we can update the tree structure incrementally. This blows out memory use some however. We need an etree that uses this as its model directly? (message_list_destroy): Free the thread tree. (message_list_set_folder): Clear the thread tree when changing folder. svn path=/trunk/; revision=17165
* Our parent class is camel_vee_folder, not camel_folder, fix setting ofNot Zed2002-06-114-180/+278
| | | | | | | | | | | | | | | | | | | | | | | 2002-06-11 Not Zed <NotZed@Ximian.com> * camel-vtrash-folder.c (camel_vtrash_folder_class_init): Our parent class is camel_vee_folder, not camel_folder, fix setting of parent folder (unused anyway, but removes a run-time warning). 2002-06-06 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (thread_summary): Do the work here. (camel_folder_thread_messages_remove): Implement. Remove some uid's from the tree. Disalbe from build, for now. (remove_uid_node_rec): Actually do the work. (camel_folder_thread_messages_add): Implement. Add some summary items to the tree. Disable from build though. (camel_folder_thread_messages_apply): Make a thread tree built using camel_folder_thread_new() map to a new set of uids, preserving some order. Meant primarily to manage deleted + added uids in a user-friendly manner. svn path=/trunk/; revision=17164
* Comment out the code to add/remove the store to the folder-tree when itJeffrey Stedfast2002-06-113-4/+11
| | | | | | | | | | 2002-06-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Comment out the code to add/remove the store to the folder-tree when it gets enabled/disabled. svn path=/trunk/; revision=17162
* call mail_config_init to be sure we have the db, save auto_signature asRadek Doulik2002-06-113-1/+11
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_write_account_sig): call mail_config_init to be sure we have the db, save auto_signature as well svn path=/trunk/; revision=17161
* added "Set as default" menu itemRadek Doulik2002-06-114-14/+92
| | | | | | | | | | | | | | 2002-06-10 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): added "Set as default" menu item * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from_omenu): new method (e_msg_composer_hdrs_set_from_account): use e_msg_composer_hdrs_get_from_omenu svn path=/trunk/; revision=17160
* Made expand_uri a bit more robust and readable.Christopher James Lahey2002-06-113-18/+33
| | | | | | | | | | | | | | 2002-06-10 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-book-util.c (e_book_expand_uri): Made expand_uri a bit more robust and readable. (e_book_get_default_book_uri): Made e_book_get_default_book_uri use e_book_expand_uri if using the bonobo_config value. * gui/component/e-address-popup.c (start_query): Handle the failure state here by acting as if there are no matches. svn path=/trunk/; revision=17159
* If we are doing Reply-to-All, do not include any of the user's emailJeffrey Stedfast2002-06-112-55/+82
| | | | | | | | | | | 2002-06-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are doing Reply-to-All, do not include any of the user's email accounts in the To: field. If, after this, the To: field is empty - then promote the first recipient in the Cc: list to the To: field. svn path=/trunk/; revision=17158
* Updated Hungarian translation.Andras Timar2002-06-112-1636/+1585
| | | | | | | | 2002-06-09 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=17157
* some of this was shamefully inaccurate.Aaron Weber2002-06-114-83/+67
| | | | | | | | | | 2002-06-10 Aaron Weber <aaron@ximian.com> * C/usage-contact.sgml: some of this was shamefully inaccurate. * C/preface.sgml: add original location. svn path=/trunk/; revision=17156
* updatedRadek Doulik2002-06-101-83/+81
| | | | svn path=/trunk/; revision=17154
* Use CAMEL_EXCEPTION_SYSTEM rather than '1' for clarity.Jeffrey Stedfast2002-06-092-1/+6
| | | | | | | | | 2002-06-09 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-signed.c (camel_multipart_signed_verify): Use CAMEL_EXCEPTION_SYSTEM rather than '1' for clarity. svn path=/trunk/; revision=17151
* hook this to cancel button in signature script dialogRadek Doulik2002-06-082-0/+10
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add_script_cancel): hook this to cancel button in signature script dialog svn path=/trunk/; revision=17150
* Updated Slovenian translationAndraz Tori2002-06-081-4243/+3292
| | | | svn path=/trunk/; revision=17149
* fix some typos, set label usize to 500, -2 (menu_help): added help link toRadek Doulik2002-06-082-2/+20
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): fix some typos, set label usize to 500, -2 (menu_help): added help link to Help menu svn path=/trunk/; revision=17148
* script signaturesRadek Doulik2002-06-086-191/+310
| | | | svn path=/trunk/; revision=17144
* use new script signature interfaceRadek Doulik2002-06-082-6/+13
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): use new script signature interface svn path=/trunk/; revision=17143
* Up the timeout on the connect code to 2 minutes.Jeffrey Stedfast2002-06-072-2/+9
| | | | | | | | | 2002-06-07 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_connect): Up the timeout on the connect code to 2 minutes. svn path=/trunk/; revision=17140
* Duh! The protocol is application/pgp-signature. TODO: need to have aNot Zed2002-06-071-1/+1
| | | | | | | | | | 2002-06-07 Not Zed <NotZed@Ximian.com> * camel-pgp-context.c (camel_pgp_context_init): Duh! The protocol is application/pgp-signature. TODO: need to have a signed and an encrypted protocol specified separately. svn path=/trunk/; revision=17139
* If this account is not a completely new account (ie, it is an editedJeffrey Stedfast2002-06-074-7/+92
| | | | | | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): If this account is not a completely new account (ie, it is an edited account), then remove any trace of it from the shell storages. If the new account belongs in the folder-tree, add it to the list of storages. * component-factory.c (mail_add_storage): New function to add a single storage. svn path=/trunk/; revision=17138
* Parse "From: Dan Winship <danw>" (with no domain) in the way the senderDan Winship2002-06-072-1/+7
| | | | | | | | * camel-mime-utils.c (header_decode_mailbox): Parse "From: Dan Winship <danw>" (with no domain) in the way the sender meant it, even though it's completely wrong. svn path=/trunk/; revision=17137
* Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hboxJeffrey Stedfast2002-06-072-1/+7
| | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hbox containing the GtkOptionMenu. svn path=/trunk/; revision=17136
* add a 'stop' menu item (fixes ximian #17242)jacob berkman2002-06-073-0/+8
| | | | | | | | | | 2002-06-06 jacob berkman <jacob@ximian.com> * evolution-addressbook.xml: * evolution-mail-global.xml: add a 'stop' menu item (fixes ximian #17242) svn path=/trunk/; revision=17135
* Remove the customize toolbar thingy since Michael said that this would fixJeffrey Stedfast2002-06-073-10/+21
| | | | | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (setup_ui): Remove the customize toolbar thingy since Michael said that this would fix bug #17952. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): Clean up the logic in this. For one, we don't need to do strstr using the account address (wtf??). svn path=/trunk/; revision=17134
* disable edit and delete when there are no signatures definedRadek Doulik2002-06-072-0/+9
| | | | | | | | | 2002-06-06 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): disable edit and delete when there are no signatures defined svn path=/trunk/; revision=17133
* enhanced signature editorRadek Doulik2002-06-065-18/+88
| | | | svn path=/trunk/; revision=17132
* Remove the CONF_DEFAULT_PATH entry, as this is handled by the url configNot Zed2002-06-0610-38/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-04 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-provider.c: Remove the CONF_DEFAULT_PATH entry, as this is handled by the url config stuff. This made it basically impossible to configure any local folder from the gui. * providers/local/camel-local-folder.c (local_refresh_info): Force a refresh. Should work for all local folders to force them to refresh. * providers/local/camel-maildir-folder.c (maildir_refresh_info): Removed, moved into camel-local-folder. * providers/local/camel-mh-summary.c (mh_summary_next_uid_string): Once we assign or get a uid, tell the summary of this, so the next uid we get will be higher than any previously. * camel-object.c (camel_object_ref, camel_object_unref): I got sick of casting, these now take void * like they should, and perform their own run-time type checking. * providers/local/camel-mh-store.c (recursive_scan): Changed to use stat, not lstat (*shrug* maybe someone wants to softlink their maildir tree?). (inode_hash): (inode_equal): (inode_free): Copied from camel-maildir store (should put into camel-local-store or utils?). (recursive_scan): Changed to check for re-visiting inodes. Also, it builds the tree itself, rather than using folder_info_build. (add_folder): Changed to folder_info_new. (recursive_scan): Properly honour the recursive flag. Also, lookup unread count from folder. (folder_info_new): Init unread message count to -1, since we dont know yet. (folder_info_new): Take the name as an argument, and perform the merging here. (folders_update): Util func to add/remove folders from .folders file. I'm assuming its sorted. (get_folder): Add the folder to .folders if we created a new one, and if it exists. (delete_folder): Remove from .folders, etc. (folders_scan): If we have a .folders file, read and use that instead. (recursive_scan): Handle scanning from a particular directory properly. (rename_folder): Implement so we can track any changes to the .folders file if its turned on. ** Applied patch below from Greg Hudson. 2002-05-10 Greg Hudson <ghudson@mit.edu> * camel-mh-store.c (get_inbox, get_folder_info, recursive_scan, add_folder): Implement support for MH stores. * camel-mh-summary.c (mh_summary_check, sort_uid_cmp): Sort MH messages by message number (uid), like we sort maildir messages by date. * camel-local-provider.c (mh_provider): Turn on source and store flags. svn path=/trunk/; revision=17130
* Keep track of the regeneration request in a list. (regen_list_free):Not Zed2002-06-063-18/+56
| | | | | | | | | | | | | | | 2002-06-06 Not Zed <NotZed@Ximian.com> * message-list.c (mail_regen_list): Keep track of the regeneration request in a list. (regen_list_free): Remove the request from the regenreation list. (message_list_set_folder): If there are any outstanding regneration requests, cancel them. (regen_list_regened): If we were cancelled, do nothing. (regen_list_regen): If we were cancelled, shortcut processing. This is all for #23571. svn path=/trunk/; revision=17129
* Avoid reentrancy during e_tree_selection_model_foreach. Fixes Ximian bugChristopher James Lahey2002-06-062-9/+45
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-summary-shown.c (maybe_move_to_shown, add_clicked, remove_from_shown, remove_clicked): Avoid reentrancy during e_tree_selection_model_foreach. Fixes Ximian bug #24987. svn path=/trunk/; revision=17128
* Don't forget to free the date string buffer.Jeffrey Stedfast2002-06-062-1/+7
| | | | | | | | | 2002-06-05 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_rfc822): Don't forget to free the date string buffer. svn path=/trunk/; revision=17127
* put option menu to hbox to make space for signatures menuRadek Doulik2002-06-065-100/+114
| | | | | | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): put option menu to hbox to make space for signatures menu (e_msg_composer_hdrs_get_from_hbox): new helper function * e-msg-composer.c: moved signatures from menu to option menu next to From: svn path=/trunk/; revision=17126
* Call e_minicard_selected in the GDK_BUTTON_RELEASE case here.Christopher James Lahey2002-06-062-0/+14
| | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard.c (e_minicard_event): Call e_minicard_selected in the GDK_BUTTON_RELEASE case here. (e_minicard_drag_begin): Set E_REFLOW (parent)->maybe_in_drag = FALSE if it's an EReflow. svn path=/trunk/; revision=17124
* Changed the required version of gal to 0.19.99.17.Christopher James Lahey2002-06-062-1/+5
| | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the required version of gal to 0.19.99.17. svn path=/trunk/; revision=17123
* Bumped the version number to 0.19.99.17.Christopher James Lahey2002-06-062-1/+25
| | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.17. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (e_reflow_selection_event_real): Made this function handle GDK_BUTTON_RELEASE. Added a maybe_in_drag variable that the API user can set to 0 to indicate that a drag has occurred. svn path=/trunk/; revision=17122
* use gtk string instead of utf8 oneRadek Doulik2002-06-062-2/+8
| | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121
* updated version from JakubRadek Doulik2002-06-061-0/+0
| | | | svn path=/trunk/; revision=17120
* Added debugging printfs. (e_text_request_paste): Fixed the order ofChristopher James Lahey2002-06-061-2/+14
| | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Added debugging printfs. (e_text_request_paste): Fixed the order of setting last_type_request before calling gtk_selection_convert due to a reentrancy bug. svn path=/trunk/; revision=17119
* Added debugging printfs.Christopher James Lahey2002-06-053-1/+13
| | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Added debugging printfs. * e-table-header-item.c: Added debugging printfs. (ethi_drag_motion): Don't subtract widget->allocation.* here. It seems that this value is affected by whether the table is using a click to add field. Not sure why. * e-table-item.c (eti_realize): Check for NULL selection here. svn path=/trunk/; revision=17118
* signature editor reworked, WIPRadek Doulik2002-06-059-673/+472
| | | | svn path=/trunk/; revision=17117
* Added debugging printfs.Christopher James Lahey2002-06-053-2/+38
| | | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (d): Added debugging printfs. * e-tree-sorted.c (ets_proxy_node_changed, ets_proxy_node_data_changed, ets_proxy_node_col_changed, ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change signals where appropriate. * e-tree-table-adapter.c (etta_proxy_node_changed): Added an e_table_model_no_change signal where appropriate. svn path=/trunk/; revision=17116
* Made it so that on realize we grab focus if we have the cursor, sinceChristopher James Lahey2002-06-051-0/+11
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_realize): Made it so that on realize we grab focus if we have the cursor, since otherwise, we'll change our selection on focus in. svn path=/trunk/; revision=17115
* Added a tip mentioning that gpg can automagically contact the server forKevin Breit2002-06-052-0/+14
| | | | | | | | 2002-06-04 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Added a tip mentioning that gpg can automagically contact the server for keys without having to use a console. svn path=/trunk/; revision=17114
* The following changes take a great leap toward fixing bug #1042.Jeffrey Stedfast2002-06-054-34/+142
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-04 Jeffrey Stedfast <fejj@ximian.com> The following changes take a great leap toward fixing bug #1042. * mail-display.c (mail_display_push_content_location): New function to push a Content-Location value onto the MailDisplay. (mail_display_get_content_location): Gets the current Content-Location CamelURL value. (mail_display_pop_content_location): Pop the Content-Location off the stack. * mail-format.c (get_location): Do URL merging if the Content-Location isn't a full URL. If the Content-Location doesn't exist, pretend the URL is actually the Content-Location URL of our parent multipart (assuming it exists). If that doesn't exist, then yes - return NULL. (handle_multipart_related): Push the Content-Location header value of the multipart/related so that we can do URL merging in get_location() as we process each of the subparts. When we're done, pop it back off the stack. svn path=/trunk/; revision=17113
* gal_view_menus_set_show_define_views (..., FALSE);Christopher James Lahey2002-06-052-0/+6
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): gal_view_menus_set_show_define_views (..., FALSE); svn path=/trunk/; revision=17112
* Added this function to let you disable the define views dialog.Christopher James Lahey2002-06-053-41/+73
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_set_show_define_views): Added this function to let you disable the define views dialog. svn path=/trunk/; revision=17111
* Added priorities.Christopher James Lahey2002-06-052-2/+6
| | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Added priorities. svn path=/trunk/; revision=17110
* Added this function.Christopher James Lahey2002-06-057-125/+269
| | | | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_prioritized_column_selected): Added this function. * e-table-utils.c, e-table-utils.h (e_table_util_calculate_current_search_col): Added this function. * e-table.c, e-table.h, e-tree.c: Added a "always_search" argument. If this is off, then searches only occur if there's sort. If it's on, sort takes precendence in doing searches, followed by the highest priority column shown. svn path=/trunk/; revision=17109
* Don't show this dialog more than once per collection.Christopher James Lahey2002-06-052-9/+37
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (define_views): Don't show this dialog more than once per collection. svn path=/trunk/; revision=17106
* Commented out this unused function.Christopher James Lahey2002-06-043-3/+16
| | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_book_ready): Commented out this unused function. * gui/component/select-names/e-select-names-manager.c (open_book_cb): Ref if we're keeping the book. Don't unref if we're not keeping the book. (clean_cb): Commented out this unused function. svn path=/trunk/; revision=17105
* Set the title of our GalViewCollection.Christopher James Lahey2002-06-042-0/+7
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17104
* Set the title of our GalViewCollection.Christopher James Lahey2002-06-043-0/+10
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17103
* Set the title of our GalVIewCollection.Christopher James Lahey2002-06-042-0/+7
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): Set the title of our GalVIewCollection. svn path=/trunk/; revision=17102
* Changed the required version of gal to 0.19.99.16.Christopher James Lahey2002-06-042-1/+5
| | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the required version of gal to 0.19.99.16. svn path=/trunk/; revision=17101
* Added this function to set the user visible name of this collection.Christopher James Lahey2002-06-044-4/+45
| | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_set_title): Added this function to set the user visible name of this collection. * gal-define-views-dialog.c (gal_define_views_dialog_init): Set the Define Views for %s label. Fixes Ximian bug #2100 and #4080. svn path=/trunk/; revision=17100
* Duh, we want to set the news_edit/delete buttons for the news page, notNot Zed2002-06-043-3/+11
| | | | | | | | | | | | | 2002-06-04 Not Zed <NotZed@Ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Duh, we want to set the news_edit/delete buttons for the news page, not overwrite the mail ones! That would've saved a bit of angst ... * mail-config-druid.c (extra_prepare): dont call build_extra_conf, otherwise it blows away any settings with defaults. svn path=/trunk/; revision=17098
* Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.Christopher James Lahey2002-06-042-2/+3
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set. svn path=/trunk/; revision=17097
* Write the signature after the account has been added. (sig_new_html):Jeffrey Stedfast2002-06-042-16/+16
| | | | | | | | | | | 2002-06-04 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Write the signature after the account has been added. (sig_new_html): Don't write the signatures at this time. (sig_new_text): Same. svn path=/trunk/; revision=17096
* Correctly get the GtkWindow ancestor of the prefs widget.Jeffrey Stedfast2002-06-042-1/+9
| | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_delete_clicked): Correctly get the GtkWindow ancestor of the prefs widget. svn path=/trunk/; revision=17095
* Changed to check everything from the composer before the message isNot Zed2002-06-043-66/+72
| | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (composer_get_message): Changed to check everything from the composer before the message is requested. Otherwise we could end up signing/encrypting it twice, etc. * mail-format.c (handle_multipart_signed): removed some dead wood. svn path=/trunk/; revision=17094
* Properly handle user cancellation for signing/encrypting, just dont signNot Zed2002-06-043-14/+73
| | | | | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Properly handle user cancellation for signing/encrypting, just dont sign but create anyway. (e_msg_composer_get_subject): Wrapper function to get the subject from the header object. (e_msg_composer_get_to): (e_msg_composer_get_cc): (e_msg_composer_get_bcc): Same for the destination types. svn path=/trunk/; revision=17091
* Allocate a new FileInfo struct here rather than using and unref it whenJeffrey Stedfast2002-06-042-11/+14
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Allocate a new FileInfo struct here rather than using and unref it when we're finished with it. svn path=/trunk/; revision=17090
* Prompt the user to see if he really wants to quit when there are queuedJeffrey Stedfast2002-06-043-3/+27
| | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (request_quit): Prompt the user to see if he really wants to quit when there are queued messages in the Outbox. svn path=/trunk/; revision=17089
* Get the font from the style again when the style changes. (init): ChecksChristopher James Lahey2002-06-045-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_style_set): Get the font from the style again when the style changes. (init): Checks for the environment variable GAL_ELLIPSIS and uses that instead of ... if it is set. * e-table-click-to-add.c (finish_editing): e_table_item_leave_edit before committing. (etcta_event): Added a missing break; here. * e-table-item.c (eti_style_set): On style set, free the height cache, request a reflow and a redraw, and call eti_idle_maybe_show_cursor. (e_table_item_compute_location): Don't call eti_get_height here, just use the cached value. * e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple accessor function. svn path=/trunk/; revision=17088
* In an attempt to clean up the config dialog (and to reduce its overallAnna Marie Dirks2002-06-042-179/+288
| | | | | | | | | | | 2002-06-03 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the config dialog (and to reduce its overall girth), I have re-laid-out the calendar preferences dialog. It now conforms to standard Evolution spacing and padding guidelines, and exhibits proper alignment, etc. svn path=/trunk/; revision=17087
* Reflow and redraw when the style gets set.Christopher James Lahey2002-06-042-322/+330
| | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_style_set): Reflow and redraw when the style gets set. svn path=/trunk/; revision=17086
* Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() soJeffrey Stedfast2002-06-042-2/+9
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() so that we don't try and free static data. svn path=/trunk/; revision=17085
* keep a reference to the Query object, to avoid crashes when the queriesRodrigo Moya2002-06-042-4/+12
| | | | | | | | | | 2002-06-03 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: keep a reference to the Query object, to avoid crashes when the queries are destroyed before finishing processing. Fixes #25056. svn path=/trunk/; revision=17080
* Check that any unmatched operation is not concerning any vfolder. OtherNot Zed2002-06-032-10/+24
| | | | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_add_folder): (folder_changed_change): (folder_changed_remove_uid): (folder_changed_add_uid): (vee_folder_build_folder): Check that any unmatched operation is not concerning any vfolder. Other vfolders should never be part of any unmatched handling. For #24615, and others probably. svn path=/trunk/; revision=17075
* Protect against EINTR (irix?), see bug #24086.Not Zed2002-06-032-4/+12
| | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_msgport_wait): Protect against EINTR (irix?), see bug #24086. svn path=/trunk/; revision=17074
* setup/free the mech string.Not Zed2002-06-0313-24/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-02 Not Zed <NotZed@Ximian.com> * camel-sasl.c (camel_sasl_new): (camel_sasl_finalize): setup/free the mech string. * camel-sasl.h: Added 'mech' mechanism string. 2002-06-01 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_getv): Implement. Only the object_description arg. (camel_imap_folder_get_type): Init parent_class holder. * providers/local/camel-local-folder.c (local_getv): Implement, object_description arg. * camel-folder.c (folder_getv): Implement, add a bunch of args you can get -> camel_folder_get_unread_count etc will be going RSN i hope. (camel_folder_finalize): Free cached description string. * camel-object.c (cobject_getv): Implement CAMEL_OBJECT_ARG_DESCRIPTION, just return the classname of the object. (camel_object_getv): (camel_object_get): (camel_object_setv): (camel_object_set): Take object = void *, to simplify usage. (camel_object_setv): Removed unecessary locals. (camel_object_getv): Same. (camel_object_free): New method, free an arg, upto implementations whether args are static/const or not. (cobject_free): Implement a dummy do nothing free. 2002-05-31 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_get_location): new function to get the real location (folder) (and uid) of a vfolder object. Using the folderinfo, since we already have it, maybe it should use the uid. svn path=/trunk/; revision=17073
* Implement, return a text description of the localfolder.Not Zed2002-06-035-2/+81
| | | | | | | | | | | | | | | | | 2002-06-01 Not Zed <NotZed@Ximian.com> * mail-local.c (mlf_getv): Implement, return a text description of the localfolder. * message-list.c (ml_duplicate_value): (ml_free_value): (ml_initialize_value): (ml_value_is_empty): (ml_value_to_string): (ml_tree_value_at): Implement COL_LOCATION, original location of message (useful for vfolder). svn path=/trunk/; revision=17072
* require gtkhtml-1.1.1.1 aka multicite.Larry Ewing2002-06-032-1/+5
| | | | | | | | 2002-06-02 Larry Ewing <lewing@ximian.com> * configure.in: require gtkhtml-1.1.1.1 aka multicite. svn path=/trunk/; revision=17071
* make these citations as well.Larry Ewing2002-06-033-2/+10
| | | | | | | | | | | | 2002-06-02 Larry Ewing <lewing@ximian.com> * mail-tools.c (mail_tool_quote_message): make these citations as well. * mail-format.c (handle_text_plain_flowed): make these blockquotes into citations. svn path=/trunk/; revision=17070
* When the part is a multipart/signed, make sure to free the part_specJeffrey Stedfast2002-06-012-13/+18
| | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): When the part is a multipart/signed, make sure to free the part_spec before returning (the other types already did this properly). svn path=/trunk/; revision=17066
* Free the path buffer when we're done with it.Jeffrey Stedfast2002-06-013-2/+13
| | | | | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_get): Free the path buffer when we're done with it. * providers/imap/camel-imap-folder.c (imap_update_summary): Free the final tagged response buffer. svn path=/trunk/; revision=17065
* updated, fixed.Aaron Weber2002-06-012-58/+149
| | | | svn path=/trunk/; revision=17064
* If we fail to read a literal, free the temporary string buffer.Jeffrey Stedfast2002-06-012-11/+8
| | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (imap_read_untagged): If we fail to read a literal, free the temporary string buffer. svn path=/trunk/; revision=17063
* Set release for the CORBA path sequence to TRUE.Ettore Perazzoli2002-06-017-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__get_checkedFolders): Set release for the CORBA path sequence to TRUE. * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set release for the CORBA sequence to TRUE so it gets freed properly. (impl__get_externalUriSchemas): Likewise for the returned uri_chema_list. * e-shell-offline-handler.c (duplicate_connection_list): Set release for the connection sequence to TRUE. * e-shell-config-offline.c (config_control_apply_callback): Set release for the path sequence to TRUE. * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): Set release for the storage sequence to TRUE. * evolution-storage.c (impl_Storage__get_folderList): Set release for the folder sequence to TRUE. svn path=/trunk/; revision=17062
* Revert my fix from the other day since camel_imap_command_response()Jeffrey Stedfast2002-06-013-6/+18
| | | | | | | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): Revert my fix from the other day since camel_imap_command_response() doesn't guarentee that resp will be set to NULL on error. * providers/imap/camel-imap-command.c (camel_imap_command_response): Use a different variable to get the return of imap_parse_untagged so that we don't lose the pointer to the original malloc'd respbuf buffer. svn path=/trunk/; revision=17061
* If we fail to be able to create a stream to insert into the cache, thenJeffrey Stedfast2002-06-012-0/+8
| | | | | | | | | | 2002-05-31 Jeffrey Stedfast <fejj@ximian.com> * camel-data-cache.c (camel_data_cache_get): If we fail to be able to create a stream to insert into the cache, then free the 'real' path. svn path=/trunk/; revision=17060
* Added a protocol field for users to use.Not Zed2002-05-3121-58/+1422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-30 Not Zed <NotZed@Ximian.com> * camel-cipher-context.h: Added a protocol field for users to use. * camel-stream-filter.c (do_read): Sigh, the pre-size is READ_PAD not READ_SIZE. Big difference. (READ_PAD): Bumped upto 128 from 64, so we can fit a typical line in full. * providers/imap/camel-imap-folder.c (get_content): Changed to load multipart/signed as an opaque block into the right kind of object. * camel-multipart.h (struct _CamelMultipart): Removed the boundary field. It wans't actually used anywhere. * camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): Shortened this stupidly long name to just :new(), its the only way its ever used. Fixed all callers. * camel-multipart-signed.[ch]: new wrapper for multipart/signed types. We need to treat the entire content as a blob of data for transport purposes. This also cleans up a lot of the sign/verify handling. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Just call camel_multipart_construct_from_parser for multipart parts, also use a multipart_signed for multipart/signed types. * camel-multipart.c (camel_multipart_construct_from_parser): New virtual function for multiparts to buld themselves. (construct_from_parser): Implement for normal multiparts. (toplevel): Got rid of a warning, it'll never be an abstract class. * camel-pgp-context.c (pgp_hash_to_id): (pgp_id_to_hash): Implement. (camel_pgp_context_init): Init the pgp protocol specifier. * camel-cipher-context.c (camel_cipher_id_to_hash): (camel_cipher_hash_to_id): Util virtual methods to handle the cipher id string. * camel-mime-filter-canon.[ch]: A new filter, end/start of line canonicalisation filter. Can escape "From " and strip trailing whitespace, and canonicalise the end of line to crlf or to lf. 2002-05-29 Not Zed <NotZed@Ximian.com> * camel-multipart.h (struct _CamelMultipart): Removed the 'parent', nothing used it, anywhere. Cleaned up some formatting slightly. svn path=/trunk/; revision=17057
* Changes for multipart/signed api changes.Not Zed2002-05-312-6/+20
| | | | | | | | 2002-05-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Changes for multipart/signed api changes. svn path=/trunk/; revision=17056
* Changed to handle new multipart-signed type.Not Zed2002-05-312-51/+41
| | | | | | | | | 2002-05-31 Not Zed <NotZed@Ximian.com> * mail-format.c (handle_multipart_signed): Changed to handle new multipart-signed type. svn path=/trunk/; revision=17055
* On error, don't leak the GByteArray buffer.Jeffrey Stedfast2002-05-312-0/+4
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_readline): On error, don't leak the GByteArray buffer. svn path=/trunk/; revision=17054
* Free the response before checking for errors. I'm not sure this'llJeffrey Stedfast2002-05-313-7/+45
| | | | | | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): Free the response before checking for errors. I'm not sure this'll actually fix the memory leak here, but it might? Certainly can't hurt. * camel-block-file.c (camel_block_file_finalise): Destroy the blocks hash table. svn path=/trunk/; revision=17053
* Noop if we are in offline mode.Jeffrey Stedfast2002-05-313-11/+15
| | | | | | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (mail_send_receive): Noop if we are in offline mode. * component-factory.c (mail_remove_storage): If the store is not in the storage hash, then it must not have ever been added. Fixes bug #25456. svn path=/trunk/; revision=17052
* Reworded the signature introduction paragraph. Started work on documentingKevin Breit2002-05-312-68/+76
| | | | | | | | | 2002-05-30 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Reworded the signature introduction paragraph. Started work on documenting the new signature editor. I am kind of unsure of the full functionality, so I'm going to wait a little bit on it. svn path=/trunk/; revision=17051
* Typo.Aaron Weber2002-05-311-2/+0
| | | | svn path=/trunk/; revision=17050
* links to conf.Aaron Weber2002-05-318-1100/+252
| | | | | | | | | | | | | | | | | | | 2002-05-30 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: links to conf. * C/usage-mainwindow.sgml: updated for links to configuration. * C/preface.sgml: added "What's new?" section with a few entries. * C/evolution.sgml: Minor stylistic tweaks, updated version numbers. * C/Makefile.am: Removed evolution-faq.sgml and usage-notes.sgml, and cvs removed them. These files are vestiges of the distant past. svn path=/trunk/; revision=17049
* Protect against NULL stores. Fixes bug #25456.Jeffrey Stedfast2002-05-312-2/+7
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (store_disconnect): Protect against NULL stores. Fixes bug #25456. svn path=/trunk/; revision=17048
* Oops, create a message-browser window here, not a folder-browser-windowJeffrey Stedfast2002-05-312-2/+9
| | | | | | | | | 2002-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (view_msg): Oops, create a message-browser window here, not a folder-browser-window window. svn path=/trunk/; revision=17047
* Use bonobo_object_ref() instead of bonobo_object_client_ref() as theEttore Perazzoli2002-05-313-4/+14
| | | | | | | | | | | | * e-folder-list.c (e_folder_list_construct): Use bonobo_object_ref() instead of bonobo_object_client_ref() as the former only refs the CORBA object [Sigh]. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Don't unref the shell_client here, as we need it. :-) svn path=/trunk/; revision=17046
* New helper function. (build_items): g_strdup() the text for all the items.Ettore Perazzoli2002-05-312-13/+71
| | | | | | | | | | | | | | * e-filter-bar.c (dup_item_no_subitems): New helper function. (build_items): g_strdup() the text for all the items. Prepend the user-defined items with an order number. (free_built_items): New function to free the array returned by build_items, freeing the text strings too [since now they are newly allocated instead of just pointing to the exiting ones]. (generate_menu): Call free_built_items() on the built items instead of just g_array_free(). (set_option): Likewise. svn path=/trunk/; revision=17045
* Connect about_box_event_callback() to the "key_press_event" signal asEttore Perazzoli2002-05-312-0/+9
| | | | | | | | | * e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
* updatedRadek Doulik2002-05-301-2/+2
| | | | svn path=/trunk/; revision=17043
* fixed typoRadek Doulik2002-05-301-1/+1
| | | | svn path=/trunk/; revision=17042
* moved spell checking options to separate page, updated UI by Anna's designRadek Doulik2002-05-305-166/+416
| | | | | | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: moved spell checking options to separate page, updated UI by Anna's design * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist (mail_accounts_tab_construct): justify marks column to right svn path=/trunk/; revision=17041
* readdedRadek Doulik2002-05-301-0/+0
| | | | svn path=/trunk/; revision=17040
* delete to readd with -kbRadek Doulik2002-05-301-0/+0
| | | | svn path=/trunk/; revision=17039
* added info bulb pictureRadek Doulik2002-05-302-0/+1
| | | | svn path=/trunk/; revision=17038
* Changed some spacing and expanding behavior to make this dialog behaveAnna Marie Dirks2002-05-302-73/+89
| | | | | | | | | | 2002-05-29 Anna Marie Dirks <anna@ximian.com> * gui/component/select-names/select-names.glade: Changed some spacing and expanding behavior to make this dialog behave more like I intended to. svn path=/trunk/; revision=17037
* Only free the LOGOUT response if it is non-NULL.Jeffrey Stedfast2002-05-302-1/+7
| | | | | | | | | 2002-05-29 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (connect_to_server): Only free the LOGOUT response if it is non-NULL. svn path=/trunk/; revision=17036
* use _ instead of U_ for clistRadek Doulik2002-05-302-1/+6
| | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist svn path=/trunk/; revision=17035
* updatedRadek Doulik2002-05-291-12/+12
| | | | svn path=/trunk/; revision=17034
* updatedRadek Doulik2002-05-291-485/+545
| | | | svn path=/trunk/; revision=17033
* Implement. Run a summary check to update for any newly arrived messages.Not Zed2002-05-293-1/+31
| | | | | | | | | | | | | 2002-05-28 Not Zed <NotZed@Ximian.com> * providers/local/camel-maildir-folder.c (maildir_refresh_info): Implement. Run a summary check to update for any newly arrived messages. * providers/local/camel-maildir-store.c (scan_dir): If we have a folder, execute a refresh_info on it, to suck in any new stuff. svn path=/trunk/; revision=17029
* skip folders that aren't valid uri's. (e_folder_list_get_items): didn'tChris Toshok2002-05-292-4/+13
| | | | | | | | | | | 2002-05-28 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_set_items): skip folders that aren't valid uri's. (e_folder_list_get_items): didn't update this to track the change in model columns. bad toshok. svn path=/trunk/; revision=17028
* Revert a failed idea.Jeffrey Stedfast2002-05-292-29/+5
| | | | | | | | | 2002-05-28 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Revert a failed idea. svn path=/trunk/; revision=17026
* Use the CamelMessageInfo rather than the CamelMimeMessage because theJeffrey Stedfast2002-05-292-8/+11
| | | | | | | | | | 2002-05-28 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_log): Use the CamelMessageInfo rather than the CamelMimeMessage because the message may not have been loaded (thus NULL). svn path=/trunk/; revision=17025