aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Flatten out View menu again by popular demandMiguel de Icaza2001-03-191-13/+8
| | | | svn path=/trunk/; revision=8797
* Small updateFatih Demir2001-03-182-793/+760
| | | | svn path=/trunk/; revision=8795
* Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu.Miguel de Icaza2001-03-1811-104/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Miguel de Icaza <miguel@ximian.com> * evolution-calendar.xml: Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu. * evolution.xml, evolution-mail.xml: Provide "Actions" in the toplevel evolution. Fill in Actions/Component in Evolution-mail (no visual changes, just internal changes). * evolution-calendar.xml: Added Actions menu. Added New Verb EditNewEvent. 2001-03-17 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_new_event, e_day_view_on_new_appointment): Simplifed this function to use the shared code. * gui/e-week-view.c (e_week_view_on_new_event, e_week_view_on_new_appointment): ditto. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): New function used to launch editor components with a time range. A bunch of functions use this code now instead of duplicating code all over the place svn path=/trunk/; revision=8794
* Brutally refactored to boost performance in large-addressbook situations.Jon Trowbridge2001-03-182-111/+243
| | | | | | | | | | | 2001-03-17 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c: Brutally refactored to boost performance in large-addressbook situations. These fixes give accepable performance (even with the suboptimal pas-backend-file searching) using tigert's addressbook-of-death. svn path=/trunk/; revision=8793
* Start feeding query matches back to the caller before the entire search isJon Trowbridge2001-03-182-9/+29
| | | | | | | | | | | 2001-03-17 Jon Trowbridge <trow@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search): Start feeding query matches back to the caller before the entire search is complete; this gives us some "instant feedback" rather than causing evolution to totally lock up... svn path=/trunk/; revision=8792
* Make sure the reply_to text is non-NULL before trying to pass it off toJeffrey Stedfast2001-03-182-0/+11
| | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to): Make sure the reply_to text is non-NULL before trying to pass it off to the address parser. svn path=/trunk/; revision=8791
* Tag all queued ops. (e_book_cancel_op): Added. Search for a pending opJon Trowbridge2001-03-184-43/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book.c (e_book_queue_op): Tag all queued ops. (e_book_cancel_op): Added. Search for a pending op with a given tag, and mark it as inactive. (e_book_do_response_get_cursor): Don't execute callback if this operations has been cancelled. (e_book_do_response_get_view): Ditto. (e_book_do_response_get_changes): Ditto. (e_book_do_response_get_supported_fields): Ditto. (e_book_get_supported_fields): Return an operation tag (that can be used to cancel the operation) rather than just TRUE/FALSE. Zero is always an invalid tag and is returned in the case of an error, so this shouldn't break any code that looked at the return value (unless it did so in a particularly stupid way, of course). (e_book_get_cursor): Ditto. (e_book_get_book_view): Ditto. (e_book_get_changes): Ditto. (e_book_cancel): Added. Cancel a pending operation. (Basically a call to e_book_cancel_op with error checking, etc.) * backend/ebook/e-book-types.h: Added E_BOOK_STATUS_CANCELLED. svn path=/trunk/; revision=8790
* Since we are now using filter-option widgets in place of system-flag, weJeffrey Stedfast2001-03-183-4/+14
| | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-option.c (build_code): Since we are now using filter-option widgets in place of system-flag, we do not need a "code" part so if there isn't a code part, don't build it. (clone): Updated to allow NULL code parts. svn path=/trunk/; revision=8789
* new function. (impl_BookListener_report_writable): new function.Chris Toshok2001-03-1821-31/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-listener.c (e_book_listener_queue_writable_status): new function. (impl_BookListener_report_writable): new function. (e_book_listener_get_epv): fill in epv->notifyWritable. * backend/ebook/e-book-listener.h: add writable status entries. * backend/ebook/e-book.c (e_book_do_writable_event): new function. (e_book_check_listener_queue): add WritableStatusEvent to the switch. (e_book_class_init): register writable_status signal. * backend/ebook/e-book.h: add writable_status signal. * backend/idl/addressbook.idl: add notifyWritable method to BookListener. * gui/widgets/e-minicard.c (e_minicard_class_init): add "editable" arg. (e_minicard_init): init editable. (e_minicard_set_arg): loop over the minicard fields setting their "editable". (e_minicard_get_arg): add editable. (supported_fields_cb): use editable when creating the contact_editor. (add_field): set "editable" when creatin the e_minicard. * gui/widgets/e-minicard.h (struct _EMinicard): add "editable". * gui/widgets/e-minicard-view.c (e_minicard_view_class_init): add editable arg. (e_minicard_view_init): init editable. (create_card): pass editable to e_minicard canvas item. (e_minicard_view_set_arg): bit of a hack - loop over all the canvas items setting their "editable." (e_minicard_view_get_arg): add editable. (supported_fields_cb): use editable when creating the contact editor. * gui/widgets/e-minicard-view.h (struct _EMinicardView): add "editable." * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): add "editable" field. (e_minicard_view_widget_init): init editable to FALSE. (e_minicard_view_widget_set_arg): save editable, and pass it along the e-minicard-view. (e_minicard_view_widget_realize): same. (e_minicard_view_widget_get_arg): add editable. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidget): add "editable" field. * gui/widgets/e-minicard-label.h (struct _EMinicardLabel): add "editable" field. * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): add "editable" arg. (e_minicard_label_set_arg): editable, set it on the e_text too. (e_minicard_label_get_arg): editable. (e_minicard_label_construct): set the "editable" field when we create the e_text cavas item * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): default editable to FALSE. (book_writable_cb): new function, set our editable field and gtk_object_set it on the active view. (e_addressbook_view_set_arg): set the active view's editable when we set the view's book, and connect the "writable_status" signal to book_writable_cb. (change_view_type): same. (supported_fields_cb): use our "editable" when creating the contact editor. * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add editable field. * gui/widgets/e-addressbook-model.c (e_addressbook_model_init): change the default of editable to FALSE. * backend/pas/pas-book.c (pas_book_report_writable): new function. * backend/pas/pas-book.h: prototype for pas_book_report_writable. * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): if we open the file O_RDWR (or create it) report it as writable. if we can't open it as O_RDWR, try opening it read-only before we attempt to create it. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_authenticate_user): if we authenticate successfully, grant write permissions (this is lacking but there's really nothing we can do to determine the extent of the access afforded a user.) svn path=/trunk/; revision=8787
* Don't include system include dir.Jeffrey Stedfast2001-03-184-4/+12
| | | | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Don't include system include dir. * camel.c: Use quotes around the nss.h include so it doesn't try to use the systen nss.h file. * camel-tcp-stream-ssl.c: Same here. svn path=/trunk/; revision=8786
* If the filter type is a "system-flag", use the optionlist type as typeJeffrey Stedfast2001-03-182-1/+6
| | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c (filter_element_new_type_name): If the filter type is a "system-flag", use the optionlist type as type system-flag has been removed. This should allow backward compatability. svn path=/trunk/; revision=8785
* Modified patch from Dan Berger <dberger@ix.netcom.com> to re-check theNot Zed2001-03-172-0/+7
| | | | | | | | | | 2001-03-17 Not Zed <NotZed@Ximian.com> * providers/local/camel-maildir-summary.c (maildir_summary_sync): Modified patch from Dan Berger <dberger@ix.netcom.com> to re-check the maildir directory for new/updated messages at sync time. svn path=/trunk/; revision=8781
* Remove the menu that is in the glade file because we want to replace itJeffrey Stedfast2001-03-174-5/+51
| | | | | | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * filter-editor.c (filter_editor_construct): Remove the menu that is in the glade file because we want to replace it with our menu, not append items to that menu. * filtertypes.xml: Oops, missed the system-flag action-set. * vfoldertypes.xml: Update "status" ruleset. svn path=/trunk/; revision=8780
* Moved functionality here from e_day_view_on_new_appointment. AllowsMiguel de Icaza2001-03-175-17/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Miguel de Icaza <miguel@ximian.com> * gui/e-week-view.c (e_week_view_new_event): Moved functionality here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_week_view_on_new_full_day): New function for making a full day event. (e_week_view_on_goto_date): Go To support. (e_week_view_on_goto_today): Goto today support. * gui/e-day-view.c (e_day_view_new_event): Moved functionality here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_day_view_on_new_full_day): New function for making a full day event. (e_day_view_on_goto_date): Go To support. (e_day_view_on_goto_today): Goto today support. * main_items: Add New All Day Event; Go to Today; Go to Date. svn path=/trunk/; revision=8778
* Move the proxy event outside the lock (otherwise we always deadlock).Not Zed2001-03-177-610/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_free): Move the proxy event outside the lock (otherwise we always deadlock). * mail-local.c (reconfigure_clicked): Clear the message list during update inside the folder thingy. This is a hell mess, need to move the gui stuff to mail-callbacks and make this reconfigure thing a more generic func. * message-list.c (ml_value_to_string): Cleanup the logic to use lookup tables. (sort_uid_to_rows): Removed due to rewrite below. (build_flat_diff): Changes for node/summary/etc changes. Also do changed nodes too. (clear_tree): Free the info reference for nodes in our hashtable. (build_subtree): Ref the info reference in our hash/tree node. (on_click): Dont free message info, since we just got our ref to it. (remove_node_diff): Free messageinfo off node. (build_flat): Ref messageinfo. (message_list_set_folder): Allow a NULL folder to be set - i.e. clear the view. (message_list_set_folder): Emit a no message sleeted signal. (build_tree): Change cursor keeping stuff to work with new info. Turned off BROKEN_ETREE - well maybe it'll work. Check for duplicate messages displayed, etc. 2001-03-16 Not Zed <NotZed@Ximian.com> * message-list.h: Added uid_nodemap; mapping of uid's to e-tree nodes. * message-list.c (build_flat): Changed to take a summary argument, and to store node in node map, etc, and store info's in e-tree. (build_subtree): Changed to store node in node map, and to store info's in tree directly. (ml_tree_value_at): Changed to get info directly from tree node, removed allocated return value logic. (ml_tree_value_at): Removed all "fake node" handling, no fake nodes should ever exist. (id_is_uid, id_is_subject, id_uid, id_subject): Removed macro's no longer used. (new_id_from_uid, new_id_from_subject): Removed no longer used. (get_message_uid): (get_message_info): Treat tree node data as messageinfo. (message_list_select): Dont free the messageinfo, as its part of our data, not retrieved from folder. (message_list_drag_data_get): ditto. (subtree_unread): Treat tree node data as messageinfo. (subtree_size): ditto. (subtree_earliest): ditto. (clear_tree): Reset uid_nodemap on clear. (save_node_state): tree nodes == messageinfo's. (add_node_diff): ditto. (remove_node_diff): ditto. (main_folder_changed): use uid_nodemap to lookup changed nodes. (main_message_changed): ditto. svn path=/trunk/; revision=8775
* Implemented. (ref_message_info): And default implementation.Not Zed2001-03-175-3/+204
| | | | | | | | | | | | | | | | | | | 2001-03-17 Not Zed <NotZed@Ximian.com> * camel-folder.c (camel_folder_ref_message_info): Implemented. (ref_message_info): And default implementation. * camel-folder.h: Added ref_message_info virtual method. 2001-03-16 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new_summary): New function to create a thread tree from a supplied summary array. (camel_folder_thread_messages_destroy): Handle thread trees generated by the above function properly. svn path=/trunk/; revision=8774
* Added directions on how to build with SSL support.Jeffrey Stedfast2001-03-173-19/+54
| | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * README: Added directions on how to build with SSL support. * configure.in: Updated the checks for NSS and NSPR svn path=/trunk/; revision=8773
* Added accelerator to elements missing accelerators (Reply, Inline, Quoted,Miguel de Icaza2001-03-175-12/+27
| | | | | | | | | | | | | | | | | | 2001-03-16 Miguel de Icaza <miguel@ximian.com> * evolution-mail.xml: Added accelerator to elements missing accelerators (Reply, Inline, Quoted, Attachments, Empty Trash, Full Headers). * evolution.xml: Added a placeholder for the beginning of the view. 2001-03-16 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Hook this up under the "ViewBegin" node. svn path=/trunk/; revision=8772
* New function: inits the BonoboPersistFile server.Miguel de Icaza2001-03-173-1/+46
| | | | | | | | | | | | | | | 2001-03-07 Miguel de Icaza <miguel@ximian.com> * gui/control-factory.c (calendar_persist_init): New function: inits the BonoboPersistFile server. * gui/GNOME_Evolution_Calendar.oaf.in: Added BonoboPropertyBag to the list of supported interfaces that were supported but not reported. Add the new PersistFile. Add text/calendar mime type attribute. svn path=/trunk/; revision=8771
* Removed filter-system-flag.c.Jeffrey Stedfast2001-03-172-1/+4
| | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed filter-system-flag.c. svn path=/trunk/; revision=8770
* removed these blasted filesJeffrey Stedfast2001-03-174-602/+0
| | | | svn path=/trunk/; revision=8769
* Removed filter-url.[c,h] and filter-system-flag.[c,h]Jeffrey Stedfast2001-03-175-32/+37
| | | | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed filter-url.[c,h] and filter-system-flag.[c,h] * filter-element.c (filter_element_new_type_name): Removed references to the url-type and system-flag types. * filtertypes.xml: Removed "source" type and fixed "status" to use the optionmenu. * filter-url.[c,h]: Removed. * filter-system-flag.[c,h]: Removed (just use optionmenu). svn path=/trunk/; revision=8768
* Same.Jeffrey Stedfast2001-03-173-2/+8
| | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * camel-private.h: Same. * camel-remote-store.h: Fixed #include to use <>'s instead of ""'s svn path=/trunk/; revision=8767
* New function to prepare the mime part and any subparts for pgp signing.Jeffrey Stedfast2001-03-172-6/+79
| | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign_prepare_part): New function to prepare the mime part and any subparts for pgp signing. (pgp_mime_part_sign_restore_part): New convenience function to undo the prepare_part. (pgp_mime_part_sign): Don't assume the part passed in is a leaf part, we could very easily get a multipart (and in fact were which is why people have been having unexpected results when signing messages with attachments) and set the encoding as if it were a leaf part. Use our 2 new convenience functions to set the encoding(s) instead. svn path=/trunk/; revision=8766
* removed camel-stream-ssl.c and camel-stream-ssl.hJeffrey Stedfast2001-03-172-316/+0
| | | | svn path=/trunk/; revision=8765
* Print info about the issuer of the certificate.Jeffrey Stedfast2001-03-179-82/+170
| | | | | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (ssl_bad_cert): Print info about the issuer of the certificate. * providers/smtp/camel-smtp-transport.c (smtp_connect): Use camel_tcp_stream_get_socket(). * camel-tcp-stream-openssl.c (stream_get_socket): Implemented. * camel-tcp-stream-ssl.c (stream_get_socket): Implemented. * camel-tcp-stream-raw.c (stream_get_socket): Implemented. * camel-tcp-stream.c (camel_tcp_stream_get_socket): New function. svn path=/trunk/; revision=8764
* Fix a bug noticed by kmaraasDan Winship2001-03-172-1/+5
| | | | | | * e-path.c (e_path_to_physical): Fix a bug noticed by kmaraas svn path=/trunk/; revision=8763
* Added #include <config.h>Kjartan Maraas2001-03-172-0/+8
| | | | | | | | 2001-03-16 Kjartan Maraas <kmaraas@gnome.org> * providers/pop3/camel-pop3-folder.c: Added #include <config.h> svn path=/trunk/; revision=8762
* Don't use getdomainname: it's NIS crap, not DNS.Dan Winship2001-03-172-6/+9
| | | | | | | * camel-mime-utils.c (header_msgid_generate): Don't use getdomainname: it's NIS crap, not DNS. svn path=/trunk/; revision=8761
* Comment out text after #endif. Add #include <string.h> for strcmp().Kjartan Maraas2001-03-161-0/+1
| | | | | | | | | 2001-03-16 Kjartan Maraas <kmaraas@gnome.org> * gal/widgets/widget-pixmap-combo.h: Comment out text after #endif. * gal/e-text/e-completion.c: Add #include <string.h> for strcmp(). svn path=/trunk/; revision=8758
* Added #include <string.h> for strcmp(). Same for strlen().Kjartan Maraas2001-03-162-0/+2
| | | | | | | | | 2001-03-16 Kjartan Maraas <kmaraas@gnome.org> * e-cell-combo.c: Added #include <string.h> for strcmp(). * e-table-header-utils.c: Same for strlen(). svn path=/trunk/; revision=8757
* Updated Norwegian (bokmål) translation.Kjartan Maraas2001-03-162-143/+158
| | | | | | | | | | 2001-03-16 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. 2001-03-15 Matthias Warkus <mawarkus@gnome.org> svn path=/trunk/; revision=8756
* Making warnings fatal is actually a pretty bad idea for anything otherJon Trowbridge2001-03-161-0/+2
| | | | | | | | | | 2001-03-16 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook-factory.c (main): Making warnings fatal is actually a pretty bad idea for anything other than intensive debugging, so I've #if 0/#endif-ed it out. svn path=/trunk/; revision=8755
* Added addressbook querying and "cardification" functions, which are turnedJon Trowbridge2001-03-1618-223/+1027
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-15 Jon Trowbridge <trow@ximian.com> * gui/component/e-address-widget.c: Added addressbook querying and "cardification" functions, which are turned off by default for now because of addressbook bugs. Added a popup menu option to turn queries on, so that others can enjoy the thrill of massive flaming death. * gui/component/addressbook-factory.c (main): Made warnings always be fatal. * backend/pas/pas-book-view.c: Added some debugging spew. * backend/pas/pas-backend-file.c (pas_backend_file_search): Added a little experimental code to try to make file searches scale better. #if 0/#endif-ed out for now. * contact-editor/e-contact-quick-add.c: #included e-book-util.h. * backend/ebook/e-card.c (e_card_name_match_string): Added. Looser name-matching function. (e_card_email_match_string): Added. Loose e-mail matching. * backend/ebook/e-book-view-listener.c (e_book_view_listener_check_queue): Added code to cause us to abort rather than get trapped in a 100%-CPU-consuming loop in certain situations. Now we just need to figure out how to avoid these situations altogether. * backend/ebook/e-book-util.c: Added. Now contains the simple query stuff and the open local addressbook functions. * backend/ebook/e-book.c: Moved simple query stuff and open local addressbook functions into e-book-util.c. 2001-03-15 Jon Trowbridge <trow@ximian.com> * wombat.c (main): If we can't initialize a service on startup, tell us which one before terminating. svn path=/trunk/; revision=8754
* Don't use the hardcoded cert db directory, use the one passed in.Jeffrey Stedfast2001-03-163-14/+134
| | | | | | | | | | | | | | | | | 2001-03-15 Jeffrey Stedfast <fejj@ximian.com> * camel.c (camel_init): Don't use the hardcoded cert db directory, use the one passed in. * camel-tcp-stream-ssl.c (ssl_get_client_auth): Wrote the default implementation. Not that we'll use this though, since this is the default implementation provided by NSS anyway. This more or less serves as a reference in case we want to change anything. (ssl_auth_cert): Same. (ssl_bad_cert): Changed the prompt string and free it when we're done. svn path=/trunk/; revision=8753
* Fix memory leak.Miguel de Icaza2001-03-162-4/+13
| | | | | | | | | 2001-03-15 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c (folder_browser_setup_view_menus): Fix memory leak. svn path=/trunk/; revision=8752
* import druid iconJakub Steiner2001-03-162-0/+4
| | | | svn path=/trunk/; revision=8751
* Bump gal requirement to 0.5.99.7Dan Winship2001-03-162-3/+7
| | | | | | * configure.in: Bump gal requirement to 0.5.99.7 svn path=/trunk/; revision=8750
* Update arguments to e_canvas_item_grab_focus.Dan Winship2001-03-163-2/+10
| | | | | | | | | | * e-meeting-time-sel.c (e_meeting_time_selector_on_text_item_event): * e-meeting-time-sel-list-item.c (e_meeting_time_selector_list_item_button_press): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8749
* Update arguments to e_canvas_item_grab_focus.Dan Winship2001-03-163-2/+8
| | | | | | | | * gui/e-week-view.c (e_week_view_start_editing_event): * gui/e-day-view.c (e_day_view_start_editing_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8748
* Update arguments to e_canvas_item_grab_focus.Dan Winship2001-03-163-3/+9
| | | | | | | | * gui/widgets/e-minicard-label.c (e_minicard_label_set_arg): * gui/widgets/e-minicard.c (e_minicard_set_arg, e_minicard_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8747
* Update arguments to e_canvas_item_grab_focus. (eti_cursor_change): Ditto,Dan Winship2001-03-161-3/+3
| | | | | | | | | | * e-table-item.c (eti_event): Update arguments to e_canvas_item_grab_focus. (eti_cursor_change): Ditto, but pass FALSE! Fixes the problem of the Evolution message list stealing your focus when new mail arrives. Ha! svn path=/trunk/; revision=8746
* Make this take an extra argument saying whether or not to grab theDan Winship2001-03-163-8/+9
| | | | | | | | | | | * gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Make this take an extra argument saying whether or not to grab the widget-level focus. * gal/e-text/e-text.c (e_text_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8745
* translate NIL to "" in fetch body part responseDan Winship2001-03-161-1/+3
| | | | svn path=/trunk/; revision=8744
* First batch of disconnected IMAP-related stuff. This adds localDan Winship2001-03-1613-268/+786
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caching of message parts, but NOT any actual disconnected support. (But it should speed up IMAP use.) * providers/imap/camel-imap-message-cache.c: New class for caching message data to disk, and removing it when it's no longer relevant. Will eventually also support merging message parts together to save on files. Or maybe using a db instead of files? * providers/imap/camel-imap-private.h: Add a cache_lock to CamelImapFolderPrivate. This lock must be recursive, so make both locks EMutexes rather than GMutex. * providers/imap/camel-imap-folder.c (parse_fetch_response): "The only FETCH response parser you need!" Replaces the various almost-correct bits of code formerly scattered throughout this file with a single fully-correct function that can handle any FETCH response at any time, so we don't get confused by seeing a flags update when we were only expecting a message body, etc. (camel_imap_folder_fetch_data): FETCH a message body part either from the cache or the server (camel_imap_folder_changed): Remove expunged messages from the message cache. (camel_imap_folder_new): Change to take a directory instead of a summary file name. Create a CamelImapMessageCache for the folder. (imap_finalize): Unref the message cache. (camel_imap_folder_selected, imap_rescan, get_content, get_message, imap_get_message, imap_update_summary): Redone a bunch to use parse_fetch_data, CamelImapMessageCache, etc. * providers/imap/camel-imap-store.c (get_folder): Pass directory name to camel_imap_folder_new, not summary filename. Use e_path_to_physical to generate a path with /subfolders/ inserted between directory components. * providers/imap/camel-imap-wrapper.c (camel_imap_wrapper_new): Call camel_imap_folder_fetch_data (with cache_only TRUE) and if the data is cached, return an online datawrapper rather than an offline one. (write_to_stream): Use camel_imap_folder_fetch_data (with cache_only FALSE) here too * providers/imap/camel-imap-utils.c (imap_skip_list): Renamed from skip_list and made non-static. svn path=/trunk/; revision=8743
* ackJeffrey Stedfast2001-03-161-1/+1
| | | | svn path=/trunk/; revision=8742
* We don't care about SSL, yea baby... (apply_changes): Don't care aboutJeffrey Stedfast2001-03-166-77/+39
| | | | | | | | | | | | | | | | | | | | 2001-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): We don't care about SSL, yea baby... (apply_changes): Don't care about SSL, no baby... (construct): Yea, I said we don't care 'bout SSL, baby (construct): That's exactly what I said, uh huh... (transport_auth_type_changed): Set the sensitivity of the user/passwd entries. (transport_type_changed): If the hostname hasn't been set yet, just use "localhost" as it doesn't really matter, since all we need is a valid URL object. * mail-config.c: We no longer need `use_ssl' for sources and transports. svn path=/trunk/; revision=8741
* Translation updates finally committedMatthias Warkus2001-03-162-1524/+1775
| | | | svn path=/trunk/; revision=8740
* Updated Spanish TranslationHector Garcia2001-03-162-2/+128
| | | | svn path=/trunk/; revision=8739
* Uninclude prnetdb.h since it's not needed here.Jeffrey Stedfast2001-03-165-7/+16
| | | | | | | | | | | | | | | | 2001-03-15 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.h: Uninclude prnetdb.h since it's not needed here. * providers/smtp/camel-smtp-transport.c: #include prnetdb.h here instead of making camel-tcp-stream-ssl.h include it. Prevents some header bloat. * providers/smtp/Makefile.am: Include the NSPR_CFLAGS and NSS_CFLAGS. svn path=/trunk/; revision=8738
* Remove a stray camel_object_ref that was causing messages to never beDan Winship2001-03-152-1/+7
| | | | | | | | | * mail-display.c (mail_display_redisplay): Remove a stray camel_object_ref that was causing messages to never be finalized if they got redisplayed (because of attachments, delayed-loading IMAP parts, etc) svn path=/trunk/; revision=8737
* Fix a bit: [mailto:foo] shouldn't grab the ']'Dan Winship2001-03-152-1/+6
| | | | | | | * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
* Updated russian translation.Valek Frob2001-03-152-668/+551
| | | | svn path=/trunk/; revision=8735
* Updated Norwegian (bokmål) translation.Kjartan Maraas2001-03-152-21/+15
| | | | | | | | 2001-03-15 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=8734
* Added Azeri language filePablo Saratxaga2001-03-1520-24184/+49483
| | | | | | | fixed various po files fixed a no-c-format tag svn path=/trunk/; revision=8733
* update by ChiDeok, Hwang <hwang@mizi.co.kr>Nam SungHyun2001-03-151-152/+190
| | | | svn path=/trunk/; revision=8732
* Added edit item to search-bar menu.Not Zed2001-03-154-3/+19
| | | | | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * folder-browser.c: Added edit item to search-bar menu. * mail-callbacks.c (filter_edit): Changed for filter_editor_new() api addition/change. * mail-vfolder.c (vfolder_edit): Use vfolder_editor_new intead. svn path=/trunk/; revision=8731
* If we click on the edit menu, then bring up a rule editor. If the userNot Zed2001-03-152-0/+32
| | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): If we click on the edit menu, then bring up a rule editor. If the user adds/removes rules though, they are neither saved, nor added to the menu's. sigh. svn path=/trunk/; revision=8730
* Changed the edit_filter to be a standalone window rather than a widget, soNot Zed2001-03-1514-928/+943
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * filter.glade: Changed the edit_filter to be a standalone window rather than a widget, so we can get the rule editor part out separately. Same for vfolder editor, and new score, and basic rule editors. * score-editor.c (score_editor_new): Turned back on object stuff, subclass rule-editor, and removed most of the code. * filter-editor.c (filter_editor_new): Turned into an object, subclass rule-editor, removed most of the code. Now we accept the source list during create, and plug that into the glade. * vfolder-editor.c (vfolder_editor_new): Turned back on object stuff, subclass rule-editor, and removed most of the code. * Makefile.am (libfilter_la_SOURCES): Added rule-editor.[ch]. * filter-filter.c (validate): inherit the validate function and also validate the actions part of a filterfilter. * filter-rule.c (filter_rule_validate): New method so that filter rules can validate themselves. (validate): Default implementation, validates base rules. * rule-editor.h: New generic rule editor, to be used for filter editor/vfolder editor/score editor/saved searches editor. svn path=/trunk/; revision=8729
* Update for using CamelTcpStreams and also for using SSL.Jeffrey Stedfast2001-03-153-20/+52
| | | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): Update for using CamelTcpStreams and also for using SSL. * providers/smtp/libcamelsmtp.urls: defined "ssmtp" * providers/smtp/camel-smtp-provider.c: Defined the Secure SMTP provider. (camel_provider_module_init): Register the Secure SMTP provider. svn path=/trunk/; revision=8728
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-1534-612/+73
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* defined "ssmtp"Jeffrey Stedfast2001-03-155-10/+50
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/libcamelsmtp.urls: defined "ssmtp" * providers/smtp/camel-smtp-provider.c: Defined the Secure SMTP provider. (camel_provider_module_init): Register the Secure SMTP provider. svn path=/trunk/; revision=8726
* also change the protocol name in the providersJeffrey Stedfast2001-03-152-2/+2
| | | | svn path=/trunk/; revision=8725
* Check for "simap" instead of "imaps".Jeffrey Stedfast2001-03-155-5/+18
| | | | | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_connect): Check for "simap" instead of "imaps". * providers/pop3/camel-pop3-store.c (pop3_connect): Change the port to be 995 for spop. * providers/pop3/libcamelpop3.urls: Change to "spop". * providers/imap/libcamelimap.urls: Change "imaps" to "simap" to correspond to /etc/services. svn path=/trunk/; revision=8724
* Check to see if we are using "pops" and then set the appropriate SSLJeffrey Stedfast2001-03-154-3/+54
| | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_connect): Check to see if we are using "pops" and then set the appropriate SSL settings. * providers/pop3/libcamelpop3.urls: Add "pops" * providers/pop3/camel-pop3-provider.c: Defined the pops provider. (camel_provider_module_init): Register the pops provider. svn path=/trunk/; revision=8723
* Ya know what? Lets not ref the service because otherwise we'll startJeffrey Stedfast2001-03-152-2/+9
| | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_new): Ya know what? Lets not ref the service because otherwise we'll start having the same problems we had back with vtrash. Besides, since the store owns the stream, it's not like the store is going anywhere without the stream anyway. (camel_tcp_stream_ssl_finalize): No need to unref the service. svn path=/trunk/; revision=8722
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-1/+5
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons and show the label. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8721
* Pass the service into the SSL stream, not the session.Jeffrey Stedfast2001-03-154-22/+37
| | | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel-remote-store.c (remote_connect): Pass the service into the SSL stream, not the session. * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_init): Set the service to NULL. (camel_tcp_stream_ssl_finalize): Unref the service. (camel_tcp_stream_ssl_new): Takes a CamelService arg now rather than a CamelSession arg. svn path=/trunk/; revision=8720
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-2/+8
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8719
* So it turns out that NSS_Init *isn't* idempotent, so we have to protectJeffrey Stedfast2001-03-157-29/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel.c (camel_init): So it turns out that NSS_Init *isn't* idempotent, so we have to protect against initializing it more than once(contrary to what their design specs suggest). * camel-session.c (camel_session_get_service): Use camel_exception_is_set() - Makes no difference but it's more consistant with how we normally do it. * camel-provider.h (CAMEL_URL_ALLOW_SSL): We don't need this. * providers/imap/camel-imap-provider.c: Define the imaps provider. (camel_provider_module_init): Register the imaps provider. * camel-provider.c (camel_provider_init): Only add the protocol to the hash table if it's non empty. Also, g_strdup() the filename into the hash table. * providers/imap/camel-imap-store.c (camel_imap_store_init): Eek! So the service's URL isn't set until after this is initialized. This means we can't check for SSL here. (imap_connect): Set the SSL options here instead. svn path=/trunk/; revision=8718
* Tell camel to init NSS.Jeffrey Stedfast2001-03-152-1/+5
| | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. svn path=/trunk/; revision=8717
* Updated Swedish translation.Christian Rose2001-03-152-2569/+3344
| | | | svn path=/trunk/; revision=8716
* Eek! So the service's URL isn't set until after this is initialized. ThisJeffrey Stedfast2001-03-154-15/+21
| | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_init): Eek! So the service's URL isn't set until after this is initialized. This means we can't check for SSL here. (imap_connect): Set the SSL options here instead. svn path=/trunk/; revision=8715
* create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-1510-5/+35
| | | | | | | | | | | | | 2001-03-14 Gediminas Paulauskas <menesis@delfi.lt> * configure.in: create doc/devel/executive-summary/Makefile * doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml anymore * filter/filter-system-flag.c: translate status flag title. svn path=/trunk/; revision=8714
* Updated Lithuanian translation.Gediminas Paulauskas2001-03-152-1491/+1998
| | | | | | | | 2001-03-14 Gediminas Paulauskas <menesis@delfi.lt> * lt.po: Updated Lithuanian translation. svn path=/trunk/; revision=8713
* Updated to AC_SUBST the NSPR/NSS flags.Jeffrey Stedfast2001-03-152-2/+16
| | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Updated to AC_SUBST the NSPR/NSS flags. svn path=/trunk/; revision=8712
* Numerous fixes to get it to build correctly with NSS enabled.Jeffrey Stedfast2001-03-159-16/+56
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c: Numerous fixes to get it to build correctly with NSS enabled. * camel-remote-store.c (remote_connect): Pass in the session and expected host args, oops. * camel-provider.h (CAMEL_URL_ALLOW_SSL): Defined. * providers/imap/camel-imap-store.c (camel_imap_store_init): Check to see if we are supposed to use SSL and set the options accordingly. (imap_connect): Return FALSE here instead of NULL. * providers/imap/camel-imap-provider.c: Add CAMEL_URL_ALLOW_SSL. * providers/imap/libcamelimap.urls: Add "imaps" which is the protocol for Secure IMAP. svn path=/trunk/; revision=8711
* AddedJeffrey Stedfast2001-03-155-0/+613
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.[c,h]: Added * Makefile.am: Added camel-tcp-stream-openssl.[c,h] to the build. * camel-types.h: Added CamelTcpStreamSSL and CamelTcpStreamOpenSSL svn path=/trunk/; revision=8710
* Pull up some of the clarifications from the 0.9 branchDan Winship2001-03-142-6/+9
| | | | | | * README: Pull up some of the clarifications from the 0.9 branch svn path=/trunk/; revision=8707
* builddir != srcdir fixes. Yay!Ettore Perazzoli2001-03-144-4/+20
| | | | svn path=/trunk/; revision=8706
* re-constify inbuf, to remove a warning.Not Zed2001-03-1410-16/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-14 Not Zed <NotZed@Ximian.com> * camel-mime-filter-charset.c (filter, complete): re-constify inbuf, to remove a warning. * camel-mime-parser.c (folder_scan_step): When we're out of data, run the filter_complete. For some reason the logic that was there was never being run, always try it now, i think it was to work around a buggy filter, rather than fix it the right way. * camel-folder-summary.c (summary_build_content_info): If indexing html parts, use the html filter to convert it to some indexable format. (summary_build_content_info): Reset the filters before adding them back to the stream, if they get re-used in a given instance (likely). * Makefile.am (libcamelinclude_HEADERS): Added camel-mime-filter-html.[ch]. (INCLUDES): Added xml clags 2001-03-05 Not Zed <NotZed@Ximian.com> * camel-folder-search.c (camel_folder_search_class_init): Setup a new function, "uid" which matches uids. (search_uid): Implement the "match uid" command. svn path=/trunk/; revision=8705
* Check for a new type of mailing list header.Jeffrey Stedfast2001-03-143-0/+6
| | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: Check for a new type of mailing list header. svn path=/trunk/; revision=8702
* Made cancellable. (stream_write): Same. (stream_connect): Removed checksJeffrey Stedfast2001-03-143-42/+114
| | | | | | | | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-raw.c (stream_read): Made cancellable. (stream_write): Same. (stream_connect): Removed checks for DIVINE_INTERVENTION as the code worked fine. * camel-tcp-stream-ssl.c (stream_write): get rid of 'w' as it wasn't really needed. (set_errno): New function to set errno based on the NSPR error code. (stream_read): If an error occured, call set_errno(). (stream_write): Same. svn path=/trunk/; revision=8701
* Added camel-tcp-stream-ssl to the build.Jeffrey Stedfast2001-03-143-0/+10
| | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added camel-tcp-stream-ssl to the build. * camel-remote-store.h: Add a use_ssl member to the CamelRemoteStore object. svn path=/trunk/; revision=8698
* Oops. Make this a subclass of CamelTcpStream, not CamelStream.Jeffrey Stedfast2001-03-147-126/+163
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_get_type): Oops. Make this a subclass of CamelTcpStream, not CamelStream. * camel-types.h: Add the defs for CamelTcpStream and CamelTcpStreamRaw * Makefile.am: Add camel-tcp-stream and camel-tcp-stream-raw to the build. * camel-remote-store.c (remote_connect): Update to use CamelTcpStreams. * camel-tcp-stream-raw.c (stream_connect): Made cancellable by copying the currently used code in camel-remote-store.c. (stream_setsockopt): Oops, flags = fcntl (..., GET_FL); (camel_tcp_stream_raw_get_type): Oops. Make this a subclass of CamelTcpStream, not CamelStream. svn path=/trunk/; revision=8697
* Fix a warning here.Christopher James Lahey2001-03-142-1/+6
| | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook.c (update_pixmaps): Fix a warning here. svn path=/trunk/; revision=8695
* Made this function do something a little closer to what it is supposed toChristopher James Lahey2001-03-141-2/+4
| | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (e_reflow_point): Made this function do something a little closer to what it is supposed to do. svn path=/trunk/; revision=8693
* Call gtk_html_end() on the stream so things happen. Fixes a problem withDan Winship2001-03-143-0/+22
| | | | | | | | | | * mail-display.c (on_url_requested): Call gtk_html_end() on the stream so things happen. Fixes a problem with some inline images (just very small ones maybe?) * importers/.cvsignore: create svn path=/trunk/; revision=8691
* Since all of the Mozilla libs (including NSPR and NSS) correctly handleJeffrey Stedfast2001-03-143-3/+33
| | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel.c (camel_init): Since all of the Mozilla libs (including NSPR and NSS) correctly handle reinitializations, we might as well init both NSPR and NSS in camel_init so we can be sure of that these libs have been initialized. (camel_shutdown): New function to call the NSS cleanup stuff. svn path=/trunk/; revision=8690
* Call camel_init with the evolution directory passed in. Also, abort ifJeffrey Stedfast2001-03-143-10/+24
| | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Call camel_init with the evolution directory passed in. Also, abort if camel cannot be initialized. * main.c (main): Shutdown camel. svn path=/trunk/; revision=8689
* Change to ld order from Greg Williams.Christopher James Lahey2001-03-142-1/+6
| | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * gui/widgets/Makefile.am (minicard_label_test_LDADD): Change to ld order from Greg Williams. svn path=/trunk/; revision=8688
* Moved where we call pas_book_respond_get_book_view.Christopher James Lahey2001-03-142-6/+12
| | | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): Moved where we call pas_book_respond_get_book_view. svn path=/trunk/; revision=8685
* Rename this from g_unichar_to_utf8 so that it doesn't conflict with theDan Winship2001-03-142-9/+9
| | | | | | | | | * gal/widgets/e-unicode.c (e_unichar_to_utf8): Rename this from g_unichar_to_utf8 so that it doesn't conflict with the function of that name exported by gnome-print (and so that it's consistent with all of the other functions in the file). svn path=/trunk/; revision=8679
* add -lresolv to LDAP_LIBS if it's there.Chris Toshok2001-03-142-3/+9
| | | | | | | | 2001-03-13 Chris Toshok <toshok@ximian.com> * configure.in: add -lresolv to LDAP_LIBS if it's there. svn path=/trunk/; revision=8678
* Don't allow the user to copy a message to or from the vtrash folder. SetJeffrey Stedfast2001-03-144-34/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c (camel_folder_copy_message_to): Don't allow the user to copy a message to or from the vtrash folder. Set an exception if they try. (camel_folder_move_message_to): This one is a bit more complicated: 1) If the user tried to move a message from the vtrash into the original folder, just undelete the message. 2) If the user tries to move the message to the vtrash folder, then just mark the message as deleted. 3) If the user tries to move the message from the vTrash to a folder other than the original, use the original folder as the source. As another optimization, I've made it so that if the user tries to move a message to the same folder, just no-op. (move_message_to): Unset the deleted flag before moving (assuming it's there). (copy_message_to): Same. * camel-vee-folder.c (camel_vee_folder_get_message_folder): New convenience function to get the folder from which the message uid is derived from. svn path=/trunk/; revision=8677
* Have a "Do not ask me again" box for the importers.Iain Holmes2001-03-142-12/+55
| | | | svn path=/trunk/; revision=8676
* When trying again after a failed password attempt, check if the connectionDan Winship2001-03-142-0/+12
| | | | | | | | * providers/imap/camel-imap-store.c (imap_connect): When trying again after a failed password attempt, check if the connection got dropped (which Courier will do) and deal accordingly. svn path=/trunk/; revision=8675
* More fixing for exim: It can't deal with "-tif", you need to say "-t -iDan Winship2001-03-142-10/+17
| | | | | | | | * providers/sendmail/camel-sendmail-transport.c (sendmail_send_to, sendmail_send): More fixing for exim: It can't deal with "-tif", you need to say "-t -i -f". svn path=/trunk/; revision=8674
* Use gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info, sinceDan Winship2001-03-143-8/+28
| | | | | | | | | | | | | * e-msg-composer-attachment.c (update_mime_type): Use gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info, since the entered filename doesn't have to be a real file on disk. Deal with it returning NULL too. (e_msg_composer_attachment_edit): Select the right item in the inline/attachment menu. * e-msg-composer-hdrs.c: s/Pair/EMsgComposerHdrPair/. Namespace! svn path=/trunk/; revision=8673
* Deleting some files that should not have been added in the first placeHector Garcia2001-03-144-118/+0
| | | | svn path=/trunk/; revision=8672
* Adding files to help translating evolution guide using a .po wayHector Garcia2001-03-1478-0/+39704
| | | | | | Adding initial release of the spanish translation of evolution guide. svn path=/trunk/; revision=8671
* add E_STRING_PROP for categories.Chris Toshok2001-03-135-1/+23
| | | | | | | | | | | | | | | | | 2001-03-12 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c: add E_STRING_PROP for categories. * backend/pas/evolutionperson.schema: add categories attribute. * backend/ebook/e-card-simple.c (field_data): add E_CARD_SIMPLE_FIELD_CATEGORIES. * backend/ebook/e-card-simple.h: add E_CARD_SIMPLE_FIELD_CATEGORIES. svn path=/trunk/; revision=8664
* impl. (update_pixmaps): accelerate with cache.Michael Meeks2001-03-132-33/+61
| | | | | | | | | 2001-03-04 Michael Meeks <michael@ximian.com> * folder-browser-factory.c (free_pixmaps): impl. (update_pixmaps): accelerate with cache. svn path=/trunk/; revision=8663
* add is_read_only param.Chris Toshok2001-03-1322-69/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only param. * gui/widgets/e-minicard-view.c (supported_fields_cb): add is_read_only param. * gui/widgets/e-addressbook-view.c (supported_fields_cb): add is_read_only param. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): add is_read_only param. also, include a little policy here and make it TRUE, as the user shouldn't be editting in this context anyway (imo). * gui/component/addressbook.c (supported_fields_cb): add is_read_only param. * contact-editor/test-editor.c (main): add is_read_only param. * contact-editor/e-contact-editor.c (set_read_only): new function, that either enables or disables all the text fields, combo boxes, and some buttons, depending on the state of is_read_only. (e_contact_editor_class_init): add read/write arg "is_read_only". (full_name_clicked): set the is_read_only of the fullname dialog to the editor's. (full_addr_clicked): same. (e_contact_editor_new): add is_read_only param, that gets set along with the other params. (e_contact_editor_set_arg): add setter for is_read_only. (e_contact_editor_get_arg): add getter for is_read_only. (_phone_arrow_pressed): change TRUE to !editor->is_read_only for entry. (_email_arrow_pressed): same. (_address_arrow_pressed): same. (enable_writable_fields): same. * contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_class_init): add read/write arg "is_read_only". (e_contact_editor_fullname_set_arg): add setter for is_read_only that enables/disables all the entries/combos. (e_contact_editor_fullname_get_arg): add getter for is_read_only. * contact-editor/e-contact-editor-fullname.h (struct _EContactEditorFullname): add is_read_only flag. * contact-editor/e-contact-editor-address.c (e_contact_editor_address_class_init): add read/write arg "is_read_only". (e_contact_editor_address_set_arg): add setter for is_read_only that disables/enables all the entries/combos. (e_contact_editor_address_get_arg): add getter for is_read_only. * contact-editor/e-contact-editor-address.h (struct _EContactEditorAddress): add is_read_only flag. svn path=/trunk/; revision=8662
* All my changes to get the folder creation working, and the magic NetscapeIain Holmes2001-03-1334-529/+1944
| | | | | | importer. svn path=/trunk/; revision=8661
* Rearranged some of the dependencies to try to get them into a more correctJeffrey Stedfast2001-03-132-4/+10
| | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * README: Rearranged some of the dependencies to try to get them into a more correct order (needed for people building all of these packages by hand). svn path=/trunk/; revision=8660
* Added view_replyto member.Jeffrey Stedfast2001-03-135-42/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.h: Added view_replyto member. * e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if we want to view the Reply-To header. (e_msg_composer_set_view_replyto): A new function to set the state of the replyto header. (menu_view_replyto_cb): Callback for setting the ReplyTo state. (set_config): Make static. (setup_ui): Setup the ReplyTo bonobo stuff. (load_from_property_bag): More defaults for the ReplyTo, yay. (load_from_gnome_config): Again... (e_msg_composer_get_view_bcc): Implemented. (e_msg_composer_get_view_cc): Implemented. (e_msg_composer_get_view_from): Implemented. (e_msg_composer_get_view_replyto): Implemented. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry): New function, yay. (e_msg_composer_hdrs_get_reply_to): Another new function. (e_msg_composer_hdrs_set_reply_to): Yet another new function... (create_headers): Create the reply-to header. (attach_headers): Attach the reply_to. (headers_set_visibility): Set the reply_to visibility. (e_msg_composer_hdrs_to_message): Set the message's reply-to here based on the user-set reply-to header. svn path=/trunk/; revision=8657
* Added Reply-To field.Jeffrey Stedfast2001-03-132-0/+9
| | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * evolution-message-composer.xml: Added Reply-To field. svn path=/trunk/; revision=8656
* Updated Norwegian (bokmål) translation. Updated with a bunch of missingKjartan Maraas2001-03-133-1041/+1066
| | | | | | | | | 2001-03-13 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. * POTFILES.in: Updated with a bunch of missing files. svn path=/trunk/; revision=8653
* Added an "Attachments" filter option where you can filter messages thatJeffrey Stedfast2001-03-134-121/+35
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added an "Attachments" filter option where you can filter messages that have (or do not have) attachments. This does not allow you to filter based on the types of the attachments. svn path=/trunk/; revision=8652
* PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and removeJP Rosevear2001-03-138-758/+12
| | | | | | | | | | | 2001-03-09 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8651
* PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and removeJP Rosevear2001-03-134-378/+8
| | | | | | | | | 2001-03-09 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo svn path=/trunk/; revision=8650
* Make the transport save whether or not it's supposed to use SSL as well.Jeffrey Stedfast2001-03-132-0/+19
| | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write): Make the transport save whether or not it's supposed to use SSL as well. (config_read): Read in whether or not we should remember the transport password (for those that support SASL). (mail_config_write): Save whether or not to save transport passwords (needed for SASL enabled transports). svn path=/trunk/; revision=8649
* update cflag macrosJP Rosevear2001-03-132-1/+5
| | | | | | | | 2001-03-12 JP Rosevear <jpr@ximian.com> * Makefile.am: update cflag macros svn path=/trunk/; revision=8648
* Updated Finnish translation.jjranta2001-03-132-2441/+4663
| | | | svn path=/trunk/; revision=8647
* Rename the folder to "Trash" and i18nify it.Jeffrey Stedfast2001-03-132-1/+6
| | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (init_trash): Rename the folder to "Trash" and i18nify it. svn path=/trunk/; revision=8646
* Instead of always creating a new vTrash folder, if the store already has aJeffrey Stedfast2001-03-132-10/+28
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Instead of always creating a new vTrash folder, if the store already has a Trash folder, replace it with the vTrash. Also, name the folder "Trash" instead of "vTrash" and i18nify the name. svn path=/trunk/; revision=8644
* UpdateJP Rosevear2001-03-132-1/+5
| | | | | | | | 2001-03-12 JP Rosevear <jpr@ximian.com> * README: Update svn path=/trunk/; revision=8643
* Renamed "temp" as "new_text", to avoid confusion.Jon Trowbridge2001-03-131-5/+5
| | | | | | | | | | | 2001-03-12 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-text-model.c (e_text_model_real_insert_length): Renamed "temp" as "new_text", to avoid confusion. (e_text_model_real_delete): Renamed "temp" as "new_text", to avoid confusion. svn path=/trunk/; revision=8640
* updateJP Rosevear2001-03-121-1/+1
| | | | svn path=/trunk/; revision=8637
* UpdateJP Rosevear2001-03-121-2/+2
| | | | svn path=/trunk/; revision=8636
* update by ChiDeok, Hwang <hwang@mizi.co.kr>Nam SungHyun2001-03-121-2504/+4666
| | | | svn path=/trunk/; revision=8635
* Add an ActionsEmptyTrash menu item.Jeffrey Stedfast2001-03-122-0/+7
| | | | | | | | 2001-03-11 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.xml: Add an ActionsEmptyTrash menu item. svn path=/trunk/; revision=8634
* Added protection.Jeffrey Stedfast2001-03-125-51/+154
| | | | | | | | | | | | | | | 2001-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.h: Added protection. * folder-browser-factory.c: Add ActionsEmptyTrash. By the way - should we rename the bonobo verbs now that our menu structure has changed? * mail-callbacks.c (empty_trash): New callback to empty ALL of the trash folders. svn path=/trunk/; revision=8633
* Added condition and fallback to LC_CTYPE if system doesn't defineTimur Bakeyev2001-03-121-0/+4
| | | | | | | | | | | 2001-03-11 Timur Bakeyev <timur@gnu.org> * gal/util/e-xml-utils.c: Added condition and fallback to LC_CTYPE if system doesn't define LC_MESSAGES. Usage of LC_CTYPE to determine language is hackish and questionable, then... Still, gives nice re- sults if there is no other ways to get that value. svn path=/trunk/; revision=8632
* Updated Slovenian translationAndraz Tori2001-03-121-960/+1488
| | | | svn path=/trunk/; revision=8631
* Remove our X-Evolution header before we send. Also don't send messagesJeffrey Stedfast2001-03-123-14/+19
| | | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. Also don't send messages that are marked for deletion. svn path=/trunk/; revision=8630
* Updated Spanish translation.Hector Garcia2001-03-122-53/+78
| | | | svn path=/trunk/; revision=8629
* Updated russian translation.Valek Frob2001-03-122-1102/+1499
| | | | svn path=/trunk/; revision=8628
* Added. A simplified, cancellable query mechanism that lets you avoidJon Trowbridge2001-03-114-0/+180
| | | | | | | | | | | | | 2001-03-11 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book.c (e_book_simple_query): Added. A simplified, cancellable query mechanism that lets you avoid dealing with EBookView. (e_book_simple_query_cancel): Added. Cancels a running query. * backend/ebook/e-book-types.h: Add enum EBookSimpleQueryStatus. svn path=/trunk/; revision=8627
* Comment out everything unless HAVE_NSS is defined.Jeffrey Stedfast2001-03-113-15/+38
| | | | | | | | | | | | | 2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.h: Comment out everything unless HAVE_NSS is defined. * camel-tcp-stream-ssl.c (stream_read): Don't use errno, use nspr's error code stuff. (stream_write): Same. svn path=/trunk/; revision=8626
* Remove our X-Evolution header before we send.Jeffrey Stedfast2001-03-112-35/+44
| | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. svn path=/trunk/; revision=8625
* Updated Spanish translation.Hector Garcia2001-03-112-1605/+2353
| | | | svn path=/trunk/; revision=8624
* Created a new mode (CAMEL_AUTHENTICATOR_ACCEPT) which is a Yes/No promptJeffrey Stedfast2001-03-104-83/+36
| | | | | | | | | | | | | | 2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * camel-session.c (camel_session_query_authenticator): Created a new mode (CAMEL_AUTHENTICATOR_ACCEPT) which is a Yes/No prompt to the user. This will be needed by the SSL/TLS code to come. Also changed the return value to a gpointer rather than a char* to allow the returning of TRUE/FALSE values. * camel.c: Wrap stuff with HAVE_NSS svn path=/trunk/; revision=8623
* New async function that will be used for SSL certs later.Jeffrey Stedfast2001-03-105-21/+163
| | | | | | | | | | | | | 2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (mail_get_accept): New async function that will be used for SSL certs later. * session.c (auth_callback): Changed to return a gpointer value. (mail_session_accept_dialog): New function to handle the new _ACCEPT authenticator mode. svn path=/trunk/; revision=8622
* Remove the "-U" for now, because it breaks exim's "sendmail" wrapper. (AndDan Winship2001-03-102-2/+8
| | | | | | | | | | * providers/sendmail/camel-sendmail-transport.c (sendmail_send, sendmail_send_to): Remove the "-U" for now, because it breaks exim's "sendmail" wrapper. (And it doesn't actually do all that much to sendmail's behavior, and it was working fine before anyway.) svn path=/trunk/; revision=8621
* Hm... probably would be clever to be calling this 0.9 rather than 0.8,Dan Winship2001-03-102-1/+7
| | | | | | | | * configure.in (EVOLUTION_MICRO_VERSION): Hm... probably would be clever to be calling this 0.9 rather than 0.8, since it's almost 0.10. svn path=/trunk/; revision=8620
* Fix a bug that could make this walk off the end of a string. (The bug hasDan Winship2001-03-102-3/+10
| | | | | | | | * camel-mime-utils.c (header_fold): Fix a bug that could make this walk off the end of a string. (The bug has been there since December... maybe this will fix some unreproduceable crashes?) svn path=/trunk/; revision=8619
* Changed int to char when returning a character from a stream (since itChristopher James Lahey2001-03-102-1/+6
| | | | | | | | | 2001-03-09 Christopher James Lahey <clahey@ximian.com> * libversit/vcc.y: Changed int to char when returning a character from a stream (since it needs to be able to hold EOF.) svn path=/trunk/; revision=8617
* Took out the "IMPLEMENT ME"'s from the forward menu items since I've codedJeffrey Stedfast2001-03-092-3/+9
| | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.xml: Took out the "IMPLEMENT ME"'s from the forward menu items since I've coded them now. svn path=/trunk/; revision=8612
* Set the Forward->Quoted callback. Also set the forward->AttachmentJeffrey Stedfast2001-03-097-38/+167
| | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Set the Forward->Quoted callback. Also set the forward->Attachment callback. * mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED. * mail-callbacks.c (forward_attached): Don't call forward_messages() anymore...never really needed to. Just handle it directly. (forward_inlined): Specify FORWARD_INLINE as the flag argument. (forward_quoted): New function sorta like forward_inlined except this forwards the message quoted. * mail-tools.c (mail_tool_forward_message): New function to prepare a message to be forwarded. svn path=/trunk/; revision=8611
* Maybe I shouldn't have smoked all of that crack before I startedJon Trowbridge2001-03-091-1/+0
| | | | | | doing my commits? svn path=/trunk/; revision=8610
* Changes so that the folder gets added to the vtrash reguardless of whetherJeffrey Stedfast2001-03-092-9/+22
| | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (camel_store_get_folder): Changes so that the folder gets added to the vtrash reguardless of whether or not the store is holding it's own folder lookup hash. (init_trash): Oops, lets try locking the cache before we go and add all the cached folders to the vtrash. svn path=/trunk/; revision=8609
* Some dead code mades its way into my commit. Sorry.Jon Trowbridge2001-03-091-4/+2
| | | | svn path=/trunk/; revision=8608
* Switched to use e_contact_quick_add_free_form. Removed debugging code,Jon Trowbridge2001-03-0918-178/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (quick_add_cb): Switched to use e_contact_quick_add_free_form. Removed debugging code, hopefully without introducing any bugs in the process. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix bug with commas inside of name/address combos. As long as the comma is inside of quotes, it will be treated as part of the name rather than as a break between addresses. * gui/component/select-names/e-select-names-completion.c (match_nickname): Use e_card_name_to_string for nickname match strings. (match_email): Use e_card_name_to_string for email match strings. (e_select_names_completion_begin): Strip quotes out of query text, so we don't produce malformed sexps. Added William Blake quote easter egg. * contact-editor/e-contact-quick-add.c: Further attempts to fix... mostly unsuccessful. (e_contact_quick_add_free_form): Added. Takes a single string and tries to parse out (using some simple, loose rules) the name and e-mail -- then calls e_contact_quick_add. An attempt to get the computer to automatically Do The Right Thing. * backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm anal. * gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server info for EAddressWidget. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server info for EAddressWidget. * gui/component/addressbook-factory.c (main): Add call to e_address_widget_factory_init. * gui/component/e-address-widget.h: * gui/component/e-address-widget.c: Added. A little widget (and a Bonobo control, BTW) for displaying addresses, with a left-click menu. Used to display addresses in the mail viewer (as embedded GtkHTML objects, replacing the text previously used). Still quite incomplete. 2001-03-08 Jon Trowbridge <trow@ximian.com> * mail-format.c (write_field_row_begin): Added. Table row HTML broken out into its own function. (write_subject): Added. Emits the proper HTML for the subject line. (write_field_to_stream): #ifdef-ed out of existence. (write_address): Take a CamelInternetAddress and spit out an <object> tag with the appropriate <param>s. * mail-display.c (on_object_requested): Check for an "address" object. If found, call... (handle_embedded_address_object): ...this function, which creates an AddressWidget bonobo control and passes in the necessary info. I never really realized just quite how much GtkHTML kicks ass until I figured out how to make this work. svn path=/trunk/; revision=8607
* Removed mail-vtrash.cJeffrey Stedfast2001-03-092-3/+5
| | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * POTFILES.in: Removed mail-vtrash.c svn path=/trunk/; revision=8606
* The type of this folder is now "vtrash" and not "mail".Jeffrey Stedfast2001-03-092-1/+6
| | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * local/Trash/folder-metadata.xml: The type of this folder is now "vtrash" and not "mail". svn path=/trunk/; revision=8605
* Removed from cvsJeffrey Stedfast2001-03-095-218/+6
| | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-vtrash.[c,h]: Removed from cvs * Makefile.am: Removed mail-vtrash.[c,h] * main.c: Don't #include "mail-vtrash" anymore. * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8604
* Add "vtrash" as a folder type we support. (create_view): Kludgy-kludgeJeffrey Stedfast2001-03-092-3/+7
| | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... svn path=/trunk/; revision=8603
* Hmm, fixesFatih Demir2001-03-091-10/+10
| | | | svn path=/trunk/; revision=8602
* Updated tr.poFatih Demir2001-03-092-2280/+2830
| | | | svn path=/trunk/; revision=8601
* Call open_msg here so that it does the Right Thing (tm).Jeffrey Stedfast2001-03-093-5/+10
| | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8600
* Make sure we have something selected first ;-)Jeffrey Stedfast2001-03-093-6/+13
| | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * vfolder-editor.c (double_click): Make sure we have something selected first ;-) * filter-editor.c (double_click): And here too. svn path=/trunk/; revision=8599
* Override the default init_trash() with the our custom one (sinceJeffrey Stedfast2001-03-092-15/+70
| | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_class_init): Override the default init_trash() with the our custom one (since MailLocalStore doesn't let the CamelStore keep a hash of opened folders and instead keepts track of them itself). (init_trash): custom implementation of the init_trash method for MailLocalStores (get_folder): i18nize. (register_folder_registered): Don't add the folder to the vtrash here. svn path=/trunk/; revision=8596
* These fixes make it so that the CamelStore does not actually hold a ref onJeffrey Stedfast2001-03-092-27/+54
| | | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> These fixes make it so that the CamelStore does not actually hold a ref on it's vTrash folder. The vTrash folder is now created ONLY when it is requested. This solves the problem of not being able to unref a Store and have it disconnect/finalize like we expect it to. * camel-store.c (init_trash): When we create the vtrash, add all previously opened folders to it and hook on to the finalize event so that we can then set the store->vtrash to NULL. (get_trash): If a vtrash folder for the store doesn't exist, init_trash() and then try. (construct): No longer need this. (camel_store_class_init): Don't override the construct method. (camel_store_finalize): We no longer hold a ref on the vtrash so don't unref it. svn path=/trunk/; revision=8595
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-0817-73/+312
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Rename the "Get Mail" button to "Send and Receive".Ettore Perazzoli2001-03-082-2/+7
| | | | svn path=/trunk/; revision=8593
* Implement. (get_trash): Implement. (camel_pop3_store_class_init): OverrideJeffrey Stedfast2001-03-082-0/+31
| | | | | | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (init_trash): Implement. (get_trash): Implement. (camel_pop3_store_class_init): Override the default init_trash and get_trash virtual functions. Hopefully this should fix the problem of pop3 sotre's not disconnecting after the send&recv code finishes downloading mail. Wonder if I should override the default implementation for the mbox, mh, and maildir too? svn path=/trunk/; revision=8592
* Removed --enable-assbarn-security and replaced it with the real options:Jeffrey Stedfast2001-03-083-101/+91
| | | | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Removed --enable-assbarn-security and replaced it with the real options: --with-nspr-includes=PREFIX --with-nspr-libs=PREFIX --with-nss=PREFIX * acconfig.h: #undef HAVE_NSS svn path=/trunk/; revision=8591
* New function. Used to store integer values into the configuration engine.Miguel de Icaza2001-03-087-275/+645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Miguel de Icaza <miguel@ximian.com> * e-msg-composer.c (set_config): New function. Used to store integer values into the configuration engine. Handles the case of Bonobo-conf being installed, or falls back to gnome_config. * e-msg-composer-hdrs.c (add_header): Renamed to be header_new_recipient(). Now we take care of the other cases in create_headers, which is a lot nicer now. (create_optionmenu): Removed extra "name" argument which was not being used anyways (the only arg passed was From:). (init): Removed all the redundant NULL initialization by using nice g_new0 (create_headers): New function, much cleaner. Use of Pair structure everywhere instead of individual widgets to keep track of which ones are visible and which ones are not. * e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC commands. (menu_view_bcc_cb, menu_view_from_cb): New functions that implement the features described. (menu_format_html_cb): Removed unrequired test, as e_msg_composer_set_send_html already optimizes the case of the state being the same. (menu_security_pgp_encrypt_cb): Remove redundant code. (menu_security_pgp_sign_cb): ditto. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-message-composer.xml: Reorder menus to be File, Edit, View, Insert, Format (instead of File, Edit, Format, View, Insert). Add View/From Field and View/From BCC Add Insert/File. Add File/Send menu item. Change the look to follow the "mailer" look (thiner display). svn path=/trunk/; revision=8590
* Added the ability for components to specify drag/drop types, andEttore Perazzoli2001-03-088-14/+425
| | | | | | | started some work to get the EStorageSetView to use them. Still in progress, nothing really happens for the user yet. svn path=/trunk/; revision=8589
* Require GAL 0.5.99.6.Ettore Perazzoli2001-03-082-1/+5
| | | | svn path=/trunk/; revision=8588
* New public API call, `e_table_get_cell_at()'. Also upped the GALEttore Perazzoli2001-03-082-44/+42
| | | | | | version number because of that. svn path=/trunk/; revision=8587
* Add an action-part widget. (filter_rule_from_mlist): Same here. ThisJeffrey Stedfast2001-03-082-4/+16
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (filter_rule_from_message): Add an action-part widget. (filter_rule_from_mlist): Same here. This should get rid of the problem where people go to create a rule based on a message and forget to fill-in the action part. svn path=/trunk/; revision=8586
* (remote_recv_line): Fix another problem...Dan Winship2001-03-082-1/+3
| | | | svn path=/trunk/; revision=8585
* /* xgettext:no-c-format */ before the welcome message.Kjartan Maraas2001-03-081-0/+2
| | | | | | | | | 2001-03-07 Kjartan Maraas <kmaraas@gnome.org> * shell/main: /* xgettext:no-c-format */ before the welcome message. svn path=/trunk/; revision=8584
* Don't try to generate a Makefile in camel/providers/vee as it's empty.Kjartan Maraas2001-03-083-2/+6
| | | | | | | | | 2001-03-07 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Don't try to generate a Makefile in camel/providers/vee as it's empty. svn path=/trunk/; revision=8583
* Remove some unused stuffDan Winship2001-03-074-71/+4
| | | | | | | | * providers/local/camel-mbox-provider.c: * providers/vee/.cvsignore: * providers/vee/libcamelvee.urls: Remove some unused stuff svn path=/trunk/; revision=8582
* Fix an off-by-one in the "is this for real?" check so that "http:// "Dan Winship2001-03-072-1/+6
| | | | | | | * e-html-utils.c (url_extract): Fix an off-by-one in the "is this for real?" check so that "http:// " won't get URLified svn path=/trunk/; revision=8581
* Return the return value of camel_service_connect rather than returningDan Winship2001-03-072-4/+10
| | | | | | | | | | * camel-remote-store.c (camel_remote_store_connected): Return the return value of camel_service_connect rather than returning !camel_exception_is_set(), since that will be wrong if ex==NULL... Fixes a crash in the IMAP keepalive code, but this same problem probably exists in other places too... svn path=/trunk/; revision=8580
* Add extension mime type fileMiguel de Icaza2001-03-072-3/+9
| | | | svn path=/trunk/; revision=8579
* New function to decide if a mime part is an S/MIME v3 signed part.Jeffrey Stedfast2001-03-073-21/+107
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_smime_v3_signed): New function to decide if a mime part is an S/MIME v3 signed part. (mail_crypto_is_pkcs7_mime): New function to decide if a mime part is an application/pkcs7-mime part (or an application/octet-stream part with application/pkcs7-mime data). svn path=/trunk/; revision=8578
* Move the signal emittion to after the set_menu call so that it actuallyJeffrey Stedfast2001-03-074-1399/+1332
| | | | | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (source_auth_init): Move the signal emittion to after the set_menu call so that it actually works. (transport_type_changed): Updated to manipulate the user/passwd fields for the transport. (construct): Updated to init the user/passwd fields for the transport. (transport_auth_init): Renamed. Also fill in the user/passwd fields if available. svn path=/trunk/; revision=8577
* uh, emacs said it didn't save thisJeffrey Stedfast2001-03-071-1/+1
| | | | svn path=/trunk/; revision=8576
* Disable the NNTP code if NNTP is not enabled. This prevents some runtimeJeffrey Stedfast2001-03-072-1/+6
| | | | | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Disable the NNTP code if NNTP is not enabled. This prevents some runtime warnings... * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8575
* Updated to have a transport auth page.Jeffrey Stedfast2001-03-074-92/+554
| | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8574
* Redone so as to save on memory allocations and speed.Jeffrey Stedfast2001-03-073-54/+63
| | | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-digest-md5.c (compute_response): Redone so as to save on memory allocations and speed. svn path=/trunk/; revision=8573
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-0718-304/+621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* Fix glitch with inserting comma-delimited stuff when length > 1.Jon Trowbridge2001-03-072-0/+8
| | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix glitch with inserting comma-delimited stuff when length > 1. svn path=/trunk/; revision=8571
* Added. Just encapsulates openingJon Trowbridge2001-03-073-2/+40
| | | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book.c (e_book_load_local_address_book): Added. Just encapsulates opening file://~username/evolution/local/Contactes/addressbook.db, so that path doesn't need to be hardwired in throughout the code. svn path=/trunk/; revision=8570
* If the folderinfo has no URL (ie, can't contain messages), don't add it asDan Winship2001-03-072-4/+7
| | | | | | | * mail-ops.c (get_folderinfo_got): If the folderinfo has no URL (ie, can't contain messages), don't add it as a vtrash source. svn path=/trunk/; revision=8569
* Added the third argument to e_contact_editor_new. (Cheated and send NULLBenjamin Kahn2001-03-073-2/+10
| | | | | | | | | | | | 2001-03-06 Benjamin Kahn <xkahn@cybersites.com> * contact-editor/e-contact-quick-add.c (clicked_cb): Added the third argument to e_contact_editor_new. (Cheated and send NULL for the field argument, which is probably troublesome. It will be fixed soon by either clahey or toshok.) svn path=/trunk/; revision=8568
* Fix a reference counting bug.Jon Trowbridge2001-03-0614-6/+1084
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-model.c (e_select_names_model_replace): Fix a reference counting bug. * gui/component/select-names/e-select-names-manager.c (popup_cb): A callback for creating the appropriate popup by calling e_select_names_popup. (e_select_names_manager_create_entry): Connect popup_cb to the entry's popup signal * gui/component/select-names/e-select-names-popup.c: Added. Code for popup right-click menus for recipient entries. Still a bit incomplete. * backend/ebook/e-destination.c (e_destination_get_email_num): Added. * contact-editor/e-contact-quick-add.c: Added. Some code and a dialog for very quickly adding entries to the address book. Still not fully working. svn path=/trunk/; revision=8567
* Added. This is part of a change of sematics that makes things much nicerJon Trowbridge2001-03-064-28/+68
| | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@gnu.org> * gal/e-text/e-entry.c (e_entry_text_keypress): Added. This is part of a change of sematics that makes things much nicer for the user --- auto-activate the completion popup only on keypresses than also change the entry. (e_entry_proxy_changed): Record that the underlying EText has changed, and set up a timeout to clear the changed_since_keypress flag in a very short amount of time. (e_entry_init): Connect to the EText's "keypress" signal". (e_entry_destroy): If our completion_delay_tag timeout is still floating around out there when we are winding things down, remove it. * gal/e-text/e-text.c (e_text_class_init): Added keypress signal. (e_text_text_model_reposition): Removed some old cruft. (e_text_event): Emit our keypress signal after handling events of type GDK_KEY_PRESS. svn path=/trunk/; revision=8566
* Set version number to 0.5.99.5Jon Trowbridge2001-03-065-10/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-05 Jon Trowbridge <trow@gnu.org> * configure.in: Set version number to 0.5.99.5 * gal/e-text/e-entry.c (e_entry_class_init): Add a "popup" signal. If you have trepidations about this, see the technical argument below. (e_entry_init): Connect to the EText's popup signal. (e_entry_proxy_popup): Proxy emitter for popup signals from the EText. * gal/e-text/e-text.c (e_text_class_init): Added a "popup" signal. (e_text_event): Emit the "popup" signal on right-clicks. Now you could ask yourself: "should there be a signal named 'popup' in EText that gets emitted on right-clicks?" And this is a reasonable question, since... well, this has a funny feeling to it. But the whole point of GNOME, or at least one of the original points of GNOME, was to impose policy in a reasonable way when it made sense in order to simplify the user's experience. Convention dictates that popup menus are tied to right-clicks --- so rather than setting up some elaborate forwarding of button-press signals, why not just impose a little policy and set up a signal that is closely tied to a familiar set of semantics? Maybe it isn't the best thing to do from a aesthetics-of-the-API point of view, but I doubt anyone could condemn it as being anything more than mostly harmless. svn path=/trunk/; revision=8565
* Update pilot instructionsJP Rosevear2001-03-062-1/+5
| | | | | | | | 2001-03-05 JP Rosevear <jpr@ximian.com> * README: Update pilot instructions svn path=/trunk/; revision=8564
* Updated Norwegian (bokmål) translation. Updated with a bunch of missingKjartan Maraas2001-03-064-1185/+1493
| | | | | | | | | 2001-03-05 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. * POTFILES.in: Updated with a bunch of missing files. svn path=/trunk/; revision=8563
* Don't return NULL if the token is non-NULL. This is why:Jeffrey Stedfast2001-03-064-3/+37
| | | | | | | | | | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-plain.c (plain_challenge): Don't return NULL if the token is non-NULL. This is why: sending : AUTH PLAIN received: 334 ok. go on. <-- this is why sending : ZGZPaQpAZ214Lm5ldBBnb29jYXI= received: 235 {mp005-rz3} go ahead * camel-sasl.c (camel_sasl_authtype): Add the PLAIN type here. (camel_sasl_authtype_list): And here too. * camel-sasl-plain.c: Initialize the camel_sasl_plain_authtype. * camel-sasl-plain.h: extern the camel_sasl_plain_authtype. svn path=/trunk/; revision=8562
* i18n'd some strings in here.Jeffrey Stedfast2001-03-063-9/+68
| | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_connect): i18n'd some strings in here. * providers/smtp/camel-smtp-transport.c (smtp_connect): Keep trying to authenticate until either we succeed or until the user cancels. svn path=/trunk/; revision=8561
* Don't access the `active` data member of a GtkToggleButton directly - badJeffrey Stedfast2001-03-066-157/+37
| | | | | | | | | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Don't access the `active` data member of a GtkToggleButton directly - bad programming, shame on me. * mail-account-editor.c: Same here. * mail-accounts.c: And here too. * mail-callbacks.c (empty_subject_destroyed): And finally here. * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8560
* Correcty set the mime type for the multipart. Hmmm, still doesn't wrapJeffrey Stedfast2001-03-062-8/+19
| | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8559
* Rebuild when the collection changes.Christopher James Lahey2001-03-062-11/+65
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (collection_changed): Rebuild when the collection changes. svn path=/trunk/; revision=8558
* Check for gal 0.5.99.4.Christopher James Lahey2001-03-062-3/+7
| | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Check for gal 0.5.99.4. svn path=/trunk/; revision=8557
* Upped the version number to 0.5.99.4.Christopher James Lahey2001-03-061-0/+1
| | | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Upped the version number to 0.5.99.4. * gal/e-text/e-text.c (e_text_draw): Fixed a crash here. svn path=/trunk/; revision=8556
* New changed signal.Christopher James Lahey2001-03-062-12/+47
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_changed): New changed signal. svn path=/trunk/; revision=8555
* Override cursor_activated signal instead of cursor_changed signal.Christopher James Lahey2001-03-052-4/+9
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c: Override cursor_activated signal instead of cursor_changed signal. svn path=/trunk/; revision=8554
* updateJP Rosevear2001-03-052-1/+4
| | | | | | | | 2001-03-05 JP Rosevear <jpr@ximian.com> * POTFILES.in: update svn path=/trunk/; revision=8553
* Wrote a new version of header_fold() that takes a 'force' option and usesJeffrey Stedfast2001-03-052-1/+141
| | | | | | | | | | | | | | | | | | 2001-03-04 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: Wrote a new version of header_fold() that takes a 'force' option and uses another new function called header_fold_next_space() in place of strchr(inptr, ' ') to get the next whitespace char. The idea of header_fold_next_space() is to not treat spaces between a set of quotes as a space - this way it will be possible to fold (for example) the Content-Type MIME header without worrying about breaking up a boundary string. Note: This code is #if 0'd out until Zucchi approves of the patch. Another Note: We will probably still want to use the "don't fold this header" hash lookup for headers like the Message-Id and possibly a few others. svn path=/trunk/; revision=8552
* Make sure there is a space between the name and the address tokens.Jeffrey Stedfast2001-03-052-1/+5
| | | | | | | | | | 2001-03-04 Jeffrey Stedfast <fejj@ximian.com> * camel-internet-address.c (camel_internet_address_encode_address): Make sure there is a space between the name and the address tokens. svn path=/trunk/; revision=8551
* encoded string segments need to be at least 8 chars (7 doesn't leave roomJeffrey Stedfast2001-03-052-18/+29
| | | | | | | | | | | | | 2001-03-04 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (rfc2047_decode_word): encoded string segments need to be at least 8 chars (7 doesn't leave room for an ecoding value. To be more realistic, even 8 chars isn't enough as this assumes there is no charset nor any encoded text. If the encoding value is not 'Q' or 'B', then return NULL. This fixes bug #1689. svn path=/trunk/; revision=8550
* keep list of all Tasks folders so we can update the preference settingsDamon Chaplin2001-03-0519-386/+715
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-05 Damon Chaplin <damon@ximian.com> * gui/e-tasks.c: keep list of all Tasks folders so we can update the preference settings when necessary. * gui/gnome-cal.c: configure the TaskPad according to the settings. * gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields, so the tasks folders is almost usable now. * gui/calendar-model.c: added support for the Status property. * gui/calendar-config.[hc]: added convenience functions to setup ECalendarTable and ECellDateEdit objects. * gui/calendar-commands.c: connected to "destroy" signal of calendars so we can remove them from all_calendars list. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): call e_tasks_update_all_config_settings() to update all the settings in the Tasks folders as well. * cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS. * cal-util/cal-component.c (cal_component_get_transparency): fixed calls to strcasecmp so they check for '== 0'. Applied patch from Miguel... 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. svn path=/trunk/; revision=8549
* pretty much working now.Damon Chaplin2001-03-053-76/+537
| | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: pretty much working now. svn path=/trunk/; revision=8548
* added e-util/e-time-utils.c and widgets/misc/e-cell-date-edit.cDamon Chaplin2001-03-052-0/+7
| | | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * POTFILES.in: added e-util/e-time-utils.c and widgets/misc/e-cell-date-edit.c svn path=/trunk/; revision=8547
* new files to contain functions to parse and format dates and times forDamon Chaplin2001-03-054-0/+334
| | | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-time-utils.[hc]: new files to contain functions to parse and format dates and times for various calendar widgets. svn path=/trunk/; revision=8546
* "New" -> "New Task".Damon Chaplin2001-03-053-3/+10
| | | | | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * evolution-tasks.xml: "New" -> "New Task". * evolution-calendar.xml: "New appointment" -> "New Appointment", "Go to" -> "Go To". svn path=/trunk/; revision=8545
* added "editable" Arg, to stop the user from editing the text. The user canDamon Chaplin2001-03-054-5/+74
| | | | | | | | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-cell-text.c: added "editable" Arg, to stop the user from editing the text. The user can still select the text, though. The "editable" Arg is useful for ECellCombo where we want the user to select an item in the popup but not edit the field itself. * e-cell-combo.c: updated to select the matcing item before it pops up the list. svn path=/trunk/; revision=8544
* Reorganize a bit to get rid of warnings about AC_TRY_COMPILE being usedDan Winship2001-03-052-11/+17
| | | | | | | * configure.in: Reorganize a bit to get rid of warnings about AC_TRY_COMPILE being used before AC_ISC_POSIX svn path=/trunk/; revision=8543
* Mention the GNOME VFS stable tag.Dan Winship2001-03-051-1/+2
| | | | svn path=/trunk/; revision=8542
* Added views/addressbook/Makefile.Christopher James Lahey2001-03-042-0/+5
| | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * configure.in: Added views/addressbook/Makefile. svn path=/trunk/; revision=8541
* New view.Christopher James Lahey2001-03-045-2/+33
| | | | | | | | | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * addressbook/By_Company.galview: New view. * addressbook/Makefile.am: Added By_Company.galview. * addressbook/Phone_List.galview: Updated this a bit. * addressbook/galview.xml: Added By Company and Address Cards (No Address_Cards.galview is required for now.) svn path=/trunk/; revision=8540
* Added a built in view menu for addressbook.Christopher James Lahey2001-03-046-1/+38
| | | | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * addressbook/.cvsignore, addressbook/Makefile.am, addressbook/Phone_List.galview, addressbook/galview.xml: Added a built in view menu for addressbook. svn path=/trunk/; revision=8539
* Cleaned up the formatting in this file a bit.Christopher James Lahey2001-03-048-81/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.c: Cleaned up the formatting in this file a bit. * contact-editor/e-contact-editor.c (e_contact_editor_set_arg): Made it so that passing in NULL to the writable_fields arg sets the set of writable fields to the empty set. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): Pass NULL as the writable_fields argument here. * gui/widgets/e-addressbook-model.c: Don't offset by one here. This way we will get the file_as field as one of our ETableColumns. * gui/widgets/e-addressbook-view.c (SPEC): Updated this for the changes in ECardSimple. * gui/widgets/e-minicard.c (remodel): Don't remodel if the item isn't realized. svn path=/trunk/; revision=8538
* Corrected these views a bit.Christopher James Lahey2001-03-046-4/+27
| | | | | | | | | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * mail/By_Sender.galview, mail/By_Subject.galview: Corrected these views a bit. * mail/By_Status.galview, mail/Messages.galview: New views for "By Status" and "Messages". * mail/Makefile.am, mail/galview.xml: Added By_Status.galview and Messages.galview. svn path=/trunk/; revision=8537
* doh, track renaming of objectclass from evolvePerson to evolutionPerson.Chris Toshok2001-03-032-14/+19
| | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c: doh, track renaming of objectclass from evolvePerson to evolutionPerson. svn path=/trunk/; revision=8536
* rename evolveperson.schema to this, and add remaining attributes.Chris Toshok2001-03-033-28/+95
| | | | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * backend/pas/evolutionperson.schema: rename evolveperson.schema to this, and add remaining attributes. * backend/pas/pas-backend-ldap.c: add remaining fields, and fix up ones that were incorrent (either the ldap_attr or the query prop). svn path=/trunk/; revision=8535
* Remove very old camel lock stuff.Not Zed2001-03-036-12/+121
| | | | | | | | | | | | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * mail-tools.c: Remove very old camel lock stuff. * mail-local.c (register_folder_registered): Add the local folder as a potential vfolder source. * folder-browser.c (got_folder): When we have a new folder, register it as a potential vfolder source. * mail-vfolder.c: Added the source rule to the vfolder_info. (vfolder_refresh): Store the rule in the vfolder info, etc. (vfolder_register_source): Function to register a newly opened folder with us. (vfolder_uri_to_folder): Save the folder in the vfolder_info too. (source_finalise): Handle clenaup when the folder dies. svn path=/trunk/; revision=8534
* Added option menu to vfolder editor.Not Zed2001-03-035-208/+160
| | | | | | | | | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * filter.glade: Added option menu to vfolder editor. 2001-03-02 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (get_widget): Setup the data on the base source opiton menu, and make hte option menu reflect the source. (select_source_with): Set the source type for this rule. e.g. these folders, "with ..." * filter-editor.c: Removed the N_() stuff from the source_names array, they must not be internationalised!!! svn path=/trunk/; revision=8533
* New function to remove a folder from a vfolder.Not Zed2001-03-033-1/+73
| | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_folder_remove_folder): New function to remove a folder from a vfolder. (camel_vee_folder_remove_folder): New public function to remove a folder from a vfolder. svn path=/trunk/; revision=8532
* Added a comment reminding us that we should probably not force aJeffrey Stedfast2001-03-032-1/+9
| | | | | | | | | | 2001-03-02 Jeffrey Stedfast <fejj@ximian.com> * e-icon-list.c (icon_new_from_pixbuf): Added a comment reminding us that we should probably not force a particular font in the icon caption. svn path=/trunk/; revision=8531
* Doh! Set the CAMEL_URL_ALLOW_AUTH flag.Jeffrey Stedfast2001-03-032-1/+4
| | | | | | | | | | | | 2001-03-02 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-provider.c: Doh! Set the CAMEL_URL_ALLOW_AUTH flag. * providers/smtp/camel-smtp-transport.c (get_smtp_error_string): Updated with the extended AUTH return codes. svn path=/trunk/; revision=8530
* install conduit iconsJP Rosevear2001-03-0312-22/+62
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 JP Rosevear <jpr@ximian.com> * art/Makefile.am: install conduit icons 2001-03-02 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: update sed script * conduit/e-address.conduit.in: update for new pilot foo 2001-03-02 JP Rosevear <jpr@ximian.com> * conduits/todo/e-todo.conduit.in: update for new pilot foo * conduits/calendar/e-calendar.conduit.in: ditto * conduits/todo/Makefile.am: update sed script * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8529
* oops, forgot the changelogJeffrey Stedfast2001-03-031-0/+5
| | | | svn path=/trunk/; revision=8528
* Updated with the extended AUTH return codes.Jeffrey Stedfast2001-03-031-1/+14
| | | | | | | | | 2001-03-02 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (get_smtp_error_string): Updated with the extended AUTH return codes. svn path=/trunk/; revision=8527
* oops, the return code is 235 on success, not 234Jeffrey Stedfast2001-03-031-1/+1
| | | | svn path=/trunk/; revision=8526
* Don't forget to unref the SASL object.Jeffrey Stedfast2001-03-034-52/+205
| | | | | | | | | | | | | | | | | | | | 2001-03-02 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (try_auth): Don't forget to unref the SASL object. * providers/smtp/camel-smtp-transport.c (query_auth_types): Implemented. (smtp_auth): Implemented. (smtp_helo): Don't bother parsing the authtypes if we already have them. (smtp_connect): call smtp_auth() here if we found any authtypes. (smtp_disconnect): Updated as I now use a hash table for the supported authtypes rather than a linked list. (esmtp_get_authtypes): modify to use a hash table instead of a linked list and also use isspace() rather than == ' '. svn path=/trunk/; revision=8525
* Remove cruftKjartan Maraas2001-03-021-4/+0
| | | | svn path=/trunk/; revision=8524
* Updated Slovak translationStano Visnovsky2001-03-022-712/+660
| | | | svn path=/trunk/; revision=8523
* Use "-f" to set the envelope from address so bounces go to the rightDan Winship2001-03-022-10/+41
| | | | | | | | | * providers/sendmail/camel-sendmail-transport.c (sendmail_send_to, sendmail_send): Use "-f" to set the envelope from address so bounces go to the right place. Also, pass "-U" since the man page says we're supposed to... svn path=/trunk/; revision=8521
* add logic to make sure we're building against OpenLDAP >= 2Chris Toshok2001-03-022-0/+22
| | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * configure.in: add logic to make sure we're building against OpenLDAP >= 2 svn path=/trunk/; revision=8519
* track change to e_contact_editor_new.Chris Toshok2001-03-022-1/+7
| | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): track change to e_contact_editor_new. svn path=/trunk/; revision=8518
* add objectclasses for "person", "organizationalPerson", and "top" as well,Chris Toshok2001-03-022-38/+91
| | | | | | | | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (add_objectclass_mod): add objectclasses for "person", "organizationalPerson", and "top" as well, just to be complete. (check_schema_support): rename check_for_evolve_person to this, to reflect that we're doing more than just checking for that objectClass. (add_oc_attributes_to_supported_fields): new function. (add_to_supported_fields): new function. (pas_backend_ldap_destroy): unref supported_fields. svn path=/trunk/; revision=8517
* new function. (e_minicard_view_event): split out the creation of theChris Toshok2001-03-0213-230/+753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view.c (supported_fields_cb): new function. (e_minicard_view_event): split out the creation of the contact editor to the supported_fields callback. * gui/widgets/e-minicard.c (supported_fields_cb): new function. (e_minicard_event): split out the creation of the contact editor to the supported_fields callback. * gui/widgets/e-addressbook-view.c (table_double_click): split function into two functions, since e_book_get_supported_fields requires a callback now. (supported_fields_cb): new function. * gui/component/addressbook.c (new_contact_cb): split this into two functions, since e_book_get_supported_fields requires a callback now. (supported_fields_cb): new function. * contact-editor/test-editor.c (main): track change to e_contact_editor_new (pass NULL for the writable_fields arg.) * contact-editor/contact-editor.glade: fix several labels so they make better sense (since we look them up in e-contact-editor.c.) * contact-editor/e-contact-editor.h (struct _EContactEditor): add writable_fields. also, add it to e_contact_editor_new. * contact-editor/e-contact-editor.c (e_contact_editor_class_init): add writable_fields arg. (e_contact_editor_destroy): unref the writable_fields list. (e_contact_editor_new): pass @fields as the writable_fields arg. (e_contact_editor_set_arg): add writable_fields support. (enable_writable_fields): new (very hairy) function, to disable everything and reenable just the fields listed in the writable_fields list. (_email_arrow_pressed): set label-email1, entry-email1, and checkbutton-htmlmail to be sensitive since the only way to get here is to activate a writable field in the menu. (_address_arrow_pressed): set label-address, button-fulladdr, and text-address to be sensitive for the same reason. (_phone_arrow_pressed): sensitize the label and entry for the same reason. svn path=/trunk/; revision=8516
* add new entries for phone enums, and fill in the ecard_field with (bogusChris Toshok2001-03-026-33/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * backend/ebook/e-card-simple.c (field_data): add new entries for phone enums, and fill in the ecard_field with (bogus in all but a few cases) strings. these are the strings sent from wombat to evolution-addressbook for supported_fields. (e_card_simple_get_ecard_field): new function. (e_card_simple_map_phone_to_field): new function. (e_card_simple_map_email_to_field): new function. (e_card_simple_map_address_to_field): new function. * backend/ebook/e-card-simple.h: add a few phone entries to the ECardSimpleField enum, and add prototypes for mapping the list types (phone, email, address) to ECardSimpleField. Also, add prototype for e_card_simple_get_ecard_field. * backend/ebook/e-book.c (e_book_do_response_get_supported_fields): don't build the EList here, it's already built. * backend/ebook/e-book-listener.h: change fields from the CORBA sequence to the EList in our reponse struct. * backend/ebook/e-book-listener.c (e_book_listener_queue_get_supported_fields_response): we make the EList here, since after we return the CORBA list is freed up. svn path=/trunk/; revision=8515
* implement properly, we support everything.Chris Toshok2001-03-022-1/+17
| | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_process_get_supported_fields): implement properly, we support everything. svn path=/trunk/; revision=8514
* #include "camel-sasl-digest-md5.h" (camel_sasl_authtype_list): addJeffrey Stedfast2001-03-025-0/+922
| | | | | | | | | | | | | | 2001-03-01 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl.c: #include "camel-sasl-digest-md5.h" (camel_sasl_authtype_list): add DIGEST-MD5 stuff here. (camel_sasl_authtype): And here too. (camel_sasl_new): And here... * camel-sasl-digest-md5.[c,h]: new SASL class for DIGEST-MD5 (has been tested and proven to work). svn path=/trunk/; revision=8513
* Oops, we do need to be able to write to "text" after all (for things likeJon Trowbridge2001-03-024-5/+33
| | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Oops, we do need to be able to write to "text" after all (for things like Reply-to: to work properly). Fixed. (impl_SelectNames_get_entry_for_section): Made "text" a writeable property again. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Increment pos so that we don't reverse strings when length > 1 (a particularly amusing bug). * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_destroy): Check for NULL before calling gtk_object_unref (GTK_OBJECT (---)), to get rid of annoying error messages. svn path=/trunk/; revision=8512
* quote a test and make sure incdir is always set so 'cat' worksJP Rosevear2001-03-022-1/+7
| | | | | | | | | 2001-03-01 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: quote a test and make sure incdir is always set so 'cat' works svn path=/trunk/; revision=8469
* remove camel-imap-auth.c, add sasl stuffDan Winship2001-03-022-1/+8
| | | | | | * POTFILES.in: remove camel-imap-auth.c, add sasl stuff svn path=/trunk/; revision=8468
* New function to turn foo/bar into foo/subfolders/bar. The inverse functionDan Winship2001-03-024-0/+155
| | | | | | | | | | | * e-path.c (e_path_to_physical): New function to turn foo/bar into foo/subfolders/bar. The inverse function doesn't exist yet because I didn't need it. Also, if the shell were going to use this, we'd need a few more tools... * Makefile.am (libeutil_la_SOURCES): Add e-path.[ch] svn path=/trunk/; revision=8467
* add missing "for" to a messageDan Winship2001-03-021-1/+1
| | | | svn path=/trunk/; revision=8466
* Updated Slovenian translationAndraz Tori2001-03-021-608/+645
| | | | svn path=/trunk/; revision=8465
* I am an idiot.Jon Trowbridge2001-03-022-12/+27
| | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c: I am an idiot. svn path=/trunk/; revision=8464
* Add an "authtypes" hash table to CamelImapStore recording the supportedDan Winship2001-03-026-286/+151
| | | | | | | | | | | | | | | | | | | | | * providers/imap/camel-imap-store.c: Add an "authtypes" hash table to CamelImapStore recording the supported authtypes. (connect_to_server): Record supported authtypes in the authtypes hash rather than the capabilities bitmask, since now the IMAP code is no longer responsible for keeping track of which authtypes we support. (query_auth_types): Use camel_sasl_authtype_list to get the SASL-supported authtypes. (try_auth): New function to try a SASL auth mechanism. Sort of formerly imap_try_kerberos_v4_auth. (imap_connect): Get rid of the krb4-specific bits and genericize them for any SASL authtype. * providers/imap/Makefile.am: Remove camel-imap-auth.[ch] (moved into camel-imap-store.c since it's now constant size) and the KRB4_CFLAGS and KRB4_LDFLAGS references. svn path=/trunk/; revision=8463
* Take a GByteArray as input as well. Comment that you can pass %NULL forDan Winship2001-03-0211-386/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-sasl.c (camel_sasl_challenge): Take a GByteArray as input as well. Comment that you can pass %NULL for @token to get the initial auth data for mechanisms that are client-initiated. (camel_sasl_challenge_base64): Convenience function for protocols that use base64-encoded SASL. (camel_sasl_authenticated): Implement this... (it was prototyped already) (camel_sasl_new): Function to take a service name, a mechanism name, and a CamelService, and return a CamelSasl for it. (camel_sasl_authtype, camel_sasl_authtype_list): Functions to return CamelServiceAuthType information about SASL mechanisms, to allow providers to deal with them generically. * camel-sasl-anonymous.c, camel-sasl-plain.c: Update/simplify for CamelSasl changes. Both of these are single-round (client-initiated) mechanisms, so they don't need to keep state. (camel_sasl_plain_new): Removed; use camel_sasl_new instead. (Can't get rid of camel_sasl_anonymous_new though...) * camel-sasl-cram-md5.c: Update/simplify for CamelSasl changes. (camel_sasl_cram_md5_new): Removed; use camel_sasl_new instead. (cram_md5_challenge): Use md5_get_digest where possible, and various other minor simplifications. CRAM-MD5 only has a single round, so there's no need to keep track of state. This code is now tested (against Cyrus IMAPd) and known to work. * camel-sasl-kerberos4.h: Update/simplify for CamelSasl changes. Make only a single #ifdef HAVE_KRB4. Remove stuff from priv that isn't needed between rounds. (camel_sasl_kerberos4_new): Removed; use camel_sasl_new instead (krb4_challenge): Fix up the logic I broke in my previous "at least make it compile" fixes, update to match other changes, and remove IMAP-isms that shouldn't be in the generic code. This still isn't tested, because we're stuck behind a NAT right now... svn path=/trunk/; revision=8462
* Added views stuff.Christopher James Lahey2001-03-023-3/+11
| | | | | | | | 2001-03-01 Christopher James Lahey <clahey@ximian.com> * Makefile.am (SUBDIRS), configure.in: Added views stuff. svn path=/trunk/; revision=8461
* Builtin View menus for tasks and mail.Christopher James Lahey2001-03-0213-0/+67
| | | | | | | | | | | | 2001-03-01 Christopher James Lahey <clahey@ximian.com> * .cvsignore, Makefile.am, mail/.cvsignore, mail/By_Sender.galview, mail/By_Subject.galview, mail/Makefile.am, mail/galview.xml, tasks/.cvsignore, tasks/Makefile.am, tasks/Tasks.galview, tasks/With_Category.galview, tasks/galview.xml: Builtin View menus for tasks and mail. svn path=/trunk/; revision=8460
* Change for new EDestination/ESelectNamesModel API.Jon Trowbridge2001-03-0218-1100/+2301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Change for new EDestination/ESelectNamesModel API. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_get_source): Added. A function for looking up the ESelectNamesModel by id. (I didn't end up using this function, but it might come in handy later.) (e_select_names_manager_get_cards): #if 0/#endif out this function. (e_select_names_manager_create_entry): Modified to attach an ESelectNamesCompletion to the entry we create. (completion_handler): A post-completion handler for our EEntry, to take the completion's extra data (an EDestination) and properly stick it into our ESelectNamesModel. * gui/component/select-names/e-select-names.c (real_add_address_cb): Changed to operate on EDestinations rather than ECards and to use the new ESelectNamesModel API. This leads to a rather nice code simplication. (remove_address): Changed for new ESelectNamesModel API. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Rather than just passing the entry's text through the property bag, get the "address text" from the model. This returns a nice, verbose string of addresses with names expanded when the address is tied to an ECard (i.e. "Jon Trowbridge <trow@ximian.com>"). (impl_SelectNames_get_entry_for_section): Make the text property read-only. (entry_set_property_fn): ...and since it is read-only now, chop out the setter code. * gui/component/select-names/e-select-names-text-model.h: * gui/component/select-names/e-select-names-text-model.c: Again, this code has been (pretty much) totally rewritten to convert all text operations into changes on the ESelectNamesModel. This lets us give the associated EEntry some (IMHO) nice semantics regarding whitespace, etc. Includes object activation, so destinations tied to ECards are underlined and can be double-clicked to bring up a contact editor. * gui/component/select-names/e-select-names-model.h: * gui/component/select-names/e-select-names-model.c: I've heavily modified this object to both hide all implementation details (which the old version exposed a bit too much for my peculiar tastes) and to act as an EDestination container. The old code put the text model operations here. I've moved them all to ESelectNamesTextModel --- so the text model actions (insert, delete, etc.) are all done through the API rather than operating on ESelectNamesModel internals. * gui/component/select-names/e-select-names-completion.c: Added. A fairly complicated object derived from ECompletion that searches our local addressbook in various and sundry ways. * gui/component/select-names/e-select-names-completion.h: * backend/ebook/e-destination.h: * backend/ebook/e-destination.c: Added. This object encapsulates a place to sent an email to, which can either be just a address as a string ("trow@ximian.com"), a fancier string ("Jon Trowbridge <trow@ximian.com>"), or an ECard and a specific address within that ECard. svn path=/trunk/; revision=8459
* Boost version number to 0.5.99.3.Jon Trowbridge2001-03-025-99/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * configure.in: Boost version number to 0.5.99.3. * gal/e-text/e-entry.c (e_entry_show_popup): Grab pointer when the popup is visible, and then hide the popup if any button press events occur outside of the popup. This lets up avoid most of the worst "floating popup" cases that would occur if windows are moved, desktops changed, etc. with the mouse. (Doing things like changing desktop w/ keybindings can still cause a "floating popup", but that is also true of Gtk's own combo box.) Change popup positioning to slightly offset it from the entry, rather than just plopping it down directly below. (button_press_cb): Determine if a button press occured outside of the popup when the pointer was grabbed, and unbrowse accordingly. * gal/e-text/e-completion-view.c (e_completion_view_key_press_handler): Improve keystroke handling. Allow Tabs to pass through (after hiding the pop-up) in order to allow focus change requests to work properly. (e_completion_view_construct): Disable horizontal scrollbars. * gal/e-text/e-completion-test.c (main): Reworked to use signals instead of explicit callbacks. * gal/e-text/e-completion.h: * gal/e-text/e-completion.c: Fix the awkward mix of signals and explicitly-specified callbacks by taking out the explicit callbacks. This approach is more gtk-ish, after all. svn path=/trunk/; revision=8458
* When when when when when when oh WHEN will I remember to add the files - ↵Federico Mena Quintero2001-03-021-0/+180
| | | | | | Federico svn path=/trunk/; revision=8457
* Don't base64 encode the data, leave that up to the provider to do if itJeffrey Stedfast2001-03-022-8/+8
| | | | | | | | | | | | | | 2001-03-01 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-anonymous.c (anon_challenge): Don't base64 encode the data, leave that up to the provider to do if it needs to. Also save on some memory allocations and stuff. * camel-sasl-cram-md5.c (cram_md5_challenge): Same here. Also get rid of the need for the temp buf as we can just write it to the GByteArray. svn path=/trunk/; revision=8456