Commit Graph

16199 Commits

Author SHA1 Message Date
f37b0a1ab7 ...And a whole bunch more build fixes.
2002-12-17  Jeffrey Stedfast  <fejj@ximian.com>

	...And a whole bunch more build fixes.

	* mail-vfolder.c (mail_vfolder_delete_uri): Don't use
	g_string_sprintfa() anymore since it is apparently deprecated.

	* mail-session.c (main_get_filter_driver): Don't use
	g_string_sprintfa() anymore since it is apparently deprecated.

	* mail-ops.c (build_from): Don't use g_string_sprintfa() anymore
	since it is apparently deprecated.

	* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Don't use
	g_string_sprintfa() anymore since it is apparently deprecated.

	* mail-autofilter.c: Don't use g_string_sprintfa() anymore since
	it is apparently deprecated.

	* folder-browser.c: Don't use g_string_sprintfa() anymore since it
	is apparently deprecated.

	* mail-search.c (mail_search_set_subject): Remove the unnecessary
	g_strdup()'age as well as fix a possible buffer overrun.

	* mail-local.c (mail_local_folder_construct): Use
	g_path_get_basename().

	* mail-config-druid.c (make_account): Don't use e_utf8_*
	functions.

svn path=/trunk/; revision=19152
2002-12-17 20:38:25 +00:00
e446a3dd9f oops, use strcmp, not !strcmp here.
2002-12-17  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-manager.c
	(uris_listener): oops, use strcmp, not !strcmp here.

