17 months agoupdated html-docs for 0,5.0
henrik@evahjelte.com [Sun, 18 Nov 2012 05:10:19]
updated html-docs for 0,5.0

Ignore-this: 4d608ce514944657735543723c6c07e5

17 months agoversion 0.5.0
Henrik Hjelte [Sun, 18 Nov 2012 05:02:23]
version 0.5.0

Ignore-this: aa3a3b933a4c89e2ee1f911a7d817509

17 months agoupdated html-docs to mention git
henrik@evahjelte.com [Mon, 12 Nov 2012 14:53:05]
updated html-docs to mention git

Ignore-this: bebac0b071fa49b8704f9c49fcfc927e

17 months agoremove-read-from-string-from-parse-number
rpgoldman@sift.info [Sun, 04 Nov 2012 13:52:54]
remove-read-from-string-from-parse-number

Ignore-this: 61d7e8213b5e0fc764ebfbe7cc199c66

PARSE-NUMBER used to use READ-FROM-STRING. This was causing problems with
some application-building systems. We replace use of the reader (through
read-from-string) by PARSE-NUMBER.


17 months agofix-fiveam-test-comparisons
rpgoldman@sift.info [Sun, 04 Nov 2012 13:49:32]
fix-fiveam-test-comparisons

Ignore-this: 7fb473839da0e7ffbf84b6b4088cb91c

FiveAM would like the expected value to be before the computed value, for
best printing when tests fail. I reversed the arguments to the
JSON-NUMBER test to agree with this convention.

18 months agoreverse attempt to get project-members into html
henrik@evahjelte.com [Mon, 15 Oct 2012 09:35:39]
reverse attempt to get project-members into html

Ignore-this: 5a8fcdfbf7ee000417bea3b9e0796a3c

18 months agoproject members in html attempt two
henrik@evahjelte.com [Mon, 15 Oct 2012 09:15:17]
project members in html attempt two

Ignore-this: 6c745b04f127cab97ee6d42d82a0151b

18 months agoadd project members to html-page
henrik@evahjelte.com [Mon, 15 Oct 2012 09:12:03]
add project members to html-page

Ignore-this: 3d22ea621d68d90bb61c13daee5bac7a

18 months agofix-test-after-method-bug-from-juanjo
rpgoldman@sift.info [Sun, 14 Oct 2012 13:38:47]
fix-test-after-method-bug-from-juanjo

Ignore-this: 12cec5052070f37a2f72e4e5b0587c32

juanjo (Juan Jose Garcia-Ripoli) found a bug in the binding of the
*JSON-TEST-FILES-PATH* global. Fixed by moving the initializer into
the test code, and using the ASDF:SYSTEM-RELATIVE-PATHNAME function.

At the same time, killed the testjson.lisp file, which does the testing
as a side-effect of loading. This is unnecessary because the testing
is done in the PERFORM method of the TEST-OP.


2 years agoUpdate html page
henrik@evahjelte.com [Mon, 13 Jun 2011 12:41:42]
Update html page

Ignore-this: 9c948326a48610d42bf3bce9e6ab9ed3

2 years agoTAG 0.4.1
henrik@evahjelte.com [Mon, 13 Jun 2011 12:30:19]
TAG 0.4.1

Ignore-this: 924d35e78a9ff89c8c3c37272cddf8ea

2 years agoAdded test case to check for exponent markers in float encodings.
rpgoldman@sift.info [Sat, 25 Jun 2011 08:17:08]
Added test case to check for exponent markers in float encodings.

2 years agoAdded conditional compilations to kill Clozure etypecase warnings.
rpgoldman@sift.info [Sat, 25 Jun 2011 08:16:07]
Added conditional compilations to kill Clozure etypecase warnings.

2 years agoFixed typecase in ENCODE-JSON-NUMBER.
rpgoldman@sift.info [Fri, 24 Jun 2011 20:04:16]
Fixed typecase in ENCODE-JSON-NUMBER.

2 years agobump-to-0.4.1
rpgoldman@sift.info [Fri, 24 Jun 2011 17:05:31]
bump-to-0.4.1

2 years agoRefactoring of the rational test in ENCODE-JSON-NUMBER, per Boris Smilga.
rpgoldman@sift.info [Thu, 23 Jun 2011 19:22:44]
Refactoring of the rational test in ENCODE-JSON-NUMBER, per Boris Smilga.

2 years agoAdd check for rationals to ENCODE-JSON-NUMBER, per Boris Smilga.
rpgoldman@sift.info [Thu, 23 Jun 2011 07:47:08]
Add check for rationals to ENCODE-JSON-NUMBER, per Boris Smilga.

2 years agoTweak to Boris Smilga's ENCODE-JSON-NUMBER fix. Sort float subtypes from smallest to largest.
rpgoldman@sift.info [Wed, 22 Jun 2011 18:06:10]
Tweak to Boris Smilga's ENCODE-JSON-NUMBER fix. Sort float subtypes from smallest to largest.

