Commit Graph

16 Commits

Author SHA1 Message Date
619f8c41a3 Re-added libversit stuff.
svn path=/trunk/; revision=16566
2002-04-23 16:44:41 +00:00
5a9fd18e87 Moved libversit to a separate module.
svn path=/trunk/; revision=16565
2002-04-23 16:39:31 +00:00
2a6e7401b2 Darwin/OS X portability from Max Horn <max@quendi.de>
* libversit/vcc.y: Remove #include <malloc.h>.

	* libversit/vobject.c: Likewise, and #include <stdlib.h>

svn path=/trunk/; revision=16308
2002-04-01 16:29:14 +00:00
4a54ffc858 Christian: Fix linker errors on SGI IRIX 6.5 by not using libtool for
* libversit/Makefile.am:
	* gncal/Makefile.am:
	* gnomecard/Makefile.am:
	Christian: Fix linker errors on SGI IRIX 6.5 by not using libtool
	for libversit.a. (Bugzilla #61031) -rpath removal and some small
	cleanups by me.

	* gncal/corba-cal-factory.c: (init_corba_server, unregister_calendar_services):
	Christian: Fix startup crashes.

	* gncal/calobj.c: (ical_object_to_vobject):
	Christian: Don't save dtend if it's 0 (i.e. the epoch 1970-01-01
	00:00). Partly addresses Bugzilla #6058.

	* gncal/calendar.c: (calendar_open):
	Store errno privately so that the displayed error message is correct.

	* gncal/gncal-week-view.c: (gncal_week_view_set):
	Put %W time format string in week_end part, since otherwise we get
	problems when the week start is set to Sunday. Also use %V instead
	of %W to get the ISO week number, instead of the C week number.
	This makes the week number consistent with the one from GtkCalendar.

	* libversit/vcc.y:
	Christian: Fix a problem with locale-dependent string comparisons.
	(Bugzilla #64801)

svn path=/trunk/; revision=16114
2002-03-12 00:41:53 +00:00
2e156596a6 Changed buf to an int here. (lexGetQuotedPrintable): Changed cur to an int
2001-06-19  Christopher James Lahey  <clahey@ximian.com>

	* libversit/vcc.y (LexBuf): Changed buf to an int here.
	(lexGetQuotedPrintable): Changed cur to an int here.

svn path=/trunk/; revision=10292
2001-06-19 16:58:09 +00:00
62d28aab75 Changed int to char when returning a character from a stream (since it
2001-03-09  Christopher James Lahey  <clahey@ximian.com>

	* libversit/vcc.y: Changed int to char when returning a character
	from a stream (since it needs to be able to hold EOF.)

svn path=/trunk/; revision=8617
2001-03-09 19:34:30 +00:00
34766a085c Fixed some warnings. Fixed a bug where quoted printable fields were
2000-09-22  Christopher James Lahey  <clahey@helixcode.com>

	* libversit/vcc.y: Fixed some warnings.  Fixed a bug where quoted
	printable fields were reading in semi-colons that should have been
	field separators.

From addressbook/ChangeLog:

2000-09-22  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card.c: Made addresses be quoted printable again
	so that they will encode properly if they have carriage returns in
	them.  This is possible now because of a fix in libversit.

svn path=/trunk/; revision=5550
2000-09-22 15:49:21 +00:00
608783a45d call finiLex in error case to avoid a memleak.
svn path=/trunk/; revision=2895
2000-05-08 02:15:36 +00:00
257a9db4f3 Fix off by one error.
svn path=/trunk/; revision=2877
2000-05-07 18:28:47 +00:00
7bbcabbc1e New function (borrowed from Korganizer's libversit code) to combine
2000-03-28  Russell Steinthal  <rms39@columbia.edu>

	* libversit/vcc.y (appendValue): New function (borrowed from
	Korganizer's libversit code) to combine semicolon-separated
	multiple-value properties into one long semicolon-delimited string
	(which can then be parsed by the application code).  This works
	around a bug in libversit by which multiple values would overwrite
	each other.

NOTE: This change seems to work, but could use as much testing as possible
before GNOME 1.2 (and gnome-pim 1.2) is released....  Hopefully, this fixes the multiple CATEGORIES bug I've been complaining about for the last few weeks.

svn path=/trunk/; revision=2237
2000-03-29 02:03:51 +00:00
9764088cda Removed the VFS crap; my mistake, it should not go here.
2000-01-21  Federico Mena Quintero  <federico@helixcode.com>

	* libversit/vcc.y: Removed the VFS crap; my mistake, it should not
	go here.

	* configure.in: Added yacc requirements for libversit.

svn path=/trunk/; revision=1603
2000-01-21 22:38:57 +00:00
6cfc31750d Libversit / VFS work - Federico
svn path=/trunk/; revision=1601
2000-01-21 08:28:09 +00:00
b035a84ceb When finding a colon, the lex consumed all line separators, making it
* libversit/vcc.y (yylex): When finding a colon, the lex consumed all
	line separators, making it impossible to have empty values (bug 1260).

Arturo

svn path=/trunk/; revision=1324
1999-10-11 11:03:39 +00:00
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
c5cb76042a Changed a sprintf to a snprintf in vcc.y
Should vcc.c be under CVS control? I thought it was a derived file.

This fixes gnomecard segfaulting when it tried to load a non-existant
file on startup.

Dr Mike <msf@redhat.com>

svn path=/trunk/; revision=466
1998-11-07 21:29:05 +00:00
4750b90ad1 GnomeCalendar toplevel GnomeApp; versit code -mig
svn path=/trunk/; revision=89
1998-04-02 02:18:42 +00:00