aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-02103-1380/+1301
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Ported this too.Jeffrey Stedfast2002-11-025-171/+171
| | | | | | | | | | 2002-11-02 Jeffrey Stedfast <fejj@ximian.com> * filter-context.c: Ported this too. * rule-context.c: Ported to glib2/GObject. svn path=/trunk/; revision=18502
* Ported to glib2/GObject.Jeffrey Stedfast2002-11-023-359/+370
| | | | | | | | 2002-11-02 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c: Ported to glib2/GObject. svn path=/trunk/; revision=18501
* ported to GConf and GObject.Rodrigo Moya2002-11-024-184/+175
| | | | | | | | 2002-11-02 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: ported to GConf and GObject. svn path=/trunk/; revision=18500
* Removed. Glib2 has this function.Jeffrey Stedfast2002-11-022-12/+3
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (g_string_append_len): Removed. Glib2 has this function. svn path=/trunk/; revision=18499
* Use g_path_get_basename instead of g_strdup (g_basename (filename)).Jeffrey Stedfast2002-11-022-1/+4
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-store.c (delete_folder): Use g_path_get_basename instead of g_strdup (g_basename (filename)). svn path=/trunk/; revision=18498
* Use g_path_get_dirname since g_dirname has been deprecated.Jeffrey Stedfast2002-11-022-1/+6
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * camel-uid-cache.c (camel_uid_cache_new): Use g_path_get_dirname since g_dirname has been deprecated. svn path=/trunk/; revision=18497
* cal-client/cal-listener.hRodrigo Moya2002-11-0228-97/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch]: * cal-util/cal-recur.h: * cal-util/cal-util.[ch]: * cal-client/cal-client.h: * cal-client/cal-client-multi.h: * cal-client/cal-client-types.[ch]: * cal-client/cal-listener.h * cal-client/cal-query.[ch]: * cal-client/query-listener.h: * pcs/cal.h: * pcs/cal-backend.[ch]: * pcs/cal-backend-file.h: * pcs/cal-backend-util.h: * pcs/cal-common.h: * pcs/cal-factory.h: * pcs/query.[ch]: * pcs/query-backend.[ch]: started GNOME 2 porting. cal-util, cal-client and pcs compiled ok. * cal-client/cal-client.c (cal_client_construct): * pcs/cal-factory.c: use b-a instead of OAF and bonobo-config instead of bonobo-conf. svn path=/trunk/; revision=18496
* Ported to GObject.Jeffrey Stedfast2002-11-0211-426/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. * filter-datespec.c: You guessed it. * filter-file.c: And again... * filter-folder.c: Wheee! This is fun... * filter-int.c: Gee, I wonder... * filter-label.c: Also ported. * filter-option.c: Yep, this too. * filter-source.c: And finally this one. svn path=/trunk/; revision=18495
* compilation fixes for GNOME 2 porting.Rodrigo Moya2002-11-023-7/+10
| | | | | | | | | 2002-11-01 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: * e-component-listener.[ch]: compilation fixes for GNOME 2 porting. svn path=/trunk/; revision=18494
* Ported to GObject.Jeffrey Stedfast2002-11-027-165/+175
| | | | | | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. * filter-datespec.c: You guessed it. * filter-file.c: And again... svn path=/trunk/; revision=18493
* Ported to GObject.Jeffrey Stedfast2002-11-029-355/+362
| | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. svn path=/trunk/; revision=18492
* (E_MAKE_X_TYPE): Update for libbonobo 2.0.Ettore Perazzoli2002-11-021-20/+25
| | | | svn path=/trunk/; revision=18491
* gobjectify ETableExtras is now a GObject (e_tree_class_init): removeMike Kestner2002-11-023-35/+18
| | | | | | | | | | 2002-11-01 Mike Kestner <mkestner@ximian.com> * e-table-extras : gobjectify * e-tree.c (et_real_construct): ETableExtras is now a GObject (e_tree_class_init): remove duplicated signals svn path=/trunk/; revision=18490
* Add support for an attach option in the mailto: url.Jeffrey Stedfast2002-11-022-1/+8
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Add support for an attach option in the mailto: url. svn path=/trunk/; revision=18489
* comment fixJeffrey Stedfast2002-11-021-1/+1
| | | | svn path=/trunk/; revision=18488
* moving gnome-2-port branch to HEADRadek Doulik2002-11-013-41/+20
| | | | svn path=/trunk/; revision=18482
* Set the virtual method pointers to the import/export methods.Jeffrey Stedfast2002-11-015-36/+277
| | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (camel_gpg_context_class_init): Set the virtual method pointers to the import/export methods. (camel_gpg_context_init): Set the key_protocol string. (gpg_hash_to_id): Handle 2 more hash types. (gpg_id_to_hash): Same. (gpg_ctx_op_step): Slight fixes to support import/export. (gpg_ctx_parse_status): Fix to hack around the fact that importing keys doesn't write to stdout. (gpg_import_keys): Implemented. (gpg_export_keys): Implemented. * camel-cipher-context.c (camel_cipher_context_class_init): Hook up default virtual methods for import/export. (camel_cipher_import_keys): Implemented. (camel_cipher_export_keys): Implemented. svn path=/trunk/; revision=18475
* oops, commit this tooJeffrey Stedfast2002-11-011-0/+1
| | | | svn path=/trunk/; revision=18474
* Removed hash-table-utils.[c,h] from the build.Jeffrey Stedfast2002-11-0115-119/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed hash-table-utils.[c,h] from the build. * hash-table-utils.[c,h]: Removed. * string-util.c: Imported g_strcase[hash,equal] into here so we can remove hash-table-utils.[c,h]. * camel-medium.c: Removed #include "hash-table-utils.h" * camel-mime-message.c: Same here. * camel-mime-part.c: And here. * camel-session.c: Here too. * providers/imap/camel-imap-store-summary.c: #include string-utils.h instead of hash-table-utils.h * camel-charset-map.c: Same. * camel-folder-summary.c: Here too. * camel-provider.c: Again here. * camel-store-summary.c: And again... svn path=/trunk/; revision=18473
* Remove a ton of useless snot.Jeffrey Stedfast2002-11-0113-550/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Jeffrey Stedfast <fejj@ximian.com> Remove a ton of useless snot. * Makefile.am: Remove gstring-util.[c,h] from the build. * gstring-util.[c,h]: Removed. * string-utils.c (string_equal_for_glist): Removed. (string_split): Removed. (string_trim): Removed. (string_prefix): Removed. (string_unquote): Removed. (strip): Removed. * hash-table-utils.c (g_hash_table_generic_free): Removed. g_str[n]casecmp functions are deprecated in glib2. * string-utils.c (strstrcase): Use strncasecmp instead of g_strncasecmp. * hash-table-utils.c (g_strcase_equal): Use strcasecmp instead of g_strcasecmp. * camel-smime-utils.c (camel_smime_is_smime_v3_signed): Same. (camel_smime_is_smime_v3_encrypted): Here too. * camel-sasl-digest-md5.c (decode_data_type): And here. (parse_server_challenge): Again here. * camel-pgp-mime.c (camel_pgp_mime_is_rfc2015_signed): Same. (camel_pgp_mime_is_rfc2015_encrypted): Same * camel-mime-part-utils.c (check_html_charset): Here too. * camel-folder-summary.c (camel_system_flag): Same. svn path=/trunk/; revision=18472
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-01184-3955/+2090
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* Adjust default rule editor size to accomodate the menu widening caused byDan Winship2002-11-012-1/+7
| | | | | | | | * rule-editor.c (rule_add): Adjust default rule editor size to accomodate the menu widening caused by "Pipe Message to Shell Command". svn path=/trunk/; revision=18470
* Make sure to save References and In-Reply-To headers. Fixes bug #32932.Jeffrey Stedfast2002-10-312-1/+8
| | | | | | | | | 2002-10-29 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Make sure to save References and In-Reply-To headers. Fixes bug #32932. svn path=/trunk/; revision=18469
* 1.1.90.99.Ettore Perazzoli2002-10-312-3/+7
| | | | svn path=/trunk/; revision=18468
* cleaned up the status bar messages for all widgets.Rodrigo Moya2002-10-302-0/+11
| | | | | | | | | 2002-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (backend_died_cb): cleaned up the status bar messages for all widgets. svn path=/trunk/; revision=18467
* Sync for 1.1.90.Ettore Perazzoli2002-10-2948-38154/+40727
| | | | svn path=/trunk/; revision=18465
* Emit a search_activated signal. (e_search_bar_set_item_id): Revert toJeffrey Stedfast2002-10-292-3/+9
| | | | | | | | | 2002-10-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (clear_search): Emit a search_activated signal. (e_search_bar_set_item_id): Revert to original implementation. svn path=/trunk/; revision=18464
* No longer need to check for a CLEAR_ID.Jeffrey Stedfast2002-10-292-1/+6
| | | | | | | | | 2002-10-28 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_query_changed): No longer need to check for a CLEAR_ID. svn path=/trunk/; revision=18463
* instead of bailing with an assertion dump the body.Larry Ewing2002-10-291-7/+27
| | | | | | | | | | | | 2002-10-28 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_multipart_mixed): instead of bailing with an assertion dump the body. (handle_multipart_signed): same. (handle_multipart_alternative): same. (handle_multipart_appledouble): same. svn path=/trunk/; revision=18462
* corrected for mailerJeffrey Stedfast2002-10-291-3/+4
| | | | svn path=/trunk/; revision=18461
* Increase the width slightly.Ettore Perazzoli2002-10-293-1/+11
| | | | | | | | | | * e-shell-settings-dialog.c (set_dialog_size): Increase the width slightly. * e-shell-view-menu.c: Set "settings.png" as the icon for /menu/Tools/Settings. svn path=/trunk/; revision=18460
* note the selectnames changeDan Winship2002-10-291-0/+6
| | | | svn path=/trunk/; revision=18459
* Update with Addressbook and Mail news.Ettore Perazzoli2002-10-291-5/+42
| | | | svn path=/trunk/; revision=18458
* instead of bailing with an assertion dump the body.Larry Ewing2002-10-292-5/+13
| | | | | | | | | 2002-10-28 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_multipart_mixed): instead of bailing with an assertion dump the body. svn path=/trunk/; revision=18457
* Update.Ettore Perazzoli2002-10-282-21/+41
| | | | svn path=/trunk/; revision=18456
* New. New.Ettore Perazzoli2002-10-284-0/+7
| | | | | | | * settings.png: New. * settings-16.png: New. svn path=/trunk/; revision=18455
* Set the pixtype for command "Settings" toEttore Perazzoli2002-10-282-1/+8
| | | | | | "pixbuf". svn path=/trunk/; revision=18454
* Updeate with lame entry, too sleepy to do it well right nowLarry Ewing2002-10-281-0/+6
| | | | | | --Larry` svn path=/trunk/; revision=18453
* don't queue the action until we've added ourselves to the active list,Larry Ewing2002-10-282-4/+13
| | | | | | | | | | | 2002-10-27 Larry Ewing <lewing@ximian.com> * mail-display.c (fetch_next): don't queue the action until we've added ourselves to the active list, because the fetch_done callback can fire immediately and we'll end up queueing something that has already been destroyed. svn path=/trunk/; revision=18452
* never set the charset on an item without also encoding it. Mime messagesLarry Ewing2002-10-282-6/+8
| | | | | | | | | | 2002-10-28 Larry Ewing <lewing@ximian.com> * backend/ebook/e-card.c (addPropValueUTF8): never set the charset on an item without also encoding it. Mime messages don't like parts with multiple charsets. svn path=/trunk/; revision=18451
* Don't set the charset param on text parts nor tha rawtext bit on theJeffrey Stedfast2002-10-282-10/+23
| | | | | | | | | | 2002-10-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Don't set the charset param on text parts nor tha rawtext bit on the content if a charset for the part is already specified. svn path=/trunk/; revision=18449
* Don't prematurely set gpg->complete to TRUE. Let gpg_ctx_op_step () set itJeffrey Stedfast2002-10-282-9/+10
| | | | | | | | | | 2002-10-25 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_parse_status): Don't prematurely set gpg->complete to TRUE. Let gpg_ctx_op_step () set it to TRUE when gpg closes the status-fd instead. svn path=/trunk/; revision=18448
* Free the location if it's set. Otherwise one copy of the location of eachDan Winship2002-10-272-0/+10
| | | | | | | | | * src/libical/icaltimezone.c (icaltimezone_get_vtimezone_properties): Free the location if it's set. Otherwise one copy of the location of each built-in timezone we use gets leaked. svn path=/trunk/; revision=18447
* Disconnect from the book's backend_died signal.Dan Winship2002-10-272-1/+10
| | | | | | | * gui/widgets/e-addressbook-model.c (addressbook_destroy): Disconnect from the book's backend_died signal. svn path=/trunk/; revision=18446
* Updated Norwegian translation.Kjartan Maraas2002-10-262-821/+895
| | | | | | | | 2002-10-26 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=18445
* install evolutionperson.schema to $(datadir)/evolution.Chris Toshok2002-10-262-0/+9
| | | | | | | | | 2002-10-24 Chris Toshok <toshok@ximian.com> * backend/pas/Makefile.am: install evolutionperson.schema to $(datadir)/evolution. svn path=/trunk/; revision=18444
* Removed debugging message.Ettore Perazzoli2002-10-2614-174/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-cell-tri.c (set_value): Removed debugging message. * e-summary-factory.c (control_activate): Removed the call to e_summary_thaw(). (control_deactivate): Removed the call to e_summary_freeze(). * e-summary-mail.c (folder_gen_html): Removed debugging message. (insert_path_recur): Likewise. (add_storage_to_table): Likewise. (folder_info_pb_changed): Likewise. (lazy_register_storages): Likewise. * e-summary-weather.c: #include "e-summary-preferences.h". (e_summary_weather_update): Removed debugging message. * e-summary-offline-handler.c: #include <gtk/gtksignal.h>. * main.c: #include <gconf/gconf.h> and <gal/widgets/e-cursors.h>. * e-summary-preferences.c (free_rdf_info): Removed unused function. (find_name_for_url): Likewise. (mail_etable_item_changed_cb): Likewise. (maybe_add_to_shown): Likewise. (get_folders_from_view): Removed debugging messages. * e-summary-rdf.c (tree_walk): Removed debugging message. (e_summary_rdf_update): Likewise. * e-summary-shown.c (find_entry_from_location): Removed unused function. (maybe_move_to_shown): Removed debugging message. * e-summary-tasks.c: New members cal_open_reload_timeout_id and reload_count in ESummaryTasks. (generate_html): Return if the load_state of the cal_client is not CAL_CLIENT_LOAD_LOADED. (cal_open_reload_timeout): New; timeout function for attempting to reload the calendar if the first attempt failed. (cal_opened_cb): If the load failed, register cal_open_reload_timeout to try again after one second. (setup_task_folder): If there is a pending timeout callback [cal_open_reload_timeout_id nonzero], remove it. (e_summary_tasks_init): Call setup_task_folder(). (e_summary_tasks_free): If there is a pending timeout callback [cal_open_reload_timeout_id nonzero], remove it. * e-summary-calendar.c: New members cal_open_reload_timeout_id and reload_count in ESummaryCalendar. (e_cal_comp_util_compare_event_timezones): Renamed to compare_event_timezones() and made static. (generate_html): Return if the load_state of the cal_client is not CAL_CLIENT_LOAD_LOADED. Call e_summary_draw() before returning. (cal_open_reload_timeout): New; timeout function for attempting to reload the calendar if the first attempt failed. (cal_opened_cb): Return if the load_state of the cal_client is not CAL_CLIENT_LOAD_LOADED. (e_summary_calendar_reconfigure): Call setup_calendar() so that, if the default folder has changed, it gets reloaded. (setup_calendar): If there is a pending timeout callback [cal_open_reload_timeout_id nonzero], remove it. (e_summary_calendar_free): Likewise. * e-summary.c: New member queue_draw_idle_id in ESummaryPrivate. Removed member redraw_pending. (destroy): If queue_draw_idle_id is nonzero, remove the corresponding glib mainloop source. (draw_idle_cb): New function to regenerate the HTML in the idle loop; moved all the code from e_summary_draw() in here. (e_summary_draw): Set up draw_idle_cb as an idle callback. (e_summary_init): Initialize queued_draw_idle_id. (e_summary_reload_timeout): Call e_summary_calendar_reconfigure() and e_summary_tasks_reconfigure(). Removed debugging message. (e_summary_set_online): Removed debugging message. (e_summary_freeze): Removed. (e_summary_thaw): Removed. svn path=/trunk/; revision=18443
* Update.JP Rosevear2002-10-261-0/+12
| | | | svn path=/trunk/; revision=18442
* Update with bug numbers.JP Rosevear2002-10-261-1/+7
| | | | svn path=/trunk/; revision=18441
* Update for calendar.JP Rosevear2002-10-261-0/+29
| | | | svn path=/trunk/; revision=18440
* (size_to_string): Return NULLEttore Perazzoli2002-10-262-3/+14
| | | | | | | | instead of the empty string if the size is less than one K. (update): Only put the size if size_to_string() doesn't return NULL. [#32751] svn path=/trunk/; revision=18439
* Update the upgrade script to handle the new url format introduced withJeffrey Stedfast2002-10-262-17/+58
| | | | | | | | | | | | | | | | | 2002-10-24 Jeffrey Stedfast <fejj@ximian.com> Update the upgrade script to handle the new url format introduced with NotZed's most recent commits. * upgrade-mailer.c (mailer_upgrade): Save an encoded version of the namespace too, for use later. (si_free): Free the encoded namespace too. (imap_url_upgrade): Use the encoded namespace when creating the new url. (shortcuts_upgrade_xml_file): Upgrade the default: urls. Fixes bug #32127. svn path=/trunk/; revision=18438
* [#31303]Ettore Perazzoli2002-10-263-1/+28
| | | | | | | | | | | | | | * e-shell-view (storage_set_view_box_button_release_event_cb): Pop down the popup folder bar if it's a toplevel node. (folder_bar_popup_map_callback): Connect to the "folder_opened" signal on the storage_set_view. [#32032] * e-folder-list.c (create_display_string): Don't turn the string from UTF-8 to GTK. svn path=/trunk/; revision=18437
* updated Vietnamese filePablo Saratxaga2002-10-252-1138/+951
| | | | svn path=/trunk/; revision=18436
* [ fixes #29144 ] use e_table_memory_storage_change instead ofChris Toshok2002-10-252-3/+8
| | | | | | | | | | | 2002-10-24 Chris Toshok <toshok@ximian.com> [ fixes #29144 ] * gui/component/addressbook-config.c (edit_dialog_store_change): use e_table_memory_storage_change instead of remove/insert, so the selection is maintained. svn path=/trunk/; revision=18435
* Update dep for GAL to 0.21.0.Chris Toshok2002-10-252-1/+5
| | | | | | | | 2002-10-23 Chris Toshok <toshok@ximian.com> * configure.in: Update dep for GAL to 0.21.0. svn path=/trunk/; revision=18434
* add prototypes for the _change* functions.Chris Toshok2002-10-252-19/+160
| | | | | | | | | | | | | | | | | | 2002-10-24 Chris Toshok <toshok@ximian.com> * e-table-memory-store.h: add prototypes for the _change* functions. * e-table-memory-store.c (e_table_memory_store_change_array): new function, mostly c&p from _insert_array. (e_table_memory_store_change): new function, mostly c&p from _insert. (e_table_memory_store_change_adopt_array): new function, mostly c&p from _insert_adopt_array. (e_table_memory_store_change_adopt): new function, mostly c&p from _insert_adopt. svn path=/trunk/; revision=18432
* Always strdup the new key in the threaded/preview hash/always free theNot Zed2002-10-252-4/+9
| | | | | | | | | | 2002-10-25 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_uri_renamed): Always strdup the new key in the threaded/preview hash/always free the working copy. For #32799. svn path=/trunk/; revision=18431
* Use the mode 0666 when creating a new file and let the user's umask handleJeffrey Stedfast2002-10-253-2/+11
| | | | | | | | | | | | | 2002-10-24 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (write_data_to_file): Use the mode 0666 when creating a new file and let the user's umask handle permissions. * folder-browser.c (message_list_drag_data_get): When using open() with the O_CREAT flag, we need to pass a mode argument. Also use O_EXCL. svn path=/trunk/; revision=18430
* Fixes #32764Rodrigo Moya2002-10-252-27/+50
| | | | | | | | | | | | | | | | | | | | 2002-10-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #32764 * e-config-listener.c (add_key): store the value returned by bonobo_event_source_client_add_listener, so that we can remove it later, when freeing the key structure. (free_key_hash): remove listener. (e_config_listener_set_boolean): (e_config_listener_set_float): (e_config_listener_set_long): (e_config_listener_set_string): only set the cache values if there's no exception. (e_config_listener_destroy): remove all keys before unrefing the db component. svn path=/trunk/; revision=18429
* call e_tree_state_changeMike Kestner2002-10-251-0/+2
| | | | | | | | 2002-10-24 Mike Kestner <mkestner@ximian.com> * e-tree.c (e_tree_set_state_object): call e_tree_state_change svn path=/trunk/; revision=18428
* Cast chars to unsigned char before passing to ctype macros since they areDan Winship2002-10-252-17/+24
| | | | | | | | | * ename/e-name-western.c: Cast chars to unsigned char before passing to ctype macros since they are not defined on negative numbers. Fixes parsing problems with names with accented characters on Solaris. (At least part of #32146) svn path=/trunk/; revision=18427
* Use a hashtable to only insert nodes we dont have already, rather thanNot Zed2002-10-252-6/+23
| | | | | | | | | | | | | | 2002-10-24 Not Zed <NotZed@Ximian.com> * subscribe-dialog.c (fe_got_children): Use a hashtable to only insert nodes we dont have already, rather than relying on the scanning logic. Also, only re-sort this tree level once done rather than on each insert. (folder_etree_init): Setup hash to track nodes setup. (folder_etree_clear_tree): Reset hash. (fe_destroy): Free hash. svn path=/trunk/; revision=18426
* initialize new values (clean_up): free new values (find_my_address): if weJP Rosevear2002-10-244-10/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-24 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (init): initialize new values (clean_up): free new values (find_my_address): if we have a delegator address, use it instead (write_html): display delegator info to user (show_current_event): if we have a calendar uri, use that and describe the event differently (show_current_todo): ditto (show_current): search for delegator X properties (e_itip_control_set_delegator_address): accessor (e_itip_control_get_delegator_address): ditto (e_itip_control_set_delegator_name): ditto (e_itip_control_get_delegator_name): ditto (e_itip_control_set_calendar_uri): ditto (e_itip_control_get_calendar_uri): ditto * gui/e-itip-control.h: add protos * gui/itip-utils.c (comp_from): use the first attendee as the from address for things other than request, cancel and add (use organizer) and publish (use default address) svn path=/trunk/; revision=18425
* ** For bug #31647 and bug #31456.Not Zed2002-10-247-87/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-24 Not Zed <NotZed@Ximian.com> ** For bug #31647 and bug #31456. * camel-store-summary.c (store_info_string): for STORE_INFO_NAME, skip the leading /. * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): Remove jeff's last patch, and use the store summary to create the name and path of the folderinfo so it manages namespace issues. (get_folder_info_online): Just pass @top directly to build_folder_info always, since namespace is mapped to 1 tree level. (imap_build_folder_info): Remove jeff's last patch, dont strip leading /'s, they shouldn't exist. (imap_connect_online): Remove adding the INBOX here, we add it later. (get_subscribed_folders): Make sure INBOX is always in the list. some imap servers dont seem to let you subscribe to it(?), so always have it act as subscribed. * camel-store.c (camel_folder_info_build): back out the last 2 patches from Jeff (for #31456) to get the original behaviour. (camel_folder_info_build): When creating a fake parent, dont strip the namespace from the full_name. malloc keys in hash since we dont have them anymore. (free_name): Helper to free names. * providers/imap/camel-imap-store-summary.c (camel_imap_store_summary_namespace_new): Canonicalise the namespace (strip trailing dir_sep), and change the path to remove any /'s. (camel_imap_store_summary_namespace_find_path): (camel_imap_store_summary_namespace_find_full): new, find namespace by path/full name. (camel_imap_store_summary_full_from_path): Changed to a simple wrapper around path_to_full, after checking namespace. (camel_imap_store_summary_add_from_full): map the namespace if present. (camel_imap_store_summary_path_to_full): If namespace exists, unmap it. svn path=/trunk/; revision=18424
* Only perform the search if it is either a clear or advanced search.Jeffrey Stedfast2002-10-242-1/+10
| | | | | | | | | 2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_query_changed): Only perform the search if it is either a clear or advanced search. svn path=/trunk/; revision=18422
* If the clear button was pressed, we want the entry to be sensitive (notJeffrey Stedfast2002-10-245-24/+31
| | | | | | | | | | | | | | | | | 2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (option_changed): If the clear button was pressed, we want the entry to be sensitive (not insensitive). * e-search-bar.c (e_search_bar_set_item_id): If the item id is CLEAR_ID, we want to select the first item (0) but still set the esb->item_id to CLEAR_ID. (set_find_now_sensitive): Don't bother getting the GtkEntry text, we don't even use it? (clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather than 0 so that it can be checked for. svn path=/trunk/; revision=18421
* pass fb->uri to the folder selection dialog so the current folder isMike Kestner2002-10-242-1/+7
| | | | | | | | | | 2002-10-22 Mike Kestner <mkestner@ximian.com> * mail-callbacks.c (transfer_msg): pass fb->uri to the folder selection dialog so the current folder is selected on display. "fixes" 15966. svn path=/trunk/; revision=18420
* Set the is_stock flag to TRUE for the summary folder.Ettore Perazzoli2002-10-245-7/+36
| | | | | | | | | | | | | | | | | | * e-shell.c (setup_local_storage): Set the is_stock flag to TRUE for the summary folder. * e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow folder operations on pseudo-folders that have a NULL physical_uri. * e-corba-storage.c (async_remove_folder): Make sure the folder has a physical URI. [#30950] * e-shell-shared-folder-picker-dialog.c (setup_server_option_menu): Use e_utf8_gtk_menu_item_new_with_label() to create the option menu items from the storage's UTF-8 name. [#31564] svn path=/trunk/; revision=18419
* (activate_by_subitems): gtk_widget_grab_focus()Ettore Perazzoli2002-10-242-0/+11
| | | | | | on the entry when adding it in. svn path=/trunk/; revision=18418
* Replace Gnotices with Footnotes.Ettore Perazzoli2002-10-244-77/+163
| | | | | | | | | | | | | | | | | | | | | | | | | * e-summary-preferences.c: Replace Gnotices with Footnotes. * e-summary-tasks.c: New member config_listener in ESummaryTasks. (e_summary_tasks_free): Unref the config_listener. (config_listener_key_changed_cb): New, callback for the config_listener. (setup_task_folder): New helper function to set up access to the task folder. (setup_config_listener): New. (e_summary_tasks_init): Use setup_config_listener() and setup_task_folder(). * e-summary-calendar: New member config_listener in ESummaryCalendar. (setup_config_listener): New. (config_listener_key_changed_cb): New callback for the config_listener. (setup_calendar): New. (e_summary_calendar_init): Use setup_config_listener() and setup_calendar(). svn path=/trunk/; revision=18417
* Set /Addressbook/select_names_uri in the configdb to the selected folder.Dan Winship2002-10-232-17/+31
| | | | | | | | | | | | | | * gui/component/select-names/e-select-names.c (folder_selected): Set /Addressbook/select_names_uri in the configdb to the selected folder. (e_select_names_init): Look for /Addressbook/select_names_uri before /DefaultFolders/contacts_uri for the initial folder. So the select names dialog now starts up using the same folder you used last time, which is useful when you have an LDAP company directory (which can't be your default contacts folder because it's read-only). svn path=/trunk/; revision=18416
* Fixes #32613Rodrigo Moya2002-10-233-20/+58
| | | | | | | | | | | | 2002-10-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #32613 * gui/component-factory.c (sc_user_create_new_item_cb): use the default calendar/tasks folder to activate the component editor. (get_data_uri): deal correctly with the URIs being used. svn path=/trunk/; revision=18415
* fix warningJP Rosevear2002-10-232-2/+7
| | | | | | | | 2002-10-23 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): fix warning svn path=/trunk/; revision=18414
* Fixes #32371Rodrigo Moya2002-10-232-3/+12
| | | | | | | | | | | 2002-10-22 Rodrigo Moya <rodrigo@ximian.com> Fixes #32371 * pcs/query.c (start_cached_query_cb): CORBA_exception_init the CORBA_Environment before using it. svn path=/trunk/; revision=18413
* Canonicalise the source_uri to not have a path. Fixes bug #32268.Jeffrey Stedfast2002-10-233-43/+52
| | | | | | | | | | | | | | | | | | | | | | 2002-10-18 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Canonicalise the source_uri to not have a path. Fixes bug #32268. 2002-10-17 Jeffrey Stedfast <fejj@ximian.com> Possible fix for bug #32270 * providers/pop3/camel-pop3-store.c (try_sasl): If we get an I/O error, we should not be setting the CANT_AUTH exception but should instead be setting the SYSTEM exception. Also check for EINTR which signifies a USER_CANCEL exception. (pop3_try_authenticate): If the auth mechanism isn't supported, don't set the CANT_AUTH exception since then we will loop and try again with the same data which will just cause an infinite loop. (pop3_connect): Simplified a bit. svn path=/trunk/; revision=18412
* use NULL for pointer instead of FALSE.Rodrigo Moya2002-10-232-1/+6
| | | | | | | | | 2002-10-22 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (lookup_backend): use NULL for pointer instead of FALSE. svn path=/trunk/; revision=18411
* use e_config_listener_* to get values (itip_addresses_get): dittoJP Rosevear2002-10-233-37/+29
| | | | | | | | | | | | | | | | 2002-10-22 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (get_address): use e_config_listener_* to get values (itip_addresses_get): ditto (itip_addresses_get_default): ditto * gui/calendar-model.c (calendar_model_value_to_string): don't send back a null string (affects if it is the group header) (calendar_model_init): pre load config database info so we don't do corba calls during draws svn path=/trunk/; revision=18410
* Edit-->Undelete, not Actions-->UndeleteAaron Weber2002-10-232-1/+6
| | | | | | | | 2002-10-22 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: Edit-->Undelete, not Actions-->Undelete svn path=/trunk/; revision=18409
* fix the sense of a strcmpDan Winship2002-10-222-1/+6
| | | | | | | * gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the sense of a strcmp svn path=/trunk/; revision=18408
* [ fix for #23764 ] handle multiple letters associated with a singleChris Toshok2002-10-222-11/+34
| | | | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ fix for #23764 ] * gui/widgets/e-addressbook-view.c (jump_to_letters): handle multiple letters associated with a single button. (button_toggled): closure->letter -> closure->letters. (free_closure): free closure->letters. (create_alphabet): init closure->letters. svn path=/trunk/; revision=18407
* don't emit a signal if we couldn't find the view rowJP Rosevear2002-10-221-2/+4
| | | | | | | | | 2002-10-18 JP Rosevear <jpr@ximian.com> * e-table-item.c (eti_cursor_activated): don't emit a signal if we couldn't find the view row svn path=/trunk/; revision=18405
* [ fixes #29067 ] we need to create a card_sexp even when doing summaryChris Toshok2002-10-222-7/+14
| | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ fixes #29067 ] * backend/pas/pas-backend-file.c (pas_backend_file_search): we need to create a card_sexp even when doing summary queries since it's used to check modifications of cards in the view. svn path=/trunk/; revision=18404
* [ fixes #32144 ] convert the name to the gtk locale before saving.Chris Toshok2002-10-222-3/+16
| | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ fixes #32144 ] * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): convert the name to the gtk locale before saving. (e_contact_list_save_as): same. svn path=/trunk/; revision=18403
* here's a fix for bug #18242Jeffrey Stedfast2002-10-221-0/+17
| | | | svn path=/trunk/; revision=18402
* Only add the account address to the list of addresses if it is non-NULL.Jeffrey Stedfast2002-10-222-1/+9
| | | | | | | | | | | 2002-10-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): Only add the account address to the list of addresses if it is non-NULL. Fixes bug #32446 although it shouldn't ever happen anyway (an account address is not allowed to be NULL). svn path=/trunk/; revision=18401
* [ Fixes evolution bug #26355 ] use g_utf8_collate here instead of strcmp.Chris Toshok2002-10-211-2/+3
| | | | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ Fixes evolution bug #26355 ] * gal/util/e-util.c (g_str_compare): use g_utf8_collate here instead of strcmp. * gal/e-text/Makefile.am (e_completion_test_LDADD): reorder so that util comes before unicode. svn path=/trunk/; revision=18400
* Fix the transport URL on any Exchange accounts. Fixes #30209, which is toDan Winship2002-10-212-1/+15
| | | | | | | | * upgrade-mailer.c (mailer_upgrade): Fix the transport URL on any Exchange accounts. Fixes #30209, which is to say that it fixes #28490 correctly. svn path=/trunk/; revision=18399
* (e_summary_weather_reconfigure): NULL theEttore Perazzoli2002-10-212-3/+17
| | | | | | | | ->weathers member before freeing the list items. Otherwise soup_message_cancel() might invoke the refresh function while we are freeing things on the list, and crash. [#31639] svn path=/trunk/; revision=18398
* (e_get_activation_failure_msg): If the exception_id is NULL,Ettore Perazzoli2002-10-212-0/+9
| | | | | | return NULL instead of crashing. [#25891] svn path=/trunk/; revision=18397
* [ probable fix for #25477, and memory leak fix ] if the dialog isn't inChris Toshok2002-10-213-0/+18
| | | | | | | | | | | | | | | 2002-10-19 Chris Toshok <toshok@ximian.com> [ probable fix for #25477, and memory leak fix ] * gui/contact-editor/e-contact-editor.c (supported_fields_cb): if the dialog isn't in the list of all dialogs it's been destroyed so just return here. * backend/ebook/e-book.c (e_book_do_response_get_supported_fields): plug leak of resp->fields. svn path=/trunk/; revision=18396
* #include "camel-stream-fs.h" for writing out the certs to diskJeffrey Stedfast2002-10-191-0/+1
| | | | svn path=/trunk/; revision=18395
* s/+ 4/+ 1/Jeffrey Stedfast2002-10-191-1/+1
| | | | | | we want to strip the "-- " too svn path=/trunk/; revision=18394
* Strip the signature from the body-text. Fixes bug #5529.Jeffrey Stedfast2002-10-182-1/+14
| | | | | | | | | 2002-10-17 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_quote_message): Strip the signature from the body-text. Fixes bug #5529. svn path=/trunk/; revision=18393
* Do the filtering ourselves. This is so a problem like a missing uid (whichNot Zed2002-10-181-3/+41
| | | | | | | | | | | | 2002-10-03 Not Zed <NotZed@Ximian.com> * camel-folder.c (filter_filter): Do the filtering ourselves. This is so a problem like a missing uid (which can happen legitemitely) doesn't prematurely abort filtering. Stop on all other errors. See #31667. svn path=/trunk/; revision=18392
* If ~/.camel_certs doesn't exist, create it.Jeffrey Stedfast2002-10-182-6/+20
| | | | | | | | | 2002-10-17 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (camel_certdb_nss_cert_set): If ~/.camel_certs doesn't exist, create it. svn path=/trunk/; revision=18391
* fix c/p typeJP Rosevear2002-10-182-1/+5
| | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_construct): fix c/p type svn path=/trunk/; revision=18390
* if the value is a datetime, convert it to a dateJP Rosevear2002-10-185-2/+259
| | | | | | | | | | | | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (fill_ending_date): if the value is a datetime, convert it to a date * gui/itip-utils.c (comp_compliant): convert an UNTIL date value to a datetime value * cal-util/cal-component.c (cal_component_has_simple_recurrence): check to see if the component recurrences meet our definition of "simple" * cal-util/cal-component.h: new proto svn path=/trunk/; revision=18389
* If the attachment is type application/octet-stream, sniff the file typeBenjamin Kahn2002-10-181-0/+6
| | | | | | | | | | 2002-10-17 Benjamin Kahn <xkahn@ximian.com> * mail-format.c (mail_lookup_handler): If the attachment is type application/octet-stream, sniff the file type even if the user has a handler for that type. svn path=/trunk/; revision=18388
* changed to have a gboolean return type, which is what it's supposed to do.Rodrigo Moya2002-10-183-7/+16
| | | | | | | | | | | | | 2002-10-17 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recurrence-page.c (fill_component): changed to have a gboolean return type, which is what it's supposed to do. (recurrence_page_fill_component): return the result from fill_component. * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. svn path=/trunk/; revision=18387
* New, implementation for the cancel_discover_shared_folder virtual method.Ettore Perazzoli2002-10-189-66/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (cancel_discover_shared_folder): New, implementation for the cancel_discover_shared_folder virtual method. (class_init): Install. * evolution-test-component.c (storage_discover_shared_folder_callback): Instead of passing the listener to the timeout function, just pass the storage. Put the listener and the timeout ID on the storage object by using gtk_object_set_data(). (shared_folder_discovery_timeout_callback): Updated accordingly. (storage_cancel_discover_shared_folder_callback): New, callback for the cancel_discover_shared_folder signal. (setup_custom_storage): Connect. * e-shell-shared-folder-picker-dialog.c: New member storage in struct DiscoveryData. While I am at it, rename member user to user_email_address. (discover_folder): Set the storage member. (cleanup_discovery): Unref storage member. (progress_dialog_clicked_callback): New, callback for the "clicked" signal on the dialog. (discover_folder): Connect. * evolution-storage.c (class_init): Install signal "cancel_discover_shared_folder". (impl_Storage_cancelDiscoverSharedFolder): New, implementation for the cancelDiscoverSharedFolder CORBA method; emit "cancel_discover_shared_folder". (evolution_storage_get_epv): Install CORBA method implementation. * evolution-storage.h: Add signal cancel_discover_shared_folder. * e-storage.c (e_storage_cancel_discover_shared_folder): New. * e-storage.h: New virtual method cancel_discover_shared_folder. * Evolution-Storage.idl (cancelDiscoverSharedFolder): New. svn path=/trunk/; revision=18386
* helper, build fingerprint. (camel_certdb_nss_cert_get): Helper for nssNot Zed2002-10-175-93/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-15 Not Zed <NotZed@Ximian.com> * camel-tcp-stream-ssl.c (cert_fingerprint): helper, build fingerprint. (camel_certdb_nss_cert_get): Helper for nss certs. Lookup cert. As well as fingerprint, the whole raw cert is checked for validity. (camel_certdb_nss_cert_add): Add an nss cert to a certdb, also saves the cert by fingerprint in ~/.camel_certs/. (ssl_bad_cert): Changed to use above functions to simplify logic. (ssl_bad_cert): Also added non-compiled code which mimics what mozilla does, but it doesn't work right :-/ (camel_certdb_nss_cert_set): Save the raw cert associated with a cert. * camel-certdb.c (certdb_cert_free): Free the raw cert data if set. 2002-10-14 Not Zed <NotZed@Ximian.com> * camel-file-utils.c (camel_file_util_encode_string): Encode a length of 0 as 1, not 0, to match the decode code. svn path=/trunk/; revision=18385
* Don't need to pass a path to camel_gpg_context_new () anymore.Jeffrey Stedfast2002-10-178-466/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Don't need to pass a path to camel_gpg_context_new () anymore. (mail_get_message_body): Same here. (handle_multipart_encrypted): Use camel_gpg_context_new () instead of mail_crypto_get_pgp_cipher_context (). * mail-preferences.c (mail_preferences_construct): There's no security tab anymore. (mail_preferences_apply): No need to save any pgp config data, there's nothing to configure! * mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to not pass a pgp path into camel_gpg_context_new (). * mail-config.c (mail_config_clear): No need to free a pgp_path variable anymore, we don't need one. (config_read): Don't read in a pgp-path or pgp-type anymore. (mail_config_write_on_exit): Don't save a pgp-path or pgp-type anymore, we don't use them. (pgpopen): Removed. (pgpclose): Removed. (mail_config_pgp_type_detect_from_path): Removed. (auto_detect_pgp_variables): Removed. (mail_config_get_pgp_type): Removed. (mail_config_set_pgp_type): Removed. (mail_config_get_pgp_path): Removed. (mail_config_set_pgp_path): Removed. svn path=/trunk/; revision=18384
* No longer takes a path argument. (camel_gpg_context_fianlise): No need toJeffrey Stedfast2002-10-173-32/+25
| | | | | | | | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (camel_gpg_context_new): No longer takes a path argument. (camel_gpg_context_fianlise): No need to free ctx->path. (gpg_ctx_new): No longer takes a path argument either. (gpg_ctx_free): No need to free ctx->path, it's no longer used. (gpg_ctx_op_start): Don't stat the path anymore and change the first arg to execvp to "gpg" so that we use the shell's environment to find gpg. (gpg_sign): Updated. (gpg_verify): Updated. (gpg_encrypt): Updated. (gpg_decrypt): Updated. (gpg_ctx_get_argv): Removed some debug printfs. svn path=/trunk/; revision=18383
* We need to treat message/rfc822 streams differently. Fixes bug #32378.Jeffrey Stedfast2002-10-172-1/+17
| | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): We need to treat message/rfc822 streams differently. Fixes bug #32378. svn path=/trunk/; revision=18382
* If mode == REPLY_LIST and the mlist is "" (we only checked NULL before),Jeffrey Stedfast2002-10-172-6/+11
| | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If mode == REPLY_LIST and the mlist is "" (we only checked NULL before), change the mode to REPLY_ALL so that we don't accidently reply to the user's address. Fixes bug #28735 svn path=/trunk/; revision=18381
* Mark the file selector modal. Quick fix for bug #32256.Not Zed2002-10-172-0/+6
| | | | | | | | | 2002-10-16 Not Zed <NotZed@Ximian.com> * e-msg-composer-select-file.c (select_file_internal): Mark the file selector modal. Quick fix for bug #32256. svn path=/trunk/; revision=18380
* no longer need to enter path.Aaron Weber2002-10-172-8/+4
| | | | | | | | 2002-10-16 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: no longer need to enter path. svn path=/trunk/; revision=18379
* Fixes #25153Rodrigo Moya2002-10-173-3/+15
| | | | | | | | | | | | | | 2002-10-15 Rodrigo Moya <rodrigo@ximian.com> Fixes #25153 * scripts/mkderivedvalues.pl: changed the _get functions for string values to return a NULL if arguments are wrong * src/libical/icalderivedvalue.c.in (icalvalue_get_x): return from function if pointer checking fails. svn path=/trunk/; revision=18378
* Don't include the byte reserved for the nul in the outleft size.Jeffrey Stedfast2002-10-171-17/+25
| | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't include the byte reserved for the nul in the outleft size. (e_utf8_from_iconv_string_sized): Same. (e_utf8_to_iconv_string_sized): Here too, but also make sure we pad the end of the resulting string with enough nul bytes (4) so that even multi-byte charsets are terminated correctly. (e_utf8_to_gtk_string_sized): Again here. svn path=/trunk/; revision=18377
* If we are trying to reply to a list, first check that we can by gettingJeffrey Stedfast2002-10-172-25/+8
| | | | | | | | | | | | 2002-10-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are trying to reply to a list, first check that we can by getting the mlist token (makes it easier to fix the mem leak). If not, then change the mode to REPLY_ALL. If we can reply to list, the make sure we free the CamelMessageInfo when we're done so we don't leak. svn path=/trunk/; revision=18376
* If we are trying to reply to a list, first check that we can by gettingJeffrey Stedfast2002-10-172-44/+72
| | | | | | | | | | | | | | 2002-10-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): If we are trying to reply to a list, first check that we can by getting the mlist token. If not, then change the mode to REPLY_ALL. If we can reply to list, the make sure we free the CamelMessageInfo when we're done so we don't leak. Also added a check to see if the mlist token could be found in the Reply-To ehader (since some mailing lists override the Reply-To with their address). svn path=/trunk/; revision=18375
* Add the new-mail-notify rule to the filter driver before adding the userJeffrey Stedfast2002-10-163-17/+35
| | | | | | | | | | | | | | | 2002-10-15 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): Add the new-mail-notify rule to the filter driver before adding the user defined filter rules so that we can be sure that the new-mail-notify rule gets invoked. Fixes bug #32328. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Make sure that name[0] cannot ever be NULL. Should maybe fix bug #32230. svn path=/trunk/; revision=18374
* Update supported/unsupported list.Aaron Weber2002-10-169-22/+77
| | | | | | | | | | | | | | | | 2002-10-15 Aaron Weber <aaron@ximian.com> * C/usage-exchange.sgml: Update supported/unsupported list. * C/topic.dat: Change "What is Evolution" to "Introduction" * C/usage-exchange.sgml: typo. * C/menuref.sgml: update keycapss. * C/usage-mainwindow.sgml: add note about command-line options. svn path=/trunk/; revision=18373
* Made tooltips more clear.Jeffrey Stedfast2002-10-162-3/+7
| | | | | | | | 2002-10-15 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-list.xml: Made tooltips more clear. svn path=/trunk/; revision=18372
* If the hash id is NULL, return CAMEL_CIPHER_HASH_DEFAULT. Fixes bugJeffrey Stedfast2002-10-162-8/+15
| | | | | | | | | 2002-10-15 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_id_to_hash): If the hash id is NULL, return CAMEL_CIPHER_HASH_DEFAULT. Fixes bug #32229. svn path=/trunk/; revision=18371
* Return right away rather than crashing if card->email is NULL.Dan Winship2002-10-162-0/+12
| | | | | | | | * backend/ebook/e-card.c (e_card_email_match_string): Return right away rather than crashing if card->email is NULL. (e_card_email_find_number): Likewise. svn path=/trunk/; revision=18370
* try to preserve the work week view setting if it makes sense (set_view):JP Rosevear2002-10-162-3/+22
| | | | | | | | | | | | 2002-10-11 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): try to preserve the work week view setting if it makes sense (set_view): don't update the info again based on our view change call svn path=/trunk/; revision=18369
* check if the selection fits in the leftover daysJP Rosevear2002-10-162-4/+28
| | | | | | | | | 2002-10-11 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_ensure_days_visible): check if the selection fits in the leftover days svn path=/trunk/; revision=18368
* Change the type in LDAP shortcuts from "ldap-contacts" to "contacts/ldap".Dan Winship2002-10-162-144/+62
| | | | | | | | | * upgrade-mailer.c (shortcuts_upgrade_xml_file): Change the type in LDAP shortcuts from "ldap-contacts" to "contacts/ldap". Rewrite this to use libxml since that was easier than trying to make the old code do both kinds of changes at once. svn path=/trunk/; revision=18367
* remove an unwanted spaceJeffrey Stedfast2002-10-151-1/+1
| | | | svn path=/trunk/; revision=18366
* Only set an account name if one doesn't already exist. Also use theJeffrey Stedfast2002-10-112-18/+29
| | | | | | | | | | | 2002-10-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (management_prepare): Only set an account name if one doesn't already exist. Also use the e_utf8_gtk_entry_get/set_text functions since account names are supposed to be in UTF8. Fixes bug #31891. svn path=/trunk/; revision=18365
* Removed the Run Once filter action.Jeffrey Stedfast2002-10-113-28/+26
| | | | | | | | 2002-10-10 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Removed the Run Once filter action. svn path=/trunk/; revision=18364
* Don't do anything if the message_list is NULL (this means theJeffrey Stedfast2002-10-112-1/+12
| | | | | | | | | | 2002-10-09 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (main_folder_changed): Don't do anything if the message_list is NULL (this means the FolderBrowser has been destroyed). Fixes bug #32002. svn path=/trunk/; revision=18363
* Updated Norwegian translation. Added new etspec files.Kjartan Maraas2002-10-103-284/+306
| | | | | | | | | 2002-10-10 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. * POTFILES.in: Added new etspec files. svn path=/trunk/; revision=18362
* [ Fix #7094, #7064, #7095, #31944, #31945 ] Hook up new etspec file.Kjartan Maraas2002-10-1014-146/+129
| | | | | | | | | | | | | | | | | | | | 2002-10-10 Kjartan Maraas <kmaraas@gnome.org> [ Fix #7094, #7064, #7095, #31944, #31945 ] * gui/component/Makefile.am: Hook up new etspec file. * gui/component/addressbook-config.c: Remove ETable spec. * gui/component/addressbook-config.etspec: New file. * gui/component/ldap-config.glade: Fix typo. * gui/component/select-names/e-select-names.c: Remove inline spec. * gui/component/select-names/e-select-names.etspec: New file. * gui/contact-list-editor/Makefile.am: Hook up etspec. * gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec. * gui/contact-list-editor/e-contact-list-editor.etspec: New file. * gui/widgets/Makefile.am: Hook up new spec. * gui/widgets/e-addressbook-view.c: Remove inline spec. * gui/widgets/e-addressbook-view.etspec: New file. svn path=/trunk/; revision=18361
* The CamelFolderInfo that we get back has nodes for all parent folders, soJeffrey Stedfast2002-10-102-2/+19
| | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): The CamelFolderInfo that we get back has nodes for all parent folders, so do not delete all folders that have nodes in the returned tree. Instead, descend into the tree until we find the folder we want to delete and start deleting from there. svn path=/trunk/; revision=18357
* If the response from the IMAP server is "No", don't set theJeffrey Stedfast2002-10-102-2/+11
| | | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (imap_read_response): If the response from the IMAP server is "No", don't set the SERVICE_UNAVAILABLE exception, this makes error reporting in the UI for deleting IMAP folders that cannot be deleted inaccurate (ie, it reports "Cannot delete in offline mode" which is not the problem). svn path=/trunk/; revision=18356
* fix 1.0/1.2 feature list discrepancies.Aaron Weber2002-10-092-20/+6
| | | | | | | | 2002-10-08 Aaron Weber <aaron@ximian.com> * C/usage-exchange.sgml: fix 1.0/1.2 feature list discrepancies. svn path=/trunk/; revision=18355
* add info about man page and so forth.Aaron Weber2002-10-093-3/+34
| | | | | | | | | | | 2002-10-08 Aaron Weber <aaron@ximian.com> * C/preface.sgml: add info about man page and so forth. * C/usage-mail.sgml: fix 30892, a cosmetic bug. svn path=/trunk/; revision=18354
* Mark a string for translation, fixes bug #31942. Thanks toJeffrey Stedfast2002-10-093-7/+12
| | | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (mail_signature_editor): Mark a string for translation, fixes bug #31942. Thanks to kmaraas@gnome.org for this patch. * mail-offline-handler.h: Don't #include config.h here. Fixes bug #31941. svn path=/trunk/; revision=18353
* Fixes #11434Rodrigo Moya2002-10-098-0/+102
| | | | | | | | | | | | | | | | | | | | | 2002-10-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #11434 * gui/dialogs/comp-editor-page.[ch] (comp_editor_page_display_validation_error): new function. * gui/dialogs/event-page.c (event_page_fill_component): * gui/dialogs/recurrence-page.c (fill_component): * gui/dialogs/task-details-page.c (task_details_page_fill_component): * gui/dialogs/task-page.c (task_page_fill_component): added checks for all date values, and return FALSE if we find some invalid date/times. * gui/dialogs/comp-editor.c (save_comp): activate the page that returns error in fill_component. svn path=/trunk/; revision=18352
* set the 24 hour format initiallyJP Rosevear2002-10-094-55/+15
| | | | | | | | | | | | | | | | 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_create_time_edit): set the 24 hour format initially 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c: remove pilot settings from contextual menu * gui/e-day-view.c: ditto svn path=/trunk/; revision=18351
* Don't maek "en" for translation. Fixes bug #31788.Jeffrey Stedfast2002-10-083-5/+10
| | | | | | | | | | | | | 2002-10-07 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): Don't maek "en" for translation. Fixes bug #31788. * mail-config.glade: Removed a "xxxxxxxxxxx" string so that translators don't need to translate it. It was only a filler string. Fixes bug #31789. svn path=/trunk/; revision=18350
* Update version number to 1.1.2.99.Ettore Perazzoli2002-10-082-2/+8
| | | | svn path=/trunk/; revision=18349
* Sync for 1.1.2.Ettore Perazzoli2002-10-0847-65689/+84821
| | | | svn path=/trunk/; revision=18347
* Fixes #31774Rodrigo Moya2002-10-082-2/+9
| | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #31774 * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): use correct pointer in loop. svn path=/trunk/; revision=18346
* cast the correct itemJP Rosevear2002-10-082-1/+6
| | | | | | | | | 2002-10-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct item svn path=/trunk/; revision=18345
* More fixups.Ettore Perazzoli2002-10-081-137/+148
| | | | svn path=/trunk/; revision=18344
* Add fixer's name to info.JP Rosevear2002-10-081-19/+19
| | | | svn path=/trunk/; revision=18343
* Remove a conflict tag.Mike Kestner2002-10-081-1/+0
| | | | | | Remove a conflict tag. svn path=/trunk/; revision=18342
* GAL news.Mike Kestner2002-10-081-0/+8
| | | | | | GAL news. svn path=/trunk/; revision=18341
* Oops, remove redundancy.JP Rosevear2002-10-081-7/+0
| | | | svn path=/trunk/; revision=18340
* Update.JP Rosevear2002-10-081-0/+43
| | | | svn path=/trunk/; revision=18339
* Update.Ettore Perazzoli2002-10-081-52/+61
| | | | svn path=/trunk/; revision=18338
* updated news for mailerJeffrey Stedfast2002-10-081-0/+59
| | | | svn path=/trunk/; revision=18337
* Update.Ettore Perazzoli2002-10-081-2/+72
| | | | svn path=/trunk/; revision=18336
* Set content->rawtext to TRUE for text parts because the content is in itsJeffrey Stedfast2002-10-082-7/+33
| | | | | | | | | | | | | 2002-10-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Set content->rawtext to TRUE for text parts because the content is in its raw form (since we didn't know the charset when we created it). Also only write out the content-object to discover the best encoding, we don't want to include the headers of the MIME part. Second half of the fix for bug #31655. svn path=/trunk/; revision=18335
* Fixes bug #31752Jeffrey Stedfast2002-10-083-12/+39
| | | | | | | | | | | | | | 2002-10-07 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #31752 * providers/smtp/camel-smtp-transport.c (connect_to_server): Don't forget to send another EHLO command to the server once we toggle into STARTTLS mode. (smtp_helo): Reset any flags set using the EHLO response and also any authtypes. svn path=/trunk/; revision=18334
* Fix all mailing list regex patterns to allow any number of spaces *or*Jeffrey Stedfast2002-10-082-11/+17
| | | | | | | | | | 2002-10-06 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: Fix all mailing list regex patterns to allow any number of spaces *or* tabs as pre-padding for the header values. svn path=/trunk/; revision=18333
* Change the selection mode to GTK_SELECTION_BROWSE so there is always aEttore Perazzoli2002-10-083-14/+18
| | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Change the selection mode to GTK_SELECTION_BROWSE so there is always a selection. The code here doesn't handle a NULL selection. [#31690] * e-shell-importer.c (import_cb): Only delay half a second (instead of 5 seconds) when getting EVOLUTION_IMPORTER_NOT_READY or EVOLUTION_IMPORTER_BUSY. * importer/evolution-importer-listener.c (impl_GNOME_Evolution_ImporterListener_notifyResult): Removed debugging message. svn path=/trunk/; revision=18332
* Fixes crash in #19159Rodrigo Moya2002-10-072-7/+23
| | | | | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes crash in #19159 * gui/alarm-notify/alarm-queue.c (lookup_queued_alarm): don't crash if we don't find the queued alarm in the internal list. (alarm_trigger_cb, create_snooze, display_notification, audio_notification, procedure_notification, remove_queued_alarm): check return value from lookup_queued_alarm. svn path=/trunk/; revision=18331
* Fixes #15892Rodrigo Moya2002-10-0711-26/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #15892 * idl/evolution-calendar.idl: added notifyErrorOccurred method to the Listener interface, so that backends can notify clients of errors that can't be reported otherwise. * pcs/cal.[ch] (cal_notify_error): new function. * pcs/cal-backend-file.c (save): made to save to temporary file and then moved to the correct file, so that we don't lose any data if there's a problem while saving. (notify_error): new function for notifying error messages to clients. * cal-client/cal-listener.[ch]: added new callback function for getting error messages from backends. (impl_notifyErrorOccurred): new method implementation. (cal_listener_class_init): initialize new epv member. (cal_listener_init, cal_listener_destroy, cal_listener_construct, cal_listener_new): initialize new function pointer. * cal-client/cal-client.[ch]: adapted to changes in CalListener class. (cal_client_class_init): added "backend_error" signal to CalClient class. (backend_error_cb): callback for "error_occurred" signal on the CalListener, which just emits the "backend_error" signal of CalClient. * gui/gnome-cal.c (gnome_calendar_construct): connect to "backend_error" signal on the CalClient's we create. (backend_error_cb): display error message on error from backend. * gui/e-tasks.c: likewise. svn path=/trunk/; revision=18329
* Updated Norwegian translation.Kjartan Maraas2002-10-052-854/+965
| | | | | | | | 2002-10-04 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=18328
* new function, emit cancelled so the folder selector button will sensitizeChris Toshok2002-10-052-0/+20
| | | | | | | | | | | | 2002-10-04 Chris Toshok <toshok@ximian.com> * e-shell-folder-selection-dialog.c (delete_event_cb): new function, emit cancelled so the folder selector button will sensitize the parent window again. (e_shell_folder_selection_dialog_construct): connect the delete_event signal. svn path=/trunk/; revision=18327
* Don't default 'me' to the source account until after we've tried to detectJeffrey Stedfast2002-10-052-13/+45
| | | | | | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Don't default 'me' to the source account until after we've tried to detect the account based on recipients. When adding accounts to the account hash, if any accounts have identical email addresses, the ones that are enabled take precedence over ones that aren't. This will hopefully make everyone happy with reply account picking. Fixes bug #31693. svn path=/trunk/; revision=18326
* Don't create a new file if the file doesn't exist.Jeffrey Stedfast2002-10-052-2/+8
| | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): Don't create a new file if the file doesn't exist. svn path=/trunk/; revision=18325
* Remove "..." from "Remove Other User's Folder" since it doesn't pop up aDan Winship2002-10-052-1/+6
| | | | | | | * evolution.xml: Remove "..." from "Remove Other User's Folder" since it doesn't pop up a dialog. #31576. svn path=/trunk/; revision=18324
* Use the content-object's rawtext flag to decide if it needs to be filteredJeffrey Stedfast2002-10-052-1/+8
| | | | | | | | | | | 2002-10-03 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part.c (write_to_stream): Use the content-object's rawtext flag to decide if it needs to be filtered through the charset filter instead of using the mime part's rawtext flag since this will never be set. Partial fix for bug #31655. svn path=/trunk/; revision=18323
* [ Fix #28392 ] #if 0 out the gal_view submenu, since it's not spec'ed toChris Toshok2002-10-052-0/+9
| | | | | | | | | | | 2002-10-02 Chris Toshok <toshok@ximian.com> [ Fix #28392 ] * gui/widgets/e-addressbook-view.c (do_popup_menu): #if 0 out the gal_view submenu, since it's not spec'ed to be there anyway (as per bug #16250). svn path=/trunk/; revision=18322
* Dont get the filter driver inside the change_lock. Its not necessary, andNot Zed2002-10-042-5/+16
| | | | | | | | | | | 2002-10-03 Not Zed <NotZed@Ximian.com> * camel-folder.c (folder_changed): Dont get the filter driver inside the change_lock. Its not necessary, and can cause deadlock with the way the mailer gets the filter driver via g_mainloop. Should fix #31572. svn path=/trunk/; revision=18321
* call drop_timeoutMike Kestner2002-10-041-2/+1
| | | | | | | | 2002-10-02 Mike Kestner <mkestner@ximian.com> * e-table-search.c (e_table_search_destroy): call drop_timeout svn path=/trunk/; revision=18319
* Map us-ascii to windows-1252 also.Jeffrey Stedfast2002-10-042-1/+7
| | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * camel-charset-map.c (camel_charset_iso_to_windows): Map us-ascii to windows-1252 also. svn path=/trunk/; revision=18318
* removed unneeded g_assert which was preventing the alarm daemon to startRodrigo Moya2002-10-032-2/+6
| | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): removed unneeded g_assert which was preventing the alarm daemon to start correctly in some cases. svn path=/trunk/; revision=18317
* Fixes #30057Rodrigo Moya2002-10-039-42/+106
| | | | | | | | | | | | | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #30057 * cal-client/cal-client.c (cal_client_is_read_only): added check of the status of the client before trying to make CORBA calls. * gui/calendar-commands.c (sensitize_calendar_commands, sensitize_taskpad_commands): * gui/tasks-control.c (sensitize_commands): * gui/dialogs/event-editor.c (set_menu_sens): * gui/dialogs/task-editor.c (set_menu_sens): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/e-day-view.c (e_day_view_on_event_right_click): * gui/e-week-view.c (e_week_view_show_popup_menu): take into account the read-onlyness of clients to disable/enable menu items. svn path=/trunk/; revision=18316
* Add missing ;.Michael Zucci2002-10-031-1/+1
| | | | svn path=/trunk/; revision=18315
* /home/notzed/gnome/head/evolution/camelNot Zed2002-10-035-22/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-02 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (get_matching): Set *set to NULL if we dont get any matches. (imap_sync_online): If we get no matches, skip any work, also reorder some code to make it easier to skip. See #31031. * providers/imap/camel-imap-store.c (imap_check_folder_still_extant): Default to "TRUE", if the list command failed, it probably means a server problem, assume the worst. This makes imap_refresh_info not clear the exception and crash. Fixes crash of #31000. 2002-10-01 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_refresh_info): Make sure we pass the exception to imap_folder_selected(), otherwise failures can be lost. See bug #31000. 2002-10-01 Not Zed <NotZed@Ximian.com> * camel-folder.c (thaw): Add an assertion that the frozen count>0. (freeze): Same for >= 0. * camel-vee-folder.c (camel_vee_folder_remove_folder): Use the unmatched freeze_count when thawing folders removed from unmatched, rather than the folder's freeze_count. Might be related to #27391. svn path=/trunk/; revision=18314
* oops, didn't want to change thatJohn Corwin2002-10-031-1/+1
| | | | svn path=/trunk/; revision=18294
* shouldn't need automake-1.4John Corwin2002-10-031-1/+1
| | | | svn path=/trunk/; revision=18293
* free adapter->priv.Chris Toshok2002-10-021-30/+29
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-23 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy): free adapter->priv. * gui/widgets/e-addressbook-model.c (addressbook_destroy): free model->query. * gui/component/select-names/e-select-names-manager.c (load_completion_books): use e_book_expand_uri here, and free the expanded uri after calling addressbook_load_uri, plugging a leak. * gui/component/select-names/e-select-names.c (set_book): unref esn->model before we unref esn. fixes an edge case memory corruption bug. (clear_widget): utility function to set a widget's ref to NULL when it's destroyed. (e_select_names_init): hook the status_message, categories option menu, and select_entry to clear_widget. (addressbook_model_set_uri): use e_book_expand_uri. svn path=/trunk/; revision=18292
* If the user hits cancel when signing/encrypting, don't continueJeffrey Stedfast2002-10-022-2/+8
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If the user hits cancel when signing/encrypting, don't continue constructing the message, instead abort (and just don't pop up a dialog). svn path=/trunk/; revision=18291
* When signing/encrypting a part, if a USER_CANCEL occurs, re-use the partJeffrey Stedfast2002-10-022-2/+10
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): When signing/encrypting a part, if a USER_CANCEL occurs, re-use the part otherwise unref it and replace it with the new part. svn path=/trunk/; revision=18290
* (drag_data_get_cb): silence warning.Larry Ewing2002-10-022-1/+2
| | | | | | | | 2002-10-01 Larry Ewing <lewing@ximian.com> (drag_data_get_cb): silence warning. svn path=/trunk/; revision=18289
* add support for dragging the content type directly.Larry Ewing2002-10-022-3/+44
| | | | | | | | | | | 2002-10-01 Larry Ewing <lewing@ximian.com> * mail-display.c (drag_data_get_cb): add support for dragging the content type directly. (do_attachment_header): add the target for the mime type to the drag source. svn path=/trunk/; revision=18288
* Connect to the changed signal for the reply_to entry box. Fixes bugsJeffrey Stedfast2002-10-022-1/+6
| | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (get_fn): Connect to the changed signal for the reply_to entry box. Fixes bugs #31553 and #31554. svn path=/trunk/; revision=18287
* Only setup the languages if the language_seq is not CORBA_OBJECT_NIL.Jeffrey Stedfast2002-10-022-7/+13
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_setup): Only setup the languages if the language_seq is not CORBA_OBJECT_NIL. Fixes bug #31559 (presumably at least). svn path=/trunk/; revision=18286
* Use e_utf8_gtk_entry_set_text for the email address and reply-to fields.Jeffrey Stedfast2002-10-022-2/+6
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Use e_utf8_gtk_entry_set_text for the email address and reply-to fields. Fixes bug #31555. svn path=/trunk/; revision=18285
* Handle a multipart/encrypted part. Fixes bug #31547.Jeffrey Stedfast2002-10-022-1/+14
| | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_get_message_body): Handle a multipart/encrypted part. Fixes bug #31547. svn path=/trunk/; revision=18284
* Use strtol when decoding the timezone (since it can be negative) and don'tJeffrey Stedfast2002-10-022-1/+10
| | | | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (decode_internaldate): Use strtol when decoding the timezone (since it can be negative) and don't forget to increment inptr to the start of the time (ie, don't leave inptr pointing to the year when decoding the hour:min:sec). svn path=/trunk/; revision=18283
* added isReadOnly method to Cal interface.Rodrigo Moya2002-10-028-1/+103
| | | | | | | | | | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added isReadOnly method to Cal interface. * pcs/cal.c (impl_Cal_is_read_only): new method implementation. * pcs/cal-backend.[ch]: added is_read_only method to CalBackend class. (cal_backend_is_read_only): new function. * pcs/cal-backend-file.c (cal_backend_file_is_read_only): new method. (cal_backend_file_class_init): set new signal's virtual method. * cal-client/cal-client.[ch] (cal_client_is_read_only): new function. svn path=/trunk/; revision=18282
* Allocate the right number of bytes whenEttore Perazzoli2002-10-022-1/+7
| | | | | | | appending the string value [it was allocating one fewer than necessary]. [#28321] svn path=/trunk/; revision=18281
* Shut up some compiler warnings.Jeffrey Stedfast2002-10-022-3/+5
| | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Shut up some compiler warnings. svn path=/trunk/; revision=18280
* Use the camel_message_info_new/free functions rather than g_new0 andJeffrey Stedfast2002-10-023-113/+60
| | | | | | | | | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * importers/evolution-mbox-importer.c (process_item_fn): Use the camel_message_info_new/free functions rather than g_new0 and g_free. Also, if we fail to parse a message make sure we don't later try to use that message object. (get_info_from_mozilla): Use camel_message_info_new and strtoul instead of string_to_int. 2002-09-30 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_node_to_shell_path): Removed (useless). svn path=/trunk/; revision=18279
* [Fix #24732]Ettore Perazzoli2002-10-022-2/+13
| | | | | | | | | | (process_item_fn): Set deleted to FALSE when not having Mozilla status headers. Before it was being left uninitialized and so there was a pretty good chance that its value would be nonzero and hence the message would not be imported... svn path=/trunk/; revision=18278
* Fixes #15710Rodrigo Moya2002-10-013-1/+60
| | | | | | | | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * gui/dialogs/alarm-page.c (alarm_page_init): added a X-EVOLUTION-NEEDS-DESCRIPTION property, so that we later set it correctly if it hasn't been set in the meanwhile (editing options for the alarm). * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): removed X-EVOLUTION-NEEDS-DESCRIPTION property from alarms every time we set the description of the alarm. svn path=/trunk/; revision=18277
* Fixes #30290Rodrigo Moya2002-10-012-3/+9
| | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #30290 * importers/icalendar-importer.c (process_item_fn): return a status of BUSY rather than NOT_READY, to avoid the display of the error message. svn path=/trunk/; revision=18276
* cursor activated on etable is required to know when the selection changesNot Zed2002-10-012-0/+16
| | | | | | | | | | | | 2002-10-01 Not Zed <NotZed@Ximian.com> * folder-browser.c (on_cursor_activated): cursor activated on etable is required to know when the selection changes on a single row, update selection changed info with this signal too. Sounds like an etable bug to me, but this fixes #29808. (folder_browser_gui_init): Hook onto above signal. svn path=/trunk/; revision=18275
* [ Fixes #31321 ] add VERSION:2.1 to exported vCards.Chris Toshok2002-10-012-0/+8
| | | | | | | | | | 2002-09-30 Chris Toshok <toshok@ximian.com> [ Fixes #31321 ] * backend/ebook/e-card.c (e_card_get_vobject): add VERSION:2.1 to exported vCards. svn path=/trunk/; revision=18274
* Fixes bug #31456.Jeffrey Stedfast2002-10-013-43/+79
| | | | | | | | | | | | | | | | | | | | | | | | 2002-09-30 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #31456. * providers/imap/camel-imap-store.c (imap_connect_online): Don't LSUB "" "*", instead get both an LSUB containing the subfolders of the namespace and an LSUB of INBOX (assuming namespace was non-empty). This fix really has nothing to do with bug #31456 but is what should have been done in the first place. (parse_list_response_as_folder_info): Simplify a tad and strip extra leading /'s from fi->path. (imap_build_folder_info): Strip extra leading /'s from fi->path. * camel-store.c (camel_folder_info_build): Don't strip the namespace from the fi->full_name when hashing or creating fake parent folder-infos. Fixes a bug I found while trying to reproduce bug #31456. (camel_folder_info_build_path): Strip off extra leading dir_sep chars from the path. svn path=/trunk/; revision=18273
* [ Partial fix for #30657 ] remove Bigfoot, since ldap.bigfoot.com noChris Toshok2002-10-012-7/+6
| | | | | | | | | | 2002-09-30 Chris Toshok <toshok@ximian.com> [ Partial fix for #30657 ] * addressbook-sources.xml: remove Bigfoot, since ldap.bigfoot.com no longer resolves. svn path=/trunk/; revision=18272
* [ Fixes #31434 ] always retrieve the card from the db. use the summaryChris Toshok2002-10-012-0/+17
| | | | | | | | | | | | | 2002-09-30 Chris Toshok <toshok@ximian.com> [ Fixes #31434 ] * backend/pas/pas-backend-file.c (do_summary_query): always retrieve the card from the db. use the summary strictly for matching, not for storing all information. This fixes completion of contact lists, since only 3 addresses were being stored and contact lists can have more. svn path=/trunk/; revision=18271
* Don't strip the namespace from the fi->full_name when hasing or creatingJeffrey Stedfast2002-10-013-15/+11
| | | | | | | | | | | 2002-09-30 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (camel_folder_info_build): Don't strip the namespace from the fi->full_name when hasing or creating fake parent folders. Fixes a bug I found while trying to reproduce bug #31456. svn path=/trunk/; revision=18270
* load multi_day_split (calconduit_save_configuration): save itJP Rosevear2002-10-012-4/+95
| | | | | | | | | | | | | | | | | | | | | | 2002-09-30 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (calconduit_load_configuration): load multi_day_split (calconduit_save_configuration): save it (calconduit_dupe_configuration): copy it (e_cal_gui_new): create gui for it (e_cal_gui_fill_widgets): fill gui with value (e_cal_gui_fill_config): get value from gui and store in config (e_calendar_context_destroy): destroy new_cfg and gui properly (process_multi_day): skip item if its multi-day and we don't want to split (fill_widgets): fill local config widgets (create_settings_window): create local config widgets (save_settings): fill config from local widgets Fixes #23763 svn path=/trunk/; revision=18269
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-0122-18/+75
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* [Add a small delay to the switching of pages in the multi-configEttore Perazzoli2002-10-012-10/+56
| | | | | | | | | | | | | | | | | dialog. This makes keyboard navigation slightly nicer, and also happens to fix mysterious bug #28931.] New constant SWITCH_PAGE_INTERVAL. New members set_page_timeout_id and set_page_timeout_page in EMultiConfigDialogPrivate. (init): Initialize new member variables. (table_cursor_change_callback): Set up a timeout instead of switching right away. (set_page_timeout_callback): Timeout function to switch page after a small delay. (impl_destroy): Remove a pending timeout. svn path=/trunk/; revision=18267
* Add FileRemoveOtherUsersFolderDan Winship2002-10-012-1/+10
| | | | | | * evolution.xml: Add FileRemoveOtherUsersFolder svn path=/trunk/; revision=18266
* Calls e_shell_command_remove_shared_folder. (file_verbs): Set upDan Winship2002-10-0113-102/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_remove_other_users_folder): Calls e_shell_command_remove_shared_folder. (file_verbs): Set up command_remove_other_users_folder. * e-shell-folder-commands.c (e_shell_command_remove_shared_folder): New. Calls e_storage_set_async_remove_shared_folder with a callback to pop up an error dialog if it fails. * e-storage-set.c (e_storage_set_async_remove_shared_folder): Implement. Mostly like async_remove_folder. * e-storage.c (e_storage_supports_shared_folders, e_storage_async_discover_shared_folder, e_storage_async_remove_shared_folder): New methods. Default implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED. * e-corba-storage.c (supports_shared_folders, async_discover_shared_folder, async_remove_shared_folder): Implement using CORBA. * Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder * e-shell-shared-folder-picker-dialog.c: Remove all the CORBA stuff from here and use the new EStorage methods. (setup_server_option_menu): Use e_storage_supports_shared_folders. (discover_folder): Use e_storage_async_discover_shared_folder. * evolution-storage.c (impl_Storage_asyncRemoveSharedFolder): Implement this by emitting a REMOVE_SHARED_FOLDER signal. (impl_Storage_asyncDiscoverSharedFolder): Make the DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like all the other signals do. (class_init): Set up REMOVE_SHARED_FOLDER signal. svn path=/trunk/; revision=18265
* If we return from evolution_shell_client_user_select_folder to find thatDan Winship2002-10-012-0/+17
| | | | | | | | | * evolution-folder-selector-button.c (clicked): If we return from evolution_shell_client_user_select_folder to find that our parent window has been destroyed, unref it and bail out, since that means we've been destroyed (and probably finalized) too. #31360 svn path=/trunk/; revision=18264
* Change the accelerator of ToolsSubscriptions to be "u".Ettore Perazzoli2002-09-303-2/+11
| | | | | | | | | | * evolution-mail-global.xml: Change the accelerator of ToolsSubscriptions to be "u". * evolution.xml: Add PilotConduitSettings in Tools. Rename "Preferences" to "Settings" as per Anna's request. svn path=/trunk/; revision=18263
* update for Composer_setHeaders change.Dan Winship2002-09-302-2/+7
| | | | | | | * backend/ebook/e-card.c (e_card_list_send): update for Composer_setHeaders change. svn path=/trunk/; revision=18261
* let the caller set the "From" account too (by name or address).Dan Winship2002-09-303-4/+34
| | | | | | | | | | * Evolution-Composer.idl (setHeaders): let the caller set the "From" account too (by name or address). * evolution-composer.c (impl_Composer_set_headers): Update for that. svn path=/trunk/; revision=18260
* Remove debug content_info_dump, could cause a crash, and not really neededNot Zed2002-09-303-4/+14
| | | | | | | | | | | | | 2002-09-30 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): Remove debug content_info_dump, could cause a crash, and not really needed anymore. * camel-folder-summary.c (camel_content_info_dump): Check ci->type != NULL before dereferencing it. Should fix crash #31331. svn path=/trunk/; revision=18259
* translate prompt from utf8 to gtk widget. #31365.Not Zed2002-09-302-7/+10
| | | | | | | | | 2002-09-30 Not Zed <NotZed@Ximian.com> * mail-session.c (request_password): translate prompt from utf8 to gtk widget. #31365. svn path=/trunk/; revision=18258
* Don't reuse the part that we've signed and/or encrypted, create a new partJeffrey Stedfast2002-09-282-1/+10
| | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Don't reuse the part that we've signed and/or encrypted, create a new part container instead. Fixes bug #31379. svn path=/trunk/; revision=18257
* use the fg color array in style, not text color. Change requested by ChrisMike Kestner2002-09-281-2/+2
| | | | | | | | | 2002-09-27 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_get_cell_foreground_color): use the fg color array in style, not text color. Change requested by Chris Lahey. svn path=/trunk/; revision=18256
* [ fixes #27521 ] always unref the contact editor when we get theChris Toshok2002-09-282-3/+10
| | | | | | | | | | | 2002-09-27 Chris Toshok <toshok@ximian.com> [ fixes #27521 ] * gui/contact-editor/e-contact-quick-add.c (editor_closed_cb): always unref the contact editor when we get the editor_closed signal. svn path=/trunk/; revision=18255
* Remove "/Toolbar/New" and "/Toolbar/NewTask" since they're not there anyDan Winship2002-09-282-2/+6
| | | | | | | | * gui/calendar-commands.c (pixmaps): Remove "/Toolbar/New" and "/Toolbar/NewTask" since they're not there any more. Kills some bonobo-ui spewage. svn path=/trunk/; revision=18254
* Non-Connector part of #29334 (meeting created by a delegate in theDan Winship2002-09-2819-45/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delegator's calendar should have the delegator as Organizer). * idl/evolution-calendar.idl: add Cal_getEmailAddress, to return the email address associated with a backend (if any). * pcs/cal-backend.c (cal_backend_get_email_address): New. * pcs/cal-backend-file.c (cal_backend_file_get_email_address): Return NULL (for now). * pcs/cal.c (impl_Cal_get_email_address): Implement this by calling cal_backend_get_email_address and returning a NotFound exception if it returns NULL. * cal-client/cal-client.c (cal_client_get_email_address): New. (cal_client_init, cal_client_destroy, etc): initialize/free email_address * gui/dialogs/event-editor.c (event_editor_construct): Split this out of event_editor_init. Take and set a CalClient. (event_editor_new): Take a CalClient. * gui/dialogs/task-editor.c (task_editor_construct, task_editor_new): Likewise. * gui/dialogs/meeting-page.c (meeting_page_new, meeting_page_construct): Take a CalClient and call cal_client_get_email_address to find the default organizer address. (Also fix a bug if the default account's name has non-ASCII characters.) * gui/itip-utils.c (comp_from): New. When sending a REQUEST or CANCEL, use the Organizer as the From address. (itip_send_comp): Call comp_from and pass the result to Composer_setHeaders. * gui/comp-editor-factory.c (edit_existing, edit_new): Pass the CalClient to event_editor_new/task_editor_new * gui/e-calendar-table.c (open_task): Likewise. * gui/e-tasks.c (e_tasks_new_task): Likewise. * gui/gnome-cal.c (gnome_calendar_edit_object, gnome_calendar_new_task): Likewise. svn path=/trunk/; revision=18253
* New function to decode the INTERNALDATE response from an IMAP server so weJeffrey Stedfast2002-09-285-22/+152
| | | | | | | | | | | | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (decode_internaldate): New function to decode the INTERNALDATE response from an IMAP server so we don't have to use my broken-date-parser routines. 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (connect_to_server): NULL-check the streams before unreffing them in the case of a failure during ssl negotiations. * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): Check SSL_ResetHandshake() for errors. Also force a handshake after we've reset the handshake state on the socket. svn path=/trunk/; revision=18252
* set the timeout to 30 seconds. (query_ldap_root_dse): same, and alsoChris Toshok2002-09-282-23/+43
| | | | | | | | | | | | | | 2002-09-27 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (check_schema_support): set the timeout to 30 seconds. (query_ldap_root_dse): same, and also return the ldap_error since this function is the one that actually causes openldap to connect() to the ldap host. (pas_backend_ldap_connect): check the return value of query_ldap_root_dse, and error out if it's not SUCCESS. svn path=/trunk/; revision=18251
* #include <stdlib.h> for alloca (searcher_next_token): Changed slightly toJeffrey Stedfast2002-09-282-11/+26
| | | | | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c: #include <stdlib.h> for alloca (searcher_next_token): Changed slightly to make sure that m is not NULL before dereferencing it. Also initialise m to NULL so that it can't be used uninitialised (NULL is a safe initialised value here). (build_trie): Same, but for n. svn path=/trunk/; revision=18250
* added standard header comment containing GPL license infoJeffrey Stedfast2002-09-281-4/+17
| | | | svn path=/trunk/; revision=18249
* added standard header comment containing GPL licenseJeffrey Stedfast2002-09-281-4/+18
| | | | svn path=/trunk/; revision=18248
* Ooops.Ettore Perazzoli2002-09-281-4/+3
| | | | svn path=/trunk/; revision=18247
* updatedRadek Doulik2002-09-281-4570/+8128
| | | | svn path=/trunk/; revision=18246
* Set a timeout to call mail_config_write() in 2 seconds. Otherwise changesDan Winship2002-09-282-0/+37
| | | | | | | | | | | | * mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount, impl_GNOME_Evolution_MailConfig_removeAccount): Set a timeout to call mail_config_write() in 2 seconds. Otherwise changes made by this interface would not be saved to disk unless the user also changed some other preference. (mail_config_write_on_exit): If there's a config_write_timeout pending, call mail_config_write() too. svn path=/trunk/; revision=18245
* New icon for "Post a Reply" from Jakub.Dan Winship2002-09-283-0/+5
| | | | | | * post-reply-24.png: New icon for "Post a Reply" from Jakub. svn path=/trunk/; revision=18244
* (create_page_container): Don't set upEttore Perazzoli2002-09-282-0/+7
| | | | | | the description label here. svn path=/trunk/; revision=18243
* Use the summary's last uid as the one to fetch from, ignoring the cache.Not Zed2002-09-273-22/+43
| | | | | | | | | | | | | | | 2002-09-27 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): Use the summary's last uid as the one to fetch from, ignoring the cache. Use strotul instead of atoi as well. * providers/imap/camel-imap-store.c (get_folder_counts): If we have the folder open, and the unread count has changed, refresh it. Should fix #30399 enough. Also in non-check-all mode, if we have the folder open, use it anyway. svn path=/trunk/; revision=18242
* Change folder type to "contacts/ldap". (addressbook_storage_add_source):Dan Winship2002-09-272-3/+12
| | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Change folder type to "contacts/ldap". (addressbook_storage_add_source): Likewise. (create_ldap_folder): Check for type being "contacts" not ldap contacts, since the ldap-specific type doesn't appear in the menu. svn path=/trunk/; revision=18241
* (e_summary_mail_generate_html): Generate HTMLEttore Perazzoli2002-09-272-3/+7
| | | | | | for the folder even if the unread count is zero. svn path=/trunk/; revision=18240
* Add member physical_uri to ESummaryMailFolder.Ettore Perazzoli2002-09-273-32/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | Removed member name. Renamed FolderStore.folders to FolderStore.path_to_folder and added FolderStore.physical_uri_to_folder. (new_folder_cb): Set physical_uri member. (update_folder_cb): Likewise. (new_folder_cb): Pass physical_uri to e_summary_mail_idle_get_info(). Also g_strdup() it since that's what it expects. (remove_folder_cb): Free physical_uri. (mail_change_notify): Compare against folder->physical_uri, not ->path. (e_summary_mail_reconfigure): Pass folder->physical_uri to e_summary_mail_get_info, not ->path. (e_summary_mail_uri_to_name): Removed. (e_summary_folder_init_folder_store): Initialize path_to_folder and physical_uri_to_folder. (new_folder_cb): Add the folder to the physical_uri_to_folder hash too. (mail_change_notify): Use physical_uri_to_folder to figure out the folder from the uri. (e_summary_mail_reconfigure): Here as well. svn path=/trunk/; revision=18239
* (folder_list_from_vector): Do someEttore Perazzoli2002-09-272-3/+17
| | | | | | sanity checking so we don't crash miserably as in #28481. svn path=/trunk/; revision=18238
* Take out CNN and DebianPlanet, which doEttore Perazzoli2002-09-272-3/+6
| | | | | | not seem to work for me. svn path=/trunk/; revision=18237
* (load_folder): Always return TRUE, even in theEttore Perazzoli2002-09-272-1/+6
| | | | | | unknown-type case. svn path=/trunk/; revision=18236
* new helper function, g_strdown with forced C locale (e_iconv_init): useRadek Doulik2002-09-271-4/+21
| | | | | | | | | | | 2002-09-26 Radek Doulik <rodo@ximian.com> * gal/util/e-iconv.c (C_g_strdown): new helper function, g_strdown with forced C locale (e_iconv_init): use C_g_strdown (e_iconv_charset_name): ditto svn path=/trunk/; revision=18235
* only change the attendee value if it isn't emptyJP Rosevear2002-09-272-1/+7
| | | | | | | | | 2002-09-26 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (set_value_at): only change the attendee value if it isn't empty svn path=/trunk/; revision=18234
* set history_id on GnomeFileEntry, to actually get the history.Rodrigo Moya2002-09-262-1/+6
| | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (importer_file_page_new): set history_id on GnomeFileEntry, to actually get the history. svn path=/trunk/; revision=18233
* Should fix once for all #24210Rodrigo Moya2002-09-266-29/+80
| | | | | | | | | | | | | | | | | | | | | | 2002-09-26 Rodrigo Moya <rodrigo@ximian.com> Should fix once for all #24210 * idl/evolution-calendar.idl: changed the notifyObjUpdated method of the QueryListener interface accept a list of UIDs. * cal-client/query-listener.[ch] (impl_notifyObjUpdated): likewise for the QueryListener class. * cal-client/cal-query.c (obj_updated_cb): changed to adapt the multiple-id's received in the QueryListener class' signal to the one-by-one update notification of the public CalQuery class, thus keeping the changes needed for this minimal. * pcs/query.c (add_component, start_cached_query_cb): changed to send sequences of UIDs. svn path=/trunk/; revision=18232
* Treat spool as a local folder, so the ref checks work right.Not Zed2002-09-263-4/+6
| | | | | | | | | | | | 2002-09-26 Not Zed <NotZed@Ximian.com> * tests/folder/test2.c (main): Treat spool as a local folder, so the ref checks work right. * providers/local/camel-spool-store.c (get_folder): Use creat() instead of open() to create file. svn path=/trunk/; revision=18231
* Implement FOLDER_CREATE flag. (scan_dir): Dont free name on exception, itsNot Zed2002-09-264-20/+101
| | | | | | | | | | | | | | | | | | | | 2002-09-26 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-store.c (get_folder): Implement FOLDER_CREATE flag. (scan_dir): Dont free name on exception, its alloca'd. (scan_dir): If we start scanning from a file, just add that directly. (scan_dir): Allow empty files to also show up in folder list, as well as files starting with "From ". * providers/local/camel-spool-folder.c (camel_spool_folder_new): Check folder != NULL before writing to it. * providers/local/camel-local-store.c (create_folder): Handle a parent of NULL for creating top-level dirs. Part of #31186. svn path=/trunk/; revision=18230
* Store the folder flags in the store summary. (get_one_folder_offline): SetNot Zed2002-09-262-3/+27
| | | | | | | | | | | | 2002-09-26 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): Store the folder flags in the store summary. (get_one_folder_offline): Set the noselect url parameter if this is a noselect folder, from the stored summary flags. #30877. svn path=/trunk/; revision=18229
* Handle EILSEQ by eating bytes in the input buffer until conversion isJeffrey Stedfast2002-09-262-88/+115
| | | | | | | | | | | 2002-09-23 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-charset.c (complete): Handle EILSEQ by eating bytes in the input buffer until conversion is successful. The old behaviour aborted when it got EILSEQ and just dumped the raw data. (filter): Same. Fixes bug #30873. svn path=/trunk/; revision=18228
* Added a test suite for camel-mime-filter-charset and added a few test cases ↵Jeffrey Stedfast2002-09-268-11/+1059
| | | | | | for it. input charset files should be in the form "charset-%s.%d.in" where %s is the charset name that the file is in and %d is just some number as in a sequence id. Mostly just so we can have multiple test files per charset svn path=/trunk/; revision=18227
* Add a margin around the "flag for followup" table so it lines up withDan Winship2002-09-262-4/+15
| | | | | | | | | | * mail-display.c (mail_display_render): Add a margin around the "flag for followup" table so it lines up with everything else. Also, don't add "at your earliest convenience" after the flag if there's no date set, since that doesn't make any sense for half of the flags. ("For Your Information at your earliest convenience"). svn path=/trunk/; revision=18226
* Use "mail/*" as the allowed folder type.Dan Winship2002-09-263-2/+9
| | | | | | | | | * filter-folder.c (get_widget): Use "mail/*" as the allowed folder type. * vfolder-rule.c (source_add): Likewise svn path=/trunk/; revision=18225
* Use "mail/*" for the allowed_types for the posting folder selector.Dan Winship2002-09-262-1/+6
| | | | | | | * e-msg-composer-hdrs.c (create_headers): Use "mail/*" for the allowed_types for the posting folder selector. svn path=/trunk/; revision=18224
* add "mail/public". Leave "vtrash" as it is rather than renaming it toDan Winship2002-09-265-13/+47
| | | | | | | | | | | | | | | | | | | | | | | * component-factory.c (folder_types): add "mail/public". Leave "vtrash" as it is rather than renaming it to "mail/vtrash", because we want it to behave differently from normal mail folders more often than we want it to behave the same. (type_is_mail, type_is_vtrash): utility funcs (create_view, create_folder, remove_folder, xfer_folder, populate_folder_context_menu, unpopulate_folder_context_menu, destination_folder_handle_drop, storage_create_folder): Use type_is_mail/type_is_vtrash. (create_component): Register "New Post" with "mail/public" instead of "mail" so it becomes the default New icon for it. (29024) * mail-callbacks.c (transfer_msg): Use "mail/*" for allowed type. * message-browser.c (transfer_msg): Likewise. * mail-account-gui.c (mail_account_gui_new): Use "mail/*" instead of "mail" here for sent/drafts allowed type. (?) svn path=/trunk/; revision=18223
* Add "calendar/public" and "tasks/public". (type_is_calendar,Dan Winship2002-09-265-38/+110
| | | | | | | | | | | | | | | | | * gui/component-factory.c (folder_types): Add "calendar/public" and "tasks/public". (type_is_calendar, type_is_tasks): New utility functions (create_view, create_folder, remove_folder, xfer_folder, sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks * importers/icalendar-importer.c (get_uri_from_folder_path): allow importing into public calendar/task folders too. * gui/e-itip-control.c: Note that it's intentional that we use "calendar" and "tasks" here instead of "calendar/*" and "tasks/*". (31032) svn path=/trunk/; revision=18222
* Rename "ldap-contacts" to "contacts/ldap" and add "contacts/public".Dan Winship2002-09-265-4/+27
| | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (folder_types): Rename "ldap-contacts" to "contacts/ldap" and add "contacts/public". (IS_CONTACT_TYPE): update for new types. * gui/component/select-names/e-select-names.c (e_select_names_init): Use "contacts/*" for selector_types. * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): Likewise. * gui/component/GNOME_Evolution_Addressbook.oaf.in: add "evolution:config_item:type" = "contacts/ldap" to the LDAP sources control so it comes up by default when you open Preferences in an LDAP folder. svn path=/trunk/; revision=18221
* If one of the allowed types is "type/*", allow anything starting withDan Winship2002-09-265-12/+55
| | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-selection-dialog.c (check_folder_type_valid): If one of the allowed types is "type/*", allow anything starting with "type/". (impl_clicked): If the first allowed type is "type/*", pass "type" to e_shell_show_folder_creation_dialog. * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): Handle "type/*" as an allowed type. * e-shell-settings-dialog.c (e_shell_settings_dialog_show_type): If there are no pages for the current folder type, try the parent type (eg, "mail" for "mail/public"). * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Use "contacts/*" as the allowed folder type. svn path=/trunk/; revision=18220
* Make the Zoom accels the same as galeon so people will shut the fuck upJeffrey Stedfast2002-09-262-3/+9
| | | | | | | | | 2002-09-25 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-message.xml: Make the Zoom accels the same as galeon so people will shut the fuck up about it. svn path=/trunk/; revision=18219
* NULL-check si->folders before passing it into find_folder so we don'tJeffrey Stedfast2002-09-262-1/+7
| | | | | | | | | | 2002-09-25 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (imap_url_upgrade): NULL-check si->folders before passing it into find_folder so we don't crash. Fixes bug #30915. svn path=/trunk/; revision=18218
* free adapter->priv.Chris Toshok2002-09-264-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-23 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy): free adapter->priv. * gui/widgets/e-addressbook-model.c (addressbook_destroy): free model->query. * gui/component/select-names/e-select-names-manager.c (load_completion_books): use e_book_expand_uri here, and free the expanded uri after calling addressbook_load_uri, plugging a leak. * gui/component/select-names/e-select-names.c (set_book): unref esn->model before we unref esn. fixes an edge case memory corruption bug. (clear_widget): utility function to set a widget's ref to NULL when it's destroyed. (e_select_names_init): hook the status_message, categories option menu, and select_entry to clear_widget. (addressbook_model_set_uri): use e_book_expand_uri. svn path=/trunk/; revision=18217
* [Finish fixing #11645.]Ettore Perazzoli2002-09-266-46/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (xfer_result_callback): Don't update the shortcuts here anymore since now the shell takes care of it. * e-shell.c (storage_set_moved_folder_callback): New callback for EStorageSetView::folder_moved; update the shortcuts. (e_shell_construct): Connect. * e-storage-set.c: Renamed StorageConverterCallbackData to StorageCallbackData. New members destination_folder, source_folder, operation in it. (class_init): Install "moved_folder" signal. (storage_callback_data_new): Renamed from storage_converter_callback_data_new. (storage_callback_data_free): New. (storage_callback): Renamed from storage_callback_converter. Use storage_callback_data_free(). (e_storage_set_async_create_folder): Updated to use the storage_callback and storage_callback_data_new(). (e_storage_set_async_remove_folder): Likewise. (e_storage_set_async_xfer_folder): Likewise. * e-storage-set.h: New signal "moved_folder". svn path=/trunk/; revision=18216
* if the item being sent is not a meeting, send it as a mixed item with aJP Rosevear2002-09-262-7/+105
| | | | | | | | | | | | 2002-09-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): if the item being sent is not a meeting, send it as a mixed item with a description and the calendar text in an attachment Fixes #30638 svn path=/trunk/; revision=18215
* added a comment about the fix for #30918.Rodrigo Moya2002-09-262-0/+7
| | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.c (ping_component_callback): added a comment about the fix for #30918. svn path=/trunk/; revision=18214
* Fixes #27961Rodrigo Moya2002-09-252-0/+12
| | | | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #27961 * pcs/cal-backend-file.c (cal_backend_file_update_object): set the LAST-MODIFIED time of the components when we save them. svn path=/trunk/; revision=18213
* add the gtk2 keypad entries (resync with gdk).Larry Ewing2002-09-251-10/+34
| | | | | | | | | 2002-09-25 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c: add the gtk2 keypad entries (resync with gdk). svn path=/trunk/; revision=18212