Commit Graph

561 Commits

Author SHA1 Message Date
2c54349209 do not return NULL when line is empty.
* camel/gmime-utils.c (gmime_read_line_from_stream):
	do not return NULL when line is empty.

	* camel/camel-multipart.c (_read_part): return true when end
	of multipart is found, not the contrary

svn path=/trunk/; revision=1055
1999-08-01 19:50:02 +00:00
e9e83c9714 Spanish work.
1999-07-31  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-utils.c (gmime_read_line_from_stream):
	Don't return crlf at end of line.

1999-07-30  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-utils.c (gmime_read_line_from_stream):
	new function: reads a line from a stream.
	should be in streams utils maybe.

1999-07-29  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (_construct_from_stream):
	Uses data wrapper repository to find what data wrapper
	to use to construct the content from a stream. When
	no object is registered for the mime type found in
	content type field a CamelSimpleDataWrapper is
	used.

	* camel/camel-mime-part.c (_get_content_type):
	(camel_mime_part_get_content_type): returns
	a pointer on the content_type field instead
	of the gchar * mime "type/subtype".

1999-07-28  bertrand  <Bertrand.Guiheneuf@aful.org>


	* camel/data-wrapper-repository.c
	* camel/data-wrapper-repository.h
	New files. Handles mime type <-> camel object
	(for example "multipart" <-> CamelMultipart
	* tests/tesst3.c: test data repository thing.

1999-07-26  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-multipart.c (_write_to_stream):
	implemented output of multipart.

	* tests/test1.c (main): testing content objects operations.

1999-07-25  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (camel_mime_part_set_text):
	new util function to set a mime part content to be
	a text string.

	* camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_set_buffer_from_text):
	new util func.
	(camel_simple_data_wrapper_new): new func.

	* camel/camel-multipart.c (_write_to_stream):
	implemented output of multiparts.

1999-07-24  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-content-field.c (gmime_content_field_get_parameter):
	New function. Returns the value associated to a
	mime parameter.


1999-07-22  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-multipart.h:
	* camel/camel-multipart.c:
	New class. Models multipart mime objects.

	* camel/camel-mime-body-part.h:
	* camel/camel-mime-body-part.c:
	New class. Body part is a mime part contained in
	a multipart object.