svn path=/trunk/; revision=19149
2002-12-17 18:27:22 +00:00
917e520bbe [ Fixes bug #35135 ] don't free the default_book_uri here, it's done in
2002-12-17  Chris Toshok  <toshok@ximian.com>

	[ Fixes bug #35135 ]
	* backend/ebook/e-book-util.c (set_default_book_uri_local): don't
	free the default_book_uri here, it's done in set_default_book_uri.
	(set_default_book_uri): break some stuff out from
	set_default_book_uri_from_bonobo_conf to here so it can be used
	both from that function and the bonobo listener.
	(default_folder_listener): set the new default book uri.
	(set_default_book_uri_from_bonobo_conf): install the bonobo conf
	listener so we'll get updates.

svn path=/trunk/; revision=19148
2002-12-17 18:26:52 +00:00
7adf0fe63f edit->tep isn't a GtkObject anymore.
2002-12-16  Chris Toshok  <toshok@ximian.com>

	* e-cell-text.c (_get_tep): edit->tep isn't a GtkObject anymore.

svn path=/trunk/; revision=19144
2002-12-17 06:25:18 +00:00
7d7d2b7729 Detect text/html parts that were marked as text/plain and re-tag them as
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part-utils.c
	(simple_data_wrapper_construct_from_parser): Detect text/html
	parts that were marked as text/plain and re-tag them as text/html
	parts. Note: currently just checks if the first non-lwsp char is a
	'<' - but we might need to be smarter about this? *sigh* Stupid
	Windows mailers.

svn path=/trunk/; revision=19143
2002-12-16 23:45:41 +00:00
b6a3b64021 pass in the pango layout so we don't have to create another one here.
2002-12-16  Chris Toshok  <toshok@ximian.com>

	* e-table-header-utils.c (e_table_draw_elided_string): pass in the
	pango layout so we don't have to create another one here.  Also,
	elide the string properly (same method that e-clipped-label uses)
	and simplify the extent operations.
	(e_table_header_compute_height): just use
	pango_layout_get_pixel_size here.
	(e_table_header_draw_button): make sure the clip rectangle is
	NULL'ed on our gc, since random gtk calls seem to install one,
	which sucks.  Also, simplify the pango layout stuff a little.

svn path=/trunk/; revision=19142
2002-12-16 23:24:24 +00:00
9bc309a2f5 Wrap the content with a table so that text isn't fully left-justified.
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c #define a STANDARD_ISSUE_TABLE_OPEN string used
	for wrapping textual message parts to keep them being fully-left
	justified.
	(mail_format_raw_message): Wrap the content with a table so that
	text isn't fully left-justified.
	(write_hr): Use it here too.
	(handle_text_plain): And finally here.

svn path=/trunk/; revision=19141
2002-12-16 21:54:34 +00:00
711982b8ec (make_table): Do not ref/sink the ETreeMemory
object.

svn path=/trunk/; revision=19140
2002-12-16 21:33:05 +00:00
81d36ac973 (addressbook_config_control_new): Use
evolution_shell_client_corba_objref() instead of BONOBO_OBJREF()
to get the Shell CORBA object.

svn path=/trunk/; revision=19139
2002-12-16 21:32:25 +00:00
ddc321dd76 remove obvious double g_strdup.
2002-12-16  Chris Toshok  <toshok@ximian.com>

	* e-table.c (et_real_construct): remove obvious double g_strdup.

	* e-table-header-item.c (ethi_header_context_menu): ref/sink the
	popup.

	* e-table-field-chooser.c (e_table_field_chooser_init): use
	gtk_widget_show_all so our custom widget gets displayed.

svn path=/trunk/; revision=19135
2002-12-16 20:43:50 +00:00
a4a43fe1fc Use camel_text_to_html() instead of e_text_to_html(). (mail_text_write):
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_error_printf): Use camel_text_to_html()
	instead of e_text_to_html().
	(mail_text_write): Write the content directly to gtkhtml through
	an html stream filter.

	* mail-format.c (attachment_header): Use camel_text_to_html()
	instead of e_text_to_html().
	(write_text_header): Same.
	(write_address): Here too.
	(mail_get_message_rfc822): And here.
	(mail_get_message_body): And finally here.

svn path=/trunk/; revision=19133
2002-12-16 20:11:36 +00:00
29c2975207 Don't #include <e-util/e-html-utils.h>
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gui/component/addressbook-config.c: Don't #include
	<e-util/e-html-utils.h>

svn path=/trunk/; revision=19132
2002-12-16 19:55:45 +00:00
54b8272e29 Don't #include "e-util/e-html-utils.h" as we don't use it.
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-shell-importer.c: Don't #include "e-util/e-html-utils.h" as
	we don't use it.

svn path=/trunk/; revision=19131
2002-12-16 19:51:28 +00:00
d3d65d9bec Removed. Back to the fiery depths of hell from whence ye came!
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-html-utils.[c,h]: Removed. Back to the fiery depths of hell
	from whence ye came!

svn path=/trunk/; revision=19130
2002-12-16 19:47:33 +00:00
594812e79f Use camel_text_to_html() instead.
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gui/e-itip-control.c (write_html): Use camel_text_to_html()
	instead.

svn path=/trunk/; revision=19129
2002-12-16 19:41:37 +00:00
9d70bad494 New convenience function to replace calls to e_text_to_html() in the
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-tohtml.c (camel_text_to_html): New convenience
	function to replace calls to e_text_to_html() in the
	mailer/composer etc.

svn path=/trunk/; revision=19128
2002-12-16 19:36:35 +00:00
aed127b4f4 Use camel_text_to_html(). (e_msg_composer_new_from_url): Same.
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (get_signature_html): Use camel_text_to_html().
	(e_msg_composer_new_from_url): Same.

	* evolution-composer.c (impl_Composer_set_body): Use
	camel_text_to_html().

svn path=/trunk/; revision=19127
2002-12-16 19:23:18 +00:00
2f1a1a22fe Re-implemented to use streams. Also no need to check for html since
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_plain): Re-implemented to use
	streams. Also no need to check for html since
	camel-mime-part-utils.c now does this for us and will re-tag the
	mime-type as text/html thus the UI can be completely ignorant of
	this process.
	(handle_text_plain_flowed): Removed.
	(write_one_text_plain_chunk): Removed.
	(try_uudecoding): Removed.
	(try_inline_binhex): Removed.
	(handle_text_enriched): Re-implemented to use streams too.

