CMake will now create a static PortMidi library and link against it on Windows if it can't find a dynamic library to link against.

git-svn-id: http://odamex.net/svn/root/trunk@3751 b0bcef46-2027-0410-bd56-ab726e9a1d04
Avoid needless conversion of byte buffer into std::string, since we can parse the JSON banlist without it.

git-svn-id: http://odamex.net/svn/root/trunk@3752 b0bcef46-2027-0410-bd56-ab726e9a1d04
Apply astyle to the JSON reader and writer functions.

git-svn-id: http://odamex.net/svn/root/trunk@3753 b0bcef46-2027-0410-bd56-ab726e9a1d04
Some banlist fixes:

- Banlist::json will now convert an empty banlist to json instead of simply returning false.
- savebanlist now actually saves a banlist.  It's kind of redundant given that we save bans immediately upon adding them, but writing out an empty banlist is definitely not correct behavior.

git-svn-id: http://odamex.net/svn/root/trunk@3754 b0bcef46-2027-0410-bd56-ab726e9a1d04
Addban will now return an error message if an invalid address or range is added to the banlist.

git-svn-id: http://odamex.net/svn/root/trunk@3755 b0bcef46-2027-0410-bd56-ab726e9a1d04
Harden banlist loads against malformed data.

git-svn-id: http://odamex.net/svn/root/trunk@3756 b0bcef46-2027-0410-bd56-ab726e9a1d04