aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump this to 10. (We forgot to do this before branching *again*...)Dan Winship2001-03-312-1/+6
| | | | | | | * configure.in (EVOLUTION_MICRO_VERSION): Bump this to 10. (We forgot to do this before branching *again*...) svn path=/trunk/; revision=9053
* Since this is an ETree now, the signature of the double click callback hasChristopher James Lahey2001-03-312-0/+7
| | | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * e-shell-folder-selection-dialog.c (dbl_click_cb): Since this is an ETree now, the signature of the double click callback has changed. svn path=/trunk/; revision=9052
* Fixed removing the last child of a node.Christopher James Lahey2001-03-311-4/+29
| | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (etta_proxy_node_removed): Fixed removing the last child of a node. svn path=/trunk/; revision=9051
* Add support for converting e-mail addresses to links. (is_email_address):Jon Trowbridge2001-03-3111-16/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-30 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Add support for converting e-mail addresses to links. (is_email_address): Added. Identifies e-mail addresses. (email_address_extract): Added. Extracts a copy of the e-mail address from the text. * e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added. * e-url.c (e_url_shroud): Added. Copy a url, replacing any plaintext passwords with a single *. (e_url_equal): Compare two urls, taking into account that they may or may not be shrouded. 2001-03-30 Jon Trowbridge <trow@ximian.com> * camel-mime-message.c (camel_mime_message_set_source): Shrould our source URL before putting it into X-Evolution-Source. 2001-03-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (mail_text_write): Add (commented-out) E_TEXT_TO_HTML_CONVERT_ADDRESSES. * mail-config.c (mail_config_get_account_by_source_url): Call e_url_equal to compare URLs. svn path=/trunk/; revision=9050
* If the EvolutionShellComponent emits a "debug" signal, turn onDan Winship2001-03-312-0/+15
| | | | | | | * component-factory.c (debug_cb): If the EvolutionShellComponent emits a "debug" signal, turn on camel_verbose_debug. svn path=/trunk/; revision=9047
* add a "debug" method to tell a component to output debugging messages to aDan Winship2001-03-316-1/+77
| | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: add a "debug" method to tell a component to output debugging messages to a given file. * main.c (main): Add a "--debug filename" argument, to direct debugging output for all components to a file. Redirect the shell's stdout/stderr to that file if this argument is used. * evolution-shell-component-client.c (evolution_shell_component_client_set_owner): If debug_log is set, call the component's debug method as well. * evolution-shell-component.c (impl_ShellComponent_debug): redirect stdout/stderr to the named file and emit a "debug" signal. svn path=/trunk/; revision=9046
* reset last_activeRadek Doulik2001-03-312-0/+5
| | | | | | | | 2001-03-30 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_redisplay): reset last_active svn path=/trunk/; revision=9045
* removed #include <gal/e-table/e-tree-selection-model.h>Radek Doulik2001-03-301-1/+0
| | | | | | | | | 2001-03-30 Radek Doulik <rodo@ximian.com> * e-tree.h: removed #include <gal/e-table/e-tree-selection-model.h> svn path=/trunk/; revision=9044
* Tell new clients that are added whether they're writable.Christopher James Lahey2001-03-302-0/+13
| | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_add_client): Tell new clients that are added whether they're writable. svn path=/trunk/; revision=9043
* Made these use GTK_TYPE_GDK_EVENT whenever sending an event through theChristopher James Lahey2001-03-305-17/+23
| | | | | | | | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * e-table-group.c, e-table-header-item.c, e-table-item.c, e-table.c, e-tree.c: Made these use GTK_TYPE_GDK_EVENT whenever sending an event through the signal system instead of GTK_TYPE_POINTER. * e-table.c, e-tree.c (set_header_canvas_width): Check that none of the variables we're going to need are NULL before executing this function. svn path=/trunk/; revision=9042
* Changed the signal "table_selection_model" to just be "selection_model"Christopher James Lahey2001-03-3010-55/+69
| | | | | | | | | | | | | | | | | | | 2001-03-30 Christopher James Lahey <clahey@ximian.com> * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c, e-table-item.h, e-table.c, e-tree.c: Changed the signal "table_selection_model" to just be "selection_model" everywhere and made it be ESelectionModels instead of ETableSelectionModels for generality. * e-table-item.c (eti_event): Make right arrow and left arrow accessible as events that can be caught. * e-tree-sorted.c, e-tree-sorted.h (e_tree_sorted_orig_position): Added this function. svn path=/trunk/; revision=9041
* removed a g_warning for debuggingJeffrey Stedfast2001-03-301-2/+0
| | | | svn path=/trunk/; revision=9037
* Don't blindly append "/INBOX", construct a CamelURL and set the path thatJeffrey Stedfast2001-03-302-7/+44
| | | | | | | | | | | | | | 2001-03-29 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (get_folder_info): Don't blindly append "/INBOX", construct a CamelURL and set the path that way. (parse_list_response_as_folder_info): Don't blindly append "/<foldername>", construct a CamelURL and set the path that way instead. (get_folders_offline): And again here. svn path=/trunk/; revision=9036
* Updated to set the width of the header canvas to be equal to the width ofChristopher James Lahey2001-03-303-25/+73
| | | | | | | | | | | 2001-03-29 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-tree.c, e-tree.h: Updated to set the width of the header canvas to be equal to the width of the table canvas to avoid infinite loops. Added left arrow and right arrow as tree collapse and expand bindings. svn path=/trunk/; revision=9035
* Dont overwrite an exception if we got one already. Added camel_operationNot Zed2001-03-302-10/+25
| | | | | | | | | | 2001-03-30 Not Zed <NotZed@Ximian.com> * camel-service.c (camel_get_host_byname): Dont overwrite an exception if we got one already. Added camel_operation status to it, and comment out some debug. svn path=/trunk/; revision=9034
* Not quite finished but checking in for some local frobbing.Not Zed2001-03-309-17/+163
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Not Zed <NotZed@Ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): Free host name info when done ... blah blah. * camel-sasl-kerberos4.c (krb4_challenge): Free host name info after we're done with it. * camel-sasl-digest-md5.c (digest_md5_challenge): Free host name info after we're done with it. * camel-remote-store.c (remote_connect): Free the host name info from get_host after we're finished with it. * camel-service.c (camel_get_host_byname): New function to lookup a name, and still be cancellable. (camel_free_host): And a function to free the structure returned. (camel_service_gethost): Call get_host_byname for this. svn path=/trunk/; revision=9033
* Added #include <libgnome/gnome-paper.h>Jon Trowbridge2001-03-3014-16/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Jon Trowbridge <trow@ximian.com> * printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h> * printing/e-contact-print-envelope.c: Added #include <time.h> and #include <libgnome/gnome-paper.h> * gui/component/select-names/e-select-names-completion.c (match_email): Better handle matching of "nameless" contacts. * backend/ebook/e-destination.c (e_destination_get_string): Better handle the case of a "nameless" contact. 2001-03-29 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Save the source URL using camel_mime_message_set_source. * camel-mime-message.c (camel_mime_message_set_source): Renamed camel_mime_message_set_identity to this. Sets the X-Evolution-Source header. (camel_mime_message_get_source): Returns the X-Evolution-Source header. 2001-03-29 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c: Added #include <time.h> to get things to compile. * mail-callbacks.c (mail_generate_reply): Look at the X-Evolution-Source header, and try to find a corresponding account. If this works, send the mail from this account. If not, use the default account. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Source header before sending. * mail-config.c (mail_config_get_account_by_source_url): Added. Look up accounts by source URL. svn path=/trunk/; revision=9032
* if called with a multipart that's really a 0-part, spew an error andDan Winship2001-03-302-0/+13
| | | | | | | | * mail-format.c (call_handler_function): if called with a multipart that's really a 0-part, spew an error and display as source. svn path=/trunk/; revision=9031
* #include <camel/camel-vtrash-folder.h>Dan Winship2001-03-303-0/+7
| | | | | | | | | * message-list.c: #include <camel/camel-vtrash-folder.h> * mail-callbacks.c: #include <libgnome/gnome-paper.h> for the gnome-print stuff. svn path=/trunk/; revision=9030
* Ignore "funky" button clicks (like scroll wheel scrolls)Dan Winship2001-03-302-0/+11
| | | | | | | * mail-display.c (pixmap_press): Ignore "funky" button clicks (like scroll wheel scrolls) svn path=/trunk/; revision=9029
* Fix headers. Remove unneccesary ones and replace with more finegrainedKjartan Maraas2001-03-3043-66/+122
| | | | | | | | | 2001-03-30 Kjartan Maraas <kmaraas@gnome.org> * *.*: Fix headers. Remove unneccesary ones and replace with more finegrained ones where needed. svn path=/trunk/; revision=9028
* Clean up includes. Remove/replace <gnome.h>, <bonobo.h> and <gtk/gtk.h>.Kjartan Maraas2001-03-3023-33/+40
| | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Clean up includes. Remove/replace <gnome.h>, <bonobo.h> and <gtk/gtk.h>. svn path=/trunk/; revision=9027
* Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> withKjartan Maraas2001-03-3097-215/+324
| | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> with more finegrained headers where needed. svn path=/trunk/; revision=9026
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-3052-192/+360
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Big header cleanups and nntp compile fixKjartan Maraas2001-03-30116-165/+510
| | | | svn path=/trunk/; revision=9024
* Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #includeKjartan Maraas2001-03-3013-28/+71
| | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-icon-list.c: Replace #include <gtk/gtk.h> * e-msg-composer-attachment-bar.c: Replace #include <gnome.h> * e-msg-composer-attachment-bar.h: Remove #include <gnome.h> * e-msg-composer-attachment.c: Remove #include <gnome.h> * e-msg-composer-attachment.h: Same here. * e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h> * e-msg-composer-hdrs.h: Replace #include <gnome.h> * e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h> * e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h> * e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h> * evolution-composer.c: Replace #include <bonobo.h> * listener.c: Same here. svn path=/trunk/; revision=9023
* Fix this so the "Receiving Options" page gets filled in again.Dan Winship2001-03-302-1/+4
| | | | | | | * mail-account-editor.c (switch_page): Fix this so the "Receiving Options" page gets filled in again. svn path=/trunk/; revision=9022
* Doh! This was storing "struct _folder_info"s in the cache and then tryingDan Winship2001-03-302-4/+9
| | | | | | | | | * mail-send-recv.c (receive_get_folder): Doh! This was storing "struct _folder_info"s in the cache and then trying to read them back as CamelFolders. Fixicate. Fixes the "crash with 2 POP accounts" bug. svn path=/trunk/; revision=9021
* s/#include/#ifdef/ to fix Kjartan's commit.Larry Ewing2001-03-302-1/+6
| | | | | | | | | 2001-03-29 Larry Ewing <lewing@ximian.com> * e-meeting-time-sel-list-item.c: s/#include/#ifdef/ to fix Kjartan's commit. svn path=/trunk/; revision=9020
* Remove/replace unneeded includes and move around stuff so that systemKjartan Maraas2001-03-3040-87/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: Remove/replace unneeded includes and move around stuff so that system headers are included first. * e-corba-storage.c: Replace #include <bonobo.h> * e-folder-tree.c: Shuffle. * e-folder.c: Remove #include <gtk/gtkobject.h> * e-local-storage.c: Replace #include <gnome.h> and <bonobo.h> * e-setup.c: Replace #include <glib.h> and <gnome.h> * e-shell-folder-creation-dialog.c: Replace #include <gnome.h> * e-shell-folder-title-bar.c: Replace <gnome.h> * e-shell-utils.c: Same here. * e-shell-view-menu.c: Same here (and <bonobo.h>) * e-shell-view.c: Replace <gnome.h> and <bonobo.h> * e-shell.c: Replace <gnome.h> * e-shell.h: Shuffle. * e-shortcuts-view-model.c: Replace <gnome.h> * e-shortcuts-view.c: Remove #include <gnome.h> * e-shortcuts.c: Move <string.h> up. * e-splash.c: Replace <gnome.h> * e-storage-set-view.c: Replace <gnome.h> * e-storage-set.c: Shuffle * e-storage.c: Replace <gnome.h> * evolution-local-storage.c: Same here * evolution-local-storage.h: And here. * evolution-session.c: Same here too. * evolution-session.h: Replace <bonobo.h> * evolution-shell-client.c: Here too. * evolution-shell-component-client.c: Shuffle. * evolution-shell-component.c: Replace <bonobo.h> * evolution-shell-view.c: Remove #include <bonobo.h> * evolution-shell-view.h: Replace <gnome.h> * evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-listener.h: Replace <gnome.h> * evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-set-view.c: Remove <gnome.h> * evolution-storage.c: Replace <bonobo.h> * main.c: Replace <gnome.h> and <bonobo.h> * importer/importer.c: Replace <gnome.h> * importer/intelligent.c: Replace <gnome.h>. Add prototype for svn path=/trunk/; revision=9019
* Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #includeKjartan Maraas2001-03-3013-16/+68
| | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-dropdown-button.c: Replace #include <gtk/gtk.h> * e-dropdown-button.h: Remove #include <gnome.h> * e-filter-bar.c: Replace #include <gtk/gtk.h> * e-filter-bar.h: Replace #include <gtk/gtk.h> * e-messagebox.c: Add #includes to count for removed <gnome.h> in e-messagebox.h: * e-messagebox.h: Replace #include <gnome.h> * e-search-bar.c: Replace #include <gnome.h> * e-search-bar.h: Same here * test-calendar.c: Remove #include <gnome.h> * test-dateedit.c: Replace #include <gnome.h> * test-dropdown-button.c: Same here. * test-title-bar.c: Same here. svn path=/trunk/; revision=9018
* #ifdef HAVE_CONFIG_H Same here. Same here. And here.Kjartan Maraas2001-03-305-1/+19
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-meeting-time-sel-item.c: #ifdef HAVE_CONFIG_H * e-meeting-time-sel-list-item.c: Same here. * e-meeting-time-sel.c: Same here. * test-meeting-time-sel.c: And here. svn path=/trunk/; revision=9017
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-3025-35/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-utils.h: Remove #include <glib.h> * e-dialog-widgets.c: Shuffle some headers. * e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h> * e-gtk-utils.c: #include <gtk/gtksignal.h> * e-gtk-utils.h: Replace #include <gtk/gtk.h> * e-gui-utils.c: Replace #include <gnome.h> * e-html-utils.c: Shuffle headers. * e-iterator.c: Replace #include <gtk/gtk.h> * e-iterator.h: Replace #include <gtk/gtk.h> * e-list-iterator.c: Remove #include <gtk/gtk.h> * e-list-iterator.h: Replace #include <gtk/gtk.h> * e-list.c: Remove #include <gtk/gtk.h> * e-list.h: Replace #include <gtk/gtk.h> * e-memory.c: #include <string.h> and <stdlib.h> * e-msgport.c: Move around some includes. s/%d/%ld/g in a printf() call to fix a warning. * e-pilot-map.c: #include <string.h>. Replace #include <gnome.h> * e-pilot-util.c: Remove #include <gnome.h> * e-sexp.c: Remove #include <glib.h> * e-sexp.h: Replace #include <gtk/gtk.h> * e-time-utils.c: #include <string.h> * md5-utils.c: Shuffle headers. * test-ename-western-gtk.c: Replace #include <gnome.h> * test-ename-western.c: Same here. svn path=/trunk/; revision=9016
* Update call to camel_url_to_string. (Don't include the params in theDan Winship2001-03-306-6/+20
| | | | | | | | | | | | | | | | * session.c (auth_callback): Update call to camel_url_to_string. (Don't include the params in the password hash table key.) * mail-config.c (mail_config_folder_to_cachename): Call camel_url_to_string with HIDE_PASSWORD and HIDE_PARAMS so that changing URL params doesn't change the cachename. * mail-ops.c (add_vtrash_info): * mail-local.c (reconfigure_folder_reconfigure): * mail-account-gui.c (save_service): Update calls to camel_url_to_string. svn path=/trunk/; revision=9015
* change "gboolean show_passwd" to "guint32 flags".Dan Winship2001-03-306-24/+38
| | | | | | | | | | | | | | | | | | * camel-url.c (camel_url_to_string): change "gboolean show_passwd" to "guint32 flags". * tests/misc/url.c (main): Update calls to camel_url_to_string * providers/imap/camel-imap-store.c (construct): Call camel_url_to_string with flags to hide password, authtype, and params to create the base_url. (etc): Update for the fact that the base_url no longer has the "/" at the end. * camel-service.c (construct): Update calls to camel_url_to_string (pass CAMEL_URL_HIDE_PASSWORD) svn path=/trunk/; revision=9014
* Engine for live queries to calendars. A query object watches a CalBackendFederico Mena Quintero2001-03-3011-15/+1173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Federico Mena Quintero <federico@ximian.com> Engine for live queries to calendars. A query object watches a CalBackend in the PCS and is otherwise completely separate from it; backends need to do nothing to support live queries. Right now we have the following functions: (get-vtype) Returns a string indicating the type of component (VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE, UNKNOWN). (occur-in-time-range? START END) START - int, time_t start of the time range END - int, time_t end of the time range Returns a boolean indicating whether the component has any occurrences in the specified time range. * idl/evolution-calendar.idl (Cal::getQuery): New method that initiates a live query. (Query): New interface for a handle to a live query. (QueryListener): New interface for a listener to changes in a live query. * pcs/query.[ch]: New files with the live query engine. * pcs/cal-backend.h (CalBackendClass): Added notification signals so that the query system can catch them. (CalBackendClass): New virtual method ::get_load_state(). * pcs/cal-backend.c (cal_backend_opened): (cal_backend_obj_updated): (cal_backend_obj_updated): New functions to emit the notification signals; to be used only by backend implementations. (cal_backend_get_load_state): New function. * pcs/cal-backend-file.c (notify_update): Call cal_backend_obj_updated(). (notify_remove): Call call_backend_obj_removed(). (open_cal): Free the icalcomp if it is not of the correct type. (cal_backend_file_get_load_state): Implemented new method. * pcs/cal-backend-db.c (cal_backend_db_update_object): Call cal_backend_obj_updated(). (cal_backend_db_remove_object): Call cal_backend_obj_removed(). (cal_backend_db_get_load_state): Implemented new method. * pcs/cal.c (Cal_get_query): Implementation of the ::getQuery() method. svn path=/trunk/; revision=9013
* Updated Finnish translationjjranta2001-03-292-1354/+1286
| | | | svn path=/trunk/; revision=9012
* Updated Spanish translation.Hector Garcia2001-03-292-662/+804
| | | | svn path=/trunk/; revision=9011
* Move the 'hide deleted' to the option list under the view menu.Not Zed2001-03-292-2/+9
| | | | | | | | | 2001-03-29 Not Zed <NotZed@Ximian.com> * evolution-mail.xml: Move the 'hide deleted' to the option list under the view menu. svn path=/trunk/; revision=9010
* Create a vtrash folder, not a vee folder.Not Zed2001-03-295-16/+88
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Not Zed <NotZed@Ximian.com> * mail-local.c (init_trash): Create a vtrash folder, not a vee folder. * folder-browser-factory.c (control_activate): Hook in the hide deleted thingy. Removed MessageHideDeleted menu stuff. * message-list.c (message_list_set_hidedeleted): New function, to set if we should hide deleted messages automatically/always. (regen_list_regen): If we have hide deleted messages turned on, then hide them. (main_message_changed): Promote to a folder_changed event with a change list, folder_changed has the optimisations to handle this appropriately. (main_folder_changed): IF we get changes events for deleted/undeleted stuff, change to added/removed events, rebuild if necessary. (message_list_set_folder): Setup the default hidedeleted state to be to hide everything unless it is in a vtrash folder. svn path=/trunk/; revision=9009
* New class for PGP encrypting, decrypting, signing and verifying. Next I'llJeffrey Stedfast2001-03-293-0/+1603
| | | | | | | | | | | 2001-03-28 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.[c,h]: New class for PGP encrypting, decrypting, signing and verifying. Next I'll be moving the contents of mail/mail-crypto into Camel. These files will basically replace mail/openpgp-utils.[c,h]. svn path=/trunk/; revision=9008
* Optimise the match "" case, just match everything in the folder (if weNot Zed2001-03-292-2/+14
| | | | | | | | | 2001-03-29 Not Zed <NotZed@Ximian.com> * camel-folder-search.c (search_body_contains): Optimise the match "" case, just match everything in the folder (if we have it). svn path=/trunk/; revision=9007
* (vee_expunge): Oops, call the class sync, not superclass sync.Michael Zucci2001-03-292-1/+4
| | | | svn path=/trunk/; revision=9006
* Use `g_strcasecmp()' instead of `strcasecmp()', just to be anal aboutEttore Perazzoli2001-03-292-2/+7
| | | | | | portability. svn path=/trunk/; revision=9005
* Access the folder directly from the message info.Not Zed2001-03-294-105/+139
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Not Zed <NotZed@Ximian.com> * camel-vtrash-folder.c (vtrash_move_messages_to): Access the folder directly from the message info. (vtrash_move_messages_to): I think we also need to call the real move_messages_to, and not try and bypass the lock, since we dont have the lock for that folder. * camel-vee-folder.h: Move CamelVeeMessageInfo to public, so subclasses can get to it. * camel-vee-folder.c (camel_vee_folder_add_folder): Dont let you add a vfolder to itself. (folder_changed): (vee_folder_remove_folder): (vee_folder_build_folder): Copy changes before triggering changed events, so we can do them outside of locks. (camel_vee_folder_get_message_folder): Removed function. (camel_vee_folder_hash_folder): Made public (renamed from hash_folder), simply for subclasses (probably not needed). svn path=/trunk/; revision=9004
* Don't print the xml tree here.Christopher James Lahey2001-03-292-1/+8
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't print the xml tree here. svn path=/trunk/; revision=9003
* Use strcasecmp instead of strcmp.Christopher James Lahey2001-03-292-4/+9
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (storage_sort_callback, folder_sort_callback): Use strcasecmp instead of strcmp. svn path=/trunk/; revision=9002
* Fixed some crashes.Christopher James Lahey2001-03-292-0/+18
| | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card.c (e_card_set_arg): Fixed some crashes. svn path=/trunk/; revision=9001
* Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and thenChristopher James Lahey2001-03-293-6/+18
| | | | | | | | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and then the ORG. That way if we expand NAME_OR_ORG, this will use it. * gui/component/select-names/e-select-names.c (e_addressbook_create_ebook_table, SPEC): Use the correct column in the SPEC. svn path=/trunk/; revision=9000
* oops libunicode isn't quite dead yetDan Winship2001-03-291-0/+14
| | | | svn path=/trunk/; revision=8999
* Sigh. Use the right variable, idiot. And fix a crash bug thatEttore Perazzoli2001-03-292-1/+6
| | | | | | happened when doing dnd in the folder tree. svn path=/trunk/; revision=8998
* add a bit mentioning that if configure claims you don't have somethingDan Winship2001-03-294-208/+79
| | | | | | | | | | | | | | | | | * README: add a bit mentioning that if configure claims you don't have something installed when you think you do, that it's probably because you installed it in the wrong prefix, or because you need a -devel package. * configure.in: Add a new macro EVO_CHECK_LIB that checks for a gnome-config-based library of a given version or later, correctly, and if doesn't find it, suggests that you consult the README. Fix the various library checks to use this. Meanwhile, remove a bunch of old cruft and reorganize a little. * acconfig.h: Remove cruft svn path=/trunk/; revision=8997
* Move the gtk_toggle_button_set_active outside the if.Jeffrey Stedfast2001-03-292-6/+20
| | | | | | | | | 2001-03-28 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): Move the gtk_toggle_button_set_active outside the if. svn path=/trunk/; revision=8996
* A mockup of how meeting scheduling and editting should work. This design is ↵Anna Dirks2001-03-291-0/+488
| | | | | | basically outlookish. svn path=/trunk/; revision=8995
* Screenshot of Damon's meeting-scheduling widget, used in my mockup of the ↵Anna Dirks2001-03-291-0/+0
| | | | | | meeting editor svn path=/trunk/; revision=8994
* Updated Slovenian translationAndraz Tori2001-03-291-525/+628
| | | | svn path=/trunk/; revision=8993
* Use the drafts folder specified by the account, if possible. Also, fix theDan Winship2001-03-292-4/+60
| | | | | | | | * e-msg-composer.c (save_draft): Use the drafts folder specified by the account, if possible. Also, fix the setting of "send_html" after saving the draft in case the user plans to keep editting... svn path=/trunk/; revision=8992
* Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up theDan Winship2001-03-298-80/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-account-gui.c (mail_account_gui_new): Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up the folder selector when sent or drafts is clicked. (mail_account_gui_save): Save the sent/drafts folders. * mail-config.c (account_copy): copy sent/drafts info (config_read): read sent/drafts info (mail_config_write): write sent/drafts info * mail-callbacks.c (composer_send_cb, composer_postpone_cb): split out some common code here (and fix inconsistencies). Always set headers on the message giving the account name, transport, and sent folder to use. * mail-ops.c (mail_send_message): If the message has an X-Evolution-Account header, use the transport/sent folder info for that account (assuming it still exists). Otherwise, if it has X-Evolution-Transport and/or X-Evolution-Fcc, use those. If not, use the default transport and sent folder. FIXME: Falls back silently to the default sent folder if it can't open the account-specific one... (send_queue_send): remove the X-Evolution-Transport, etc processing here, as it gets done by mail_send_message now. FIXME: We only sync the default sent folder. * component-factory.c (owner_set_cb): While setting up the standard folders, also record their URIs. svn path=/trunk/; revision=8991
* Change "mark as read" to be C-k instead of C-q, which is a standardEttore Perazzoli2001-03-292-1/+6
| | | | | | GNOME binding for "quit". svn path=/trunk/; revision=8990
* In a fit of egomania, added myself to the authors array.Jon Trowbridge2001-03-282-0/+6
| | | | | | | | | 2001-03-28 Jon Trowbridge <trow@gnu.org> * e-shell-view-menu.c: In a fit of egomania, added myself to the authors array. svn path=/trunk/; revision=8989
* In a burst of egomania, added myself.Jon Trowbridge2001-03-282-0/+5
| | | | | | | | 2001-03-28 Jon Trowbridge <trow@ximian.com> * AUTHORS: In a burst of egomania, added myself. svn path=/trunk/; revision=8988
* New class implementing a tree model. Not finished yet or in use, but IChristopher James Lahey2001-03-282-0/+563
| | | | | | | | | | 2001-03-27 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c, e-tree-selection-model.h: New class implementing a tree model. Not finished yet or in use, but I wanted to get it checked in. svn path=/trunk/; revision=8987
* Add the port (if user defined) to the path to fix bug #1996.Jeffrey Stedfast2001-03-282-0/+13
| | | | | | | | | | | 2001-03-27 Jeffrey Stedfast <fejj@ximian.com> * camel-service.c (get_path): Add the port (if user defined) to the path to fix bug #1996. Danw: I'm iffy on the "fix" so I'd like you to comment. svn path=/trunk/; revision=8986
* If we aren't going to even check the resp/free buffer that gets returnedJeffrey Stedfast2001-03-283-5/+15
| | | | | | | | | | | | | | | 2001-03-27 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-folder.c (pop3_sync): If we aren't going to even check the resp/free buffer that gets returned from camel_pop3_command, don't even bother using it. Send in NULL instead. (pop3_get_message): Check to make sure that the `result' string is non-NULL. It's possible that some POP servers may return with "+OK\r\n<message>..." rather than the expected "+OK ### octets\r\n<message>..." svn path=/trunk/; revision=8985
* Lets do some NULL checking here. First, make sure the gsrc isn't NULL andJeffrey Stedfast2001-03-283-9/+14
| | | | | | | | | | | | | 2001-03-27 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (switch_page): Lets do some NULL checking here. First, make sure the gsrc isn't NULL and also make sure that account->source isn't NULL either. * mail-account-gui.c (mail_account_gui_setup): If there isn't a source_proto, make sure we select "None" as the source type. svn path=/trunk/; revision=8984
* fixed button placement to comply with gnome standards.Anna Marie Dirks2001-03-282-6/+11
| | | | | | | | 001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.c: fixed button placement to comply with gnome standards. svn path=/trunk/; revision=8983
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-282-0/+6
| | | | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. (e_msg_composer_construct): set the FormatHTML property at construct time. svn path=/trunk/; revision=8982
* fixed spacing and label alignment to comply with gnome standards. AlsoAnna Marie Dirks2001-03-282-129/+105
| | | | | | | | | | | | 2001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.glade: fixed spacing and label alignment to comply with gnome standards. Also removed shadows from extraneous scrolled windows to avoid bevelitous. There are many more changes that need to happen to this viewer, but they all require a hacker to do some c-coding, so I will avoid committing them until after the .10 release. svn path=/trunk/; revision=8981
* set the initial druid button state after doing the mail_account_gui_setup,Dan Winship2001-03-282-2/+6
| | | | | | | | * mail-config-druid.c (construct): set the initial druid button state after doing the mail_account_gui_setup, since that may invoke signal handlers that will change it. svn path=/trunk/; revision=8980
* (save_service): Don't look at authtype if the widget isDan Winship2001-03-282-1/+4
| | | | | | insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.) svn path=/trunk/; revision=8979
* we can now resolve to storages and streams.Dietmar Maurer2001-03-272-3/+73
| | | | | | | | | 2001-03-27 Dietmar Maurer <dietmar@ximian.com> * wombat-moniker.c (wombat_moniker_resolve): we can now resolve to storages and streams. svn path=/trunk/; revision=8978
* Fill in signature and organization too. (mail_account_gui_save): PreserveDan Winship2001-03-272-0/+16
| | | | | | | | * mail-account-gui.c (mail_account_gui_new): Fill in signature and organization too. (mail_account_gui_save): Preserve the "enabled" flag on the source. svn path=/trunk/; revision=8977
* Use gnome-dialog-close instead of object_unref, for some reason it doesn'tNot Zed2001-03-272-1/+8
| | | | | | | | | | | 2001-03-27 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_done): Use gnome-dialog-close instead of object_unref, for some reason it doesn't like being unref'd with a refcount of 1, _who knows_. Gets rid of that refcount warning on get mail. svn path=/trunk/; revision=8976
* Unref the html filter when done. (summary_build_content_info): DisableNot Zed2001-03-272-5/+16
| | | | | | | | | | | 2001-03-27 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (camel_folder_summary_finalize): Unref the html filter when done. (summary_build_content_info): Disable using the html parser to help index html mails until it gets sorted out. svn path=/trunk/; revision=8975
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-272-0/+9
| | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. svn path=/trunk/; revision=8974
* Fix a cut n paste bug, we want uid_removed not uid_changed deref, fixesNot Zed2001-03-272-1/+6
| | | | | | | | | 2001-03-27 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (folder_changed): Fix a cut n paste bug, we want uid_removed not uid_changed deref, fixes bug #1999. svn path=/trunk/; revision=8973
* add an argument to say whether or not you want "PLAIN" in the list (so youDan Winship2001-03-277-11/+23
| | | | | | | | | | | | | | | | * camel-sasl.c (camel_sasl_authtype_list): add an argument to say whether or not you want "PLAIN" in the list (so you don't end up with "Password" twice in the config dialog). * providers/imap/camel-imap-provider.c (camel_provider_module_init): * providers/imap/camel-imap-store.c (query_auth_types): We don't want PLAIN. * providers/smtp/camel-smtp-provider.c (camel_provider_module_init): * providers/smtp/camel-smtp-transport.c (query_auth_types): But we do. svn path=/trunk/; revision=8972
* Probably the very last new config dialog ever. (Ha ha). From Anna, basedDan Winship2001-03-2713-4973/+3122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-config.glade: Probably the very last new config dialog ever. (Ha ha). From Anna, based on a story by me. * mail-account-gui.c: New code for the new mail-config.glade. This abstracts out all of the common code between the account editor and the druid. It also handles the spiffy new provider-specific config stuff. FIXME: The code to check if a service is ok or not is no longer there... waiting until the online/offline stuff from the shell appears. * mail-account-editor.c, mail-config-druid.c: These are much smaller now, since most of the interesting bits moved to mail-account-gui.c * mail-accounts.c: Add an enabled/disabled column/button to replace the checkbox that used to be in the editor, because it really makes more sense to have it out here. This looks ugly. Probably ought to ETable it... (load_accounts): Fill in the enabled column. (mail_select, mail_unselect): toggle the sensitivity and name of the Enable/Disable button appropriately (mail_able): Handle the enable/disable button. * mail-config.c: Remove reply-to from MailConfigIdentity since it didn't belong there (and wasn't being saved anyway). (mail_config_check_service): Simplify this a bit. This really needs to pop up a dialog with a "connecting..." message and a cancel button. svn path=/trunk/; revision=8971
* Kludge, copied+modified from mail_config_folder_to_cachename to deal withDan Winship2001-03-271-2/+22
| | | | | | | | | | | * mail-ops.c (uid_cachename_hack): Kludge, copied+modified from mail_config_folder_to_cachename to deal with the different behavior of the URL code now. Will go away when the keep-on-server code moves. (get_folderinfo_get): Only pass "subscribed_only" to camel_store_get_folder_info if the store supports subscriptions... svn path=/trunk/; revision=8970
* Update this to reflect the CamelProvider structure changeDan Winship2001-03-271-1/+1
| | | | | | | * mail-local.c (local_provider): Update this to reflect the CamelProvider structure change svn path=/trunk/; revision=8969
* Add an "extra_conf" field to CamelProvider with structures and defines andDan Winship2001-03-2715-162/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h: Add an "extra_conf" field to CamelProvider with structures and defines and stuff, for providers to specify additional configuration options that they want. Also add a "supports ssl" flag to the provider flags. * camel-remote-store.c: add a "default_ssl_port" field. (remote_construct): If the URL has the "use_ssl" parameter, set the store's use_ssl flag. (remote_connect): If using SSL and no port specified, use the default_ssl_port rather than the default_port. * providers/smtp/camel-smtp-provider.c (smtp_provider): add CAMEL_PROVIDER_SUPPORTS_SSL and CAMEL_URL_ALLOW_USER. (The config gui code knows that the ALLOW_USER and ALLOW_AUTH go together.) (ssmtp_provider): gone * providers/smtp/camel-smtp-transport.c (smtp_construct): Set a flag if "use_ssl" param is set. (smtp_connect): Check the CamelSmtpTransport use_ssl flag rather than checking if this is smtp or ssmtp. * providers/imap/camel-imap-provider.c (imap_conf_entries): Add a bunch of IMAP-specific configuration options, like "check for new mail in all folders" (default TRUE), "show only subscribed folders" (default TRUE), "ignore server-supplied namespace", and "apply filters to INBOX" (not yet implemented). (imap_provider): We support SSL and we no longer allow a path in the URL. (namespace is handled via extra_conf) (simap_provider): Gone * providers/imap/camel-imap-store.c (camel_imap_store_init): Set default_ssl_port, don't set CAMEL_STORE_SUBSCRIPTIONS here (construct): remove simap stuff, deal with "use_lsub", "namespace", "check_all", and "filter" parameters. Set base_url to not include params. (imap_store_setup_online): Don't ask for the namespace if it was set explicitly. Don't get subscribed folders if !use_lsub. (imap_concat): Fix a bug. (get_folder_info): Support for not checking all folders. * providers/pop3/camel-pop3-provider.c (pop3_conf_entries): "keep on server" (currently still implemented by the mailer code, not here), "delete after N days" (not yet implemented). (pop3_provider): we support SSL (spop_provider): gone * providers/pop3/camel-pop3-store.c (camel_pop3_store_init): Set default_ssl_port (pop3_connect): Remove spop code svn path=/trunk/; revision=8968
* Fix parsing of params. (output_param): And unparsing...Dan Winship2001-03-271-2/+7
| | | | | | | * camel-url.c (camel_url_new_with_base): Fix parsing of params. (output_param): And unparsing... svn path=/trunk/; revision=8967
* Rewrite to use imap_store->namespace, not service->url->pathDan Winship2001-03-271-8/+12
| | | | | | | * providers/imap/camel-imap-folder.c (imap_get_full_name): Rewrite to use imap_store->namespace, not service->url->path svn path=/trunk/; revision=8966
* Add "vtrash" as an allowed mail folder type.Jeffrey Stedfast2001-03-272-1/+4
| | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Add "vtrash" as an allowed mail folder type. svn path=/trunk/; revision=8965
* Move all of the camel_vee_folder_construct() internals here.Jeffrey Stedfast2001-03-272-5/+34
| | | | | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-folder.c (vee_folder_construct): Move all of the camel_vee_folder_construct() internals here. (camel_vee_folder_construct): This function basically becomes a wrapper for vee_folder_construct and also checks to make sure that the UNMATCHED vfodler is constructed otherwise constructs it. (camel_vee_folder_new): Call vee_folder_construct() instead so that we don't get into a dead-lock. svn path=/trunk/; revision=8964
* Updated to reflect changes made to the move/copy API in camel-folder.cJeffrey Stedfast2001-03-272-1/+2
| | | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): Updated to reflect changes made to the move/copy API in camel-folder.c (add_vtrash_info): Use /Trash as the path instead of Trash. * mail-local.c (reconfigure_folder_reconfigure): Updated this too. svn path=/trunk/; revision=8963
* oops, don't use uids->pdata[i], just use uidsJeffrey Stedfast2001-03-271-2/+1
| | | | svn path=/trunk/; revision=8962
* Updated to reflect changes made to the move/copy API in camel-folder.cJeffrey Stedfast2001-03-273-25/+21
| | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): Updated to reflect changes made to the move/copy API in camel-folder.c * mail-local.c (reconfigure_folder_reconfigure): Updated this too. svn path=/trunk/; revision=8961
* Use camel_vtrash_folder_new() to create the vtrash folder now.Jeffrey Stedfast2001-03-2710-183/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (init_trash): Use camel_vtrash_folder_new() to create the vtrash folder now. * camel-vtrash-folder.[c,h]: New subclass of CamelVeeFolder for our vTrash folders. * camel-folder.c (camel_folder_copy_messages_to): Don't watch for vtrash folders anymore. (camel_folder_move_messages_to): Same. * camel-vee-folder.c (camel_vee_folder_class_init): Update. (vee_move_messages_to): Rewrite to use the new move API. * camel-filter-driver.c (do_copy): Updated to reflect copy_message_to changes. Create a temporary uid array and use that. (do_move): Same. (camel_filter_driver_filter_message): And again, here... * providers/imap/camel-imap-folder.c (imap_copy_messages_to): Update to the new API. (imap_move_messages_to): Same. (get_uid_set): New function to create a `set' string based on an array of UIDs for use with imap_copy_messages_to. * camel-folder.c (camel_folder_copy_messages_to): Replaces camel_folder_copy_message_to (camel_folder_move_message_to): Replaces camel_folder_move_message_to. svn path=/trunk/; revision=8960
* Get the shell to compile by implementing a missing function.Ettore Perazzoli2001-03-272-2/+17
| | | | svn path=/trunk/; revision=8959
* Fixed vfolder_new api.Not Zed2001-03-272-2/+5
| | | | | | | | 2001-03-20 Not Zed <NotZed@Ximian.com> * mail-local.c (init_trash): Fixed vfolder_new api. svn path=/trunk/; revision=8958
* Added folder_created event here.Not Zed2001-03-277-610/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-27 Not Zed <NotZed@Ximian.com> * camel-vee-store.c (vee_get_folder): Added folder_created event here. * camel-vee-folder.c (unmatched_finalise): Removed, moved into main finalise code. (message_changed): Just create a new change entry and promote it to a folder_changed thing. (vee_sync): Always rebuild folder on sync, even when not expunge. (folder_changed): If not autoupdating, make sure we remove any removed entries. (vee_folder_build_folder): (vee_folder_remove_folder): NOP if we're called on folder_unmatched. (vee_search_by_expression): Only search each folder once. Should we also order the result in summary order? 2001-03-20 Not Zed <NotZed@Ximian.com> * camel-store.c (init_trash): Fix calling for vee_folder_new(). * camel-folder-summary.c (camel_folder_summary_remove_index): Optimise slightly, use ptr_array_remove_index rather than have to search for the index by using summary_remove. * camel-vee-folder.h: Removed local member from VeeFolder, since it was never used. * camel-vee-store.c (camel_vee_store_finalise): Setup finalise function. * camel-vee-folder.c (camel_vee_folder_set_expression): New function to set the query of an existing vfolder. (camel_vee_folder_construct): New function for convenience/subclasses. (camel_vee_folder_new): Removed exception parameter, no longer needed (since we dont search yet). (camel_vee_folder_new): Changed to use folder_construct, and no longer raise the folder created signal. (vee_folder_build_folder): Make it return error on exception, so we can work without exceptions. (vee_folder_remove_folder): Use remove index rather than remove_uid, this is ok since we have the summary locked for our own access. (camel_vee_folder_add_folder): Only add the folder to the unmatched private if it is not a private folder. (camel_vee_folder_remove_folder): Only remove the folder from unmatched if it is not private. (vee_expunge): Just call sync with expunge set. (vee_sync): If expunging, also refresh the search. (vee_folder_build_folder): We do our own locking now, removed from callers, also trigger changed events here too (within locks), fixed callers appropriately. (vee_folder_remove_folder): Do our own locking, and trigger changed events. (vee_folder_add_info): Renamed of vee_folder_add, we now take a hash of the folder name, rather than use the folders address. (hash_folder): Convert a folder name into an 8 character hash. (vee_get_message, vee_search_by_expression, vee_set_message_flags, vee_set_message_user_flag, vee_move_message_to): Changed the uid to be an 8 byte hash + original uid, with no ':' anymore. svn path=/trunk/; revision=8957
* Updated Slovenian translationAndraz Tori2001-03-271-106/+55
| | | | svn path=/trunk/; revision=8956
* Added util/e-bit-array.lo.Christopher James Lahey2001-03-276-224/+558
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-26 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo. * gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h. * gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class containing the implementation of the bit array used in e-selection-model-array. * gal/widgets/e-selection-model-array.c, e-selection-model-array.h: Refactored the bit array implementation into a separate class. * gal/widgets/e-selection-model-simple.c: Changed how it clears the bit array of the ESelectionModelArray parent class. * gal/widgets/e-selection-model.h: Added code to make the declaration of EForeachFunc only get included once. svn path=/trunk/; revision=8955
* When writing the last token (if not rfc2047 encoded), don't useJeffrey Stedfast2001-03-272-1/+5
| | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_decode_text): When writing the last token (if not rfc2047 encoded), don't use g_string_append_len, use append_latin1. svn path=/trunk/; revision=8954
* Updated these to match the new e_tree_model_node_removed signal.Christopher James Lahey2001-03-275-45/+95
| | | | | | | | | | | | | | | | 2001-03-26 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-table-adapter.c: Updated these to match the new e_tree_model_node_removed signal. * e-tree-model.c, e-tree-model.h: Added an old_position parameter to the node_removed signal so that it would be completely deterministic. * e-tree-sorted.c: Changed this so that paths keep track of their original position. This makes sorting much faster. svn path=/trunk/; revision=8953
* Don't spew a warning if the message-id wasn't set by the application, notJeffrey Stedfast2001-03-272-10/+12
| | | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-message.c (write_to_stream): Don't spew a warning if the message-id wasn't set by the application, not a big deal since we create one right here. svn path=/trunk/; revision=8952
* Set the mime part content-id.Jeffrey Stedfast2001-03-272-0/+11
| | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Set the mime part content-id. svn path=/trunk/; revision=8951
* Rename this from "PLAIN" to "Password": there's no reason the user needsDan Winship2001-03-271-2/+2
| | | | | | | | * camel-sasl-plain.c (camel_sasl_plain_authtype): Rename this from "PLAIN" to "Password": there's no reason the user needs to see the SASL mechanism name. svn path=/trunk/; revision=8950
* Finish the DnD stuff by implementing move/copy on the shell side asEttore Perazzoli2001-03-2710-26/+423
| | | | | | | well. Now we should just need to implement the corresponding bits in the components... svn path=/trunk/; revision=8949
* Make the thumbnail cache global rather than per-MailDisplay, sinceDan Winship2001-03-271-1/+0
| | | | | | | | | | * mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache global rather than per-MailDisplay, since content-ids ought to be globally unique. Also, don't leak content-id strings when the pixbuf generation fails, and remove pixbufs from the cache after 5 minutes. svn path=/trunk/; revision=8948
* remove a debugging printf that got awayDan Winship2001-03-271-1/+0
| | | | svn path=/trunk/; revision=8947
* undo a boolean boobooDan Winship2001-03-271-1/+2
| | | | svn path=/trunk/; revision=8946
* keep a reference on the store's current_folder.Dan Winship2001-03-273-2/+17
| | | | | | | | | | * providers/imap/camel-imap-command.c (camel_imap_command): keep a reference on the store's current_folder. * providers/imap/camel-imap-store.c (camel_imap_store_finalize): (imap_disconnect): unref the current_folder before clearing it. svn path=/trunk/; revision=8945
* Make fake content-id URLs be guaranteed unique: the old way (with %p onDan Winship2001-03-263-22/+44
| | | | | | | | | | | | | | | * mail-format.c (get_cid): Make fake content-id URLs be guaranteed unique: the old way (with %p on the CamelMimePart *) would generate duplicates if memory was freed and re-allocated the right way. * mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache global rather than per-MailDisplay, since content-ids ought to be globally unique. Also, don't leak content-id strings when the pixbuf generation fails, and remove pixbufs from the cache after 5 minutes. svn path=/trunk/; revision=8944
* Add missing accessor.Dan Winship2001-03-263-0/+10
| | | | | | * camel-url.c (camel_url_get_param): Add missing accessor. svn path=/trunk/; revision=8943
* Simplify a bit using camel_session_get_provider.Dan Winship2001-03-263-35/+41
| | | | | | | | | | * component-factory.c (mail_load_storages): Simplify a bit using camel_session_get_provider. * mail-callbacks.c (empty_trash): Ditto, and fix up use of CamelException. svn path=/trunk/; revision=8942
* New. Return the provider for a URL.Dan Winship2001-03-263-18/+71
| | | | | | | * camel-session.c (camel_session_get_provider): New. Return the provider for a URL. svn path=/trunk/; revision=8941
* create camel/misc/MakefileRadek Doulik2001-03-262-0/+5
| | | | | | | | 2001-03-26 Radek Doulik <rodo@ximian.com> * configure.in: create camel/misc/Makefile svn path=/trunk/; revision=8940
* Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to removeKjartan Maraas2001-03-262-7/+20
| | | | | | | | | | | 2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * wombat.c: Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to remove warnings from newer gcc. 2001-03-21 JP Rosevear <jpr@ximian.com> svn path=/trunk/; revision=8939
* Header shuffling. Move glibc headers before gnome stuff. Same here. AddedKjartan Maraas2001-03-264-4/+13
| | | | | | | | | | | | 2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * disktail.c: Header shuffling. Move glibc headers before gnome stuff. * testindex.c: Same here. * wordindexmem.c: Added <string.h> and <stdlib.h> to quench warnings from newer gcc. svn path=/trunk/; revision=8938
* Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the neededKjartan Maraas2001-03-2624-32/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the needed headers to speed up compile. * cal-util/test-recur.c: Same here for <gtk/gtk.h> * gui/calendar-commands.c: Replace <bonobo.h> and remove <libgnorba/gnorba.h> * gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h> * gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h> * gui/component-factory.c: Remove <bonobo.h> * gui/control-factory.c: Replace <bonobo.h> * gui/e-calendar-table.c: Remove <gnome.h> * gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h> * gui/e-meeting-edit.c: Replace <bonobo.h> * gui/e-tasks.c: Replace <gnome.h> * gui/e-tasks.h: Replace <bonobo.h> * gui/gnome-cal.h: Remove <bonobo.h> * gui/main.c: Replace <bonobo.h> and <glade/glade.h> * gui/tasks-control-factory.c: Replace <bonobo.h> * gui/tasks-control.c: Replace <gnome.h> and <bonobo.h> * gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h> * gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h> * gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h> * gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h> * pcs/cal-backend.c: Replace <gtk/gtk.h> svn path=/trunk/; revision=8937
* clear name and email data after each addressRadek Doulik2001-03-262-8/+13
| | | | | | | | | 2001-03-26 Radek Doulik <rodo@ximian.com> * mail-format.c (write_address): clear name and email data after each address svn path=/trunk/; revision=8936
* un Mar 25 22:31:19 2001 George Lebl <jirka@5z.com>George Lebl2001-03-261-4/+4
| | | | | | | * e-tree.c (e_tree_class_init): Fix gtk_signal_new arguments, INT and POINTER were switched causing my alpha to go nuts. svn path=/trunk/; revision=8935
* eh, changed my mind, put the exception back in camel_url_new()Dan Winship2001-03-264-13/+10
| | | | svn path=/trunk/; revision=8934
* New URL parser with full RFC1808 relative URL support. Yum.Dan Winship2001-03-269-199/+523
| | | | | | | | | | | | | | | | * camel-url.c (camel_url_new_with_base): New URL parser with full RFC1808 relative URL support. Yum. (camel_url_new): Wrapper around camel_url_new_with_base now. Removed the CamelException since no one ever used it... * tests/Makefile.am: add misc subdir * tests/misc/url.c: relative URL test cases from RFC 1808 * camel-session.c (camel_session_get_service): Update camel_url_new call. svn path=/trunk/; revision=8933
* Updated Swedish translation.Christian Rose2001-03-262-868/+987
| | | | svn path=/trunk/; revision=8932
* UpdateFatih Demir2001-03-262-1182/+1192
| | | | svn path=/trunk/; revision=8931
* Fix a bug in this that probably would have been noticed sooner if ETreeDan Winship2001-03-262-1/+7
| | | | | | | | * component-factory.c (unref_standard_folders): Fix a bug in this that probably would have been noticed sooner if ETree hadn't always made the mailer crash before you got here. :-) svn path=/trunk/; revision=8930
* ref the sort_info taken from the state object. Ditto. Fixes the last ETreeDan Winship2001-03-262-0/+2
| | | | | | | | | * e-table.c (et_real_construct): ref the sort_info taken from the state object. * e-tree.c (et_real_construct): Ditto. Fixes the last ETree crash-on-exit bug for me. svn path=/trunk/; revision=8929
* The model_rows_{inserted,deleted} signals changed names; deal with it.Federico Mena Quintero2001-03-258-58/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-25 Federico Mena Quintero <federico@ximian.com> * gui/e-calendar-table.c (e_calendar_table_init): The model_rows_{inserted,deleted} signals changed names; deal with it. (e_calendar_table_on_rows_inserted): Updated for new ETable API. (e_calendar_table_on_rows_deleted): Likewise. * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum. * gui/gnome-cal.c (gnome_calendar_open): Constify. * gui/calendar-commands.c (calendar_set_uri): Removed function, since it was just calling gnome_calendar_open(). * gui/control-factory.c (set_prop): Replace usage of calendar_set_uri() with gnome_calendar_open(). (load_calendar): Likewise. (calendar_persist_init): Made static. * gui/e-tasks.c: #include "calendar-config.h" (e_tasks_update_all_config_settings): We are configuring a table, not a calendar! Use the appropriate function. svn path=/trunk/; revision=8928
* Updated Slovenian translationAndraz Tori2001-03-251-1700/+1852
| | | | svn path=/trunk/; revision=8927
* Allow the authtype to be NULL. (transport_auth_init): If the providerJeffrey Stedfast2001-03-252-2/+31
| | | | | | | | | | | | | 2001-03-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (transport_auth_type_changed): Allow the authtype to be NULL. (transport_auth_init): If the provider allows authtypes but doesn't *need* one, create a "None" menu item that the user can choose. This should fix the bug people have been seeing recently since dan removed the no_authtype authmech from the smtp provider. svn path=/trunk/; revision=8926
* Don't use copy_to if the source folder doesn't support summary info's.Jeffrey Stedfast2001-03-252-4/+13
| | | | | | | | | | | | | 2001-03-25 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (do_copy): Don't use copy_to if the source folder doesn't support summary info's. (do_move): Same. (camel_filter_driver_filter_message): And again here. I think this will fix the problem of "colour" tags not staying with the message when it's copied to a folder during the filter process. svn path=/trunk/; revision=8925
* Added e-selection-model-array.lo.Christopher James Lahey2001-03-258-560/+975
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-selection-model-array.lo. * gal/widgets/Makefile.am: Added e-selection-model-array.c and e-selection-model-array.h. * gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h: New class that implements the details of ESelectionModel. ESelectionModel has been refactored to just be a this virtual class. ESelectionModelArray is the original implementation of ESelectionModel. This is what most people will want to use or derive from. * gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h: Made the parent class of this be ESelectionModelArray instead of ESelectionModel. Changed some function names to match this change. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Refactored most of the implementation of this class into ESelectionModelArray. Now just a thin virtual class. From gal/e-table/ChangeLog: 2001-03-25 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c, e-table-selection-model.h: Made the parent object of this be ESelectionModelArray instead of ESelectionModel due to their refactoring. Changed the commented out code for saving the selection a bit. svn path=/trunk/; revision=8924
* Added '=' and '-' as tree node expand and collapseChristopher James Lahey2001-03-251-3/+11
| | | | | | | | | 2001-03-25 Christopher James Lahey <clahey@ximian.com> * e-tree.c (item_key_press): Added '=' and '-' as tree node expand and collapse svn path=/trunk/; revision=8923
* Rather than starting the pending query by directly callingJon Trowbridge2001-03-252-8/+42
| | | | | | | | | | | | | 2001-03-25 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_seq_complete_cb): Rather than starting the pending query by directly calling e_select_names_completion_do_query, call e_completion_begin_search. Circumventing the ECompletion API was causing it to get confused in some cases. svn path=/trunk/; revision=8922
* Default to iso-8859-1 as the user's charset here if it is undefined. ThisJeffrey Stedfast2001-03-252-1/+7
| | | | | | | | | | 2001-03-24 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Default to iso-8859-1 as the user's charset here if it is undefined. This is a better choice than us-ascii. svn path=/trunk/; revision=8921
* Do charset conversion on the username param here if needed.Jeffrey Stedfast2001-03-252-4/+49
| | | | | | | | | | | 2001-03-24 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-digest-md5.c (digest_response): Do charset conversion on the username param here if needed. (parse_server_challenge): Protect against possibly empty-string charset values. svn path=/trunk/; revision=8920
* Properly remove old items from the ETableExtras if they are replaced byChristopher James Lahey2001-03-241-0/+3
| | | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c: Properly remove old items from the ETableExtras if they are replaced by new objects. svn path=/trunk/; revision=8919
* Made this only up the insert_count if it actually had to do any nonChristopher James Lahey2001-03-241-3/+4
| | | | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (reposition_path): Made this only up the insert_count if it actually had to do any non constant work to reposition the path. svn path=/trunk/; revision=8918
* Ignore these signals if we aren't realized yet.Christopher James Lahey2001-03-231-4/+19
| | | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_change, eti_cursor_activated): Ignore these signals if we aren't realized yet. svn path=/trunk/; revision=8917
* Added. Call me old-fashioned, but I just prefer to have a real API ratherJon Trowbridge2001-03-2320-72/+755
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-23 Jon Trowbridge <trow@ximian.com> * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card): Added. Call me old-fashioned, but I just prefer to have a real API rather than doing everything via gtk_object_get/set-type calls. (e_minicard_widget_set_arg): Changed to call e_minicard_widget_set_card. * backend/ebook/e-book-util.c: Small changes to get rid of compiler warnings. (Casting out const, removed unused variables, etc.) Removed some debugging messages. * gui/component/addressbook-factory.c (main): Added call to e_address_popup_factory_init. * gui/component/e-address-popup.c: Added. A popup gadget that is invoked (as a bonobo control) when an address is left-clicked in the mailer. The addressbook is queries, and the address is either displayed as a minicard (if it already exists) or in a "generic format". A button is provided for editting/adding the contact. Some of the semantics of this widget are a bit... non-standard, because of bonobo issues. I can't really seem to replicate popup-menu behavior because of how bonobo propogates events, etc. so I've tried to produce something that I think is non-annoying. YMMV. 2001-03-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (handle_embedded_address_object): #ifdef away some code I don't quite want to delete yet. (html_button_press_event): Remove some of Radek's placeholder code, replace it with code to create my AddressPopup bonobo control. * mail-format.c: Remove some obsolete code that if #ifdef-ed out a while ago. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity header when sending. 2001-03-23 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Don't call camel_mime_message_set_identity. (The call is commented out, left over from some earlier experimentation that I want to be able to remember later...) * camel-mime-message.c (camel_mime_message_set_identity): Added. A function to set the X-Evolution-Identity header. svn path=/trunk/; revision=8916
* Made this not create the new font until realize instead of at new_viewChristopher James Lahey2001-03-232-15/+28
| | | | | | | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Made this not create the new font until realize instead of at new_view time. * e-table-item.c: Don't request heights or do other things that you aren't allowed to do before realization unless you're realized. svn path=/trunk/; revision=8915
* Turned on BROKEN_ETREE.Christopher James Lahey2001-03-232-1/+5
| | | | | | | | 2001-03-23 Christopher James Lahey <clahey@ximian.com> * message-list.c: Turned on BROKEN_ETREE. svn path=/trunk/; revision=8914
* Refactor ELocalStorage a bit so that it's easier to implement theEttore Perazzoli2001-03-232-192/+206
| | | | | | missing operations. svn path=/trunk/; revision=8913
* Fix some warnings, Allow the importers to import into any folder. UpdateIain Holmes2001-03-2317-43/+152
| | | | | | | | | | Fix some warnings, Allow the importers to import into any folder. Update all importers for this change. Don't emit the create_folder callback if the folder to be created already exists. This should fix the libibex crash when importing. svn path=/trunk/; revision=8912
* update by ChiDeok, Hwang <hwang@mizi.co.kr>Nam SungHyun2001-03-231-1050/+1026
| | | | svn path=/trunk/; revision=8911
* Oops, an unspecified date is '0', not -1.Jeffrey Stedfast2001-03-232-1/+6
| | | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * filter-datespec.c (validate): Oops, an unspecified date is '0', not -1. svn path=/trunk/; revision=8910
* Validate the filter rule.Jeffrey Stedfast2001-03-232-1/+8
| | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Validate the filter rule. svn path=/trunk/; revision=8909
* New callback to handle a double-click event in the account clist.Jeffrey Stedfast2001-03-233-19/+32
| | | | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_double_click): New callback to handle a double-click event in the account clist. (construct): Setup the double-click event for the account list. svn path=/trunk/; revision=8908
* (update_active): move to absolute coordinatesRadek Doulik2001-03-232-6/+12
| | | | | | (html_button_press_event): ditto svn path=/trunk/; revision=8907
* Change the From address to "The Evolution Team" <evolve@ximian.com> soDan Winship2001-03-232-2/+7
| | | | | | | * local/Inbox/mbox: Change the From address to "The Evolution Team" <evolve@ximian.com> so that we get spammed instead of hello@ svn path=/trunk/; revision=8906
* Don't look at untagged responses other than "* BYE"...Dan Winship2001-03-235-85/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | * providers/imap/camel-imap-command.c (imap_read_response): Don't look at untagged responses other than "* BYE"... (camel_imap_response_free): ...do it here instead... (camel_imap_response_free_without_processing): ...but not here. * providers/imap/camel-imap-folder.c (camel_imap_folder_selected): Remove the "EXISTS" line from the response so camel_imap_response_free won't try to process it. (camel_imap_folder_selected): If we get an EXISTS response mixed in with the FETCH responses, record the new EXISTS value. Use camel_imap_response_free_without_processing so that an EXISTS response won't cause a loop. (imap_rescan): Use camel_imap_response_free_without_processing. (imap_update_summary): Use camel_imap_response_free_without_processing. If an EXISTS response shows up, call imap_update_summary again to get the new messages. (imap_protocol_get_summary_specifier): Use BODY.PEEK[0], not RFC822.HEADER for prev IMAP4rev1, since the FETCH parser won't deal with RFC822.HEADER responses. * providers/imap/camel-imap-store.c (get_folder_info): Fix an uninitialized variable svn path=/trunk/; revision=8905
* Leak plug: free the target list after starting the drag.Ettore Perazzoli2001-03-232-2/+7
| | | | svn path=/trunk/; revision=8904
* Fix the signature of a callback for the `e_storage_set_async_create()'Ettore Perazzoli2001-03-232-1/+8
| | | | | | call to match the changes in the API. svn path=/trunk/; revision=8903
* (html_enter_notify_event): take care of enter eventRadek Doulik2001-03-232-13/+37
| | | | | | | (update_active): helper function, extracted from html_motion_notify_event svn path=/trunk/; revision=8902
* Change \" to ' in translations for .oaf files, since various bugs conspireDan Winship2001-03-232-16/+22
| | | | | | | | * az.po: Change \" to ' in translations for .oaf files, since various bugs conspire to prevent double quotes from working there currently. svn path=/trunk/; revision=8901
* (html_motion_notify_event): new handler, highlights addresses byRadek Doulik2001-03-233-0/+53
| | | | | | underline svn path=/trunk/; revision=8900
* Updated Japanese translation.Akira Tagoh2001-03-232-1680/+2004
| | | | | | * ja.po: Updated Japanese translation. svn path=/trunk/; revision=8899
* Update xml-i18n-tools versionDan Winship2001-03-232-1/+6
| | | | | | * README: Update xml-i18n-tools version svn path=/trunk/; revision=8898
* added simple debug g_printRadek Doulik2001-03-231-0/+1
| | | | svn path=/trunk/; revision=8897
* connect to button_press_event and iframe_created events of GtkHTML widgetRadek Doulik2001-03-233-9/+145
| | | | | | | | | | | | | | | | | | | | 2001-03-22 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_new): connect to button_press_event and iframe_created events of GtkHTML widget (html_button_press_event): new signal handler, runs popup on address fields and on links, later we should add popups for images and maybe some more? any ideas? (html_iframe_created): new signal handler, takes care of connecting to button_press_event of all iframes : plus bunch of empty methods for popup menu items - to be implemented * mail-format.c (write_address): revert back to raw HTML text, store name and email to Text objects, workaround gtkhtml tables bug (to be fixed soon ;-) svn path=/trunk/; revision=8896
* Changed the EStorageSet API to have a single `xfer()' method insteadEttore Perazzoli2001-03-225-98/+164
| | | | | | | | | | | | of separate copy/move (as in the IDL). Actually implement the `xfer()' operation for the case when source and destination are in the same storage. Fix the `EStorageSet' API by having a special `EStorageSetResultCallback' callback type for it (instead of using `EStorageResultCallback', which would never work). Also, removed some unused variables in `e-storage-set-view.c'. svn path=/trunk/; revision=8895
* Added an xfer method to `EStorage' and `GNOME::Evolution::Storage'.Ettore Perazzoli2001-03-225-17/+99
| | | | svn path=/trunk/; revision=8894
* new menu iconsJakub Steiner2001-03-226-0/+413
| | | | svn path=/trunk/; revision=8893
* fixing checkerboardJakub Steiner2001-03-222-0/+4
| | | | svn path=/trunk/; revision=8892
* small positioning fixJakub Steiner2001-03-221-0/+0
| | | | svn path=/trunk/; revision=8891
* More DnD work. Now we handle copying and moving of folders, althoughEttore Perazzoli2001-03-224-59/+228
| | | | | | | | | the hooks to actually make the physical operation happen are missing. Also, fix a stupid cut & paste error in Chris' commit (and re-indent the code a bit to make it match the surrounding style). svn path=/trunk/; revision=8890
* Fixed the g_return_if_fail here to allow for appending.Christopher James Lahey2001-03-221-1/+1
| | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory.c (e_table_memory_insert): Fixed the g_return_if_fail here to allow for appending. svn path=/trunk/; revision=8889
* Make `ETableSortInfo' non-floating and use _unref, not _destroy, toEttore Perazzoli2001-03-222-1/+3
| | | | | | get rid of the ETableSortInfo in ETableState's destroy method. svn path=/trunk/; revision=8888
* Fixed the parity on all the g_return_ifs and g_return_val_ifs.Christopher James Lahey2001-03-221-8/+8
| | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory.c: Fixed the parity on all the g_return_ifs and g_return_val_ifs. svn path=/trunk/; revision=8887
* Made this able to take -1 to denote appending to the table. Also, removedChristopher James Lahey2001-03-222-23/+48
| | | | | | | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory.c, e-table-memory.h (e_table_memory_insert): Made this able to take -1 to denote appending to the table. Also, removed the node_ from the name of this function. (e_table_memory_remove): Removed the node_ from the name of this function. (e_table_memory_clear): New function which sets the table to empty. svn path=/trunk/; revision=8886
* Bumped gal requirement to 0.5.99.11.Christopher James Lahey2001-03-222-3/+7
| | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped gal requirement to 0.5.99.11. svn path=/trunk/; revision=8885
* renaming icons to make Miguel's speedups possibleJakub Steiner2001-03-2233-22/+42
| | | | svn path=/trunk/; revision=8884
* Changed get_save_id to just return a strdup of the path. (new_storage_cb,Christopher James Lahey2001-03-222-23/+40
| | | | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Changed get_save_id to just return a strdup of the path. (new_storage_cb, new_folder_cb, insert_folders, insert_storages): Call e_tree_memory_sort_node. svn path=/trunk/; revision=8883
* Changed this to derefence the pointers passed in from qsort as we shouldChristopher James Lahey2001-03-221-2/+7
| | | | | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (sort_callback): Changed this to derefence the pointers passed in from qsort as we should instead of just casting them. (e_tree_memory_sort_node): Set the first_child and last_child of the node changed. svn path=/trunk/; revision=8882
* New function to allow you to do non live sorts with weird rules.Christopher James Lahey2001-03-222-12/+102
| | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-memory.h (e_tree_memory_sort_node): New function to allow you to do non live sorts with weird rules. svn path=/trunk/; revision=8881
* Don't fail at setting up all the toolbar icons if just one of theEttore Perazzoli2001-03-222-6/+8
| | | | | | icons cannot be loaded. svn path=/trunk/; revision=8880
* Validate the rule before closing.Jeffrey Stedfast2001-03-224-13/+24
| | | | | | | | | 2001-03-21 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (new_rule_clicked): Validate the rule before closing. svn path=/trunk/; revision=8879
* Updated Spanish translation.Hector Garcia2001-03-224-4/+562
| | | | svn path=/trunk/; revision=8878
* Require bison, not yacc (for vcc.y)Dan Winship2001-03-222-0/+9
| | | | | | * configure.in: Require bison, not yacc (for vcc.y) svn path=/trunk/; revision=8877
* add wombat-moniker.h as a source so it gets distedJP Rosevear2001-03-222-0/+5
| | | | | | | | 2001-03-21 JP Rosevear <jpr@ximian.com> * Makefile.am: add wombat-moniker.h as a source so it gets disted svn path=/trunk/; revision=8876
* Updated Spanish translation.Hector Garcia2001-03-222-810/+799
| | | | svn path=/trunk/; revision=8875
* Fix a bug in (illegal) 0-part messagesDan Winship2001-03-221-0/+3
| | | | | | | | | * mail-format.c (handle_multipart_related): Fix a bug in (illegal) 0-part messages (the actual fix accidentally got into my last commit) svn path=/trunk/; revision=8874
* Use the new URL part macrosDan Winship2001-03-225-26/+39
| | | | | | | | | | | | * mail-config-druid.c (incoming_check, incoming_type_changed, transport_check, transport_type_changed): * mail-account-editor.c (transport_type_changed, source_check): Use the new URL part macros * mail-config.c (check_service_check): Use provider authtype list if not connecting. svn path=/trunk/; revision=8873
* add a "GList *authtypes", so you can get the list of authtypes used by aDan Winship2001-03-2215-282/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h: (CamelProvider) add a "GList *authtypes", so you can get the list of authtypes used by a provider without needing to have an actual CamelService object handy. (Will be needed by the new config druid.) (CAMEL_PROVIDER_ALLOWS, CAMEL_PROVIDER_NEEDS): New macros to test the URL part stuff, since the way it works is too complicated and everyone always does it wrong. * camel-service.c (camel_service_query_auth_types): Remove the @connected arg again: if you don't want to connect, you can just get the list of authtypes off the provider. (camel_service_free_auth_types): Remove this. All existing implementations do authtypes the same way, so just say the caller should "g_list_free" the list. (Oh, look, removing this function doesn't actually cause the mailer to not build. How 'bout that.) (construct, get_path): Use the new URL part macros. * camel-remote-store.c (remote_query_auth_types): Update (remote_free_auth_types): Nuke (camel_remote_store_authtype_list): New function for use by subclasses. * providers/imap/camel-imap-provider.c: * providers/pop3/camel-pop3-provider.c: * providers/smtp/camel-smtp-provider.c: Update CamelProvider structures. (camel_provider_module_init): Put all the SSL parts together so there's only 1 #ifdef. Set up the provider authtypes field using the SASL, CamelRemoteStore, and standard authtypes, as appropriate. Copy that from the normal provider to the SSL provider. * providers/local/camel-local-provider.c: * providers/sendmail/camel-sendmail-provider.c: * camel-session.c: Update CamelProvider structures. * providers/imap/camel-imap-store.c (query_auth_types): * providers/pop3/camel-pop3-store.c (query_auth_types): Update * providers/smtp/camel-smtp-store.c (query_auth_types): Update. Remove the no_authtype, because that's what "ALLOW_AUTH" rather than "NEED_AUTH" means. (free_auth_types): Nuke. svn path=/trunk/; revision=8872
* Return -1 on fail. (camel_filter_driver_filter_folder): Same.Jeffrey Stedfast2001-03-226-30/+63
| | | | | | | | | | | | | | | | | | | | 2001-03-21 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Return -1 on fail. (camel_filter_driver_filter_folder): Same. (camel_filter_driver_filter_mbox): Same. (camel_filter_driver_filter_folder): Return -1 if an exception was set as well. 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_finalize): Free the expected host. (camel_tcp_stream_openssl_new): Now takes a Service and an expected_host. Set them. svn path=/trunk/; revision=8871
* Updated Azeri filePablo Saratxaga2001-03-222-1609/+1489
| | | | svn path=/trunk/; revision=8870
* Added all the new icons to the distribution.Miguel de Icaza2001-03-221-0/+5
| | | | | | | | | 2001-03-20 Miguel de Icaza <miguel@ximian.com> * art/Makefile.am (images_DATA): Added all the new icons to the distribution. svn path=/trunk/; revision=8869
* OopsMiguel de Icaza2001-03-221-1/+7
| | | | svn path=/trunk/; revision=8868
* Make `ETableState' a non-`GTK_FLOATING' object. Otherwise theEttore Perazzoli2001-03-211-0/+4
| | | | | | | reference counts are messed up, and a segfault occurs when destroying the ETable widget. svn path=/trunk/; revision=8867
* initialise the moniker factoryDietmar Maurer2001-03-216-1/+146
| | | | | | | | | | | | | 2001-03-21 Dietmar Maurer <dietmar@ximian.com> * wombat.c (setup_config): initialise the moniker factory * GNOME_Evolution_Wombat.oaf.in: added the necessary entries for the wombat moniker. * wombat-moniker.[ch]: wombat is now a moniker svn path=/trunk/; revision=8866
* Fix a stupid g_warning caused by calling EStorageSet functions on aEttore Perazzoli2001-03-212-8/+16
| | | | | | NULL pointer. svn path=/trunk/; revision=8865
* s/helixcode\.com/ximian.com/ and update all the copyrights in the IDLEttore Perazzoli2001-03-218-16/+16
| | | | | | files. svn path=/trunk/; revision=8864
* Update description of the file and my email address in it.Ettore Perazzoli2001-03-211-2/+3
| | | | svn path=/trunk/; revision=8863
* StudlyCapsify struct members to match the new IDL naming standards.Ettore Perazzoli2001-03-213-14/+20
| | | | svn path=/trunk/; revision=8862
* Handle the destination side of drag and drop too.Ettore Perazzoli2001-03-213-18/+165
| | | | svn path=/trunk/; revision=8861
* Rename "Send and Receive" to "Send / Receive".Ettore Perazzoli2001-03-212-2/+7
| | | | svn path=/trunk/; revision=8860
* Added new icons.Miguel de Icaza2001-03-218-26/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-20 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Added new icons. 2001-03-18 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Remove duplicated verb. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * gui/component/addressbook.c (update_pixmaps): Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * evolution-addressbook.xml: Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * art/Makefile.am (images_DATA): Added all the new icons to the distribution. svn path=/trunk/; revision=8859
* Set the editor dialog modal rather than setting the filter dialogJeffrey Stedfast2001-03-212-118/+130
| | | | | | | | | | | | | | | | | 2001-03-20 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set the editor dialog modal rather than setting the filter dialog insensitive. Also ref re->edit since we unref it when the editor closes. This should fix bug #1905. (edit_editor_clicked): No need to set the filter dialog sensitive again. (rule_add): Set the add-rule dialog modal and don't set the filter dialog insensitive. (add_editor_clicked): No need to set the filter dialog sensitive again. svn path=/trunk/; revision=8858
* Added these classes.Christopher James Lahey2001-03-214-0/+641
| | | | | | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * e-table-memory-callbacks.c, e-table-memory-callbacks.h, e-table-memory.c, e-table-memory.h: Added these classes. * Makefile.am: Added e-table-memory-callbacks.c, e-table-memory-callbacks.h, e-table-memory.c, and e-table-memory.h. svn path=/trunk/; revision=8857
* More fixes for NSPR and NSS checks - use fixed it to use AC_CHECK_HEADERSJeffrey Stedfast2001-03-212-13/+31
| | | | | | | | | | | 2001-03-20 Jeffrey Stedfast <fejj@ximian.com> * configure.in: More fixes for NSPR and NSS checks - use fixed it to use AC_CHECK_HEADERS instead of AC_CHECK_FILES. Also made it not default the nspr lib path to /usr/lib/mozilla which may not be in the user's library path when checking for nspr libs. svn path=/trunk/; revision=8856
* color coded app icons and some new icons. also a new splash (probably to be ↵Jakub Steiner2001-03-2114-0/+260
| | | | | | replaced in seconds by tigert's ;) svn path=/trunk/; revision=8855
* Step the parser so it imports more than one message.Iain Holmes2001-03-212-0/+25
| | | | svn path=/trunk/; revision=8854
* extra dist the oaf filesJP Rosevear2001-03-212-0/+6
| | | | | | | | 2001-03-20 JP Rosevear <jpr@ximian.com> * importers/Makefile.am: extra dist the oaf files svn path=/trunk/; revision=8853
* Fixed a typo in the word horiztonal.Christopher James Lahey2001-03-211-1/+1
| | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * e-table.c: Fixed a typo in the word horiztonal. svn path=/trunk/; revision=8852
* Function to check if the store is online and set an exception if not.Dan Winship2001-03-219-190/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * providers/imap/camel-imap-store.c (camel_imap_store_check_online): Function to check if the store is online and set an exception if not. Currently controlled by an environment variable, but eventually there will be both a global (session-level) setting and a per-store setting. (construct): Set up storage_path and base_url here rather than at connect-time. (imap_auth_loop): Split out from imap_connect. (imap_setup_online): Split out from imap_connect. Do the post-authentication connection setup, and cache the results to disk. (imap_setup_offline): Set up a CamelImapStore with information saved from a previous imap_setup_online. (imap_connect): If online, do connect_to_server(), imap_auth_loop(), and imap_setup_online(). Otherwise, do imap_setup_offline(). (get_folder, get_folder_info): Add offline support. (create_folder, subscribe_folder, unsubscribe_folder): Disable these when offline (for now). * providers/imap/camel-imap-folder.c (camel_imap_folder_new): Remove the sync'ing-with-server stuff... it's done by camel_imap_folder_selected now, which only gets called if the store is online. (camel_imap_folder_selected): add the code removed from camel_imap_folder_new. Besides simplifying the folder_new and summary_new code, this also means now that we'll DTRT if a folder's UIDVALIDITY changes while we're connected. Also, when that happens, clear the message cache explicitly. (imap_refresh_info, imap_sync): These are no-ops when offline. (imap_expunge, imap_append_message, imap_copy_message_to, imap_search_by_expression): These don't yet work offline. (imap_get_message, camel_imap_folder_fetch_data): Return an error when trying to fetch a non-cached body part when we're offline. * providers/imap/camel-imap-summary.c (camel_imap_summary_new): Rewrite to not check the validity here. (We'll do it from camel_imap_folder_selected instead.) * providers/imap/camel-imap-command.c (camel_imap_command): Call camel_imap_folder_selected even when the selection is all we're doing, to match the changes in camel-imap-folder.c. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_clear): New function to clear out a message cache. svn path=/trunk/; revision=8851
* Updated Norwegian (bokmål) translation.Kjartan Maraas2001-03-212-827/+898
| | | | | | | | 2001-03-20 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=8850
* set default text colorRadek Doulik2001-03-212-0/+5
| | | | | | | | 2001-03-19 Radek Doulik <rodo@ximian.com> * listener.c (reply_indent): set default text color svn path=/trunk/; revision=8849
* set color in html citationRadek Doulik2001-03-218-15/+184
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * mail-tools.c (mail_tool_quote_message): set color in html citation * mail-config.c: added citation highlighting configuration * mail-tools.c (mail_tool_quote_message): use citation highlighting * mail-display.c (mail_text_write): use citation highlighting svn path=/trunk/; revision=8848
* new function, extracted from e_text_to_html, added color parameterRadek Doulik2001-03-213-3/+66
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html_full): new function, extracted from e_text_to_html, added color parameter 2001-03-19 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html): support mark citation * e-html-utils.h (E_TEXT_TO_HTML_MARK_CITATION): added E_TEXT_TO_HTML_MARK_CITATION svn path=/trunk/; revision=8847
* Bumped the version number to 05.99.9.Christopher James Lahey2001-03-2114-48/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 05.99.9. From gal/e-table/ChangeLog: 2001-03-20 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c: Turn on the vertical grid. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c, e-table-item.h: Replaced the "drawgrid" argument with "horizontal_draw_grid" and "vertical_draw_grid" arguments. * e-table-specification.c, e-table-specifcation: Replaced the draw_grid setting with the horizontal_draw_grid and vertical_draw_grid settings. If the draw-grid property is set in a ETableSpecification it is still obeyed and overrides the vertical-draw-grid and horizontal-draw-grid properties. * e-table.c, e-table.h, e-tree.c, e-tree.h: Deal with the horizontal_draw_grid and vertical_draw_grid changes. * e-tree-model.h: Added a missing include. svn path=/trunk/; revision=8846
* make sure intelligent.h gets distedJP Rosevear2001-03-202-0/+5
| | | | | | | | 2001-03-20 JP Rosevear <jpr@ximian.com> * importer/Makefile.am: make sure intelligent.h gets disted svn path=/trunk/; revision=8845
* Made this check if the control mask is set.Christopher James Lahey2001-03-202-1/+6
| | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * folder-browser.c (etree_key): Made this check if the control mask is set. svn path=/trunk/; revision=8844
* Fixed the GTK_RETLOC calls for these marshallers.Christopher James Lahey2001-03-201-2/+2
| | | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c (e_marshal_INT__INT_POINTER_INT_POINTER, e_marshal_BOOL__INT_POINTER_INT_POINTER_INT_INT_INT): Fixed the GTK_RETLOC calls for these marshallers. svn path=/trunk/; revision=8843
* Fix ettore's fix ;-)Jeffrey Stedfast2001-03-202-2/+6
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Fix ettore's fix ;-) svn path=/trunk/; revision=8842
* Remove the node before freeing the data it points to.Christopher James Lahey2001-03-202-5/+10
| | | | | | | | | 2001-03-20 Christopher James Lahey <clahey@ximian.com> * message-list.c (remove_node_diff, build_flat_diff): Remove the node before freeing the data it points to. svn path=/trunk/; revision=8841
* Upped the version number to 0.5.99.4.Christopher James Lahey2001-03-206-124/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Upped the version number to 0.5.99.4. * Merged branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added another semi-private function (e_selection_model_change_cursor.) 2001-03-18 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added a couple of semi-private functions (e_selection_model_change_one_row and e_selection_model_confirm_row_count.) 2001-03-18 Christopher James Lahey <clahey@ximian.com> * tests/test-tree-1.c, tests/test-tree-3.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c (e_sort): Switched to just using qsort directly here. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_bsearch, e_sort): Added e_sort and e_bsearch. They both take a closure. e_sort guarantees a stable sort. e_bsearch returns the range of matching elements including the position where an object would be if there are no matching elements. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-tree-sorted.lo. 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h: Replaced the methods insert_row and delete_row with insert_rows and delete_rows. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Replaced the methods insert_row and delete_row with insert_rows and delete_rows. 2001-03-08 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table/e-table-utils.lo, e-table/e-tree-memory-callbacks.lo, e-table/e-tree-memory.lo, e-table/e-tree-scrolled.lo, e-table/e-tree-table-adapter.lo, and e-table/e-tree.lo. Removed e-table/e-tree-simple.lo. * gal/util/e-util.c, gal/util/e-util.h: Added a whole bunch of e_marshal functions for ETree. * tests/test-tree-1.c, tests/test-tree-3.c: Reworked these to use the new tree stuff. End of branch svn path=/trunk/; revision=8840
* Bumped gal requirement to 0.5.99.8.Christopher James Lahey2001-03-2016-508/+635
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped gal requirement to 0.5.99.8. From addressbook/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged branch: 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c: Call e_selection_model_simple_insert_rows and e_selection_model_simple_delete_rows instead of e_selection_model_simple_insert_row and e_selection_model_simple_delete_row. End of branch From mail/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added has_save_id and get_save_id methods. * subscribe-dialog.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added a call to e_tree_memory_set_expanded_default to TRUE. Removed all calls to set_expanded on nodes while the tree is frozen since this fails miserably now. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_get_layout): Turned off draw-grid. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * folder-browser-factory.c, folder-browser.c, message-list.c, message-list.h, subscribe-dialog.c, subscribe-dialog.h, mail-callbacks.c: Converted these all to use ETree instead of ETable. End of branch From shell/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Made "root" detection deal properly with removed nodes. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Added some unused code to implement saving of the expanded state. * e-storage-set-view.c: Added has_save_id and get_save_id methods. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c, e-storage-set-view.h: Chaned this to use ETree instead of ETable. End of branch svn path=/trunk/; revision=8839
* Added $(EXTRA_GNOME_CFLAGS)Christopher James Lahey2001-03-202-0/+5
| | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(EXTRA_GNOME_CFLAGS) svn path=/trunk/; revision=8838
* Deal with proxy_node_changed being called on a different root node thanChristopher James Lahey2001-03-2036-2461/+7007
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_changed): Deal with proxy_node_changed being called on a different root node than the one we have in our tree. * e-tree-table-adapter.c: Did some general clean up here. * Merged branch: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (find_child_path): Added this function to allow us to find paths that have been removed from the source. (ets_proxy_node_removed): Fixed the memmove here a bit. Call find_child_path. * e-tree-table-adapter.c (find_node): Check that the passed in path isn't NULL. 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_reflow): Get width from header object instead of calculating it ourselves. * e-table-selection-model.c: Turn off selection saving since it's so slow. * e-table.c (e_table_set_state_object): Set the width of the newly created header object. * e-tree.c (e_tree_set_state_object): Set the width of the newly created header object. (tree_canvas_size_allocate): Don't bother setting the dimensions of the white background twice. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c, e-table-selection-model.h: Made ETableSelectionModel save the cursor properly across changed signals if has_save_id is true. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c, e-table-selection-model.h: Made ETableSelectionModel save selection properly across changed signals if has_save_id is true. * e-tree-memory.c: A couple of typos. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-sorted.c: Send pre_changes properly. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c: Send pre_changes when performing set_expanded or root_node_set_visible. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_is_expandable): When the API requests whether the object is expandable and it isn't, make sure to send a signal when it becomes expandable. * e-tree-table-adapter.c: Made it so that in a number of cases where it doesn't need to create an empty hash table node if the current tree node has no children, it doesn't. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-tree-memory-callbacks.c, e-tree-memory-callbacks.h (etmc_has_save_id, etmc_get_save_id): Added has_save_id and get_save_id to the list of methods supported by e_tree_memory_callbacks. * e-tree-table-adapter.c, e-tree-table-adapter.h: Added saving of expanded nodes. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-table-model.c, e-table-model.h (e_table_model_get_save_id): Changed row_save_id to get_save_id to be consistent with ETree. * e-tree-model.c, e-tree-model.h: Added "pre_change" signal. Added has_save_id and get_save_id methods. * e-tree-sorted.c: Proxy pre_change signal. Implemented has_save_id and get_save_id. If the base model doesn't provide has_save_id then we g_strdup_printf the pointer of the base model ETreePath as the save_id. * e-tree-table-adapter.c: Proxy pre_change signal. If base model has_save_id, then use the results of get_save_id as the key for the hash table of node attributes. Otherwise use the pointer as before. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_sort_idle): Fixed it so that all nodes get sorted properly instead of just the top node. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * e-table-sorting-utils.c (e_table_sorting_utils_tree_sort): Made tree sorting faster by using a cache. * e-tree-sorted.c: Added commented out debugging g_prints. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c: Switched to using GMemChunks. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (resort_node): Made it so that children of a node that's being sorted don't send changed signals. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * e-table-sorting-utils.c, e-table-sorting-utils.h: Switched to using e_sort and e_search instead of qsort and a linear search. Added the tree functions e_table_sorting_utils_tree_sort, e_table_sorting_utils_tree_check_position, and e_table_sorting_utils_tree_insert. * e-tree-sorted.c: Made this actually do sorting. * e-tree-table-adapter.c (etta_proxy_node_changed): The old_size needs to be the number of visible children + 1 to include the top node. * e-tree.c (e_tree_set_state_object): Set the sort_info on the ETreeSorted when you get a new sort_info. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-tree-sorted.c and e-tree-sorted.h. * e-table-item.c (eti_realize_cell_views): Only realize the cells if they're not realized already and if the canvas is realized. * e-table-sorted.c (ets_proxy_model_cell_changed): Matched the change to the signature of e_table_sorting_utils_affects_sort. * e-table-sorting-utils.c, e-table-sorting-utils.h (e_table_sorting_utils_affects_sort): Changed the signature of this function to not take the ETableModel source since it doesn't use it and we need to use this function for ETreeSorted which doesn't have an ETableModel. * e-tree-memory.c (etmm_get_expanded_default): Actually implement the get_expanded_default for this tree. * e-tree-model.h: Cleaned up the indentation here. * e-tree-sorted.c, e-tree-sorted.h: New class meant to be used for sorting trees. It doesn't actually sort yet. It simply acts as an ETreeProxy which is the hardest part of making ETreeSorted. * e-tree.c, e-tree.h: Made this use an ETreeSorted. 2001-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h, e-table-selection-model.c, e-table-selection-model.h, e-table-sorted.c, e-table-sorted.h, e-table-subset.c, e-table-subset.h, e-table.c, e-table.h: Switch to handling e_table_model_rows_inserted instead of e_table_model_row_inserted and e_table_model_rows_deleted instead of e_table_model_row_deleted. * e-table-model.c, e-table-model.h: Replaced the signals "model_row_inserted" and "model_row_deleted" with "model_rows_inserted" and "model_rows_deleted" so that when multiple rows are inserted or deleted at the same time they can be handled properly. * e-tree-table-adapter.c: Call "model_rows_inserted" and "model_rows_deleted" instead of "model_changed" when inserting or deleting multiple rows. 2001-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (e_table_item_row_diff): Made this not count the pixel between rows if it isn't there. 2001-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_header_structure_changed): Properly attach & realize cell views here. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (etta_proxy_node_removed): Check that parent_node and parent aren't NULL before making function calls on them. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (confirm_height_cache): Fixed a height cache miscalculation. * e-tree-table-adapter.c (find_first_child_node): Made the semantics of this mean that find_first_child_node(adapter, -1) means return the first node in the tree. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c: Added a "string-integer" comparison function to the default %ETableExtras so you can do comparisons based on integer value even if you using strings for the data (this lets you do editable numbers, for instance.) * e-table-item.c: Rearranged it a bit so that if you have draw_grid off it doesn't add space for the horizontal lines, nor leave them the background color. * e-table-model.c, e-table-model.h: Added the row_save_id and has_save_id methods to %ETableModel. * e-tree.c, e-tree.h: Replaced e_tree_compute_location with e_tree_get_cell_at. 2001-03-08 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table/e-table-utils.c, e-table/e-tree-memory-callbacks.c, e-table/e-tree-memory.c, e-table/e-tree-scrolled.c, e-table/e-tree-table-adapter.c, and e-table/e-tree.c. Removed e-table/e-tree-simple.c. Added e-table/e-table-utils.h, e-table/e-tree-memory-callbacks.h, e-table/e-tree-memory.h, e-table/e-tree-scrolled.h, e-table/e-tree-table-adapter.h, and e-table/e-tree.h. Removed e-table/e-tree-simple.h. * e-cell-tree.c: Updated this for the new tree. * e-table-item.c: Added some redraw requests where appropriate. * e-table-item.h: Fixed an incorrect class method declaration. * e-table-model.c, e-table-model.h: Removed e_table_model_has_sort_group and e_table_model_row_sort_group. * e-table-scrolled.h: Removed unused headers. * e-table-simple.c, e-table-simple.h: Rearranged this a bit. * e-table-sorter.c, e-table-sorting-utils.c, e-table-sorting-utils.h: Removed sort group stuff. Added the function e_table_sorting_utils_check_position. * e-table-utils.c, e-table-utils.h: Utility functions for ETable and ETree. * e-table.c: Moved some of the functionality from here to e-table-utils.c so that it can be reused by ETree. * e-tree-memory-callbacks.c, e-tree-memory-callbacks.h: Class to implement an ETreeMemory as callbacks instead of overriding the class. * e-tree-memory.c, e-tree-memory.h: ETreeModel that stores a tree of physical nodes. * e-tree-model.c, e-tree-model.h: Removed most of the functionality from here to the classes ETreeMemory and ETreeTableAdapter. This is now just a simple virtualized tree class. * e-tree-scrolled.c, e-tree-scrolled.h: New class. An ETree in an EScrollFrame. * e-tree-simple.c: Small change. This is no longer used. * e-tree-table-adapter.c, e-tree-table-adapter.h: ETableModel that represents an ETreeModel as a table. * e-tree.c, e-tree.h: New super class kind of like ETable but for trees. End of branch svn path=/trunk/; revision=8837
* Added a simple FIXME comment about possibly using theEttore Perazzoli2001-03-201-0/+3
| | | | | | | EvolutionShellComponentShell API for querying the SourceFolder DnD interface. svn path=/trunk/; revision=8836
* Added calls to the `EvolutionShellComponentClient' API to query theEttore Perazzoli2001-03-203-4/+109
| | | | | | DnD interfaces with caching. svn path=/trunk/; revision=8835
* Changes to the netscape importer for streamlining it and not creating silly ↵Iain Holmes2001-03-201-41/+40
| | | | | | folders svn path=/trunk/; revision=8834
* Elm and Pine importersIain Holmes2001-03-206-2/+867
| | | | | | | Pine compiles and is tested Elm is not compiled yet, as I have not tested it. svn path=/trunk/; revision=8833
* Removed gnome.h and ctype.h (send_queue_send): Don't remove theJeffrey Stedfast2001-03-202-19/+26
| | | | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c: Removed gnome.h and ctype.h (send_queue_send): Don't remove the X-Evolution header here. (mail_send_message): Remove it here instead (so we only have to remove it in one place - no matter if you send a single message or send_queue. svn path=/trunk/; revision=8832
* Write the date header.Jeffrey Stedfast2001-03-202-2/+23
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Write the date header. svn path=/trunk/; revision=8829
* Call unref_standard_folders() here instead.Jeffrey Stedfast2001-03-202-2/+5
| | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_unset_cb): Call unref_standard_folders() here instead. svn path=/trunk/; revision=8827
* Sigh. Fix a few really stupid crashes in EStorageSetView.Ettore Perazzoli2001-03-202-17/+26
| | | | svn path=/trunk/; revision=8826
* Use the new DnD interfaces on the source side of DnD actions.Ettore Perazzoli2001-03-203-37/+249
| | | | svn path=/trunk/; revision=8825
* Make sure we never define `NSPR_CFLAGS' or `NSS_CFLAGS' as just "-I".Ettore Perazzoli2001-03-202-4/+9
| | | | | | | | | 2001-03-19 Ettore Perazzoli <ettore@ximian.com> * configure.in: Make sure we never define `NSPR_CFLAGS' or `NSS_CFLAGS' as just "-I". svn path=/trunk/; revision=8824
* use gnome_dialog_run() to make the warning dialog modal. Also created aDamon Chaplin2001-03-192-38/+37
| | | | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_show_time_invalid_warning): use gnome_dialog_run() to make the warning dialog modal. Also created a better warning message showing the format expected. Also used e_time_format_time() to format all times. svn path=/trunk/; revision=8823
* added function to format just the time.Damon Chaplin2001-03-193-10/+63
| | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_format_time): added function to format just the time. svn path=/trunk/; revision=8822
* Updated Finnish translation.jjranta2001-03-192-566/+665
| | | | svn path=/trunk/; revision=8821
* Initial step for refactoring of the DnD API for ShellComponents.Ettore Perazzoli2001-03-199-115/+114
| | | | svn path=/trunk/; revision=8820
* pulled from the 0.9 release.Jeffrey Stedfast2001-03-193-26/+119
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * NEWS: pulled from the 0.9 release. svn path=/trunk/; revision=8819
* Set the errbuf to NULL after freeing it? I don't think this should fix bugJeffrey Stedfast2001-03-192-0/+7
| | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_connect): Set the errbuf to NULL after freeing it? I don't think this should fix bug #1801 but I guess it can't hurt. svn path=/trunk/; revision=8818
* Add Resend Message under the File menu.Jeffrey Stedfast2001-03-192-26/+34
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.xml: Add Resend Message under the File menu. svn path=/trunk/; revision=8817
* Add Resend Message menu item.Jeffrey Stedfast2001-03-195-1/+58
| | | | | | | | | | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Add Resend Message menu item. * folder-browser.c (on_right_click): Add resend to the right-click menu. * mail-callbacks.c (composer_sent_cb): Unref the message. (composer_postpone_cb): Unref the message here too. (resend_msg): New callback to allow resending of messages in the Sent folder. svn path=/trunk/; revision=8816
* Unref the message.Jeffrey Stedfast2001-03-192-0/+6
| | | | | | | | 2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_sent_cb): Unref the message. svn path=/trunk/; revision=8815
* unref the standard folders. (owner_set_cb): Use g_atexit() to callJeffrey Stedfast2001-03-193-0/+23
| | | | | | | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (unref_standard_folders): unref the standard folders. (owner_set_cb): Use g_atexit() to call unref_standard_folders() when evolution-mail exits. This should solve the problem where these folders are not synced when evolution-mail closes (because they still had refs on them on close). svn path=/trunk/; revision=8814
* Removed extra printfsMiguel de Icaza2001-03-194-22/+29
| | | | svn path=/trunk/; revision=8812
* Protect against a possibly NULL exception.Jeffrey Stedfast2001-03-192-1/+7
| | | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * camel-remote-store.c (remote_recv_line): Protect against a possibly NULL exception. svn path=/trunk/; revision=8811
* Document and modify to return a boolean value denoting whether or notJeffrey Stedfast2001-03-193-21/+90
| | | | | | | | | | | | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Document and modify to return a boolean value denoting whether or not errors occured during processing. (camel_filter_driver_filter_mbox): Same as above and also modified to check return codes of filter_message rather than relying only on whether or not the exception was set (as it's possible to pass in NULL for the exception). (camel_filter_driver_filter_folder): Same as above. * camel-mime-utils.c (header_param_list_format_append): Quote the param value if it contains whitespace as well. svn path=/trunk/; revision=8808
* Quote the param value if it contains whitespace as well.Jeffrey Stedfast2001-03-192-1/+6
| | | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_param_list_format_append): Quote the param value if it contains whitespace as well. svn path=/trunk/; revision=8804
* Updated the checks for NSS and NSPRJeffrey Stedfast2001-03-192-2/+8
| | | | | | | | 2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Updated the checks for NSS and NSPR svn path=/trunk/; revision=8803
* Set the size of the thing to a decent value that lets us test stuff.Miguel de Icaza2001-03-192-58/+69
| | | | | | | | | | | | | | 2001-03-18 Miguel de Icaza <miguel@ximian.com> * tests/test-tree-1.c (create_tree): Set the size of the thing to a decent value that lets us test stuff. 2001-03-16 Miguel de Icaza <miguel@ximian.com> * gal/e-text/e-entry.h: Expose the canvas/item that used to be public and that were privatized. svn path=/trunk/; revision=8802
* Use update_sort_and_group_config dialog instead of the non-implementedMiguel de Icaza2001-03-195-163/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-18 Miguel de Icaza <miguel@ximian.com> * e-table-config.c (sort_entry_changed): Use update_sort_and_group_config dialog instead of the non-implemented update_group_config_dialog. (update_sort_and_group_config_dialog): Update the text correctly. (sort_entry_changed): Handle empty string as not-in-set. (group_entry_changed): Handle empty string as not-in-set. (config_class_init): Fix the signal declaration for "changed", this was sending the wrong information. (update_sort_and_group_config_dialog): Use group_info here, not sort_info * e-table-header-item.c (ethi_popup_customize_view): Changed to use the "changed" signal in the ETableConfig instead of promiscously using the "apply" from the PropertyBox * e-table-config.glade: Set Hide On Close to yes for the Group-By dialog. The groups for Radio Buttons in the Glade file are global, which caused all sorts of strange behaviour and really hard to debug problems. This should be now fixed svn path=/trunk/; revision=8801
* 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