Commit Graph

740 Commits

Author SHA1 Message Date
Bertrand Guiheneuf 0a4dd21b9b sync
svn path=/trunk/; revision=1099
1999-08-09 16:48:02 +00:00
Robert Brady 5ee8f0795e more advanced RFC2047 encoder started.
1999-08-08  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* camel/gmime-rfc2047.c: more advanced RFC2047 encoder started.

svn path=/trunk/; revision=1098
1999-08-08 22:38:40 +00:00
bertrand 4c3eb87749 fix. In MH, message number is not related to message position in folder.
1999-08-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_get_message):
	fix. In MH, message number is not related to
	message position in folder.

svn path=/trunk/; revision=1097
1999-08-08 20:02:02 +00:00
bertrand e5d44122b8 util func. (_get_message_count): implemented.
1999-08-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_is_a_message_file):
	util func.
	(_get_message_count): implemented.

svn path=/trunk/; revision=1096
1999-08-08 19:10:05 +00:00
gedit b9f1b5ebf0 Woohoo! everything seems to be compiling and working properly.. and the binary is smaller too.. lets go for a merge and start getting some work done again...
svn path=/trunk/; revision=1094
1999-08-08 15:51:40 +00:00
Peter Teichman 1b3a69c809 sync correctly for objects created on the pilot, but not dirty (because
* calendar-pilot-sync.c (sync_pilot): sync correctly for objects
        created on the pilot, but not dirty (because they have been synced
        with some other program in the past)

svn path=/trunk/; revision=1093
1999-08-08 03:38:25 +00:00
bertrand db89b1a62f updated some autogen doc stuff. Still don't understand warnings :(
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/camel/:
	updated some autogen doc stuff.
	Still don't understand warnings :(

	* camel/camel-data-wrapper.c:
	* camel/providers/MH/camel-mh-store.c:
	* camel/url-util.c:
	* camel/gmime-content-field.c:
	* camel/camel-store.c:
	various inline doc corrections.

	* camel/camel-folder.c (get_message_count):
	new method. Returns the number of message
	in the folder.

svn path=/trunk/; revision=1092
1999-08-06 17:28:26 +00:00
Robert Brady 85067acb32 encoder test.
1999-08-06  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* tests/test6.c: encoder test.

	* camel/gmime-rfc2047.c: Fixed decoder bug : sequence
	?= is not always the terminator for an encoded-string.

svn path=/trunk/; revision=1091
1999-08-06 15:47:45 +00:00
bertrand f3e57fa18f stat was not testing the good file. Fixed.
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_list_subfolders):
	stat was not testing the good file. Fixed.

svn path=/trunk/; revision=1090
1999-08-06 15:12:47 +00:00
bertrand 9addfb95be added real test for MH folder provider. All tested things seem to work OK
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/test4.c (main): added real test for MH folder
	provider. All tested things seem to work OK :)

svn path=/trunk/; revision=1089
1999-08-06 14:41:10 +00:00
Robert Brady 2bbd6e4180 test for RFC2047 decoder.
1998-08-06  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* tests/test5.c: test for RFC2047 decoder.

	* camel/gmime-rfc2047.c: Improved RFC2047 decoder.

svn path=/trunk/; revision=1088
1999-08-06 14:25:09 +00:00
bertrand cf2f1c428f add debug information (_list_subfolders): test if first char in folder
1999-08-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_exists): add debug information
	(_list_subfolders): test if first char in folder name is not '.'
	before adding it to the folder list.

	* camel/camel-store.c (_init):
	disable session check temporarily
	(_get_separator):
	(_get_folder): new static func.
	Fixed several oddities in class definition.

	* camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type):
	parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE

	* camel/camel-store.c:
	prent class is CamelServiceClass not GtkObjectClass

	* camel/url-util.c :
	cosmetic changes + use of const when possible.
	(find_host):
	fix a bug: when there is no host and no port don't skip the '/'
	all static find_* func are now named _func_*
	(g_url_free): destructor func.
	cache field has been disabled. Constructing the url string
	won't be too slow and will occur rarely enough that we
	do not need to add complexity to this code.

	* camel/providers/MH/camel-mh-store.c:
	parent class is CamelStorClass not GtkObjectClass

