Commit Graph

25 Commits

Author SHA1 Message Date
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
e033af05d7 Added widgets/e-paned/Makefile.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added widgets/e-paned/Makefile.

	* tests/ui-tests/message-browser.c: Switched from GtkPaned to
	EPaned.

	* widgets/Makefile.am: Added e-paned directory.

	* widgets/e-paned/, widgets/e-paned/.cvsignore,
	widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c,
	widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c,
	widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c,
	widgets/e-paned/e-vpaned.h: New widget based completely on
	GtkPaned from 1.4.  This will be more advanced soon.

From calendar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Added libepaned.a.

	* gui/gnome-cal.c: Switched from GtkPaned to EPaned.

From mail/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* folder-browser.c: Switched from GtkPaned to EPaned.

From shell/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* e-shell-view.c: Switched from GtkPaned to EPaned.

From widgets/shortcut-bar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* test-shortcut-bar.c: Switched from GtkPaned to EPaned.

svn path=/trunk/; revision=3191
2000-05-24 23:00:39 +00:00
2cd4886f35 update for bonobo changes
svn path=/trunk/; revision=2524
2000-04-20 17:30:52 +00:00
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
f669ff481f add a field refering to a service associated to the efolder. In the case
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-folder.h: add a field refering to a
	service associated to the efolder. In the case of
	distant folders, it is generally a server.

	* shell/e-service.c: New class. Models a service.
	A service is an object with an URI and a root folder.
	It genreally reporesents a distant folder.
	A service is generally a ressource shared amongst
	several folders.
	* shell/e-service.h:


2000-03-10  bertrand  <bertrand@helixcode.com>

	* camel-service.h: cosmetic changes.

svn path=/trunk/; revision=2100
2000-03-12 05:09:43 +00:00
079b4363f3 Commenting added. (on_url_data_requested): renamed from
* tests/ui-tests/message-browser.c: Commenting added.
	(on_url_data_requested): renamed from "on_url_requested", to
	reflect that a stream of data is what's actually being asked for.
	(hydrate_persist_stream_from_gstring): New function.
	(camel_stream_to_gstring): New function.
	(on_object_requested): Cleaned up.

svn path=/trunk/; revision=2058
2000-03-05 08:49:27 +00:00
a6d1ec4664 Message browser can now display attachment inline when Bonobo
compenent exist for the mime type. $(prefix)/share/mime-info/bonobo.keys
must be modified for this to work, though. For example, to display
application/svg attachments, the following lines must be added :

application/svg
	bonobo-goad-id=embeddable:gill

svn path=/trunk/; revision=2041
2000-03-04 17:55:36 +00:00
7fc7a2644f laptop sync
svn path=/trunk/; revision=2038
2000-03-04 05:15:28 +00:00
b6788c4e5d add bonobo to the build process.
2000-03-04  bertrand  <bertrand@helixcode.com>

	* tests/ui-tests/Makefile.am: add bonobo to the build
	process.

	* tests/ui-tests/message-browser.c (main):
	initialize Bonobo. Use bonobo_main.
	(get_gtk_html_contents_window): set signal handlers
	for url requests and objects requests.
	(on_object_requested): answer to object requests.

svn path=/trunk/; revision=2037
2000-03-04 05:15:27 +00:00
c71ec9dab0 initialize gdkrgb. Push visual/colormap. (on_url_requested): in the case
2000-03-03  bertrand  <bertrand@helixcode.com>

	* tests/ui-tests/message-browser.c (main): initialize
	gdkrgb. Push visual/colormap.
	(on_url_requested): in the case where a camel url is requested,
	write the camel stream to gtkhtml.

	* tests/ui-tests/Makefile.am (filter_LDADD): add
	gnomeprint in the lib list.

Message browser shows inline images. Woohoo !

svn path=/trunk/; revision=2022
2000-03-03 19:43:49 +00:00
bd67bc15f3 + * tests/ui-tests/message-browser.c (on_link_clicked): stop
+	sscanf() abuse.

svn path=/trunk/; revision=1898
2000-02-22 02:35:12 +00:00
d28c85dd04 A lot of changes in the way the parsing works. I am too lazy
to find all the changes.
Important notice, I added uggly hacks to camel-formatter.c
and message-browser so that I could test b64 decoding.

Saving streams works. Have to implement qp now.

svn path=/trunk/; revision=1893
2000-02-22 00:10:22 +00:00
9260205286 When a link is clicked, indicate the link with a dialog.
* tests/ui-tests/message-browser.c (on_link_clicked): When a link
	is clicked, indicate the link with a dialog.

svn path=/trunk/; revision=1864
2000-02-20 02:27:15 +00:00
5f5fce0642 minor cleanup.
* tests/ui-tests/message-browser.c: minor cleanup.

	* tests/ui-tests/.cvsignore: added message-browser.