1999-07-21  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-log.h:
	implemented hard log level stuff.
	* came/*.c use "CAMEL_LOG_*" instead of "CAMEL_LOG (*"
	in order to allow hard level switch.

	* tests/test1.c:
	* tests/test2.c:
	updated to use gchar instead of GString. Tests passed.


1999-07-19  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-stream.c:
	* camel/camel-stream.h:
	"const"-antified


	* camel/camel-simple-data-wrapper.c: (_construct_from_stream)
	do not use any limit when constructing the object from a stream

	* camel/camel-stream-fs.c:
	* camel/camel-stream-fs.h:
	* camel/camel-mime-message.c:
	* camel/camel-mime-message.h:
	* camel/camel-session.c:
	* camel/camel-session.h:
	* camel/camel-service.c:
	* camel/camel-service.h:
	* camel/camel-store.c:
	* camel/camel-store.h:
	* camel/camel-folder.c:
	* camel/camel-folder.h:
	* camel/gmime-utils.c:
	* camel/gmime-utils.h:
	GString -> gchar
	constantified what had to be.

	* camel/string-utils.c:
	* camel/string-utils.h:
	New files. Meant to replace gstring-util for gchar *

1999-07-16  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-content-field.c (gmime_content_field_construct_from_string):
	GString -> gchar
	use const to indicate copied parameter.

1999-07-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-simple-data-wrapper.c:
	* camel/camel-simple-data-wrapper.h:
	Gstring -> gchar

1999-07-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/url-util.c:
	* camel/url-util.h:
	Do not use GStrings any more.
	Added assertion code.
	Cosmetic reformating

	* AUTHORS:
	* ChangeLog:
	Changed my email address.

svn path=/trunk/; revision=1054
1999-08-01 13:51:19 +00:00
cac0ba57e6 merge a lot of work. Rough ChangeLog will follow
svn path=/trunk/; revision=1052
1999-08-01 13:38:28 +00:00
4a765990e5 sync before going home
svn path=/trunk/; revision=1026
1999-07-15 15:54:52 +00:00
16d79f5577 Do not use GStrings any more. Added assertion code. Cosmetic reformating
1999-07-15  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/url-util.c:
	* camel/url-util.h:
	Do not use GStrings any more.
	Added assertion code.
	Cosmetic reformating

	* AUTHORS:
	* ChangeLog:
	Changed my email address.

svn path=/trunk/; revision=1025
1999-07-15 11:13:32 +00:00
fce26238c4 Implemented base64 encoder based on CamelStreams. Should the
1999-07-13  Miguel de Icaza  <miguel@gnu.org>

	* camel/gmime-base64.c (gmime_encode_base64): Implemented base64
	encoder based on CamelStreams.  Should the encoder/decoder be a
	Stream itself?

	* camel/gmime-utils.c: include config.h here.
	* camel/url-util.c: ditto.
	* camel/gstring-util.c: ditto.
	* camel/gmime-content-field.c: ditto.
	* camel/camel-stream.c: ditto.
	* camel/camel-stream-fs.c: ditto.
	* camel/camel-store.c: ditto.
	* camel/camel-simple-data-wrapper.c: ditto.
	* camel/camel-session.c: ditto.
	* camel/camel-service.c: ditto.
	* camel/camel-mime-part.c: ditto.
	* camel/camel-mime-message.c: ditto.
	* camel/camel-log.c: ditto.
	* camel/camel-data-wrapper.c: ditto
	* camel/camel-folder.c: ditto.

	* camel/camel-stream.c (camel_stream_write): Moved api
	documentation to the places that they document.
	(camel_stream_class_init): Virtual classes do not need to have a
	default implementation.  So null them all.
	(camel_stream_write): Return value from write.
	(camel_stream_available): implement.
	(camel_stream_write_strings): documented.

	* devel-docs/query/virtual-folder-in-depth.sgml: Small
	reformatting

1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* tests/test2.c (main): now use
	CamelDataWrapper::contruct_form_stream to test

svn path=/trunk/; revision=1024
1999-07-15 00:11:56 +00:00
1659afa3d3 now use CamelDataWrapper::contruct_form_stream to test message parsing
1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* tests/test2.c (main): now use
	CamelDataWrapper::contruct_form_stream to test
	message parsing

	* camel/camel-data-wrapper.c:
	* camel/camel-data-wrapper.h:
	construct_from_stream no longer has maximimum size arg.

	* camel/camel-mime-part.c (_construct_from_stream): new.
	Construct the mime_part from a stream.

svn path=/trunk/; revision=1003
1999-06-28 16:05:09 +00:00
817f237398 new field (content_type) and associated methods. (camel_mime_part_init):
1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c:
	new field (content_type) and associated methods.
	(camel_mime_part_init): initialize content_type field.
	(_parse_header_pair): now set content_type MimePart field
	instead of using DataWrapper Mime typing facility.

1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.h:
	s/content_type/mime_type/

1

svn path=/trunk/; revision=1002
1999-06-28 14:36:11 +00:00
0038b76777 new class. Simple implementation of a data wrapper: simply keeps the
1999-06-24  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-simple-data-wrapper.[ch]:
	new class. Simple implementation of a data wrapper:
	simply keeps the stream result in a byte array.

	* camel/camel-mime-part.c (_parse_header_pair): added a warning.
	Have to think about the correct way to store content type stuff.

svn path=/trunk/; revision=995
1999-06-24 17:56:14 +00:00
179e04c582 Various patches from Ulrich Drepper <drepper at cygnus.com>
1999-06-24  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-message.c (_write_one_recipient_to_stream):
	includes gmime-utils header.
	patch from Ulrich Drepper <drepper at cygnus.com>
	set separator string in write_header_with_glist_to_stream()

	* camel/camel-log.c (camel_log):
	patch from Ulrich Drepper <drepper at cygnus.com>
	Do not use stderr in initialization of logfile descriptor.

	* camel/camel-stream-fs.c (camel_stream_fs_new_with_name):
	patch from Ulrich Drepper <drepper at cygnus.com>
	initialize mode field in open().

svn path=/trunk/; revision=994
1999-06-24 16:44:28 +00:00
7f81757d52 moved all the content-type stuff here. (camel_data_wrapper_init):
1999-06-22  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.c (_get_content_type):
	moved all the content-type stuff here.
	(camel_data_wrapper_init): initialize the instance
	content-type field.

	* camel/camel-mime-part.c (_parse_header_pair):
	parse Content-Type stuff in header.
	(_write_to_stream): write the content type stuff to
	the stream.

svn path=/trunk/; revision=985
1999-06-22 16:12:27 +00:00
5deed2f193 new function, returns "type/subtype" mime type string.
* camel/gmime-content-field.c (gmime_content_field_get_mime_type):
	new function, returns "type/subtype" mime type string.
	(gmime_content_field_construct_from_string):
	new function, construbt a content_field object
	form a string. be used to set the mime_type from a
	string.

	* camel/camel-mime-part.c (_set_content_type):
	(camel_mime_part_set_content_type):
	(_get_content_type):
	(_get_content_type):
	new methods.

1999-06-21  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/gmime-utils.c (get_header_table_from_stream):
	replace CR/LF+'\t' with ' '

	* camel/camel-mime-message.c (_set_recipient_list_from_string):
	trim \t when splitting

	* camel/gmime-utils.c (get_header_table_from_file):
	corrected bug in scanning tabulations ('t' -> '\t')

	* tests/test2.c (main): read mail.test instead
	of mail1.test

	* camel/camel-mime-part.c (_add_header):
	added comments

svn path=/trunk/; revision=984
1999-06-22 14:19:24 +00:00
4f689d0fb8 sync
svn path=/trunk/; revision=983
1999-06-21 16:46:58 +00:00
a8d04a6651 sgmlized Giao's doc about virtual folders.
1999-06-03  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* devel-docs/query/virtual-folder-in-depth.sgml:
	sgmlized Giao's doc about virtual folders.

svn path=/trunk/; revision=968
1999-06-03 15:21:22 +00:00
1c1106598f use new stream code instead of raw file * stuff.
1999-05-31  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* tests/test2.c (main):
	use new stream code instead of raw file * stuff.

	* camel/gmime-utils.c (get_header_table_from_stream):
	new func. Will replace get_header_table_from_file and will
	be used to parse headers from files as well as from
	memory buffers.

	* camel/camel-stream-fs.c:
	CamelStream Subclass. File system based
	stream.

svn path=/trunk/; revision=961
1999-05-30 21:56:11 +00:00
b3cdb41a12 new class. Represents an abstract stream object.
1999-05-30  bertrand  <Bertrand.Guiheneuf@inria.fr>

 	* camel/camel-stream.h: new class. Represents an
	abstract stream object.

svn path=/trunk/; revision=960
1999-05-30 20:02:42 +00:00
1d01c8dad1 remove leading and trailing spaces in recipient addresses.
* camel/camel-mime-message.c (_set_recipient_list_from_string):
	remove leading and trailing spaces in recipient addresses.

	* camel/gmime-utils.c (_store_header_pair_from_gstring):
	remove leading and trailing spaces from header values.

	* camel/gstring-util.c (g_string_trim): new
	func: remove leading or trailng chars from
	a specified char set.
	(g_string_split): allow trimming of substrings.

	* tests/test1.c (main): remove gtk_main call

svn path=/trunk/; revision=958
1999-05-30 11:40:05 +00:00
a5cd99a263 More header parsing code.
1999-05-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c
	(_parse_header_pair):
	(_init_header_name_table):
	More header parsing code.

svn path=/trunk/; revision=953
1999-05-28 17:57:28 +00:00
69912fc470 rewrite message obtained via parsing into a file. Actually, it works
* tests/test2.c (main): rewrite message obtained via
	parsing into a file. Actually, it works pretty well :))

	* camel/camel-mime-message.c (_set_recipient_list_from_string):
	create recipient list form a comma separated string.
	(_parse_header_pair): added recipient lists parsing.

	* camel/camel-mime-part.c (_parse_header_pair):
	new (protected) method. Parse a head pair and
	decides what to do with it.

	(_add_header): Call in _parse_header_pair

	* camel/camel-mime-message.c (_parse_header_pair):
	overload  header parsing MimePart mthod.

	* camel/gstring-util.c (g_string_split):
	new func: split a gstring into a GList of
	substring.

svn path=/trunk/; revision=950
1999-05-27 21:37:01 +00:00
72c4a8deda new func. Parses message header zone and returns a Glist of all header
1999-05-26  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/gmime-utils.c (get_header_lines_from_file):
	new func. Parses message header zone and returns
	a Glist of all header lines.

	* tests/test2.c: tests message parsing

	* camel/gmime-utils.c (write_header_table_to_file):
	new func to write a table of headers.

svn path=/trunk/; revision=948
1999-05-26 21:51:53 +00:00
bdf895136e recipient list printing
* camel/camel-mime-message.c (_write_to_file):
	recipient list printing

	* tests/test1.c (main): more tests.

svn path=/trunk/; revision=936
1999-05-20 21:24:54 +00:00
429847f57b test if content exists before calling its write_to method.
1999-05-19  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (_write_to_file): test if content
	exists before calling its write_to method.

	* camel/camel-mime-message.c (_write_to_file): bugs fix.

First test of mime_message framework.

svn path=/trunk/; revision=934
1999-05-19 20:24:23 +00:00
f53eb88c56 sync
svn path=/trunk/; revision=933
1999-05-19 19:07:52 +00:00
6476c5f233 tests
* tests/test1.c (main): tests

	* camel/camel-mime-message.c (_write_to_file):
	started write_to framework for mime_messages

svn path=/trunk/; revision=931
1999-05-18 19:06:00 +00:00
bf0960ab57 message number funcs.
1999-05-18  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-message.c (*_message_number):
	message number funcs.

svn path=/trunk/; revision=930
1999-05-18 07:59:57 +00:00
6c99eb2e0c flags handling methods
1999-05-15  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-message.c (*_flag):
	flags handling methods

1999-05-14  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-message.c (camel_mime_message_class_init):
	added recipient handling class funcs.

svn path=/trunk/; revision=926
1999-05-15 10:32:30 +00:00
4b376c242c added recipient handling class funcs.
* camel/camel-mime-message.c (camel_mime_message_class_init):
	added recipient handling class funcs.

svn path=/trunk/; revision=925
1999-05-14 08:47:11 +00:00
1126db678e create recipients hash table (_remove_recipient): (_add_recipient):
* camel/camel-mime-message.c (camel_mime_message_init):
	create recipients hash table
	(_remove_recipient):
	(_add_recipient):
	(_get_recipients):  new funcs.
	Internal Recipients data structure is
	a bit complicated though.

	* camel/camel-mime-part.c (camel_mime_part_init):
	create headers hash table

svn path=/trunk/; revision=924
1999-05-13 21:36:14 +00:00
483804aac8 a bunch of get/set header field method done. Does nothing yet though.
* camel/camel-mime-message.h:
	a bunch of get/set header field
	method done. Does nothing yet though.

	* camel/camel-mime-message.[ch] :
	new file.

svn path=/trunk/; revision=923
1999-05-13 17:04:54 +00:00
bdc34487d7 overload wrapper class method. (_write_to_file): start to write some text
1999-05-11  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (_write_to_file):
	overload wrapper class method.
	(_write_to_file): start to write some text in
	file.

svn path=/trunk/; revision=904
1999-05-11 21:20:28 +00:00
fac699cd43 typo fix.
1999-05-11  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-store.c: typo fix.

svn path=/trunk/; revision=903
1999-05-11 17:18:41 +00:00
cf2aea02b6 static functions naming follows gnome coding style guide.
1999-05-11  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-store.c:
	* camel/camel-service.c:
	* camel/camel-folder.c:
	* camel/camel-data-wrapper.c:
	* camel/camel-mime-part.c:
	static functions naming follows gnome
	coding style guide.

svn path=/trunk/; revision=902
1999-05-11 17:09:43 +00:00
4ad2c4bf87 implemented public interfaces
1999-05-11  Bertrand Guiheneuf  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.h: implemented public interfaces

svn path=/trunk/; revision=901
1999-05-11 06:51:49 +00:00
88f5b33f67 A bunch of new set/get func.
1999-05-10  Bertrand Guiheneuf  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (__camel_mime_part_get_header_lines):
	(__camel_mime_part_set_header_lines):
	(__camel_mime_part_get_content_languages):
	(__camel_mime_part_set_content_languages):
	(__camel_mime_part_get_encoding):
	(__camel_mime_part_set_encoding):
	(__camel_mime_part_get_content_MD5):
	(__camel_mime_part_set_content_MD5):
	(__camel_mime_part_get_content_id):
	(__camel_mime_part_set_content_id):
	A bunch of new set/get func.

	* camel/gstring-util.c (g_string_list_free):
	convenience function for string list
	complete deallocation.

svn path=/trunk/; revision=900
1999-05-10 16:15:19 +00:00
62b338094a new method
1999-05-09  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (__camel_mime_part_add_header):
	new method

	* camel/camel-mime-part.h (struct CamelMimePart):
	added core fields.

svn path=/trunk/; revision=899
1999-05-09 21:03:54 +00:00
d7972e527d new class. models a mime mail part.
1999-05-08  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.[ch]:
	new class. models a mime mail part.

svn path=/trunk/; revision=894
1999-05-08 17:20:27 +00:00
fb68f5a78c method to stream data content in a buffer.
1999-05-08  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.c
	(camel_data_wrapper_write_to_buffer): method to
	stream data content in a buffer.
	(camel_data_wrapper_write_to_file):
	(camel_data_wrapper_construct_from_buffer):
	(camel_data_wrapper_construct_from_file):
	new methods.

Basic data_wrapper interface. Will have to add MIME content
type and bonobo object creation from content type.

Bertrand.

svn path=/trunk/; revision=893
1999-05-08 16:31:26 +00:00
6e4afd2056 sync - Started work on messages classes.
Bertrand.

svn path=/trunk/; revision=892
1999-05-08 07:55:16 +00:00
9a472934f5 new method.
1999-05-04  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-service.c (camel_service_get_url):
	new method.

	* devel-docs/camel/camel-sections.txt: added
	function doc references

	* camel/camel-folder.c (__camel_folder_close):
	fixed indentation.
	(camel_folder_expunge): new method.
	(__camel_folder_close): used expunge flag

svn path=/trunk/; revision=890
1999-05-04 18:49:25 +00:00
b824af62e0 typo fix
1999-05-03  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-folder.c (camel_folder_get_mode):
	typo fix

	* camel/camel-folder.c (__camel_folder_list_subfolders):
	new func.

	* some doc stuffs

Finishing storage layer, will start message classes soon.

		Bertrand

svn path=/trunk/; revision=889
1999-05-03 15:38:33 +00:00
4e1dac9940 new methods
1999-05-01  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-folder.c
	(__camel_folder_get_mode):
	(camel_folder_get_mode):
	(camel_folder_get_parent_store):
	(__camel_folder_get_parent_store):
	(camel_folder_get_parent_folder):
	(__camel_folder_get_parent_folder):
	new methods

	* camel/camel-service.c: put __ prefix before
	private virtual funcs.

svn path=/trunk/; revision=886
1999-05-01 14:04:18 +00:00
c24e7b0058 new methods.
1999-05-01  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-folder.c (camel_folder_delete):
	(camel_folder_delete_messages):
	new methods.

svn path=/trunk/; revision=885
1999-05-01 08:23:26 +00:00
0a65118fb8 some more comments
1999-05-01  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/url-util.c (g_url_new): some
	more comments

1999-04-27  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-folder.c (camel_folder_create):
	new public function.

svn path=/trunk/; revision=884
1999-05-01 06:57:40 +00:00
d224d1aaad initialize folder object.
1999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-session.c (camel_session_get_store_from_provider):
	initialize folder object.

	* camel/camel-store.c (init): new method.
	called by session object at instantiation time.

	* camel/camel-store.h (struct _CamelStore):
	new fields : session and url_name

svn path=/trunk/; revision=879
1999-04-25 21:58:27 +00:00
f9595bb213 new method to set the default provider for a protocol.
1999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-session.c (camel_session_set_provider):
	new method to set the default provider for a protocol.
	(camel_session_get_store_from_provider):
	new method to instantiate a folder from a provider.

	* camel/camel-provider.h: s/GString/gchar/g
	+ typo fix.

svn path=/trunk/; revision=878
1999-04-25 11:21:33 +00:00
eb2c9a6024 basic provider structure. Have to write the code for dynamic loading.
1999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-provider.[ch]:
	basic provider structure. Have to write the
	code for dynamic loading.

svn path=/trunk/; revision=876
1999-04-25 09:45:13 +00:00
e309ab5719 s/new_g_url/g_url_new
1999-04-24  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/url-util.[ch]: s/new_g_url/g_url_new

svn path=/trunk/; revision=875
1999-04-24 11:23:05 +00:00
0a2e9eef73 URL rewritten completely. Error handling not implemented in public
1999-04-24  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/url-util.c (new_g_url): URL
	rewritten completely. Error handling not
	implemented in public functions.
	But URL scan works pretty well :)))

svn path=/trunk/; revision=874
1999-04-24 11:11:07 +00:00
427646ed6f I needed the url functions to use GString, and I wanted a more general
1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/url-util.[ch]: I needed the url
	functions to use GString, and I wanted a more
	general scheme so I finally started rewriting
	the whole thing from scratch.
	No more code from gzilla :(

svn path=/trunk/; revision=872
1999-04-23 23:16:14 +00:00
f30be523d2 Utility functions to parse URLs. Stolen shamelessly from gzilla
1999-04-23  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/url-util.[ch]:
	Utility functions to parse URLs.
	Stolen shamelessly from gzilla (www.gzilla.com)
	written by Raph Levien <raph@acm.org>

	* camel/Makefile.am: added url-util.[ch]
	compilation.

svn path=/trunk/; revision=871
1999-04-23 15:58:42 +00:00