Commit Graph

820 Commits

Author SHA1 Message Date
Federico Mena Quintero 0a765ba731 Set the data pointers for all the items.
1999-09-14  Federico Mena Quintero  <federico@redhat.com>

	* gncal-full-day.c (child_popup_menu): Set the data pointers for
	all the items.

svn path=/trunk/; revision=1227
1999-09-14 22:40:46 +00:00
Kjartan Maraas ceb228f5d5 Small correction
svn path=/trunk/; revision=1226
1999-09-14 09:35:42 +00:00
Kjartan Maraas 16a6d1c3de Merge from HEAD. Synced with newest user-guide.
1999-09-14  Kjartan Maraas  <kmaraas@online.no>

	* doc/C/gnomecal.sgml: Merge from HEAD. Synced with newest
	user-guide.

svn path=/trunk/; revision=1225
1999-09-14 09:34:17 +00:00
Bertrand Guiheneuf 0b13fa1cc8 ...
svn path=/trunk/; revision=1224
1999-09-13 22:39:02 +00:00
bertrand fc9712db28 First proxy (pthread based) implementation starts.
* First proxy (pthread based) implementation starts.

1999-09-14  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/Makefile.am (libcamel_la_SOURCES):
	added camel-folder-pt-proxy.[ch] to the build
	process.

	* camel/camel-folder-pt-proxy.c (_init_with_store):
	started implementation of the pthread-based
	folder proxy.

svn path=/trunk/; revision=1223
1999-09-13 22:38:45 +00:00
Michael Meeks ffa1277638 Cosmetic widget update when loading lots of files,
Fixed serious bug in sheet tab editing,
New sizing algo.

svn path=/trunk/; revision=1221
1999-09-10 20:11:36 +00:00
Bertrand Guiheneuf bb40dc75ee forgotten files
svn path=/trunk/; revision=1220
1999-09-08 19:03:51 +00:00
bertrand 68ceb01f60 Summary files are here and work !!!
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/mh-summary.c
	(mh_load_summary):
	(mh_save_summary):
	(mh_create_summary):
	implemented summary (files) for MH folders.

	* camel/providers/MH/camel-mh-folder.c
	(_get_message_by_uid): implemented.
	(camel_mh_folder_class_init):
	(_get_message_uid): implemented

svn path=/trunk/; revision=1219
1999-09-08 18:59:27 +00:00
Yukihiro Nakai 13dce8b335 ja Update from ITANI Eiichoro
ja Update from ITANI Eiichoro

