2003-09-26 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyaddr_r): IPv6 implementation
rewritten to use getnameinfo() which is the proper function to use
in this case. Fixes bug #46006 the Right Way (tm).
svn path=/trunk/; revision=22720
2003-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Allow any file: uri
to point to a sent or drafts folder.
svn path=/trunk/; revision=22706
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