Commit Graph

131 Commits

Author SHA1 Message Date
Chris Toshok 268f3e4fcb add test12
* tests/.cvsignore: add test12

	* tests/test12.c (main): add test for nntp stuff.

	* tests/Makefile.am (noinst_PROGRAMS): same.

svn path=/trunk/; revision=2446
2000-04-15 00:57:18 +00:00
Ettore Perazzoli abfe422139 Fix compilation with builddir != srcdir (again).
svn path=/trunk/; revision=2441
2000-04-14 22:42:54 +00:00
Dan Winship 72ae61158d remove test-formatter
svn path=/trunk/; revision=2440
2000-04-14 21:45:28 +00:00
Matthew Loper 49edbfb480 + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: New
+
+	* tests/.cvsignore: Added test-movemail.
+
+	* art/.cvsignore: New file.
+
+	* pcs/.cvsignore: Added *.lo.
+
+	* .cvsignore: Added evolution.pot.
+

sparkly clean

svn path=/trunk/; revision=2276
2000-04-01 06:38:30 +00:00
Dan Winship ed8e120bf0 make it put mail in ~ instead of always /home/danw. (oops :)
also add an option to delete the mail off the server

svn path=/trunk/; revision=2214
2000-03-28 17:38:32 +00:00
Dan Winship 9d0c0def4a new test program. Can be used to copy POP mail into your evolution inbox.
* tests/test-movemail.c: new test program. Can be used to copy POP
	mail into your evolution inbox.

svn path=/trunk/; revision=2208
2000-03-28 04:25:31 +00:00
NotZed 767c63615d This test is basically now invalid.
2000-03-27  NotZed  <NotZed@HelixCode.com>

        * tests/test9.c (main): This test is basically now invalid.

        * tests/test11.c (main): Fix for async search api.  Probably works.
        Removed camel-mbox-*.h headers, should be private.

svn path=/trunk/; revision=2200
2000-03-27 22:48:24 +00:00
Seth Alves cd85a5d05b make this build (but not work)
svn path=/trunk/; revision=2186
2000-03-27 09:15:21 +00:00
Dan Winship eb75c1615c update for summary format changes
svn path=/trunk/; revision=2163
2000-03-26 02:09:21 +00:00
Matthew Loper cd47194eb7 + * tests/ui-tests/.cvsignore: added filter.
+
+	* addressbook/demo/.cvsignore: added test-addressbook.

svn path=/trunk/; revision=2123
2000-03-21 01:39:33 +00:00
bertrand 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
Matthew Loper 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
Michael Zucci 3086279b19 More gramatically correct descriptions + more action rules.
svn path=/trunk/; revision=2055
2000-03-05 04:25:20 +00:00
Bertrand Guiheneuf 017e27c1cd Add 3 test examples
svn path=/trunk/; revision=2042
2000-03-04 18:00:16 +00:00
Bertrand Guiheneuf 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
Bertrand Guiheneuf 7fc7a2644f laptop sync
svn path=/trunk/; revision=2038
2000-03-04 05:15:28 +00:00
bertrand 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
Michael Zucci 24adae8e2a Try move messages with gnome in the subject ot the Gnome folder.
svn path=/trunk/; revision=2027
2000-03-03 20:40:13 +00:00
bertrand 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
Bertrand Guiheneuf 1fdf94dc20 add gnomeprint to be able to link with gtkhtml
svn path=/trunk/; revision=2020
2000-03-03 15:58:46 +00:00
bertrand 2392d67981 don't forget to set the state to 0 after 3. (my_read_encode): don't forget
2000-03-02  bertrand  <bertrand@helixcode.com>

	* camel-stream-b64.c (my_read_encode): don't forget to
	set the state to 0 after 3.
	(my_read_encode): don't forget to encode, even in state 3.

	* camel-simple-data-wrapper.c: static functions are prefixed
	with my_ instead of _
	* camel-multipart.c: static functions are prefixed
	with my_ instead of _
	(my_write_to_stream): commented.
	(my_write_to_stream): warning in case the boudary is set
	but is a zero length string.

	* camel-mime-part.c (camel_mime_part_encoding_from_string):
	remove debug trace.

	* camel-mime-part.c: Replaced all static functions
	with name begining with _ by the same name begining
	with "my_" to prevent the possible conflicts
	with system symbols Dan warned us about.