svn path=/trunk/; revision=1858
2000-02-19 20:16:42 +00:00
e9f6e62c8b Call camel_data_wrapper_set_input_stream, rather than
2000-02-18  Matt Loper  <matt@helixcode.com>

	* tests/ui-tests/message-browser.c (filename_to_camel_msg): Call
	camel_data_wrapper_set_input_stream, rather than
	camel_data_wrapper_construct_from_stream.  For the whole message,
	allow someone to see the header ("to", "from", etc.).  Clicking on
	tree items to see their elements, now works also.

svn path=/trunk/; revision=1845
2000-02-19 00:20:47 +00:00
b39cda14b7 revamped so that it uses the output stream of the data wrapper
2000-02-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-formatter.c (handle_text_plain):
	revamped so that it uses the output stream
	of the data wrapper
	(handle_text_html): ditto.


	* camel/camel-simple-data-wrapper.h:
	* camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new):
	use (void) instead of ().
	(_get_output_stream): simple implementation.

A lot of small fixes so that the new parser scheme
works properly. Simple implementation of the stream
though.

Changed vette-formatter files so that they work with the
new scheme.

The new parser is now in a usable state. Still needs some work but the
infrastructure is here. /me is happy.

svn path=/trunk/; revision=1822
2000-02-17 15:19:04 +00:00
ddcfc699c7 + * tests/ui-tests/test-multipart-mixed.msg: New rfc822 file, which
+	crashes message-browser.
+
+	* tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a
+	CamelMimeMessage as a param, rather than a filename.
+	(main): Puts our windows in an hpane rather than a vbox. Also
+	opens a file dlg box if a filename wasn't given as a first param.

svn path=/trunk/; revision=1771
2000-02-14 04:23:14 +00:00
204e08f870 + * tests/ui-tests/message-browser.c (handle_tree_item): Expand tree
+	items.
+	(mime_message_to_html): New function; translates a
+	CamelMimeMessage into two strings (one for the header, and one for
+	the body).
+	(get_gtk_html_window): New function; fills out a window with
+	html. The html is taken from a processed rfc822 file, via a
+	CamelFormatter.
+
+	* camel/camel-formatter.c: Added assertions.
+	(handle_text_html): Don't call text_to_html on something that's
+	already html.
+	(multipart_foreach): function deleted.
+
+	* mail/html-stream.c (html_stream_new): Second param of
+       gtk_html_begin should be "", not NULL.
+	(html_stream_new): gtk_html_parse() is deprecated, so the call was
+	removed.

svn path=/trunk/; revision=1766
2000-02-14 00:27:01 +00:00
7dbc45ac3e HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.
* mail/html-stream.h: HTMLStreamClass's parent changed to
	CamelStreamClass, not CamelStream.

	* tests/ui-tests/message-browser.c: Added preliminary support for
	the viewing of messages via gtkhtml. Lots of commenting.

svn path=/trunk/; revision=1765
2000-02-13 21:49:15 +00:00
5319c1eb5b show the containers and the containees (get_message_tree_ctrl): call
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c (handle_tree_item):
	show the containers and the containees
	(get_message_tree_ctrl): call handle_tree_item
	on the message itself

svn path=/trunk/; revision=1714
2000-02-09 21:52:48 +00:00
61dc2c8700 show the item.
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c (handle_tree_item):
	show the item.

svn path=/trunk/; revision=1713
2000-02-09 21:16:29 +00:00
2088dd3401 set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (camel_mime_message_init):
	set the mime type to "mime/message".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-mime-body-part.c (camel_mime_body_part_init):
	set the mime type to "body-part".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type):
	mime_type is const.
	(_set_input_stream): really set the input stream
	(_set_output_stream): really set the output stream
	various other typo fixes.

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

svn path=/trunk/; revision=1712
2000-02-09 21:09:31 +00:00
3bd58106ef various typo fixes in the ctree construction.
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

	* camel/string-utils.c (string_trim): fix braindead
	trailing trim bug.

	* camel/gmime-content-field.c (gmime_content_field_construct_from_string):
	strip the leading and trailing quotes when constructing the
	content field. This should be done in a more generic
	RFC822 approach, but this fixes a bug that prevent
	matt from analysing some multipart messages.

	* camel/camel-data-wrapper.h: reorganize the
	deprecated and new methods.

	* camel/providers/mbox/camel-mbox-folder.c
	(_check_get_or_maybe_generate_summary_file):
	Use "From " as the message separating string.

	* camel/providers/mbox/camel-mbox-folder.c (_append_message):
	set the mode when creating the mbox file.

	* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
	ditto
	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
	ditto

svn path=/trunk/; revision=1711
2000-02-09 20:35:35 +00:00
4c87a79aa4 Minor cleanup.
* tests/ui-tests/message-browser.c (print_usage_and_quit): Minor
	cleanup.

svn path=/trunk/; revision=1710
2000-02-09 18:38:42 +00:00
a56ab52138 New file; shows a message in tree format, where multipart's have multiple
* tests/ui-tests/message-browser.c: New file; shows a message in
	tree format, where multipart's have multiple leaves.

	* camel/camel-formatter.c: Changed references from
	'multipart/alternate' to 'multipart/alternative'.

svn path=/trunk/; revision=1700
2000-02-09 08:36:29 +00:00