Commit Graph

56 Commits

Author SHA1 Message Date
Jeffrey Stedfast a2a6d4d922 Changed "Exit" to "Close" in the File menu. This is a little more
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c: Changed "Exit" to "Close" in the File menu.
	This is a little more intuitive as it does not suggest exiting
	the application, just says "close this window"

svn path=/trunk/; revision=3814
2000-06-29 22:34:21 +00:00
Christopher James Lahey e4de45da5f Calculate height including if clip_height is set to -1.
2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Calculate height including if
	clip_height is set to -1.

From addressbook/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	addressbook/gui/component/e-cardlist-model.c: Added
	value_to_string handlers.

	* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
	"y" arguments.

	* addressbook/gui/component/addressbook.c: Activated Click To Add
	and set the click to add message.

	* addressbook/gui/component/e-addressbook-model.c: Added
	value_to_string and append_row handlers.

	* addressbook/gui/component/e-select-names.c: Added a column.

From calendar/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/calendar-model.c: Added an #ifdefed value_to_string handler
	assignment.

From camel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* providers/mbox/camel-mbox-summary.c: Added debugging
	information.

From composer/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-msg-composer-select-file.h for make
	distcheck.

From e-util/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h.

	* e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like
	a vbox using the reflow system.

From mail/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Added a value_to_string handler.

From shell/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* glade/Makefile.am: Added EXTRA_DIST for make distcheck.

From widgets/e-table/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-click-to-add.c,
	e-table-click-to-add.h, e-table-one.c, and e-table-one.h.

	* e-table-click-to-add.c, e-table-click-to-add.h: A new canvas
	item that represents a single row that sometimes exists.  It's for
	adding new rows to your table.

	* e-table-example-1.c, e-table-example-2.c, e-table-size-test.c,
	test-check.c, test-cols.c, test-table.c: Added value_to_string handlers.

	* e-table-group-container.c: Use value_to_string to make grouping
	not crash for non string columns.  Made some changes to work
	properly in an ECanvasVbox.

	* e-table-group-leaf.c, e-table-item.c: Made some changes to work
	properly in an ECanvasVbox.

	* e-table-model.c, e-table-model.h: Added append_row and
	value_to_string methods.

	* e-table-one.c, e-table-one.h: Given a source ETableModel, this
	provides a single row model that uses the initialize_value,
	duplicate_value, free_value, and value_is_empty methods of the
	original source to implement set_value and value_at (and proxies
	most of the other methods.)  This is used for ETableClickToAdd.

	* e-table-simple.c, e-table-simple.h: Added append_row and
	value_to_string handlers.  append_row uses a GtkArg instead of a
	parameter to e_table_simple_new.

	* e-table-subset.c: Added append_row and value_to_string handlers.

	* e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd
	and an ETableItem instead of an ETableItem directly.  Only show
	the ETableClickToAdd if the top level of the xml SPEC has the
	attribute click-to-add set to some non-zero integer.
	(click-to-add="1").  Add a "click_to_add_message" argument.

	* e-tree-model.c: Add a commented out value_to_string handler.

From widgets/meeting-time-sel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added the include path to top_srcdir.

svn path=/trunk/; revision=3744
2000-06-27 00:51:06 +00:00
Ettore Perazzoli a612351173 Implement "Save"/"Save As...".
svn path=/trunk/; revision=3739
2000-06-26 18:07:22 +00:00
Ettore Perazzoli 105f78dbe8 I18N the message composer's title bar. Don't install header files.
Initial implementation of the "Open" and "Save as" commands (not
really tested/finished, I am just syncing the tree before leaving).
Put the cursor on the "To:" field when the message composer is shown.
Set the correct shadow type in the scroll frame.