2002-12-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (write_text_header): Change the order of the args
	to be consistant with other write functions.
	(write_date): Same.
	(write_field_row_begin): Here too.
	(write_headers): Here too.
	(write_one_text_plain_chunk): Don't strdup just to pass it to
	mail_text_write() so that it can dup it yet again into html text
	and dup it yet a 3rd time into a GByteArray. Instead just write it
	to gtkhtml.
	(handle_*): Fixed arguments to take a MailDisplayStream instead of
	a GtkHTML widget and a GtkHMLStream.

	* mail-display.c (mail_display_render): Create a MailDisplayStream
	to pass to mail_format_mime_message() and
	mail_format_raw_message().

	* mail-display-stream.[c,h]: New stream to replace
	mail-stream-gtkhtml.c

	* mail-stream-gtkhtml.[c,h]: Removed.

svn path=/trunk/; revision=19126
2002-12-16 16:47:51 +00:00
8740d35fee spelling/typos
2002-12-16  Aaron Weber  <aaron@ximian.com>

	* C/config-sync.sgml: spelling/typos

	* C/usage-exchange.sgml: spelling/typos

	* C/usage-mail.sgml: spelling/typos


	* C/usage-mainwindow.sgml: spelling/typos

svn path=/trunk/; revision=19125
2002-12-16 16:39:53 +00:00
ebc92ca5e2 #include some headers we had forgotten to add previously, also added
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel.h: #include some headers we had forgotten to add
	previously, also added camel-mime-filter-enriched.h.

	* camel-mime-filter-enriched.[c,h]: New stream filter to convert
	text/enriched and text/richtext into HTML.

svn path=/trunk/; revision=19124
2002-12-16 15:05:06 +00:00
b6a4a8bdb8 Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>"
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gui/e-itip-control.c (write_html): Correctly convert text.value
	into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html()
	if text.value is NULL).

svn path=/trunk/; revision=19123
2002-12-16 14:55:28 +00:00
128e4fb461 Don't apply the CANON_STRIP filter here, since we are verifying whatever
2002-12-15  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-signed.c (camel_multipart_signed_verify): Don't
	apply the CANON_STRIP filter here, since we are verifying whatever
	raw data we received (all we want to do is convert o the canonical
	CRLF format).

svn path=/trunk/; revision=19122
2002-12-16 00:52:25 +00:00
07e1d2a74a added some #warnings
svn path=/trunk/; revision=19121
2002-12-15 20:34:36 +00:00
e639128448 Updated German translation and POTFILES.in.
svn path=/trunk/; revision=19120
2002-12-15 19:18:00 +00:00
2d40006720 valgrindage
2002-12-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_table_model_rows_deleted): valgrindage

svn path=/trunk/; revision=19119
2002-12-14 05:31:07 +00:00
02a2b0046f protect against null instance_id's (bug#35540)
2002-12-13  Mike Kestner  <mkestner@ximian.com>

	* gal-view-instance.c (gal_view_instance_construct):
	protect against null instance_id's (bug#35540)

svn path=/trunk/; revision=19118
2002-12-14 05:27:01 +00:00
5a5eec6a63 Make sure the folder-browser is not NULL or we'll crash.
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (check_send_configuration): Make sure the
	folder-browser is not NULL or we'll crash.

