Commit Graph

706 Commits

Author SHA1 Message Date
e04ff08029 sync before going home
svn path=/trunk/; revision=1064
1999-08-02 15:11:10 +00:00
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
f812a77ab6 merging gnome-conduit-check.m4 removal from the newconduit branch
svn path=/trunk/; revision=1060
1999-08-02 04:57:30 +00:00
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
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
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
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
3d7a8fdeac Adding missing files
svn path=/trunk/; revision=1053
1999-08-01 13:42:43 +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
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
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
2ab2b6e14f put gnome-conduit-check.m4 into HEAD.
svn path=/trunk/; revision=1049
1999-07-31 19:34:29 +00:00
686958286d add this
svn path=/trunk/; revision=1048
1999-07-30 21:56:36 +00:00
5fdba6c2e5 more auto* stuff
svn path=/trunk/; revision=1047
1999-07-30 21:15:09 +00:00
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
7b4d44e73d Added new ids XPilotId and XPilotStatus
1999-07-29  Miguel de Icaza  <miguel@gnu.org>

	* libversit/vcc.h: Added new ids XPilotId and XPilotStatus

svn path=/trunk/; revision=1044
1999-07-29 20:16:00 +00:00
12465c9f60 Exit with error code if configure fails.
Exit with error code if configure fails.

svn path=/trunk/; revision=1043
1999-07-29 19:21:21 +00:00
92e605a31e If the enddate is not set, set the repeatForever to 1. This fixes all of
1999-07-28  Miguel de Icaza  <miguel@gnu.org>

	* calendar-pilot-sync.c: (sync_object_to_pilot): If the enddate is
	not set, set the repeatForever to 1.  This fixes all of the
	birthdays problems I had.

svn path=/trunk/; revision=1042
1999-07-29 16:24:16 +00:00
cabedf4da9 Make the code not take arguments (sync_cal_to_pilot): Nice event update
1999-07-28  Miguel de Icaza  <miguel@gnu.org>

	* calendar-pilot-sync.c: Make the code not take arguments
	(sync_cal_to_pilot): Nice event update information

	* calendar.c (calendar_new): Add Event UID hash table.
	(calendar_add_object): Add events to the hash table here.
	(calendar_remove_object): Remove events here.
	(calendar_object_find_event): Use the hash table here.

	* main.c (save_calendar_cmd): The object is already destroyed by
	gnome_dialog_run.

	* calendar-pilot-sync.c (sync_object_to_pilot): Do not turn
	archived bit on.

svn path=/trunk/; revision=1041
1999-07-29 04:25:08 +00:00
094deb7bca Lots of more work on the sync stuff. It works pretty well now.
Lots of more work on the sync stuff.  It works pretty well now.

I dont know why my pilot is not accepting the events I send to it though

Miguel.

svn path=/trunk/; revision=1040
1999-07-29 00:26:11 +00:00
c2c3a8ce6a Add the missing files -miguel
svn path=/trunk/; revision=1039
1999-07-28 15:12:12 +00:00
e49e9cc175 New file. Implements PalmPilot syncronization with the Gnome Calendar.
1999-07-28  Miguel de Icaza  <miguel@gnu.org>

	* calendar-pilot-sync.c: New file.  Implements PalmPilot
	syncronization with the Gnome Calendar.

1999-07-27  Miguel de Icaza  <miguel@gnu.org>

	* calobj.c (ical_object_new_from_string): New function.  Creates
	an iCalObject from a vCalendar string that is supposed to contain
	only one vEvent.

	* calendar.c:
	(calendar_save): Split this routine in two.

	* gnome-cal.c (gnome_calendar_new): Create the corba server here.

	* main.c: Include gnorba.h, and corba-cal-factory.h here
	(close_cmd): Kill the calendar server on shutdown.

	* calobj.c (load_recur_yearly_day): Added a fixme comment.  WE
	need to handle intervals in the years.

	* calendar.c (calendar_object_find_in_list, calendar_object_find,
	calendar_object_find_todo, calendar_object_find_event): New
	functions for looking up information.

	* main.c (gnome_calendar_locate): New function.

	* corba-cal.c (calendar_create_object): New file.  Implements the
	corba server.

	* calendar.c (calendar_object_changed): Flag pilot-status as changed.

	* calobj.c (ical_object_to_vobject): Save pilot information for syncing.
	(ical_object_create_from_vobject): Load syncing information for
	pilot.  Do it in a way compatible with KOrganizer.

1999-07-26  Miguel de Icaza  <miguel@gnu.org>

	* calobj.c (ical_object_create_from_vobject): Generate unique IDs
	on Vevents we load that lack it.  WE need this for the old
	gnome calendar generated files (ie, before now :-).

svn path=/trunk/; revision=1038
1999-07-28 08:41:12 +00:00
8120715805 Generate unique IDs on Vevents we load that lack it. WE need this for the
1999-07-26  Miguel de Icaza  <miguel@gnu.org>

	* calobj.c (ical_object_create_from_vobject): Generate unique IDs
	on Vevents we load that lack it.  WE need this for the old
	gnome calendar generated files (ie, before now :-).

	Required to sync with the Palm

svn path=/trunk/; revision=1037
1999-07-26 23:06:35 +00:00
c1ff2cca41 Fix popt i18n: AC_CHECK_FUNCS(dgettext) Make libgnomeui popt table set the
Fix popt i18n:
	AC_CHECK_FUNCS(dgettext)
	Make libgnomeui popt table set the intl domain.

