Commit Graph

1240 Commits

Author SHA1 Message Date
fcd0df7c8b fix a stupid typo (thank you gcc -Wall)
svn path=/trunk/; revision=1849
2000-02-19 00:50:33 +00:00
586de6bb25 #include <ctype.h> so the hash function doesn't get stuck using the
function version of toupper!

svn path=/trunk/; revision=1848
2000-02-19 00:40:31 +00:00
3db1d0b6b1 Use BONOBO_VFS_GNOME_CFLAGS instead of GNOMEUI_INCLUDES, as we use Bonobo
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Makefile.am (INCLUDES): Use BONOBO_VFS_GNOME_CFLAGS instead of
	GNOMEUI_INCLUDES, as we use Bonobo and VFS.

svn path=/trunk/; revision=1847
2000-02-19 00:40:15 +00:00
1b5c5de151 Further Makefile.am fixage -miguel
svn path=/trunk/; revision=1846
2000-02-19 00:35:14 +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
d82170a3f7 Make gnomeui the last library on the command line, as its path is the one
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* configure.in: Make gnomeui the last library on the command line,
	as its path is the one most likely to hold other old libraries
	(libxml) and we need newer versions.

svn path=/trunk/; revision=1844
2000-02-18 23:39:20 +00:00
e958e1ef3a Add libibex to the compilation; AC_SUBST printing libraries
svn path=/trunk/; revision=1843
2000-02-18 23:33:02 +00:00
aa6de37d85 Include <string.h>
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* e-table-header.c: Include <string.h>

svn path=/trunk/; revision=1842
2000-02-18 22:54:49 +00:00
c94e9ff659 Add EXTRA_GNOME_CFLAGS to INCLUDES>
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Makefile.am (INCLUDES): Add EXTRA_GNOME_CFLAGS to INCLUDES>

svn path=/trunk/; revision=1841
2000-02-18 22:48:38 +00:00
5e836ee59c make the / between the host and the path part of the path: it's wrong
according to rfc1738, but convenient

svn path=/trunk/; revision=1840
2000-02-18 22:11:02 +00:00
85daf8e5a6 Use the new method for gnome-print checking instead of the old crufty gtk+
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* configure.in (have_pthread): Use the new method for gnome-print
	checking instead of the old crufty gtk+ based one that nobody can

svn path=/trunk/; revision=1839
2000-02-18 17:53:53 +00:00
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
037af79b9e libraries come from $(top_builddir)/..., not $(top_srcdir)/...
svn path=/trunk/; revision=1837
2000-02-17 22:23:38 +00:00
9fca220612 missing ChangeLog entry for previous commit to camel-service.[ch]
svn path=/trunk/; revision=1836
2000-02-17 22:20:24 +00:00
39400a38c7 use camel_stream_reset instead of seek. The formatter should be able to
2000-02-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-formatter.c (handle_text_plain):
	(handle_text_html): use camel_stream_reset instead
	of seek. The formatter should be able to work
	with all streams, not only seekable streams.
	In the case where some provider implementation
	would not be able to provide a reset method
	to their stream, implementors would have
	to find a workaround.

	* camel/camel-session.c (camel_session_new): use
	(void) instean of () in function decl.

	* camel/camel-folder.c: ifdef async operation
	related code.

	* camel/camel-seekable-stream.c (_seek): added a warning.
	(_reset): default implementation of reset for seekable
	stream.

	* camel/camel-mime-message.h: set_received_date declaration fix.
	cosmetic changes.

	* camel/providers/mbox/camel-mbox-provider.c (camel_provider_module_init):
	use (void) instead of ().

	* camel/camel-stream.c (camel_stream_reset):
	new method for CamelStream.

svn path=/trunk/; revision=1835
2000-02-17 22:16:33 +00:00
0996e4f1ac Make camel-service use a Gurl internally. Remove the login/password
interfaces and instead provide camel_service_connect_with_url.

Also, added CamelExceptions and return values, so the functions can
indicate failure to the caller if they can't connect.

svn path=/trunk/; revision=1834
2000-02-17 22:16:00 +00:00
53fec3133a New function g_url_to_string to convert a Gurl back into a char *
svn path=/trunk/; revision=1833
2000-02-17 22:13:16 +00:00
ca0431d8da build libical
svn path=/trunk/; revision=1832
2000-02-17 22:00:39 +00:00
4cd07c4e96 moved CalendarFormat type def here
* cal-backend.h: moved CalendarFormat type def here

	* cal-backend.c (cal_backend_load): if extension suggests
	an ical file, attempt to load an iCal file.
	(cal_get_type_from_filename): returns CAL_ICAL if file
	extension is 'ics' or 'ifb', else returns CAL_VCAL
	(icalendar_calendar_load): moved this here from
	icalendar.c because it needs to call the static function
	add_object.

svn path=/trunk/; revision=1831
2000-02-17 21:30:09 +00:00
c975d4ef24 didn't want these checked in
svn path=/trunk/; revision=1830
2000-02-17 18:27:41 +00:00
25f2854f67 This commit was generated by cvs2svn to compensate for changes in r1827,
which included commits to RCS files with non-trunk default branches.

svn path=/trunk/; revision=1828
2000-02-17 18:03:28 +00:00
788bcf6373 Initial revision
svn path=/trunk/; revision=1823
2000-02-17 18:02:37 +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
cf16aa4fb1 Implemented.
2000-02-17  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client.c (cal_client_remove_object): Implemented.

	* cal.c (cal_notify_remove): Implemented.
	(Cal_remove_object): Implemented.
	(cal_get_epv): Fill in the remove_object field in the epv.

	* cal-backend.c (cal_backend_remove_object): Implemented.
	(notify_remove): New function to notify clients that an object was
	removed.