svn path=/trunk/; revision=1218
1999-09-08 15:31:58 +00:00
Eskil Heyn Olsen 445fa5fd05 forgot the .desktop files...`
svn path=/trunk/; revision=1217
1999-09-08 13:15:32 +00:00
Eskil Heyn Olsen 8550ca3f28 uses GNOME_PILOT_CHECK
* configure.in: uses GNOME_PILOT_CHECK

        * gncal/GnomeCal.idl: added a get_objects() call,
        which returns all the objects in the calendar.

        * gncal/Makefile.am: added two conduits with
        control-applets. Compiled only if configure sets
        HAVE_GNOME_PILOT

        * gncal/calender-conduit.[ch]: began implementing conduit.

        * gncal/todo-conduit.[ch]: begin implementing conduit.

        * gncal/corba-cal.c: implemented the get_objects() call.

svn path=/trunk/; revision=1216
1999-09-08 13:06:07 +00:00
bertrand 4a3be14666 impemented.
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c
	(_get_message_by_uid): impemented.

	* camel/camel-folder.c:
	(camel_folder_get_message_uid_by_number):
	const'ified uid.
	(camel_folder_get_message_by_uid): idem
	removed stupid camel_folder_get_message_uid_by_number
	method.

svn path=/trunk/; revision=1215
1999-09-08 12:20:30 +00:00
Eskil Heyn Olsen 58b233790e corrected my email added db_handle, the "file descriptor" for an opened
* conduits/*/*control-applet.c: corrected my email
        * gpilotd/gnome-pilot-dbinfo.h: added db_handle, the "file
        descriptor" for an opened db.
        * gpilotd/gnome-pilot-conduit-standard-abs.c: uses dbi->db_handle
        instead of ->index.

svn path=/trunk/; revision=1194
1999-09-08 10:49:12 +00:00
bertrand 0c1cbcdb39 Documented UIDs.
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_has_uid_capability):
	(camel_folder_get_message_uid):
	(camel_folder_get_message_uid_by_number):
	(camel_folder_get_message_by_uid):
	(camel_folder_get_uid_list):
	Documented UID methods.

svn path=/trunk/; revision=1193
1999-09-08 10:11:54 +00:00
bertrand ed7fc1eaa2 More work on UID list in Mh provider.
1999-09-08  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (close_all):
	close all open folders and stores. (necessary
	for UID list saving ).

	* camel/providers/MH/mh-uid.c (mh_generate_uid_list):
	fix: store UID list in CamelMHFolder object.

	* camel/providers/MH/camel-mh-folder.c (_open):
	read or create UID list.
	(_close): save UID list.

svn path=/trunk/; revision=1192
1999-09-07 23:08:03 +00:00
Bertrand Guiheneuf dba244cf65 oops
svn path=/trunk/; revision=1191
1999-09-07 15:46:49 +00:00
bertrand 598dc5e556 correct parameter decl (const)
1999-09-07  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c (md5_get_digest_from_file):
	correct parameter decl (const)

	* camel/md5-utils.h: typo.

	* camel/providers/MH/mh-uid.c
	More work on UID stuff for MH.
	(mh_save_uid_list):
	(mh_load_uid_list):
	(mh_generate_uid_list):
	new funcs. Manage on-disk uid list.

	* camel/providers/MH/mh-utils.c (mh_is_a_message_file):
	Util routines live here now.

svn path=/trunk/; revision=1190
1999-09-07 15:45:57 +00:00
bertrand 9043c1aa7a camel/md5-utils.c Documented all funcs.
1999-09-07  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c
	Documented all funcs.

	(md5_get_digest_from_stream):
	correct typo.
	(md5_get_digest_from_file):
	same typo corrected.

svn path=/trunk/; revision=1189
1999-09-06 23:27:12 +00:00
Arturo Espinosa fe269dcef3 Commit missing files
svn path=/trunk/; revision=1188
1999-09-06 22:09:26 +00:00
bertrand edf81a5e24 raw routines are declared public now. Md5 use has to be versatile.
1999-09-07  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.h :
	raw routines are declared public now.
	Md5 use has to be versatile.

	* camel/providers/MH/mh-uid.c (mh_uid_get_for_file):
	new func. Returns an UID for an MH message.

svn path=/trunk/; revision=1187
1999-09-06 21:58:39 +00:00
bertrand 8e70e42b1e new function : get file md5 signature. To be used in providers code.
1999-09-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.h:
	* camel/md5-utils.c:
	(md5_get_digest_from_file):
	new function : get file md5 signature.
	To be used in providers code.

svn path=/trunk/; revision=1186
1999-09-06 11:32:54 +00:00
bertrand a35e5f993f new methods.
1999-09-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.h:
	* camel/md5-utils.c:
	(md5_get_digest_from_stream):
	new methods.

svn path=/trunk/; revision=1185
1999-09-06 10:37:14 +00:00
bertrand 66c1dd5fa4 changed names to follow camel style.
1999-09-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.h:
	* camel/md5-utils.c:
	changed names to follow camel style.

`

svn path=/trunk/; revision=1184
1999-09-06 10:08:37 +00:00
Miguel de Icaza c17952163c Add an event handler for the preview canvas. (zoom_state): new routine,
1999-09-05  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (preview_canvas_event): Add an event handler
	for the preview canvas.
	(zoom_state): new routine, controls the toolbar widget display.

	* src/cursors.c: Add new zoom in and zoom out cursors.

	* src/dialogs/dialog-printer-setup.c (unit_editor_new): One line
	warning fix.

	* src/sheet.c (sheet_col_size_fit): Returns the size required to
	render every cell completely.

	* src/item-bar.c (item_bar_event): Delay column/row resizing
	action until the division is actually being dragged.  We need this
	to catch double-clicks for auto-sizing cells.
	(GDK_2BUTTON_PRESS):

