2003-04-11 JP Rosevear <jpr@ximian.com>
* e-table-one.c (one_dispose): free data here since we don't have
source in finalize
svn path=/trunk/; revision=20817
* gui/dialogs/task-page.glade: Remove the "Contacts" button and
entry from here too. Supposed to have been part of #35926
* gui/dialogs/task-page.c: Remove all code pertaining to the
contacts button
* gui/dialogs/comp-editor-util.c:
* gui/dialogs/comp-editor-util.h: Likewise
* gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove
select-names stuff, which is no longe rused.
svn path=/trunk/; revision=20816
2003-04-11 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c (start_addressbook_server): load the
default book to look for additional free/busy info in
(init): ugly hack to make sure we get destroyed, set idle id to 0
(process_callbacks): unref the im because we are now done with it
(refresh_busy_periods): set idle id to 0, ref the model and handle
e_book_get_cursor error
svn path=/trunk/; revision=20814
2003-04-11 JP Rosevear <jpr@ximian.com>
* cal-client/cal-client.c (cal_client_get_free_busy): only print a
message if the exception isn't the reasonable NotFound
svn path=/trunk/; revision=20812
2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_options_menu_position_callback):
(e_meeting_time_selector_autopick_menu_position_callback): added the
allocation's X and Y position to the calculated coordinates.
svn path=/trunk/; revision=20809
2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-search.c (mail_search_construct): Change the action button
ordering and also change the padding to comply with the HIG. Fixes
bug #41046 and at least part of bug #41142 (except for the
s/Search/OK/ thing, which has not been agreed upon yet).
svn path=/trunk/; revision=20808
2003-04-10 JP Rosevear <jpr@ximian.com>
Fixes#41127
* gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb):
unref here, when the callback is done
(e_meeting_time_selector_refresh_free_busy): don't unref here
* gui/e-meeting-model.c (process_free_busy): if the type is
unexpected, make sure we cleanup properly
svn path=/trunk/; revision=20807
2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove
the alarm for backends that want it (Exchange).
svn path=/trunk/; revision=20801
2003-04-10 Not Zed <NotZed@Ximian.com>
* tests/mime-filter/data: filter data test cases.
* tests/mime-filter/test-tohtml.c: New test for html filter.
** See bug #40969
* camel-mime-filter-tohtml.c (html_convert): Change the logic
slightly, scan a whole line within the main loop.
svn path=/trunk/; revision=20799
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): Removed. I
just realised that we ALWAYS want to get gpg's stderr in UTF-8, so
the better solution (plus less code duplication) is to just have
the diagnostics buffer be a CamelStreamMem with a charset filter.
(gpg_ctx_new): Setup a filter stream to convert our gpg stderr
diagnostics into UTF-8 if needed.
(gpg_ctx_free): Unref the diagnostcis stream.
(gpg_ctx_parse_status): Flush the diagnostics stream if we are
going to use the data in an exception.
(gpg_ctx_op_step): Use camel_stream_write() to append to the
diagnostics stream rather than appending the buffer to a
GByteArray like we used to do.
(gpg_ctx_op_step): Flush the diagnostics stream here too.
(gpg_verify): Use a const char *diagnostics string here, forcing a
slight rearrangement of calls - use the const char *dignostics
before we gpg_ctx_free, otherwise we'll be passing free'd memory
off to the cipher_validity.
(gpg_ctx_get_diagnostics): Do the work here to flush the
diagnostics stream and nul-terminate the buffer. Also return const
now, instead of strdupping. No need for that.
(gpg_ctx_parse_status): Convert the user hint to UTF-8.
svn path=/trunk/; revision=20798
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Use
e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno
what I was thinking. locale_name() doesn't even exist.
(setup_ui): Don't free the default_charset, it's a const char*.
svn path=/trunk/; revision=20797
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): Changed my
mind a bit on how I wanted this to work. Instead of aborting on an
illegal sequence, do like we do with camel-mime-filter-charset and
just skip over invalid sequences. Also, in the noop failure case,
close the iconv_t so we don't leak it.
svn path=/trunk/; revision=20796
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c (imap_body_decode): Save the
content size in a temp variable until after we've successfully
parsed all of the body_type_1part expr. Also fixed a type-o in the
body_type_mpart case that caused the parser to fail.
(imap_parse_body): On failure to parse the body, as we iterate
through the child nodes, set their children/parent/next nodes to
NULL so that content_info_free() won't double-free any of the
other nodes we have already free'd (or are about to free).
svn path=/trunk/; revision=20795
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Use
e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno
what I was thinking. locale_name() doesn't even exist.
* e-msg-composer-attachment-bar.c (get_default_charset): Same.
svn path=/trunk/; revision=20793
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): New function
to get the UTF-8 version of the diagnostics (if the locale isn't
already UTF-8 safe).
(gpg_verify): Use the utf-8 diagnostics here. Also fixed a memleak
in the exception case.
svn path=/trunk/; revision=20792
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyaddr_r): Change the 'len' argument to
'addrlen' so that when IPv6 is enabled, our temp vriable (also
named len) does not cause confusion. Fixes bug #40979.
svn path=/trunk/; revision=20791
2003-04-09 Chris Toshok <toshok@ximian.com>
Fixes#40133
* pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT
instead of G_TYPE_ENUM as a parameter type for the signal to get
rid of runtime warning.
svn path=/trunk/; revision=20786
2003-04-09 JP Rosevear <jpr@ximian.com>
Fixes#40915
* gui/calendar-model.c (get_due_status): when getting the current
time for date values, use a timezone aware function
svn path=/trunk/; revision=20785
2003-04-09 Not Zed <NotZed@Ximian.com>
** See bug #40921
* subscribe-dialog.c (subscribe_dialog_finalise): add a finalise
funciton which actually free's resources.
(get_short_folderinfo_got): dont call activity callback implicitly
here, do it from the callers callback.
(subscribe_get_short_folderinfo): dont call activity callback
here.
(fe_got_children): check implicitly if we were cancelled. also
add back the node sort, and also call the activity callback from
here instead of breaking layers of abstraction as above.
(folder_etree_cancel_all): new method, force a cancel of all ops,
but dont free anything.
(store_data_free): dont unref the widget anymore, not needed.
call cancel all on the ftree if its still active.
(sc_close_pressed): destroy the subscribe dialogue as well as the
app, it doesn't seem to get destroyed otherwise.
(sc_activity_cb): do nothing if we have been cancelled.
(subscribe_dialog_destroy): trigger a cancel of all outstanding
ops. only free most data in the finalise method.
(subscribe_dialog_class_init): hook onto finalise.
(store_data_get_widget): dont ref the widget.
* mail-callbacks.c (manage_subscriptions): sink the dialog.
svn path=/trunk/; revision=20784
2003-04-09 Chris Toshok <toshok@ximian.com>
[ fixes#40727 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): if the query text is
either shorter than the cached query_text or they don't match,
don't just set can_reuse_cached_cards to FALSE. we also need to
invalidate the cache.
svn path=/trunk/; revision=20780
2003-04-09 Larry Ewing <lewing@ximian.com>
* mail-preferences.c (font_share_changed): set sensitivity of
font pickers based on share setting.
(mail_preferences_construct): initialize font prefs.
(mail_preferences_apply): set the font prefs.
(font_changed): add gnome-font-picker changed function.
* mail-preferences.h: add font pref widgets.
* mail-config.c (mail_config_init): add notify to on fonts dir.
(config_write_fonts): write out a gtkrc that overrides the gtkhtml
fonts settings based on the gconf keys.
* mail-config.glade: move display font setttings to mail prefs.
* evolution-mail.schemas: add font settings.
svn path=/trunk/; revision=20779
2003-04-09 Larry Ewing <lewing@ximian.com>
* e-shell-importer.c (create_html): remove call to
gtk_html_set_default_background_color, replace with calls to
gtk_widget_modify_style_*
svn path=/trunk/; revision=20777
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Same as
with attachment-bar's get_default_charset().
(setup_ui): Instead of pulling the default charset from gconf,
call our helper function above.
* e-msg-composer-attachment-bar.c (get_default_charset): If gconf
returns a NULL string, default back to the locale charset.
svn path=/trunk/; revision=20775
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #40778. Probably others as well.
* providers/imap/camel-imap-utils.c (parse_params): Return 0 on
success, or -1 on fail. The other small utility functions should
probably do the same, but I was too lazy to fix them. Setting
inptr to NULL is just lame.
(imap_body_decode): New function to correctly parse a BODY
response.
(imap_parse_body): Rewritten to use the above function.
svn path=/trunk/; revision=20773