Incorporate changes from Klarna (via Richard Carlsson) to delete chatty messages in a variety of places. These messages were for success cases; they were deleted because success cases should be quiet. Change yaws --check to take an optional --verbose option to allow original verbose success messages to be emitted. Also change the yaws script so that the --id option works for --check. Change yaws_server to make fully-qualified calls to gserv_loop to ensure code upgrades call into the newly-loaded module version.
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.
Rather than use a custom message handling loop, make the yaws_sendfile driver handler a gen_server. Collapse the yaws_sendfile_compat functionality directly into yaws_sendfile and remove yaws_sendfile_compat, and change all references to yaws_sendfile_compat to refer to yaws_sendfile instead.
Remove DIME support. We're cleaning up dialyzer errors in Yaws and the DIME code had some problems, so we decided to drop it rather than try to fix it since we don't believe anyone's using it. Microsoft has dropped support for DIME anyway, recommending MTOM instead.
The websockets support relies on bits support in Erlang. The src/Makefile used to contain a gmake shell command for checking the erts version to see if bits support was present. This change moves that test into the configure scripts and adds a new make variable to include.mk that src/Makefile can use instead. This keeps configuration checks out of the makefiles and in the configure script where they belong. Also fixed the test for bits support, which would have been incorrect once the erts major version number increases above 5 because it also unconditionally wanted the erts minor number to be greater than 6, so a major/minor version such as 6.0 would have failed.
… yaws_configure.hrl git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1375 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
2. in src/Makefile made yaws_sendfile_compat.beam depend on yaws_configure.hrl git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1307 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1306 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52