2001-10-22 Christopher James Lahey <clahey@ximian.com>
* gal/util/e-text-event-processor-emacs-like.c
(control_keys): Make C-w not do anything here.
(e_text_event_processor_emacs_like_event): Make C-A-* not do
anything here.
svn path=/trunk/; revision=13889
* mail-format.c (handle_application_pgp): Remove this unused
hack.
(mail_format_mime_message): Initialize a fourth hash table, used
to keep track of fake MIME parts.
(mail_part_set_default_displayed_inline): New routine to set the
default disposition of a part (doesn't change it if the user has
already overridden it).
(format_mime_part): Wrap a blockquote around the error text (moved
here from mail_error_write since it doesn't apply in other cases).
(write_hr): Write a <hr> with appropriate padding between MIME
parts.
(write_one_text_plain_chunk): Write some plain text with
appropriate margins.
(handle_text_plain): Use write_one_text_plain_chunk. Update for
inline specials handler API change.
(fake_mime_part_from_data): Use the "fake_parts" hash to avoid
recreating the same fake parts again if the message is
redisplayed. Lets you toggle the shown/hiddenness of uudecode
parts, and do the new pgp verification thing for inline pgp
signatures.
(try_inline_pgp): Don't do any actual PGP handling here: Just
rewrite as a multipart/encrypted.
(try_inline_pgp_sig): Likewise, just do a multipart/signed (with
the x-inline-pgp-hack parameter set).
(try_uudecoding, try_inline_binhex): Update for API changes.
(handle_multipart_signed): Exciting and new. Use <object> to
create a button which the user must click to do the
verification. Change the formatting of the gpg output text a bit.
* mail-display.c (on_link_clicked): Remove x-evolution-decode-pgp
hack, which is no longer used.
(pixbuf_gen_idle): Add a hack for the PGP verification button.
(do_attachment_header, do_external_viewer): Split out of
on_object_requeested for clarity.
(do_signature): New routine to do the PGP verification button.
(on_object_requested): Now just dispatches to
do_attachment_header, do_external_viewer, or do_signature.
(mail_error_write): Don't do <blockquote> here. Fixed the problem
that was trying to fix elsewhere.
svn path=/trunk/; revision=13888
* e-passwords.c (e_passwords_get_password): Pass a
CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
on error. (Since the "error" is most likely just that the password
isn't cached.)
(e_passwords_remember_password, e_passwords_get_password,
e_passwords_add_password): Change "if (foo) { entire function; }"
to "if (!foo) return;"
* e-html-utils.c (special_chars): Don't allow single quote or
backtick in email addresses, or pipes following URLs.
svn path=/trunk/; revision=13887
2001-10-22 <NotZed@Ximian.com>
* camel-search-private.c (camel_search_header_match): Match check
against all addresses in a multiple address match. Should fix
#13051.
svn path=/trunk/; revision=13885
* camel-pgp-mime.c (camel_pgp_mime_part_verify): Add a hack: if
the multipart/signed part has a "x-inline-pgp-hack" parameter in
its Content-Type, don't pass the MIME headers as part of the data
to be verified.
svn path=/trunk/; revision=13881
* acconfig.h: HAVE_KDE_APPLNK.
* configure.in (EVO_CHECK_LIB): AC_DEFINE `HAVE_KDE_APPLNK' in the
case in which the kde applnk dir is found. Also fix the logic
with the checking so it doesn't get fooled.
svn path=/trunk/; revision=13877
2001-10-22 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (set_date_label): write out the correct
time in the control
* pcs/cal.c (build_fb_seq): utility function to build sequences of
f/b data
(impl_Cal_get_free_busy): use above so we never return a NULL
* conduits/calendar/calendar-conduit-config.h
(calconduit_save_configuration): fix c/p error
(calconduit_load_configuration): ditto
svn path=/trunk/; revision=13876
* mail-callbacks.c (transfer_msg): Fix these functions so they
don't crash evolution-mail. Too bad it still crashes in the
shell.
svn path=/trunk/; revision=13873
2001-10-22 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (meeting_page_destroy): we don't need
to save the state
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy):
ditto
* gui/e-meeting-model.c (build_etable): listen for the etable
being destroyed
(table_destroy_cb): save the state when the etable is destroyed
svn path=/trunk/; revision=13872
2001-10-22 JP Rosevear <jpr@ximian.com>
* data/Makefile.am: include destdir in the path of the kde desktop
installation dir
svn path=/trunk/; revision=13870
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-save-as.c (save_it): Put up an
error dialog if there's an error while saving. If the person hits
cancel on the "file exists" dialog, don't close the file selection
dialog. Fixes Ximian bug #7055.
svn path=/trunk/; revision=13865
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_get_selection):
Accept UTF8_STRING, UTF-8, and STRING targets when getting the
selection.
svn path=/trunk/; revision=13864
2001-10-21 JP Rosevear <jpr@ximian.com>
* gui/dialogs/schedule-page.c (init_widgets): listen for changes
in the date editors
(schedule_page_set_dates): update the times when they change
elsewhere
(update_time): set the time in the dialog
(time_changed_cb): notify of changed times
* gui/dialogs/comp-editor.c (page_dates_changed_cb): don't call
the set dates function on the page that noted the change
(page_summary_changed_cb): same for set summary function
* gui/dialogs/event-page.c (update_time): move time setting stuff
to util function
(event_page_set_dates): use it
(event_page_fill_component): ditto
* gui/e-meeting-time-sel.h: fix comment
svn path=/trunk/; revision=13863
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_url_requested): Use
mail_format_get_data_wrapper_text for text parts so we get free
charset conversion.
* mail-format.c (mail_format_get_data_wrapper_text): Renamed from
get_data_wrapper_text and now returns a GByteArray.
(handle_text_plain): Updated to use the new get_data_wrapper_text.
(handle_application_pgp): Same. Wow...also fixed a mem leak and
made a bit more efficient by doing so.
(handle_text_enriched): Here too. Also use string->len instead of
strlen (string->str).
(mail_format_raw_message): Same.
svn path=/trunk/; revision=13862
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Only do the rawtext
checks if the part is a text part, otherwise don't bother wasting
cpu cycles.
svn path=/trunk/; revision=13861
2001-10-22 <NotZed@Ximian.com>
* mail-callbacks.c (mark_all_as_seen): Instead of select_all()
then using the tree's selected nodes to iterate, just do it on the
folder which keeps the current selection. Fixes#3658.
svn path=/trunk/; revision=13860
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_folder_info_build): Updated comments to
make the code a bit more clear.
svn path=/trunk/; revision=13859
2001-10-21 <NotZed@Ximian.com>
* mail-vfolder.c (mail_vfolder_shutdown): Clear variables once
done, for debugging.
(mail_vfolder_add_uri, mail_vfolder_delete_uri): Dont do anything
if we're shutdown (context == NULL).
* component-factory.c (idle_quit): Move mail_vfolder_shutdown
here, it should be one of the last things shutdown.
* mail-format.c (handle_text_plain): Dont use (if (!p++), and then
check p!= later, since its now 1, oops. Fixes#13106, thought it
was a start of uuencoded stuff!
* folder-browser.c (on_right_click): Escape _'s before adding them
to menu from mailing list name, also remove some dead code that
someone forgot to remove when refactoring. #11307.
(folder_browser_is_drafts): Use the store's uri_cmp function to
compare to the drafts uri's.
(folder_browser_is_sent): Same. Slight cleanup for #11351.
svn path=/trunk/; revision=13856
2001-10-21 <NotZed@Ximian.com>
* camel-store.c (CS_CLASS): Dont do the macro stuff - basically so
you can actually debug calls.
(camel_store_uri_cmp): New function to compare store objects.
* camel-vee-folder.c (vee_folder_add_info): oops, dont free the
vuid, since its alloca'd now.
(folder_changed_change): Kill a compile warning.
svn path=/trunk/; revision=13855
attachments. Also, I think this should make replies to HTML
messages containing inline images referenced via Content-Location
work, but that's not tested.
* e-msg-composer.c (various): Keep two hash tables of inline image
data: one mapping from cid: URLs to CamelMimeParts for all
attachments, the other mapping from file: and Content-Location
urls to CamelMimeParts (for those inline images that came from a
file or have a Content-Location).
(add_inlined_images): Simplify. Most of this code is in
e_msg_composer_add_inline_image_from_file() now.
(e_msg_composer_add_message_attachments, handle_multipart): Change
"attach_all" arg to "just_inlines". If it is set, call
e_msg_composer_add_inline_image_from_mime_part on any attachment
with a Content-Id or Content-Location.
(e_msg_composer_add_inline_image_from_file): Create a mime part
from a file and add it to the inline images hash.
(e_msg_composer_add_inline_image_from_mime_part): Add a mime part
directly to the inline images hash.
* listener.c (resolve_image_url): If asked to resolve a file: URL
that isn't in the inline images hash, call
e_msg_composer_add_inline_image_from_file to get a cid for it.
(impl_event): Look up the URL in the inline_images and
inline_images_by_url hashes.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): Gone. No longer
used.
svn path=/trunk/; revision=13852
2001-10-21 <NotZed@Ximian.com>
* camel-vee-folder.c (vee_folder_add_info): oops, dont free the
vuid, since its alloca'd now.
svn path=/trunk/; revision=13851
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_get_invisible): Offer UTF8_STRING,
UTF-8, COMPOUND_TEXT, STRING, and TEXT targets when we offer the
selection.
svn path=/trunk/; revision=13847
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* addressbook/By_Company.galview: Group by the correct column.
* addressbook/By_Company.galview, addressbook/Phone_List.galview:
Updated both sets of columns here to make more sense.
svn path=/trunk/; revision=13845
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c: Make this not be a radio button, but
instead just a normal menu.
svn path=/trunk/; revision=13844
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(model_and_selection_free): right_click_up here when we let go of
the popup.
* gui/widgets/e-minicard-view.c (e_minicard_view_selection_event):
right_click_up here.
svn path=/trunk/; revision=13843
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_selection_event_real): Use
right_click_down here instead of maybe_do_something.
svn path=/trunk/; revision=13842
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section, e_select_names_set_default): Use an
EEntry here instead of a GtkLabel. Fixes Ximian bug #7067.
svn path=/trunk/; revision=13841
2001-10-21 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (control_activate_cb): Call
e_addressbook_model_force_folder_bar_message when we activate the
component. (Fixes bug #11749)
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_force_folder_bar_message): Added. Forces
emission of a folder_bar_message.
svn path=/trunk/; revision=13840