2002-03-04 Damon Chaplin <damon@ximian.com>
* gui/tasks-control.c: added support for printing the Tasks table.
I hacked it a bit so the user could choose portrait or landscape mode.
This is bug #9677. ETable printing has a few issues, though, and it
isn't very pretty.
svn path=/trunk/; revision=15906
2002-03-04 Damon Chaplin <damon@ximian.com>
* e-cell.c (e_cell_print): only call the cell's print method if it has
one. Avoids crashing for unimplemented print methods.
svn path=/trunk/; revision=15903
2002-03-04 Ettore Perazzoli <ettore@ximian.com>
[Fix#20234, Deleting Folder gratuitiously causes /local to open.]
* e-shell-view.c (find_inbox_in_storage): New helper function to
heuristically find an Inbox folder.
(handle_current_folder_removed): New function to handle the
removal of the currently displayed folder in a slightly smarter
way than before. It tries to display the parent folder of the
folder that got deleted and, if not possible, the Inbox in the
same storage. If neither of this is possible, it displays the
default local Inbox. [It still doesn't handle the case where you
have no Inbox gracefully, but that can come later.]
(storage_set_removed_folder_callback): Call
`handle_current_folder_removed'.
2002-03-04 Ettore Perazzoli <ettore@ximian.com>
[Fix#20237, Shell silently drops xfer_folder errors.]
* e-shell-folder-commands.c (xfer_result_callback): Display an
error message if the operation failed.
svn path=/trunk/; revision=15898
* gui/itip-utils.c (comp_subject): Prefix the subject with an
indicator like "Accepted" or "Cancelled" explaining what the
action is, since Outlook doesn't display any of that information
inline like we do. (20780)
svn path=/trunk/; revision=15896
2002-03-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Reverted my
pgp/mime fixes here too.
* camel-mime-part.c (write_to_stream): Removed my pgp/mime raw
stream hack, this is causing problems such as some messages to not
displaying, view->source not working at all, etc.
svn path=/trunk/; revision=15883
2002-02-28 Rodrigo Moya <rodrigo@ximian.com>
* calendar/gui/e-itip-control.c (e_itip_control_set_data): added the
METHOD property to the top level component we create.
svn path=/trunk/; revision=15880
2002-02-28 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c
(e_completion_view_key_press_handler): If tab is hit and the
cursor is still in the entry, move down into the entry otherwise
unbrowse.
svn path=/trunk/; revision=15878
2002-02-28 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't
ref the view here, since it keeps the view alive until the search
is over, which we don't want. we want the view's death to cancel
the search. This speeds up starting new searches after one is
already active (since switching searches actually creates a new
book view and destroys the old one.)
(ldap_search_dtor): remove the matching unref here. The unref as
it was was incorrect anyway, and caused a crash (we needed
search_op->view, not op->view.)
svn path=/trunk/; revision=15877
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-parser.c: Changed offset variables from int's to
off_t's since the system may support large files.
svn path=/trunk/; revision=15874
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Rearrange the
save filter stuff so that we save raw streams for all mime
parts. If the mime part turns out to be a multupart, then don't
bother saving the raw stream, we only need to save the raw stream
for leaf parts.
svn path=/trunk/; revision=15873
* backend/pas/pas-backend-file.c (pas_backend_file_search): move
card_count++ inside the if that checks to see if a card matches
(and adds the card to the list).
svn path=/trunk/; revision=15872
2002-02-27 Chris Toshok <toshok@ximian.com>
[fixes bug #20690]
* backend/pas/pas-backend-ldap.c (func_and): the data arg is not
GList** anymore, it's PASBackendLDAPSExpData*, so use
ldap_data->list instead of *list.
(func_or): same.
(func_not): same.
(func_contains): same.
(func_is): same.
(func_endswith): same.
(func_beginswith): same, but also special case the beginswith
"fileAs" query type (the one used by the alphabet buttons on the
right hand side, so we can deal with entries that don't have
fileAs attributes, and return meaningful responses.)
(pas_backend_ldap_build_query): initialize the
PASBackendLDAPSExpData struct and pass that instead of &list.
Also, take the PASBackendLDAP arg to add to the struct in case we
need it at some point in the future.
(ldap_search_handler): pass in the PASBackendLDAP.
svn path=/trunk/; revision=15871
2002-02-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.h: Don't #include camel-mime-filter-save.h,
we don't use it.
* camel-file-utils.c: Fixed a few 'might be used uninitialized'
warnings which were real problems.
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Save the raw mime
stream for any/all signed parts.
* camel-mime-part.c (camel_mime_part_init): Initialize our raw
stream to NULL.
(camel_mime_part_finalize): Unref our raw stream, if we have one.
(write_to_stream): If we have a raw stream, write that out instead
of re-encoding.
* camel-mime-filter-save.[c,h]: Rewritten to save to a stream
rather than a file.
svn path=/trunk/; revision=15867
2002-02-28 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (header_fold): Use the FOLD_SIZE as a
recommended folding size, but add a new FOLD_MAX_SIZE (=998, the
smtp max line size) as the hard limit for any output.
svn path=/trunk/; revision=15866
2002-02-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-chomp.c (camel_mime_filter_chomp_new): New
stream filter that chomps excess trailing whitespace from the end
of the stream. This is needed to update the PGP/MIME code to
comply with rfc3156.
* camel-pgp-mime.c (camel_pgp_mime_part_verify): Don't attach a
from filter, if it ain't from-filtered already, then we'll just be
breaking stuff. To become rfc3156 compliant, add a chomp filter
here.
(camel_pgp_mime_part_sign): Add a chomp filter here too.
svn path=/trunk/; revision=15863
2002-02-27 Larry Ewing <lewing@ximian.com>
* misc/e-combo-button.c (impl_button_press_event): make a right
click bring up the popup menu.
svn path=/trunk/; revision=15858
2002-02-27 Not Zed <NotZed@Ximian.com>
* camel-mime-part.c (init_header_name_table): Changed header
formatted table to contain a pointer to an output function, and
added in-reply-to and references headers.
(write_references): New function to write out references header,
folded properly. It only approximates based on the last >, but it
should be adequate and will also handle invalid headers.
(write_fold): Function to write out headers folded. Since this is
the default it isn't required.
(write_raw): Write out an already formatted header, e.g. most of
the rest.
(write_to_stream): Lookup header output function, if we have one,
use that, otherwise fold header using basic (dumb) function.
This is all for #14779. A better fix is probably do have the
headers always stored formatted, but that can wait.
svn path=/trunk/; revision=15852
2002-02-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_html): Get the Content-Base if the
header exists and use gtk_html_set_base to set this base url.
* mail-display.c (on_link_clicked): No longer need to calculate
the full url. This is now handled by GtkHTML.
(on_set_base): Removed.
(on_url_requested): No longer need to calculate the full url.
(mail_display_initialize_gtkhtml): Don't connect to the set_base
signal anymore. We don't care.
* mail-display.h: No longer need base_url (it was broken anyway).
svn path=/trunk/; revision=15850
on exit. What happened is that the signal would be disconnected
twice, once by cleanup_delayed_selection() and once by the
while_alive handler.]
* e-shell-view.c (destroy): Call cleanup_delayed_selection() here.
(e_shell_view_display_uri): Use gtk_signal_connect_full(), not
e_gtk_signal_connect_full_while_alive().
svn path=/trunk/; revision=15848
2002-02-26 Rodrigo Moya <rodrigo@ximian.com>
* gui/control-factory.c (set_prop):
* gui/tasks-control.c (tasks_control_set_property): display an error
message if the call to gnome_calendar_open or e_tasks_open does not
return TRUE. Fixes#20346.
svn path=/trunk/; revision=15845
2002-02-26 Not Zed <NotZed@Ximian.com>
* filter-filter.c (option_activate): Copy values across to new
part.
* filter-rule.c (option_activate): copy values across to new part,
if they are compatible.
* filter-element.c (filter_element_copy_value): New function to
copy values (where they can be) from one filter element to another.
* filter-part.c (filter_part_copy_values): New function to copy
values of a filter part. #1359.
svn path=/trunk/; revision=15841
2002-02-26 Not Zed <NotZed@Ximian.com>
* mail-display.c (on_url_requested): If a related part is
requested, remove it from the related undisplayed list.
* mail-format.c (handle_multipart_related): Check if related parts
are displayed, if not, remove them. For #2741.
svn path=/trunk/; revision=15837
* gui/itip-utils.c (itip_send_comp): use
GNOME_Evolution_Composer_setBody rather than _setMultipartType and
_attachData now, to send a message containing just a text/calendar
part. Fixes 14705. Mostly.
(comp_content_type): Include the filename here since we can't add
a Content-Disposition now.
svn path=/trunk/; revision=15834
Mailer side of 14705.
* Evolution-Composer.idl (setBody): Change setBodyText to setBody
and take a MIME type as well.
(show): Add an exception.
* evolution-composer.c (impl_Composer_set_body, etc): Update for
IDL change. While I'm here, fix this to DTRT with both plaintext
and HTML bodies. (It claimed to take plain text before, but then
passed it to the composer as HTML.)
(impl_Composer_show): Raise an exception if setBody has been
called, since the composer window will not display the real data
in that case.
* e-msg-composer.c (e_msg_composer_set_body): interface for
impl_Composer_set_body.
(build_message): If e_msg_composer_set_body has been called, use
the body and MIME type supplied to it rather than the contents of
the HTML editor.
svn path=/trunk/; revision=15833
2002-02-24 Chris Toshok <toshok@ximian.com>
* folder-browser.c (folder_browser_search_do_search): rename
folder_browser_search_query_changed to this.
(folder_browser_gui_init): hook both query_changed and
search_activated up to folder_browser_search_do_search, preserving
current behavior.
svn path=/trunk/; revision=15829
2002-02-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_query_changed): only
handle the ESB_ADVANCED case here now. the actual query work is
done in addressbook_search_activated.
(addressbook_search_activated): split out all the searching
functionality here.
(addressbook_factory_new_control): hook up "search_activated" to
addressbook_search_activated.
svn path=/trunk/; revision=15828
2002-02-24 Chris Toshok <toshok@ximian.com>
* e-filter-bar.c (init): preserve behavior - hook search_activated
signal to the same function as query_changed.
* e-search-bar.c (emit_search_activated): new function.
(entry_activated_cb): use emit_search_activated instead of
emit_query_changed.
(subitem_activated_cb): same.
(activate_button_clicked_cb): same.
(class_init): add the search_activated signal.
(idle_activate_hack): rename idle_change_hack to this, and
emit_search_activated.
(e_search_bar_construct): idle_change_hack -> idle_activate_hack.
(e_search_bar_set_subitem_id): emit_search_activated instead of
emit_query_changed.
(e_search_bar_set_text): same.
* e-search-bar.h (struct _ESearchBarClass): add a search_activated
signal.
svn path=/trunk/; revision=15827
2002-02-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): make the right auth page
start up open.
* gui/component/addressbook-storage.c (addressbook_source_free):
free the binddn.
(addressbook_source_copy): copy the binddn;
svn path=/trunk/; revision=15819