svn path=/trunk/; revision=3603
2000-06-17 03:10:38 +00:00
Dan Winship 4e6bf7a954 keep the GtkFileSelection around between calls so we start up in the same
* e-msg-composer-attachment-bar.c (add_from_user): keep the
	GtkFileSelection around between calls so we start up in the same
	directory we ended up in last time around. (Also fixes a big
	memory leak in that the code was already keeping the
	GtkFileSelection around, it just wasn't remembering to reuse it.)

svn path=/trunk/; revision=3570
2000-06-14 15:49:15 +00:00
Dan Winship f73a4deee4 Don't line-wrap lines that start with ">".
* e-msg-composer.c (format_text): Don't line-wrap lines that start
	with ">".

svn path=/trunk/; revision=3569
2000-06-14 15:49:14 +00:00
Jeffrey Stedfast c0748cf4f1 implemented a temp hack for the imap fetch by uid code
(works something like the POP code, should be fixed to work like we originally planned)

svn path=/trunk/; revision=3540
2000-06-13 00:27:30 +00:00
Dan Winship 3fbf507949 If a paragraph starts with TABs, indent the whole paragraph to that tab
* e-msg-composer.c (format_text): If a paragraph starts with TABs,
	indent the whole paragraph to that tab level.

svn path=/trunk/; revision=3534
2000-06-12 20:40:16 +00:00
Ettore Perazzoli c845d685bb Make the message composer use a EScrollFrame for the attachment bar
and make the quit message I18N aware.

svn path=/trunk/; revision=3533
2000-06-12 20:29:39 +00:00
Dan Winship 870e780ce2 Don't break on non-breaking spaces, don't keep non-breaking spaces that
* e-msg-composer.c (format_text): Don't break on non-breaking
	spaces, don't keep non-breaking spaces that fall after a line
	wrap, and translate non-breaking spaces to regular ones after
	wrapping.

svn path=/trunk/; revision=3530
2000-06-12 18:41:59 +00:00
Dan Winship 5ec9e5b228 New convenience function.
* e-msg-composer.c (e_msg_composer_attach): New convenience
	function.

	* e-msg-composer-attachment.c: Store a CamelMimePart rather than
	filename/description/mime_type info. Also record whether we were
	told or guessed the MIME type.
	(e_msg_composer_attachment_new_from_mime_part): New constructor.
	(e_msg_composer_attachment_edit): Remove the "browse" button. (If
	the user wants to change the actual file that the attachment is
	based on, he should delete the attachment and create a new one...)
	Remove the "Apply" button, because it's not all that useful. Make
	the MIME type only track the filename if it was guessed rather
	than being provided.

	* e-msg-composer-attachment.glade: Remove "browse" and "apply"
	buttons. Make filename editable.

	* e-msg-composer-attachment-bar.c (sort): Removed. Send the
	attachments in the order the user attached them in.
	(text_changed): Removed, since we weren't enabling the relevant
	GnomeIconList functionality that would have used this.
	(update): Don't print the size if it's 0.
	(attach_to_multipart, etc): adjust for EMsgComposerAttachment
	changes.
	(attach_to_multipart): Use 7bit encoding for message/ subparts.
	(e_msg_composer_attachment_bar_attach_mime_part): New convenience
	function.

svn path=/trunk/; revision=3430
2000-06-05 21:14:32 +00:00
Christopher James Lahey 147be136c4 Added the ability to save plain text mail.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer.c: Added the ability to save plain text mail.

svn path=/trunk/; revision=3397
2000-06-02 19:18:34 +00:00
Dan Winship 9b1893e93d add a "format" argument so we can fetch different kinds of text.
* e-msg-composer.c (get_editor_text): add a "format" argument so
	we can fetch different kinds of text.
	(format_text): New function to do line wrapping on plain text.
	(build_message): Build multipart/alternative messages rather than
	HTML-only ones. Yay. We don't suck (as much) any more!

svn path=/trunk/; revision=3267
2000-05-29 19:34:43 +00:00
Dan Winship f7f298203f #include <errno.h>
* e-msg-composer.c: #include <errno.h>

svn path=/trunk/; revision=3251
2000-05-28 19:58:14 +00:00
Ross Golder c5cf5131ea Fix 'make dist' errors.
svn path=/trunk/; revision=3231
2000-05-27 19:08:27 +00:00
Dan Winship c6af86a140 routine to read the user's signature file. (set_editor_text): If the user
* e-msg-composer.c (get_signature): routine to read the user's
	signature file.
	(set_editor_text): If the user has configured a signature, append
	it to the set text.
	(e_msg_composer_new): Call set_editor_text with "" to load the
	signature (if any).

svn path=/trunk/; revision=3220
2000-05-26 15:40:50 +00:00
Dan Winship 3c89185e9f Update for CamelMultipart changes.
* e-msg-composer.c (build_message): Update for CamelMultipart changes.

svn path=/trunk/; revision=3218
2000-05-26 14:46:56 +00:00
Dan Winship 5de3176b65 Update for PersistStream changes
* e-msg-composer.c (get_editor_text, set_editor_text): Update for
	PersistStream changes

svn path=/trunk/; revision=3215
2000-05-26 14:28:04 +00:00
Not Zed bd7bb08d47 Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new.
2000-05-25  Not Zed  <NotZed@HelixCode.com>

        * e-msg-composer.c (build_message): Use camel_data_wrapper_new
        instead of camel_simple_data_wrapper_new.

svn path=/trunk/; revision=3209
2000-05-25 23:43:34 +00:00
Dan Winship 52363dd1a2 Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new.
* e-msg-composer.c (build_message): Use
	camel_simple_data_wrapper_new rather than camel_data_wrapper_new.

svn path=/trunk/; revision=3114
2000-05-18 01:03:44 +00:00
Valek Frob 80a2c2ca88 Saved translatable strings. Added files to POTFILES.in.
svn path=/trunk/; revision=3009
2000-05-12 23:39:52 +00:00
Dan Winship 0e5f158b52 NUL-terminate the data extracted from the BonoboStream.
* e-msg-composer.c (get_editor_text): NUL-terminate the data
	extracted from the BonoboStream.

svn path=/trunk/; revision=3005
2000-05-12 18:20:47 +00:00
Dan Winship 497516ec00 deal with Content-Transfer-Encoding a little bit at least.
* e-msg-composer-attachment-bar.c (attach_to_multipart): deal with
	Content-Transfer-Encoding a little bit at least.

svn path=/trunk/; revision=2977
2000-05-10 20:12:40 +00:00
Mathieu Lacage d901164ccc make it really work with oaf. I need to recompile everyhting now.. shit
svn path=/trunk/; revision=2914
2000-05-08 12:08:21 +00:00
Mathieu Lacage b74fafebab uh
svn path=/trunk/; revision=2913
2000-05-08 11:55:53 +00:00
Mathieu Lacage 980f3552f4 make the composer work with oaf
svn path=/trunk/; revision=2912
2000-05-08 11:42:33 +00:00
Dan Winship 7bd8141a28 unref content, etc. after attaching it to message.
* e-msg-composer.c (build_message): unref content, etc. after
	attaching it to message.

	* e-msg-composer-attachment-bar.c (attach_to_multipart): unref
	part after attaching it.

svn path=/trunk/; revision=2884
2000-05-07 21:57:20 +00:00
Christopher James Lahey 073f72e4f3 Turned off focus in the To, Cc, and Bcc buttons.
2000-05-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer-hdrs.c: Turned off focus in the To, Cc, and Bcc
	buttons.

svn path=/trunk/; revision=2838
2000-05-06 21:28:42 +00:00
Matthew Loper 855b85657d Set G_LOG_DOMAIN in following files.
addressbook/demo/Makefile.am
 addressbook/printing/Makefile.am
 camel/Makefile.am
 camel/providers/MH/Makefile.am
 camel/providers/maildir/Makefile.am
 camel/providers/mbox/Makefile.am
 camel/providers/nntp/Makefile.am
 camel/providers/pop3/Makefile.am
 camel/providers/sendmail/Makefile.am
 camel/providers/smtp/Makefile.am
 composer/Makefile.am
 e-util/Makefile.am
 filter/Makefile.am
 libibex/Makefile.am
 mail/Makefile.am
 shell/Makefile.am
 tests/Makefile.am
 tests/ui-tests/Makefile.am
 widgets/e-table/Makefile.am
 widgets/e-text/Makefile.am
 widgets/meeting-time-sel/Makefile.am
 widgets/shortcut-bar/Makefile.am

svn path=/trunk/; revision=2756
2000-05-02 21:34:01 +00:00
Dan Winship 22127dc16c update for Camel recipient changes. (Just to make it build, not to take
advantage of new features, or do things cleanly.)

svn path=/trunk/; revision=2677
2000-04-28 22:42:53 +00:00
Dan Winship b9d26cb85f New routine, to process mailto URLs.
* e-msg-composer.c (e_msg_composer_new_from_url): New routine, to
	process mailto URLs.

svn path=/trunk/; revision=2663
2000-04-27 19:01:58 +00:00
Dan Winship e71125295c Oops. Fix previous commit so we don't get a mime part nested directly
inside a mime part

svn path=/trunk/; revision=2651
2000-04-26 22:46:52 +00:00
Dan Winship 9f81c2c796 Only generate a multipart message if there are attachments. Otherwise
* e-msg-composer.c (build_message): Only generate a multipart
	message if there are attachments. Otherwise generate a single
	part.

svn path=/trunk/; revision=2648
2000-04-26 21:52:13 +00:00
Dan Winship 2a6a191e05 Remove. We weren't using the fields that made this different from
* camel-mime-body-part.[ch]: Remove. We weren't using the fields
	that made this different from camel-mime-part, so it basically
	just forced us to do lots of gratuitous typecasting.

	* camel-multipart.[ch]: Use CamelMimePart. Remove the multipart
	parent stuff, since we weren't using that either.

	* etc: update for CamelMimeBodyPart -> CamelMimePart

svn path=/trunk/; revision=2645
2000-04-26 21:30:32 +00:00
Dan Winship 2409d71026 Update for camel_mime_part_set_content.
svn path=/trunk/; revision=2644
2000-04-26 20:42:22 +00:00
Dan Winship ec4ad73a58 add a s/SIMPLE_// that notzed missed remove a now-unused variable
* e-msg-composer-attachment-bar.c (attach_to_multipart): add a
	s/SIMPLE_// that notzed missed
	* e-msg-composer.c (build_message): remove a now-unused variable

svn path=/trunk/; revision=2630
2000-04-26 14:40:05 +00:00
NotZed 854e4ba9a4 Use camel_mime_part_set_text() to set the text rather than messing with
2000-04-26  NotZed  <NotZed@HelixCode.com>

        * e-msg-composer.c (build_message): Use camel_mime_part_set_text()
        to set the text rather than messing with data wrappers.

        * e-msg-composer-attachment-bar.c (attach_to_multipart): Change
        for new camel-stream interfaces.
        (attach_to_multipart): Also set base64 encoding by default.

svn path=/trunk/; revision=2623
2000-04-26 10:25:52 +00:00
Radek Doulik e8bff6c44e fix menu problem in composer window
* fix menu problem in composer window

2000-04-25  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (create_editor): use uih here
	(e_msg_composer_construct): create menubar/toolbar before creating
	editor control

svn path=/trunk/; revision=2604
2000-04-25 16:49:19 +00:00
Dan Winship b33db409a6 build libcomposer static and don't install it.
* Makefile.am: build libcomposer static and don't install it.

	* e-msg-composer-attachment-bar.c (attach_to_multipart): This was
	only half-implemented. Finish it, mostly.

svn path=/trunk/; revision=2561
2000-04-23 17:12:18 +00:00
Dan Winship 1af18445c9 new function to make the composer record additional headers it should
* e-msg-composer.c (e_msg_composer_add_header): new function to
	make the composer record additional headers it should output.
	(In-Reply-To), etc.
	(build_message): output them

svn path=/trunk/; revision=2552
2000-04-22 17:03:07 +00:00
Dan Winship ed4fea3fe3 Connect "Exit" menu item finally.
* e-msg-composer.c (exit_cb): Connect "Exit" menu item finally.

svn path=/trunk/; revision=2549
2000-04-21 21:28:17 +00:00
Dan Winship eb87301392 new functions
* e-msg-composer.c (e_msg_composer_set_headers):
	(e_msg_composer_set_body_text): new functions

	* e-msg-composer-hdrs.c: const poisoning
	(e_msg_composer_hdrs_set_subject):
	(e_msg_composer_hdrs_get_subject): new functions

	* e-msg-composer-address-entry.c: const poisoning

svn path=/trunk/; revision=2548
2000-04-21 18:38:04 +00:00
Dan Winship e38b6187f5 new functions to get and set the contents of the HTML editor via
* e-msg-composer.c (get_editor_text, set_editor_text): new
	functions to get and set the contents of the HTML editor via
	Bonobo::PersistStream.
	(build_message): use get_editor_text. This works again.

svn path=/trunk/; revision=2527
2000-04-20 18:55:06 +00:00
Dan Winship 96b306af32 Remove the "session" field from CamelMimeMessage. Nothing uses it, about
* camel-mime-message.[ch]: Remove the "session" field from
	CamelMimeMessage. Nothing uses it, about half of the existing
	calls to camel_mime_message_new_with_session pass NULL, and
	there's no obvious reason for it to be there.

	* others: Use camel_mime_message_new instead of
	camel_mime_message_new_with_session

svn path=/trunk/; revision=2479
2000-04-17 20:23:30 +00:00
Bertrand Guiheneuf 198d97bdb8 Get the menubar to work.
svn path=/trunk/; revision=2118
2000-03-17 10:29:01 +00:00
Matthew Loper 4bfd8d8f29 Modified to make the composer into a library, to be used by the mail
* Makefile.am: Modified to make the composer into a library, to be
	used by the mail component.

svn path=/trunk/; revision=2107
2000-03-12 23:07:12 +00:00
Ettore Perazzoli 13edeabcd2 Further work.
svn path=/trunk/; revision=2088
2000-03-08 15:55:14 +00:00
Ettore Perazzoli d932fda48b Bonobization of the message composer, part 1.
svn path=/trunk/; revision=2012
2000-03-02 11:19:39 +00:00
Ettore Perazzoli 6bddc9bd17 Don't use libglade for menus and toolbars in the message composer
anymore.  This is the first step; next step is to use BonoboUIHandler.

svn path=/trunk/; revision=2010
2000-03-02 06:32:45 +00:00
Dan Winship e72c45d304 New header with the typedefs for all camel classes. Now the class headers
* camel/camel-types.h: New header with the typedefs for all camel
	classes. Now the class headers can just include this and the
	header for the parent type. This makes it possible for
	CamelService to include a CamelSession without creating an
	#include loop.

	* camel/*:
	* composer/e-msg-composer-attachment-bar.h:
	* mail/folder-browser.c:
	* mail/message-list.c: frob #includes to match the new reality

svn path=/trunk/; revision=1850
2000-02-19 01:40:57 +00:00