2006-06-30 Harish Krishnaswamy <kharish@novell.com>
Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.
svn path=/trunk/; revision=32207
2006-02-27 Jeffrey Stedfast <fejj@novell.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Make the verify/decrypt gpg diagnostic text selectable in the
security dialog that comes up when you click the button in a
message. Fixes bug #268414.
svn path=/trunk/; revision=31596
2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
* em-account-editor.h: s/int/guint/g for 1-bit bitfield.
* em-composer-utils.c: (em_utils_redirect_message): Remove cruft
* em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield
and rename a variable with a name clash.
* em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to
avoid name clashes.
* em-folder-view.c: guint for 1-bit bitfields.
* em-folder-view.h: Same as above.
* em-format-html-print.h: Again.
* em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments
* em-format.c: (emf_multipart_alternative): Add comment about using var that
is passed in rather than a local variable.
* em-inline-filter.c: (emif_scan): Remove unused var. Mark code static.
* em-mailer-prefs.h: guint for 1-bit bitfields.
* em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var
* em-subscribe-editor.c: guint for 1-bit bitfield
* em-utils.c: remove unused function
* em-vfolder-rule.c: mark array static
* importers/mail-importer.c: (decode_status): Remove unused code. Use guint
for 1-bit bitfield.
* mail-autofilter.c: (rule_from_message): rename a variable
* mail-component.c: guint for 1-bit bitfield
* mail-folder-cache.c: (update_1folder): remove unused code
* mail-mt.c: mark some structs static
* message-list.c: (message_list_select_uid), (ml_value_to_string),
(ml_tree_value_at), (find_next_undeleted), (build_tree),
(build_flat): Remove unused code and fix some format specifiers.
svn path=/trunk/; revision=31448
2006-01-12 Rohini S <srohini@novell.com>
** Fixes bug #246257
* mail-dialogs.glade: Interchange of label and checkbox
positions in Find message dialog
* em-format-html-display.c: (efhd_update_matches),
(em_format_html_display_search):
Hide Matches Label on dialog open and Show Matches Label when
required. Fixes bug 246257.
svn path=/trunk/; revision=31193
2005-12-20 Boby Wang <Boby.Wang@sun.com>
** See bug 324319
* em-format-html-display.c: (efhd_add_bar):
Add the accessible name of arrow button, and the attachment
bar can be opened by gok.
svn path=/trunk/; revision=30895
2005-12-18 Tor Lillqvist <tml@novell.com>
* em-folder-browser.c
* em-folder-view.c
* em-format-html.c
* em-format-html-display.c
* em-mailer-prefs.c
* em-message-browser.c
* em-migrate.c
* em-subscribe-editor.c
* em-sync-stream.c
* em-utils.c
* em-vfolder-editor.c
* em-vfolder-rule.c
* mail-autofilter.c
* mail-component.c
* mail-config.c
* mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of
glade, xml, etspec and png files at run-time. Use
g_filename_{to,from}_uri().
* em-folder-browser.c (emfb_init)
* em-folder-view.c (emfv_finalise)
* em-message-browser.c (emmb_init): As EMFolderView::ui_files now
always is a list of filenames constructed with g_build_filename(),
use g_free() on each list entry before calling g_slist_free() on
the list.
* em-folder-tree-model.c (em_folder_tree_model_load_state): Use
e_xml_parse_file().
* em-migrate.c: Bypass all the code for upgrading from 1.x on Win32.
(emm_setup_initial): Use GDir instead of dirent.
* em-sync-stream.c
* mail-folder-cache.c: Use pthread_equal() to compare pthread_t
values.
* em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32.
svn path=/trunk/; revision=30854
2005-09-28 Tor Lillqvist <tml@novell.com>
* em-format-html-display.c: Define localtime_r() for Win32 using
localtime() (which is thread-safe in Microsoft's C library).
svn path=/trunk/; revision=30398
2005-08-25 Not Zed <NotZed@Ximian.com>
** See bug #314440.
* em-format-html.c (efh_url_requested): check the content object's
mime type, not the container, when seeing if the data should be
written.
(efh_write_text_html): add some debug.
* em-format-html-display.c (efhd_html_button_press_event): fix
debug.
svn path=/trunk/; revision=30253
2005-08-24 Srinivasa Ragavan <sragavan@novell.com>
* em-format-html-display.c (efhd_bar_resize): Dont call update.
Just set the width on the bar.
svn path=/trunk/; revision=30235
2005-08-23 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): cast warning away.
* mail-folder-cache.c: include missing header for
e_filename_make_safe.
* em-junk-hook.h: Fix some header includes, fix the include guard
to use the right name.
(EMJunk): Ugh, this is an object, properly derive from it! How
did this work?
* em-junk-hook.c (em_junk_check_junk): fix bool conversion.
* em-format-html-display.c (efhd_bar_popup_position): another
wraning, why this crap isn't in the attachment bar like i said it
should be, i'll never know.
(efhd_xpkcs7mime_viewcert_foad): only define if used.
* em-account-editor.c (emae_defaults_page): attempt to fix parentheses
(emae_security_page): fix conditional compilation warnings.
svn path=/trunk/; revision=30214
2005-08-19 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_encrypted): put the s/mime message
back, awaiting string approval for a change otherwise.
2005-08-18 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_message_add_bar): dont add
attachment bar if it is disabled.
(efhd_attachment_button): dont add attachments if there is no bar.
* em-format.c (emf_inlinepgp_signed, emf_inlinepgp_encrypted): fix
the error messages for consistency. We dont need to check
content-type, since we only get called with the right one.
(emf_multipart_encrypted): fix up wrong s/mime error.
* em-format-html.c (efh_inlinepgp_signed)
(efh_inlinepgp_encrypted): moved to em-format.c; otherwise this
will break replying, etc.
** See #271894.
* em-format.c (emf_multipart_encrypted): use the content object's
content-type to check types.
svn path=/trunk/; revision=30161
2005-08-17 Srinivasa Ragavan <sragavan@novell.com>
* em-format-html-display.c
(efhd_bar_save_selected): Fix a warning.
(efhd_bar_resize): Fix the bar size to match other widgets.
(efhd_bar_scroll_event): Fix scroll issue over bar. bug #312224.
(efhd_add_bar): Add a frame around the attachment bar. bug #312033
svn path=/trunk/; revision=30147
2005-08-11 Srinivasa Ragavan <sragavan@novell.com>
* em-format-html-display.c (efhd_attachment_bar_refresh) (efhd_bar_resize)
(efhd_add_bar): Fix to hide the attachment bar when no attachments and to
resize when the window is resized.
svn path=/trunk/; revision=30083
2005-07-25 Srinivasa Ragavan <sragavan@novell.com>
* em-format-html-display.c: (efhd_init) (efhd_finalise) ()
(efhd_attachment_image) (efhd_attachment_button) (efhd_format_attachment)
Added code to create a attachment bar.
* em-format-html.c: (efh_format_message) Added code to add bar
at the beginning of the message.
* em-popup.[ch]: (em_popup_target_new_attachments) (emp_part_popup_set_background)
(emp_standard_menu_factory) Added code to handle the popup menu inside the attachment
bar.
* em-utils.[ch]: (em_utils_edit_filters) (emu_get_save_filesel)
(em_utils_save_part) (em_utils_save_messages) Added code to handle save selected and
save all options of the attachment bar.
svn path=/trunk/; revision=29866
2005-07-05 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_attachment_image): use the cache,
since we set it up.
(efhd_image): added a (private!) format handler for all the image
types so we intercept them and handle them directly.
(efhd_image_fit, efhd_image_unfit): replace the resize callback
with two much simpler ones.
* em-icon-stream.c (em_icon_stream_get_image): added 'fit to'
arguments. Changed dramatically to get approximate fit-to image,
update cache, etc.
(em_icon_stream_is_resized): added 'fit to' arguments. changed to
manipulate the cache properly.
(emis_fit): helper to fit an image to a size.
(em_icon_stream_new): added 'fit to' arguments rather than poking
structures.
* em-format-html-display.c (efhd_attachment_image): fixed a memory
leak, various style issues. Removed all scaling code.
(efhd_attachment_popup): show menu's appropriately. add back the
hide/show menu always.
(efhd_image_popup): fix formatting.
** Applied patch from Srini for scaling images to fit by default.
svn path=/trunk/; revision=29640
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
2005-05-19 Not Zed <NotZed@Ximian.com>
* em-folder-utils.h: fix rodney's name choices. fix
multiple-inclusion. fix forward references. fix all callers.
add many fixme's for the busted api's.
* em-format-quote.c (emfq_format_clone): use pseudo mime type to
find message formatter.
* em-format-html-display.c (efhd_format_message): remove, it
didn't do anything.
* em-format-html.c (efh_format_message): make this a handler
callback.
* em-format.c (emf_message_rfc822): make this use the pseudo
mime-type x-evolution/message/rfc822 instead of the hardcoded
format_message callback.
* em-format-html-display.c (efhd_message_prefix): make this use a
pseudo-mime-type handler rather than hard-coded, so it can be
overridden by a plugin.
svn path=/trunk/; revision=29382
2005-05-17 Radek Doulik <rodo@novell.com>
* em-format-html.c: removed include of htmlengine.h which wasn't
needed
* em-format-html-display.c: use top level gtkhtml API instead of
lower level one
* em-folder-view.c (emfv_popup_selectall): use gtk_html_select_all
instead of calling html engine directly
svn path=/trunk/; revision=29378
2005-05-05 Radek Doulik <rodo@site>
* em-folder-view.c (em_folder_view_get_popup_target): use
gtk_html_command to ask if selection is active tto avoid using
selection API directly
(emfv_popup_copy_text): use gtkhtml API instead of engine API
(emfv_message_reply): use new gtk_html_get_selection_html function
to avoid using low level gtkhtml APIs
svn path=/trunk/; revision=29272
2005-02-07 Harry Lu <harry.lu@sun.com>
Fix for 72275.
* em-folder-view.c: (emfv_popup_menu): try to bring up menu for
preivew html object.
(emfv_format_popup_event): handle event == NULL case.
* em-format-html-display.c: (em_format_html_display_popup_menu):
New function to popup context menu.
* em-format-html-display.h: add new function declaration.
svn path=/trunk/; revision=28744
2005-01-21 Not Zed <NotZed@Ximian.com>
** See bug #60664.
* em-format-html-display.c (efhd_init, efhd_gtkhtml_style_set): if
the style changes, re-calculate the page colours, and redraw.
svn path=/trunk/; revision=28478
2004-11-15 Not Zed <NotZed@Ximian.com>
* *.c: Moved various things from e-util to libedataserver.
* GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff.
* mail-config-druid.[ch]:
* mail-account-editor.[ch]:
* mail-account-gui.[ch]: removed & deleted.
* mail-session.c (mail_session_init): and here too.
* em-migrate.c (em_migrate_1_4): init camel-provider library too.
(e_path_to_physical): copy from e-util/e-path.c.
* Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel
provider too.
svn path=/trunk/; revision=28047
2004-12-01 Mengjie Yu <meng-jie.yu@sun.com>
* em-account-editor.c: (emae_option_toggle),
(emae_receive_options_item):add mnemonic for buttons.
* em-format-html-display.c: (efhd_attachment_button):add atk name
for the popup button.
* mail-account-gui.c: (mail_account_gui_build_extra_conf):add
access key for checkbox.
* message-list.c: (message_list_construct):add a atk name for the
message list.
svn path=/trunk/; revision=28029
2004-09-28 Not Zed <NotZed@Ximian.com>
* em-composer-utils.c (forward_non_attached): put back in the
attachment attaching code. Doesn't work for s/mime and pgp, but
why bother arguing about it.
2004-10-06 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (emft_get_folder_info__desc): fix busted cast.
* *.c: e-popup api changes.
2004-10-06 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (emft_tree_button_press): remove some debug
that made it in accidentally.
svn path=/trunk/; revision=27487
2004-09-03 Not Zed <NotZed@Ximian.com>
** See bug #65058.
* em-format-html.c (efh_image): use the content-id rather than
the uri for tracking our image reference. Makes more
sense anyway, its guaranteed unique.
svn path=/trunk/; revision=27328
2004-08-13 Jeffrey Stedfast <fejj@novell.com>
Fix for bug #62812
* em-format-html-display.c (em_format_html_display_search): Set
the search_dialog to be transient for the parent window and make
sure to destroy the search_dialog when the parent gets destroyed.
svn path=/trunk/; revision=26995
2004-07-09 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (emfb_folder_expunge): only call expunge if
the folder is set.
(emfb_enable_map[]): only enable expunge menu item if we have a
valid folder set.
** See bug #60900.
* em-format-html.c: convert the text_inline_parts hash to be keyed
off the partid.
(efh_free_inline_parts): -> efh_free_cache and fix to do it.
* em-format.c (emf_free_cache): make the inline table cache other
info too based on partid, this frees the structure.
(emf_clone_inlines): copy all of the cache data.
(em_format_is_inline): use the new data structure to determine
state.
(em_format_set_inline): same for setting.
(emf_multipart_signed): cache/lookup the cached part.
(emf_insert_cache): helper to add a cache entry.
(emf_multipart_encrypted): cache decrypted part.
(emf_application_xpkcs7mime): same.
2004-07-08 Not Zed <NotZed@Ximian.com>
** See bug #60900 (related only).
* em-format-html-display.c (efhd_attachment_show): let set_inline
do the redraw itself if required. kill some dead code.
* em-format.c (em_format_set_inline): trigger a redraw here like
the other em_format_set methods, if the state changed.
* em-format.c (emf_format_clone): free inline table keys & setup
string hash table.
* em-format-quote.c (emfq_format_attachment):
* em-format-html-display.c (efhd_format_attachment):
* em-format-html.c (efh_format_attachment): is_inline api changes.
* em-format-html-display.c (efhd_attachment_show): set_inline api
changes.
* em-format.c (em_format_is_inline): make this use the partid
rather than the part address as a key, which may change.
(emf_init): make the inline talbe a string hashtable.
(emf_finalise): free inline keys.
(emf_clone_inlines): copy the key string.
svn path=/trunk/; revision=26614
2004-06-23 Not Zed <NotZed@Ximian.com>
** See #54030.
* e-searching-tokenizer.c (e_searching_tokenizer_match_count):
only return a count if we're using the primary search string.
* em-format-html-display.c (efhd_search_response): set the primary
search string to NULL instead of resetting it.
(efhd_update_search): dont noop if we have a null search text,
just set an empty search.
* e-searching-tokenizer.c (e_searching_tokenizer_reset): remove
this, revert jeff's fixes for 54030. this is incomplete and so
doesn't work either (search text stays remembered and secondary
search text lost too).
** See #60523.
* em-folder-view.c (emfv_finalise): unhook the folder changed
before destroying the async thing, and move it all to destroy
event anyway.
(emfv_destroy): as above.
svn path=/trunk/; revision=26472