1. 18 Nov, 2012 2 commits
    • henrik's avatar
      updated html-docs for 0,5.0 · 50095d25
      henrik authored
      Ignore-this: 4d608ce514944657735543723c6c07e5
      
      darcs-hash:47258ed970c30b7bef47c3f07d4675a1f560b6e2
      50095d25
    • Henrik Hjelte's avatar
      version 0.5.0 · db462282
      Henrik Hjelte authored
      Ignore-this: aa3a3b933a4c89e2ee1f911a7d817509
      
      darcs-hash:f4113722f0acc0f3ab7f60d9e880a8d19ca0292c
      db462282
  2. 12 Nov, 2012 1 commit
  3. 04 Nov, 2012 2 commits
    • rpgoldman's avatar
      remove-read-from-string-from-parse-number · 63f7a7e8
      rpgoldman authored
      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.
      
      darcs-hash:83714c5dde3da6e58d17766ea6311529e4bda293
      63f7a7e8
    • rpgoldman's avatar
      fix-fiveam-test-comparisons · 670edc27
      rpgoldman authored
      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.
      
      darcs-hash:135ea0b936bb9bc2d004a61599d964ee61389951
      670edc27
  4. 15 Oct, 2012 3 commits
  5. 14 Oct, 2012 1 commit
    • rpgoldman's avatar
      fix-test-after-method-bug-from-juanjo · d6e60df7
      rpgoldman authored
      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.
      
      darcs-hash:70f64a30a5c7f3ce5e2d4c01c3222ea12ed04bd8
      d6e60df7
  6. 13 Jun, 2011 1 commit
    • henrik's avatar
      Update html page · 1b24eeeb
      henrik authored
      Ignore-this: 9c948326a48610d42bf3bce9e6ab9ed3
      
      darcs-hash:db331f86f9630a0f7f2903187acf7036df095f21
      1b24eeeb
  7. 25 Jun, 2011 4 commits
  8. 24 Jun, 2011 1 commit
  9. 23 Jun, 2011 3 commits
  10. 22 Jun, 2011 1 commit
  11. 15 Jan, 2010 1 commit
  12. 14 Jan, 2010 2 commits
    • rpgoldman's avatar
      add-json-rpc-2.0-support · e1121307
      rpgoldman authored
      A large number of changes that provide json-rpc-2.0 support to
      cl-json.  Tests are included.
      
      darcs-hash:79170f123f878bab89580228742102860b5930a9
      e1121307
    • rpgoldman's avatar
      record-function-names-not-functions · b21341a9
      rpgoldman authored
        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.
      
      darcs-hash:6cbf64e6a3c7c2f1a6a3d0ef3c62f01b4294bb0f
      b21341a9
  13. 13 Jan, 2010 1 commit
  14. 10 Jan, 2010 2 commits
    • rpgoldman's avatar
      reorganized-json-rpc-encoding · fb268b55
      rpgoldman authored
      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.
      
      darcs-hash:9e5c2e2612459c486253c91b20feea833f866b75
      fb268b55
    • rpgoldman's avatar
      fixed-allegro-reader-error · 64dbb25f
      rpgoldman authored
      darcs-hash:8f1e9fa6f270ca341a9f3998952836bd356d624d
      64dbb25f
  15. 05 Jan, 2010 1 commit
    • rpgoldman's avatar
      catch-read-numeric-overflow-on-allegro · 34680276
      rpgoldman authored
      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.
      
      darcs-hash:699f0644f511321c9970c997685f78c64a1ec573
      34680276
  16. 02 Jan, 2010 1 commit
    • rpgoldman's avatar
      removed-allegro-from-some-tests · 8ccdfebc
      rpgoldman authored
      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.
      
      darcs-hash:23701ef4d39690714f85c2cd037d0380e68bf83e
      8ccdfebc
  17. 30 Dec, 2009 1 commit
    • rpgoldman's avatar
      json-rpc-handle-notifications · 7a362e8b
      rpgoldman authored
      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.
      
      darcs-hash:291c0ac880ce33534006a5c633c08f7d6fb9dc94
      7a362e8b
  18. 06 Jan, 2010 3 commits
  19. 02 Jan, 2010 3 commits
    • rpgoldman's avatar
      trap-acl-overflow-on-read · 86221e84
      rpgoldman authored
      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.
      
      darcs-hash:1c9f3f52d57e5b20a063e9e396b299420ffa01aa
      86221e84
    • rpgoldman's avatar
      revise json file loading for tests · a72bac35
      rpgoldman authored
      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.
      
      darcs-hash:e460cd8b226ae1faa5ef7a2dd62d04854467737e
      a72bac35
    • rpgoldman's avatar
      add test op to cl-json · a11743f4
      rpgoldman authored
      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.
      
      darcs-hash:13f70c0f95cff41a2f07a1c67af9ccdf83559a32
      a11743f4
  20. 02 Dec, 2009 2 commits
  21. 12 Oct, 2009 1 commit
  22. 09 Oct, 2009 3 commits