2003-08-13 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* e-searching-tokenizer.c (searcher_next_token): Fix for 45818 ( i18n
mail messages search only produces '[?]'). Now multibyte character
selection works correctly. But due to associated gtkhtml bug, the find
button functionallity for multibyte characters is broken.
svn path=/trunk/; revision=22236
2003-08-13 Mike Kestner <mkestner@ximian.com>
* configure.in: don't make 1.5 the default version (ie LN_S)
update to use gal-2.2
svn path=/trunk/; revision=22218
2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (write_to_stream): If the content is
base64/qp/uu/etc encoded but the part is 7bit/8bit/(or otherwise
non-encoded), set reencode to TRUE so that we decode the original
content stream. Fixes a bug noticed on
evolution-patches@ximian.com where a patch had a
Content-Transfer-Encoding of 7bit but was base64 encoded.
svn path=/trunk/; revision=22217
2003-08-13 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_remove_range): Fix
the range check, we were stopping removal of 1 or 2 removals, for
some odd and completely uncomprehensible reason. Perhaps debug
left in?
2003-08-13 Not Zed <NotZed@Ximian.com>
** See bug #47517.
* camel-vee-folder.c (vee_sync): Always rebuild folder on any
sync, not just expunge ones.
svn path=/trunk/; revision=22216
2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (update): This needs to use
camel_data_wrapper_decode_to_stream() rather than
write_to_stream(). Also simplify a bit - no sense looping to load
the pixbuf data into the gdk-pixbuf loader 4K at a time when we
have the whole thing in a memory buffer already. Once done, unref
the stream instead of closing it so we don't leak.
(attach_to_multipart): Use decode_to_stream().
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Avoid constructing thwe data-wrapper from the stream twice for
message/rfc822 parts.
svn path=/trunk/; revision=22213
2003-08-10 Maxx Cao <maxx.cao@sun.com>
* gal/e-text/e-text.c (e_text_event): filter S-F10 key binding, and
show popup menu.
(popup_menu_placement_cb): function added to adjust popup menu position.+ (popup_targets_received): show popup menu in different ways, according
to whether it's invoked by mouse click or key binding.
svn path=/trunk/; revision=22204
2003-08-12 Andrew Wu <Yang.Wu@sun.com>
* gui/e-day-view.c
(e_day_view_change_duration_to_start_of_work_day):
In DayView, Shift+Home, Change the duration to the time
that begins the current work day.
(e_day_view_change_duration_to_end_of_work_day):
In DayView, Shift+End, Change the duration to the time
that ends the current work day
svn path=/trunk/; revision=22202
2003-08-12 Larry Ewing <lewing@ximian.com>
* e-cell-toggle.c (check_cache): actually chose the right color to+ composite over when caching the pixmap.
svn path=/trunk/; revision=22200
2003-08-12 Andrew Wu <Yang.Wu@sun.com>
* gui/e-week-view.c
(e_week_view_on_key_up):
(e_week_view_on_key_down):
(e_week_view_on_key_left):
(e_week_view_on_key_right):
In the WeekView, Navigation through days with arrow keys.
svn path=/trunk/; revision=22184
2003-08-12 Harry Lu <harry.lu@sun.com>
** Fixes#47464.
* gui/dialogs/meeting-page.c: (get_widgets): The Organizer's value
need not match one of the values in the list.
svn path=/trunk/; revision=22183
2003-08-11 Not Zed <NotZed@Ximian.com>
* providers/imapp/camel-imapp-store.c (imap_get_folder_info):
force connect manually so basics work.
** See bug #45505.
* camel-service.c (camel_gethostbyname): duh, pthread_create
returns the error code directly, not via errno.
(camel_gethostbyaddr): Same, also properly handle the failure
case.
2003-08-01 Not Zed <NotZed@Ximian.com>
** See bug #47208.
* camel-filter-search.c (match_all): match-all with no arguments
should always return TRUE.
* camel-folder-search.c (camel_folder_search_execute_expression):
print a warning when we get an invalid result type & fixed a leak
for that case.
svn path=/trunk/; revision=22179
2003-08-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): Updated for
CamelMimePart::content_type changes.
* mail-ops.c (save_part_save): Use
camel_data_wrapper_decode_to_stream() here.
* mail-display.c (drag_data_get_cb): Updated for
CamelMimePart::content_type changes.
(do_attachment_header): Same.
2003-07-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_format_raw_message): Updated to pass FALSE
as the 'decode' param to
mail_format_data_wrapper_write_to_stream().
(mail_format_data_wrapper_write_to_stream): Now takes a boolean
arg telling whether to decode or not. Also reworked the charset
logic now that camel doesn't handle this for us any longer.
(mail_format_get_data_wrapper_text): Updated.
(handle_text_plain): Same.
(handle_text_enriched): Here too.
* mail-display.c (do_attachment_header): Call decode_to_stream
here instead of write_to_stream.
(do_external_viewer): Same.
(on_url_requested): Same. Also updated for
mail_format_data_wrapper_write_to_stream().
(try_part_urls): Call decode_to_stream.
(drag_data_get_cb): Same.
svn path=/trunk/; revision=22173
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
the rawtext bit anymore.
* e-msg-composer.c (build_message): Convert the plain part's
content stream from UTF-8 to whatever charset we want.
svn path=/trunk/; revision=22172
* tests/message/test4.c: New test suite for the mime parser (which
is where the below 2 fixes were noticed).
* camel-mime-parser.c (folder_boundary_check): Calculate 'len' by
subtracting the boundary start from inend rather than 'atleast'.
(folder_scan_content): Calculate 'inend' differently depending on
the EOF state.
2003-08-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-tohtml.c (html_convert): Rather than checking
*inptr == '\n', check inptr >= inend - this gets rid of an Invalid
Read report from valgrind.
* camel-mime-part.c (write_to_stream): Don't necessarily re-encode
just because the encodings differ. Need to look into making it so
that message/rfc822 and multipart parts ignore the
Content-Transfer-Encoding header and just keep their 'encoding'
bits set to DEFAULT.
2003-08-05 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (get_content): Updated.
* camel-mime-message.c (camel_mime_message_init): Don't override
the mime_type here.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(find_best_encoding): Same.
(best_encoding): Here too.
* camel-digest-folder.c (camel_digest_folder_new): Updated for
CamelMimePart::content_type change.
* camel-mime-part.c (camel_mime_part_init): Override our parent
class's default mime_type.
(camel_mime_part_finalize): Don't need to unref the content_type
anymore.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(camel_mime_part_set_filename): Same.
(camel_mime_part_get_filename): Same.
(camel_mime_part_get_content_type): Same.
(set_content_object): Here too.
(write_to_stream): Updated.
(construct_from_parser): Updated.
* camel-mime-part.h: Remove the content_type field.
2003-07-31 Jeffrey Stedfast <fejj@ximian.com>
* tests/lib/messages.c (test_message_compare_content): If the
chunks differ, perform a hexdump on the data being compared so
that we may analyse it easier.
* camel-multipart-signed.c (write_to_stream): Return ssize_t.
* camel-mime-utils.h: Added the CamelMimePartEncodingType enum
here.
* camel-mime-part.h: Removed the CamelMimePartEncodingType enum
from here.
* camel-mime-part.c (write_to_stream): Updated to return
ssize_t. Also minor changes to only re-encode the content stream
if the charset or encoding changed (this way we write it out in
the original raw form if nothing changed).
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Drastically
simplify. We no longer scan html content to try and find the
charset, nor do we care about converting the content to UTF-8 and
handling broken windows charsets.
* camel-mime-message.c (find_best_encoding): Use
decode_to_stream() here. Also updated to not assume the content
charset is UTF-8 since it is very likely not the case anymore
since data-wrappers no longer are converted to UTF-8 at parse
time.
* camel-folder-summary.c (summary_build_content_info_message): Use
decode_to_stream instead here too.
* camel-folder-search.c (match_words_1message): Use
decode_to_stream instead of write_to_stream so we can search the
contents.
* camel-data-wrapper.c (camel_data_wrapper_init): Set the default
encoding to DEFAULT.
(write_to_stream): Updated to return ssize_t
(camel_data_wrapper_decode_to_stream): New virtual function to
decode a data wrapper to a stream (results in nearly identical
behaviour to the old write_to_stream method).
(decode_to_stream): Default implementation of above virtual
method. Decodes base64/qp/etc streams.
* camel-data-wrapper.h: Removed the rawtext bit and added an
encoding member.
svn path=/trunk/; revision=22171
2003-08-05 Jack Jia <jack.jia@sun.com>
* gui/dialogs/event-page.glade: changed one of the "Con_fidential" to
"Co_nfidential" since we already have "File" using the same 'F' key.
svn path=/trunk/; revision=22097
2003-08-06 Jack Jia <jack.jia@sun.com>
* evolution-comp-editor.xml: add the accelerator "P" for "Print",
"S" for "Save", "C" for "Save and _Close", "A" for "Save _As...",
"D" for "Delete". Fixes bug #47379.
svn path=/trunk/; revision=22096
2003-08-05 Not Zed <NotZed@Ximian.com>
** See bug #47224. Hook onto clicked rather than button_pressed,
so that dnd works.
* mail-display.c (inline_toggle): toggle a part inline.
(button_press): change back to only handle button clicked events,
renamed to inline_button_clicked.
(do_attachment_header): hook onto clicked rather than
button_press_event, and move key_press_event to
inline_button_pressed.
(do_signature): Same.
(inline_button_pressed): handle inline button key press event
explicitly.
svn path=/trunk/; revision=22095
2003-08-05 Not Zed <NotZed@Ximian.com>
** See bug #42636.
* vfoldertypes.xml: Fix some of the subject rules, they were
missing matching ')'s.
2003-08-01 Not Zed <NotZed@Ximian.com>
** See bug #47208.
* filter-code.c (build_code): wrap the expression in a match-all
so boolean expressions work properly for folder searches.
svn path=/trunk/; revision=22090
* e-html-utils.c (special_chars): add a flag for non-url chars
(controls, whitespace, ", and |)
(url_extract): Use that. When urlifying just a hostname, make sure
it really is a hostname, and not just something like "www.c".
(e_text_to_html_full): Deal with url_extract returning NULL in the
"www." case
(main): add a regression test, #ifdef E_HTML_UTILS_TEST
svn path=/trunk/; revision=22087
2003-08-04 Antonio Xu <antonio.xu@sun.com>
* e-msg-composer.c (drag_data_received): add the drop type of
mozilla browser link to make composer support to handle mozilla
DnD data. [#47131]
svn path=/trunk/; revision=22077