aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attach to the resorted signal instead of the changed signal on the sortedChristopher James Lahey2001-09-253-77/+54
| | | | | | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_sorted_node_resorted): Attach to the resorted signal instead of the changed signal on the sorted model. * e-tree-sorted.c, e-tree-sorted.h (e_tree_sorted_node_resorted): Added this signal. svn path=/trunk/; revision=13108
* add evolutionperson.schema (EXTRA_DIST): add LDAP_SCHEMA to the dist (butChris Toshok2001-09-252-1/+15
| | | | | | | | | | 2001-09-24 Chris Toshok <toshok@ximian.com> * backend/pas/Makefile.am (LDAP_SCHEMA): add evolutionperson.schema (EXTRA_DIST): add LDAP_SCHEMA to the dist (but don't install it). svn path=/trunk/; revision=13107
* Set the exception to FOLDER_INVALID rather than making out it worked. A42001-09-252-0/+12
| | | | | | | | | | 2001-09-24 <NotZed@Ximian.com> * camel-folder.c (append_message): Set the exception to FOLDER_INVALID rather than making out it worked. A fix for #7025. (search_by_expression): Here too. svn path=/trunk/; revision=13106
* Use the correct prototype for the signal handler.Federico Mena Quintero2001-09-252-6/+8
| | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table.c (et_canvas_button_press): Use the correct prototype for the signal handler. * e-tree.c (et_canvas_button_press): Likewise. svn path=/trunk/; revision=13105
* Use e_strftime_fix_am_pm instead of strftime.Christopher James Lahey2001-09-252-5/+10
| | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * message-list.c (filter_date): Use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13104
* Bumped the required version of gal to 0.12.99.0.Christopher James Lahey2001-09-252-1/+5
| | | | | | | | 2001-09-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal to 0.12.99.0. svn path=/trunk/; revision=13103
* Assert that the virtual method is implemented instead of being forgiving.Federico Mena Quintero2001-09-254-111/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table-group.c (e_table_group_add): Assert that the virtual method is implemented instead of being forgiving. (e_table_group_add_array): Likewise. (e_table_group_add_all): Likewise. (e_table_group_remove): Likewise. (e_table_group_increment): Likewise. (e_table_group_decrement): Likewise. (e_table_group_row_count): Likewise. (e_table_group_set_focus): Likewise. (e_table_group_get_focus): Likewise. (e_table_group_get_focus_column): Likewise. (e_table_group_get_printable): Likewise. (e_table_group_compute_location): Likewise. (e_table_group_get_cell_geometry): Likewise. (etg_destroy): Clear the fields after we unref them. * e-table-group-leaf.c (etgl_destroy): Clear the fields after we unref them. (e_table_group_leaf_construct): Subsets should not be sunk. Do not ref/sink the subset. * e-table-header.c (e_table_header_add_column): Document the fact that the header assumes ownership of the column. svn path=/trunk/; revision=13102
* In the 'lose' case, free messages, not fetch_data twice!42001-09-252-1/+4
| | | | | | | | | 2001-09-24 <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): In the 'lose' case, free messages, not fetch_data twice! svn path=/trunk/; revision=13101
* Make the printouts here conditionally compiled out.Christopher James Lahey2001-09-252-2/+7
| | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load, ecmlw_save): Make the printouts here conditionally compiled out. svn path=/trunk/; revision=13100
* Fixed some brokennessKevin Breit2001-09-252-1/+4
| | | | | | | | 2001-09-24 Kevin Breit <battery841@mediaone.net> * C/usage-calendar.sgml: Fixed some brokenness svn path=/trunk/; revision=13099
* Documented Insert -> Link a wee bit moreKevin Breit2001-09-252-1/+32
| | | | | | | | 2001-09-24 Kevin Breit <battery841@mediaone.net> * C/usage-mail.sgml: Documented Insert -> Link a wee bit more svn path=/trunk/; revision=13098
* Removed unused variables.42001-09-254-42/+81
| | | | | | | | | | | | | | | | | | | | | 2001-09-24 <NotZed@Ximian.com> * mail-local.c (mls_get_folder): Removed unused variables. * component-factory.c (storage_create_folder): Remove unused variable. * mail-format.c (write_default_header): Used to write a header that we know about/normally print. Use a static header table to index these. (write_header): removed. (default_header_index): Return the index of the default header. (write_headers): Changed the way it writes headers a bit. Use write_default_header or write_text_header directly. Also try and use the header charset as a fallback if the header can't be decoded using the locale charset. svn path=/trunk/; revision=13097
* If the type is encoded, get the fallback charset from the message42001-09-2512-140/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-24 <NotZed@Ximian.com> * camel-filter-search.c (check_header): If the type is encoded, get the fallback charset from the message content-type. * camel-mime-part-utils.c (check_html_charset): Dont check for charset==null before calling charset_to_iconv. (simple_data_wrapper_construct_from_parser): " * camel-mime-message.c (process_header): Try use content-type charset param as the fallback charset. * camel-charset-map.c (camel_charset_to_iconv): Handle name == NULL, return NULL. * camel-folder-summary.c (camel_folder_summary_format_address): (camel_folder_summary_format_string): Made private again, removed #warning about it. Renamed to s/camel_folder//. (summary_format_string): Take default charset param. (camel_message_info_new_from_header, message_info_new): Decode content-type field to get the charset parameter to use as the default charset for decoding strings. * camel-search-private.c (camel_search_header_match): Pass NULL as the charset, the locale charset is always tried. (camel_search_header_match): Supply a default_charset parameter to be used with TYPE_ENCODED params. * camel-mime-utils.c (header_param): get rid of the g_strcasecmp crap. (header_set_param): Same here. (header_decode_param_list): And here. (header_decode_text): Totally rewritten. 30% of its size. If the word is not rfc2047 encoded, always try default_charset if supplied, if that fails, try locale charset if it exists, if that fails then assume latin1/7 bit ascii. (append_8bit): Changed to return FALSE if we can't convert for whatever reason, and dont append anything. * camel-mime-part.h (struct _CamelMimePart): Move content_type and headers out of the 'private' section. * camel-mime-part.c (get_headers): Dont do any conversion on the header. (process_header): Get the content-type charset as the fallback charset for decode_string. (construct_from_parser): IF we have a content-type header, process it before doing anything else, so we have access to a fallback charset for invalid headers. svn path=/trunk/; revision=13096
* Updated Lithuanian translation.Gediminas Paulauskas2001-09-242-1897/+1516
| | | | | | | | 2001-09-24 Gediminas Paulauskas <menesis@delfi.lt> * lt.po: Updated Lithuanian translation. svn path=/trunk/; revision=13095
* Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>Stano Visnovsky2001-09-242-298/+225
| | | | | | * sk.po: Updated Slovak translation. svn path=/trunk/; revision=13094
* Updated French translation.Christophe Merlet2001-09-242-317/+285
| | | | svn path=/trunk/; revision=13093
* base text on component typeJP Rosevear2001-09-242-7/+43
| | | | | | | | | 2001-09-23 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): base text on component type svn path=/trunk/; revision=13092
* sync the note the to pilot and make sure to blank fields when appropriateJP Rosevear2001-09-242-25/+31
| | | | | | | | | | 2001-09-23 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): sync the note the to pilot and make sure to blank fields when appropriate (local_record_from_ecard): sync the note to the desktop svn path=/trunk/; revision=13091
* fixed compile warningJeffrey Stedfast2001-09-241-3/+2
| | | | svn path=/trunk/; revision=13090
* Always cache POP and IMAP passwords, even if the user didn't tell us to.Jeffrey Stedfast2001-09-242-0/+10
| | | | | | | | | 2001-09-23 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (pass_got): Always cache POP and IMAP passwords, even if the user didn't tell us to. Fixes bug #10569. svn path=/trunk/; revision=13089
* Don't even try to alert the user if the session isn't interactive.Jeffrey Stedfast2001-09-243-27/+43
| | | | | | | | | | | | | | | | | 2001-09-23 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (ssl_verify): Don't even try to alert the user if the session isn't interactive. (errlib_error_to_errno): Make the default errno EINTR so that we act just like CamelTcpStreamSSL. * camel-pgp-context.c (pgp_sign): When the password is not provided, set the exception to USER_CANCEL. (pgp_clearsign): Same. (pgp_encrypt): And here. (pgp_decrypt): Here too. svn path=/trunk/; revision=13088
* /s/Algún nuve/Algunas nuves/Carlos Perelló Marín2001-09-232-1/+5
| | | | | | | | 2001-09-23 Carlos Perelló Marín <carlos@gnome-db.org> * es.po: /s/Algún nuve/Algunas nuves/ svn path=/trunk/; revision=13087
* Updated Slovenian translationAndraz Tori2001-09-231-1513/+1513
| | | | svn path=/trunk/; revision=13086
* Updated Spanish translation.Hector Garcia2001-09-232-167/+63
| | | | svn path=/trunk/; revision=13085
* Updated Slovenian translationAndraz Tori2001-09-231-5835/+3878
| | | | svn path=/trunk/; revision=13084
* when creating the cards, don't display any of the subname fields (surname,Chris Toshok2001-09-232-1/+7
| | | | | | | | | | 2001-09-22 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (remodel): when creating the cards, don't display any of the subname fields (surname, given, middle, suffix, etc.) svn path=/trunk/; revision=13083
* add getters for the additional name fields. (field_data): move FAMILY_NAMEChris Toshok2001-09-233-2/+41
| | | | | | | | | | | | | 2001-09-22 Chris Toshok <toshok@ximian.com> * backend/ebook/e-card-simple.c (e_card_simple_get): add getters for the additional name fields. (field_data): move FAMILY_NAME to the end of the list, and add GIVEN_NAME, ADDITIONAL_NAME (middle name), and NAME_SUFFIX. * backend/ebook/e-card-simple.h: same. svn path=/trunk/; revision=13082
* Bumped the version number to 0.12.99.0.Christopher James Lahey2001-09-233-7/+74
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.12.99.0. From a patch by Damian Ivereigh <damian@cisco.com>: * gal/util/e-util.c, gal/util/e-util.h (e_strftime_fix_am_pm): New function, takes the same arguments as strftime, but does some fixup if the given string is in 12 hour mode but the locale doesn't have AM/PM descriptors. From gal/e-table/ChangeLog: 2001-09-22 Christopher James Lahey <clahey@ximian.com> From a patch by Damian Ivereigh <damian@cisco.com>: * e-cell-date.c: Made this use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13081
* Updated Polish translationChyla Zbigniew2001-09-222-3679/+3567
| | | | svn path=/trunk/; revision=13080
* Small fixKjartan Maraas2001-09-221-1/+1
| | | | svn path=/trunk/; revision=13079
* Updated Norwegian (bokmål) translation. Added camel/camel-vee-store.c andKjartan Maraas2001-09-223-182/+176
| | | | | | | | | 2001-09-22 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. * POTFILES.in: Added camel/camel-vee-store.c and camel/camel-folder.c svn path=/trunk/; revision=13078
* Changed to 99. (VERSION): Added ".$EVOLUTION_MICRO_VERSION" suffix.Nat Friedman2001-09-222-2/+7
| | | | | | | | | 2001-09-21 Nat Friedman <nat@ximian.com> * configure.in (EVOLUTION_MICRO_VERSION): Changed to 99. (VERSION): Added ".$EVOLUTION_MICRO_VERSION" suffix. svn path=/trunk/; revision=13077
* Some grammar changes suggested by my girlfriend Amanda...props to Amanda!Kevin Breit2001-09-222-2/+4
| | | | | | | | 2001-09-21 Kevin Breit <battery841@mediaone.net> * C/usage-mail.sgml: Some grammar changes suggested by my girlfriend Amanda...props to Amanda! svn path=/trunk/; revision=13076
* If we have an operation that failed before, dont show the dialogue for the12001-09-222-1/+32
| | | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * mail-mt.c (mail_msg_check_error): If we have an operation that failed before, dont show the dialogue for the the new error. Also use gtk_widget_show rather than invoking another main loop. Fix for lazy people who like to leave their mailers running and go home. svn path=/trunk/; revision=13075
* Sync for 0.14.Ettore Perazzoli2001-09-2232-50748/+72740
| | | | svn path=/trunk/; revision=13073
* Remove timezone.png...Iain Holmes2001-09-222-1/+4
| | | | svn path=/trunk/; revision=13072
* Hooked up print preview button.Christopher James Lahey2001-09-226-4/+121
| | | | | | | | | | | | | | | | 2001-09-21 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook.c (print_preview_cb): Hooked up print preview button. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h (e_addressbook_view_print_preview): Added this function. * printing/e-contact-print.c, printing/e-contact-print.h (e_contact_print_preview): Added this function. svn path=/trunk/; revision=13071
* Add missing width/height tags to the sunny/cloudy/etc images to make theDan Winship2001-09-222-1/+8
| | | | | | | | * e-summary-weather.c (weather_make_html): Add missing width/height tags to the sunny/cloudy/etc images to make the page render more smoothly. svn path=/trunk/; revision=13070
* Set a timezone iconIain Holmes2001-09-222-1/+98
| | | | svn path=/trunk/; revision=13069
* Add timeszone-16.xpmIain Holmes2001-09-222-1/+7
| | | | svn path=/trunk/; revision=13068
* updated NEWSJeffrey Stedfast2001-09-221-0/+42
| | | | svn path=/trunk/; revision=13067
* Updated.12001-09-222-0/+50
| | | | | | | | 2001-09-21 <NotZed@Ximian.com> * NEWS (Mail): Updated. svn path=/trunk/; revision=13066
* UpdateJP Rosevear2001-09-221-0/+2
| | | | svn path=/trunk/; revision=13065
* Use the mail-tools convenience functions to remove and restore theJeffrey Stedfast2001-09-223-74/+14
| | | | | | | | | | 2001-09-21 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Use the mail-tools convenience functions to remove and restore the X-Evolution headers. (mail_update_subfolders): Removed. svn path=/trunk/; revision=13064
* Beta4 splashJakub Steiner2001-09-222-0/+4
| | | | svn path=/trunk/; revision=13063
* Expand a ~ in the pathIain Holmes2001-09-222-1/+6
| | | | svn path=/trunk/; revision=13062
* updated calendar & tasks stuffDamon Chaplin2001-09-221-0/+19
| | | | svn path=/trunk/; revision=13061
* Added mailer news I forgot earlier.Jon Trowbridge2001-09-221-2/+9
| | | | svn path=/trunk/; revision=13060
* All made redundant by new mail-folder-cache code. (delete_folders,Michael Zucci2001-09-224-113/+11
| | | | | | | | | | | | | | | * mail-callbacks.c (mail_storage_create_folder, folder_created, create_folders): All made redundant by new mail-folder-cache code. (delete_folders, folder_deleted): Uh, code that isn't used anywhere. Removed. * component-factory.c (storage_create_folder): Dont call folder_created, let the folder_created event handle the update. * mail-ops.c (mail_scan_subfolders): Remove, no longer used. svn path=/trunk/; revision=13059
* Updated.Ettore Perazzoli2001-09-221-15/+17
| | | | svn path=/trunk/; revision=13058
* Update.Ettore Perazzoli2001-09-221-25/+52
| | | | svn path=/trunk/; revision=13057
* Set the exception if create_folder isn't implemented.12001-09-222-0/+8
| | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * camel-store.c (create_folder): Set the exception if create_folder isn't implemented. svn path=/trunk/; revision=13056
* Added more NEWS items here.Christopher James Lahey2001-09-222-1/+22
| | | | | | | | 2001-09-21 Christopher James Lahey <clahey@ximian.com> * NEWS (Addressbook): Added more NEWS items here. svn path=/trunk/; revision=13055
* Go back to not using camel_folder_info_build() here because this seems toJeffrey Stedfast2001-09-222-4/+18
| | | | | | | | | | | 2001-09-21 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (create_folder): Go back to not using camel_folder_info_build() here because this seems to break folder creation (returning nodes from the root path when it shouldn't be?). svn path=/trunk/; revision=13054
* Use url path as full_name, not shell path. (mail_local_folder_construct):12001-09-222-23/+13
| | | | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * mail-local.c (mail_local_store_add_folder): Use url path as full_name, not shell path. (mail_local_folder_construct): Remove path argument, and use the full_name instead. (mls_get_folder): Dont lookup folderinfo in cache. Like duh the shell hasn't told me its there yet, smaaaart. svn path=/trunk/; revision=13053
* NEWSIain Holmes2001-09-221-0/+25
| | | | svn path=/trunk/; revision=13052
* Added some news for Ettore.Jon Trowbridge2001-09-221-0/+19
| | | | svn path=/trunk/; revision=13051
* Check for a component for the given row *after* trying to handleEttore Perazzoli2001-09-222-5/+14
| | | | | | | | | | | * e-storage-set-view.c (tree_drag_motion): Check for a component for the given row *after* trying to handle EVOLUTION_PATH_TARGET_TYPE. Otherwise, we always fail in the case of dnd between a folder and the toplevel node of its storage. (find_matching_target_for_drag_context): If not on a folder, always return EVOLUTION_PATH_TARGET_TYPE. svn path=/trunk/; revision=13050
* Verfied to make sure it was accurate against the calendar inKevin Breit2001-09-222-38/+145
| | | | | | | | 2001-09-21 Kevin Breit <battery841@mediaone.net> * C/usage-calendar.sgml: Verfied to make sure it was accurate against the calendar in functionality. Also added info about RSVP, scheduling appointments, and the like! Finally did this. svn path=/trunk/; revision=13049
* don't use gnome_vfs_uri_new_private (fixes Ximian #10544)Rodrigo Moya2001-09-213-14/+17
| | | | | | | | | 2001-09-20 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c: don't use gnome_vfs_uri_new_private (fixes Ximian #10544) svn path=/trunk/; revision=13048
* *** empty log message ***Rodrigo Moya2001-09-211-0/+2
| | | | svn path=/trunk/; revision=13047
* Updated Slovak translation.Stanislav Visnovsky2001-09-212-850/+940
| | | | | | | | 2001-09-21 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation. svn path=/trunk/; revision=13046
* Force a refresh of vfolders before storing their count. This essentially12001-09-214-3/+101
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * camel-vee-store.c (vee_get_folder_info): Force a refresh of vfolders before storing their count. This essentially makes 'get_folderinfo' refresh all vfolders, so that get-mail works as expected. * camel-vee-folder.c (camel_vee_folder_finalise): Clear lists. (folder_changed): If we're not autoupdating the folder, then add this folder to the list of 'changed' folders for this vfolder. (camel_vee_folder_set_expression): Reset the folders_changed list. (camel_vee_folder_remove_folder): Remove the folder from the folders_changed list. (camel_vee_folder_set_folders): If we have a folder already, but its changed, use this opportunity to update it. (vee_sync): Remove any synced folders from the folders_changed list. (vee_refresh_info): Refresh folder, re-run queries on any changed folders. svn path=/trunk/; revision=13045
* Take a new argument 'done' that can callback when complete. Fixed callers12001-09-217-17/+46
| | | | | | | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * mail-folder-cache.c (mail_note_store): Take a new argument 'done' that can callback when complete. Fixed callers appropriately. * mail-ops.c (mail_update_subfolders): Removed. Isn't used anymore. * mail-send-recv.c (receive_update_got_store): Remove call to mail_update_subfolders. svn path=/trunk/; revision=13044
* Instead of using pthread_cancel() which seems to have numerous12001-09-212-62/+56
| | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Instead of using pthread_cancel() which seems to have numerous implementation issues, send a special quit message to the subordinate thread. (thread_dispatch): When it gets a quit message, well, quit! svn path=/trunk/; revision=13043
* Dont let drafts/outbox/sent be added via a generic 'all local folders'02001-09-212-0/+8
| | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-vfolder.c (check_source): Dont let drafts/outbox/sent be added via a generic 'all local folders' rule. svn path=/trunk/; revision=13042
* trigger a folder changed event, so the folderinfocache stuff has a chance02001-09-213-10/+29
| | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * component-factory.c (got_folder): trigger a folder changed event, so the folderinfocache stuff has a chance to see if this is the outbox_folder or not. * mail-folder-cache.c (update_1folder): If we have -1 unread count, pass that as 0 to the shell so it doesn't go bolding. (setup_folder): Same. svn path=/trunk/; revision=13041
* New function to just load the summary. Not much use yet, until unreadMichael Zucci2001-09-215-1/+96
| | | | | | | | | | | | | | | | | | | | | * camel-folder-summary.c (camel_folder_summary_header_load): New function to just load the summary. Not much use yet, until unread counts are stored in the summary (which now looks like too much work!). * camel-mime-utils.c (header_decode_mailbox): Crappy fix for stupid mailers. If we get 'name b. name <foo>' then treat it as '"name b. name" <foo>'. See 8147. (header_decode_mailbox): Another fix for really broken mailers that have things that look like addresses followed by <address> bits. (rfc2047_encode_word): Escape ??= to avoid some bizarre warning about trigraphs. (scan_dir): If we dont have the folder open, then scan the 'new' and 'cur' folders for new and unread messages to count instead. svn path=/trunk/; revision=13040
* Only add the account if it doesn't already exist in the config db.Jeffrey Stedfast2001-09-214-3/+17
| | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Only add the account if it doesn't already exist in the config db. * mail-config.c (mail_config_find_account): New convenience function. svn path=/trunk/; revision=13039
* updated NEWS for 0.14Jeffrey Stedfast2001-09-211-0/+16
| | | | svn path=/trunk/; revision=13038
* Do not add the account here as this is taken care of inJeffrey Stedfast2001-09-215-38/+48
| | | | | | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (wizard_finish_cb): Do not add the account here as this is taken care of in mail_account_gui_save() since it has to be able to set the default account. * mail-config.c (mail_config_set_default_account): Don't allow the index to become invalid. * mail-account-gui.c (mail_account_gui_save): Add the account before setting it as the default. svn path=/trunk/; revision=13037
* Update the status bar here, assuming we've just been activated.02001-09-216-22/+49
| | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * folder-browser.c (folder_browser_set_shell_view): Update the status bar here, assuming we've just been activated. * mail-ops.c (add_vtrash_info): Scan whole list, rather than missing the last one. Also dont assume its always the last, otherwise we could lose following folders. * mail-vfolder.c (all): d(x) out debug printfs * mail-folder-cache.c (update_1folder): If its a vtrash folder, or the outbox_folder, and we have a folder, then make the 'count' the total message count, not unread messages count. svn path=/trunk/; revision=13036
* Setup unread count properly, and also setup the url properly.Michael Zucci2001-09-214-13/+36
| | | | | | | | | | | | * providers/local/camel-local-folder.c (camel_local_folder_construct): Setup unread count properly, and also setup the url properly. (scan_dir): Dont include empty host part in url for folder. (scan_dir): Lookup folder counts for any folders we currenty have open. svn path=/trunk/; revision=13035
* move to DocBook 4.1Aaron Weber2001-09-2110-52/+71
| | | | | | | | | | | | | | | | | | 2001-09-20 Aaron Weber <aaron@ximian.com> * C/usage-mainwindow.sgml: move to DocBook 4.1 * C/usage-mail-org.sgml: move to DocBook 4.1 * C/usage-mail.sgml: move to DocBook 4.1 * C/config-sync.sgml: move to DocBook 4.1 * C/apx-gloss.sgml: move to DocBook 4.1 * C/evolution.sgml: move to DocBook 4.1 svn path=/trunk/; revision=13034
* Turn off the o(x) debug set, & include alloca.h & config.h.02001-09-212-1/+10
| | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * ibex_block.c: Turn off the o(x) debug set, & include alloca.h & config.h. svn path=/trunk/; revision=13033
* Turn off the o(x) debug set.02001-09-212-1/+5
| | | | | | | | 2001-09-20 <NotZed@Ximian.com> * ibex_block.c: Turn off the o(x) debug set. svn path=/trunk/; revision=13032
* #include a few files we were missing from libgnomevfs.Federico Mena Quintero2001-09-213-0/+9
| | | | | | | | | 2001-09-20 Federico Mena Quintero <federico@ximian.com> * gui/component-factory.c: #include a few files we were missing from libgnomevfs. svn path=/trunk/; revision=13031
* Don't "note" the folder if we failed to get it.Jeffrey Stedfast2001-09-212-10/+10
| | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Don't "note" the folder if we failed to get it. svn path=/trunk/; revision=13030
* Set the sensitivity of the buttons correctlyIain Holmes2001-09-212-1/+8
| | | | svn path=/trunk/; revision=13029
* Update to reflect changes to mail_get_folder.Jeffrey Stedfast2001-09-212-1/+6
| | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save_draft): Update to reflect changes to mail_get_folder. svn path=/trunk/; revision=13028
* Fixed a typo here where we were setting the running height based on theChristopher James Lahey2001-09-211-1/+1
| | | | | | | | | | 2001-09-20 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (reflow_columns): Fixed a typo here where we were setting the running height based on the height of object number 2 instead of the current object. Fixes Ximian bug #8807. svn path=/trunk/; revision=13026
* Removed. (folder_bar_popup_map_callback): Don't connect.Ettore Perazzoli2001-09-212-55/+34
| | | | | | | | | | | | | * e-shell-view.c (storage_set_view_box_event_cb): Removed. (folder_bar_popup_map_callback): Don't connect. (reparent_storage_set_view_box_and_destroy_popup): Don't ungrab here. (popdown_transient_folder_bar): Ungrab here. (popdown_transient_folder_bar_idle): New. (switch_on_folder_tree_click): Invoke it in the idle loop. Also, ungrab. svn path=/trunk/; revision=13025
* Remove the grab if ->grabbed.Ettore Perazzoli2001-09-211-0/+5
| | | | | | * e-table-item.c (eti_unrealize): Remove the grab if ->grabbed. svn path=/trunk/; revision=13024
* Lock around hashtable/list manipulation. Also dont try scan vfolder_hash02001-09-219-102/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_register_source): Lock around hashtable/list manipulation. Also dont try scan vfolder_hash if it hasn't been setup yet. (source_finalise): Lock around list access. (rule_changed): Lock around hash access. (context_rule_added): Lock around hash access. (context_rule_removed): " (rule_changed): Lock around list access. * mail-local.c (storage_listener_startup): Fix for api change. (local_storage_new_folder_cb): Dont skip over leading / in path. (local_storage_removed_folder_cb): ditto. * mail-folder-cache.c (create_folders): No longer pass prefix between recursive calls - we have the path in the folderinfo. (setup_folder): No longer take path arg, we get it from folderinfo. (mail_note_folder): No longer take path arg, we use folder->full_name to key the folder table. (mail_note_store): Consolidate note_store interface, pass storage or corba_storage to it. (mail_note_local_store): Removed. * mail-ops.c (add_unmatched_info): Scan for unmatched name and re-title. svn path=/trunk/; revision=13023
* Build the path on the folderinfo.02001-09-2111-27/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * providers/local/camel-maildir-store.c (camel_folder_info_new): Build the path on the folderinfo. * providers/local/camel-spool-store.c (get_folder_info): If we have this folder open, then set unread from the folder itself. (get_folder_info): Change the INBOX path to not include the leading /. * providers/local/camel-spool-folder.c (camel_spool_folder_construct): Fix path. (camel_spool_folder_construct): Properly setup the url field when we say we've got a new folder created. * providers/imap/camel-imap-store.c (unsubscribe_folder): Build path on folderinfo. * camel-store.c (camel_folder_info_build_path): Prepend / to path. * camel-vee-folder.c (camel_vee_folder_construct): Use macro for unmatched folder name. (camel_vee_folder_new): " * camel-vee-store.c (vee_get_folder_info): Use macro for unmatched folder name. (vee_delete_folder): " (vee_rename_folder): " (vee_get_folder): Prepend / onto path. (vee_delete_folder): Setup path in folderinfo. (vee_get_folder_info): Fix path in folderinfo. * camel-vee-folder.h (CAMEL_UNMATCHED_NAME): New define for unmatched (internal) name. svn path=/trunk/; revision=13022
* Create nonexistant files.Iain Holmes2001-09-212-12/+8
| | | | svn path=/trunk/; revision=13021
* Set the folder info path.Jeffrey Stedfast2001-09-212-9/+13
| | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_add_folder): Set the folder info path. svn path=/trunk/; revision=13020
* And finally here.Jeffrey Stedfast2001-09-217-27/+108
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-spool-folder.c (camel_spool_folder_construct): And finally here. * providers/local/camel-local-folder.c (camel_local_folder_construct): And here. * camel-vee-store.c (vee_get_folder): ANd here too. (vee_get_folder_info): And here. * providers/imap/camel-imap-store.c (create_folder): Use camel_folder_info_build() and do better error checking. (subscribe_folder): Set the path on the folder info. * camel-store.c (camel_folder_info_build): Set the folder-info path if it hasn't already been set by the caller. (camel_folder_info_free): Free the path. * camel-store.h: Added a path member to the FolderInfo type. svn path=/trunk/; revision=13019
* Red Carpet RDFIain Holmes2001-09-212-0/+5
| | | | svn path=/trunk/; revision=13018
* Register vfolder sources here.02001-09-2111-12/+49
| | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-tools.c(mail_tool_uri_to_folder): Register vfolder sources here. * folder-browser.c (got_folder): Dont register vfolder sources here. * mail-ops.c (mail_get_folder): Add thread parameter. Fix callers. * mail-vfolder.c (vfolder_setup): Use the 'slow' queue for setting up vfolders. * mail-mt.c (mail_msg_init): Limit the maximum number of threads on the 'new' thread to 10. (mail_msg_init): Create a new queue 'slow' for doing slow operations. svn path=/trunk/; revision=13017
* Make a neater error reportIain Holmes2001-09-213-3/+8
| | | | svn path=/trunk/; revision=13016
* gets a config db (cal_backend_file_destroy): release config dbJP Rosevear2001-09-214-19/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (load_db): gets a config db (cal_backend_file_destroy): release config db (cal_backend_file_init): use load_db (mail_account_get): gets a mail account by number (mail_account_get_default): gets the default mail account (mail_account_is_valid): looks to see if any accounts have the given address (create_user_free_busy): modularize so we can call multiple times if necessary, set organizer (cal_backend_file_get_free_busy): if the list of users is null, use the default account otherwise get the same info for each address that is an identity in the mailer * gui/itip-utils.c (itip_addresses_get): s/gint/glong/ for bonobo conf returns * gui/calendar-commands.c (publish_freebusy_cmd): fix problems from a merge so that we publish 6 weeks of free/busy information again svn path=/trunk/; revision=13015
* Dont special case file: url's anymore.02001-09-214-41/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Dont special case file: url's anymore. * mail-local.c: Add real_path to MailLocalFolder. (mail_local_folder_construct): Added path argument, setup full_name == path, and real_path == full_name. (mls_get_folder): First lookup folderinfo to confirm this folder exists, then use that to properly construct the folder paths. (mail_local_folder_reconfigure): Use real_path not full_name to create the store uri. (mlf_set_folder): Use real_path not folder_name to get real uri path. 2001-09-19 <NotZed@Ximian.com> * mail-folder-cache.c (setup_store): Use the wrong spelling of finalised for the event hook. (real_note_folder): Use the wrong spelling of finalised for the event hook. (free_folder_info): Free the full_name parameter. (setup_folder): (real_note_folder): Key the folderinfo table on full_name, not path. svn path=/trunk/; revision=13014
* Convert all textual parts to 8bit before saving. Fixes bug #10388.Jeffrey Stedfast2001-09-213-2/+39
| | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_messages_save): Convert all textual parts to 8bit before saving. Fixes bug #10388. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Oops, don't free memory that we don't own. svn path=/trunk/; revision=13013
* Only start wizard thing if there are no mail accountsIain Holmes2001-09-212-4/+9
| | | | svn path=/trunk/; revision=13012
* don't free memory that we don't own.Jeffrey Stedfast2001-09-212-5/+11
| | | | svn path=/trunk/; revision=13011
* No need to have g_warnings here. If it's done properly, therapeutically,Dan Winship2001-09-212-2/+6
| | | | | | | | * mail-config.c (evolution_mail_config_factory_init): No need to have g_warnings here. If it's done properly, therapeutically, there's no danger involved. svn path=/trunk/; revision=13010
* Nuke debug warning.Dan Winship2001-09-212-2/+4
| | | | | | * camel-charset-map.c (camel_charset_to_iconv): Nuke debug warning. svn path=/trunk/; revision=13009
* make sure to release the ref on priv->comp.Larry Ewing2001-09-203-0/+18
| | | | | | | | | | | | 2001-09-20 Larry Ewing <lewing@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_destroy): make sure to release the ref on priv->comp. * gui/dialogs/comp-editor.c (real_edit_comp): make sure to release the ref on priv->comp. svn path=/trunk/; revision=13008
* Truncate extremely long subjects. (inspired by bug #9158)Jon Trowbridge2001-09-203-4/+22
| | | | | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (mail_generate_reply): Truncate extremely long subjects. (inspired by bug #9158) * mail-tools.c (mail_tool_generate_forward_subject): Truncate extremely long subjects. (bug #9158) svn path=/trunk/; revision=13007
* I'm slowly losing my mind.Jon Trowbridge2001-09-201-1/+0
| | | | | | OK, maybe it isn't such a slow process after all. svn path=/trunk/; revision=13006
* Yikes... fixing accidental breakage.Jon Trowbridge2001-09-201-1/+1
| | | | svn path=/trunk/; revision=13005
* Display a notification message always, in addition to playing the sound.Federico Mena Quintero2001-09-205-30/+72
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (audio_notification): Display a notification message always, in addition to playing the sound. (procedure_notification): Present a confirmation dialog before actually running the alarm's program. (procedure_notification): Use gnome_execute_shell() instead of gnome_execute_async() so that we handle multiple arguments properly. Plus, it is most likely what the user expects. (mail_notification): Display a message about unsupported email reminders instead of blindly dropping the alarm. * gui/dialogs/alarm-options.glade: Added an explanatory message about mail alarms not being supported. * gui/dialogs/alarm-page.glade: Removed the "Send an email" option. * gui/dialogs/alarm-page.c (action_map): Removed CAL_ALARM_EMAIL. svn path=/trunk/; revision=13004
* Use the default e-mail address if we have nothing else to go on.Jon Trowbridge2001-09-207-167/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-destination.c (name_and_email_simple_query_cb): Use the default e-mail address if we have nothing else to go on. Previously we just failed, which basically meant that name-only searches would never work properly. (nickname_simple_query_cb): The logic was a bit tangled here; if our query status isn't SUCCESS, always give up but don't leak the destination. And if our nickname query fails and we try the name-and-email query, use the textrep for a name-only search. The only reason we are doing a nickname query in the first place is if we have an obviously invalid e-mail. (launch_cardify_query): Use e_destination_is_valid to determine if we should try a nickname query first. These changes basically fix bug 7728, and generally make the auto-cardification of addresses a lot more clever and robust. * backend/ebook/e-book-util.c (name_and_email_cb): Use e_card_compare_name_to_string instead of e_card_name_match_string. (e_book_name_and_email_query): The arguments to g_strsplit were in the wrong order. Doh! * backend/ebook/e-card-compare.c (e_card_compare_name_to_string): Added. Replaces e_card_name_match_string, and actually works. * backend/ebook/e-card.c: Removed e_card_name_match_string function, which didn't work particularly well. svn path=/trunk/; revision=13003
* don't add to the complete list of cards if the card is a listJP Rosevear2001-09-202-5/+33
| | | | | | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (cursor_cb): don't add to the complete list of cards if the card is a list (card_added): don't add to the list of changes if the card is a list (card_changed): ditto (card_removed): ditto svn path=/trunk/; revision=13002
* Updated exception strings to be more clear.Jeffrey Stedfast2001-09-203-17/+23
| | | | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c: Updated exception strings to be more clear. * camel-pgp-mime.c (pgp_mime_part_sign_restore_part): Stupid mistake, fixes bug #9975. svn path=/trunk/; revision=13001
* Change the "this should never happen" message into a request for people toJon Trowbridge2001-09-202-1/+10
| | | | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_hookup_shell_listeners): Change the "this should never happen" message into a request for people to e-mail me directly with info if they encounter that error. svn path=/trunk/; revision=13000
* Here too.Jeffrey Stedfast2001-09-203-2/+11
| | | | | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_update_got_store): Here too. * component-factory.c (create_view): Call mail_note_store() instead of mail_scan_subfolders() here so that these folders get hooked up with the unread count code. svn path=/trunk/; revision=12999
* const fixIain Holmes2001-09-201-2/+2
| | | | svn path=/trunk/; revision=12998
* Fix memory leakIain Holmes2001-09-202-0/+5
| | | | svn path=/trunk/; revision=12997
* Remove dead directory from AC_OUTPUTJP Rosevear2001-09-202-1/+4
| | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * configure.in: Remove dead directory from AC_OUTPUT svn path=/trunk/; revision=12996
* Display a bell icon if there's an alarm setIain Holmes2001-09-203-3/+9
| | | | svn path=/trunk/; revision=12995
* Convert the names to the locale charset.Jeffrey Stedfast2001-09-202-14/+24
| | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Convert the names to the locale charset. svn path=/trunk/; revision=12994
* Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn'tChristopher James Lahey2001-09-201-1/+5
| | | | | | | | | | 2001-09-19 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c (add_model): Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn't NULL here. If it is, it's not an error. Return 0 in this case. svn path=/trunk/; revision=12993
* Oops, don't fail if `data' isn't a CamelService...cuz it's not supposed toJeffrey Stedfast2001-09-202-1/+7
| | | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (ssl_bad_cert): Oops, don't fail if `data' isn't a CamelService...cuz it's not supposed to be! It's a CamelTcpStreamSSL object...doh! svn path=/trunk/; revision=12992
* Fixed a typo here. esa->rows += count, not esa->rows = count.Christopher James Lahey2001-09-201-1/+1
| | | | | | | | | 2001-09-19 Christopher James Lahey <clahey@ximian.com> * gal/util/e-sorter-array.c (e_sorter_array_append): Fixed a typo here. esa->rows += count, not esa->rows = count. svn path=/trunk/; revision=12991
* Spewage removal Only open folders when they are needed.Iain Holmes2001-09-203-37/+20
| | | | | | | Spewage removal Only open folders when they are needed. svn path=/trunk/; revision=12990
* New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL.Ettore Perazzoli2001-09-202-0/+18
| | | | | | | | | | * e-task-widget.c: New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL. (e_task_widget_construct): Create a GtkTooltips and make `tooltips' point to it. (e_task_widget_update): Set the tooltip for the label too. svn path=/trunk/; revision=12989
* Removed globals `activity_client', `progress'. (timeout_callback_3): GetEttore Perazzoli2001-09-206-8/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Removed globals `activity_client', `progress'. (timeout_callback_3): Get the activity client from @data. (timeout_callback_2): Likewise here. Pass the activity client as the user data pointer for `gtk_timeout_add()'. Put the progress count in a "my_progress" GtkObject data key. (timeout_callback_1): Pass the newly created EActivityClient as the user data pointer for `gtk_timeout_add()'. Also, dispatch itself again with a random timeout delay, for a maximum of NUM_ACTIVITES times. Initialize the "my_progress" GtkObject data to be -1. * e-activity-handler.c: New member `component_id' in `ActivityInfo'. (activity_info_new): New arg @component_id. Init the `component_id' member accordingly. (activity_info_free): Free the `component_id' member. (impl_operationStarted): Pass the component_id to `activity_info_new()'. (task_widget_new_from_activity_info): Pass the component_id to the activity_info. * e-task-widget.c: New member `component_id' in `ETaskWidgetPrivate'. (impl_destroy): Free it. (init): Init to NULL. Also init all the other members to NULL as well. (e_task_widget_construct): New arg @component_id. Assign ->component_id to match it. (e_task_widget_new): New arg @component_id here as well. Pass it over to `e_task_widget_construct()'. (e_task_widget_get_component_id): New. svn path=/trunk/; revision=12988
* be sure to unref the component.Larry Ewing2001-09-202-0/+7
| | | | | | | | | 2001-09-19 Larry Ewing <lewing@ximian.com> * e-summary-tasks.c (generate_html): be sure to unref the component. svn path=/trunk/; revision=12987
* Open editors for tasks and appointmentsIain Holmes2001-09-203-6/+77
| | | | svn path=/trunk/; revision=12986
* remove redundant if. (open_callback): free the previous html even if weLarry Ewing2001-09-202-15/+17
| | | | | | | | | | 2001-09-19 Larry Ewing <lewing@ximian.com> * e-summary-rdf.c (read_callback): remove redundant if. (open_callback): free the previous html even if we get an error. (rdf_free): remove redundant null checks. svn path=/trunk/; revision=12985
* free the temp dup'd string.Larry Ewing2001-09-203-4/+16
| | | | | | | | | 2001-09-19 Larry Ewing <lewing@ximian.com> * src/libical/icalperiod.c (icalperiodtype_from_string): free the temp dup'd string. svn path=/trunk/; revision=12984
* listen for model changes (task_editor_edit_comp): add the attendees to theJP Rosevear2001-09-209-106/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (init_widgets): listen for model changes (task_editor_edit_comp): add the attendees to the model and notify of need send (row_count_changed_cb): mark as changed when row added/deleted (model_row_changed_cb): mark as changed when row changes * gui/dialogs/event-editor.c (init_widgets): listen for model changes (event_editor_init): flip page order (event_editor_edit_comp): set needs send value (schedule_meeting_cmd): flip page order (row_count_changed_cb): mark as changed when row added/deleted (model_row_changed_cb): mark as changed when row changes * gui/dialogs/schedule-page.c: remove model change notification stuff (schedule_page_fill_widgets): no need to do the needs_send here because the editor handles this since it owns the model * gui/dialogs/event-editor.c (init_widgets): listen for model changes (event_editor_init): flip page order (event_editor_edit_comp): set needs send value (schedule_meeting_cmd): flip page order (row_count_changed_cb): mark as changed when row added/deleted (model_row_changed_cb): mark as changed when row changes * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): no need to do the needs_send here because the editor handles this since it owns the model (invite_entry_changed): ditto * gui/dialogs/comp-editor.c (comp_editor_set_changed): new accessor (comp_editor_get_changed): ditto (comp_editor_set_needs_send): ditto (comp_editor_get_needs_send): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_addresses_get): reflect configuration path changes in the mailer * gui/e-meeting-model.c: remove commented out code, ifdef one section for later svn path=/trunk/; revision=12983
* Hack around gdkpixbuf lossage by not trying to display the imagesDan Winship2001-09-202-18/+25
| | | | | | | | | * e-summary.c (read_callback, etc): Hack around gdkpixbuf lossage by not trying to display the images incrementall. Instead, just wait until we've read the whole file, then display it all at once. Prevents garbage when rendering the icons. svn path=/trunk/; revision=12982
* Fixed weird include pathRodrigo Moya2001-09-201-1/+1
| | | | svn path=/trunk/; revision=12981
* Freeing name[i] instead of namev[i] is a bad idea. (bug #10270)Jon Trowbridge2001-09-202-1/+4
| | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book-util.c (e_book_name_and_email_query): Freeing name[i] instead of namev[i] is a bad idea. (bug #10270) svn path=/trunk/; revision=12980
* Pass the actual unread message count, not just whether or not it's > 0.Dan Winship2001-09-202-2/+8
| | | | | | | | * mail-callbacks.c (create_folders): Pass the actual unread message count, not just whether or not it's > 0. Fixes ximian 9089. svn path=/trunk/; revision=12979
* add OAFIID parameter to the call to the cal_factory_oaf_register functionRodrigo Moya2001-09-192-1/+8
| | | | | | | | | 2001-09-19 Rodrigo Moya <rodrigo@ximian.com> * wombat.c (setup_pcs): add OAFIID parameter to the call to the cal_factory_oaf_register function svn path=/trunk/; revision=12978
* add a new parameter (const char *iid) to specify the OAFIID of the factoryRodrigo Moya2001-09-193-6/+27
| | | | | | | | | | 2001-09-19 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (cal_factory_oaf_register): add a new parameter (const char *iid) to specify the OAFIID of the factory being registered svn path=/trunk/; revision=12977
* Added missing header.92001-09-194-4/+17
| | | | | | | | | | | | | | | 2001-09-19 <NotZed@Ximian.com> * component-factory.c: Added missing header. * mail-local.c (mail_local_store_add_folder): Async load the folder we just added, so it can update the folder counts in the display. We just discard the folder afterwards? * mail-ops.c (mail_get_folder): Use the queued thread to get folders. svn path=/trunk/; revision=12976
* Properly handle our GnomeUIInfo labels so that they won't be leaked ifJon Trowbridge2001-09-192-151/+137
| | | | | | | | | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (popup_menu_card): Properly handle our GnomeUIInfo labels so that they won't be leaked if they are dynamic strings, so that they will be i18n-correct, and so that underscores won't be interpreted as key accelerators. What a PITA. Also, don't leak our iterators. (Bug #10200.) (popup_menu_list): The same GnomeUIInfo tweaking as in popup_menu_card. (popup_menu_nocard): Ditto. svn path=/trunk/; revision=12975
* General cleanup of mail debug printfs.92001-09-1915-1005/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 <NotZed@Ximian.com> * General cleanup of mail debug printfs. * mail-folder-cache.[ch]: Completely rewritten. Removed all calls to the old code everywhere they were used. Nuff said. * folder-browser.h: Add shell_view to folder_browser & api to set it. * folder-browser-factory.c (control_activate): Set the shell-view on the folder_browser. (control_deactivate): And clear it here. * folder-browser.c (folder_browser_destroy): Unhook from changed events on the folder before giving it away. (got_folder): Hook onto the folder-changed events. (folder_changed): Event hook proxy for folder_changed events (main_folder_changed): And the main code version. (update_status_bar): And the one that actually does the work. (on_selection_changed): Also call update_status_bar() to update the selection count. (folder_browser_set_shell_view): Implement function to set the shell_view on the folder_browser. (folder_browser_destroy): Release the shell_view here too. * mail-tools.c (mail_tool_uri_to_folder): Dont 'note' the new folder if its from a file: url, this is handled by hte local store (yeeruughck). * mail-local.c (mls_init): (free_info): (mls_finalise): Setup init/finalise funcs for the folderinfo hash. (local_storage_removed_folder_cb): re-enable. 2001-09-18 <NotZed@Ximian.com> * mail-local.c (MailLocalStore): Add a hash table to store uri<>folderinfo data. (mail_local_store_add_folder): Add a new folderinfo to our hash. (mail_local_store_remove_folder): Remove a folder by uri. (storage_listener_startup): Add this store to those monitored by the folder tree. svn path=/trunk/; revision=12974
* General cleanup of camel debug printfs.92001-09-1918-40/+76
| | | | | | | | | | | | | | | | | 2001-09-19 <NotZed@Ximian.com> * General cleanup of camel debug printfs. * camel-lock.c (camel_lock_fcntl): Changed to return 'success' if the error indicates file locking isn't supported on this filesystem. Still return a warning just incase (if its the first time). Might fix a lot of reported bugs. * providers/local/camel-spool-store.c (get_folder_info): Dont include the empty // host part in the uri. This 'breaks' the service lookup. svn path=/trunk/; revision=12973
* remove silly debug #if 0JP Rosevear2001-09-194-4/+16
| | | | | | | | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (e_meeting_model_refresh_busy_periods): remove silly debug #if 0 * gui/calendar-commands.c (publish_freebusy_cmd): g_list_free rather than g_free * gui/e-itip-control.c (write_html): eliminate code path that caused double freed memory svn path=/trunk/; revision=12972
* more meetings-by-mail additions. Had no idea this needed so much work.Aaron Weber2001-09-198-48/+237
| | | | | | | | | | | | | | | | | | | | | | 2001-09-19 Aaron Weber <aaron@ximian.com> * C/usage-calendar.sgml: more meetings-by-mail additions. Had no idea this needed so much work. * C/usage-mail.sgml: Added info about meetings-by-mail. * C/menuref.sgml: added F9 instructions. * C/config-prefs.sgml: added info on how to connect to an arbitrary port. * C/usage-mail.sgml: Revised gnome-vfs-http-proxy info. * C/usage-exec-summary.sgml: added gnome-vfs-http-proxy info. Almost the same as the stuff in usage-mail. * C/usage-mail-org.sgml: removed regex item. svn path=/trunk/; revision=12971
* ShushJP Rosevear2001-09-191-0/+1
| | | | svn path=/trunk/; revision=12970
* reflect file additions/removalsJP Rosevear2001-09-192-2/+10
| | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * POTFILES.in: reflect file additions/removals svn path=/trunk/; revision=12969
* A page that shows the meeting time selector and free/busy data forJP Rosevear2001-09-1924-789/+7539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.*: A page that shows the meeting time selector and free/busy data for attendees * gui/dialogs/meeting-page.c: use the meeting model to track/edit attendees, remove table value conversion routines and simple table routines (set_attendees): take a pointer array (meeting_page_destroy): destroy the pointer array, save state (meeting_page_init): new pointer array (meeting_page_fill_widgets): don't null the deleted attendees field (popup_delegate_cb): array add (popup_delete_cb): array add (cleanup_attendees): iterate over the array to unref now (meeting_page_fill_widgets): don't null out fields, no need to add attendees here (invite_entry_changed): use e_meeting_attendee routines (popup_delegate_cb): ditto (popup_delete_cb): ditto (meeting_page_new): take new arg and pass it to construct (meeting_page_construct): take new arg, use e-meeting-model routines to construct table * gui/dialogs/task-editor.c (task_editor_init): new meeting model (task_editor_destroy): unref the model * gui/dialogs/event-editor.c (event_editor_init): make new model and pass it to meeting and schedule pages (event_editor_set_cal_client): virtual function, set meeting model client (event_editor_edit_comp): add the attendees to the model (event_editor_destroy): unref model * gui/dialogs/comp-editor.h: add virtual function * gui/dialogs/comp-editor.c (comp_editor_set_cal_client): make set_cal_client a virutal function * gui/e-meeting-types.h: generally useful type defines * gui/e-meeting-time-sel*.[hc]: Move here and use an e-table for the attendee list and extract display information from the new meeting model and attendees * gui/e-meeting-time-sel.etspec: spec for the table * gui/e-meeting-attendee.[hc]: meeting attendees for the model, with to/from conversions for CalComponentAttendee structure, emits changed signal and allows getting and setting of free busy periods * gui/e-meeting-model.[hc]: move the model out on its own * gui/e-itip-control.c (write_error_html): clean up warnings svn path=/trunk/; revision=12968
* the meeting-time-sel dir is dead, relevant pieces moved to calendar/guiJP Rosevear2001-09-1914-6000/+5
| | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * Makefile.am: the meeting-time-sel dir is dead, relevant pieces moved to calendar/gui svn path=/trunk/; revision=12967
* Fixes bug #6350.Federico Mena Quintero2001-09-193-142/+174
| | | | | | | | | | | | 2001-09-18 Federico Mena Quintero <federico@ximian.com> Fixes bug #6350. * gui/component-factory.c (remove_folder): Use a simplified method for removing our folder data; we just need to remove calendar.ics or tasks.ics and the corresponding backup files. svn path=/trunk/; revision=12966
* Select next rowsIain Holmes2001-09-192-1/+9
| | | | svn path=/trunk/; revision=12965
* Make the title translatable, and also use the account name when possible.Jeffrey Stedfast2001-09-192-2/+20
| | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): Make the title translatable, and also use the account name when possible. Sorta fixes bug #6277. svn path=/trunk/; revision=12964
* Keep the mail folders in the correct orderIain Holmes2001-09-193-4/+32
| | | | svn path=/trunk/; revision=12963
* s/List-Owner/List-PostJeffrey Stedfast2001-09-191-1/+1
| | | | svn path=/trunk/; revision=12962
* New arg @row. Highlight that row. (tree_drag_motion): Pass @row toEttore Perazzoli2001-09-192-1/+11
| | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): New arg @row. Highlight that row. (tree_drag_motion): Pass @row to `handle_evolution_path_drag_motion()'. svn path=/trunk/; revision=12961
* Don't add folders multiple timesIain Holmes2001-09-192-1/+15
| | | | svn path=/trunk/; revision=12960
* Match mailing-list header List-Owner.Jeffrey Stedfast2001-09-192-0/+5
| | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: Match mailing-list header List-Owner. svn path=/trunk/; revision=12959
* Attach an X-Evolution-Format header so if people re-edit a message in sayJeffrey Stedfast2001-09-192-11/+18
| | | | | | | | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Attach an X-Evolution-Format header so if people re-edit a message in say their Sent folder, we will preserve format preferences. (e_msg_composer_get_message_draft): Don't attach X-Evolution-Format headers here since it is now done in build_message(). (e_msg_composer_new_with_message): Make sure to remove *all* X-Evolution headers by using the mail-tools functions. svn path=/trunk/; revision=12958
* Function to get the real receive tpe for ag iven url. IMAP/SPOOL/MAILDIR72001-09-192-9/+21
| | | | | | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): Function to get the real receive tpe for ag iven url. IMAP/SPOOL/MAILDIR types just update their info, dont download. (build_dialogue): (mail_receive_uri): Use function above to get the right receive type. svn path=/trunk/; revision=12957
* If filter inbox is set on the store, and we're opening inbox '', then82001-09-1924-146/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 <NotZed@Ximian.com> * providers/local/camel-maildir-folder.c (camel_maildir_folder_new): If filter inbox is set on the store, and we're opening inbox '', then enable filtering on new messages. * providers/local/camel-local-folder.c (camel_local_folder_construct): After loading the summary, check it, and only abort if that fails. Also maintain the changes count. * providers/local/camel-local-summary.c (camel_local_summary_load): Remove summary_check code from here. (camel_local_summary_check): Sync index/summary here, if we were successful. * providers/local/camel-spool-folder.c (camel_spool_folder_new): If we have filter-new-messages-on-inbox set and we just opened inbox, turn on filtering on this folder. (camel_spool_folder_construct): Keep track of changes for the folder, so that filter-new-messages works right (?) * providers/local/camel-spool-store.c (get_folder): Pass 'INBOX' as the folder name, not the path. * camel-folder-search.c (search_not): Modified patch from <peterw@ximian.com> since the summary is messageinfo's, not strings. ** Ok so the problem with the stuff below is that maildir/spool 'summary_load' throws away all events, including recents, joy eh? * providers/local/camel-maildir-summary.c (maildir_summary_check): Add new messages to the recent changeinfo. * providers/local/camel-spool-summary.c: Mark 'new' message as recent, for later processing if required (i.e. 'filter new messages'). * camel-store.c (construct): new function, cascade up construct method and check for 'filter' param, and set accordingly for any one that might want it. * providers/imap/camel-imap-store.c (construct): map the param_filter_inbox flag to the store->flags as CAMEL_STORE_FILTER_INBOX. * camel-store.h (CAMEL_STORE_FILTER_INBOX): new flag to tell it to filter inbox. * providers/imap/camel-imap-folder.h: Removed do_filtering flag from CamelImapFolder. * providers/imap/camel-imap-folder.c (imap_update_summary): Remove the 'recents' parameter, use the 'changes' parameter instead to convey this info. (camel_imap_folder_changed): Changed for update_summary api change. Now always just emit the changed event if we have any changes to report, filtering code removed, handled upstream. (filter_proc): (filter_free): Removed old filtering code. (camel_imap_folder_new): Set the filter_recent flag on the folder if we're the inbox and filtering of inbox is enabled. * camel-folder.c (folder_changed): If we have 'recent' messages, and are set to filter recents, then freeze the folder and launch a thread to do the processing (or similar if threading not enabled). (thaw): Make sure we emit the changed signal outside of owning the lock and if things have changed. Also, no longer bother downgrading folder_changed events to message_changed events. * camel-folder.h (struct _CamelFolder): Added filter_recent flag -> signifies all recent messages in folder should be filtered. * camel-session.c: (camel_session_thread_msg_new, camel_session_thread_msg_free, camel_session_thread_queue, camel_session_thread_wait): code to handle async operations as part of camel processing. (camel_session_finalise): free thread_lock, destroy thread, active hash, etc. (camel_session_init): init thread, active hash, etc. (camel_session_class_init): Init virtual functions. (session_thread_msg_new, session_thread_msg_free, session_thread_destroy, session_thread_received, session_thread_queue, session_thread_wait): default implementation of session threads stuff. 2001-09-17 <NotZed@Ximian.com> * camel-folder.c (camel_folder_change_info_recent_uid): New function to add a 'recent' uid to the change info. (camel_folder_change_info_clear): Clear recent list. (camel_folder_change_info_free): Free recent list. (camel_folder_change_info_new): Setup recent list. * camel-folder.h: Added a uid_recent item to the folder_changed event data. * providers/local/camel-maildir-store.c (scan_dir): Free new in the right block. * providers/local/camel-local-provider.c: Add local config entries to filter on new messages in spool and maildir provider. * camel-vee-folder.c (vee_folder_construct): Remove the assertion which stops ? in names from being allowed. svn path=/trunk/; revision=12956
* Oops, forgot about X-Evolution-Format.Jeffrey Stedfast2001-09-193-1/+12
| | | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_remove_xevolution_headers): Oops, forgot about X-Evolution-Format. (mail_tool_restore_xevolution_headers): Same. svn path=/trunk/; revision=12955
* Merged into folder_browser_new: nothing ever changes the URI of anDan Winship2001-09-196-41/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_set_uri): Merged into folder_browser_new: nothing ever changes the URI of an existing folder browser any more. (folder_browser_new): Make this take a uri argument and do the work folder_browser_set_uri used to do, except that we set fb->uri right away, so that if the folder browser's control is activated before got_folder() gets called, then folder_browser_ui_add_list() will have access to the correct uri for purposes of setting ViewThreaded, etc. Fixes #4913. (got_folder): Don't set fb->uri here since it will already have been set. Don't call message_list_set_threaded, since it should be a noop now (and if it's not, it would make the message list not match the menu item). * folder-browser-ui.c (folder_browser_ui_add_list): Remove some code that was failing to work around the problems above. * message-browser.c (message_browser_new): Pass uri to folder_browser_new, remove call to set_uri. * folder-browser-factory.c (folder_browser_factory_new_control): Likewise. Also fix a s/destroy/unref/ in an error cleanup. svn path=/trunk/; revision=12954
* Fixes bug #2830.Federico Mena Quintero2001-09-196-28/+109
| | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 Federico Mena Quintero <federico@ximian.com> Fixes bug #2830. * gui/calendar-config.c (calendar_config_get_confirm_delete): New function. (calendar_config_set_confirm_delete): New function. (config_read): Get the default value for the ConfirmDelete option. (calendar_config_write): Set the value of ConfirmDelete. * gui/dialogs/delete-comp.c (delete_component_dialog): Handle the configuration option for confirmation. * gui/dialogs/cal-prefs-dialog.c (CalPrefsDialogPrivate): Added the fields for the Other page. (get_widgets): Handle the new widgets. (cal_prefs_dialog_show_config): Likewise. (cal_prefs_dialog_update_config): Likewise. svn path=/trunk/; revision=12953
* Added verbose error reporting in rdf summariesIain Holmes2001-09-192-6/+26
| | | | svn path=/trunk/; revision=12952
* new class for managing multiple calendars, with an API very similar to theRodrigo Moya2001-09-1916-364/+1436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client-multi.[ch]: new class for managing multiple calendars, with an API very similar to the CalClient one, for ease of transition from one to the other * gui/component-factory.c (xfer_folder, remove_folder, create_folder): reworked to be able to manage folders for any calendar backend, and not only the file: one 2001-09-18 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: changed signature for the getFreeBusy method, to return a sequence of CalObj's, and added sequence of users as a new parameter to that method * cal-client/cal-client.c (cal_client_get_free_busy): adapted to new IDL method signature, by adding a new "GList *users" parameter, for callers to be able to specify a list of users * pcs/cal-backend.[ch] (cal_backend_get_free_busy): * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): add the "GList *users" parameter. In cal_backend_file_get_free_busy, call lookup_component to get the CalComponent for each uid, instead of calling cal_backend_get_object, which meant converting the component to a string and then parsing it again. * cal-client/client-test.c (cal_opened_cb): * gui/e-itip-control.c (send_freebusy): * gui/calendar-commands.c (publish_freebusy_cmd): adapted to new getFreeBusy method signature svn path=/trunk/; revision=12951
* Pass a 'cache-me' argument to mail_get_password.Jeffrey Stedfast2001-09-194-30/+52
| | | | | | | | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (get_password): Pass a 'cache-me' argument to mail_get_password. * mail-mt.c (pass_got): Make less confusing... (mail_get_password): Now takes an argument 'cache' that allows our caller to determine if the user wanted to cache his/her password or not. (pass_got): Set the cache option. svn path=/trunk/; revision=12950
* Call mail_content_loaded here rather than blocking if the message dataDan Winship2001-09-192-0/+10
| | | | | | | | * mail-format.c (mail_format_raw_message): Call mail_content_loaded here rather than blocking if the message data isn't available. svn path=/trunk/; revision=12949
* Virtualize this.Dan Winship2001-09-195-6/+56
| | | | | | | | | | | | | * camel-data-wrapper.c (camel_data_wrapper_is_offline): Virtualize this. * camel-medium.c (is_offline): A medium is offline if its content object is offline. * camel-multipart.c (is_offline): A multipart is offline if any of its subparts are offline. svn path=/trunk/; revision=12948
* #include "e-gtk-utils.h".Ettore Perazzoli2001-09-192-1/+8
| | | | | | * e-splash.c: #include "e-gtk-utils.h". svn path=/trunk/; revision=12947
* Added korean charset conversion.Jeffrey Stedfast2001-09-192-0/+5
| | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * camel-charset-map.c: Added korean charset conversion. svn path=/trunk/; revision=12946
* add caluri field dataJP Rosevear2001-09-197-13/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 JP Rosevear <jpr@ximian.com> * backend/ebook/e-card-simple.c (field_data): add caluri field data * backend/ebook/e-card.c (e_card_get_vobject): add the caluri property when appropriate (parse_caluri): handle read caluri (e_card_class_init): add caluri arg (e_card_destroy): free the caluri (e_card_get_arg): return caluri arg (e_card_set_arg): set caluri from arg (e_card_init): init caluri to null * backend/ebook/e-card-simple.h: new simple field * backend/ebook/e-card.h: new member * gui/contact-editor/e-contact-editor.c (field_changed): util callback to change the command state (set_entry_changed_signal_field): hook up a change signal to above (set_entry_changed_signals): use above function * gui/contact-editor/e-contact-editor.glade: Add collaboration page and fields svn path=/trunk/; revision=12945
* Make the canvas backing stored.Ettore Perazzoli2001-09-192-0/+6
| | | | | | * e-splash.c (e_splash_construct): Make the canvas backing stored. svn path=/trunk/; revision=12944
* Use ->bin_window [instead of ->window] if the widget is a GtkLayout.Ettore Perazzoli2001-09-192-2/+14
| | | | | | | * e-gtk-utils.c (widget_realize_callback_for_backing_store): Use ->bin_window [instead of ->window] if the widget is a GtkLayout. svn path=/trunk/; revision=12943
* Added a tip about the always encrypt button.Kevin Breit2001-09-192-0/+27
| | | | | | | | 2001-09-18 Kevin Breit <battery841@mediaone.net> * C/usage-mail.sgml: Added a tip about the always encrypt button. svn path=/trunk/; revision=12942
* Do appends instead of prepends in places.Iain Holmes2001-09-195-6/+16
| | | | | | Don't print a (null). svn path=/trunk/; revision=12941
* create a sexp and check if the cards match before adding them to the listJP Rosevear2001-09-192-7/+28
| | | | | | | | | | | 2001-09-18 JP Rosevear <jpr@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_build_cards_list): create a sexp and check if the cards match before adding them to the list (pas_backend_file_process_get_cursor): send extra param svn path=/trunk/; revision=12940
* Updated Slovak translation.Stanislav Visnovsky2001-09-182-580/+703
| | | | | | | | 2001-09-18 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation. svn path=/trunk/; revision=12939
* remove conflict droppingsLarry Ewing2001-09-181-1/+0
| | | | | | --Larry svn path=/trunk/; revision=12938
* unref the destination regardless of whether we get an email addresss.Larry Ewing2001-09-182-2/+8
| | | | | | | | | | 2001-09-18 Larry Ewing <lewing@ximian.com> * gui/component/select-names/e-select-names-completion.c (book_query_process_card_list): unref the destination regardless of whether we get an email addresss. svn path=/trunk/; revision=12937
* use g_strfreev. (match_name): s/g_free/g_strfreev. (match_file_as):Larry Ewing2001-09-184-12/+22
| | | | | | | | | | | | | | | | | | | 2001-09-17 Larry Ewing <lewing@ximian.com> * gui/component/select-names/e-select-names-completion.c (name_style_query): use g_strfreev. (match_name): s/g_free/g_strfreev. (match_file_as): s/g_free/g_strfreev. * backend/ebook/e-book-util.c (e_book_name_and_email_query): fix the memory handling here. All there members of the vector need to be freed all the time. * backend/ebook/load-pine-addressbook.c (parse_line): free the string outside of the test that makes sure there are three entries. svn path=/trunk/; revision=12936
* don't malloc a match we will never use.Larry Ewing2001-09-182-1/+4
| | | | | | | | | 2001-09-17 Larry Ewing <lewing@ximian.com> * gui/component/select-names/e-select-names-completion.c (match_nickname): don't malloc a match we will never use. svn path=/trunk/; revision=12935
* remove redundant NULL checks since g_free handles NULLs. (e_text_destroy):Larry Ewing2001-09-181-8/+5
| | | | | | | | | | | | 2001-09-17 Larry Ewing <lewing@ximian.com> * gal/e-text/e-text.c (e_text_supply_selection): remove redundant NULL checks since g_free handles NULLs. (e_text_destroy): free the selection. It does appear to be a guarantee that we get a selection-clear event before we are destroyed. svn path=/trunk/; revision=12934
* free the dup'd capabilities.Larry Ewing2001-09-182-0/+7
| | | | | | | | | 2001-09-17 Larry Ewing <lewing@ximian.com> * gui/widgets/e-addressbook-model.c (get_view): free the dup'd capabilities. svn path=/trunk/; revision=12933
* Don't process the ImapResponse data, we don't want to block forever onJeffrey Stedfast2001-09-182-3/+20
| | | | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (delete_folder): Don't process the ImapResponse data, we don't want to block forever on data we don't care about... (create_folder): Use get_folders_online() instead of get_folder_info_online(). svn path=/trunk/; revision=12932
* Unsubscribe from the folder before deleting it. Also, use the url's pathJeffrey Stedfast2001-09-183-33/+36
| | | | | | | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Unsubscribe from the folder before deleting it. Also, use the url's path instead of the shell's path since IMAP doesn't necessarily have to use "/" as the dir sep. * mail-ops.c (remove_folder_get): If the store supports subscriptions, make sure to unsubscribe from the folder before deleting it. svn path=/trunk/; revision=12931
* We want to assume that a destination that comes from a card isJon Trowbridge2001-09-182-1/+7
| | | | | | | | | | | | 2001-09-17 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-destination.c (e_destination_is_valid): We want to assume that a destination that comes from a card is automatically valid, but the right way to check that is by calling e_destination_from_card, not by checking if dest->priv->card != NULL. (Fixed bug #10017) svn path=/trunk/; revision=12930
* Get folderinfo 1 at a time rather than all at once.72001-09-182-1/+6
| | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-ops.c (mail_get_folderinfo): Get folderinfo 1 at a time rather than all at once. svn path=/trunk/; revision=12929
* Fixed a stupid bug was causing completion to fail for contacts who haveJon Trowbridge2001-09-182-9/+14
| | | | | | | | | | | 2001-09-17 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (match_name): Fixed a stupid bug was causing completion to fail for contacts who have only one name. (The classic example we all know and love is 'George <jirka@5z.com>') (bug #8353) svn path=/trunk/; revision=12928
* Do the right thing if the card we are trying to send to has no validJon Trowbridge2001-09-182-53/+60
| | | | | | | | | | 2001-09-17 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-card.c (e_card_list_send): Do the right thing if the card we are trying to send to has no valid e-mail addresses. (bug #10137) svn path=/trunk/; revision=12927
* Code implicitly assumed that event->button.button is 1, 2, or 3, causingJon Trowbridge2001-09-182-17/+26
| | | | | | | | | | 2001-09-17 Jon Trowbridge <trow@ximian.com> * gui/widgets/e-minicard.c (e_minicard_event): Code implicitly assumed that event->button.button is 1, 2, or 3, causing disaster when using a wheel-mouse. Fixed. (bug #9400) svn path=/trunk/; revision=12926
* added a timeout to refresh the list every 10 minutes. Not ideal, as theDamon Chaplin2001-09-1810-39/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-17 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c: added a timeout to refresh the list every 10 minutes. Not ideal, as the user may be editing a task when it gets refreshed. (adjust_query_sexp): use the 'completed-before?' operator to filter out tasks according to the config settings. * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): added support for the 'Completed' date. This code must have got lost somewhere, as it used to work. (date_changed_cb): set the priv->updating flag while updating the other widgets. * pcs/cal-backend-file.c (cal_backend_file_update_objects): made sure we freed the components. * pcs/query.c (func_completed_before): added 'completed-before?' operator. * gui/calendar-config.c (calendar_config_configure_e_cell_date_edit): don't set the lower & upper hour. Use 0-24 like the EDateEdit does. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config): set the 12/24-hour time format options sensitive only if we support both. * gui/calendar-config.c (config_read): if the locale doesn't define 'am' and 'pm' strings then we must use 24-hour format. * gui/calendar-commands.c (calendar_set_folder_bar_label): don't translate the '%d' as it doesn't make much sense. Resolves bug #8027. svn path=/trunk/; revision=12925
* only use 1 format, so we are consistent everywhere. If we support multipleDamon Chaplin2001-09-182-141/+183
| | | | | | | | | | | | | | | 2001-09-17 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_parse_date): only use 1 format, so we are consistent everywhere. If we support multiple formats we have to support that in e_time_parse_date_and_time() which means an explosion of different formats. I don't think the alternatives are that useful, anyway. (e_time_parse_date_and_time): parse everything in one go, to avoid i18n problems. Also only use '%p' if the locale has am/pm strings. (e_time_parse_time): Only use '%p' if locale has am/pm strings. svn path=/trunk/; revision=12924
* Fix the tail space calculation, it didn't always take into account the72001-09-182-8/+19
| | | | | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * disktail.c (tail_space): Fix the tail space calculation, it didn't always take into account the space used by a new tail node (i think). (tail_info): Add a failback assertion that end >= start. Fix all callers (needed to add blocks argument). svn path=/trunk/; revision=12923
* Updated Swedish translation.Christian Rose2001-09-182-233/+284
| | | | | | | | 2001-09-18 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation. svn path=/trunk/; revision=12922
* Unsubscribe from the folder before deleting it.Jeffrey Stedfast2001-09-183-20/+27
| | | | | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Unsubscribe from the folder before deleting it. * mail-ops.c (remove_folder_get): If the store supports subscriptions, make sure to unsubscribe from the folder before deleting it. svn path=/trunk/; revision=12921
* Call `e_make_widget_backing_stored()' on the widget so it refreshesEttore Perazzoli2001-09-182-0/+11
| | | | | | | | * main.c (quit_box_new): Call `e_make_widget_backing_stored()' on the widget so it refreshes properly even when we are busy waiting on CORBA calls. svn path=/trunk/; revision=12920
* Removed. (gtk_radio_button_select_nth): Removed.Ettore Perazzoli2001-09-183-47/+35
| | | | | | | | * e-gtk-utils.c (gtk_radio_button_get_nth_selected): Removed. (gtk_radio_button_select_nth): Removed. (e_make_widget_backing_stored): New. svn path=/trunk/; revision=12919
* Don't process the ImapResponse data, we don't want to block forever onJeffrey Stedfast2001-09-182-8/+9
| | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (delete_folder): Don't process the ImapResponse data, we don't want to block forever on data we don't care about... svn path=/trunk/; revision=12918
* New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these twoEttore Perazzoli2001-09-182-1/+61
| | | | | | | | | * main.c (quit_box_new): New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these two functions to display a warning message when Evolution is quitting. svn path=/trunk/; revision=12917
* Do not call calendar_config_init() here.Federico Mena Quintero2001-09-184-6/+9
| | | | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> * gui/component-factory.c (owner_set_cb): Do not call calendar_config_init() here. * gui/main.c (main): Call calendar_config_init() here. svn path=/trunk/; revision=12916
* Setup global corba_storage variable. (mls_get_folder): Set 'update72001-09-182-4/+21
| | | | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-local.c (storage_listener_startup): Setup global corba_storage variable. (mls_get_folder): Set 'update lstorage' on the newly opened folder. svn path=/trunk/; revision=12915
* Only raise NotReady if the local storage pointer is actually NULL. ThisEttore Perazzoli2001-09-182-3/+14
| | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Only raise NotReady if the local storage pointer is actually NULL. This way it is possible for the components to access the local storage during initialization even if the shell is not quite finished initializing yet. svn path=/trunk/; revision=12914
* [Fix #9060, Shell crash after mailer crash.]Ettore Perazzoli2001-09-182-24/+26
| | | | | | | | | | | | | * e-shell-view.c (hash_foreach_destroy_view): Renamed from `hash_forall_destroy_view'. Don't free `name'. (socket_destroy_cb): Use `g_hash_table_lookup()' instead of `g_hash_table_lookup_extended()'. Don't free the URI. (e_shell_view_remove_control_for_uri): Likewise. (show_existing_view): Use view->uri as the key when inserting the view. Remove the old view from the hash when destroying it. (create_new_view_for_uri): Same here. svn path=/trunk/; revision=12913
* Duh, only setup the timeout if the list was empty. (alarm_ready_cb):Federico Mena Quintero2001-09-182-7/+22
| | | | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm.c (queue_alarm): Duh, only setup the timeout if the list was empty. (alarm_ready_cb): Notify with the ID of the original alarm. (alarm_remove): Likewise. svn path=/trunk/; revision=12912
* Don't make the confusing URL for the station nameIain Holmes2001-09-182-2/+16
| | | | svn path=/trunk/; revision=12911
* Do nothing if the selection is NULL? Maybe this is the cause of bug #6817.Jeffrey Stedfast2001-09-182-1/+7
| | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (invisible_selection_get_callback): Do nothing if the selection is NULL? Maybe this is the cause of bug #6817. svn path=/trunk/; revision=12910
* Only update the display when we receive a notify about a mail folder we are ↵Iain Holmes2001-09-182-3/+24
| | | | | | displaying svn path=/trunk/; revision=12909
* Go back to generating the cachename ourselves, but continue doing it theJeffrey Stedfast2001-09-182-3/+12
| | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_folder_to_cachename): Go back to generating the cachename ourselves, but continue doing it the way the dfault implementation of camel_folder_get_uri worked. svn path=/trunk/; revision=12908
* Reverted previous changes.Jeffrey Stedfast2001-09-183-35/+4
| | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c: Reverted previous changes. svn path=/trunk/; revision=12907
* Fix the use of qsortIain Holmes2001-09-183-4/+14
| | | | svn path=/trunk/; revision=12906
* There is no need to initialize the alarm system now.Federico Mena Quintero2001-09-182-1/+5
| | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> * e-summary.c (e_summary_init): There is no need to initialize the alarm system now. svn path=/trunk/; revision=12905
* Switch the alarm system from using SIGALRM to normal glib timers. Also,Federico Mena Quintero2001-09-184-188/+112
| | | | | | | | | | | | | | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> Switch the alarm system from using SIGALRM to normal glib timers. Also, use a more robust de-queueing mechanism. * gui/alarm-notify/alarm.c (alarm_init): Removed. (alarm_done): Remove the glib timeout instead of closing the pipes and the signal handler. (alarm_add): Allow adding alarms that happen before right now. (queue_alarm): Use a glib timer instead of a signal. (alarm_remove): Adjust the timeout as appropriate. * gui/alarm-notify/notify-main.c (main): There is no need to initialize the alarm system now. * gui/main.c (main): Likewise. svn path=/trunk/; revision=12904
* threaded mailview figure and img. added.Aaron Weber2001-09-183-0/+12
| | | | | | | | 2001-09-17 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: threaded mailview figure and img. added. svn path=/trunk/; revision=12903
* Hide the storage_set_view_box *before* getting the child1_size [otherwise,Ettore Perazzoli2001-09-182-4/+9
| | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): Hide the storage_set_view_box *before* getting the child1_size [otherwise, the latter will, um, always be zero]. svn path=/trunk/; revision=12902
* Helpful install-exec-hook debugging outputJP Rosevear2001-09-182-0/+8
| | | | | | | | 2001-09-17 JP Rosevear <jpr@ximian.com> * Makefile.am: Helpful install-exec-hook debugging output svn path=/trunk/; revision=12901
* Note about PalmOS 4 and Password Protection.Aaron Weber2001-09-1811-0/+17
| | | | | | | | | | 2001-09-17 Aaron Weber <aaron@ximian.com> * C/usage-sync.sgml: Note about PalmOS 4 and Password Protection. * C/figures/* (well, almost): New img. svn path=/trunk/; revision=12900
* get itip addresses (calendar_model_destroy): destroy sameJP Rosevear2001-09-182-12/+59
| | | | | | | | | | | 2001-09-17 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_init): get itip addresses (calendar_model_destroy): destroy same (calendar_model_value_at): do more thorough checking on whether to use recurring, assigned, assigned to or regular task icons svn path=/trunk/; revision=12899
* Updated Spanish translation.Hector Garcia2001-09-182-986/+255
| | | | svn path=/trunk/; revision=12898
* for each call back, removes the alarms (cal_component_remove_all_alarms):JP Rosevear2001-09-175-20/+146
| | | | | | | | | | | | | | | | | | | 2001-09-17 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (for_each_remove_all_alarms): for each call back, removes the alarms (cal_component_remove_all_alarms): remove all alarms from the component * cal-util/cal-component.h: new proto * gui/e-itip-control.c (write_error_html): writes error messages rather than normal html * gui/itip-utils.c (itip_send_comp): remove all alarms if the method warrants it svn path=/trunk/; revision=12897
* PISOCK_CFLAGS no longer contains pilot-link version.Eskil Heyn Olsen2001-09-172-2/+5
| | | | | | | | | 2001-09-16 Eskil Heyn Olsen <eskil@eskil.dk> * gnome-pilot.m4: PISOCK_CFLAGS no longer contains pilot-link version. svn path=/trunk/; revision=12871
* Updated required version of gal to 0.11.99.4.Christopher James Lahey2001-09-178-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Updated required version of gal to 0.11.99.4. From calendar/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * gui/dialogs/meeting-page.c (build_etable): Updated this to match the new ETableSimple interface. From mail/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * message-list.c (ml_get_node_by_id): Made save_id const here. From shell/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_node_by_id): Made save_id const here. svn path=/trunk/; revision=12870
* Bumped version number to 0.11.99.4.Christopher James Lahey2001-09-1714-208/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.4. * gal/e-text/e-completion-view.c (e_completion_view_construct), tests/test-table-1.c (create_table): Changed the parameters to e_table_simple_new here to adjust to changes in the interface. * gal/widgets/e-categories-master-list-array.c (ecmla_default): Fixed a memory leak here. * gal/widgets/e-categories.c (e_categories_get_save_id): Added get_save_id here so that selection would be maintained across changes. From gal/e-table/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-table-model.c, e-table-model.h (e_table_model_class_init): Rearranged order of has_save_id and get_save_id to be more consistent with ETree. * e-table-selection-model.c, e-table-selection-model.h: Turned on the code to maintain selection and cursor across changes if the model supports get_save_id. * e-table-simple.c, e-table-simple.h: Changed this interface to take all of the ETableModel functions in the _new function. * e-table-subset.c (etss_has_save_id, etss_get_save_id): Added these to properly proxy the save_id functionality. * e-tree-memory-callbacks.c, e-tree-memory-callbacks.h, e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id parameter to get_node_by_id be const char * instead of char *. * e-tree-table-adapter.c (etta_class_init): Rearranged some assignments here to be more consistent. svn path=/trunk/; revision=12869
* use enable_widget instead of gtk_widget_set_sensitive.Chris Toshok2001-09-174-53/+109
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (_phone_arrow_pressed): use enable_widget instead of gtk_widget_set_sensitive. (_email_arrow_pressed): same. (_address_arrow_pressed): same. (disable_widget_foreach): same. (enable_writable_fields): same. (set_editable): same. (enable_widget): new function, using both gtk_widget_set_sensitive and *_set_editable to allow the user to select text in GtkEntry's and GtkText's. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_set_arg): use set_editable as well as set_sensitive, to allow the user to select text in GtkEntry's. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_set_arg): same. svn path=/trunk/; revision=12868
* add prototype for e_date_edit_set_editable.Chris Toshok2001-09-173-0/+33
| | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * e-dateedit.h: add prototype for e_date_edit_set_editable. * e-dateedit.c (e_date_edit_set_editable): new function, analogous to gtk_entry_set_editable: let's the user select but not edit (or in this case, bring up the calendar view.) svn path=/trunk/; revision=12867
* fix syntax errors (which are broken, imo...)Chris Toshok2001-09-172-2/+7
| | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * backend/pas/evolutionperson.schema: fix syntax errors (which are broken, imo...) svn path=/trunk/; revision=12866
* reorder the LDAP scopes so that they match the order of the option menusChris Toshok2001-09-173-4/+82
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-storage.h: reorder the LDAP scopes so that they match the order of the option menus in the glade file. * gui/component/addressbook-config.c (auth_checkbutton_changed): new function, mostly there to house some #ifdef'ed out code. (option_menuitem_activated): new function, to keep track of changes to the ldap scope optionmenu. (addressbook_source_dialog_set_source): set the menu history as well as the dialog's copy of the scope. (addressbook_source_dialog_get_source): fill in the source's scope from the dialog's copy, and add more #if the_ui_gods_smile_on_me code. (add_activate_cb): new function, add an activate callback for the optionmenu's items. (addressbook_source_dialog): more #if the_ui_gods_smile_on_me code, always start the dialog on page 0, and hook up the scope optionmenu's items. svn path=/trunk/; revision=12865
* Updated Swedish translation.Christian Rose2001-09-172-198/+226
| | | | | | | | 2001-09-16 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation. svn path=/trunk/; revision=12864
* Don;t destroy the pixbuf loader, unref it instead.Jeffrey Stedfast2001-09-173-10/+13
| | | | | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixbuf_gen_idle): Don;t destroy the pixbuf loader, unref it instead. * mail-config.c (mail_config_folder_to_cachename): Use camel_folder_get_uri(). svn path=/trunk/; revision=12863
* Don't gtk_object_destroy() the pixbuf loader, unref it instead.Jeffrey Stedfast2001-09-174-13/+22
| | | | | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (update): Don't gtk_object_destroy() the pixbuf loader, unref it instead. * e-msg-composer-hdrs.c (destroy): Don't forget to free the private structure. svn path=/trunk/; revision=12862
* Use camel_folder_get_uri().Jeffrey Stedfast2001-09-172-17/+8
| | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_folder_to_cachename): Use camel_folder_get_uri(). svn path=/trunk/; revision=12861
* New function to get the URI of a folder. (get_uri): DefaultJeffrey Stedfast2001-09-173-1/+42
| | | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c (camel_folder_get_uri): New function to get the URI of a folder. (get_uri): Default implementation. svn path=/trunk/; revision=12860
* Updated Brazilian Portuguese translation.Gustavo Maciel Dias Vieira2001-09-172-2545/+2560
| | | | | | | | 2001-09-16 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation. svn path=/trunk/; revision=12859
* Updated Spanish translation.Hector Garcia2001-09-162-1915/+2198
| | | | svn path=/trunk/; revision=12858
* No loose name matches on family names. (#8802)Jon Trowbridge2001-09-153-1/+10
| | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-card-compare.c (e_card_compare_name): No loose name matches on family names. (#8802) svn path=/trunk/; revision=12857
* Major rewrite of most of the guts, handle changes based on signals and52001-09-156-324/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-15 <NotZed@Ximian.com> * mail-vfolder.c: Major rewrite of most of the guts, handle changes based on signals and events, etc. Use the main storage handling code that imap uses, etc. * mail-tools.c (mail_tool_uri_to_folder): Dont special case vfolder: anymore. * component-factory.c (owner_set_cb): use vfolder_load_storage(), new function to setup vfolder storage, after interaction has been enabled only. This might need some tweaking ... (storage_remove_folder): Removed all the folder lookup stuff. Just delete the folder based on the path passed in. There should be no reason this wouldn't work, right? 2001-09-14 <NotZed@Ximian.com> * mail-ops.c (get_folderinfo_get): Only add vtrash folder info, if store supports vtrash. * component-factory.c (mail_load_storage_by_uri): Let 'vfolder' stores show up too. 2001-09-13 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_uri_to_folder): Open a vfolder then set its expression, since name?query open method is removed. svn path=/trunk/; revision=12856
* Emit changed events.32001-09-156-7/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-13 <NotZed@Ximian.com> * filter-filter.c (filter_filter_add_action): (filter_filter_remove_action): (filter_filter_replace_action): Emit changed events. * filter-rule.c (filter_rule_xml_decode): Emiot a rule changed event. (filter_rule_copy): Emit a changed event. (filter_rule_replace_part): " (filter_rule_add_part): " (filter_rule_remove_part): " (filter_rule_xml_decode): Freeze around decoding, so we only emit changed when done. (filter_rule_emit_changed): New function to emit changed events if not frozen. 2001-09-13 <NotZed@Ximian.com> * rule-context.c (rule_context_class_init): Added a 'rule_added' and 'rule_removed' signal. (rule_context_load): Set a (private) frozen flag while we're loading. (rule_context_add_rule): Emit a rule_added signal if we're not frozen. (rule_context_remove_rule): Emit a rule_removed signal if we're not frozen. svn path=/trunk/; revision=12855
* New function, set the complete list of folders on a vfolder, all at once.42001-09-157-33/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-14 <NotZed@Ximian.com> * camel-vee-folder.c (camel_vee_folder_set_folders): New function, set the complete list of folders on a vfolder, all at once. (camel_vee_folder_set_expression): If we set the query to be the same thing, dont do anything. * camel-vee-store.c (camel_vee_store_init): Turn off vtrash for this store. * camel-store.c (camel_store_init): Enable vtrash by default via flags. (camel_store_get_trash): REturn NULL if the store doesn't support vtrash. (init_trash): Dont init if store doesn't support vtrash. * camel-store.h: Add a new flags CAMEL_STORE_VTRASH -> store supports vtrash. 2001-09-13 <NotZed@Ximian.com> * camel-vee-store.c (vee_get_folder_info): Implement. (build_info): Used to build a folder record from the folders hashtable. (vee_delete_folder): Implemented, remove folder from hashtable. (vee_rename_folder): Implemented, remove old folder from hashtable, add new one and rename its guts too. * camel-store.c (camel_store_rename_folder): Do nothing if we're not asked to actually change names. Also dont do the renamed cache check till after we've called the subclass. (camel_store_delete_folder): Call the subclass delete firs,t then make sure the cache is right. * camel-vee-folder.c (vee_folder_construct): Remove support for name?query syntax to setup vfolder. Abort if such syntax is used. (camel_vee_folder_new): Removed code that handles ? syntax, etc. (vee_folder_build_folder): Handle unset expression, treat it as an empty search. (camel_vee_folder_set_expression): Oops, actually set the expression. * camel-vtrash-folder.c (camel_vtrash_folder_new): Dont use name?query syntax to setup vfolder, but set the expression directly. Also fixes a small memleak. 2001-09-12 <NotZed@Ximian.com> * camel-store.c (camel_store_delete_folder): Fixed warnings with a cast. (camel_store_rename_folder): " svn path=/trunk/; revision=12854
* We can't use NULL as the first arg for e_addressbook_show_contact_editorJon Trowbridge2001-09-152-2/+7
| | | | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): We can't use NULL as the first arg for e_addressbook_show_contact_editor anymore. Damn. (#8535) svn path=/trunk/; revision=12853
* Check that unsorted >= 0 before using it as an array index. (Bug #9115)Jon Trowbridge2001-09-151-2/+3
| | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * gal/widgets/e-reflow.c (e_reflow_reflow): Check that unsorted >= 0 before using it as an array index. (Bug #9115) svn path=/trunk/; revision=12852
* Make "stop" do nothing but set the stopped flag, as inJon Trowbridge2001-09-1510-209/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book-listener.c (e_book_listener_stop): Make "stop" do nothing but set the stopped flag, as in e-book-view-listener.c. (e_book_listener_destroy): Clean up our queue here, rather than in e_book_listener_stop. (response_free): Added. Move the rather lengthy bit of code needed to free a EBookListenerResponse into one place. (e_book_listener_check_queue): Properly deal with the stopped flag. (e_book_listener_queue_response): If the stopped flag is set, just drop the incoming response. * backend/ebook/e-book-view-listener.c (e_book_view_listener_stop): Make "stop" do nothing but set the stopped flag. (e_book_view_listener_destroy): Move all of the clean-up that used to be in e_book_view_listener_stop here. This considerably simplifies the logic required to avoid various race conditions. (e_book_view_listener_check_queue): Properly deal with the stopped flag. (e_book_view_listener_queue_response): Drop all incoming responses if we are stopped. 2001-09-14 Jon Trowbridge <trow@ximian.com> * backend/pas/pas-book.c (pas_book_queue_request): Hold a reference to the book on behalf of our idle function. (pas_book_check_queue): When we are finished, drop the reference we've been holding on behalf of the idle function. * backend/pas/pas-backend-file.c (pas_backend_file_process_create_card): Hold a reference to the book_view while sending our notifications. (pas_backend_file_process_remove_card): Hold a reference to the book_view while sending our notifications. * gui/contact-editor/e-contact-quick-add.c (quick_add_unref): Remove debugging spew. * backend/ebook/e-book-util.c: Remove a lot of unused code that worked around bugs that have long since been fixed. (simple_query_disconnect): Added. Breaks out the part of simple_query_free that disconnect signals. (simple_query_free): Replace code w/ a call to simple_query_disconnect. (simple_query_sequence_complete_cb): Call simple_query_disconnect before executing the callback, so that our callbacks don't get triggered by any book changes that might occur during that callback. * backend/ebook/e-book-view-listener.c (e_book_view_listener_check_queue): Changed to be consistent with e_book_listener_check_queue. (e_book_view_listener_queue_response): Also changed to use a high-frequency timeout. * backend/ebook/e-book-listener.c (e_book_listener_check_queue): OK, I've agonized over this stupid little function, and it should now be race-free. (e_book_listener_queue_response): We process our response queue in a high-frequency timeout rather than an idle. Using an idle function leads to some tricky race conditions and bad interactions with bonobo's semi-broken attempts to take over event processing. (e_book_view_listener_stop): Manually disable our timeout and clean up. svn path=/trunk/; revision=12851
* linked to a now-obsolete section. changed link.Aaron Weber2001-09-153-261/+338
| | | | | | | | | | | | | | | 2001-09-15 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: linked to a now-obsolete section. changed link. * C/config-prefs.sgml: Man, this needed so much more than style revision-- the whole mail section had to be redone. Yech. * C/usage-mail.sgml: moved "sharing mail" tip from config-prefs. * C/config-prefs.sgml: style. svn path=/trunk/; revision=12850
* Return the cached value of camel_service_get_name so that we don't leakJeffrey Stedfast2001-09-152-16/+30
| | | | | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_root_value_at): Return the cached value of camel_service_get_name so that we don't leak memory. (fe_real_value_at): Don't strdup the node's name. (folder_etree_construct): Set the service_name. (fe_destroy): Free the service_name. svn path=/trunk/; revision=12849
* fixed a small memory leakJeffrey Stedfast2001-09-152-0/+4
| | | | svn path=/trunk/; revision=12848
* Added a refcount variable so set the refcount to 1. (sd_got_store): UnrefJeffrey Stedfast2001-09-152-46/+86
| | | | | | | | | | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (store_data_new): Added a refcount variable so set the refcount to 1. (sd_got_store): Unref the store-data. (store_data_async_get_store): Ref the store-data. (store_data_ref): New function. (store_data_unref): New function. (subscribe_dialog_destroy): Instead of freeing the store-data here, unref it instead. We may just have an async function running. Set the callback function to NULL so that when the (remaining) async functions finish, they become no-ops. svn path=/trunk/; revision=12847
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-153-2/+11
| | | | | | | | | | <richard@tartarus.org>, as per #9258.] * importer/Makefile.am (CLEANFILES): Assign directly using `=', instead of `+='. * Makefile.am (CLEANFILES): Likewise. svn path=/trunk/; revision=12846
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-153-2/+11
| | | | | | | | | | <richard@tartarus.org>, as per #9258.] * executive-summary/component/Makefile.am (CLEANFILE): Assign directly with `=', not `+='. * executive-summary/evolution-services/Makefile.am: Likewise. svn path=/trunk/; revision=12845
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-152-1/+8
| | | | | | | | <richard@tartarus.org>, as per #9258.] * Makefile.am (CLEANFILES): Set directly with `=' instead of `+='. svn path=/trunk/; revision=12844
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-152-1/+2
| | | | | | | | | <richard@tartarus.org>, as per #9258.] * pcs/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12843
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-152-1/+3
| | | | | | | | | <richard@tartarus.org>, as per #9258.] * gui/alarm-notify/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12842
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-154-3/+11
| | | | | | | | | <richard@tartarus.org>, as per #9258.] * cal-client/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12841
* Set CLEANFILES directly instead of using `+='.Ettore Perazzoli2001-09-152-1/+4
| | | | | | | | | | | | | * gui/component/select-names/Makefile.am: Set CLEANFILES directly instead of using `+='. * backend/pas/Makefile.am: Rename `LDAP_BACKEND_SOURCES' to `LDAP_BACKEND_FILES'. * backend/ebook/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12840
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-153-5/+16
| | | | | | | | | | | | <richard@tartarus.org>, as per #9258.] * backend/pas/Makefile.am: Rename `LDAP_BACKEND_SOURCES' to `LDAP_BACKEND_FILES'. * backend/ebook/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12839
* Use g_datalist_set_data_full so that the data will be free'd when we clearJeffrey Stedfast2001-09-153-4/+9
| | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * camel-url.c (camel_url_set_param): Use g_datalist_set_data_full so that the data will be free'd when we clear the list. svn path=/trunk/; revision=12838
* added space after 'identities' in the message. Fixes bug #9896.Damon Chaplin2001-09-152-1/+6
| | | | | | | | | 2001-09-14 Damon Chaplin <damon@ximian.com> * gui/e-itip-control.c (ok_clicked_cb): added space after 'identities' in the message. Fixes bug #9896. svn path=/trunk/; revision=12837
* Updated Swedish translation.Christian Rose2001-09-152-208/+192
| | | | | | | | 2001-09-15 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation. svn path=/trunk/; revision=12836
* Timezone stuffIain Holmes2001-09-154-129/+126
| | | | svn path=/trunk/; revision=12835
* Return a proper value. (impl_Shell_createStorageSetView): Likewise.Ettore Perazzoli2001-09-152-5/+15
| | | | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Return a proper value. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (impl_Shell__get_displayName): Likewise. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. svn path=/trunk/; revision=12834
* Redo the addressbook code.Iain Holmes2001-09-152-140/+74
| | | | svn path=/trunk/; revision=12833
* Revert my bar_destroy code and replace it with dialog_destroy instead.Jeffrey Stedfast2001-09-152-3/+7
| | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Revert my bar_destroy code and replace it with dialog_destroy instead. svn path=/trunk/; revision=12832