1999-09-04  Jody Goldberg <jgoldberg@home.com>

svn path=/trunk/; revision=1183
1999-09-06 03:05:38 +00:00
bertrand 2110ea101f imported md5 coding routine from rpm. Compiles.
1999-09-06  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/md5-utils.c: imported md5 coding
	routine from rpm. Compiles.

svn path=/trunk/; revision=1182
1999-09-05 22:46:58 +00:00
bertrand 116b88eb5d Basic UID framework.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (camel_folder_has_uid_capability):
	(camel_folder_get_message_uid):
	(camel_folder_get_message_uid_by_number):
	(camel_folder_get_message_by_uid):
	(camel_folder_get_uid_list):
	Basic UID framework.

svn path=/trunk/; revision=1181
1999-09-05 20:08:23 +00:00
bertrand 1ee21a1820 New revision. Some fixes.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/misc/ref_and_id_proposition.txt:
	New revision. Some fixes.

	* camel/camel-folder.h (struct _CamelFolder): added
	uid_capability field.

* started to work on UIDs

svn path=/trunk/; revision=1180
1999-09-05 17:48:59 +00:00
bertrand e716a2ed8b re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (show_folder_messages):
	re-enabled old CPU/Mem consumming
	method. Use ful for pop3 for instance.

svn path=/trunk/; revision=1179
1999-09-05 16:25:18 +00:00
bertrand 4e4eb45bf6 use folder summary instead of opening all messages.
1999-09-05  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/store_listing.c (show_folder_messages):
	use folder summary instead of opening all messages.

	* camel/providers/MH/camel-mh-folder.c (_create_summary):
	basic and highly non-efficient summary implementation.
	Should be seen as a proof of concept only.
	subfolder summary still has to be implemented.

	* camel/providers/maildir/camel-maildir-folder.c (_init_with_store):
	hasn't summary for the moment.
	* camel/providers/maildir/camel-maildir-folder.c
	cosmetic changes.

svn path=/trunk/; revision=1178
1999-09-05 16:15:12 +00:00
bertrand 0fe7101224 started summary implementation. (_open): correct use of open.
1999-09-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/MH/camel-mh-folder.c (_create_summary):
	started summary implementation.
	(_open): correct use of open.

	* camel/camel-folder.c (camel_folder_get_summary):
	get folder associated summary object.

svn path=/trunk/; revision=1177
1999-09-04 19:33:31 +00:00
bertrand eb1b108970 added summary files build
1999-09-04  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/Makefile.am:
	added summary files build

	* camel/camel-folder-summary.[ch]:
	basic summary framework

svn path=/trunk/; revision=1176
1999-09-04 14:48:01 +00:00
Bertrand Guiheneuf 4cbd4fb3d1 Forgotten file
svn path=/trunk/; revision=1175
1999-09-03 18:49:22 +00:00
bertrand 4ba4bf0362 sgml doc has camel-recipient now.
1999-09-03  bertrand  <Bertrand.Guiheneuf@aful.org>

	* devel-docs/camel/Makefile.am:
	sgml doc has camel-recipient now.

	* camel/camel-recipient.c (camel_recipient_foreach_recipient_type):
	added in-line documentation.

svn path=/trunk/; revision=1174
1999-09-03 18:34:42 +00:00
Miguel de Icaza 99af67a6ca Added margin display preview.
1999-09-03  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
	display preview.

	* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
	and move are now toggle buttons.

	* src/workbook.c (italic_cmd, bold_cmd): Simplified the code some.

	* src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force
	the icon display here.
	(preview_page_create): Invert test.
	(PAGE_X, PAGE_Y): They are now the same values.
	(do_setup_page): Show the images here.