svn path=/trunk/; revision=1087
1999-08-06 14:17:27 +00:00
Kjartan Maraas 9dba21ca8d Updated from users-guide.
1999-08-06  Kjartan Maraas  <kmaraas@online.no>

		* gnomecal.sgml: Updated from users-guide.

svn path=/trunk/; revision=1086
1999-08-06 12:05:25 +00:00
Miguel de Icaza 1dda5dc5bb Release points here.
1999-07-30  Miguel de Icaza  <miguel@gnu.org>

	* month-view.c (month_view_init): Release points here.

svn path=/trunk/; revision=1085
1999-08-06 06:34:13 +00:00
Bertrand Guiheneuf bb503a0bb5 forgotten file
svn path=/trunk/; revision=1084
1999-08-05 21:26:44 +00:00
bertrand 7e8e444982 test mh provider.
1999-08-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/test4.c:
	test mh provider.

	* camel/providers/MH/camel-mh-folder.c (_get_message):
	implemented

svn path=/trunk/; revision=1083
1999-08-05 21:25:53 +00:00
bertrand 5de5ccdbae new method. (camel_folder_get_message): corresponding public call
1999-08-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_get_message):
	new method.
	(camel_folder_get_message):
	corresponding public call

svn path=/trunk/; revision=1082
1999-08-05 16:42:14 +00:00
bertrand 616d409f7c Some notes.
1999-08-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/README.HACKING:
	Some notes.

	* camel/CODING.STYLE:
	short note about coding style.

	* camel/README.COPYRIGHT:
	Note about copyright policy.

	* camel/providers/MH/camel-mh-folder.c (_list_subfolders):
	minor typo fixes.

svn path=/trunk/; revision=1081
1999-08-05 16:02:54 +00:00
JP Rosevear 393c87af52 BUGFIX #1819
Please note that the calendar_save routine is now responsible for changing
the filename attribute of the calendar struct, rather than the calling
function.  This was so that the filename could be reverted if the open
failed.

svn path=/trunk/; revision=1080
1999-08-04 18:37:50 +00:00
bertrand 7e2281704d indentation and cosmetic changes.
1999-08-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/gmime-rfc2047.c:
	* camel/gmime-rfc2047.h:
	indentation and cosmetic changes.

svn path=/trunk/; revision=1079
1999-08-04 17:42:02 +00:00
Robert Brady e77e777a57 Fixed copyright issue. ;)
svn path=/trunk/; revision=1078
1999-08-04 17:34:17 +00:00
bertrand bbd88805c2 implemented.
1999-08-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_list_subfolders):
	implemented.

svn path=/trunk/; revision=1077
1999-08-04 17:30:17 +00:00
bertrand b92cd47ad5 finshed implementation (_delete_messages): implemented.
1999-08-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_delete):
	finshed implementation
	(_delete_messages): implemented.

svn path=/trunk/; revision=1076
1999-08-04 16:36:54 +00:00
Robert Brady 8a9862a550 added an implemention of RFC2047 (support for character sets other than
1999-08-04  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* camel/gmime-rfc2047.[ch]: added an implemention of RFC2047
	  (support for character sets other than US-ASCII in MIME
	  headers). Not actually called from anywhere yet.

svn path=/trunk/; revision=1075
1999-08-04 16:16:37 +00:00
Arturo Espinosa 5f2175c445 my file I never commited
svn path=/trunk/; revision=1074
1999-08-04 00:29:51 +00:00
bertrand 0f2d4dd115 Started implementing mh store/folder as a test provider. Next will be pop3.
1999-08-03  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_create):
	implemented.
	(_delete): started implementation.

	* camel/camel-folder.c (_get_folder): default implementation
	calls camel_store_get_folder ().

	* camel/providers/MH/camel-mh-folder.c (_init_with_store):
	implemented.

	* camel/camel-folder.h (struct _CamelFolder):
	remove useless exist_on_store field.

	* camel/camel-folder.c (_exists):
	do not use exist_on_store field.

