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
2004-06-18 Not Zed <NotZed@Ximian.com>
* em-vfolder-rule.c (get_widget): use mail dialogs.glade.
* mail-dialogs.glade: move the vfolder-source window here from
mail-config.glade.
* Makefile.am (glade_DATA): fix the glade list.
* mail-license.glade, subscribe-dialog.glade, mail-security.glade,
* mail-search.glade: Merged into mail-dialogs.glade. Should be
easier to manage.
* message-tag-followup.c (construct): use mail dialogs glade file.
* mail-account-gui.c (display_license): use mail dialogs glade file.
* em-subscribe-editor.c (em_subscribe_editor_new): use new glade
file.
* em-format-html-display.c (em_format_html_display_search): use
merged glade file.
(efhd_xpkcs7mime_validity_clicked): same.
* mail-dialogs.glade: merge various glade files into here.
svn path=/trunk/; revision=26409
2004-05-19 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_secure): make this match the efhd
stuff.
* em-format-html-display.c: removed stock_signature-nokey since it
doesn't exist in gnome-icon-theme.
(efhd_xpkcs7mime_button): if there is no signing, but encryption,
use its icon. if there's no encryption too, use a broken icon
(?).
svn path=/trunk/; revision=25973
2004-05-14 Jeffrey Stedfast <fejj@novell.com>
* em-format-html.c (efh_format_secure): Same. Also changed the
"Valid signature, cannot verify sender" string to "Valid signature
but cannot verify sender" as I think it reads nicer.
* em-format-html-display.c (efhd_format_secure): Since signature
status is a tri-state, use 3 different colours too (yellow for
valid sig but unknown sender).
svn path=/trunk/; revision=25906
2004-05-13 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_message_reply): re-enabled the reply to
selection stuff. I worked out how to make it work; I think.
* em-format-html-display.c (efhd_html_button_press_event): if we
aren't on a clickable object, do a null popup event instead.
* em-folder-view.c (emfv_format_popup_event): do the full popup if
we aren't on anything (not on a uri or part). See #8414.
svn path=/trunk/; revision=25894
2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
* em-composer-prefs.h: Removed variables that got re-added with
the icon-theme patch somehow.
* em-account-prefs.c: Don't bother keeping global references to
the enable_pixbuf anymore, since it's unnecessary.
svn path=/trunk/; revision=25523
2004-04-14 Not Zed <NotZed@Ximian.com>
* mail-component.c (impl_createControls): remove debug comment.
** See #56641.
* em-format-html-display.c (efhd_format_secure): fix a small
memleak.
(efhd_bonobo_unknown, efhd_format_attachment): close the <object>
tag properly, and <br> it as well to make sure its separated.
* em-sync-stream.c: add some runtime and compile time stream
logging stuff.
svn path=/trunk/; revision=25457
2004-04-05 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_button): if we have no
sign status, use signed-nokey, rather than no icon.
(efhd_xpkcs7mime_viewcert_clicked): show the certificate viewer
since certificate_viewer_show doesn't show it.
(efhd_xpkcs7mime_viewcert_foad): foad foad foad. The api changed
and we need to foad it ourselves.
** See bug #52822.
* em-format-html-display.c (efhd_xpkcs7mime_add_cert_table): if we
can't find the cert, then desensitise the cert button.
svn path=/trunk/; revision=25313
2004-03-31 Not Zed <NotZed@Ximian.com>
* *.[ch]: Cleaned up header inclusions and added plenty of forward
declarations. Sped up complete re-compilation by upto 20%.
** See bug #55950.
* em-utils.c (em_utils_in_addressbook): utility for checking if an
email address is in the addressbook. I can't tell if it works
'cause it crashes eds.
* em-format-html.c (emfh_gethttp): handle addressbook checking.
2004-03-30 Not Zed <NotZed@Ximian.com>
* mail-config.h: clean up the headers and use some forward decl's
instead.
* em-format-html.c (em_format_html_set_load_http): change state to
an int 'style' instead.
* em-folder-view.c (emfv_setting_notify): set the format load http
option to the config value directly.
** See bug #56147.
* message-list.c (clear_info): set the node data to NULL when we
unref its data.
(ml_get_save_id): use a different test for the root node, and
return NULL if we don't have any data on the node (because we're
cleaing it).
** See bug #54962.
* em-folder-tree.c (emft_popup_new_folder_response): put back the
old hack to open the vfolder editor if you try to create a folder
under vfolders.
** See bug #55940.
* mail-autofilter.c (mail_filter_rename_uri): map the uri to an
email uri before passing to filter code.
(mail_filter_delete_uri): same here.
svn path=/trunk/; revision=25261
2004-03-23 Radek Doulik <rodo@ximian.com>
* em-format-html-display.c (efhd_format_attachment): use
EM_FORMAT_HTML_VPAD
* em-format-html.h (EM_FORMAT_HTML_VPAD): added new define for
vertical padding
* em-format-html.c (efh_format_message): change padding table so
that it works OK with fixed gtkhtml
svn path=/trunk/; revision=25156
2004-03-23 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_attachment_popup): dont add the
show/hide menu items if we can't ever show it inline.
(efhd_attachment_button): disable the ">" button if we can't view
the content inline. See #52086.
svn path=/trunk/; revision=25155
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Removed an unused variable left over from an old attempted fix.
* em-folder-selector.c (emfs_response): Select the same folder in
the create-folder dialog as is selected in the parent selector
dialog. Fixes the rest of bug #53862.
svn path=/trunk/; revision=25014
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (em_format_html_display_search): Don't
set our parent window as the efhd, ehfd isn't even a widget.
Fixes bug #54030
* em-format-html-display.c (efhd_search_response): Reset the
searching tokeniser on Cancel.
* e-searching-tokenizer.c (e_searching_tokenizer_reset): New
function to reset a search tokeniser.
svn path=/trunk/; revision=24977
2004-02-26 Rodney Dawes <dobey@ximian.com>
* em-format-html-display.c (efhd_attachment_button): Create the
arrows in these widgets as GTK_SHADOW_NONE, since the default arrow
type in GTK+ 2.x is flat triangle arrows, and shadow types are
generally ignored for arrows anyway, and so we don't look ugly with
themes that handle shadow types on arrows correctly
svn path=/trunk/; revision=24901
2004-02-26 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #54352
* em-message-browser.c (emmb_class_init): Set update_message_style
to FALSE.
* em-folder-view.c (emfv_setting_notify): Only update message
display style if our subclass wants us to.
(emfv_class_init): Set update_message_style to TRUE.
(emfv_view_mode): Don't save the gconf key unless our class allows
us to.
svn path=/trunk/; revision=24894
2004-02-25 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_attachment_button): Protect
against using NULL pixbufs. Gets rid of a lot of console warning
spewage on my system.
svn path=/trunk/; revision=24873
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Revert change from yesterday.
(efhd_xpkcs7mime_button): Use the icon from the table.
svn path=/trunk/; revision=24778
2004-02-17 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Display an alternate description based on the trust value if we
have a trust to work with.
svn path=/trunk/; revision=24764