aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove references to the "compose" program, since that functionality wentDan Winship2001-09-276-297/+68
| | | | | | | | | | * configure.in: Remove references to the "compose" program, since that functionality went into the shell. (AC_OUTPUT): Sort and remove duplicates. * cmdline/*: gone svn path=/trunk/; revision=13193
* A service needs to be disconnected if it's remote, not already offline,Dan Winship2001-09-273-32/+68
| | | | | | | | | | | | | | | | | | | | * mail-offline-handler.c (service_is_relevant): A service needs to be disconnected if it's remote, not already offline, and either connected OR connecting. (storage_go_offline): Don't put non-relevant stores offline. (Eg, don't force an IMAP store which you hadn't already connected to to connect and sync.) (storage_go_online): Likewise, don't "reconnect" stores that weren't connected before. * mail-ops.c (set_offline_desc): Fix the message to say "reconnecting" instead of "disconnecting" when appropriate. (mail_store_set_offline): If offline is TRUE, call camel_service_cancel_connect on the store. (We do this here because we don't want the cancel_connect request to get queued up behind a hanging connection attempt.) svn path=/trunk/; revision=13192
* Change "gboolean connected" to "CamelServiceConnectionStatus status",Dan Winship2001-09-278-29/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-service.c: Change "gboolean connected" to "CamelServiceConnectionStatus status", which can be disconnected, connecting, connected, or disconnecting. (camel_service_init, camel_service_finalize): create/destroy the connect_op_lock. Refer to service->status rather than service->connected. (camel_service_connect): When connecting, note the current operation (and create a new one if there's none registered) and mark the connection "connecting" until we succeed or fail. (camel_service_disconnect): Likewise in reverse. (camel_service_cancel_connect): New function to cancel a connection attempt. (cancel_connect): Default implementation: Call camel_operation_cancel on the connect_op. * camel-disco-store.c (disco_connect): Only call CamelRemoteStore's connect func if we're online. (disco_cancel_connect): Fall back to offline if a connection gets cancelled. (disco_get_folder_info): Kludge: call connect explicitly before deciding whether to do the online or offline version, so if the connect fails, we fall back correctly. * camel-session.c (camel_session_get_service_connected): s/svc->connected/svc->status/ * camel-remote-store.c (camel_remote_store_finalise): Change service->connected check to service->status check. (remote_connect): Don't set service->connected here: camel_service_connect() itself does that. * camel-operation.c (camel_operation_registered): Deal with the possibility that there's no registered op. svn path=/trunk/; revision=13191
* Updated Slovak translation.Stanislav Visnovsky2001-09-272-696/+888
| | | | | | | | 2001-09-27 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation. svn path=/trunk/; revision=13190
* added InvalidURI and UnsupportedMethod exceptions to the CalFactoryRodrigo Moya2001-09-274-49/+133
| | | | | | | | | | | | | | | | | | | | 2001-09-27 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added InvalidURI and UnsupportedMethod exceptions to the CalFactory interface * pcs/cal-factory.c (impl_CalFactory_open): raise InvalidURI exception on URI errors and UnsupportedMethod when we don't support the method for a given URI 2001-09-26 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c: added support for using multiple calendar factories (cal_client_uri_list): use the list of factories loaded for this CalClient svn path=/trunk/; revision=13189
* Updated Hungarian translationAndras Timar2001-09-272-788/+918
| | | | | | | | 2001-09-26 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation svn path=/trunk/; revision=13188
* use the old record (if there was one) so as not to overwrite fields weJP Rosevear2001-09-273-5/+24
| | | | | | | | | | | | 2001-09-27 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): use the old record (if there was one) so as not to overwrite fields we don't sync (pre_sync): store the dbi in the context and don't make it object data svn path=/trunk/; revision=13187
* added comparison functions for these special cell types. But the date andDamon Chaplin2001-09-2721-177/+525
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 Damon Chaplin <damon@ximian.com> * gui/e-calendar-table.c (date_compare_cb): (percent_compare_cb): (priority_compare_cb): added comparison functions for these special cell types. But the date and percent ones don't work yet due to the use of static text buffers for return cell values. (e_calendar_table_init): added the comparison functions to the ETableExtras. NOTE: task_compare_cb() never seems to be called. I'm not sure why it is there. * gui/e-calendar-table.etspec: set the comparison function names for the date/percent/priority fields. * cal-util/cal-util.c (cal_util_priority_to_string): (cal_util_priority_from_string): new utility functions. * gui/calendar-model.c (get_priority): (set_priority): used above utility functions, and removed the warning dialog which isn't useful now that the field isn't editable. * gui/dialogs/event-page.c (times_updated): handle timezones and for all-day events make sure it stays an all-day event after adjusting. Fixes bugs #5945 and #10222. * gui/calendar-commands.c (pixmaps): fixed the E_PIXMAP paths - the edit items were moved beneath 'EditPlaceholder'. This gets rid of those long Bonobo warnings! (and we get the icons back) * gui/dialogs/comp-editor.c (pixmaps): removed the PrintPreview toolbar icon, since it doesn't appear in the xml file. Gets rid of warning. * gui/dialogs/event-page.c (notify_dates_changed): new function to emit the notification signal when the dates are changed. It also handles timezones now. * gui/dialogs/comp-editor-page.h (CompEditorPageDates): used CalComponentDateTime for start/end/due so we have the timezone as well as the time. * gui/dialogs/comp-editor-util.c (comp_editor_dates): updated to get the timezones as well as the times. (comp_editor_free_dates): new function needed to free all the structs. * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): added call to preview_recur() to make sure the preview gets updated. * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): free the CompEditorPageDates struct after use. * gui/tag-calendar.c (tag_calendar_by_comp): added 'comp_is_on_server' argument. If FALSE, we try to use builtin timezones first. This is needed for the recurrence page of the event editor, because the timezones may not have been added to the server yet. This and the changes to the notification stuff should fix bug #5034. * gui/gnome-cal.c (dn_query_obj_updated_cb): call above tag_calendar_by_comp() with TRUE since the events will be on the server in this case. * gui/e-day-view-layout.c: * gui/e-day-view.c: made sure an event always takes up at least one row, even when the start & end times are the same. Fixes bug #5944. I don't know if we should try to also handle events with the end time before the start time. * gui/e-week-view.c (e_week_view_style_set): check that the small font is actually smaller than the normal font. If it isn't, don't use it. Hopefully fixes bug #6876. (e_week_view_on_new_appointment): if only one day is selected, then we set the initial time of the event to 1/2-hour from the start of the working day, to differentiate 'New Appointment' from 'New All Day Event'. Fixes bug #8892. * gui/e-day-view.c (e_day_view_on_new_appointment): do the same as the above. svn path=/trunk/; revision=13186
* grab focus to the date entry or the time entry, depending on which isDamon Chaplin2001-09-272-0/+30
| | | | | | | | | 2001-09-18 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry or the time entry, depending on which is visible. Fixes bug #7237. svn path=/trunk/; revision=13185
* added calendar/cal-util/cal-util.cDamon Chaplin2001-09-272-0/+5
| | | | | | | | 2001-09-24 Damon Chaplin <damon@ximian.com> * POTFILES.in: added calendar/cal-util/cal-util.c svn path=/trunk/; revision=13184
* Let's start the calendar hype - FedericoFederico Mena Quintero2001-09-271-0/+15
| | | | svn path=/trunk/; revision=13183
* Fixes the GUI part of bug #7892.Federico Mena Quintero2001-09-273-39/+99
| | | | | | | | | | | | | | | | 2001-09-26 Federico Mena Quintero <federico@ximian.com> Fixes the GUI part of bug #7892. * gui/dialogs/alarm-page.c (get_alarm_duration_string): Return NULL if the duration is zero. (get_alarm_string): Handle duration of zero. Also, hopefully make the strings be more l10n-friendly. * gui/alarm-notify/alarm.c (alarm_ready_cb): I am a moron. Fix reversed test. svn path=/trunk/; revision=13182
* add OAFIID parameter to the call to the pas_book_factory_activateChris Toshok2001-09-272-1/+7
| | | | | | | | | 2001-09-26 Chris Toshok <toshok@ximian.com> * wombat.c (setup_pas): add OAFIID parameter to the call to the pas_book_factory_activate function, as with the calendar stuff. svn path=/trunk/; revision=13181
* use priv->iid instead of the hardcoded string here.Chris Toshok2001-09-273-9/+33
| | | | | | | | | | | | | | 2001-09-26 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book-factory.c (pas_book_factory_destroy): use priv->iid instead of the hardcoded string here. (pas_book_factory_activate): parameterize the factory's iid, as in the calendar server, and provide a default if iid == NULL. * backend/pas/pas-book-factory.h: add iid parameter for pas_book_factory_activate. svn path=/trunk/; revision=13180
* ChangeLog fix.Chris Lahey2001-09-271-0/+1
| | | | svn path=/trunk/; revision=13179
* Added a "Description:" label and moved the source_description andAnna Marie Dirks2001-09-272-83/+124
| | | | | | | | | | 2001-09-26 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: Added a "Description:" label and moved the source_description and transport_description labels to a more appropriate place. svn path=/trunk/; revision=13178
* Check for the root node here.Christopher James Lahey2001-09-272-0/+7
| | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * message-list.c (mlfe_callback): Check for the root node here. svn path=/trunk/; revision=13177
* Change the wording of the password dialog if we are getting a pgpJeffrey Stedfast2001-09-272-1/+8
| | | | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): Change the wording of the password dialog if we are getting a pgp passphrase so that users don't misinterpret it to mean saving the passphrase forever. svn path=/trunk/; revision=13176
* strdup our "This message contains invalid recipients" string, since itJon Trowbridge2001-09-272-1/+6
| | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (composer_get_message): strdup our "This message contains invalid recipients" string, since it gets freed later. And then don't leak the message string. (Bug #10877) svn path=/trunk/; revision=13175
* Use camel_address_format, not camel_address_encode.Jon Trowbridge2001-09-272-2/+5
| | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * mail-format.c (write_address): Use camel_address_format, not camel_address_encode. svn path=/trunk/; revision=13174
* Use camel_address_format, not camel_address_encode.Jon Trowbridge2001-09-272-1/+6
| | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-destination.c (e_destination_get_textrep): Use camel_address_format, not camel_address_encode. svn path=/trunk/; revision=13173
* Fix the libical-related part of Ximian bug #7892.Federico Mena Quintero2001-09-274-8/+21
| | | | | | | | | | | | | | | | | | 2001-09-26 Federico Mena Quintero <federico@ximian.com> Fix the libical-related part of Ximian bug #7892. * src/libical/icalduration.c (icaldurationtype_as_ical_string): The correct string for zero seconds is "PT0S", not "PTS0". Also handle "negative zero" durations. * src/libical/icalvalue.c (icalvalue_new_from_string_with_error): Use icalerrno to see if the duration string is invalid. We cannot use icaldurationtype_is_null_duration() because a duration of zero *is* valid, not an error (icalduration_type_from_string() returns a zero duration on parse error, too). svn path=/trunk/; revision=13172
* New helper function. (folder_selected_cb): Call it.Ettore Perazzoli2001-09-274-31/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper function. (folder_selected_cb): Call it. (folder_context_menu_popping_up_cb): New callback for the "folder_context_menu_popping_up" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the right-clicked folder. (folder_context_menu_popped_down_cb): New, callback for the "folder_context_menu_popped_down" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the currently displayed folder. (e_shell_view_get_folder_bar_right_click_path): Add a cast to placate a warning. * e-storage-set-view.c (class_init): Set up the "folder_context_menu_popping_up" and "folder_context_menu_popped_down" signals. (right_click): Emit "folder_context_menu_popping_up" before popping up the menu, "folder_context_menu_popped_down" after the menu is gone. * e-storage-set-view.h: New signals "folder_context_menu_popping_up" and "folder_context_menu_popped_down". svn path=/trunk/; revision=13171
* Added help text (thanks to Aaron) and re-worded the labels, and fixed theAnna Marie Dirks2001-09-272-119/+181
| | | | | | | | | | 2001-09-26 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/contact-editor.glade: Added help text (thanks to Aaron) and re-worded the labels, and fixed the shortcuts on the brand-spanking-new Collaboration tab. svn path=/trunk/; revision=13170
* If we get a search error, just abort, dont try and fall back and copy to62001-09-272-22/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 <NotZed@Ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): If we get a search error, just abort, dont try and fall back and copy to inbox. (camel_filter_driver_filter_message): Make sure we ALWAYS use exceptions for important things - like moving messages to inbox! (camel_filter_driver_filter_message): If we have the source folder, use camel_folder_set_message_flags rather then poking the info directly, which skips changed events. This means filtering immediate doesn't lose changed events. (do_flag): Same here. (do_colour): Same thing but using set_tag. (do_score): Same again. (camel_filter_driver_filter_folder): Use ~0 as the 'set' arg to set_flags, just saves typing. (open_folder): We cache folders that we couldn't open as well as those ones we could. Use magic token FOLDER_INVALID = (void *)~0 as the marker. (close_folder): Handle FOLDER_INVALID case properly. svn path=/trunk/; revision=13169
* New function to convenience Larry ;-) (check_content_id): Oops, returnJeffrey Stedfast2001-09-272-4/+7
| | | | | | | | | | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-message.c (camel_mime_message_get_part_by_content_id): New function to convenience Larry ;-) (check_content_id): Oops, return !found instead of found. This callback has to return whether or not to keep searching, not whether or not it found what it's looking for. Do'h! * camel-pgp-mime.c (camel_pgp_mime_is_rfc2015_signed): block out some code if ENABLE_PEDANTIC_PGPMIME is not defined. svn path=/trunk/; revision=13168
* Put my name in alphabetical orderRodrigo Moya2001-09-271-1/+1
| | | | svn path=/trunk/; revision=13167
* fixed merge conflictsJeffrey Stedfast2001-09-271-1/+0
| | | | svn path=/trunk/; revision=13166
* New function to convenience Larry ;-)Jeffrey Stedfast2001-09-274-4/+64
| | | | | | | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-message.c (camel_mime_message_get_part_by_content_id): New function to convenience Larry ;-) * camel-pgp-mime.c (camel_pgp_mime_is_rfc2015_signed): block out some code if ENABLE_PEDANTIC_PGPMIME is not defined. svn path=/trunk/; revision=13165
* Added a flag to enable pedantic PGP/MIME - this is not recommended forJeffrey Stedfast2001-09-273-0/+17
| | | | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Added a flag to enable pedantic PGP/MIME - this is not recommended for end-users. It is mostly meant for testing purposes. svn path=/trunk/; revision=13164
* Emptied VeeStorePrivate, member wasn't used.62001-09-274-23/+38
| | | | | | | | | | | | | | | | | | | | | | 2001-09-26 <NotZed@Ximian.com> * camel-vee-store.c: Emptied VeeStorePrivate, member wasn't used. * camel-vee-folder.c (camel_vee_folder_set_expression): Lock changed list separately. (camel_vee_folder_remove_folder): " (camel_vee_folder_set_folders): Use changed_lock for changed list. (vee_refresh_info): Use changed_lock, also just grab the list, reset it in the lock, and do the work unlocked. (vee_sync): Use changed lock for changed list. (folder_changed): ". All this kills a deadlock with sync/expunge. * camel-private.h (CamelVeeFolderPrivate): Added a new lock for the folders-changed list. (CamelVeeStorePrivate): Removed, defined in camel-vee-store.c, thanks to a pedantic. svn path=/trunk/; revision=13163
* Updated Spanish translation.Hector Garcia2001-09-272-271/+298
| | | | svn path=/trunk/; revision=13162
* add completion_book.Chris Toshok2001-09-273-3/+59
| | | | | | | | | | | | | | | | | | 2001-09-26 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.h: add completion_book. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_new): get /Addressbook/Completion/uri, and if it's present, use the corresponding EBook for completing addresses. (focus_out_cb): use manager->completion_book here instead of NULL, which corresponds to the local addressbook. (completion_popup_cb): same. (e_select_names_manager_create_entry): same. svn path=/trunk/; revision=13161
* Decode our URL before extracting the address to pop up contact info.Jon Trowbridge2001-09-274-16/+32
| | | | | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * mail-display.c (html_button_press_event): Decode our URL before extracting the address to pop up contact info. * mail-format.c (write_address): When writing out a mailto: link, make sure we construct a valid URL w/ correct encoding. Make sure our address is properly quoted, if necessary. svn path=/trunk/; revision=13160
* Allow ctrl-p and ctrl-n to be used to move up and down in the completionJon Trowbridge2001-09-272-5/+30
| | | | | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_key_press_handler): Allow ctrl-p and ctrl-n to be used to move up and down in the completion list. (Bug #10500) * gal/e-text/e-completion-match.c (e_completion_match_set_text): Properly validate the utf8. svn path=/trunk/; revision=13159
* Properly handle names when the individual elements (given, addition,Jon Trowbridge2001-09-274-42/+108
| | | | | | | | | | | | | | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-card-compare.c (e_card_compare_name_to_string): Properly handle names when the individual elements (given, addition, family) contain whitespace. (Bug #10502) * backend/ebook/e-destination.c (e_destination_set_name): Reset textrep when we change the name. (e_destination_set_email): Reset textrep when we change the email. (e_destination_get_textrep): Make sure that the textrep version of the address is properly quoted if it contains unsafe characters. (All related to bug #10796) * gui/component/select-names/e-select-names-completion.c (match_nickname): Fix nickname matching. (bug #9698) (make_match): Use e_completion_match_new when building our match, rather than ad hoc manipulation of the struct. svn path=/trunk/; revision=13158
* Add copyright noticesIain Holmes2001-09-2725-84/+454
| | | | svn path=/trunk/; revision=13157
* Fixes glitch in mailto: url parsing that caused it to fail when recipientJon Trowbridge2001-09-272-6/+16
| | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Fixes glitch in mailto: url parsing that caused it to fail when recipient names contained commas. (Bug #10796) svn path=/trunk/; revision=13156
* Add a big comment explaining unread message counts so no one can mess themDan Winship2001-09-273-3/+41
| | | | | | | | | | | | * mail-folder-cache.c: Add a big comment explaining unread message counts so no one can mess them up again in the future. :-) (update_1folder): If info->unread_message_count is -1, don't do anything. * component-factory.c (component_factory_init): warn and exit if oaf_active_server_register returns OAF_REG_ALREADY_ACTIVE. svn path=/trunk/; revision=13155
* Fix Ettore's fix.Jeffrey Stedfast2001-09-272-6/+10
| | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Fix Ettore's fix. svn path=/trunk/; revision=13154
* set the last_use and use_score fields of the card to known values so theJP Rosevear2001-09-273-10/+65
| | | | | | | | | | | | | | | | 2001-09-26 JP Rosevear <jpr@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_changes): set the last_use and use_score fields of the card to known values so the card doesn't register as changed when only they have changed 2001-09-26 Peter Williams <peterw@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): Fix this function to set email addresses properly, and handle multiple occurrences of email addresses, home phone numbers, and business phone numbers. svn path=/trunk/; revision=13153
* Oops, translate the fake account name to UTF-8.Jeffrey Stedfast2001-09-272-1/+6
| | | | | | | | | 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Oops, translate the fake account name to UTF-8. svn path=/trunk/; revision=13152
* disconnect signals first thingJP Rosevear2001-09-272-2/+7
| | | | | | | | | 2001-09-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_destroy): disconnect signals first thing svn path=/trunk/; revision=13151
* Add -export-dynamic to make glade custom widgets work on non-Linux.Dan Winship2001-09-262-1/+6
| | | | | | | * gui/Makefile.am (evolution_calendar_LDFLAGS): Add -export-dynamic to make glade custom widgets work on non-Linux. svn path=/trunk/; revision=13150
* Polish, describe names of conduits.Aaron Weber2001-09-263-27/+47
| | | | | | | | | | 2001-09-26 Aaron Weber <aaron@ximian.com> * C/config-sync.sgml: Polish, describe names of conduits. * C/usage-sync.sgml: Minor changes. svn path=/trunk/; revision=13149
* added CAL_MODE_INVALID to CalMode enumRodrigo Moya2001-09-262-0/+5
| | | | | | | | 2001-09-26 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added CAL_MODE_INVALID to CalMode enum svn path=/trunk/; revision=13148
* Added myself to about boxRodrigo Moya2001-09-261-0/+1
| | | | svn path=/trunk/; revision=13147
* Set the step_increment on the horizontal scrollbars here to 20.Christopher James Lahey2001-09-262-0/+12
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-tree.c: Set the step_increment on the horizontal scrollbars here to 20. svn path=/trunk/; revision=13146
* Use e_tree_selected_path_foreach instead of e_tree_selected_row_foreachChristopher James Lahey2001-09-262-4/+10
| | | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_foreach): Use e_tree_selected_path_foreach instead of e_tree_selected_row_foreach here. svn path=/trunk/; revision=13145
* Set cursor_path = NULL here.Christopher James Lahey2001-09-261-0/+2
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_node_changed, etsm_destroy): Set cursor_path = NULL here. svn path=/trunk/; revision=13144
* Made it so that if allow_newlines is FALSE, pasting into ETexts doesn'tChristopher James Lahey2001-09-262-62/+79
| | | | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (_insert): Made it so that if allow_newlines is FALSE, pasting into ETexts doesn't insert carriage returns. Fixes Ximian bug #5761 and Ximian bug #9067. svn path=/trunk/; revision=13143
* new protoJP Rosevear2001-09-2614-51/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 JP Rosevear <jpr@ximian.com> * pcs/cal.h: new proto * pcs/cal.c (impl_Cal_set_mode): implement set mode method (cal_class_init): set setMode function in epv (cal_notify_mode): notify listener of mode change * pcs/cal-factory.c (add_uri): deal with UriType renaming * pcs/cal-backend.h: add new virtual methods and protos * pcs/cal-backend.c (cal_backend_class_init): init new virtual methods to null (cal_backend_set_mode): sets mode (cal_backend_get_mode): gets mode * pcs/cal-backend-file.c (cal_backend_file_class_init): overide get_mode and set_mode methods (cal_backend_file_get_mode): return mode (notify_mode): have listeners notified of the set mode call (cal_backend_file_set_mode): set the mode by indicating not supported * cal-client/cal-listener.h: update proto * cal-client/cal-listener.c (impl_notifyCalSetMode): implement set mode callback (cal_listener_construct): take set mode callback (cal_listener_new): ditto * cal-client/cal-client.h: update protos, add signal proto * cal-client/cal-client.c (cal_client_class_init): add cal_set_mode signal (cal_set_mode_cb): handle set mode callback from listener (cal_client_open_calendar): pass additional param to cal_listener_new (cal_client_set_mode): wrapper to set the calendar mode * idl/evolution-calendar.idl: make UriType into CalMode, add SetModeStatus enum and notifyCalSetMode method to the listener * gui/calendar-offline-handler.c (create_connection_list): fetch the uri list ourselves (impl_prepareForOffline): reflect param change of create_connect_list (update_offline): ditto (backend_cal_set_mode): set mode call back (backend_cal_opened): cal opened call back, set mode to local (impl_goOffline): reflect UriType renaming * cal-util/cal-util.h: rename UriType to CalMode svn path=/trunk/; revision=13142
* make sure the solaris network libs get added to the LDAP link line beforeChris Toshok2001-09-262-0/+8
| | | | | | | | | | 2001-09-26 Chris Toshok <toshok@ximian.com> * configure.in: make sure the solaris network libs get added to the LDAP link line before we test for openldap. Thanks to Frank Belew for finding this. svn path=/trunk/; revision=13141
* refactor to allow syslogging; hmm.Michael Meeks2001-09-262-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-27 Michael Meeks <michael@ximian.com> * bonobo/bonobo-moniker-util.c (bonobo_get_object): refactor to allow syslogging; hmm. * bonobo/bonobo-ui-util.c: prune stuff, give up hope of libxml1 ever coping with utf-8 properly - cut confusing dup'd routines. 2001-09-26 Michael Meeks <michael@ximian.com> * bonobo/bonobo-ui-component.c (bonobo_ui_component_remove_verb), (bonobo_ui_component_remove_verb_by_func), (bonobo_ui_component_remove_verb_by_data), (bonobo_ui_component_add_listener_full), (bonobo_ui_component_remove_listener), (bonobo_ui_component_remove_listener_by_func), (bonobo_ui_component_remove_listener_by_data), (impl_xml_get, impl_xml_set, impl_xml_rm), (bonobo_ui_component_object_set), (bonobo_ui_component_object_get), (impl_freeze, impl_thaw, impl_get_prop), (impl_exists, bonobo_ui_component_unset_container), (bonobo_ui_component_set_container), (bonobo_ui_component_get_container), (ui_event, bonobo_ui_component_add_verb_full), (impl_Bonobo_UIComponent_execVerb): add preconditions that priv != NULL on every deref path; it seems people like to work with destroyed obejcts. svn path=/trunk/; revision=13140
* Update to not send the remember-passphrase option to the context, itJeffrey Stedfast2001-09-268-60/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): Update to not send the remember-passphrase option to the context, it doesn't need it anymore. (try_inline_pgp_sig): Same. * mail-accounts.c (construct): The remember-passphrase option is no longer there. This can now be set on the passphrase prompt dialog. (construct): Add confirm expunge options. * mail-config.c (config_read): We no longer read-in the remember-passphrase state because we no longer need it. (mail_config_write_on_exit): We no longer save it either. (mail_config_get_remember_pgp_passphrase): Removed. (mail_config_set_remember_pgp_passphrase): Removed. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we need to send the remember passphrase state to the pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): Here too. (mail_crypto_pgp_mime_part_decrypt): And here. svn path=/trunk/; revision=13139
* No longer takes a remember argument. (pgp_sign): Only uncache theJeffrey Stedfast2001-09-263-24/+30
| | | | | | | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (camel_pgp_context_new): No longer takes a remember argument. (pgp_sign): Only uncache the passphrase on failure. (pgp_clearsign): Same. (pgp_encrypt): Here too. (pgp_decrypt): And here. (pass_free): New function to zero the passphrase before freeing it. svn path=/trunk/; revision=13138
* [Patch for Automake 1.5 compatibility pointed out by RichardEttore Perazzoli2001-09-263-13/+12
| | | | | | | | | | | | Boulton <richard@tartarus.org>, as per #9258.] * providers/nntp/Makefile.am: Remove some commented parts that make Automake 1.5 choke. * Makefile.am (camel-lock-helper): Add $(EXEEXT) for Automake 1.5 compatibility. svn path=/trunk/; revision=13137
* Indent the rule with a tab instead of 8 spaces.Ettore Perazzoli2001-09-262-1/+9
| | | | | | | * sgmldocs.make ($(docname).sgml): Indent the rule with a tab instead of 8 spaces. svn path=/trunk/; revision=13136
* [Patch for Automake 1.5 compatibility pointed out by RichardEttore Perazzoli2001-09-262-1/+8
| | | | | | | | Boulton <richard@tartarus.org>, as per #9258.] * Makefile.am (CLEANFILES): Assign directly, not with `+='. svn path=/trunk/; revision=13135
* Change the name on the EFolder object too.Ettore Perazzoli2001-09-262-2/+10
| | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Change the name on the EFolder object too. svn path=/trunk/; revision=13134
* The folder-info needs to take priority over the folder because of the wayJeffrey Stedfast2001-09-262-3/+15
| | | | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (update_1folder): The folder-info needs to take priority over the folder because of the way IMAP works (which is that it doesn't actually update the folders until you SELECT them and so when you do get_folder_info(), it doesn't actually SELECT the folders, it just STATUS's them). svn path=/trunk/; revision=13133
* Freeze and thawIain Holmes2001-09-264-0/+51
| | | | svn path=/trunk/; revision=13132
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-265-112/+80
| | | | | | | | | | | | | | | | | | | | | yet, as there seems to be something wrong still.] * e-storage.c (e_storage_async_xfer_folder): Ooops. Make the check for CANTMOVETODESCENDANT really work. * e-storage-set-view.c (tree_drag_data_received): Pass the EStorageSetView as the data for the async_xfer function. (folder_xfer_callback): Display an error dialog if something goes wrong. * e-shell-view-menu.c (command_rename_folder): Enable again. * e-shell-folder-commands.c (e_shell_command_rename_folder): Re-implemented. (delete_dialog): Use double quotes instead of single quotes around the folder name, for consistency with the other dialogs. svn path=/trunk/; revision=13131
* Only unref info if we got it.52001-09-262-4/+8
| | | | | | | | | 2001-09-25 <NotZed@Ximian.com> * camel-folder.c (get_unread_message_count): Only unref info if we got it. svn path=/trunk/; revision=13130
* Deal with destroy vs finalise semantics. Only destroy widgets here.52001-09-266-23/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 <NotZed@Ximian.com> * folder-browser.c (folder_browser_destroy): Deal with destroy vs finalise semantics. Only destroy widgets here. (folder_browser_finalise): object finalise function, actually unref/free all other objects here. (folder_browser_class_init): Init the finalise hook. (got_folder): Check if message_list == NULL -> we've been destroyed before the thread got a chance to finish loading the folder. (folder_browser_is_drafts): Dont use a g_return_if_fail to return in what could be a valid state of the object. (folder_browser_is_sent): Likewise. (folder_browser_copy): Do nothing if message_list == NULL. * main.c (main): call mail_msg_cleanup() before leaving threads. * component-factory.c (owner_unset_cb): Wait for all outstanding operations to finish before setting up to quit. (idle_quit): Wait for all outstanding ops to finish before cleanup. (unref_standard_folders): NULL out the standard folder before unreffing it. * mail-mt.c (mail_msg_wait_all): New function to wait for all outstanding thread operations. (mail_msg_cleanup): Destroy the io channels before we're finished. Also wait for all outstanding threads first. Made public. (mail_msg_init): Dont call mail_msg_cleanup atexit automatically. svn path=/trunk/; revision=13129
* Warnings Create an image cache USe task.pngIain Holmes2001-09-267-57/+117
| | | | | | | | Warnings Create an image cache USe task.png svn path=/trunk/; revision=13128
* Updated Spanish translation.Hector Garcia2001-09-262-359/+404
| | | | svn path=/trunk/; revision=13127
* Added task.pngIain Holmes2001-09-263-0/+5
| | | | svn path=/trunk/; revision=13126
* Fix for !threads enabled not ccompiling. (camel_operation_ref): Assert52001-09-263-159/+166
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 <NotZed@Ximian.com> * camel-operation.c (camel_operation_unref): Fix for !threads enabled not ccompiling. (camel_operation_ref): Assert refcount > 0. (struct _CamelOperation): Removed the lock. On further investigation, I dont think this will always work, the registration operations assume that a lookup in the operation_active table will return a ref, that will remain valid until we ref it, which needn't be the case. So now i'm using a single global lock, since we'd need to do that for unref anyway, and every operation is fast & memory-bound. Changed all the code to handle this. (camel_operation_progress_count): Since the code is identical, just call progress() for now. (camel_operation_register): No longer refcount, use unref to check/clear the active table. (camel_operation_unregister): Same here. (camel_operation_unref): Check if operation is in active table, if so, warn, remove. svn path=/trunk/; revision=13125
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-268-109/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124
* Commit patch from Chris to implement e_tree_right_click_up() forEttore Perazzoli2001-09-267-2/+62
| | | | | | correct right-click behavior in single selection mode. svn path=/trunk/; revision=13123
* Added Right-click-bginfo a little.Aaron Weber2001-09-263-22/+37
| | | | | | | | | | | 01-09-25 Aaron Weber <aaron@ximian.com> * C/usage-mail.sgml: Added Right-click-bginfo a little. * C/usage-mail-org.sgml: s/virtual folder/vFolder also use of criterion/criteria. svn path=/trunk/; revision=13122
* call SSL_read/write, looping on SSL_ERROR_WANT_READ/WRITE. I'm sureDan Winship2001-09-262-4/+41
| | | | | | | | | | | | * camel-tcp-stream-openssl.c (my_SSL_read, my_SSL_write): call SSL_read/write, looping on SSL_ERROR_WANT_READ/WRITE. I'm sure there's a perfectly good reason that the API works this way. No, really. (stream_read, stream_write): use my_SSL_read and my_SSL_write. Fixes at least ximian 8593, and probably 6024 and maybe 10366, at least for OpenSSL. There may be a parallel NSS bug? svn path=/trunk/; revision=13121
* Warning fixes courtesy of Chris Lahey <clahey@ximian.com>.Federico Mena Quintero2001-09-267-162/+181
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 Federico Mena Quintero <federico@ximian.com> Warning fixes courtesy of Chris Lahey <clahey@ximian.com>. * gui/e-itip-control.c (write_html): Warning fixes. Also, don't strdup() more than necessary. * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb): Warning fixes. * gui/itip-utils.c (itip_addresses_get): Warning fixes. * gui/print.c (print_day_background): Warning fixes. * gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Warning fixes. (alarm_to_palarm_widgets): Likewise. * gui/dialogs/delete-comp.c: #include "../calendar-config.h" svn path=/trunk/; revision=13120
* If the data wrapper contains raw text, treat the contents as if they wereJeffrey Stedfast2001-09-262-1/+21
| | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (get_data_wrapper_text): If the data wrapper contains raw text, treat the contents as if they were in the user's default charset and convert them to UTF-8. svn path=/trunk/; revision=13119
* Rebuge demugging printf() - FedericoFederico Mena Quintero2001-09-261-2/+0
| | | | svn path=/trunk/; revision=13118
* Check that the timeout is not set up before we create a new one; theFederico Mena Quintero2001-09-262-4/+18
| | | | | | | | | | | | 2001-09-25 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm.c (alarm_ready_cb): Check that the timeout is not set up before we create a new one; the alarm_fn callback may cause the alarm system to re-enter and add a new alarm. Fixes bug #10840. (pop_alarm): Assert that there is at least one alarm in the queue. svn path=/trunk/; revision=13117
* Throw up a warning dialog if we suspect the config database is corrupt.Jeffrey Stedfast2001-09-264-9/+53
| | | | | | | | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Throw up a warning dialog if we suspect the config database is corrupt. * mail-config.c (config_read): If the account name is NULL, then we have a corrupt config database most likely - so generate a fake account name and set the corrupt but to TRUE. (mail_config_is_corrupt): New function to find out if the config is suspected of being corrupted. svn path=/trunk/; revision=13116
* A "safe write" function that always writes out all data asked of it, till52001-09-262-31/+50
| | | | | | | | | | | | 2001-09-25 <NotZed@Ximian.com> * camel-stream-buffer.c (stream_write_all): A "safe write" function that always writes out all data asked of it, till finished. (stream_write): Rewritten. What was i on when i wrote that originally, how did it ever work with tcp streams ... svn path=/trunk/; revision=13115
* Handle the case when the transport is nothing.Iain Holmes2001-09-262-0/+12
| | | | svn path=/trunk/; revision=13114
* Check if the transport is NULLIain Holmes2001-09-262-0/+10
| | | | svn path=/trunk/; revision=13113
* Remove the FIXME menu itemIain Holmes2001-09-262-0/+6
| | | | svn path=/trunk/; revision=13112
* Only cache the password for the service if it has an entry in the accountJeffrey Stedfast2001-09-263-18/+33
| | | | | | | | | 2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (pass_got): Only cache the password for the service if it has an entry in the account database. Fixes bug #10875. svn path=/trunk/; revision=13111
* use bonobo-exception stuff to clean codeJP Rosevear2001-09-2619-2452/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 JP Rosevear <jpr@ximian.com> * pcs/cal.c: use bonobo-exception stuff to clean code * pcs/cal-factory.c (add_uri): add uri to the list if the type matches (impl_CalFactory_uriList): implement uriList method * pcs/cal-backend.h: new virtual function member * pcs/cal-backend.c (cal_backend_is_remote): call virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): override virtual function (cal_backend_file_is_remote): new virtual function, always return FALSE * idl/evolution-calendar.idl: uriList factory call, with flags for types to get * gui/dialogs/comp-editor.c (comp_editor_destroy): cast to remove warning * gui/e-itip-control.c (write_label_piece): kill warnings by take const char * * gui/component-factory.c (create_object): aggregate offline interface * gui/Makefile.am: compile new files * calobj.[hc]: Remove obsolete files * cal-util/cal-util.h: enum URI types for uriList call * cal-client/cal-client.c (build_uri_list): build list from string sequence (cal_client_uri_list): factory call to get uri list * cal-client/cal-client.h: new proto * cal-client/cal-client.c: use bonobo exception stuff to clean code * gui/calendar-offline-handler.[hc]: Start some skeleton routines for online/offline handling * pcs/cal-factory.c (launch_backend_for_uri): use accessor and remove FIXME svn path=/trunk/; revision=13110
* Handle creating the new contact in the current folder if it's a contactsChristopher James Lahey2001-09-252-5/+36
| | | | | | | | | | 2001-09-25 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook-component.c (user_create_new_item_cb): Handle creating the new contact in the current folder if it's a contacts folder. Fixes Ximian bug #7814. svn path=/trunk/; revision=13109
* 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