svn path=/trunk/; revision=1033
1999-07-26 21:45:04 +00:00
bfc53ad061 Handle the 'Z' parameter to the ISO date format to convert from GMT time.
1999-07-19  Matt Martin <matt@abacusnet.net>

	* timeutil.c (time_from_isodate): Handle the 'Z' parameter to the
	ISO date format to convert from GMT time.

svn path=/trunk/; revision=1030
1999-07-19 07:17:32 +00:00
19e315ed06 Copy the new UID into the iCalObject structure.
1999-07-17  Nat Friedman  <nat@gnome-support.com>

	* calendar.c (calendar_add_object): Copy the new UID into the
 	iCalObject structure.

svn path=/trunk/; revision=1029
1999-07-18 18:53:19 +00:00
986ec88206 Merge fix from gnome-pim-1-0: Fixed cut&paste bug for day fontsets.
1999-07-16  Miguel de Icaza  <miguel@gnu.org>

	* gnome-month-item.c (gnome_month_item_set_arg): Merge fix from
	gnome-pim-1-0: Fixed cut&paste bug for day fontsets.

svn path=/trunk/; revision=1028
1999-07-16 19:42:30 +00:00
e1c1c85819 Changed gnome-pim.keys to use the --file flag
Changed gnome-pim.keys to use the --file flag

1999-07-14  Miguel de Icaza  <miguel@gnu.org>

        * calobj.c (ical_gen_uid): Returns a UID.
        (ical_object_new): Use a UID when creating an event.  Should get
        syncing done easier.

1999-07-14  Nicholas J Kreucher <nick@poetic.com>

        * calobj.c (skip_numbers): Actually skip over the numbers.
        (ical_object_to_vobject): Test the proper variable for storing the
        proper information.

svn path=/trunk/; revision=1027
1999-07-16 19:15:34 +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
68f3afb7a2 - Disable insert/delete row/column that would split an array-formula
- Enable cut/copy/paste for array formulas.
- Fix multi-line cell drawing & whitespace issues.
- Change the default column width & grid colour to more closely match XL
- Add the edit popup menu in the row/col headers
- Short circuit the insert/delete dialogs to directly insert/delete when
  an entire row/column is selected.

svn path=/trunk/; revision=1023
1999-07-11 13:42:32 +00:00
b4aa097dc3 Add a comment to show how to get gtk 1.2 and glib 1.2 from cvs
svn path=/trunk/; revision=1013
1999-07-08 12:53:53 +00:00
5b4c07ffde fix'em bugs.
fix'em bugs.

svn path=/trunk/; revision=1008
1999-07-06 21:42:02 +00:00
535718bfa6 Forbid compiling gnome with gtk 1.3 as it doesn't work
svn path=/trunk/; revision=1007
1999-07-06 18:46:29 +00:00
f34b65450d Make "extra library" message slightly easier to read.
* gnome.m4: Make "extra library" message slightly easier to read.

svn path=/trunk/; revision=1006
1999-07-06 00:07:58 +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
0e4983d6b9 give -Wunused to gcc instead of -Wno-unused.
Sat Jun 26 01:47:53 1999  Tim Janik  <timj@gtk.org>

        * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused.

svn path=/trunk/; revision=996
1999-06-25 23:54:26 +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
d953c8fd58 Add WITH_SMBFS
1999-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* acconfig.h: Add WITH_SMBFS

	* macros/gnome-vfs.m4: Support conditional samba support.

1999-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gsession.c (create_default_panel): Use directory specified in
	command line.

	* gcorba.c (corba_create_window): Pass the directory we receive or
	cwd if this value is NULL.

	* gmain.c (non_corba_create_panels): Use parameter for startup
	directory (use the this_dir external directory for this).
	(create_panels): Pass this_dsir to non_corba_create_panels and
	corba_create_window.

svn path=/trunk/; revision=988
1999-06-22 21:02:30 +00:00
7e81511e61 Give an error when an attempt is made to move an empty directory into
1999-06-01  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* file.c (move_dir_dir): Give an error when an attempt is made to
	move an empty directory into itself.

1999-06-14  Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>

	* vfs/smbfs.c: New file.  Implements the Samba-based file system.

	* vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.

	* vfs/vfs.c (vfs_file_is_smb): implemented.
	(vfs_init) register smbfs.

	* vfs/samba: Incorporate SAMBA source code required for smbfs

1999-05-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Make.common.in (confdir): Define confdir as sysconfdir.  This
	should fix the problem we had with FSSTND distributions.

svn path=/trunk/; revision=987
1999-06-22 19:56:47 +00:00
272857c73c Tell ktime' that we don't know about daylight saving time so that it does
1999-06-07  Mike McEwan  <mike@lotusland.demon.co.uk>

        * timeutil.c (time_add_month): Tell ktime' that we don't know
        about daylight saving time so that it does *not* make adjustments
        when we traverse a DST boundary.
        (time_year_begin): ditto.
        (time_year_end): ditto.
        (time_month_begin): ditto.
        (time_month_end): ditto.

svn path=/trunk/; revision=986
1999-06-22 17:50:04 +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
1703ec52d7 added my mail
svn path=/trunk/; revision=982
1999-06-21 11:21:53 +00:00
19a118096f Commit of all Netherlands changes.
All mime stuff uses streams now, and it still works.

Bertrand

svn path=/trunk/; revision=981
1999-06-18 20:32:18 +00:00