A couple files included yaws_debug.hrl with the following path: ../../yaws/src/yaws_debug.hrl This assumes the root directory is named "yaws". Also, the directory paths used are pointless since yaws_debug.hrl lives in the same directory as the source files including it, so they can just include it without specifying any preceding directory paths.
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@1007 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
…ample git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@968 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52