2003-09-25 Rodney Dawes <dobey@ximian.com>
* mail-send-recv.c: Make the dialog more HIG-compliant by fixing
widget alignment/spacing issues, and removing separators
svn path=/trunk/; revision=22702
2003-09-25 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyaddr_r): Make sure that
res->ai_canonname is non-NULL and that it doesn't match the
numeric host address that we were trying to resolve. Fixes the
second half of bug #46006.
svn path=/trunk/; revision=22701
2003-09-25 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): If the
localhost lookup results in a numeric IPv6 host, use the form
"[IPv6:<addr>]" as specified in rfc2821. Fixes bug #46006.
svn path=/trunk/; revision=22694
2003-09-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (get_default_charset): Same as
below.
* e-msg-composer.c (composer_get_default_charset_setting): Handle
empty-string as the charset value gotten from gconf as this can
happen. Partial fix for bug #47638.
svn path=/trunk/; revision=22692
2003-09-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Same as below.
* mail-composer-prefs.c (mail_composer_prefs_construct): gconf can
return empty string if the charset has not been set, so if the
charset string is empty, default the charset to the user's locale
charset. Partial fix for bug #47638.
svn path=/trunk/; revision=22690
2003-09-22 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): some checking
code added to ensure that end_offset and start_offset both belong
to [0, length of the text] and end_offset >= start_offset or it
will lead to a crash
(et_get_caret_offset):no need to deal with character encoding
here, since the widget has already delt with it.
(et_get_selection): dealing with character encoding and ensure
end_offset >= start_offset, or it will lead to a crash
(et_add_selection): we can not get the ETextEventProcessor here,
so the old implementation leads to a crash. Modify the parameters
"selection_start" and "selection_end" directly instead
(et_remove_selection): implementation added
(et_set_selection): implementation added
(et_set_caret_offset): no need to deal with character encoding
here, since the widget has already delt with it. Another change
is when offset == -1, move the caret to the end of the text,
this keeps the same behavior as GailTextview
svn path=/trunk/; revision=22685
2003-09-23 Hans Petter Jansson <hpj@ximian.com>
* configure.in: Remove flex check. Set ICAL_ERRORS_ARE_FATAL to 0.
* src/libicalss/icalgauge.c (icalgauge_new_from_sql): Don't use
globals struct. Remove calls to sslex_init(), _extra(),
ss_scan_string(). Use a global pointer icalss_yy_gauge to hold context.
Call ssparse() with no arguments.
* src/libicalss/icalsslexer.l: Remove options reentrant and
bison-bridge. Rename variables, change function invocations to comply
with flex 2.5.4.
(icalss_input): Add function to read input.
* src/libicalss/icalssyacc.y (yyextra): Remove.
(select_list)
(from_list)
(where_clause)
(where_list): yyextra -> icalss_yy_gauge
* src/libicalss/icalsslexer.c:
* src/libicalss/icalssyacc.c:
* src/libicalss/icalssyacc.h: Add generated files back to repository.
They don't belong there, but that's not my problem.
svn path=/trunk/; revision=22683
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name)
until after we've g_strdup'd it.
(em_migrate_dir): If the metadata file doesn't exist, don't even
bother trying subfolers (the shell just ignores them so we should
too).
svn path=/trunk/; revision=22679
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder): If the CREATE
flag is set and the parent .sbd directory does not exist, create
it.
svn path=/trunk/; revision=22677
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #48791 (and also fixes a FIXME)
* em-format.c (emf_init): Setup a gconf listener for changes to
the charset setting.
(gconf_charset_changed): Update the cached gconf charset value.
(emf_finalise): Free the EMFormatPrivate data, unref the gconf
client, disconnect the charset notify id, and free the cached
gconf charset value.
(em_format_format_text): Use the cached gconf charset value.
svn path=/trunk/; revision=22675
2003-09-13 Charles Zhang <charles.zhang@sun.com>
* e-msg-composer-attachment-bar.c (remove_attachment): Add some
assertion. Send Close response signal to the properties dialog
while removeing an attachment.
* e-msg-composer-attachment-bar.c (remove_selected): Fix a re-
remove-attachment bug. [#48466]
svn path=/trunk/; revision=22656
2003-09-22 Not Zed <NotZed@Ximian.com>
** See bug #32996
* mail-folder-cache.c (real_flush_updates): don't just pass TRUE
to the 'can work offline' parameter of new shell folder.
** See bug #39410
* mail-ops.c (prep_offline_do): sync all messages, not just
unread or flagged ones.
svn path=/trunk/; revision=22655
2003-09-22 Not Zed <NotZed@Ximian.com>
** See bug #41610
* providers/pop3/camel-pop3-folder.c (cmd_tocache): protect a
divide by 0 for 0 length messages.
svn path=/trunk/; revision=22654
2003-09-22 Not Zed <NotZed@Ximian.com>
* em-popup.c (emp_uri_popup_link_copy): removed, moved to
em-folder-view, for now, it has access to an invisible.
* em-folder-view.c (emfv_setting_notify): honour the load_http
setting, at least the all setting.
(emfv_format_popup_event): setup the popup menu item for copy link
location here.
svn path=/trunk/; revision=22652
2003-09-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Connect to
"value-changed" rather than "changed" for spin buttons.
svn path=/trunk/; revision=22650
2003-09-21 Not Zed <NotZed@Ximian.com>
* mail-session.c (ms_thread_msg_new): implement, we hook into the
mail progress reporting stuff by overriding the CamelOperation
member with one from a dummy mail_msg.
(ms_thread_msg_free): handle freeing.
* mail-mt.c (mail_msg_free): mute the camel-operaiton when we free
it so we no longer get updates.
svn path=/trunk/; revision=22649
2003-09-22 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-provider.c: Added "offline_sync"
option, which lets you synchronise all mail to local storage
automagically.
* camel-disco-folder.c (cdf_folder_changed): hook onto the folder
changed single, for all new messages, check that they are online
using another thread, if the offline_sync option has been enabled
for this store.
2003-09-21 Not Zed <NotZed@Ximian.com>
* camel-session.c (session_thread_destroy): call proper entry
point for freeing the message.
2003-09-18 Not Zed <NotZed@Ximian.com>
* camel-folder.c (filter_filter): register the filtering process
for progress, and do progress of the filtering process.
2003-09-17 Not Zed <NotZed@Ximian.com>
* camel.c (camel_init): init camel operation.
* camel-operation.c (camel_operation_reset): removed, not used,
not worth it.
(camel_operation_mute): new method to stop all status updates
permanently.
(*): Changed to use thread specific data and a list rather than a
hashtable.
(cancel_thread): removed.
(camel_operation_register): return the previously registered op.
svn path=/trunk/; revision=22648
2003-09-22 Jeffrey Stedfast <fejj@ximian.com>
* filter-int.c (get_widget): Listen to the "value-changed" signal
rather than the "changed" signal. Fixes bug #48166.
svn path=/trunk/; revision=22646
2003-09-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/nntp/camel-nntp-store.c (connect_to_server): Fix the
code that creates a new ssl stream to pass the correct arguments
and the proper flags.
* providers/imapp/camel-imapp-folder.c (imap_sync): Cast the
CamelFolder to a CamelIMAPPFolder to hush some compiler warnings.
* camel-mime-utils.h: Define a struct _CamelContentDisposition
(allows the imapp code to compile)
* providers/imapp/camel-imapp-driver.c: #include <string.h>
svn path=/trunk/; revision=22635
2003-09-19 Bolian Yin <bolian.yin@sun.com>
Fixes#1245. ECalendar should be usable with the keyboard
*misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler.
(e_calendar_item_key_press_event): new func, key press event handler
(e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers.
(e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission):
add the flag to control if we should emit e-calendar signals.
(e_calendar_item_class_init): register focus handler.
(e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS.
*misc/e-calendar.c (e_calendar_focus): new func, focus handler
(e_calendar_button_has_focus): new func, if prev/next button has focus.
(e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler
for prev/next buttons.
(e_calendar_set_focusable): set if the e-calendar is focusable
*misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard.
svn path=/trunk/; revision=22632
2003-09-19 Jeffrey Stedfast <fejj@ximian.com>
* em-message-browser.c (emmb_set_message): Set the window title to
be that of the message subject. Fixes bug #48617.
svn path=/trunk/; revision=22629
2003-09-19 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #48618.
* em-folder-view.c (emfv_list_message_selected): See if we have
already loaded the message uid that has just been selected, if so
- don't bother re-loading it.
(emfv_list_done_message_selected): Update loaded_uid and
loading_uid.
svn path=/trunk/; revision=22628
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.[c,h]: namespaced the encoding/decoding
routines.
* camel-mime-filter-basic.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-multipart.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-sasl-digest-md5.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-sasl.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-vee-folder.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* providers/imap/camel-imap-search.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c
* providers/pop3/camel-pop3-folder.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c
svn path=/trunk/; revision=22615
2003-08-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-parser.[c,h]: s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
s/_header_state/_camel_mime_parser_state/g
* camel-filter-driver.c: Same.
* camel-folder-summary.c: Here too.
* camel-http-stream.c: And here.
* camel-mime-message.c: ...
* camel-mime-part-utils.c: ...
* camel-mime-part.c: ...
* camel-movemail.c: ...
* camel-multipart-signed.c: ...
* camel-multipart.c: ...
* providers/local/camel-mbox-folder.c: ...
* providers/local/camel-mbox-summary.c: ...
* providers/local/camel-mh-summary.c: ...
* providers/nntp/camel-nntp-summary.c: ...
* providers/pop3/camel-pop3-folder.c: ...
2003-08-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.[c,h]: Namespaced.
* camel-data-wrapper.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-digest-folder.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-driver.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-summary.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-http-stream.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-http-stream.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-internet-address.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-medium.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-message.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-parser.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part-utils.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-movemail.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart-encrypted.c: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-multipart-signed.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-search-private.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-types.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* providers/imap/camel-imap-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-store-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/imapp/camel-imapp-utils.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-local-summary.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-maildir-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-mbox-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-spool-summary.h: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/pop3/camel-pop3-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/sendmail/camel-sendmail-transport.c: updated for
namespace changed made to camel-mime-utils.[c,h]
* providers/smtp/camel-smtp-transport.c: updated for namespace
changed made to camel-mime-utils.[c,h]
svn path=/trunk/; revision=22613
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c: updated for camel namespace changes
* em-folder-view.c: updated for camel namespace changes
* em-format-html-display.c: updated for camel namespace changes
* em-format-html-quote.c: updated for camel namespace changes
* em-format.c: updated for camel namespace changes
* em-popup.c: updated for camel namespace changes
* em-utils.c: updated for camel namespace changes
* mail-autofilter.c: updated for camel namespace changes
* mail-ops.c: updated for camel namespace changes
* mail-session.c: updated for camel namespace changes
* message-list.c: updated for camel namespace changes
* message-tag-followup.c: updated for camel namespace changes
* importers/evolution-mbox-importer.c: updated for camel namespace
changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-popup.c (emp_standard_menu_factory): Don't forget to
initialise/increment 'i' when using it as an object id in the
for-loop.
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
svn path=/trunk/; revision=22610
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
* Makefile.am: Added $(MARSHALL_GENERATED) to $(BUILT_SOURCES) so
that em-marshal.[c,h] were autogenerated.
svn path=/trunk/; revision=22609
2003-09-13 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-text/gal-a11y-e-text.c (et_insert_text): make the
code be compliant with C89, or it can't be compiled on solaris.
(et_copy_text): implementation added
(et_cut_text): implementation added
(et_delete_text): implementation added
(et_paste_text): implementation added
svn path=/trunk/; revision=22606