jansson.git
14 years agoFix json_set_error
Petri Lehtinen [Mon, 15 Jun 2009 19:30:52 +0000 (22:30 +0300)]
Fix json_set_error

Both error->line and error->text were set improperly, sigh.

14 years agoDon't use AM_MAINTAINER_MODE
Petri Lehtinen [Mon, 15 Jun 2009 19:30:17 +0000 (22:30 +0300)]
Don't use AM_MAINTAINER_MODE

14 years agoAdd TODO
Petri Lehtinen [Sun, 14 Jun 2009 07:33:20 +0000 (10:33 +0300)]
Add TODO

14 years agoFix a few memory leaks in json_parse_object()
Petri Lehtinen [Sat, 13 Jun 2009 19:54:57 +0000 (22:54 +0300)]
Fix a few memory leaks in json_parse_object()

14 years agoImplement json_load, json_loadf and json_loadfd
Petri Lehtinen [Sat, 13 Jun 2009 19:28:26 +0000 (22:28 +0300)]
Implement json_load, json_loadf and json_loadfd

14 years agostrbuffer_value: Return a read-only pointer rather than duplicating the value
Petri Lehtinen [Sat, 13 Jun 2009 19:26:45 +0000 (22:26 +0300)]
strbuffer_value: Return a read-only pointer rather than duplicating the value

14 years agostrbuffer: Allocate enough space for value initially
Petri Lehtinen [Sat, 13 Jun 2009 19:26:23 +0000 (22:26 +0300)]
strbuffer: Allocate enough space for value initially

14 years agoImplement strbuffer
Petri Lehtinen [Thu, 11 Jun 2009 05:56:11 +0000 (08:56 +0300)]
Implement strbuffer

String buffer (strbuffer) is an object that resizes automatically when
data is added to it. It was implemented by generalizing the technique
used in json_dumps().

14 years agoMove max() to util.h
Petri Lehtinen [Thu, 11 Jun 2009 05:54:40 +0000 (08:54 +0300)]
Move max() to util.h

14 years agoImplement json_dump and json_dumps
Petri Lehtinen [Tue, 9 Jun 2009 19:37:31 +0000 (22:37 +0300)]
Implement json_dump and json_dumps

14 years agoAdd autotools generated files to .gitignore
Petri Lehtinen [Sat, 16 May 2009 19:26:51 +0000 (22:26 +0300)]
Add autotools generated files to .gitignore

14 years agoImplement dumping to an fd
Petri Lehtinen [Sat, 16 May 2009 12:15:01 +0000 (15:15 +0300)]
Implement dumping to an fd

14 years agoRefactor error reporting
Petri Lehtinen [Wed, 13 May 2009 19:25:34 +0000 (22:25 +0300)]
Refactor error reporting

14 years agoUse autoconf, automake & libtool
Petri Lehtinen [Tue, 12 May 2009 19:21:50 +0000 (22:21 +0300)]
Use autoconf, automake & libtool

14 years agoFix json_object_get
Petri Lehtinen [Tue, 12 May 2009 19:15:48 +0000 (22:15 +0300)]
Fix json_object_get

14 years agoGet rid of include/
Petri Lehtinen [Tue, 12 May 2009 19:07:50 +0000 (22:07 +0300)]
Get rid of include/

14 years agoParse an empty object correctly
Petri Lehtinen [Wed, 6 May 2009 18:01:00 +0000 (21:01 +0300)]
Parse an empty object correctly

14 years agoImplement dumping to file
Petri Lehtinen [Tue, 12 May 2009 18:34:14 +0000 (21:34 +0300)]
Implement dumping to file

14 years agoBump hashtable, allocate object->hashtable statically
Petri Lehtinen [Thu, 30 Apr 2009 13:38:39 +0000 (16:38 +0300)]
Bump hashtable, allocate object->hashtable statically

Hashtable code from git://github.com/akheron/hashtable.git commit
7331ba6acdb415a2af62ae3e93fdd39c2a83b768

14 years agoAdd support for iterating over objects
Petri Lehtinen [Thu, 30 Apr 2009 13:38:22 +0000 (16:38 +0300)]
Add support for iterating over objects

14 years agoInitial import
Petri Lehtinen [Fri, 6 Feb 2009 18:26:27 +0000 (20:26 +0200)]
Initial import