2 years agoupdated html-docs for 0,5.0
henrik@evahjelte.com [Sun, 18 Nov 2012 13:10:19]
updated html-docs for 0,5.0

Ignore-this: 4d608ce514944657735543723c6c07e5

2 years agoversion 0.5.0
Henrik Hjelte [Sun, 18 Nov 2012 13:02:23]
version 0.5.0

Ignore-this: aa3a3b933a4c89e2ee1f911a7d817509

2 years agoupdated html-docs to mention git
henrik@evahjelte.com [Mon, 12 Nov 2012 22:53:05]
updated html-docs to mention git

Ignore-this: bebac0b071fa49b8704f9c49fcfc927e

2 years agoremove-read-from-string-from-parse-number
rpgoldman@sift.info [Sun, 04 Nov 2012 21: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.


2 years agofix-fiveam-test-comparisons
rpgoldman@sift.info [Sun, 04 Nov 2012 21: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.

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

Ignore-this: 5a8fcdfbf7ee000417bea3b9e0796a3c

2 years agoproject members in html attempt two
henrik@evahjelte.com [Mon, 15 Oct 2012 16:15:17]
project members in html attempt two

Ignore-this: 6c745b04f127cab97ee6d42d82a0151b

2 years agoadd project members to html-page
henrik@evahjelte.com [Mon, 15 Oct 2012 16:12:03]
add project members to html-page

Ignore-this: 3d22ea621d68d90bb61c13daee5bac7a

2 years agofix-test-after-method-bug-from-juanjo
rpgoldman@sift.info [Sun, 14 Oct 2012 20: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.


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

Ignore-this: 9c948326a48610d42bf3bce9e6ab9ed3

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

Ignore-this: 924d35e78a9ff89c8c3c37272cddf8ea

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

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

3 years agoFixed typecase in ENCODE-JSON-NUMBER.
rpgoldman@sift.info [Sat, 25 Jun 2011 03:04:16]
Fixed typecase in ENCODE-JSON-NUMBER.

3 years agobump-to-0.4.1
rpgoldman@sift.info [Sat, 25 Jun 2011 00:05:31]
bump-to-0.4.1

3 years agoRefactoring of the rational test in ENCODE-JSON-NUMBER, per Boris Smilga.
rpgoldman@sift.info [Fri, 24 Jun 2011 02:22:44]
Refactoring of the rational test in ENCODE-JSON-NUMBER, per Boris Smilga.

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

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

3 years agoBetter fix to ENCODE-JSON-NUMBER from Boris Smilga.
rpgoldman@sift.info [Thu, 23 Jun 2011 00:57:33]
Better fix to ENCODE-JSON-NUMBER from Boris Smilga.

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

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

5 years agoadd-json-rpc-2.0-support
rpgoldman@sift.info [Thu, 14 Jan 2010 02: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.

5 years agorecord-function-names-not-functions
rpgoldman@sift.info [Thu, 14 Jan 2010 02: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.


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

5 years agoreorganized-json-rpc-encoding
rpgoldman@sift.info [Sun, 10 Jan 2010 05: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.

5 years agofixed-allegro-reader-error
rpgoldman@sift.info [Sun, 10 Jan 2010 05:17:17]
fixed-allegro-reader-error

5 years agocatch-read-numeric-overflow-on-allegro
rpgoldman@sift.info [Tue, 05 Jan 2010 20: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.

5 years agoremoved-allegro-from-some-tests
rpgoldman@sift.info [Sat, 02 Jan 2010 22: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.

5 years agojson-rpc-handle-notifications
rpgoldman@sift.info [Wed, 30 Dec 2009 21: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.


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

Ignore-this: 6ec3790b4b95f6812d4b8e24946d1ab9

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

Ignore-this: dc7bfcff6aa5dd8c7ecdd140069ff361

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

Ignore-this: 47abf3061d43c8088614a40744ecd3b3

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

Ignore-this: ad0a7b48de15b60315c519ea271ef6c5

5 years agotrap-acl-overflow-on-read
rpgoldman@sift.info [Sat, 02 Jan 2010 23: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.

5 years agorevise json file loading for tests
rpgoldman@sift.info [Sat, 02 Jan 2010 21: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.

5 years agoadd test op to cl-json
rpgoldman@sift.info [Sat, 02 Jan 2010 21: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.

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

Ignore-this: b92b3c9703303475dcbce97aff3dee09

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

Ignore-this: f7692a5e60ad7d4ea71264847566341e

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

Ignore-this: 5d9ff167ffa4ed5b91b0e934362def3e

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

Ignore-this: 4905daaa94ef2e2604df5de6bb092c64

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

Ignore-this: 9beb1705b45b3692776de2f3731112b7

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

Ignore-this: 360302b256b196d7186d7b1bbc6384d2

5 years agonew encoder: the explicit encoder, the old one now named guessing-encoder.
Henrik Hjelte [Fri, 09 Oct 2009 03:21:01]
new encoder: the explicit encoder, the old one now named guessing-encoder.

Ignore-this: 555b36f352707e7baec21f2638f60d0b
With testcases.

5 years agoDon't use with-substitute-printed-representation-restart inside encode-json
Henrik Hjelte [Fri, 09 Oct 2009 02: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.

5 years agoallow embedded nil in encode-json-alist
Henrik Hjelte [Fri, 09 Oct 2009 01:58:50]
allow embedded nil in encode-json-alist

Ignore-this: 1e809eead41e2f6bc8d1e3e490c80cfe

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

Ignore-this: bbaab17c2f5c0d09fe96cde11e2b9e1b

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

Ignore-this: 7979e4788b9459bcfe03dd506e4a8f6a

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

Ignore-this: b36c062ffe85417b49022e6965862d46

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

Ignore-this: 4b55104417e786b43eb5fc0146ad6636

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

Ignore-this: 8cf5258eb91b9f6e95f8636616255889

Next ->