2001-11-09 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (forward_message): If we already have the
message loaded in the mail-display, don't bother re-loading. This
happens to fix bug #14848.
svn path=/trunk/; revision=14663
2001-11-07 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c (etsm_select_all): Don't select all if
the source model doesn't have a root node (it used to crash.)
Fixes Ximian bug #14542.
svn path=/trunk/; revision=14661
2001-11-08 Christopher James Lahey <clahey@ximian.com>
* e-table-sorter.c (ets_sort_info_changed): Make a printout here
be conditionally compiled (and compiled out by default.)
svn path=/trunk/; revision=14660
2001-11-09 Chris Toshok <toshok@ximian.com>
[ Fixes Ximian bug #14687 ]
* backend/pas/pas-backend-file.c
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): do load_uri before add_client,
so we know if the load actually worked (add_client uses this
information to respond to the new client.) before this change,
the client would still think the book was in a useful state even
if the load_uri failed.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): if
the we're not connected, say so.
* backend/pas/pas-backend-file.c (pas_backend_file_add_client):
same.
(pas_backend_file_load_uri): don't report_writable here,
add_client does it. was only needed before because of the
improper ordering in pas-book-factory.c above.
svn path=/trunk/; revision=14655
2001-11-09 Chris Toshok <toshok@ximian.com>
[ Fixes Ximian bug #14646 ]
* gui/component/addressbook.c (addressbook_default_book_open): new
function. if the default_book failed to load, load the local
addressbook in its place.
addressbook_load_default_book): if we're loading the default_book
uri, use addressbook_default_book_open as the open_response.
* backend/ebook/e-book.c (e_book_load_uri_step): reset the
load_state to NotLoaded so we can attempt another load_uri on
the book if it fails.
svn path=/trunk/; revision=14654
2001-11-09 Damon Chaplin <damon@ximian.com>
* gui/e-week-view.c (e_week_view_key_press): don't subtract a day
from DTEND. For DATE values we don't include the entire day now.
Fixes bug #14842.
svn path=/trunk/; revision=14651
2001-11-09 Damon Chaplin <damon@ximian.com>
* gui/e-week-view-layout.c (e_week_view_layout_events): fix buffer
overflow. Fixes bug #10285 (the printing of lines & dates in the
printout of the month view).
svn path=/trunk/; revision=14650
2001-11-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-context.c (crypto_exec_with_passwd): If any of the
pipe()'s fail, clean up any pipes that may have succeeded. Also
close the password fds.
svn path=/trunk/; revision=14649
2001-11-09 <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (imap_auth_loop): If we get a
user cancel and that causes us to fail to authenticate, abort
rather than loop forever. Fix for #14951.
svn path=/trunk/; revision=14648
* gui/dialogs/meeting-page.c
(meeting_page_fill_widgets): Convert strings to GTK+ encoding.
(meeting_page_destroy): Free allocated strings before freeing the list
itself.
svn path=/trunk/; revision=14647
2001-11-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tools_x_evolution_message_parse): Was
x_evolution_message_parse from folder-browser.c. A space char is
no longer used to separate the folder URI and the first uid,
instead this is now done with a nul-char so update to parse the
newer/better format.
* component-factory.c (destination_folder_handle_drop): Update to
parse the new/better format.
* folder-browser.c (x_evolution_message_parse): Moved to
mail-tools.c
(message_list_drag_data_get): Instead of placing a space char
after the folder URI, instead use a nul-char.
svn path=/trunk/; revision=14645
2001-11-08 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_timeout_handler): don't let an empty
event occur for all days when auto scrolling
svn path=/trunk/; revision=14640
2001-11-06 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-command.c
(camel_imap_command_continuation): Now takes a command-length
argument so we can 1) avoid duping the command string yet again,
yay. 2) we now don't have to worry about embedded nul-chars
screwing us over (we still need to avoid allowing them into the
string but at least now it won't mess us up).
* providers/imap/camel-imap-folder.c (do_append): Instead of
appending a nul char to the end of the byte array and then passing
that off as if it were a string to
camel_imap_command_continuation, instead pass the byte-array
length since that function now takes a length argument. Yay. Also
encode any 8bit parts to avoid the possibility of sending embedded
nul chars to the imap server.
* providers/imap/camel-imap-store.c (try_auth): Updated to pass a
command-length argument to camel_imap_command_continuation().
svn path=/trunk/; revision=14637
2001-11-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (pgp_path_changed): Call
mail_config_pgp_type_detect_from_path() instead of doing our own
lame auto-detection that didn't even work ;-)
* mail-config.c (auto_detect_pgp_variables): Execute the pgp
binary and look at it's version string if we have a version string
to compare to.
(mail_config_pgp_type_detect_from_path): New function that takes a
pgp path and attempts to figure out what pgp version it is.
svn path=/trunk/; revision=14634
2001-11-08 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-file.c
(cal_backend_file_compute_changes_foreach_key): don't leak the
string returned by cal_component_get_as_string nor the temporary
CalComponent we create
svn path=/trunk/; revision=14629
2001-11-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Explicitly destroy entries. Part of the fix for
the lingering completion window bug.
svn path=/trunk/; revision=14628
2001-11-08 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (full_cb): Only popup entries that have
focus. Fixes the lingering completion popup bug.
svn path=/trunk/; revision=14626
2001-11-08 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (ok_clicked_cb): don't add the item, remove
it if declining (in case it was added before)
(remove_item): Since we can't discern between an item not found
and another error, always say the removal is complete
svn path=/trunk/; revision=14625
2001-11-07 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-mime.c (camel_pgp_mime_part_decrypt): Add code to
kludge around any x-inline-pgp-hacks by prepending some content
headers to the decrypted data.
svn path=/trunk/; revision=14620
2001-11-07 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_start_time_changed): emit changed
signal
(e_meeting_time_selector_on_end_time_changed): emit changed
signal, if end time is now before start time and all day event,
make sure a whole day is still selected
(e_meeting_time_selector_drag_meeting_time): calculate the first
and last_time's in whole days for all day events
(e_meeting_time_selector_timeout_handler): calculate the drag time
to be whole days for all day events and scroll the canvas even if
we don't update the time so the user can see where they're headed
svn path=/trunk/; revision=14617
2001-11-06 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-editor.c (event_editor_edit_comp): make sure
to remove all attendees from the model when we edit a new comp,
append the pages if they are needed and we weren't showing them
before
* gui/dialogs/task-editor.c (task_editor_edit_comp): same as above
* gui/dialogs/comp-editor.c (comp_editor_remove_page): check for a
return value indicating the page was not found and return if so
svn path=/trunk/; revision=14615