2 years agoBetter fix to ENCODE-JSON-NUMBER from Boris Smilga.
rpgoldman@sift.info [Wed, 22 Jun 2011 17:57:33]
Better fix to ENCODE-JSON-NUMBER from Boris Smilga.

2 years agoFix to ENCODE-JSON-NUMBER to remove D characters that break the JSON readers.
rpgoldman@sift.info [Wed, 22 Jun 2011 14:13:39]
Fix to ENCODE-JSON-NUMBER to remove D characters that break the JSON readers.

4 years agoKilled some trailing whitespace.
rpgoldman@sift.info [Fri, 15 Jan 2010 15:41:44]
Killed some trailing whitespace.

4 years agoadd-json-rpc-2.0-support
rpgoldman@sift.info [Wed, 13 Jan 2010 18:48:58]
add-json-rpc-2.0-support


A large number of changes that provide json-rpc-2.0 support to
cl-json. Tests are included.

4 years agorecord-function-names-not-functions
rpgoldman@sift.info [Wed, 13 Jan 2010 18:45:41]
record-function-names-not-functions


Originally, when one defined a function to be exported as a json-rpc
function, the function object was cached in a hash table. This made it
very difficult to debug with the CL tracer, since the trace-encapsulated
function wouldn't make it onto the function table. However, this problem
goes away with this patch, which caches the function /name/ (a symbol)
instead of the function itself. Since json-rpc functions are invoked
with APPLY, nothing else need change. Slightly less efficient, but
JSON-RPC is never going to be that efficient anyway.


4 years agoexport-json-rpc-version-constants
rpgoldman@sift.info [Wed, 13 Jan 2010 13:09:38]
export-json-rpc-version-constants

4 years agoreorganized-json-rpc-encoding
rpgoldman@sift.info [Sat, 09 Jan 2010 21:18:21]
reorganized-json-rpc-encoding


Reorganized JSON-RPC result encoding, using CLOS, to make it more flexible,
along lines discussed on the mailing list.

Also added /partial/ support for JSON-RPC 2.0.

This support is not yet tested in the test suite.

4 years agofixed-allegro-reader-error
rpgoldman@sift.info [Sat, 09 Jan 2010 21:17:17]
fixed-allegro-reader-error

4 years agocatch-read-numeric-overflow-on-allegro
rpgoldman@sift.info [Tue, 05 Jan 2010 12:17:56]
catch-read-numeric-overflow-on-allegro


On Allegro Common Lisp, when there's a numeric overflow in the reader,
they don't signal a reader-error, but a simple-error (I have reported this
and they may fix it in the future). This patch makes use of information
about that simple-error to catch the case in parse-number and treat it
the way parse-number overflows are handled on other lisps.

4 years agoremoved-allegro-from-some-tests
rpgoldman@sift.info [Sat, 02 Jan 2010 14:11:06]
removed-allegro-from-some-tests


Some tests don't work on allegro on macosx or on allegro simpliciter.
These seem like limitations of allegro, so I have added features flags
to mask them.

4 years agojson-rpc-handle-notifications
rpgoldman@sift.info [Wed, 30 Dec 2009 13:17:56]
json-rpc-handle-notifications


