Restore the jsonrpc:call/3 function inadvertently removed in the JSON-RPC 2.0 update. Add a new test for it. Remove test/src/httpc.erl because it conflicted with inets:httpc during the execution of the new test, and also because it's not used anywhere.
Fix a matching problem causing lookups to fail in JSON objects used for JSON-RPC calls.
Convert existing JSON-RPC support to version 2.0, supporting all features mentioned here: http://groups.google.com/group/json-rpc/web/json-rpc-2-0 Add all the examples from that webpage as new tests. Modify documentation to note that version 2.0 of JSON-RPC is now supported.
Yaws issue 50 (#50) notes that the json.erl module uses list_to_atom and is therefore dangerous due to the possibility of filling the atom table. Also, the test function in json.erl has been broken for quite some time. Deprecate json.erl and add json2.erl, which avoids list_to_atom. Repair the json2:test/0 function inherited from json.erl and add it to the t1 test suite. Change www/json_intro.yaws to refer to json2.
Remove trailing whitespace in all .erl and .hrl files in the repository. If you're an emacs user, you can easily see trailing whitespace using settings like these in your ~/.emacs file: (setq-default show-trailing-whitespace t) (set-face-background 'trailing-whitespace "slate gray") You can also delete trailing whitespace automatically when you save your Erlang sources by setting the emacs before-save-hook in your ~/.emacs file like this: (add-hook 'before-save-hook '(lambda () (if (eq major-mode 'erlang-mode) (delete-trailing-whitespace))))
git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1217 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
…ample git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@968 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52