svn path=/trunk/; revision=19115
2002-12-13 22:51:35 +00:00
33f5b6f67d Fix the colour code to get a guint32 rgb correctly (I think - can't test
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-preferences.c (mail_preferences_construct): Fix the colour
	code to get a guint32 rgb correctly (I think - can't test because
	the shell keeps crashing, yay).

svn path=/trunk/; revision=19114
2002-12-13 22:05:16 +00:00
d5749529a8 Don't re-use cell renderers - I'm not sure this is actually safe to do.
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (construct): Don't re-use cell renderers
	- I'm not sure this is actually safe to do.

svn path=/trunk/; revision=19113
2002-12-13 19:36:18 +00:00
25a94bfe0c Get rid of unneeded CamelObject casts. (user_message_response): Don't
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c: Get rid of unneeded CamelObject casts.
	(user_message_response): Don't unref the dialog object after we've
	destroyed it.

	* mail-display.c (write_data_to_file): Don't unref the dialog
	object after we've destroyed it.

	* mail-callbacks.c: Same here.

	* component-factory.c: Here too.

	* message-tag-editor.c: Added MESSAGE_TAG_EDITOR_GET_CLASS macros.

svn path=/trunk/; revision=19112
2002-12-13 18:52:35 +00:00
d08474c3a5 [ fixes bug #35394 ]
2002-12-13  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #35394 ]

	* e-shell-shared-folder-picker-dialog.c (setup_name_selector):
	return the SelectNames corba interface too.
	(show_dialog): unref the corba interface when closing the dialog.

svn path=/trunk/; revision=19111
2002-12-13 18:10:37 +00:00
9aa9ba33ce cleaned up some const'ness
svn path=/trunk/; revision=19110
2002-12-13 16:20:41 +00:00
f27f9efb53 Setup double-click here.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_construct): Setup
	double-click here.

svn path=/trunk/; revision=19109
2002-12-13 02:16:27 +00:00
f6232508a1 Use an easier method for getting the iter.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (cursor_changed): Use an easier method for getting
	the iter.

svn path=/trunk/; revision=19108
2002-12-13 02:14:17 +00:00
64e851be73 oops, I had changed the glade code but forgot to commit
svn path=/trunk/; revision=19107
2002-12-13 00:34:03 +00:00
dc41429125 New custom function for creating the source_list widget. (get_widget):
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c (vfolder_editor_sourcelist_new): New custom
	function for creating the source_list widget.
	(get_widget): Removed the source_list creation code.

	* rule-editor.c (rule_editor_construct): Listen to row-activated
	for double-click events. Also, removed the model creation code out
	of here.
	(rule_editor_treeview_new): Moved the treeview and model creation
	code into here instead, and made the glade widgets into custom
	widgets.

svn path=/trunk/; revision=19106
2002-12-13 00:32:28 +00:00
1229557d37 don't shadow a parameter
svn path=/trunk/; revision=19105
2002-12-12 22:47:36 +00:00
159b10f3d9 Get rid of the ETable #ifdef's - we won't ever be using ETable.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_delete_clicked): Get rid of the ETable
	#ifdef's - we won't ever be using ETable.
	(account_default_clicked): Same.
	(account_able_clicked): Here too.
	(mail_accounts_load): And here.
	(mail_accounts_treeview_new): Renamed from etable_new since we
	won't ever be using an etable.
	(mail_accounts_tab_construct): And finally here.

svn path=/trunk/; revision=19104
2002-12-12 16:26:16 +00:00
a2ce61bbf1 GtkTreeStore wrapper. not built yet
2002-12-11  Mike Kestner  <mkestner@ximian.com>

	* e-storage-set-store.[ch] : GtkTreeStore wrapper. not built yet

svn path=/trunk/; revision=19101
2002-12-12 05:33:22 +00:00
57918de62e Removed Marquette from the listing, it is no longer listed by METAR. This
* Locations: Removed Marquette from the listing, it is no longer listed by METAR.  This is per bug 29693.

* Locations.h: Removed Marquette from the listing, it is no longer listed by METAR.

svn path=/trunk/; revision=19100
2002-12-12 00:11:58 +00:00
166b98d328 cast a-warning a-way.
2002-12-12  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (my_folder_browser_init): cast a-warning a-way.

        * mail-composer-prefs.c (spell_setup): Terminate list_store_set
        with -1.

        * mail-accounts.c (mail_accounts_etable_new): clist -> gtktreeview
        stuff.  Yes, this is not an etable.
        (mail_accounts_tab_construct): Same.
        (mail_accounts_load): Same.
        (account_cursor_change): Same.
        (account_able_clicked): And this.
        (account_default_clicked): Same.
        (account_delete_clicked): Guess?
        (account_edit_clicked): And here too.

svn path=/trunk/; revision=19099
2002-12-11 23:44:39 +00:00
cf5946baf7 New function to handle a lot of the filtering/etc that was done in
2002-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_format_data_wrapper_write_to_stream): New
	function to handle a lot of the filtering/etc that was done in
	mail_format_get_data_wrapper_text(). This is the first step toward
	getting rid of e-text-to-html crap and using my tohtml stream
	filter instead.
	(mail_format_get_data_wrapper_text): Use the new function.
	(mail_format_raw_message): Use camel streams to write the content
	to gtkhtml rather than using get_data_wrapper_text() and then
	converting that to html and then writing it to the gtkhtml stream.