svn path=/trunk/; revision=1073
1999-08-03 18:08:04 +00:00
Bertrand Guiheneuf b9daf0016b new public functions (_set_name): set full_path.
* camel/camel-folder.c (camel_folder_set_name):
	(camel_folder_get_name):
	new public functions
	(_set_name): set full_path.

	(_set_full_name):
	(camel_folder_set_full_name):
	commented out this functions def.
	It would make things very difficult to handle, and would not
	be very useful.

	* camel/providers/MH/camel-mh-store.h:
	* camel/providers/MH/camel-mh-store.c (camel_mh_store_set_toplevel_dir):
	(camel_mh_store_get_toplevel_dir):
	* camel/providers/MH/camel-mh-folder.c (_set_name):
	* camel/providers/MH/camel-mh-folder.h:
	use (gchar *) instead of (GString *) everywhere.
	use const when necessary.

	* camel/camel-folder.h (struct _CamelFolder):
	removed unused message_list field.

svn path=/trunk/; revision=1072
1999-08-03 15:37:35 +00:00
Bertrand Guiheneuf 382308f44a There is a probleme here. We can not allow mime part content-type field
* camel/camel-mime-part.c (_set_content_object):
	There is a probleme here. We can not allow mime part
	content-type field and content_object mime-type to be
	different. I thus chosed to set mime part object
	content field to be freed (if necessary) and set
	to be a pointer to content_object mime type
	field.
	(_construct_from_stream): set content_object mime type
	to be the same as mime_part's one. This is necessary
	because we use _set_content_type.

	This two things are a bit hackish ansd may need
	to be redesigned.

svn path=/trunk/; revision=1071
1999-08-03 13:16:35 +00:00
bertrand e9c6d8921c Multipart Mime message parsing works with plain text parts. Woohooo :))))
Making it work with other types is now just a matter of writing
the various data wrappers. And display them will just be a matter of writing
the good bonobo components.

1999-08-03  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-simple-data-wrapper.c (_construct_from_stream):
	more debugging output +  nb_bytes_read is now a signed int
	to avoid bug when eos is encountered.

	* camel/camel-mime-part.c (_construct_from_stream):
	sync to data_wrapper_repository function name changes.
	Use default "text/plain" type when conten-type field
	is not found. (following RFC 2046 spec).

	* camel/data-wrapper-repository.c (data_wrapper_repository_set_data_wrapper_type):
	(data_wrapper_repository_get_data_wrapper_type):
	change function name prefix (s/data_wrapper/data_wrapper_repository/)

	* camel/camel-multipart.c (_read_part):
	add `\n` at eol but not before boundary.

	* camel/gmime-utils.c (get_header_table_from_stream):
	correct implementation of end of stream detection.

svn path=/trunk/; revision=1070
1999-08-03 10:19:39 +00:00
Bertrand Guiheneuf bba2b0a352 Update logs and sync home/work versions.
* camel/camel-multipart.c (_read_part):
	use a stream to store the part instead of GString.

	* camel/camel-mime-part.c (camel_mime_part_set_text):
	set data wrapper content type to "text/plain".

	* camel/camel-stream-mem.c:
	* camel/camel-stream-mem.h:
	new memory buffer based stream.

	* camel/camel-stream-fs.c (_seek):
	implementation for file system based stream.

	* camel/camel-stream.c (camel_stream_seek):
	new method.

	* camel/camel-stream-fs.c (camel_stream_fs_class_init):
	pass CamelStreamFsClass instead of CamelStreamClass.

svn path=/trunk/; revision=1069
1999-08-03 08:29:15 +00:00
Bertrand Guiheneuf 80fc914052 Anther sync
svn path=/trunk/; revision=1068
1999-08-03 08:16:15 +00:00
Jonathan Blandford a58fc79aab fix this.
svn path=/trunk/; revision=1067
1999-08-02 20:19:53 +00:00
Peter Teichman ffca276dba don't try to run GNOME_CONDUIT_CHECK if it doesn't exist
* configure.in: don't try to run GNOME_CONDUIT_CHECK if it
doesn't exist

