2004-03-15 Hao Sheng <hao.sheng@sun.com>
* gui/component/Makefile.am : build a11y/addressbook dir
* gui/widgets/e-addressbook-view.c :
(eab_view_class_init) : add the accessibility support for e_addressbook_view
* gui/widgets/e-minicard-view.c :
(e_minicard_view_class_init) : add the accessibility support for e_minicard_view
* gui/widgets/e-minicard.c :
(e_minicard_class_init) : add the accessibility support for e_minicard
svn path=/trunk/; revision=25059
2004-03-15 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (camel_header_location_decode): drop embedded
whitespace characters, and don't do unquoting, etc. See rfc2557
4.4.2 and rfc2017 3.1.
svn path=/trunk/; revision=25058
2004-03-13 Trent Lloyd <lathiat@sixlabs.org>
* e-search-bar.c (remove_bonobo_menus): move function about
setup_bonobo_menus which requires it so its not implicitly defined
svn path=/trunk/; revision=25055
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_set_exception): Now
takes an argument to specify whether disconnecting when respbuf is
NULL is safe (to prevent us from recursively disconnecting or
disconnecting during a connect).
svn path=/trunk/; revision=25054
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53497.
* providers/smtp/camel-smtp-transport.c (smtp_helo): Instead of
unreffing the streams, call camel_service_disconnect().
(smtp_mail): Same.
(smtp_rcpt): Same.
(smtp_data): Same.
(smtp_send_to): Ignore exceptions for smtp_rset(). Also, check
that we are connected before we try to send (in Evolution's
current usage scenario, this isn't a problem but in the future if
we ever try to fire off several messages via the same smtp
connection, it may be - especially if RSET failed during the
previous send).
svn path=/trunk/; revision=25053
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-browser.c (emfb_search_search_activated): No-op if
emfv->folder is NULL (this means we are looking at a store folder?
or else the folder hasn't loaded yet). Fixes bug #55293.
svn path=/trunk/; revision=25052
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #55018.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Use camel_url_to_string() here
too, so we properly encode the fragment.
* providers/local/camel-mbox-store.c (get_folder_info): Use
CamelURL to properly encode the fi->uri. Pass the CamelURL into
scan_dir() so that scan_dir() can re-use it (rather than having to
malloc/parse/free for each file/dir)
(scan_dir): Use camel_url_to_string().
* providers/local/camel-maildir-store.c (get_folder_info): Same as
mbox.
(scan_dir): Same as mbox. We also need to set the
CAMEL_FOLDER_NOSELECT flag if appropriate.
* providers/local/camel-mh-store.c (get_folder_info): Same as mbox
and maildir.
(folders_scan): Now takes a url argument which we pass off to
folder_info_new().
(recursive_scan): Same.
(folder_info_new): Use camel_url_to_string().
svn path=/trunk/; revision=25050
2004-03-11 Radek Doulik <rodo@ximian.com>
* camel-folder.c (camel_folder_set_message_flags): watch for
setting JUNK flag, if JUNK_LEARN is not set as well then reset
JUNK_LEARN bit
(folder_changed): look for junk changes in uid_changed's messages,
if these changes request junk filter learning
(CAMEL_MESSAGE_JUNK_LEARN bit set) then prepare junk and nonjunk
uid arrays, clear CAMEL_MESSAGE_JUNK_LEARN bit so that we don't
process it again
(folder_changed): start filter thread if there's junk and/or
nonjunk arrays
(filter_filter): if junk/nonjunk arrays are non-NULL, call junk
filter report to learn junk/non-junk messages
(filter_free): free junk/nonjunk uids and arrays
* camel-folder-summary.h: added CAMEL_MESSAGE_JUNK_LEARN to
CamelMessageFlags, used when setting CAMEL_MESSAGE_JUNK flag to
say that we request junk plugin to learn that message as
junk/non-junk
svn path=/trunk/; revision=25045
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (connect_to_server): If
errno is EINTR, set USER_CANCEL instead of SERVICE_UNAVAILABLE or
whatever.
(smtp_helo): Same.
(smtp_auth): Same.
(smtp_mail): Same.
(smtp_rcpt): Same.
(smtp_data): Same.
(smtp_rset): Same.
(smtp_quit): Same.
(smtp_set_exception): Here too.
(smtp_auth): If the AUTH response code is not 334, then use
smtp_set_exception() to get the most accurate error report we can.
svn path=/trunk/; revision=25044
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_mail): Removed. No longer in use (hasn't
been since before 1.2).
(send_queue_send): Before enetring the main send loop, create a
temporary uid array containing ONLY the messages we will send
(ie. not any that have been marked deleted) so that we can more
accurately report the number of messages total that we are
sending. Also continue sending even if we encounter an exeption in
mail_send_message() (unless, of course, it is a
user-cancel). Merge any exceptions we get into the master
exception variable and ALWAYS sync/expunge the queue folder.
svn path=/trunk/; revision=25043
2004-03-12 Not Zed <NotZed@Ximian.com>
* gui/e-cal-model.c (ecm_initialize_value): return "" instead of
NULL if there is no default_category set. Fixes#53419.
svn path=/trunk/; revision=25042
2004-03-12 Not Zed <NotZed@Ximian.com>
* e-shell.c (detect_version): when we check the evolution dir
exists, check the evolution dir exists, not the config.xmldb file.
Move filename building/usage into the else condition so it can't
happen again. Fixes#53277.
svn path=/trunk/; revision=25040
2004-03-09 Kidd Wang <kidd.wang@sun.com>
* gui/e-day-view.c: (e_day_view_finish_long_event_resize): add a call
to e_cal_component_commit_sequence since we have changed the property
of the component. Whether the new event is all day should also be
set properly according to the value of the original event.
svn path=/trunk/; revision=25039
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
* camel-object.c (cobject_state_read): Sanity check that count is
<1024 and also use g_try_malloc so that we can recover if malloc
fails.
svn path=/trunk/; revision=25036
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-browser.c (emfb_set_folder): Reverted signal blocking
stuff. Doesn't work and is unneeded with the proper fix.
svn path=/trunk/; revision=25034
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #55267.
* e-filter-bar.c (set_property): Use efb->setquery properly (set
to TRUE before calling set_item_id and FLASE afterwards). Also
setquery to TRUE before emitting the "search-activated" signal so
that we don't run the callback for the signal we are emitting.
svn path=/trunk/; revision=25032
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c (set_property): Use efb->setquery properly (set
to TRUE before calling set_item_id and FLASE afterwards). Also
setquery to TRUE before emitting the "search-activated" signal so
that we don't run the callback for the signal we are emitting.
svn path=/trunk/; revision=25031
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html.c (efh_format_header): Fixed a bug where txt
wasn't being properly initialised in all cases for Date
headers. Also fixed the x-evolution-mailer code to simply use the
ehader->value that was passed in.
(efh_format_headers): Fixed to handle the special
X-Evolution-Mailer header.
svn path=/trunk/; revision=25028
2004-03-11 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (emfb_set_folder): a really gross hack,
disable all search handlers before setting the search and set hte
search manually rather than going through the callbacks. Partial
fix for #55267, and ugly as it is.
(emfb_init): save the search signal id's.
(emfb_set_folder): ugh, properly set the defaults if the settings
haven't been stored on the folder, and properly move them upstream
to the bonobo menus.
svn path=/trunk/; revision=25027
2004-03-11 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (no_such_folder): removed
this. not sure what it was doing there, a 1 line funciton used
once.
(get_folder_online): pass exception to camel_imap_command. if we
got a user cancel, pass it up.
(hash_folder_name, compare_folder_name): more g_ascii_strcasecmp
stuff.
svn path=/trunk/; revision=25026
2004-03-11 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_get_folder_info): we need to add the
folderinfo always if we're recursive from top. Should fix#52965
and maybe the other vfolders not showing on startup bug.
svn path=/trunk/; revision=25025
2004-03-11 Not Zed <NotZed@Ximian.com>
* em-folder-tree-model.c (sort_cb): when we sort, handle not
having the node in the tree. otherwise we always compare against
"" which puts it at the head of the branch, rather than the tail.
See #55428.
svn path=/trunk/; revision=25024
2004-03-11 Not Zed <NotZed@Ximian.com>
* mail-component.c: change stores hash to point to a structure, in
which we maintain the vtrash and vjunk folders for the entirety of
the session. memory use be damned i guess. #55417 and partially
#55391.
svn path=/trunk/; revision=25022
2004-03-11 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_header): pass the raw header in
instead of name and value.
(efh_format_headers): if we have specific headers to show, iterate
over all headers and print out all matching ones, so duplicate
headers are properly displayed. Related to #55298.
* em-folder-selector.c (em_folder_selector_construct): dont set
this to be modal. otherwise you can't click on error popups. duh.
2004-03-08 Not Zed <NotZed@Ximian.com>
* em-folder-selection-button.c
(em_folder_selection_button_clicked): don't let the user select
virtual/vtrash folders or non-selectable folders.
* mail-component.c (impl_createControls): disable selection of
non-select rows.
* em-folder-selector.c (em_folder_selector_create_new): exclude
folders with noinferiors set.
* em-folder-tree.c (folder_tree_new): add folder tree arg, hook
onto the selection funciton for the tree selection.
(emft_select_func): selection override function. allow certain
things to be excluded.
(em_folder_tree_set_excluded): api to set what is excluded from
the selectability.
(emft_tree_row_activated): call emft_select_func check to see if
this row is excluded before emitting an activated signal.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
save folder info->flags in the tree store.
* mail-folder-cache.c (create_folders): use tail recursion.
(get_folders): tail recurse.
* (*): Fixed for api changes in camel.
svn path=/trunk/; revision=25020
2004-03-11 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (get_one_folder_offline):
(parse_list_response_as_folder_info): turn
off NOINFERIORS always, translate to nochildren.
2004-03-08 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_get_folder_info): setup virtual/system
flags as appropriate.
(change_folder): setup flags properly.
* providers/nntp/camel-nntp-store.c
(nntp_store_get_subscribed_folder_info): mark all folders as
system folders.
* providers/local/camel-mh-store.c (fill_fi): add this to setup
folderinfo.
(folder_info_new): call fill_fi to fill unread/total.
(recursive_scan, folders_scan): ahh yeah, so wtf was i thinking,
store->flags != get_folder_info flags!!!!
* providers/local/camel-maildir-store.c (camel_folder_info_new):
remove unread count arg & setup total.
(fill_fi): setup total field.
(scan_dir): remove the code that checked the directory directly -
use fill_fi instead. It will more accurately reflect what you get
when you visit the folder.
(camel_folder_info_new): mark "." as a system folder.
(scan_dir): try to setup children/no children flags properly.
* providers/local/camel-mbox-store.c (fill_fi): setup total field.
(scan_dir): init total.
(get_folder_info): "
2004-03-05 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): mark INBOX as a system
folder. Can't be renamed/deleted.
(fill_fi): setup total field.
(get_folder_counts): ditto.
* camel-store.c (add_special_info): set the system folder flag.
* camel-store.h: time to fix up the camelfolderinfo mess. fix
some member names, and add some type fields. Fixed all uses.
svn path=/trunk/; revision=25019
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_address): #if 0 this,
since nothing uses it anymore.
(accum_address): new function, build up a GString.
(accum_name_value): same.
(accum_attribute): same.
(render_contact): don't just blindly render the work/personal
blocks, since if they're empty it looks stupid. instead,
accumulate each block into a GString and only output the entire
block if the string is non-empty.
svn path=/trunk/; revision=25018
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
phone_choice is an index into the phones array.
(_phone_arrow_pressed): same.
(address_text_changed): address_choice is an index into the
addresses array.
(_address_arrow_pressed): same.
(set_address_field): same.
(_email_arrow_pressed): email_choice is an index into the emails
array.
(full_addr_clicked): same, and same with
s/addresses/address_editable.
(e_contact_editor_init): initialize the *_choice fields as indices
into their respective *es arrays.
(e_contact_editor_build_address_ui): initialize the labels from
the addresses array.
(set_fields): *_choice fields are indices into *es arrays.
(enable_writable_fields): same.
svn path=/trunk/; revision=25017
2004-03-10 Rodney Dawes <dobey@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): Fix the border
width setting for the button area, to be HIG-compliant
* gui/smime-ui.glade: Update some border widths for the cert viweer
Remove dialog separators (This portion from William Jon McCann)
svn path=/trunk/; revision=25016
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #55298.
* em-format-html.c (efh_format_header): Now takes a default txt
argument (header value). For address/date headers, if this isn't
set, default back to the old behaviour of looking it up.
(efh_format_headers): If we are iterating thru the camel raw
headers, always pas the header value as the txt argument,
otherwise always pass NULL.
svn path=/trunk/; revision=25015
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-10 Jeffrey Stedfast <fejj@ximian.com>
Partial fix for bug #53862
* em-folder-selector.c (emfs_response): Connect to the newly added
"folder-added" signal and save a created_uri string so that we can
be sure to only listen for the creation of the folder the user
created in *our* create-folder dilog (and not from some other
place).
* em-folder-tree-model.c (folder_subscribed): Emit a new
"folder-added" signal.
svn path=/trunk/; revision=25013