Commit Graph

17514 Commits

Author SHA1 Message Date
8cd1f8a754 only remove the alarm for backends that want it (Exchange).
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 15:10:32 +00:00
c58790758e added #define's for static capabilities.
2003-04-10  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-util.h: added #define's for static capabilities.

	* pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities):
	use the #define's above.

svn path=/trunk/; revision=20800
2003-04-10 14:38:24 +00:00
2e7d1434ae filter data test cases.
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-10 11:35:00 +00:00
0933b12476 Removed. I just realised that we ALWAYS want to get gpg's stderr in UTF-8,
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 23:21:15 +00:00
738650c1d1 Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what
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 22:51:47 +00:00
14517cbca4 Changed my mind a bit on how I wanted this to work. Instead of aborting on
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 22:04:33 +00:00
94286866e7 Save the content size in a temp variable until after we've successfully
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 21:02:34 +00:00
b1a244dcb1 Sync for 1.3.2.
svn path=/trunk/; revision=20794
2003-04-09 20:37:56 +00:00
b6afda1669 Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what
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 19:30:21 +00:00
bcfbad5e31 New function to get the UTF-8 version of the diagnostics (if the locale
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 19:27:17 +00:00
891b85f5e0 Change the 'len' argument to 'addrlen' so that when IPv6 is enabled, our
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 18:41:17 +00:00
c70fa695ca Update for e_option_menu prototype constification
* e-folder-list.c: Update for e_option_menu prototype
        constification

svn path=/trunk/; revision=20790
2003-04-09 18:02:18 +00:00
69f98ea90b Update Czech translation
svn path=/trunk/; revision=20789
2003-04-09 17:42:40 +00:00
365ad25fab Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889)
* main.c (main): Add a "--setup-only" flag, to just run e_setup()
        and exit. (For #40889)

svn path=/trunk/; revision=20788
2003-04-09 17:14:54 +00:00
b60738042c add 40133
svn path=/trunk/; revision=20787
2003-04-09 16:16:31 +00:00
d7325d7415 Fixes #40133
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 16:15:51 +00:00
e9ae74c02a Fixes #40915
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 14:39:37 +00:00
0c38cc93b1 ** See bug #40921
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 14:20:34 +00:00
c9f72e4ab1 Fixes #40952
2003-04-09  JP Rosevear  <jpr@ximian.com>

	Fixes #40952

	* pcs/cal-backend-file.c (cal_backend_file_open): check for file
	method instead of is_local

svn path=/trunk/; revision=20783
2003-04-09 13:43:57 +00:00
c298b9af91 fix build, it's composer_get_default_charset_setting.
2003-04-09  Chris Toshok  <toshok@ximian.com>

	* e-msg-composer.c (setup_ui): fix build, it's
	composer_get_default_charset_setting.

svn path=/trunk/; revision=20782
2003-04-09 10:21:42 +00:00
20a08400cc add 40727 fix
svn path=/trunk/; revision=20781
2003-04-09 10:20:13 +00:00
7d976a9c3e [ fixes #40727 ] if the query text is either shorter than the cached
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 10:15:05 +00:00
60ba84e6a4 set sensitivity of font pickers based on share setting.
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 09:52:32 +00:00
1034abae46 Commit the right version.
svn path=/trunk/; revision=20778
2003-04-09 08:25:24 +00:00
644d694582 remove call to gtk_html_set_default_background_color, replace with calls
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 08:22:23 +00:00
73a4fab3f1 remove call to gtkhtml_set_default_background_color
2003-04-09  Larry Ewing  <lewing@ximian.com>

	* e-summary.c (e_summary_init): remove call to
	gtkhtml_set_default_background_color

svn path=/trunk/; revision=20776
2003-04-09 08:02:45 +00:00
21fd865ec0 Same as with attachment-bar's get_default_charset(). (setup_ui): Instead
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-09 06:06:45 +00:00
17c1d1c0fd NULL-protect the to/from charsets in the g_warning call.
2003-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-charset.c
	(camel_mime_filter_charset_new_convert): NULL-protect the to/from
	charsets in the g_warning call.

svn path=/trunk/; revision=20774
2003-04-09 05:55:45 +00:00
552a2f3af8 Fixes for bug #40778. Probably others as well.
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
2003-04-09 00:09:24 +00:00
2e2287a9f2 Fix
* tools/Makefile.am (EXTRA_DIST): Fix

svn path=/trunk/; revision=20772
2003-04-08 21:51:18 +00:00
43b39edf09 add response ids to buttons
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-table-config-no-group.glade : add response ids to buttons

svn path=/trunk/; revision=20770
2003-04-08 21:10:14 +00:00
0cdafe3604 kill an old e_utf8_gtk usage
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-search-bar.c (set_option): kill an old e_utf8_gtk usage

and remove some straggling e-font.h includes.

svn path=/trunk/; revision=20769
2003-04-08 20:44:58 +00:00
e73f740c72 Make sure host->h_name is not an empty string too? Apparently for one user
2003-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c (smtp_helo): Make sure
	host->h_name is not an empty string too? Apparently for one user
	his resolved hostname is "". Go figure. Probably a broken system,
	but easy enough to work around.

svn path=/trunk/; revision=20768
2003-04-08 20:20:04 +00:00
55c6c41bd4 Added some debug printfs. (create_composer): Call map_default_cb directly
2003-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (map_default_cb): Added some debug printfs.
	(create_composer): Call map_default_cb directly instead of having
	it in a "map" callback. Ettore says we shouldn't be doing this
	*shrug*. Still doesn't work tho.

svn path=/trunk/; revision=20767
2003-04-08 20:14:22 +00:00
122470e9be remove e-font.[ch], test-e-font, and test-font-loading. kill
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* gal/widgets/Makefile.am : remove e-font.[ch], test-e-font,
	and test-font-loading.
	* gal/widgets/e-unicode.[ch] (e_utf8_from_gtk_string): kill
	(e_utf8_from_gtk_string_sized): kill
	(e_utf8_to_gtk_string): kill
	(e_utf8_to_gtk_string_sized): kill
	(e_utf8_gtk_menu_item_new_with_label): kill
	(e_utf8_gtk_clist_set_text): kill
	(e_utf8_gtk_clist_append): kill
	* e-categories-master-list-option-menu.c (ecmlom_ecml_changed):
	don't use e_utf8_to_gtk_string.
	* e-categories-master-list-combo (ecmlc_ecml_changed):
	don't use e_utf8_to_gtk_string.

2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c : break e-font dependency

svn path=/trunk/; revision=20766
2003-04-08 19:48:41 +00:00
f146a1feb5 If store->engine->line is NULL, use _("Unknown error") as the error string
2003-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If
	store->engine->line is NULL, use _("Unknown error") as the error
	string instead.

svn path=/trunk/; revision=20765
2003-04-08 17:48:12 +00:00
bc576ab3c4 (d): Remove all debugging
messages.

svn path=/trunk/; revision=20764
2003-04-08 17:21:12 +00:00
47c282f8c1 gal/e-text/e-text.[ch] : break EFont dependency
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	gal/e-text/e-text.[ch] : break EFont dependency

svn path=/trunk/; revision=20763
2003-04-08 17:09:10 +00:00
74a2482d4a Add a check for a NULL uid here. Don't see how it can happen, but it seems
2003-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (do_view_message): Add a check for a NULL uid
	here. Don't see how it can happen, but it seems to have for
	Aaron. Anyways, this should fix bug #40904.

svn path=/trunk/; revision=20762
2003-04-08 16:41:06 +00:00
fe0bc3328d swap button order swap button order
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-table-config.glade : swap button order
	* e-table-config-no-group.glade : swap button order

svn path=/trunk/; revision=20761
2003-04-08 16:08:22 +00:00
d6f441c493 (setup_bonobo_conf_private_directory): Removed.
(e_setup): Do not call here.  Also, removed hacks for
~/evolution/config and ~/evolution/local/Trash.

svn path=/trunk/; revision=20760
2003-04-08 16:05:35 +00:00
26312e0ff1 add killev
svn path=/trunk/; revision=20759
2003-04-08 15:36:25 +00:00
e0125f1fac Remove color specs from the druid so it will use the theme colors
* mail-config.glade: Remove color specs from the druid so it will
        use the theme colors

svn path=/trunk/; revision=20758
2003-04-08 15:34:31 +00:00
0f4485abb9 Remove the color specs so the druid will use theme colors
* glade/evolution-startup-wizard.glade: Remove the color specs so
	the druid will use theme colors

	* importer/import.glade: Likewise

svn path=/trunk/; revision=20757
2003-04-08 15:33:02 +00:00
732fcfec9d Remove color specifications from the druid so it will use theme colors.
* gui/component/ldap-config.glade: Remove color specifications
        from the druid so it will use theme colors.

        * gui/component/addressbook-config.c
        (addressbook_add_server_druid): Use g_signal_connect_after for
        "prepare" signal (to work around b.g.o 81869)

svn path=/trunk/; revision=20756
2003-04-08 15:31:53 +00:00
1735baf281 fix button order fix button order fix button order
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* gal-define-views-dialog.c : fix button order
	* gal-view-instance-save-as-dialog.c : fix button order
	* gal-view-new-dialog.c : fix button order

svn path=/trunk/; revision=20755
2003-04-08 15:31:51 +00:00
40758aa297 Fixes #40894
2003-04-08  JP Rosevear  <jpr@ximian.com>

	Fixes #40894

	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): update the
	selection for all view types

svn path=/trunk/; revision=20754
2003-04-08 15:00:43 +00:00
fb450633e9 update the selection for all view types
2003-04-08  JP Rosevear  <jpr@ximian.com>

	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): update the
	selection for all view types

svn path=/trunk/; revision=20753
2003-04-08 14:58:26 +00:00
2906114f45 Remove tools/evolution-addressbook-export.c, which
is gone now.

svn path=/trunk/; revision=20752
2003-04-08 14:56:39 +00:00
59b13c97a6 (impl_dispose): g_object_weak_unref() the shell here.
(impl_dispose):
g_object_weak_unref() the shell here.

svn path=/trunk/; revision=20751
2003-04-08 14:50:48 +00:00