svn path=/trunk/; revision=1821
2000-02-17 09:21:20 +00:00
514b2de963 make <alloca.h> inclusion conditional on HAVE_ALLOCA_H
svn path=/trunk/; revision=1820
2000-02-17 04:24:56 +00:00
a646fdac36 update for bonobo changes
svn path=/trunk/; revision=1819
2000-02-17 04:23:51 +00:00
f369e9ef06 include camel.h for camel_init
svn path=/trunk/; revision=1818
2000-02-17 04:23:13 +00:00
ec023d0744 fix library ordering on link line
svn path=/trunk/; revision=1817
2000-02-17 04:22:33 +00:00
89fefc5c8c fix license and indent style
svn path=/trunk/; revision=1814
2000-02-17 02:10:05 +00:00
704369d070 automakify libibex
svn path=/trunk/; revision=1813
2000-02-17 01:45:58 +00:00
cd9df589ea Finds if a word is indexed under a given name.
2000-02-16  NotZed  <NotZed@HelixCode.com>

	* find.[ch] (ibex_find_name): Finds if a word is indexed under a
	given name.

svn path=/trunk/; revision=1812
2000-02-17 01:25:49 +00:00
5a80143a52 s/GNOME2_DIR/GNOME2_PATH/, for consistency
svn path=/trunk/; revision=1801
2000-02-16 23:51:01 +00:00
f8f771b3f3 Add session.c
svn path=/trunk/; revision=1800
2000-02-16 19:57:02 +00:00
8400162c31 Add session.h
svn path=/trunk/; revision=1799
2000-02-16 19:34:17 +00:00
7f04720b1e don't seek the begining of the substream. (_eos): fix eos condition
2000-02-16  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-seekable-substream.c (_set_bounds): don't
	seek the begining of the substream.
	(_eos): fix eos condition testing.
	(_finalize): unref parent stream
	(_init_with_seekable_stream_and_bounds): ref parent stream

	* camel/gstring-util.c (g_string_equal_for_hash):
	(g_string_equal_for_glist): return type is int.

	* camel/camel.h:
	* camel/camel.c (camel_init): use (void)
	instead of ().

A lot of other small changes to make the set_input_stream
scheme work. It actually works.

svn path=/trunk/; revision=1798
2000-02-16 18:04:40 +00:00
d2239da3e7 Simplify the code a lot and add support for RFC2384 POP URLs.
svn path=/trunk/; revision=1797
2000-02-16 17:05:57 +00:00
8176cca8d0 Make md5_final take the MD5Context first, like md5_init and md5_update.
svn path=/trunk/; revision=1796
2000-02-16 16:03:14 +00:00
cd9e88989f fix minor typos
svn path=/trunk/; revision=1795
2000-02-16 15:44:55 +00:00
4cd1c91c5a Improve spelling and English a bit
svn path=/trunk/; revision=1794
2000-02-16 15:42:48 +00:00
d1d1579d84 added skel and stub files
svn path=/trunk/; revision=1793
2000-02-16 15:16:54 +00:00
42f41bd963 forgot this one
svn path=/trunk/; revision=1792
2000-02-16 15:16:00 +00:00
08f2b4e43f Change iCalObject.organizer from char* to iCalPerson*
2000-02-16  Russell Steinthal  <rms39@columbia.edu>

	* calobj.[ch], eventedit.c, main.c: Change iCalObject.organizer
	from char* to iCalPerson*

	* calobj.[ch]: Change iCalObject.related from list of char* to
	list of iCalRelation*; assorted related fixes

	* icalendar.c: interface between libical and the gnomecal
	internal representation

svn path=/trunk/; revision=1791
2000-02-16 14:27:38 +00:00
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
0dfd58ef20 Initial revision
svn path=/trunk/; revision=1786
2000-02-16 09:16:10 +00:00
9877d1b489 Add new files
svn path=/trunk/; revision=1784
2000-02-15 19:33:36 +00:00
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
f9cdc1e009 thou shall not shout
svn path=/trunk/; revision=1782
2000-02-15 14:20:25 +00:00
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
8d959d83b2 use the eos stream method. (gmime_read_line_from_stream): ditto.
2000-02-14  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-utils.c (get_header_array_from_stream): use the
	eos stream method.
	(gmime_read_line_from_stream): ditto.

	* camel/camel-stream-fs.h (struct ): add the eof field
	cosmetics changes.

	* camel/camel-stream-fs.c (camel_stream_fs_init): set eof.
	(_read): set eof on end of file.
	(_eos): implemented.

	* camel/gmime-utils.c (get_header_array_from_stream):
	make a blocking version of the header parser.
	When the fs stream uses gnome-vfs, this should
	be changed.
	(gmime_read_line_from_stream): ditto.

svn path=/trunk/; revision=1780
2000-02-14 22:45:13 +00:00
6cffd8501c use the eos stream method. (gmime_read_line_from_stream): ditto.
2000-02-14  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-utils.c (get_header_array_from_stream): use the
	eos stream method.
	(gmime_read_line_from_stream): ditto.

	* camel/camel-stream-fs.h (struct ): add the eof field
	cosmetics changes.

	* camel/camel-stream-fs.c (camel_stream_fs_init): set eof.
	(_read): set eof on end of file.
	(_eos): implemented.

	* camel/gmime-utils.c (get_header_array_from_stream):
	make a blocking version of the header parser.
	When the fs stream uses gnome-vfs, this should
	be changed.
	(gmime_read_line_from_stream): ditto.

svn path=/trunk/; revision=1779
2000-02-14 22:27:54 +00:00