Mime mail generation works now, at least with b64 encoding.
QP needs to be done now.

svn path=/trunk/; revision=2016
2000-03-03 02:54:25 +00:00
NotZed 2f6721bf5b Added test program.
2000-02-29  NotZed  <NotZed@HelixCode.com>

	* tests/ui-tests/Makefile.am (filter_LDADD): Added test program.

	* tests/ui-tests/filterdescription.xml, saveoptions.xml: Data
	files for test program.

	* tests/ui-tests/filter.c (main): Test program for filter ui.

svn path=/trunk/; revision=1992
2000-02-29 20:16:02 +00:00
Matthew Loper 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
Matthew Loper 52cbc69376 + * tests/Makefile.am: changed references to libibex.a to
+	libibex.la.

svn path=/trunk/; revision=1896
2000-02-22 01:28:46 +00:00
Matthew Loper fb36c0aef9 + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.
+	* libical/src/libicalss/.cvsignore: same.
+
+	* tests/.cvsignore: Added test11.
+
+	* filter/.cvsignore: New file.
+
+	* libibex/.cvsignore: Added mkindex.

svn path=/trunk/; revision=1895
2000-02-22 00:49:31 +00:00
Bertrand Guiheneuf 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
Dan Winship 8ea1212d99 Add "authenticator" to CamelSession and update things to use it.
svn path=/trunk/; revision=1890
2000-02-21 19:56:49 +00:00
Dan Winship 0eff8e4321 update for CamelSession changes
svn path=/trunk/; revision=1889
2000-02-21 18:39:21 +00:00
Matthew Loper 627cd68347 Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placed
* tests/Makefile.am: Changed dependencies on libibex.la to
	libibex.a. In test9_LDADD, placed libcamelmbox.la before
	libibex.la, as the former requires the latter.

svn path=/trunk/; revision=1871
2000-02-20 22:45:12 +00:00
Matthew Loper 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
Matthew Loper 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
NotZed 74a58886f6 Use a relative path to the mbox provider module.
2000-02-18  NotZed  <NotZed@HelixCode.com>

        * tests/test11.c (main): Use a relative path to the mbox provider
        module.

svn path=/trunk/; revision=1857
2000-02-19 04:14:46 +00:00
Matt Loper 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
Bertrand Guiheneuf 3e317e1b17 Modification in the automake/libtool building process so that
camel and tests at least compile.
Current libtool doen't seem to support lib dependancy unless
the lib is installed.
Removed the dependancy on libex in mbox and added it to the
other Makefile.am that link with libcamel.

svn path=/trunk/; revision=1838
2000-02-17 23:31:16 +00:00
bertrand 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
Dan Winship f369e9ef06 include camel.h for camel_init
svn path=/trunk/; revision=1818
2000-02-17 04:23:13 +00:00
bertrand f926f10e86 this routine replaces the _read_part routine and does not store the part
2000-02-15  bertrand  <bertrand@helixcode.com>

	* camel/camel-multipart.c (_localize_part):
	this routine replaces the _read_part routine
	and does not store the part in a buffer.
	(_set_input_stream): use the set_input_stream
	instead of the construct_from_stream.
	each bodypart is given an input stream.

	* camel/camel-mime-part-utils.c:
	include the data-wrapper-repository header.
	(camel_mime_part_construct_content_from_stream):
	use the set_input_stream instead of the
	construct_from_stream method.

	* camel/camel-seekable-substream.c (_set_bounds):
	cur position is set to 0 not to inf_bound.

Sync

svn path=/trunk/; revision=1790
2000-02-16 10:44:35 +00:00
Miguel de Icaza d53eea370b Add the unicode libraries as well.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
	the unicode libraries as well.

	* camel/camel-provider.c (camel_provider_register_as_module): Add
	error reporting here.  Desire to use Solaris increases.  Hair loss
	in the last two hours: 5,400.

	* camel/providers/mbox/camel-mbox-provider.c
	(camel_mbox_get_provider): Renamed function.

	* camel/camel.h: All include files use camel/ now here.

	* camel/providers/mbox/Makefile.am: Drop all the dynamism from
	Camel, and make this a standard library.

	* configure.in: set the UNICODE_LIBS variable here.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* folder-browser.c (folder_browser_load_folder): New routine,
	loads a camel folder.
	(folder_browser_set_uri): redo.

	* session.c: new file.  Implements SessionStores to keep track of
	a Session/Store tuple.

