zzjson-svnlog Mailing List for zzjson, a lightweight JSON library
Brought to you by:
ivovp
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(54) |
Jul
|
Aug
(10) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(12) |
Sep
|
Oct
|
Nov
(5) |
Dec
|
| 2012 |
Jan
(5) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <iv...@us...> - 2012-03-05 15:07:36
|
Revision: 92
http://zzjson.svn.sourceforge.net/zzjson/?rev=92&view=rev
Author: ivovp
Date: 2012-03-05 15:07:27 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
add some space
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2012-03-05 15:05:33 UTC (rev 91)
+++ website/index.html 2012-03-05 15:07:27 UTC (rev 92)
@@ -28,7 +28,9 @@
Download Source Code</a><br/>
</div>
<div>
+ <p>
<a href="http://sourceforge.net/donate/index.php?group_id=230451"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /></a>
+ </p>
</div>
</div>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-03-05 15:05:43
|
Revision: 91
http://zzjson.svn.sourceforge.net/zzjson/?rev=91&view=rev
Author: ivovp
Date: 2012-03-05 15:05:33 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
no text for support link
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2012-03-05 14:59:52 UTC (rev 90)
+++ website/index.html 2012-03-05 15:05:33 UTC (rev 91)
@@ -28,7 +28,7 @@
Download Source Code</a><br/>
</div>
<div>
- <a href="http://sourceforge.net/donate/index.php?group_id=230451"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" />Support This Project</a>
+ <a href="http://sourceforge.net/donate/index.php?group_id=230451"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /></a>
</div>
</div>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-03-05 15:00:02
|
Revision: 90
http://zzjson.svn.sourceforge.net/zzjson/?rev=90&view=rev
Author: ivovp
Date: 2012-03-05 14:59:52 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
donate button
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2012-01-24 22:01:10 UTC (rev 89)
+++ website/index.html 2012-03-05 14:59:52 UTC (rev 90)
@@ -27,6 +27,9 @@
<a href="https://sourceforge.net/project/showfiles.php?group_id=230451">
Download Source Code</a><br/>
</div>
+ <div>
+ <a href="http://sourceforge.net/donate/index.php?group_id=230451"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" />Support This Project</a>
+ </div>
</div>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-01-24 22:01:21
|
Revision: 89
http://zzjson.svn.sourceforge.net/zzjson/?rev=89&view=rev
Author: ivovp
Date: 2012-01-24 22:01:10 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
update year
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2012-01-24 22:00:19 UTC (rev 88)
+++ website/index.html 2012-01-24 22:01:10 UTC (rev 89)
@@ -14,7 +14,7 @@
<img src="logo.png" alt="zzjson"/>
<div style="font-family: sans-serif; font-size: 14px;">
<p>
- Copyright © 2008-2009 by Ivo van Poorten
+ Copyright © 2008-2012 by Ivo van Poorten
</p>
<a href="http://sourceforge.net/projects/zzjson/">
SourceForge Project Page</a><br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-01-24 22:00:28
|
Revision: 88
http://zzjson.svn.sourceforge.net/zzjson/?rev=88&view=rev
Author: ivovp
Date: 2012-01-24 22:00:19 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
update year
Modified Paths:
--------------
trunk/README
trunk/src/zzjson_parse.c
Modified: trunk/README
===================================================================
--- trunk/README 2012-01-24 21:59:30 UTC (rev 87)
+++ trunk/README 2012-01-24 22:00:19 UTC (rev 88)
@@ -1,4 +1,4 @@
-zzjson - Copyright (C) 2008-2009 by Ivo van Poorten
+zzjson - Copyright (C) 2008-2012 by Ivo van Poorten
zzjson is licensed under the GNU Lesser General Public License, version 2.1.
See LICENSE file for details.
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2012-01-24 21:59:30 UTC (rev 87)
+++ trunk/src/zzjson_parse.c 2012-01-24 22:00:19 UTC (rev 88)
@@ -1,5 +1,5 @@
/* JSON Parser
- * ZZJSON - Copyright (C) 2008-2009 by Ivo van Poorten
+ * ZZJSON - Copyright (C) 2008-2012 by Ivo van Poorten
* License: GNU Lesser General Public License version 2.1
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-01-24 21:59:36
|
Revision: 87
http://zzjson.svn.sourceforge.net/zzjson/?rev=87&view=rev
Author: ivovp
Date: 2012-01-24 21:59:30 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
update changelog
Modified Paths:
--------------
trunk/ChangeLog
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2012-01-24 21:53:36 UTC (rev 86)
+++ trunk/ChangeLog 2012-01-24 21:59:30 UTC (rev 87)
@@ -1,3 +1,8 @@
+1.1.1
+-----
+* fix parse_literal() argument to const char *s
+* source ./config.sh instead of plain config.sh
+
1.1.0
-----
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-01-24 21:53:42
|
Revision: 86
http://zzjson.svn.sourceforge.net/zzjson/?rev=86&view=rev
Author: ivovp
Date: 2012-01-24 21:53:36 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
stricter type for parse_literal. change char *s to const char *s
Modified Paths:
--------------
trunk/src/zzjson_parse.c
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2012-01-24 21:34:27 UTC (rev 85)
+++ trunk/src/zzjson_parse.c 2012-01-24 21:53:36 UTC (rev 86)
@@ -232,7 +232,7 @@
return zzjson;
}
-static ZZJSON *parse_literal(ZZJSON_CONFIG *config, char *s, ZZJSON_TYPE t) {
+static ZZJSON *parse_literal(ZZJSON_CONFIG *config, const char *s, ZZJSON_TYPE t) {
char b[strlen(s)+1];
unsigned int i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2012-01-24 21:34:37
|
Revision: 85
http://zzjson.svn.sourceforge.net/zzjson/?rev=85&view=rev
Author: ivovp
Date: 2012-01-24 21:34:27 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
source ./config.sh instead of plain config.sh
Modified Paths:
--------------
trunk/buildexamples.sh
trunk/buildshared.sh
trunk/buildstatic.sh
trunk/buildtest.sh
trunk/clean.sh
trunk/install.sh
trunk/makedist.sh
Modified: trunk/buildexamples.sh
===================================================================
--- trunk/buildexamples.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/buildexamples.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
COMMON="$INCLUDES $LIBS $WARN $DEFINES -D_SVID_SOURCE"
Modified: trunk/buildshared.sh
===================================================================
--- trunk/buildshared.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/buildshared.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
create_lib() {
execute rm -f $LIBSO $LIBSOV
Modified: trunk/buildstatic.sh
===================================================================
--- trunk/buildstatic.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/buildstatic.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
create_lib() {
execute rm -f $LIBA $LIBAV
Modified: trunk/buildtest.sh
===================================================================
--- trunk/buildtest.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/buildtest.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
EXEBASE=zzjson_test
Modified: trunk/clean.sh
===================================================================
--- trunk/clean.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/clean.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
echo "*** cleaning up"
echo
Modified: trunk/install.sh
===================================================================
--- trunk/install.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/install.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
PREFIX=${PREFIX:-/usr/local}
DESTDIR=${DESTDIR:-}
Modified: trunk/makedist.sh
===================================================================
--- trunk/makedist.sh 2009-11-17 20:03:38 UTC (rev 84)
+++ trunk/makedist.sh 2012-01-24 21:34:27 UTC (rev 85)
@@ -1,6 +1,6 @@
#! /bin/sh
-. config.sh
+. ./config.sh
BASEURL=https://zzjson.svn.sourceforge.net/svnroot/zzjson/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-11-17 20:03:44
|
Revision: 84
http://zzjson.svn.sourceforge.net/zzjson/?rev=84&view=rev
Author: ivovp
Date: 2009-11-17 20:03:38 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
increase subminor for next release
Modified Paths:
--------------
trunk/include/zzjson.h
Modified: trunk/include/zzjson.h
===================================================================
--- trunk/include/zzjson.h 2009-11-17 19:58:24 UTC (rev 83)
+++ trunk/include/zzjson.h 2009-11-17 20:03:38 UTC (rev 84)
@@ -1,4 +1,4 @@
-/* ZZJSON - Copyright (C) 2008 by Ivo van Poorten
+/* ZZJSON - Copyright (C) 2008-2009 by Ivo van Poorten
* License: GNU Lesser General Public License version 2.1
*/
#ifndef ZZJSON_H
@@ -10,9 +10,9 @@
#define ZZJSON_VERSION_MAJOR 1
#define ZZJSON_VERSION_MINOR 1
-#define ZZJSON_VERSION_MICRO 0
-#define ZZJSON_VERSION_INT ( 1<<16 | 1<<8 | 0 )
-#define ZZJSON_IDENT "zzjson 1.1.0"
+#define ZZJSON_VERSION_MICRO 1
+#define ZZJSON_VERSION_INT ( 1<<16 | 1<<8 | 1 )
+#define ZZJSON_IDENT "zzjson 1.1.1"
/* Defines: */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-11-17 19:58:31
|
Revision: 83
http://zzjson.svn.sourceforge.net/zzjson/?rev=83&view=rev
Author: ivovp
Date: 2009-11-17 19:58:24 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
tag 1.1.0 release
Added Paths:
-----------
tags/1.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-11-17 19:57:26
|
Revision: 82
http://zzjson.svn.sourceforge.net/zzjson/?rev=82&view=rev
Author: ivovp
Date: 2009-11-17 19:57:18 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
create release branch
Added Paths:
-----------
branches/1.1.0/
Property changes on: branches/1.1.0
___________________________________________________________________
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-11-17 19:41:54
|
Revision: 81
http://zzjson.svn.sourceforge.net/zzjson/?rev=81&view=rev
Author: ivovp
Date: 2009-11-17 19:41:46 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
update
Modified Paths:
--------------
trunk/ChangeLog
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-11-17 19:38:24 UTC (rev 80)
+++ trunk/ChangeLog 2009-11-17 19:41:46 UTC (rev 81)
@@ -4,6 +4,7 @@
* fixed symlinks in subsequent builds
* added c-style comments support, plus test in testsuite
[based on code submitted by Kjetil Oftedal]
+* fixed detection of gnu cc
1.0.1
-----
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-11-17 19:38:34
|
Revision: 80
http://zzjson.svn.sourceforge.net/zzjson/?rev=80&view=rev
Author: ivovp
Date: 2009-11-17 19:38:24 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
better check for gnu cc
Modified Paths:
--------------
trunk/config.sh
Modified: trunk/config.sh
===================================================================
--- trunk/config.sh 2009-08-16 01:12:05 UTC (rev 79)
+++ trunk/config.sh 2009-11-17 19:38:24 UTC (rev 80)
@@ -27,7 +27,7 @@
OPTMAX="-O3"
WARN="-W -Wall"
-if test "`$CC --version 2>&1 | grep -qi gcc && echo gcc`" = gcc ; then
+if test "`$CC -v 2>&1 | grep -qi ^gcc && echo gcc`" = gcc ; then
echo "gnu compiler"
DEBUG="-g3"
OPTSIZ="-Os -DCONFIG_NO_ERROR_MESSAGES"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 01:12:14
|
Revision: 79
http://zzjson.svn.sourceforge.net/zzjson/?rev=79&view=rev
Author: ivovp
Date: 2009-08-16 01:12:05 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
add link to 1.1.x API
update all links to new mediawiki
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2009-08-16 00:50:48 UTC (rev 78)
+++ website/index.html 2009-08-16 01:12:05 UTC (rev 79)
@@ -18,10 +18,12 @@
</p>
<a href="http://sourceforge.net/projects/zzjson/">
SourceForge Project Page</a><br/>
- <a href="http://zzjson.wiki.sourceforge.net/">
+ <a href="http://sourceforge.net/apps/mediawiki/zzjson/index.php?title=Main_Page">
Wiki</a><br/>
- <a href="http://zzjson.wiki.sourceforge.net/API+Documentation+%28version+1.0.x%29">
- API Documentation</a><br/>
+ <a href="http://sourceforge.net/apps/mediawiki/zzjson/index.php?title=API_Documentation_(version_1.1.x)">
+ API Documentation (version 1.1.x)</a><br/>
+ <a href="http://sourceforge.net/apps/mediawiki/zzjson/index.php?title=API_Documentation_(version_1.0.x)">
+ API Documentation (version 1.0.x)</a><br/>
<a href="https://sourceforge.net/project/showfiles.php?group_id=230451">
Download Source Code</a><br/>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:50:55
|
Revision: 78
http://zzjson.svn.sourceforge.net/zzjson/?rev=78&view=rev
Author: ivovp
Date: 2009-08-16 00:50:48 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
new year
Modified Paths:
--------------
website/index.html
Modified: website/index.html
===================================================================
--- website/index.html 2009-08-16 00:50:18 UTC (rev 77)
+++ website/index.html 2009-08-16 00:50:48 UTC (rev 78)
@@ -14,7 +14,7 @@
<img src="logo.png" alt="zzjson"/>
<div style="font-family: sans-serif; font-size: 14px;">
<p>
- Copyright © 2008 by Ivo van Poorten
+ Copyright © 2008-2009 by Ivo van Poorten
</p>
<a href="http://sourceforge.net/projects/zzjson/">
SourceForge Project Page</a><br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:50:26
|
Revision: 77
http://zzjson.svn.sourceforge.net/zzjson/?rev=77&view=rev
Author: ivovp
Date: 2009-08-16 00:50:18 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
new year
Modified Paths:
--------------
trunk/README
Modified: trunk/README
===================================================================
--- trunk/README 2009-08-16 00:49:38 UTC (rev 76)
+++ trunk/README 2009-08-16 00:50:18 UTC (rev 77)
@@ -1,4 +1,4 @@
-zzjson - Copyright (C) 2008 by Ivo van Poorten
+zzjson - Copyright (C) 2008-2009 by Ivo van Poorten
zzjson is licensed under the GNU Lesser General Public License, version 2.1.
See LICENSE file for details.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:49:45
|
Revision: 76
http://zzjson.svn.sourceforge.net/zzjson/?rev=76&view=rev
Author: ivovp
Date: 2009-08-16 00:49:38 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
it's a new year for quite some time
Modified Paths:
--------------
trunk/src/zzjson_parse.c
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2009-08-16 00:48:49 UTC (rev 75)
+++ trunk/src/zzjson_parse.c 2009-08-16 00:49:38 UTC (rev 76)
@@ -1,5 +1,5 @@
/* JSON Parser
- * ZZJSON - Copyright (C) 2008 by Ivo van Poorten
+ * ZZJSON - Copyright (C) 2008-2009 by Ivo van Poorten
* License: GNU Lesser General Public License version 2.1
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:48:56
|
Revision: 75
http://zzjson.svn.sourceforge.net/zzjson/?rev=75&view=rev
Author: ivovp
Date: 2009-08-16 00:48:49 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
cosmetics
Modified Paths:
--------------
trunk/src/zzjson_parse.c
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2009-08-16 00:47:33 UTC (rev 74)
+++ trunk/src/zzjson_parse.c 2009-08-16 00:48:49 UTC (rev 75)
@@ -29,8 +29,7 @@
static ZZJSON *parse_object(ZZJSON_CONFIG *config);
static void skipws(ZZJSON_CONFIG *config) {
- int d;
- int c = GETC();
+ int d, c = GETC();
morews:
while (isspace(c)) c = GETC();
if (!ALLOW_COMMENTS) goto endws;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:47:41
|
Revision: 74
http://zzjson.svn.sourceforge.net/zzjson/?rev=74&view=rev
Author: ivovp
Date: 2009-08-16 00:47:33 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
fix endless loop for non-terminated comments
Modified Paths:
--------------
trunk/src/zzjson_parse.c
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2009-08-16 00:46:25 UTC (rev 73)
+++ trunk/src/zzjson_parse.c 2009-08-16 00:47:33 UTC (rev 74)
@@ -39,7 +39,10 @@
if (d != '*') goto endws; /* pushing back c will generate a parse error */
c = GETC();
morecomments:
- while (c != '*') c = GETC();
+ while (c != '*') {
+ if (c == EOF) goto endws;
+ c = GETC();
+ }
c = GETC();
if (c != '/') goto morecomments;
c = GETC();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:46:39
|
Revision: 73
http://zzjson.svn.sourceforge.net/zzjson/?rev=73&view=rev
Author: ivovp
Date: 2009-08-16 00:46:25 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
add neverending comment
Modified Paths:
--------------
trunk/test/fail34.json
Modified: trunk/test/fail34.json
===================================================================
--- trunk/test/fail34.json 2009-08-16 00:40:41 UTC (rev 72)
+++ trunk/test/fail34.json 2009-08-16 00:46:25 UTC (rev 73)
@@ -18,4 +18,4 @@
"one" : { "burp":123, "two" : { "three" : "hello" } }
/* comment */
- } /*end*/
+ } /* neverending comment....
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:40:49
|
Revision: 72
http://zzjson.svn.sourceforge.net/zzjson/?rev=72&view=rev
Author: ivovp
Date: 2009-08-16 00:40:41 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
update changelog, ready for new release
Modified Paths:
--------------
trunk/ChangeLog
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-08-16 00:40:18 UTC (rev 71)
+++ trunk/ChangeLog 2009-08-16 00:40:41 UTC (rev 72)
@@ -1,3 +1,10 @@
+1.1.0
+-----
+
+* fixed symlinks in subsequent builds
+* added c-style comments support, plus test in testsuite
+ [based on code submitted by Kjetil Oftedal]
+
1.0.1
-----
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:40:26
|
Revision: 71
http://zzjson.svn.sourceforge.net/zzjson/?rev=71&view=rev
Author: ivovp
Date: 2009-08-16 00:40:18 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
bump minor, API changed
Modified Paths:
--------------
trunk/include/zzjson.h
Modified: trunk/include/zzjson.h
===================================================================
--- trunk/include/zzjson.h 2009-08-16 00:36:57 UTC (rev 70)
+++ trunk/include/zzjson.h 2009-08-16 00:40:18 UTC (rev 71)
@@ -9,10 +9,10 @@
/* Version: */
#define ZZJSON_VERSION_MAJOR 1
-#define ZZJSON_VERSION_MINOR 0
-#define ZZJSON_VERSION_MICRO 2
-#define ZZJSON_VERSION_INT ( 1<<16 | 0<<8 | 2 )
-#define ZZJSON_IDENT "zzjson 1.0.2"
+#define ZZJSON_VERSION_MINOR 1
+#define ZZJSON_VERSION_MICRO 0
+#define ZZJSON_VERSION_INT ( 1<<16 | 1<<8 | 0 )
+#define ZZJSON_IDENT "zzjson 1.1.0"
/* Defines: */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:37:08
|
Revision: 70
http://zzjson.svn.sourceforge.net/zzjson/?rev=70&view=rev
Author: ivovp
Date: 2009-08-16 00:36:57 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
fail, unless ALLOW_COMMENTS is enabled
Added Paths:
-----------
trunk/test/fail34.json
Added: trunk/test/fail34.json
===================================================================
--- trunk/test/fail34.json (rev 0)
+++ trunk/test/fail34.json 2009-08-16 00:36:57 UTC (rev 70)
@@ -0,0 +1,21 @@
+/* start with comment */ {
+ "jean-luc" : /* another comment */ null,
+ "william t." /**/: "hello",
+ "geordi" : { "een" : "one", "twee" : "two" },
+ "beverly" : "wesley",
+/* multi
+ line
+ comment */
+ "bar" : -17E-66,
+ "number" : -1234,
+ "foo" : 12.2e+15,
+ "bla" : 3.1415,
+ "snafu" : 2345,
+ "number" : -1234,
+ "array":[ "dit", "is",
+
+ "een", "array" ],
+ "one" : { "burp":123, "two" : { "three" : "hello" } }
+ /* comment */
+
+ } /*end*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:36:29
|
Revision: 69
http://zzjson.svn.sourceforge.net/zzjson/?rev=69&view=rev
Author: ivovp
Date: 2009-08-16 00:36:20 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
new option to allow c-style comments during whitespace sequences
based on code submitted by Kjetil Oftedal (o f t e d a l AT gmail )
Modified Paths:
--------------
trunk/include/zzjson.h
trunk/src/zzjson_parse.c
Modified: trunk/include/zzjson.h
===================================================================
--- trunk/include/zzjson.h 2009-08-16 00:32:38 UTC (rev 68)
+++ trunk/include/zzjson.h 2009-08-16 00:36:20 UTC (rev 69)
@@ -20,6 +20,7 @@
#define ZZJSON_ALLOW_ILLEGAL_ESCAPE 2
#define ZZJSON_ALLOW_CONTROL_CHARS 4
#define ZZJSON_ALLOW_GARBAGE_AT_END 8
+#define ZZJSON_ALLOW_COMMENTS 16
#define ZZJSON_VERY_LOOSE (-1)
#define ZZJSON_VERY_STRICT 0
Modified: trunk/src/zzjson_parse.c
===================================================================
--- trunk/src/zzjson_parse.c 2009-08-16 00:32:38 UTC (rev 68)
+++ trunk/src/zzjson_parse.c 2009-08-16 00:36:20 UTC (rev 69)
@@ -7,6 +7,7 @@
#include <ctype.h>
#include <string.h>
#include <math.h>
+#include <stdio.h>
#define GETC() config->getchar(config->ihandle)
#define UNGETC(c) config->ungetchar(c, config->ihandle)
@@ -22,13 +23,28 @@
#define ALLOW_ILLEGAL_ESCAPE (config->strictness & ZZJSON_ALLOW_ILLEGAL_ESCAPE)
#define ALLOW_CONTROL_CHARS (config->strictness & ZZJSON_ALLOW_CONTROL_CHARS)
#define ALLOW_GARBAGE_AT_END (config->strictness & ZZJSON_ALLOW_GARBAGE_AT_END)
+#define ALLOW_COMMENTS (config->strictness & ZZJSON_ALLOW_COMMENTS)
static ZZJSON *parse_array(ZZJSON_CONFIG *config);
static ZZJSON *parse_object(ZZJSON_CONFIG *config);
static void skipws(ZZJSON_CONFIG *config) {
+ int d;
int c = GETC();
+morews:
while (isspace(c)) c = GETC();
+ if (!ALLOW_COMMENTS) goto endws;
+ if (c != '/') goto endws;
+ d = GETC();
+ if (d != '*') goto endws; /* pushing back c will generate a parse error */
+ c = GETC();
+morecomments:
+ while (c != '*') c = GETC();
+ c = GETC();
+ if (c != '/') goto morecomments;
+ c = GETC();
+ if (isspace(c) || c == '/') goto morews;
+endws:
UNGETC(c);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <iv...@us...> - 2009-08-16 00:32:51
|
Revision: 68
http://zzjson.svn.sourceforge.net/zzjson/?rev=68&view=rev
Author: ivovp
Date: 2009-08-16 00:32:38 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
force symlink creation on subsequent builds
Modified Paths:
--------------
trunk/buildshared.sh
trunk/buildstatic.sh
Modified: trunk/buildshared.sh
===================================================================
--- trunk/buildshared.sh 2008-11-23 23:17:22 UTC (rev 67)
+++ trunk/buildshared.sh 2009-08-16 00:32:38 UTC (rev 68)
@@ -11,7 +11,7 @@
execute $CC $NOLINK -o $j $CFLAGS $i
done
execute $CC $SHARED -o lib/$LIBSOV $k
- execute ln -s $LIBSOV lib/$LIBSO
+ execute ln -sf $LIBSOV lib/$LIBSO
}
LIBSO=${LIBBASE}$LIBSHAREDSUF
Modified: trunk/buildstatic.sh
===================================================================
--- trunk/buildstatic.sh 2008-11-23 23:17:22 UTC (rev 67)
+++ trunk/buildstatic.sh 2009-08-16 00:32:38 UTC (rev 68)
@@ -9,7 +9,7 @@
execute $CC $NOLINK -o $j $CFLAGS $i
execute $AR r lib/$LIBAV $j
done
- execute ln -s $LIBAV lib/$LIBA
+ execute ln -sf $LIBAV lib/$LIBA
}
LIBA=${LIBBASE}$LIBSTATICSUF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|