svn path=/trunk/; revision=1173
1999-09-03 07:26:43 +00:00
Sergey I. Panov ff2e585899 Added Russian translations to the desktop files
svn path=/trunk/; revision=1172
1999-09-03 04:00:04 +00:00
Bertrand Guiheneuf 5900d4d114 sync again. Changelog comes tomorow
svn path=/trunk/; revision=1170
1999-09-02 23:14:26 +00:00
Bertrand Guiheneuf 8df46ea12c sync
svn path=/trunk/; revision=1169
1999-09-02 16:43:39 +00:00
bertrand 6d8e4afc9e Added (experimental) maildir provider written by Jukka Zitting
1999-09-02  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/providers/maildir: Added (experimental) maildir
	provider written by Jukka Zitting <hukka@greywolves.org>

	* camel/providers/Makefile.am (SUBDIRS): build maildir
	provider.

	* camel/camel-provider.c (camel_provider_get_for_protocol):
	bug fix. patch from  Jukka Zitting <hukka@greywolves.org>

svn path=/trunk/; revision=1168
1999-09-02 16:06:55 +00:00
bertrand 5c7fc6df11 changed decl to fit CRLFunc. (_write_recipients_to_stream): calls
1999-09-02  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (_write_one_recipient_to_stream):
	changed decl to fit CRLFunc.
	(_write_recipients_to_stream):
	calls camel_recipient_foreach_recipient_type now.

	* camel/camel-recipient.c (camel_recipient_foreach_recipient_type):
	new convinience function. Iterate over all recipient types.

	* camel/gmime-utils.c (gmime_write_header_table_to_stream):
	s/write_header_table_to_stream/gmime_write_header_table_to_stream/
	(gmime_write_header_with_glist_to_stream):
	s/write_header_with_glist_to_stream/gmime_write_header_with_glist_to_stream/

svn path=/trunk/; revision=1167
1999-09-02 11:19:40 +00:00
Havoc Pennington acfd8adff8 If you're going to AC_PATH_PROG then use the prog you find :-)
1999-09-01  Havoc Pennington  <hp@pobox.com>

* gnome-xml-check.m4: If you're going to AC_PATH_PROG then use the
prog you find :-)

svn path=/trunk/; revision=1156
1999-09-01 21:28:41 +00:00
Miguel de Icaza 60436b516d Make the OK button the default button per Russell's suggestion.
1999-09-01  Miguel de Icaza  <miguel@gnu.org>

	* eventedit.c (ee_create_buttons): Make the OK button the default
	button per Russell's suggestion.

svn path=/trunk/; revision=1155
1999-09-01 18:26:26 +00:00
Miguel de Icaza 523a46f844 Added call to GNOME_COMPILE_WARNINGS.
1999-09-01  Miguel de Icaza  <miguel@gnu.org>

	* configure.in: Added call to GNOME_COMPILE_WARNINGS.

	* libversit: Removed all the rest of the C++ comments from C
	sources (per David's suggestion).


1999-09-01  David Kaelbling <drk@sgi.com>

	* card.c (strtoCardRev): Off by one error fix.

svn path=/trunk/; revision=1153
1999-09-01 18:09:57 +00:00
bertrand 4ed3431575 now use CamelRecipientTable
1999-09-01  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (_finalize):
	(_add_recipient):
	(_remove_recipient):
	(_get_recipients): now use CamelRecipientTable

	* camel/gmime-content-field.c:
	(gmime_content_field_unref): test if object
	to free is non void.

Still are some bugs in camel-recipient.c

svn path=/trunk/; revision=1152
1999-09-01 14:36:17 +00:00
bertrand f5be7984b2 When using g_free (obj) don't test if obj != NULL g_free () already do
1999-09-01  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_finalize):
	(_set_name):
	* camel/camel-mime-message.c (_finalize):
	* camel/camel-mime-part.c (_finalize):
	(_set_description):
	(_set_disposition):
	* camel/camel-service.c (_finalize):
	* camel/camel-stream-fs.c (_finalize):
	* camel/gmime-content-field.c:
	(gmime_content_field_construct_from_string):
	* camel/url-util.c (g_url_free):

	When using g_free (obj) don't test if obj != NULL
	g_free () already do that. Thanks to elerium for
	the feedback.