svn path=/trunk/; revision=1783
2000-02-15 17:28:34 +00:00
bertrand a020ef5168 include gmime-base64.h various compilation and runtime fixes.
2000-02-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c: include gmime-base64.h
	various compilation and runtime fixes.
	(_set_input_stream): store the input substream
	for the content object.

	* camel/camel-data-wrapper.h: declare the
	set/get function on input/output stream.

	* camel/camel-mime-part.c (_get_content_object):
	don't use a temporary mem stream.

	* camel/camel-seekable-substream.c (_seek):
	(_eos):
	(_read): the substream can be unlimited in length

	* camel/camel-data-wrapper.c (camel_data_wrapper_class_init):
	set the get/set_input/output_stream methods.

	* camel/camel-multipart.c (_construct_from_stream):
	camel_stream_seek -> camel_seekable_stream_seek

work on the new parser scheme.
temporary sync to laptop.

svn path=/trunk/; revision=1781
2000-02-15 14:17:01 +00:00
NotZed 64c513f9fe Add libunicode to CFLAGS/LIBS.
2000-02-14  NotZed  <notzed@zedzone.helixcode.com>

        * configure.in (EXTRA_GNOME_CFLAGS): Add libunicode to CFLAGS/LIBS.

2000-02-13  NotZed  <notzed@zedzone.helixcode.com>

        * configure.in: Added check for libunicode.

        * Makefile.am (SUBDIRS): Added libibex.

        * tests/test11.c (main): New test, tests search api.

svn path=/trunk/; revision=1774
2000-02-14 05:44:48 +00:00
Matthew Loper 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
Matthew Loper 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
Matthew Loper 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
Bertrand Guiheneuf 595ac86206 misc autoconf/automake fixes.
svn path=/trunk/; revision=1729
2000-02-11 04:19:03 +00:00
Bertrand Guiheneuf 154a208127 remove test program build.
svn path=/trunk/; revision=1728
2000-02-11 03:21:51 +00:00
bertrand 784c1184a8 don't build thread related tests if evolution has been compiled with no
2000-02-10  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/Makefile.am (THREAD_RELATED_TESTS): don't
	build thread related tests if evolution has been
	compiled with no thread support.

	* configure.in (have_pthread): allow user to enable/disable
	thread support at configure time
	(EXTRA_GNOME_CFLAGS):
	(EXTRA_GNOME_LIBS): thread support is directly
	included in this variable if enabled. No more
	EXTRA_GNOME_CFLAGS_THREADS
	Other special support should be added in
	EXTRA_GNOME_LIBS and EXTRA_GNOME_CFLAGS
	instead of redefining a new variable
	each time we want to add a new lib.
	(bonobo, ....)

	* camel/camel.c (camel_init): only try to initialize threads if
	we enabled threads support.

	* tests/ui-tests/Makefile.am (message_browser_LDADD): use
	EXTRA_GNOME_LIBS

	* configure.in (have_pthread): remove HAVE_PTHREADS
	variable. Define ENABLE_THREADS instead.

	* camel/Makefile.am: use ENABLE_THREADS not HAVE_PTHREADS
	to test if we build thread relateed code.

	* tests/Makefile.am: use EXTRA_GNOME_LIBS,
	not EXTRA_GNOME_LIBS_THREADS


I need to be able to disable thread support to use Insure.

svn path=/trunk/; revision=1725
2000-02-11 00:43:23 +00:00
Matthew Loper 504b7541a2 New test file; run message-browser on it, and it will crash.
* tests/ui-tests/test-multipart-alt.msg: New test file; run
	message-browser on it, and it will crash.

svn path=/trunk/; revision=1719
2000-02-10 01:39:26 +00:00
bertrand 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
bertrand 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
bertrand 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