Commit Graph

3737 Commits

Author SHA1 Message Date
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
fc41f66a50 added pics for the help file.
1999-05-27  Kjartan Maraas  <kmaraas@online.no>

		* gnome-pim/gncal/doc/C/images/*: added pics for the help
		  file.

svn path=/trunk/; revision=951
1999-05-27 21:55:19 +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
a8a38c7a80 sync
svn path=/trunk/; revision=949
1999-05-27 16:42:32 +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
fa1d506238 Added preliminary support for todo item priorities: they can be set, displayed,
and used as a sorting criterion.  They are enabled/disabled using the
properties page, as with due dates.

svn path=/trunk/; revision=947
1999-05-26 15:25:04 +00:00
41d177fd10 Added content from gnome-user-guide (Miguel, I will probably sleep much
1999-05-26  Kjartan Maraas  <kmaraas@online.no>

		* gnomecal.sgml: Added content from gnome-user-guide
		  (Miguel, I will probably sleep much better now ;-)

svn path=/trunk/; revision=946
1999-05-26 00:20:16 +00:00
58bf50d820 Add cvsignore files
svn path=/trunk/; revision=945
1999-05-26 00:15:10 +00:00
c2151121d3 Added missing break here. It was causing core dumps when invoked with
1999-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* main.c (parse_an_arg): Added missing break here.  It was causing
	core dumps when invoked with --userfile.

svn path=/trunk/; revision=944
1999-05-26 00:09:06 +00:00
089aee24ea Add some assertions here, to pin point the bug reported on gnome-list.
1999-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-cal.c (gnome_calendar_set_view): Add some assertions here,
	to pin point the bug reported on gnome-list.

svn path=/trunk/; revision=943
1999-05-25 23:00:09 +00:00
9193140bcf Make intervals always exist. a 0 interval is wrong.
1999-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* calobj.c (load_recurrence): Make intervals always exist.  a 0
	interval is wrong.

svn path=/trunk/; revision=942
1999-05-25 22:24:08 +00:00
6a0a6d08c1 Added 'Untimed events'
svn path=/trunk/; revision=941
1999-05-25 20:19:47 +00:00
da4d8a88c8 Removed unused macro CALENDAR_HEIGHT.
1999-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* year-view.c: Removed unused macro CALENDAR_HEIGHT.

svn path=/trunk/; revision=940
1999-05-25 19:29:41 +00:00
ede0790b5c Set the canvas scroll region here, not in size_allocate(). Also, use the
1999-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* year-view.c (idle_handler): Set the canvas scroll region here,
	not in size_allocate().  Also, use the correct width and height
	based on the allocation and the precomputed minimum width/height
	values.

	* gnome-cal.c (setup_widgets): Set the scrollbar policy of the
	scrolled window.

	* main.c (setup_appbar): Use the correct type for the appbar.

	* gncal-day-view.c: Removed unused function switch_to_day().

	* gncal-day-panel.c (calendar_day_selected): Removed unused variable.

1999-05-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT.

svn path=/trunk/; revision=939
1999-05-25 19:28:28 +00:00
c150a409d4 This is the fix Miguel and I hacked in the car at Expo to make the
year view work in low-resolution displays.  This isn't the proper fix,
but it's better than the way things were.

1999-05-25  Nat Friedman  <nat@nat.org>

	* doc/C/gnomecal.sgml: Fixed a typo.

	* gnome-cal.c (setup_widgets): Added a scrolled window widget into
 	which the year view is placed.

	* year-view.c (CALENDAR_HEIGHT): The height of the total year view
 	inside the scrolled window.
	(idle_handler): Set the height of the year view to
 	CALENDAR_HEIGHT.
	(year_view_size_allocate): Set the scroll region of the year view
 	canvas to allocation->width, CALENDAR_HEIGHT.

svn path=/trunk/; revision=938
1999-05-25 17:09:56 +00:00
3be2b5f40a Reworked the insert/delete column/row code again. Beat on it, please!
svn path=/trunk/; revision=937
1999-05-21 19:12:01 +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
1cf9ad8336 sync
svn path=/trunk/; revision=935
1999-05-20 16:37:03 +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
058a84bf36 missing files 2
svn path=/trunk/; revision=932
1999-05-19 16:09:31 +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
e9691668bc Add missing file -miguel
svn path=/trunk/; revision=929
1999-05-17 23:15:56 +00:00
63472619b5 Add Docbook framework for documenting Gnomecal -miguel
svn path=/trunk/; revision=928
1999-05-17 23:15:39 +00:00
d609c57cba sync
svn path=/trunk/; revision=927
1999-05-17 13:31:15 +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
48217413c6 Mime message ...
svn path=/trunk/; revision=922
1999-05-12 21:03:15 +00:00
cee85091a8 disposition is now a full GMimeContentField object.
* camel/camel-mime-part.h (struct ):
	disposition is now a full GMimeContentField
	object.

	* camel/gmime-content-field.c: new file
	handle "type/subtype ;parameter=value ; parameter=value ..."
	BNF grammar elements
	(gmime_content_field_write_to_file): new func

	* camel/gmime-utils.c (gmime_write_header_pair_to_file):
	namespace change

Some work on mime stuff. Mime part can save itself into a file.
This stuff is boring.

svn path=/trunk/; revision=921
1999-05-12 19:07:54 +00:00
bd3559cdf2 mime utils namespace change
svn path=/trunk/; revision=920
1999-05-12 08:40:54 +00:00
6f235e02f3 Add `gnome-bonobo-check.m4'.
* Makefile.am (MACROS): Add `gnome-bonobo-check.m4'.

svn path=/trunk/; revision=905
1999-05-11 21:59:47 +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
65cc58a082 made test program return 0, changed BONOBO_CHECK to not return "failure"
1999-05-09  Jacob Berkman  <jberk+@cmu.edu>

        * gnome-bonobo-check.m4: made test program return 0,
        changed BONOBO_CHECK to not return "failure" on success

svn path=/trunk/; revision=895
1999-05-09 07:25:12 +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
c6cdd4b2af admin cvs work
svn path=/trunk/; revision=891
1999-05-07 08:00:36 +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
f38f1deb65 - fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>".
- fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>".

svn path=/trunk/; revision=888
1999-05-03 06:51:08 +00:00
b4b72da407 Update Doc reference
svn path=/trunk/; revision=887
1999-05-02 18:23:53 +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