Commit Graph

3737 Commits

Author SHA1 Message Date
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
499ae51b86 Fixing a segfault when gnomecal is started with --hidden
svn path=/trunk/; revision=980
1999-06-15 22:25:15 +00:00
4fcef82e38 another nederlands sync
svn path=/trunk/; revision=979
1999-06-15 11:50:48 +00:00
8050e311c1 tmp sync. Does ot even compile
svn path=/trunk/; revision=978
1999-06-14 12:50:58 +00:00
a29ed28dd0 Chut \!
svn path=/trunk/; revision=977
1999-06-12 15:05:33 +00:00
d66280f75e Make -lqthreads be detected by qt_null, not main - now works on Debian
svn path=/trunk/; revision=973
1999-06-11 07:42:06 +00:00
74bdf9af06 updated spanish & walon languages.
modified eventedit.c so that "Every" is remplaced by "d_Every",
"w_Every", "m_Every" and "y_Every", and can be correctly translated
for those languages where it follows gender of the name it refers to.
the 2 leading bytes should be kept; they are stripped at display

svn path=/trunk/; revision=972
1999-06-08 15:46:43 +00:00
229005f6b1 Fix abort() problem with the year view. (Bug #1367). Thanks to Owen Cliffe
1999-06-04  Robert Brady  <rwb197@ecs.soton.ac.uk>

	* gnome-cal.h, gnome-cal.c: Fix abort() problem with the year view.
	(Bug #1367). Thanks to Owen Cliffe <oc197@ecs.soton.ac.uk> for
	helping track it down.

svn path=/trunk/; revision=971
1999-06-06 03:55:58 +00:00
3b1fe766a8 Todo and explanations. Work in progress for Nat and Miguel
svn path=/trunk/; revision=970
1999-06-03 22:13:06 +00:00
884efbf2a9 One line bug fix from Sergey I Panov.
1999-06-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* calobj.c (daynumberlist): One line bug fix from Sergey I Panov.

svn path=/trunk/; revision=969
1999-06-03 19:03:20 +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
0f8a086d18 Use %H instead of %k, as %k is a GNU extension, not available in other
1999-06-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU
	extension, not available in other systems.

svn path=/trunk/; revision=966
1999-06-02 19:49:59 +00:00
cefae1e382 Added title and author details per Nat Friedman's request.
svn path=/trunk/; revision=965
1999-06-02 05:45:41 +00:00
6e69549ec4 *** empty log message ***
svn path=/trunk/; revision=964
1999-06-02 04:37:17 +00:00
30d70369cb Work around broken software that writes a broken month-of-day as "zero".
1999-06-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* calobj.c (daynumberlist): Work around broken software that
	writes a broken month-of-day as "zero".  Use the dtstart date for
	this on this event.

svn path=/trunk/; revision=963
1999-06-02 01:12:20 +00:00
2d2497b7d7 help files be gone. They are now installed from the Docbook stuff.
1999-05-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Makefile.am (install-data-local): help files be gone.  They are
	now installed from the Docbook stuff.

svn path=/trunk/; revision=962
1999-05-31 18:07:18 +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
d32ba2a70a sync
svn path=/trunk/; revision=959
1999-05-30 14:02:36 +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