A couple of modifications to hande JSON-RPC notifications (like normal requests, but they
don't expect a response).

Also made it possible to invoke a helper function of invoke-json with the pieces of the
request. This is necessary because you can't use the standard invoke-rpc if you've
already parsed the JSON message from the client.


4 years agoTAG before-json-rpc-2
Henrik Hjelte [Sun, 17 Jan 2010 13:59:48]
TAG before-json-rpc-2

Ignore-this: 6ec3790b4b95f6812d4b8e24946d1ab9

4 years agoadded a TODO file with some ideas
Henrik Hjelte [Wed, 06 Jan 2010 05:29:10]
added a TODO file with some ideas

Ignore-this: dc7bfcff6aa5dd8c7ecdd140069ff361

4 years agoadded comment in json-rpc how to make a service-method-decription file
Henrik Hjelte [Wed, 06 Jan 2010 05:20:14]
added comment in json-rpc how to make a service-method-decription file

Ignore-this: 47abf3061d43c8088614a40744ecd3b3

4 years agoAdded Robert Goldman to CONTRIBUTORS
Henrik Hjelte [Wed, 06 Jan 2010 03:38:26]
Added Robert Goldman to CONTRIBUTORS

Ignore-this: ad0a7b48de15b60315c519ea271ef6c5

4 years agotrap-acl-overflow-on-read
rpgoldman@sift.info [Sat, 02 Jan 2010 15:07:11]
trap-acl-overflow-on-read


Allegro just raises a simple-error when it reads a floating point
number that's too big. So we have to catch simple errors when
in parse-number on allegro.

4 years agorevise json file loading for tests
rpgoldman@sift.info [Sat, 02 Jan 2010 13:49:17]
revise json file loading for tests


With asdf-binary-locations on, as it will be in new versions of ASDF,
it is no longer possible to use load-pathname or load-truename to find
files from loaded binaries. In the general case, binaries may not be
located in the same directory as the source files from which they are
compiled.

We avoid this problem by caching the value of *load-truename* inside
code that is run in the .asd file, and then referring to it later on.

The *load-truename* of the .asd file will remain constant.

4 years agoadd test op to cl-json
rpgoldman@sift.info [Sat, 02 Jan 2010 13:17:45]
add test op to cl-json


Made it easier to test cl-json by adding an asdf test-op to the asdf
system definition, and providing a PERFORM method for it.

Now one can simply say (asdf:oos 'asdf:test-op :cl-json) to load
the system and run the FiveAM based tests.

4 years agoDoc add info about the known bug json-bind-in-bind
Henrik Hjelte [Wed, 02 Dec 2009 05:27:32]
Doc add info about the known bug json-bind-in-bind

Ignore-this: b92b3c9703303475dcbce97aff3dee09

4 years agocomment in doc about new encoder
Henrik Hjelte [Wed, 02 Dec 2009 04:54:16]
comment in doc about new encoder

Ignore-this: f7692a5e60ad7d4ea71264847566341e

4 years agoFeature to turn off clos
Henrik Hjelte [Mon, 12 Oct 2009 16:22:10]
Feature to turn off clos

Ignore-this: 5d9ff167ffa4ed5b91b0e934362def3e

4 years agotestcase for a bug with nested json-bind
Henrik Hjelte [Fri, 09 Oct 2009 12:09:02]
testcase for a bug with nested json-bind

Ignore-this: 4905daaa94ef2e2604df5de6bb092c64

4 years agoexplict decoder can handle null values as well
Henrik Hjelte [Fri, 09 Oct 2009 12:08:17]
explict decoder can handle null values as well

Ignore-this: 9beb1705b45b3692776de2f3731112b7

4 years agoNow you can select encoder for json-rpc, streaming guessing or explicit
Henrik Hjelte [Fri, 09 Oct 2009 07:59:07]
Now you can select encoder for json-rpc, streaming guessing or explicit

Ignore-this: 360302b256b196d7186d7b1bbc6384d2

4 years agonew encoder: the explicit encoder, the old one now named guessing-encoder.
Henrik Hjelte [Thu, 08 Oct 2009 20:21:01]
new encoder: the explicit encoder, the old one now named guessing-encoder.

Ignore-this: 555b36f352707e7baec21f2638f60d0b
With testcases.

4 years agoDon't use with-substitute-printed-representation-restart inside encode-json
Henrik Hjelte [Thu, 08 Oct 2009 19:15:46]
Don't use with-substitute-printed-representation-restart inside encode-json

Ignore-this: 50a860841d16fc5333f17b6392c006f6
beacuse it establishes a new restart for every recursion. My top count
was 8000+ restarts. Instead, export it and let the user use it outside any
encode-json calls if he or she wants it.

4 years agoallow embedded nil in encode-json-alist
Henrik Hjelte [Thu, 08 Oct 2009 18:58:50]
allow embedded nil in encode-json-alist

Ignore-this: 1e809eead41e2f6bc8d1e3e490c80cfe

4 years agokill-yank decoder-performance-with simplifed-camel-case
Henrik Hjelte [Mon, 10 Aug 2009 12:12:00]
kill-yank decoder-performance-with simplifed-camel-case

Ignore-this: bbaab17c2f5c0d09fe96cde11e2b9e1b

4 years agodocs added info about new things in version history
Henrik Hjelte [Mon, 10 Aug 2009 11:59:53]
docs added info about new things in version history

Ignore-this: 7979e4788b9459bcfe03dd506e4a8f6a

4 years agodocs added info about simplified-camel-case-to-lisp
Henrik Hjelte [Mon, 10 Aug 2009 11:57:05]
docs added info about simplified-camel-case-to-lisp

Ignore-this: b36c062ffe85417b49022e6965862d46

4 years agodocs comment about safe-json-intern in Security considerations section
Henrik Hjelte [Mon, 10 Aug 2009 11:55:40]
docs comment about safe-json-intern in Security considerations section

Ignore-this: 4b55104417e786b43eb5fc0146ad6636

4 years agoadded Leslie. P Polzer and Red Daly to contributors
Henrik Hjelte [Mon, 10 Aug 2009 10:57:28]
added Leslie. P Polzer and Red Daly to contributors

Ignore-this: 8cf5258eb91b9f6e95f8636616255889

Next ->