* gncal/Makefile.am: libcalendar_conduit now installs

svn path=/trunk/; revision=1066
1999-08-02 17:43:13 +00:00
Elliot Lee b83d509e96 Add nl to list of languages.
Add nl to list of languages.

svn path=/trunk/; revision=1065
1999-08-02 16:00:30 +00:00
Bertrand Guiheneuf e04ff08029 sync before going home
svn path=/trunk/; revision=1064
1999-08-02 15:11:10 +00:00
Peter Teichman 9a87a9ff78 do deletion of appointments correctly, when they are deleted on the pilot
* calendar-pilot-sync.c (sync_pilot): do deletion of appointments
        correctly, when they are deleted on the pilot

	(conduit_free_Appointment): protect against double-freeing parts
        of the Appointment structure

	(update_record): all-day events from the pilot are handled a bit
        more reasonably

svn path=/trunk/; revision=1063
1999-08-02 07:20:18 +00:00
Peter Teichman f812a77ab6 merging gnome-conduit-check.m4 removal from the newconduit branch
svn path=/trunk/; revision=1060
1999-08-02 04:57:30 +00:00
Peter Teichman 3f3a867c4c gnome-pim actually compiles without libpisock now
* configure.in: gnome-pim actually compiles without libpisock now

svn path=/trunk/; revision=1058
1999-08-02 04:16:07 +00:00
Peter Teichman ff875c3768 The multi-day appointment corruption bug is dead. Whoo!
* calendar-pilot-sync.c (sync_object_to_pilot): The multi-day
        appointment corruption bug is dead. Whoo!

svn path=/trunk/; revision=1057
1999-08-02 03:47:49 +00:00
Bertrand Guiheneuf c54abe884b new memory buffer based stream.
* camel/camel-stream-mem.c:
	* camel/camel-stream-mem.h:
	new memory buffer based stream.

	* camel/camel-stream-fs.c (_seek):
	implementation for file system based stream.

	* camel/camel-stream.c (camel_stream_seek):
	new method.

	* camel/camel-stream-fs.c (camel_stream_fs_class_init):
	pass CamelStreamFsClass instead of CamelStreamClass.

svn path=/trunk/; revision=1056
1999-08-01 21:36:42 +00:00
Bertrand Guiheneuf 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
bertrand 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
Bertrand Guiheneuf 3d7a8fdeac Adding missing files
svn path=/trunk/; revision=1053
1999-08-01 13:42:43 +00:00
Bertrand Guiheneuf cac0ba57e6 merge a lot of work. Rough ChangeLog will follow
svn path=/trunk/; revision=1052
1999-08-01 13:38:28 +00:00
Peter Teichman 5709aa9ef6 More auto* cleanups. The new calendar conduit now compiles conditionally,
based on whether you have gnome-pilot installed.

svn path=/trunk/; revision=1051
1999-07-31 20:29:06 +00:00
Peter Teichman dc41ba6c01 more autoconf, again. need to make the conduit compile conditionally
* configure.in: more autoconf, again. need to make the conduit
compile conditionally though

svn path=/trunk/; revision=1050
1999-07-31 19:37:25 +00:00
Peter Teichman 2ab2b6e14f put gnome-conduit-check.m4 into HEAD.
svn path=/trunk/; revision=1049
1999-07-31 19:34:29 +00:00
Jonathan Blandford 686958286d add this
svn path=/trunk/; revision=1048
1999-07-30 21:56:36 +00:00
Jonathan Blandford 5fdba6c2e5 more auto* stuff
svn path=/trunk/; revision=1047
1999-07-30 21:15:09 +00:00
Jonathan Blandford c9574a3295 Add scrolling to the yearview.
1999-07-29  Jonathan Blandford  <jrb@redhat.com>

	* gnome-cal.c (setup_widgets): Add scrolling to the yearview.

svn path=/trunk/; revision=1045
1999-07-29 20:42:21 +00:00