Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 11, 2015
  1. @vinoski

    Fix Yaws build for Erlang 18.0

    vinoski authored
    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,, and rebar.config.script such that these
    portability functions are correctly conditionally compiled depending
    on the Erlang erts version in use.
Commits on Jun 1, 2011
  1. @vinoski
  2. @vinoski

    restore removed jsonrpc:call/3

    vinoski authored
    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.
Commits on May 7, 2011
  1. @vinoski

    fix object lookup problem in jsonrpc

    vinoski authored
    Fix a matching problem causing lookups to fail in JSON objects used
    for JSON-RPC calls.
Commits on May 2, 2011
  1. @vinoski
  2. @vinoski

    JSON-RPC 2.0 support

    vinoski authored
    Convert existing JSON-RPC support to version 2.0, supporting all
    features mentioned here:
    Add all the examples from that webpage as new tests.
    Modify documentation to note that version 2.0 of JSON-RPC is now
Commits on Apr 24, 2011
  1. @vinoski

    replace json.erl with json2.erl to fix issue 50

    vinoski authored
    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.
Commits on Apr 20, 2011
  1. @vinoski

    major trailing whitespace cleanup

    vinoski authored
    Remove trailing whitespace in all .erl and .hrl files in the
    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)
Something went wrong with that request. Please try again.