aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverted some code that got committed by accident.Jeffrey Stedfast2002-07-232-4/+12
| | | | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some code that got committed by accident. (e_msg_composer_set_view_cc): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_from): And here. svn path=/trunk/; revision=17542
* #include <string.h> for memcpy.Jeffrey Stedfast2002-07-232-0/+6
| | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream.c: #include <string.h> for memcpy. svn path=/trunk/; revision=17541
* fixed up some gtk-doc commentsJeffrey Stedfast2002-07-231-5/+13
| | | | svn path=/trunk/; revision=17540
* more cleanupJeffrey Stedfast2002-07-231-78/+78
| | | | svn path=/trunk/; revision=17539
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-232-12/+40
| | | | | | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). (get_file_content): Signatures are now supposed to be in UTF-8 and not the user's locale charset, so we must first read in the content, then check that it is valid UTF-8. If it isn't, then we need to try to convert it to UTF-8. svn path=/trunk/; revision=17538
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-233-177/+176
| | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). svn path=/trunk/; revision=17537
* Check to make sure the script output is valid UTF-8, if not then attemptJeffrey Stedfast2002-07-232-18/+58
| | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_run_script): Check to make sure the script output is valid UTF-8, if not then attempt to convert it into UTF-8. Fixes bug #28086. svn path=/trunk/; revision=17536
* s/Out/Our in a debug printfJeffrey Stedfast2002-07-231-1/+1
| | | | svn path=/trunk/; revision=17535
* removed insert file menu itemRadek Doulik2002-07-232-36/+4
| | | | svn path=/trunk/; revision=17534
* removed Insert file from composers menu + forgotten signature editorRadek Doulik2002-07-233-10/+7
| | | | | | help menu fix svn path=/trunk/; revision=17533
* add *Conf.shDan Winship2002-07-231-0/+1
| | | | svn path=/trunk/; revision=17532
* Move EVO_CHECK_LIB into here, and also create EVO_PURIFY_SUPPORT,Dan Winship2002-07-235-193/+243
| | | | | | | | | | | | | | | | | | * acinclude.m4: Move EVO_CHECK_LIB into here, and also create EVO_PURIFY_SUPPORT, EVO_TIMEZONE_CHECK, and EVO_LDAP_CHECK from stuff in configure.in. (This stuff is also used by Connector.) * configure.in: Remove the stuff that was moved to acinclude.m4. * evolution_addressbookConf.sh.in: Remove db3 and ldap references since pas-backend-file and pas-backend-ldap are no longer in libpas, and those flags weren't doing anything useful here before anyway. (Our attempts to force static linking to those libraries end up getting mangled when passed through gnome-config.) * evolution_calendarConf.sh.in: Likewise, remove db3 references. svn path=/trunk/; revision=17531
* Include libpcsfile.a, libpasfile.a and (if ENABLE_LDAP) libpasldap.aDan Winship2002-07-232-2/+15
| | | | | | | * Makefile.am (wombat_LDADD): Include libpcsfile.a, libpasfile.a and (if ENABLE_LDAP) libpasldap.a svn path=/trunk/; revision=17530
* Split pcs-backend-file out of libpcs and build it as a separate (noinst)Dan Winship2002-07-232-2/+13
| | | | | | | | | | * pcs/Makefile.am: Split pcs-backend-file out of libpcs and build it as a separate (noinst) library libpcsfile.a. This gets the db3 dependencies out of libpcs, and people trying to create a calendar backend shouldn't be calling functions from the existing backends anyway so there's no reason to install them. svn path=/trunk/; revision=17529
* Split pas-backend-file and pas-backend-ldap out of libpas and build themDan Winship2002-07-232-11/+24
| | | | | | | | | | | * backend/pas/Makefile.am: Split pas-backend-file and pas-backend-ldap out of libpas and build them as separate (noinst) libraries libpasfile.a and libpasldap.a. This gets the db3 and LDAP dependencies out of libpas, and people trying to create an addressbook backend shouldn't be calling functions from the existing backends anyway so there's no reason to install them. svn path=/trunk/; revision=17528
* add new image22002-07-233-0/+183
| | | | | | | | 2002-07-22 <jpr@ximian.com> * Makefile.am: add new image svn path=/trunk/; revision=17527
* Check if we're trying to build with the old libversit module borrowed fromDan Winship2002-07-224-3/+28
| | | | | | | | | | | * configure.in: Check if we're trying to build with the old libversit module borrowed from gnome-pim instead of our own new one, and refuse to build if so. * libversit/Makefile.am: Remove libversit.la stuff since we don't want it and it messes up the build slightly. svn path=/trunk/; revision=17526
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-07-222-1079/+1225
| | | | | | | | 2002-07-22 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17525
* Remove the assert, and always copy over the threadtree which representsNot Zed2002-07-222-5/+9
| | | | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): Remove the assert, and always copy over the threadtree which represents the current view, unreffing the old one if set. For #28021. Haven't tested this a lot, but i guess it cant be worse than what is there. svn path=/trunk/; revision=17524
* When renaming, use full_name to set the folder, not name, so the path isNot Zed2002-07-222-1/+6
| | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (store_folder_renamed): When renaming, use full_name to set the folder, not name, so the path is preserved. svn path=/trunk/; revision=17523
* Oops, forgot to implement this. Fixes #24604.Not Zed2002-07-222-0/+20
| | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_set_message_user_tag): Oops, forgot to implement this. Fixes #24604. svn path=/trunk/; revision=17522
* Only add a \r if the character before the \n wasn't already a \r - thisJeffrey Stedfast2002-07-222-24/+38
| | | | | | | | | | | 2002-07-21 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-crlf.c (filter): Only add a \r if the character before the \n wasn't already a \r - this covers for when people add DOS files as attachments. Fixes bug #28056. ` svn path=/trunk/; revision=17521
* recognize urls in plain text reply quoting logic (bug #27908).Larry Ewing2002-07-212-1/+7
| | | | | | | | | 2002-07-20 Larry Ewing <lewing@ximian.com> * mail-format.c (mail_get_message_body): recognize urls in plain text reply quoting logic (bug #27908). svn path=/trunk/; revision=17520
* Changed to use a different length calculator.Not Zed2002-07-193-14/+23
| | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * camel-mime-part-utils.c (convert_buffer): Changed to use a different length calculator. svn path=/trunk/; revision=17519
* Updated Hungarian translation.Andras Timar2002-07-192-1133/+1257
| | | | | | | | 2002-07-19 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=17518
* Made these able to find the potential row for a new node which will be theChristopher James Lahey2002-07-191-3/+8
| | | | | | | | | | | | 2002-07-19 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node, find_first_child_node): Made these able to find the potential row for a new node which will be the last row. (find_row_num): Made this handle find_next_node and find_first_child_node returning n_map. svn path=/trunk/; revision=17517
* This should use address_encode, since its an rfc822 address, notNot Zed2002-07-192-1/+7
| | | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): This should use address_encode, since its an rfc822 address, not address_format which is for display. svn path=/trunk/; revision=17516
* Try including gtkhtml/gtkhtml.h instead. Test really is a 4 letter wordNot Zed2002-07-192-1/+6
| | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * mail-callbacks.c: Try including gtkhtml/gtkhtml.h instead. Test really is a 4 letter word obviously. svn path=/trunk/; revision=17515
* Add a tooltip to the Save item as per bug 27901.Peter Williams2002-07-192-0/+6
| | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * evolution-signature-editor.xml: Add a tooltip to the Save item as per bug 27901. svn path=/trunk/; revision=17514
* (double_click_cb): RenamedEttore Perazzoli2002-07-192-57/+69
| | | | | | | | | | | from `dbl_click_cb'. (check_folder_type): Don't pop up an error dialog anymore. (check_folder_type_valid): Renamed from check_folder_type(). (folder_selected_cb): Make the OK button sensitive only if the type of the selected folder is in the list of valid types; otherwise, make it insensitive. [#848] svn path=/trunk/; revision=17513
* removed check for local folders, so that we can import into non-localRodrigo Moya2002-07-192-10/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (start_import): removed check for local folders, so that we can import into non-local ones. svn path=/trunk/; revision=17512
* Change shortcut for "PilotSettings" to be `l'Ettore Perazzoli2002-07-192-1/+7
| | | | | | | instead of `p', so it doesn't conflict with "_Preferences". [#27948] svn path=/trunk/; revision=17511
* Removed unused variable.Ettore Perazzoli2002-07-1914-51/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Removed unused variable. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Removed unused variable. * e-storage.c (e_storage_path_is_absolute) (e_storage_path_is_relative) (e_storage_async_xfer_folder) * e-storage-set.c (make_full_path) (get_storage_for_path) (signal_new_folder_for_all_folders_under_paths) (signal_new_folder_for_all_folders_in_storage) (e_storage_set_get_path_for_physical_uri) * e-storage-set-view.c (storage_sort_callback) (new_storage_cb) (removed_storage_cb) (new_folder_cb) * e-shortcuts-view.c (get_shortcut_info): * e-shell-view.c (handle_current_folder_removed) * e-shell-utils.c (e_shell_folder_name_is_valid): * e-local-storage.c (construct): * e-folder-tree.c (get_parent_path) (get_parent_path) (e_folder_tree_destroy) (e_folder_tree_add) (e_folder_tree_foreach) * e-folder-dnd-bridge.c (handle_data_received_path) * evolution-storage.c (make_full_uri): * e-shell-constants.h: New #defines E_PATH_SEPARATOR and E_PATH_SEPARATOR_S. * e-local-storage.c (load_folder): Don't add the folder if its type isn't registered. svn path=/trunk/; revision=17510
* Prepend "$(WERROR)" to all the *_CFLAGS variablesEttore Perazzoli2002-07-192-1/+8
| | | | | | | so you can do `make WERROR=-Werror' to turn all compiler warnings into errors. svn path=/trunk/; revision=17509
* Removed bogus static pre-declaration.Ettore Perazzoli2002-07-195-4/+18
| | | | | | | | | | | | | * mail-folder-cache.c: Removed bogus static pre-declaration. * e-searching-tokenizer.c (e_searching_tokenizer_end): Removed unused variables. * mail-callbacks.c: #include <gtkhtml.h>. * folder-info.h (evolution_folder_info_get_type): Add prototype. svn path=/trunk/; revision=17508
* if there's an exception, continue with the next item.Rodrigo Moya2002-07-193-2/+10
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
* Change the HTML to make this a little prettier.Peter Williams2002-07-192-1/+5
| | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * mail-format.c (handle_multipart_digest): Change the HTML to make this a little prettier. svn path=/trunk/; revision=17506
* Load the messagedisplay XML file as a base for the UI, so that thingsPeter Williams2002-07-192-4/+26
| | | | | | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * folder-browser-window.c (folder_browser_window_new): Load the messagedisplay XML file as a base for the UI, so that things appear. Don't add the global UI items as they don't make sense here. (fb_window_close): New function, used to ... close the window, suprisingly. svn path=/trunk/; revision=17505
* Put the mcheck stuff back in, which was removed without a changelog entry.Not Zed2002-07-182-2/+11
| | | | | | | | | 2002-07-18 Not Zed <NotZed@Ximian.com> * main.c (main): Put the mcheck stuff back in, which was removed without a changelog entry. svn path=/trunk/; revision=17504
* new icon for jpr. -tig-Tuomas Kuosmanen2002-07-181-0/+0
| | | | | | CVS ---------------------------------------------------------------------- svn path=/trunk/; revision=17503
* Need to add these for the buildPeter Williams2002-07-184-0/+40
| | | | svn path=/trunk/; revision=17502
* #include <glib.h> #include <libgnome/gnome-defs.h>Jeffrey Stedfast2002-07-181-0/+2
| | | | | | | | | | #include <glib.h> #include <libgnome/gnome-defs.h> apparently needed for gnome-i18n.h svn path=/trunk/; revision=17501
* #include <libgnome/gnome-i18n.h>Jeffrey Stedfast2002-07-181-1/+1
| | | | svn path=/trunk/; revision=17500
* Add the appropriate #include for the _() macro.Jeffrey Stedfast2002-07-182-2/+6
| | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * camel-lock.c: Add the appropriate #include for the _() macro. svn path=/trunk/; revision=17499
* Make ChangeLog entry more recentPeter Williams2002-07-181-7/+7
| | | | svn path=/trunk/; revision=17498
* Get the EStorageSet from the shortcut's shell since there is noEttore Perazzoli2002-07-189-99/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): Get the EStorageSet from the shortcut's shell since there is no e_shortcuts_get_storage_set() anymore. * e-shortcuts-view.c (get_shortcut_info): Likewise. (impl_shortcut_drag_motion): Likewise. (impl_shortcut_drag_data_received): Likewise. * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not e_shortcuts_new() here. * e-shortcuts.c: Removed members storage_set and folder_type_registy in EShortcutsPrivate. New member shell. (init): Init to NULL. (e_shortcuts_construct): Removed arg @storage_set and @folder_type_registry, new arg @shell. (e_shortcuts_new): Removed. (e_shortcuts_new_from_file): New. (impl_destroy): Renamed from destroy(). (e_shortcuts_get_storage_set): Removed. (e_shortcuts_get_shell): New. (load_shortcuts): Accept any URI that can be parsed (by e_shell_parse_uri). * e-shell.c (e_shell_parse_uri): New. * e-shell-view.c (evolution_uri_for_default_uri): New. (display_uri): Use it to determine the evolution: uri given a default: uri. * e-shell.c (impl_Shell_handleURI): Pass it over to e_shell_create_view_from_uri_and_settings() even if it's an E_SHELL_DEFAULTURI_PREFIX. (handle_default_uri): Removed. svn path=/trunk/; revision=17497
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-1829-116/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* Use the U_() macro to get the UTF-8 translation.Jeffrey Stedfast2002-07-183-21/+28
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): Use the U_() macro to get the UTF-8 translation. svn path=/trunk/; revision=17495
* use "saved" gtkhtml commandRadek Doulik2002-07-182-0/+8
| | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (save_draft_done): use "saved" gtkhtml command svn path=/trunk/; revision=17494
* use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved"Radek Doulik2002-07-182-3/+11
| | | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (save): use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved" gtkhtml command svn path=/trunk/; revision=17493
* Oops, Don't comment out the mail_note_store call.Jeffrey Stedfast2002-07-182-2/+7
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (add_storage): Oops, Don't comment out the mail_note_store call. svn path=/trunk/; revision=17492
* use util function to see if the user is the organizer72002-07-1811-55/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-17 <jpr@ximian.com> * gui/calendar-model.c (calendar_model_value_at): use util function to see if the user is the organizer * gui/dialogs/cancel-comp.c (cancel_component_dialog): add deleting proto to indicate whether cancelling or deleting is the primary operation * gui/dialogs/cancel-comp.h: update proto * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel * gui/dialogs/task-editor.c (cancel_task_cmd): call cancel_component_dialog with new param * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): only update request if user is organizer (e_week_view_show_popup_menu): disable the meeting and meeting organizer mask if appropriate (e_week_view_delete_event_internal): offer to cancel the meeting (e_week_view_on_cut): ditto (selection_received): send request if its a meeting * gui/e-day-view.h: add meeting icon/mask * gui/e-day-view.c (e_day_view_on_event_right_click): disable the meeting and meeting organizer mask if appropriate (e_day_view_delete_event_internal): offer to cancel meeting (e_day_view_on_cut): ditto (e_day_view_finish_long_event_resize): only update request if user is organizer (e_day_view_reshape_long_event): add meeting icon to count (e_day_view_reshape_day_event): ditto (e_day_view_on_top_canvas_drag_data_received): only update request if user is organizer (e_day_view_on_main_canvas_drag_data_received): ditto (selection_received): offer to send meeting info * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw meeting icon if appropriate (using dummy icon atm) svn path=/trunk/; revision=17491
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-182-5/+41
| | | | | | | | | | | | | | | | of the XML manually with bonobo_ui_component_set() otherwise the verbs don't get added on the other side for us to be able to do bonobo_ui_component_set_prop(). (setup_bonobo_menus): New, menu setup code taken from update_bonobo_menus(). (remove_bonobo_menus): New; removes the Bonobo menus. (update_bonobo_menus): Rewritten, just call remove_bonobo_menus() first and setup_bonobo_menus() then. (e_search_bar_set_ui_component): Call setup_bonobo_menus() and remove_bonobo_menus() as appropriate instead of just update_bonobo_menus(). svn path=/trunk/; revision=17490
* remove debug printfDan Winship2002-07-171-2/+0
| | | | svn path=/trunk/; revision=17489
* Got rid of the stupid "tryagain" semantics, which didn't work.Not Zed2002-07-172-31/+38
| | | | | | | | | | 2002-07-17 Not Zed <NotZed@Ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Got rid of the stupid "tryagain" semantics, which didn't work. (pop3_connect): Fixed here to only retry under proper conditions. svn path=/trunk/; revision=17488
* Set the from-account last so that auto-cc/bcc recipients don't getJeffrey Stedfast2002-07-172-1/+7
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_headers): Set the from-account last so that auto-cc/bcc recipients don't get overwritten when setting the cc/bcc recipient fields. svn path=/trunk/; revision=17487
* Added final large versions of the InboxEttore Perazzoli2002-07-173-0/+5
| | | | | | and Outbox icons. svn path=/trunk/; revision=17486
* When CRLF encoding, "empty" (after stripping trailing whitespaceJeffrey Stedfast2002-07-172-0/+10
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-canon.c (filter): When CRLF encoding, "empty" (after stripping trailing whitespace characters) lines need to end in CRLF also, not just lines with data in them. svn path=/trunk/; revision=17485
* remove the option menu and browse button, and add a custom widgetChris Toshok2002-07-173-377/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-16 Chris Toshok <toshok@ximian.com> * gui/component/select-names/select-names.glade: remove the option menu and browse button, and add a custom widget placeholder for the folder-selector. * gui/component/select-names/e-select-names.c (addressbook_model_set_uri): move the "append /addressbook.db" stuff here. (e_addressbook_create_ebook_table): remove the code setting initial uri from here. (e_select_names_folder_free): gone. (e_select_names_option_activated): gone. (add_menu_item): gone. (update_option_menu): gone. (new_folder): gone. (removed_folder): gone. (folder_browse): gone. (hookup_listner): gone. (add_additional_select_names_uris): gone. (e_select_names_hookup_listners): gone. (e_addressbook_create_folder_selector): new function, create the folder selector button. (folder_selected): new function, callback for the folder selector. just calls addresbook_model_set_uri. (e_select_names_init): get the folder selector and initialize it to show /local/Contacts. also, set the model's uri here to the same folder. nuke the code involving the old option menu and browse button. svn path=/trunk/; revision=17484
* Re-enable some #if 0'd code.Jeffrey Stedfast2002-07-176-18/+32
| | | | | | | | | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code. * mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE for an auto_connect argument since that argument no longer exists. * mail-account-gui.c (add_new_store): Updated to not pass an auto_connect argument. * component-factory.c (add_storage): Don't ever auto-connect here. (mail_add_storage): No longer takes an auto_connect argument. (mail_load_storages): Only load the account storages that are enabled. svn path=/trunk/; revision=17483
* Clean up some improper usage of CamelExceptions (looking atPeter Williams2002-07-174-10/+27
| | | | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Clean up some improper usage of CamelExceptions (looking at camel_exception_is_set when ex = NULL). * providers/imap/camel-imap-store.c (get_folder_online): Here too. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_new): Nothing sets the exception so don't bother to check it at the end of this function. Prevents a warning about checking a NULL exception's value. svn path=/trunk/; revision=17482
* Remove a stray conflict marker.Peter Williams2002-07-171-1/+0
| | | | svn path=/trunk/; revision=17481
* Instead of doing this with a weakref, do it by connecting to the destroyPeter Williams2002-07-173-9/+24
| | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * e-msg-composer.c (create_composer): Instead of doing this with a weakref, do it by connecting to the destroy signal. The weakref was not getting notified in certain conditions that I could never really pin down, and this caused problems at exit. * e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to before from, because create_from_optionmenu causes from_changed to be called, which expects reply_to.entry to exist. svn path=/trunk/; revision=17480
* Make the standard AUTH format take priority over the AUTH= priority, sinceJeffrey Stedfast2002-07-173-18/+43
| | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_helo): Make the standard AUTH format take priority over the AUTH= priority, since sometimes servers only list a subset of the supported authtypes in the AUTH= response while they list all authtypes in the standard AUTH response. Fixes "bug" #27841. svn path=/trunk/; revision=17479
* Forgot part of the patchPeter Williams2002-07-171-1/+2
| | | | svn path=/trunk/; revision=17478
* Install the SelectNames IDL and ancillary changes.Peter Williams2002-07-172-4/+10
| | | | | | | | | 2002-07-08 Peter Williams <peterw@ximian.com> * gui/component/select-names/Makefile.am (idl_DATA): Install the SelectNames IDL and ancillary changes. svn path=/trunk/; revision=17477
* add folder.png, folder-mini.png, public-folder.png, andDan Winship2002-07-166-0/+14
| | | | | | | | | | | | * Makefile.am (images_DATA): add folder.png, folder-mini.png, public-folder.png, and public-folder-mini.png * folder-mini.png: Renamed from local-16.png * folder.png, public-folder.png, public-folder-mini.png: New, from Jakub. svn path=/trunk/; revision=17476
* If we're not online and the message isn't in our cache, give up.Peter Williams2002-07-162-1/+12
| | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): If we're not online and the message isn't in our cache, give up. svn path=/trunk/; revision=17475
* Cast to a string type. (term_eval_castint): Cast to an int type.Not Zed2002-07-163-3/+83
| | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * e-sexp.c (term_eval_caststring): Cast to a string type. (term_eval_castint): Cast to an int type. (symbols[]): Add to symbol table. * e-memory.c: Some more profiling for epoolv's. svn path=/trunk/; revision=17474
* Lookup the label colour based on the label token, not an integer.Not Zed2002-07-163-17/+19
| | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * message-list.c (ml_tree_value_at): Lookup the label colour based on the label token, not an integer. * folder-browser.c (on_right_click): Lookup the label name from the filter type. Sigh, a bunch of other code should do similar but i'm going to leave it as integers. (set_msg_label): Set the label directly. svn path=/trunk/; revision=17473
* cvs remove.Not Zed2002-07-167-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h * vfoldertypes.xml: Fix label vfolder rule as below, also add score and size rules from filtertypes.xml. * filtertypes.xml (score): Use (cast-int (user-tag "score")) to get the value directly, rather than (get-score). (label): Use (user-tag "label") to get the value directly, rather than (get-label). The label is now a string too. * filter-label.c (filter_label_get_type): Make filter-label inherit from filter-option. Which makes more sense doesn't it ... surely. (validate): Removed, optionlists are self-validating. (xml_create): Initialise the list of options from our configuration database. If it isn't working, ignore it and set it up anyway. (filter_label_init): Override the xml type. (filter_label_count): (filter_label_label): (filter_label_index): Some helper functions for external interfaces. All of the mail config/etc should use this. * filter-option.c (free_option): (xml_create): (clone): Made the "value" type in glib memory rather than xml memory space. (filter_option_add): Utility function to add a new option to the list. (clone): Use above function to simplify code. (xml_create): Same here. (xml_encode): Allow subclasses to override the type. svn path=/trunk/; revision=17472
* Removed. (get_score): Removed. Labels & scores are stored in tags, weNot Zed2002-07-162-36/+15
| | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * camel-filter-search.c (get_label): Removed. (get_score): Removed. Labels & scores are stored in tags, we already have a function to get tags. (user_tag): Fail if we dont get valid arguments, it must be a string type. (system_flag): Same here. svn path=/trunk/; revision=17471
* Try to get the FQDN from the results of gethostname(). If that fails, thenJeffrey Stedfast2002-07-162-9/+26
| | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_msgid_generate): Try to get the FQDN from the results of gethostname(). If that fails, then fall back to the results gotten from gethostname() or if that fails just use "localhost.localdomain". Addresses bug #17416. (header_decode_param): Protect against a NULL value. svn path=/trunk/; revision=17470
* updatedRadek Doulik2002-07-161-448/+433
| | | | svn path=/trunk/; revision=17469
* Pass 'info' into mail_append_mail(), seems I created the info but forgotJeffrey Stedfast2002-07-162-18/+28
| | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_cb): Pass 'info' into mail_append_mail(), seems I created the info but forgot to pass it in. (composer_send_queued_cb): If the message is successfully queued, we destroy the composer, otherwise we unref it. Don't ever destroy and then unref it. svn path=/trunk/; revision=17468
* use new save_header_state flagRadek Doulik2002-07-162-3/+7
| | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * mail-callbacks.c: use new save_header_state flag svn path=/trunk/; revision=17467
* added save_html_object_data parameter, use gtkhtml command to save objectRadek Doulik2002-07-163-6/+22
| | | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (build_message): added save_html_object_data parameter, use gtkhtml command to save object data when wanted svn path=/trunk/; revision=17466
* Get rid of the constant 'required' variable, just use the value whenJeffrey Stedfast2002-07-162-3/+5
| | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of the constant 'required' variable, just use the value when calling set_best_encoding. svn path=/trunk/; revision=17465
* Changed the mbox and spool provider descriptions to try and be more clear.Jeffrey Stedfast2002-07-162-7/+18
| | | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c: Changed the mbox and spool provider descriptions to try and be more clear. I'm not sure I like the mention of Evolution in the mbox provider description, but there was no other way to make it clear that it MOVED mail out of the mbox folder into a folder managed by Evolution without mentioning Evolution. *sigh* Anyways, to me "retrieve" means move, but apparently this isn't clear to the weak minded. svn path=/trunk/; revision=17464
* Fixes #8001Rodrigo Moya2002-07-164-37/+107
| | | | | | | | | | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #8001 * importers/icalendar-importer.c (connect_to_shell): new function for connecting the importers (both iCal and vCal) to the shell, needed for some information retrieval about the folders we're importing to. (ical_importer_new, vcal_importer_new): call connect_to_shell. (importer_destroy_cb): unref the shell client object. (get_uri_from_folder_path): retrieve the uri from the storage registry. (check_folder_type): removed. * importers/Makefile.am: included libeshell to LIBS. svn path=/trunk/; revision=17463
* Add a Control-Return accel for "FileSaveClose".Ettore Perazzoli2002-07-164-3/+16
| | | | | | | | | | | | | * evolution-signature-editor.xml: Add a Control-Return accel for "FileSaveClose". * evolution-contact-list-editor.xml: Add a Control-Return accel for "ContactListEditorSaveClose". * evolution-contact-editor.xml: Add a Control-Return accel for "ContactEditorSaveClose". svn path=/trunk/; revision=17462
* no need to convert the value returned by e_folder_tree_get_folder to aRodrigo Moya2002-07-162-7/+23
| | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> * evolution-storage.c (impl_Storage_getFolderAtPath): no need to convert the value returned by e_folder_tree_get_folder to a GNOME_Evolution_Folder, since it already is, and duplicate it before returning. svn path=/trunk/; revision=17461
* >= is not appropriate here because the sequences are 1-based; so seq =Peter Williams2002-07-162-2/+11
| | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate here because the sequences are 1-based; so seq = summary_len is valid. Hopefully addresses 15646, because this caused the last message in a folder to be reloaded, replacing its CamelMessageInfo, and the tree view was using the old CamelMessageInfo. svn path=/trunk/; revision=17460
* Account for the case that when a disco store is "online" but actuallyPeter Williams2002-07-154-3/+20
| | | | | | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * mail-offline-handler.c (service_is_relevant): Account for the case that when a disco store is "online" but actually offline and we're going online, we should actually connect it. * component-factory.c (mail_load_storages): Always set auto_connect to FALSE, same reason as below. * mail-session.c (mail_session_init): Initialize our session to not be online, since the shell will tell us to go online if we need to. svn path=/trunk/; revision=17459
* remove a stray conflict markerPeter Williams2002-07-151-1/+0
| | | | svn path=/trunk/; revision=17458
* Define a versioned library directory that we can use for things that arePeter Williams2002-07-155-3/+25
| | | | | | | | | | | | | | | | | | | | | 2002-07-10 Peter Williams <peterw@ximian.com> * configure.in (privlibdir): Define a versioned library directory that we can use for things that are ABI-sensitive: camel providers, importers... Define camel_providerder in terms of this, resulting in a new location for the providers. Camel will have to be rebuilt for it to get the new -D flag. mail: 2002-07-10 Peter Williams <peterw@ximian.com> * Makefile.am (importerdir): Define this in terms of the new privlibdir, again resulting in a new directory name. * importers/Makefile.am (importersdir): Here too. svn path=/trunk/; revision=17457
* Another fix for the IDL rename, ugh.Peter Williams2002-07-152-1/+6
| | | | svn path=/trunk/; revision=17456
* Replace filter-score with filter-int.Not Zed2002-07-152-21/+31
| | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * netscape-importer.c: Replace filter-score with filter-int. svn path=/trunk/; revision=17455
* Changelog is pending some other patch approval so i'm not commiting.Not Zed2002-07-153-290/+0
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h svn path=/trunk/; revision=17454
* Set the vfolder_editor variable to null before we close the dialogue,Not Zed2002-07-152-4/+8
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor variable to null before we close the dialogue, otherwise the close destroys it and reverts the file. svn path=/trunk/; revision=17453
* Oops, accidentally checked in some unfinished, unworking code. Reverted.Not Zed2002-07-152-46/+12
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * component-factory.c (populate_folder_context_menu): Oops, accidentally checked in some unfinished, unworking code. Reverted. svn path=/trunk/; revision=17452
* set corba_folder.customIconName so we don't crash.Chris Toshok2002-07-152-1/+11
| | | | | | | | | | | 2002-07-14 Chris Toshok <toshok@ximian.com> * e-shell.c (folder_selection_dialog_folder_selected_cb): set corba_folder.customIconName so we don't crash. (impl_Shell_selectUserFolder): remove the default_type parameter to fix a compiler warning. svn path=/trunk/; revision=17451
* Only assign a uid if indexing is enabled. This stops us always assigning aNot Zed2002-07-153-3/+34
| | | | | | | | | | | | | | | | | | | | | 2002-07-13 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (camel_folder_summary_info_new_from_message): Only assign a uid if indexing is enabled. This stops us always assigning a uid in the imap folder and disco folder? * providers/imap/camel-imap-folder.c (imap_update_summary): Also check the uid is set at all, another bit of a fix for #15667. 2002-07-09 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): Check for existing messages of the same uid before doing anything. If it exists, do nothing (perhaps it should merge?). A dirty hack for #15667. svn path=/trunk/; revision=17450
* ** fixes for #10781Not Zed2002-07-157-27/+139
| | | | | | | | | | | | | | | | | | | | 2002-07-10 Not Zed <NotZed@Ximian.com> ** fixes for #10781 * mail-callbacks.c (filter_edit): Add back a cancel button. We dont need to do anything special to 'undo' here, as the rules are loaded every time they're used. * mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked, revert the ruleset. (vfolder_editor_destroy): Fake a button of -1 if we get destroyed with no click. (context_rule_removed): Unref the folder after we delete it. If we're the last ref to the folder, unrefing it means it no longer exist,s which means no delte processing occurs ... svn path=/trunk/; revision=17449
* ** fixes for #10781Not Zed2002-07-1524-139/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Not Zed <NotZed@Ximian.com> ** fixes for #10781 * filter-int.c (xml_encode): (xml_decode): Handle encoding/decoding with a type name, in a manner compatible with the score/label elemtns. (filter_int_new_type): New constructor to create a generic 'int' type. * filter-score.c: Removed. Now relies on using a filter-int with appropriate settings. * filter-label.[ch]: Now inherits from filter-int. * rule-context.c (rule_context_revert): New method to revert a filter context back to a user-file's definition. (revert): implementation. * filter-rule.h: Added new virtual method _eq and wrapper, and fixed all subclasses to implement it. * filter-element.h: Added new virtual method _eq and wrapper. Fixed all subclasses to implement it. svn path=/trunk/; revision=17448
* free the full_name (as well as given_name. oops.)Chris Toshok2002-07-132-31/+48
| | | | | | | | | | | | | | | | | | 2002-07-12 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (free_summary_item): free the full_name (as well as given_name. oops.) (pas_backend_summary_new): new summaries are version 3.0 now. (pas_backend_summary_load_item): all loaded summaries should be 3.0+, as we fail to load versions lower than that. (pas_backend_summary_load_header): if the summary isn't version 3.0 fail out, as we need to rebuild the entire file to cache the full_name fields. (pas_backend_summary_save_item): save out the full_name. (pas_backend_summary_add_card): put the item's full_name in the card. svn path=/trunk/; revision=17447
* Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, althoughDan Winship2002-07-132-1/+8
| | | | | | | | | * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although there's still something wrong. svn path=/trunk/; revision=17446
* On error, do not unref the parts gotten using camel_multipart_get_part()Jeffrey Stedfast2002-07-132-8/+16
| | | | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt): On error, do not unref the parts gotten using camel_multipart_get_part() since that function does not ref the parts. Also don't forget to reset the decrypted stream before trying to parse it ;-) svn path=/trunk/; revision=17445
* dup the listener, for consistency with the other signalsDan Winship2002-07-132-1/+8
| | | | | | | * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): dup the listener, for consistency with the other signals svn path=/trunk/; revision=17444
* Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. AtPeter Williams2002-07-132-1/+7
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. At least grep indicates that's all that needs to be fixed. svn path=/trunk/; revision=17443
* e-util relies on bonobo-conf in e-passwords.c andPeter Williams2002-07-132-2/+2
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf in e-passwords.c and e-categories-master-list-wombat.c, so reflect that here. ** And the e-port code needs THREADS_LIBS. ** svn path=/trunk/; revision=17442
* (clicked): Ref the parent_window and then unref after you are done usingEttore Perazzoli2002-07-132-0/+8
| | | | | | | | (clicked): Ref the parent_window and then unref after you are done using it. [#27673] svn path=/trunk/; revision=17441
* e-util relies on bonobo-conf in e-passwords.c andPeter Williams2002-07-132-1/+7
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf in e-passwords.c and e-categories-master-list-wombat.c, so reflect that here. svn path=/trunk/; revision=17440
* Install some headers that weren't getting installed.Peter Williams2002-07-132-2/+7
| | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (eshellinclude_HEADERS): Install some headers that weren't getting installed. svn path=/trunk/; revision=17439
* Oops, change wombat.h -> Evolution-Wombat.hPeter Williams2002-07-132-1/+5
| | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * wombat-client.h: Oops, change wombat.h -> Evolution-Wombat.h svn path=/trunk/; revision=17438
* libwombat:Peter Williams2002-07-125-7/+22
| | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the renamed Evolution-Wombat.idl instead of wombat.idl. wombat: 2002-07-08 Peter Williams <peterw@ximian.com> * wombat.idl: Renamed to Evolution-Wombat.idl, since we're installing it now and should play nice namespacily. * Makefile.am: Rename wombat.idl and install it. svn path=/trunk/; revision=17437
* Updated to not use camel_type_get_global_classfuncs() since this is just aJeffrey Stedfast2002-07-122-1/+5
| | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart.c (camel_multipart_class_init): Updated to not use camel_type_get_global_classfuncs() since this is just a cast macro now. svn path=/trunk/; revision=17436
* oops, changed the location of where we check for multipart/encryptedJeffrey Stedfast2002-07-121-4/+7
| | | | svn path=/trunk/; revision=17435
* Handle multipart/encrypted parts too.Jeffrey Stedfast2002-07-123-9/+26
| | | | | | | | | | | | | 2002-07-12 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): Handle multipart/encrypted parts too. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Handle multipart/encrypted types too. svn path=/trunk/; revision=17434
* Don't let any parts have a binary encoding.Jeffrey Stedfast2002-07-122-1/+6
| | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Don't let any parts have a binary encoding. svn path=/trunk/; revision=17433
* added missing glade files from shell/gladeRadek Doulik2002-07-121-0/+3
| | | | svn path=/trunk/; revision=17432
* updatedRadek Doulik2002-07-121-2746/+2846
| | | | svn path=/trunk/; revision=17431
* updatedRadek Doulik2002-07-121-202/+201
| | | | svn path=/trunk/; revision=17430
* oops, apparently I didn't save?Jeffrey Stedfast2002-07-121-0/+1
| | | | svn path=/trunk/; revision=17429
* Fixes bug #27672Jeffrey Stedfast2002-07-125-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #27672 * camel-mime-filter-bestenc.c: Conditionally #include <config.h> * camel-mime-filter-linewrap.c: Same here... although we could probably just get rid of this filter? We don't seem to use it anywhere since we try to QP/Base64 encode any text parts with long lines. Besides, we couldn't use this filter for SMTP anyway since we can't risk possibly linewrapping a binary mime part. I dunno, maybe this could be useful in the composer though? *shrug* * providers/smtp/camel-smtp-transport.c (smtp_data): Always call camel_mime_message_set_best_encoding() even if the server allows 8BITMIME and even if we don't have any 8bit parts because we may have parts with long lines (>998 octets) which also need to be encoded. * camel-mime-message.c (check_8bit): Don't forget to check for the binary encoding here as well. svn path=/trunk/; revision=17428
* Add an accelerator for "FileClose".Ettore Perazzoli2002-07-122-1/+5
| | | | svn path=/trunk/; revision=17427
* Allow a NULL icon [remove the precondition].Ettore Perazzoli2002-07-123-5/+13
| | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon): Allow a NULL icon [remove the precondition]. * e-shell-view.c (update_folder_title_bar): Only unref the folder_icon if not NULL. svn path=/trunk/; revision=17426
* Actually pass the evolution URI, not the path, in Folder.evolutionUriEttore Perazzoli2002-07-124-14/+18
| | | | | | | | | | | | | | * e-summary-preferences.c (set_selected_folders): Actually pass the evolution URI, not the path, in Folder.evolutionUri (since now the shell StorageSetView implementation has been fixed to handle this field properly). * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Handle Folder.evolutionUri as a URI, not as a path. Also use e_free_string_list(). svn path=/trunk/; revision=17425
* If we are fetching HEADERs, don't cache the stream - instead just create aJeffrey Stedfast2002-07-122-23/+39
| | | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (parse_fetch_response): If we are fetching HEADERs, don't cache the stream - instead just create a mem-stream and return that. This reduces a significant amount of overhead due to disk i/o. svn path=/trunk/; revision=17424
* (set_selected_folders): Set theEttore Perazzoli2002-07-123-4/+19
| | | | | | | customIconName part to the empty string. [#27616] Also, set_release on the sequence to TRUE. svn path=/trunk/; revision=17423
* Rename "Save to disk..." to "Save Attachment..."Jeffrey Stedfast2002-07-123-7/+12
| | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixmap_press): Rename "Save to disk..." to "Save Attachment..." svn path=/trunk/; revision=17422
* (update_folder_title_bar): Ref the folder_iconEttore Perazzoli2002-07-122-0/+6
| | | | | | that we get from e_folder_type_registry_get_icon_for_type(). svn path=/trunk/; revision=17421
* (get_folder_list_foreach): CopyEttore Perazzoli2002-07-122-6/+14
| | | | | | | customIconName and sortingPriority in the new_corba_folder. [#27670] svn path=/trunk/; revision=17420
* Remove some `#if 0'ed broken code. New members title_icon andEttore Perazzoli2002-07-125-167/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code. New members title_icon and title_button_icon in struct EShellFolderTitleBarPrivate. Remove member icon_widget. New static global variable empty_pixbuf. (init): Initialize these new members to NULL. Don't initialize icon_widget anymore since it's gone. (e_shell_folder_title_bar_construct): Create the title_button_icon and pack it into the title_button_hbox. Also, create the title_icon and pack that one as well. Retouched some of the hardcoded padding values. (size_allocate_icon): Rewritten to use the title_icon and return the allocated space like size_allocate_navigation_buttons. (e_shell_folder_title_bar_set_icon): Remove bogus const from the @icon arg. Ref the pixbuf, and update the two pixmap widgets from it. If @icon is NULL, use the empty_pixbuf. (impl_destroy): Renamed from destroy(). (realize): Removed. (unrealize): Removed. (impl_size_allocate): Renamed from size_allocate(). (class_init): Call it. (add_icon_widget): Removed. (new_empty_pixbuf): New. (new_empty_pixmap_widget): New. (size_allocate_navigation_buttons_and_title_icon): Renamed from size_allocate_navigation_buttons; set up the title_icon too. * e-shell-view.c (update_folder_title_bar): Unref the folder_icon after using it. * e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf. svn path=/trunk/; revision=17419
* Don't forget to set an appropriate exception before returning NULL.Jeffrey Stedfast2002-07-122-0/+8
| | | | | | | | | | 2002-07-11 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt): Don't forget to set an appropriate exception before returning NULL. svn path=/trunk/; revision=17418
* e_book_get_book_view => e_book_get_completion_view, so the backends haveChris Toshok2002-07-112-3/+11
| | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): e_book_get_book_view => e_book_get_completion_view, so the backends have the option of using a pregenerated summary. svn path=/trunk/; revision=17417
* actually remove the items from the pointer array too, so an error whileChris Toshok2002-07-112-17/+68
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (clear_items): actually remove the items from the pointer array too, so an error while loading doesn't leave the memory summary corrupted. (pas_backend_summary_load_header): bleah, load the num_items and summary_mtime in the right order :) Also, set upgraded to TRUE if we loaded a v1.0 summary. (pas_backend_summary_open): make this return a gboolean, return TRUE if the summary is already open (priv->fp != NULL). return FALSE in error conditions. (pas_backend_summary_load): if summary_open returns FALSE, return FALSE, also set the dirty flag to FALSE after we load, and if the summary was upgraded write it out. (pas_backend_summary_save): update the in memory mtime to that of the file when we save. (summary_flush_func): if we're not dirty, do nothing and return. (pas_backend_summary_is_up_to_date): make sure we've opened the summary. (pas_backend_summary_get_summary_vcard): fix compiler warning. svn path=/trunk/; revision=17416
* Make sure message is non-NULL before setting the source on it.Jeffrey Stedfast2002-07-112-1/+4
| | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (get_message_cb): Make sure message is non-NULL before setting the source on it. svn path=/trunk/; revision=17415
* Modified to use a single list of UI node elements with an enable-maskJeffrey Stedfast2002-07-112-226/+201
| | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Modified to use a single list of UI node elements with an enable-mask rather than split into groups. This allows much more control and easier modification to get the desired enable/disable effects. svn path=/trunk/; revision=17414
* If we unref'd a current_message, clear the datalist. Don't botherJeffrey Stedfast2002-07-112-15/+16
| | | | | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_set_message): If we unref'd a current_message, clear the datalist. Don't bother connecting to the message's finalise signal because something else may own a ref to the original message when we replace it with a new one. (mail_display_destroy): Only clear the datalist if we have a current_message, otherwise it's safe to assume that it is already cleared. svn path=/trunk/; revision=17413
* Oops, missed this one.Peter Williams2002-07-113-2/+10
| | | | | | | | | | | 2002-07-10 Peter Williams <peterw@ximian.com> * backend/ebook/e-book-view-listener.h: Oops, missed this one. * backend/ebook/Makefile.am (libebookinclude_HEADERS): Also put addressbook.h here because several headers reference it. svn path=/trunk/; revision=17412
* Add include lines to get ebook headers relative to <ebook/foo.h>, notPeter Williams2002-07-1130-33/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * tools/Makefile.am (INCLUDES): Add include lines to get ebook headers relative to <ebook/foo.h>, not "foo.h". addressbook: 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so that the installed headers will work sanely. * backend/ebook/e-card-cursor.h: * backend/ebook/e-book-view.h: * backend/ebook/e-card-simple.h: * backend/ebook/e-card.h: * backend/ebook/e-destination.h: Same. * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend to access the ebook headers. Also the builddir version to get the generated addressbook.h * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. * gui/merging/e-card-merging.c: Fix an ebook #include. * gui/merging/Makefile.am (INCLUDES): Same idea. * gui/contact-list-editor/Makefile.am (INCLUDES): Same. * gui/contact-editor/Makefile.am (INCLUDES): Same builddir change. calendar: 2002-07-08 Peter Williams <peterw@ximian.com> * gui/Makefile.am (INCLUDES): Change the -I flags to get it to play nicely with the new Ebook header paradigm. * gui/dialogs/Makefile.am: Same. * gui/e-meeting-model.c: More of the same. * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/e-meeting-model.c: * gui/dialogs/comp-editor-util.c: Fix include lines to get ebook headers. * pcs/Makefile.am: Same. composer: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Fix cflags for ebook header namespacing. importers: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Fix cflags to get at ebook headers correctly. * pine-importer.c: Fix include lines to get ebook headers the "right" way. * evolution-gnomecard-importer.c: Same. mail: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I flags to get the ebook headers. svn path=/trunk/; revision=17411
* (update_folder_title_bar): Get a @folder argEttore Perazzoli2002-07-112-33/+47
| | | | | | | | instead of a @type arg. Use the custom icon if the folder has one. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=17410
* Renamed stdin to stdin_fd, stdout to stdout_fd, and stderr to stderr_fd inJeffrey Stedfast2002-07-112-33/+40
| | | | | | | | | | | 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c: Renamed stdin to stdin_fd, stdout to stdout_fd, and stderr to stderr_fd in struct _GpgCtx since Solaris' stdin/stdout/etderr variables seem to be macros and are thus breaking the compilation. svn path=/trunk/; revision=17409
* Add accelerators. [#10069]Ettore Perazzoli2002-07-112-2/+6
| | | | svn path=/trunk/; revision=17408
* Add accelerators. [#10067]Ettore Perazzoli2002-07-112-4/+8
| | | | svn path=/trunk/; revision=17407
* Add accelerators. [#10068]Ettore Perazzoli2002-07-112-3/+7
| | | | svn path=/trunk/; revision=17406
* Add accelerator for "Print Preview", "Delete".Ettore Perazzoli2002-07-113-3/+13
| | | | | | | | | | * evolution-mail-message.xml: Add accelerator for "Print Preview", "Delete". * evolution-addressbook.xml: Add accelerator for "Print Preview", "Delete". svn path=/trunk/; revision=17405
* Pass zero as the @sorting_priority to evolution_storage_new_folder().Ettore Perazzoli2002-07-1017-56/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass zero as the @sorting_priority to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. * subscribe-dialog.c (recursive_add_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass @sorting_priority to evolution_storage_new_folder() so we test it. Also make /FirstFolder have an "inbox" custom icon. * e-local-storage.c (new_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-storage.c (evolution_storage_new_folder): New arg @sorting_priority; put it in the CORBA folder struct. * evolution-shell-client.c (impl_FolderSelectionListener_selected): Copy the sortingPriority as well. * e-folder.c (e_folder_to_corba): Set sortingPriority. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set sortingPriority in the new CORBA Folder struct. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the custom_icon if folder->customIconName is not an empty string. Likewise, set the sorting_priority * Evolution-common.idl: New member sortingPriority in struct Folder. * e-storage-set-view.c (folder_sort_callback): Sort according to the sorting_priorities. * e-folder.c: New member sorting_priority in EFolderPrivate. (init): Init to zero. (e_folder_set_custom_icon): Emit "changed" if required. (e_folder_set_sorting_priority): New. svn path=/trunk/; revision=17404
* bleah, i hate this keyboard.Chris Toshok2002-07-101-1/+1
| | | | svn path=/trunk/; revision=17403
* add Book.getCompletionView.Chris Toshok2002-07-1010-110/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Chris Toshok <toshok@ximian.com> * backend/idl/addressbook.idl: add Book.getCompletionView. * backend/ebook/e-book.c (e_book_get_completion_view): new function, basically c&p of e_book_get_book_view, but call getCompletionView. * backend/ebook/e-book.h: add prototype for e_book_get_completion_view. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_client_requests): add a GetCompletionView case here that just calls the same code as GetBookView (since we don't build summaries for the ldap backend.) * backend/pas/pas-backend-file.c (do_summary_query): add @completion_search. If it's TRUE, just create the vcards from the summary using pas_backend_summary_get_summary_vcard instead of looking them up from the db. (pas_backend_file_search): add @completion_search and pass it on to do_summary_query. (pas_backend_file_process_get_book_view): pass FALSE to pas_backend_file_search. (pas_backend_file_process_get_completion_view): new function, basically c&p pas_backend_file_process_get_book_view, but pass TRUE to pas_backend_file_search. (pas_backend_file_process_client_requests): add a case for GetCompletionView. (pas_backend_file_load_uri): track the change to the summary api - create the summary filename * backend/pas/pas-book.c (pas_book_queue_get_completion_view): new function, queue a GetCompletionView request to our queue. (impl_GNOME_Evolution_Addressbook_Book_getCompletionView): new function, call pas_book_queue_get_completion_view. (pas_book_respond_get_completion_view): new function, just call notifyViewRequested. (pas_book_free_request): add a case for GetCompletionView. (pas_book_get_epv): fill in epv->getCompletionView. * backend/pas/pas-book.h: add a GetCompletionView PASOperation, and a new structure (PASGetCompletionViewRequest). Also, add get_completion_view to PASRequest. * backend/pas/pas-backend-summary.c (clear_items): remove the items from the hash table. (pas_backend_summary_new): db_path -> summary_path. (pas_backend_summary_destroy): db_.path -> summary_path, and destroy the hash table. (pas_backend_summary_init): db_path = summary_path, and initialize the id_to_item hashtable. (pas_backend_summary_load_header): handle the upgrading from version 1.0 to version 2.0 (the addition of an mtime field in the header) (pas_backend_summary_load_item): version 1.0 and 2.0 have the same format for items. (pas_backend_summary_open): new function. open the summary so we can load the header (and get the mtime). (pas_backend_summary_load): rework this a bit since the header has already been loaded, and also add the items to the hashtable. (pas_backend_summary_add_card): add the new item to the hashtable. (pas_backend_summary_remove_card): remove the item from the hash table. (pas_backend_summary_is_up_to_date): new function, chekc @t against the summary's mtime. (pas_backend_summary_get_summary_vcard): create a vcard from the fields we have in the summary. * backend/pas/pas-backend-summary.h: add prorotypes for pas_backend_summary_is_up_to_date and pas_backend_summary_get_summary_vcard. svn path=/trunk/; revision=17402
* Added note about set status filter action.Kevin Breit2002-07-102-0/+13
| | | | | | * C/usage-mail-org.sgml: Added note about set status filter action. svn path=/trunk/; revision=17400
* (load_icon): Ooops. Swapped the large/smallEttore Perazzoli2002-07-102-6/+10
| | | | | | pixbufs here. Also, plug a leak. svn path=/trunk/; revision=17399
* s/Edit as New Message/Resend - this was confusing people. Also moved it toJeffrey Stedfast2002-07-102-2/+4
| | | | | | | | | | 2002-07-09 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-message.xml: s/Edit as New Message/Resend - this was confusing people. Also moved it to the Actions menu. Fixes bug #27454. svn path=/trunk/; revision=17398
* Pass NULL @custom_icon_name to evolution_storage_new_folder().Ettore Perazzoli2002-07-1014-24/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397
* fixed a compile warningJeffrey Stedfast2002-07-101-1/+1
| | | | svn path=/trunk/; revision=17396
* #include <string.h>Dan Winship2002-07-102-0/+5
| | | | | | * e-categories-config.c: #include <string.h> svn path=/trunk/; revision=17395
* If the custom_icon_name is not NULL, return the pixbuf for it.Ettore Perazzoli2002-07-1010-61/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): If the custom_icon_name is not NULL, return the pixbuf for it. * e-storage-set-view.c: #include "e-icon-factory.h". * e-shortcuts-view.c (impl_shortcut_dropped): Pass the custom_icon_name. (get_shortcut_info): New arg @custom_icon_name_return. (rename_shortcut_cb): Pass the custom_icon_name here. * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Pass the custom_icon_name for the folder's shortcut. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Pass the custom_icon_name for the folder's shortcut. * e-corba-shortcuts.c (impl_add): Use the customIconName member in struct ::Shortcuts::Shortcut. (shorcut_list_to_corba): Set the customIconName member on the returned shortcuts. (impl_get): Likewise. * Evolution-Shortcuts.idl: New member customIconName in struct Shortcut. * e-shortcuts.c (shortcut_item_new): New arg @custom_icon_name; initialize the member in EShortcutItem from it. (shortcut_item_update): New arg @custom_icon_name; set the custom_icon_name from it. Also remove some braindeadness from this code. (update_shortcut_and_emit_signal): New arg @custom_icon_name. (load_shortcuts): Load the custom icon name from the XML [eg. <item name="foo" type="mail" icon="inbox">]. (save_shortcuts): Save the custom icon name in the XML. (e_shortcuts_add_shortcut): New arg @custom_icon_name. (update_shortcuts_by_path): Pass the custom_icon_name to update_shortcut_and_emit_signal(). (e_shortcuts_update_shortcut): New arg @custom_icon_name; pass it to update_shortcut_and_emit_signal(). (e_shortcuts_add_default_group): Pass "inbox" as the custom_icon_name for the inbox shortcut, and NULL for the other shortcuts. * e-shortcuts.h: New member custom_icon_name in EShortcutItem. svn path=/trunk/; revision=17394
* s/Edit as New Message/Resend - this was confusing people.Jeffrey Stedfast2002-07-102-1/+6
| | | | | | | | | 2002-07-09 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-message.xml: s/Edit as New Message/Resend - this was confusing people. svn path=/trunk/; revision=17393
* Remove debugging message. (impl_shortcut_drag_motion): Likewise.Ettore Perazzoli2002-07-105-9/+11
| | | | | | | | | | | | | * e-shortcuts-view.c (impl_shortcut_drag_motion): Remove debugging message. (impl_shortcut_drag_motion): Likewise. * e-local-storage.c (remove_folder_step): Remove debugging message. * e-folder-dnd-bridge.c (e_folder_dnd_bridge_data_received): Remove debugging message. svn path=/trunk/; revision=17392
* Call e_icon_factory_init().Ettore Perazzoli2002-07-109-57/+330
| | | | | | | | | | | | | | | | | | | * main.c (main): Call e_icon_factory_init(). * e-local-storage.c (setup_folder_as_stock): New arg @icon_name; if not NULL, set up a custom icon for the folder. (setup_stock_folders): Set up custom icons for inbox and outbox. * e-storage-set-view.c (get_pixbuf_for_folder): If the folder has a custom icon, return the custom icon. * e-folder.c: New member custom_icon_name. (init): Initialize to NULL. (destroy): Free. (e_folder_get_custom_icon): New. (e_folder_set_custom_icon): New. svn path=/trunk/; revision=17391
* (images_DATA): inbox-mini.png instead ofEttore Perazzoli2002-07-106-4/+12
| | | | | | | | | inbox-16.png, outbox-mini.png instead of outbox-16.png. Also add inbox.png and outbox.png. (inbox.png): New. (outbox.png): New. svn path=/trunk/; revision=17390
* re-order nss and nspr flags92002-07-102-2/+6
| | | | | | | | 2002-07-09 <jpr@ximian.com> * configure.in: re-order nss and nspr flags svn path=/trunk/; revision=17389
* (remove_folder): Remove unused variable.Ettore Perazzoli2002-07-092-1/+4
| | | | svn path=/trunk/; revision=17388
* Don't ever use the mail-display's current_message, this can causeJeffrey Stedfast2002-07-096-33/+53
| | | | | | | | | | | | | | | | | 2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (redirect): Don't ever use the mail-display's current_message, this can cause problems. * mail-ops.c (get_message_free): Unref the gotten message. All of the callers seemed to think that they didn't have to unref the message. * mail-display.c (mail_display_set_message): Now refs the message. (mail_display_destroy): Unref the current_message if we still have ownership of it. svn path=/trunk/; revision=17387
* Change the group icon size using e_shortcuts_set_group_uses_small_icons()Ettore Perazzoli2002-07-096-33/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view.c (toggle_large_icons_cb): Change the group icon size using e_shortcuts_set_group_uses_small_icons() instead of changing it on the widget directly. (toggle_small_icons_cb): Likewise. (group_change_icon_size_callback): New, callback for the "group_change_icon_size" signal on the EShortcuts object. (e_shortcuts_view_construct): Connect. Also, initialize the icon sizes in the icon bars from the EShortcuts object. * e-shell-view.c (e_shell_view_load_settings): Don't set the shortcut group icon modes here anymore. * e-shortcuts.c: New member use_small_icons in struct ShortcutGroup. (shortcut_group_new): Init to FALSE. (e_shortcuts_set_group_uses_small_icons): New. (e_shortcuts_get_group_uses_small_icons): New. (class_init): Install "group_change_icon_size" signal. (save_shortcuts): Save the icon size per-group here, i.e. <group title="foo" icon_size="small">. (load_shortcuts): Set the icon size from the group's definition here. * e-shortcuts.h: New signal "group_change_icon_size" in EShortcutsClass. svn path=/trunk/; revision=17386
* Make the sound type for (play-sound ) a "file" type rather than "string"Jeffrey Stedfast2002-07-094-3/+20
| | | | | | | | | | | | | | | | | 2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Make the sound type for (play-sound ) a "file" type rather than "string" since users will want to use a filesel to select it most likely. Fixes bug #26921. * filter-file.c (validate): If the type is "file" check that it is a valid file, otheriwse if it is a command-line just ignore it for now. * filter-element.c (filter_element_new_type_name): A filter type of "file" should also use the filter-file object. svn path=/trunk/; revision=17385
* removed the news editor widget since it sucked.Jeffrey Stedfast2002-07-091-113/+0
| | | | svn path=/trunk/; revision=17384
* New helper function. (e_folder_to_corba): Use it here.Ettore Perazzoli2002-07-096-10/+67
| | | | | | | | | | | | | | | | | | * e-folder.c (safe_corba_string_dup): New helper function. (e_folder_to_corba): Use it here. * Makefile.am (libeshell_la_SOURCES): Move e-folder.c here, from evolution_SOURCES. (eshellinclude_HEADERS): Likewise, move e-folder.h here. * evolution-storage.c (impl_Storage_getFolderAtPath): New, implementation for Evoluiton::Storage::getFolderAtPath. (evolution_storage_get_epv): Install CORBA method here. * Evolution-Storage.idl (getFolderAtPath): New method in Evolution::Storage. svn path=/trunk/; revision=17383
* Only queue a send operation if we are in Online mode, otherwise don'tJeffrey Stedfast2002-07-062-2/+10
| | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_queued_cb): Only queue a send operation if we are in Online mode, otherwise don't bother wasting our time. svn path=/trunk/; revision=17381
* s/now// for "Send this message now" tooltipJeffrey Stedfast2002-07-061-1/+1
| | | | svn path=/trunk/; revision=17380
* No longer need to pass a postpone_cb function into the composerJeffrey Stedfast2002-07-069-81/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): No longer need to pass a postpone_cb function into the composer factory_init. * mail-send-recv.c (get_receive_type): If the provider is a transport, return SEND_SEND. * mail-config.c (mail_config_get_default_transport): If the default account doesn't have a transport, find the first account that does. * mail-callbacks.c (append_mail_cleanup): Don't bother freeing the appended_uid here. (composer_send_internal): New helper function that does all the similar work that composer_send_cb and composer_postpone_cb did. (composer_send_cb): Append the message to Outbox and in the async callback, queue a message send operation. (composer_postpone_cb): Removed. (composer_send_queued_cb): The new async callback for composer_send_cb(). If the append is successful, queue a message send operation and destroy the composer otherwise re-show the composer. (save_draft_done): g_strdup the appended uid. (compose_msg): Don't connect to the postpone signal anymore as it no longer exists. (send_to_url): Same. (mail_reply): Here too. (forward_get_composer): And here. (redirect_get_composer): Again here. (do_edit_messages): And finally here. * mail-ops.c (append_mail_free): Free the appended uid. svn path=/trunk/; revision=17379
* oops, forgot to saveJeffrey Stedfast2002-07-061-1/+1
| | | | svn path=/trunk/; revision=17378
* Don't connect to the postpone signal, but do connect to the save-draftJeffrey Stedfast2002-07-065-58/+24
| | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't connect to the postpone signal, but do connect to the save-draft signal. (evolution_composer_factory_init): No longer takes a postpone_cb argument, but does now take a save_draft_cb argument. * e-msg-composer.c (menu_file_send_later_cb): Removed. (class_init): Removed the POSTPONE signal. (setup_ui): Don't need to swap the Send/SendLater tooltips and accels anymore, since SendLater no longer exists. svn path=/trunk/; revision=17377
* Removed the Send Later verb.Jeffrey Stedfast2002-07-062-4/+4
| | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-message-composer.xml: Removed the Send Later verb. svn path=/trunk/; revision=17376
* (startup_wizard_cancel): Unref theEttore Perazzoli2002-07-062-0/+24
| | | | | | | ETimezoneDialog. (finish_func): Likewise. svn path=/trunk/; revision=17375
* (e_timezone_dialog_init):Ettore Perazzoli2002-07-062-0/+7
| | | | | | Make not floating. svn path=/trunk/; revision=17374
* cleaned up mail-config.glade to remove the notebook tab for the accounts_tabJeffrey Stedfast2002-07-051-257/+100
| | | | svn path=/trunk/; revision=17373
* Removed mail/mail-account-news-editor.cJeffrey Stedfast2002-07-052-1/+4
| | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed mail/mail-account-news-editor.c svn path=/trunk/; revision=17372
* Removed.Jeffrey Stedfast2002-07-053-265/+2
| | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor-news.[c,h]: Removed. svn path=/trunk/; revision=17371
* changed a commentJeffrey Stedfast2002-07-051-1/+2
| | | | svn path=/trunk/; revision=17370
* Set the IS_SOURCE provider flag.Jeffrey Stedfast2002-07-052-1/+5
| | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * providers/nntp/camel-nntp-provider.c: Set the IS_SOURCE provider flag. svn path=/trunk/; revision=17369
* Removed special-case code for NNTP support.Jeffrey Stedfast2002-07-059-364/+31
| | | | | | | | | | | | | | | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Removed special-case code for NNTP support. * mail-account-gui.c (mail_account_gui_setup): Allow configuration of both mail and news accounts. * component-factory.c (mail_load_storages): No longer need the is-account argument. * subscribe-dialog.c (populate_store_list): Don't special-case news accounts anymore. * mail-config.c (mail_config_get_default_news): Removed. (mail_config_get_news): Removed. (mail_config_add_news): Removed. (mail_config_remove_news): Removed. svn path=/trunk/; revision=17368
* Change all exceptions to report which POP server failed (and tried to makeJeffrey Stedfast2002-07-052-21/+31
| | | | | | | | | | 2002-07-04 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c: Change all exceptions to report which POP server failed (and tried to make a few of the exceptions a bit more clear). svn path=/trunk/; revision=17367
* Updated Ukrainian translationYuri Syrota2002-07-041-3785/+2872
| | | | svn path=/trunk/; revision=17366
* Convert back to native encoding.Abel Cheung2002-07-042-4538/+4542
| | | | | | | | 2002-07-04 Abel Cheung <maddog@linux.org.hk> * zh_TW.po: Convert back to native encoding. svn path=/trunk/; revision=17365
* Pass TRUE as the auto_connect argument to mail_load_storage_from_uri().Jeffrey Stedfast2002-07-046-14/+32
| | | | | | | | | | | | | | | | | | | | | 2002-07-03 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Pass TRUE as the auto_connect argument to mail_load_storage_from_uri(). * mail-account-gui.c (add_new_store): Pass FALSE as the auto_connect value to mail_load_storage_from_uri(). * mail-format.c (handle_multipart_encrypted): Pass the correct pointer into camel_multipart_encrypted_decrypt(). * component-factory.c (mail_add_storage): Now takes an auto-connect argument which it passes along to add_storage(). (mail_load_storage_from_uri): Same. (add_storage): Only call mail_note_store() if we plan on auto-connecting. svn path=/trunk/; revision=17363
* Invoke e_folder_dnd_bridge_drop().Ettore Perazzoli2002-07-044-15/+82
| | | | | | | | | | | | * e-storage-set-view.c (impl_tree_drag_drop): Invoke e_folder_dnd_bridge_drop(). * e-folder-dnd-bridge.c (find_matching_target_for_drag_context): New arg @atom_return. Return the GdkAtom associated with the type through it. (e_folder_dnd_bridge_drop): New. svn path=/trunk/; revision=17362
* Fix the URL for the DB 3.1.17 package; it's moved.Peter Williams2002-07-042-1/+5
| | | | | | | | 2002-07-03 Peter Williams <peterw@ximian.com> * README: Fix the URL for the DB 3.1.17 package; it's moved. svn path=/trunk/; revision=17361
* If we get an exception from the child sync, update the exception string soNot Zed2002-07-035-31/+75
| | | | | | | | | | | | | | | | | | | | 2002-07-03 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_sync): If we get an exception from the child sync, update the exception string so we know where it really was. * camel-vee-store.c (change_folder): Util to emit created/deleted events. (vee_get_folder): If the folder has path elements, and its parents dont exist, create dummy no-select nodes. This is for bug #4246. (vee_delete_folder): Use change_folder() to save code. * providers/local/camel-mbox-folder.c (mbox_set_message_flags): Only set xevchange if we're storing status headers in pine format, so we dont do a full sync every time any flag changes. svn path=/trunk/; revision=17360
* Take a void object arg. (camel_object_remove_event): "Not Zed2002-07-033-12/+25
| | | | | | | | | | | | 2002-06-27 Not Zed <NotZed@Ximian.com> * camel-object.c (camel_object_hook_event): Take a void object arg. (camel_object_remove_event): " (camel_object_unhook_event): " (camel_object_trigger_event): ", also, execute events in the same order they were added, i.e. reverse hook-list order. svn path=/trunk/; revision=17359
* *** empty log message ***Rodrigo Moya2002-07-031-1/+1
| | | | svn path=/trunk/; revision=17358
* Fixes #16034Rodrigo Moya2002-07-035-12/+62
| | | | | | | | | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #16034 * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-week-view.c (e_week_view_reshape_event_span): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): Don't assume all categories have icons when allocating space for the icons. svn path=/trunk/; revision=17357
* Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not).Rodrigo Moya2002-07-033-7/+14
| | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for):Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not). svn path=/trunk/; revision=17356
* updatedRadek Doulik2002-07-031-2634/+2722
| | | | svn path=/trunk/; revision=17355
* Increase the size of the escapped mlist buffer, we can't assume that thereJeffrey Stedfast2002-07-032-0/+2
| | | | | | | | | | | 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. (filter_type_uid): Ugh, we need to copy the fdata->source here. svn path=/trunk/; revision=17354
* 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