Erlang 18.0 deprecated erlang:now/0 and this was causing compilation errors for Yaws. Add new portability functions to the yaws module: yaws:unique_triple() returns a unique 3-tuple of positive integers, and yaws:get_time_tuple() returns the current time in the same 3-tuple format as erlang:now(). Fix all Yaws modules as needed to call these functions as appropriate instead of calling erlang:now(). Add support to configure.ac, include.mk, and rebar.config.script such that these portability functions are correctly conditionally compiled depending on the Erlang erts version in use.
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.
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))))