svn path=/trunk/; revision=19098
2002-12-11 16:52:40 +00:00
8d8578a64d check for null or blank view names
2002-12-10  Gilbert Fang  <gilbert.fang@sun.com>

	* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
	check for null or blank view names

svn path=/trunk/; revision=19096
2002-12-11 05:51:47 +00:00
d7abc97346 Fonts aren't set the way they were, and I had missed a tidbit in there.
Also this is fixed in the 12 branch.

svn path=/trunk/; revision=19094
2002-12-11 01:17:01 +00:00
782555acd2 change directory server description.
2002-12-10  Aaron Weber  <aaron@ximian.com>

	* C/config-prefs.sgml: change directory server description.

svn path=/trunk/; revision=19090
2002-12-10 19:39:53 +00:00
13e9ed127f change word from "Resend" to "redirect".
2002-12-10  Aaron Weber  <aaron@ximian.com>

	* C/preface.sgml: change word from "Resend" to "redirect".

svn path=/trunk/; revision=19089
2002-12-10 19:21:43 +00:00
1de04ce7bd Use camel-url-scanner instead of regex.
2002-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-tohtml.c (html_convert): Use camel-url-scanner
	instead of regex.

svn path=/trunk/; revision=19087
2002-12-10 17:40:34 +00:00
2dd7fb3a14 new function.
2002-12-10  Rodrigo Moya <rodrigo@ximian.com>

	* e-config-listener.[ch] (e_config_listener_remove_dir): new function.

svn path=/trunk/; revision=19086
2002-12-10 17:03:03 +00:00
0350336eca language is a treeview now. Not sure what to do with it yet, but get rid
2002-12-10  Not Zed  <NotZed@Ximian.com>

        * mail-composer-prefs.c (mail_composer_prefs_construct): language
        is a treeview now.  Not sure what to do with it yet, but get rid
        of one warning anyway.
        (mail_composer_prefs_construct): Same for sig_clist, but setup
        model.
        (sig_fill_clist): Change to use a gtktreeview instead of a clist.
        (sig_selection_changed): New method to handle signature selection
        changes with the new widgets.
        (sig_delete): clist -> treeview.
        (mail_composer_prefs_new_signature): Same.
        (sig_edit): ditto.
        (sig_current_sig): removed.
        (sig_row_unselect): Removed.
        (sig_row_select): Removed, now redundant.
        (spell_select_lang): Removed, redundant.
        (spell_set_ui_language): New implementation using list model more
        effectively.
        (spell_get_language_str): Same here.
        (spell_set_ui_language): Removed this too, merged into
        spell_set_ui, it was just wasting stack space.
        (spell_language_selection_changed): renemd from
        spell_language_select_row, converted to gtktreeview, etc.
        (spell_language_unselect_row): Removed.
        (spell_language_enable): Redone to use tree model.
        (spell_language_button_press): Removed, i dont think this is
        needed anymore.
        (spell_setup): dont hook onto redundant signals.

        * mail-config-factory.c (config_control_factory_cb): ignore
        mail-font-prefs in a different way (so we dont assert)

svn path=/trunk/; revision=19084
2002-12-10 11:09:27 +00:00
6d87926c24 Removed the g_assert_not_reached(). If you hit the close button on your
2002-12-10  Not Zed  <NotZed@Ximian.com>

        * e-multi-config-dialog.c (impl_response): Removed the
        g_assert_not_reached().  If you hit the close button on your
        window it would abort, treat same as close.

svn path=/trunk/; revision=19083
2002-12-10 11:06:13 +00:00