19

svn path=/trunk/; revision=1151
1999-09-01 11:53:18 +00:00
Miguel de Icaza a5dc758170 Modify the object->last_mod field. (calendar_add_object): Ditto.
1999-08-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* calendar.c (calendar_object_changed): Modify the
	object->last_mod field.
	(calendar_add_object): Ditto.

	Closes bug #676

	* main.c (save_calendar_cmd): Fix problem in which we warned the
	user about the calendar being modified the first time the calendar
	was used.

svn path=/trunk/; revision=1150
1999-08-30 22:36:43 +00:00
bertrand 122f27a2aa new func. More work on new independant recipient code.
1999-08-30  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-recipient.c (camel_recipient_get):
	(camel_recipient_remove):
	(camel_recipient_add):
	new func. More work on new independant recipient code.

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

	* MAINTAINERS: updated my e-mail address.

svn path=/trunk/; revision=1148
1999-08-30 06:29:37 +00:00
Bertrand Guiheneuf d938232d3c Address update
svn path=/trunk/; revision=1147
1999-08-29 22:13:34 +00:00
bertrand 68a9dad22b text parameter declared const
1999-08-28  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (camel_mime_part_set_text):
	text parameter declared const

	* camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer):
	actually test correctly nb_bytes_read_chunk is >0

	* camel/gstring-util.c:
	* camel/gmime-content-field.c:
	* camel/providers/MH/camel-mh-folder.c:
	* camel/camel-stream-fs.c:
	include string.h

	* camel/camel-stream-mem.c (_write): return
	the numver of written bytes.

	* camel/camel-stream-buffered-fs.c (_eos):
	return sthg

	* camel/camel-stream.c (default_camel_seek):
	return something.

* Started to work on new recipient code.
* fixed various leaks.

svn path=/trunk/; revision=1146
1999-08-29 15:57:47 +00:00
bertrand e826255bf1 contruct the content from the buffer before calling CamelMedium
1999-08-26  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part.c (_get_content_object):
	contruct the content from the buffer before calling
	CamelMedium implementation.
	(_construct_from_stream): Do not construct the content
	by default, just store the content bytes in
	a temporary buffer. Content will be constructed only
	at caller request (when calling CamelMedium::get_content_object)
	Providers with better access to the messages (mbox/MH ...)
	will have to provider lighter implementation, that is
	shall not read content at all unless the caller asks
	for it (again with get_content).

	* camel/camel-mime-part-utils.c: new file, groups
	mime-part related utils. Meant to be used by providers
	subclassing MimeMessage.
	(camel_mime_part_construct_headers_from_stream):
	(camel_mime_part_construct_content_from_stream):
	no more useless temporary hash table.

	* camel/camel-mime-part.c (_construct_from_stream): calls
	mime-part-utils functions now.

	* camel/gmime-utils.c (_store_header_pair_from_string):
	do not use hash table to store header, use an array instead.

svn path=/trunk/; revision=1145
1999-08-26 15:29:40 +00:00
bertrand 2a912b3301 new file, groups mime-part related utils. Meant to be used by providers
1999-08-26  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-part-utils.c: new file, groups
	mime-part related utils. Meant to be used by providers
	subclassing MimeMessage.
	(camel_mime_part_construct_headers_from_stream):
	(camel_mime_part_construct_content_from_stream):
	no more useless temporary hash table.

	* camel/camel-mime-part.c (_construct_from_stream): calls
	mime-part-utils functions now.

	* camel/gmime-utils.c (_store_header_pair_from_string):
	do not use hash table to store header, use an array instead.


* MimePart cleanup. Not complete yet. Content must not be
parsed when constructing but only when content object is requested.
Default implementation will keep content in a stream.

svn path=/trunk/; revision=1144
1999-08-26 09:44:33 +00:00