Move ninjam/qtclient/ to qtclient/

Move the Qt client to a top-level directory.  This is a clean-up before
creating a unified Qt project file at the top-level.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Move ninjam/server/ to server/

Move the server to a top-level directory.  This is a clean-up before
creating a unified Qt project file at the top-level.

Rename wahjamsrv.pro to server.pro.  This will allow us to use the qmake
"subdir" template later on.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Remove cliplogcvt

The cliplogcvt utility is seldom used and not tested.  It can be brought
back to life if necessary but drop it for now.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Rename ninjam/ to common/

Code that is not specific to qtclient/ or server/ lives in common/.
This includes core NINJAM code, as well as the VST plugin host and
PortAudio.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Add all Makefiles to gitignore

Qt's qmake generates Makefiles.  Therefore we should never commit them
into the repo.

Ignore all Makefiles instead of individually specifying the
server/Makefile and qtclient/Makefile.  There are now two more
Makefiles: common/Makefile and top-level ./Makefile.  It's easier to
just ignore all Makefiles.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Add *.a to gitignore

Ignore static libraries.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Stop randomizing OGG stream serial numbers

We do not multiplex OGG streams, but if we did it would be better to
allocate unique serial numbers instead of using a random number.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Use QUuid to generate a GUID in the client

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Drop WDL/rng.cpp dependency from qtclient

There are no remaining WDL/rng.cpp users in qtclient.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Drop unused string_to_type() function in njclient.cpp

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Use Qt UUID and SHA1 to generate auth challenge

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Drop WDL/rng.cpp dependency from server

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Use QCryptographicHash for qtclient SHA1

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Use QCryptographicHash for server SHA1

Note that we hardcode 20 byte array size for now since Qt does not
provide a constant for SHA1.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Remove WDL/rng.cpp and WDL/sha.cpp

The qtclient and server now use Qt classes instead of WDL random numbers
and SHA1.  Therefore we can delete the WDL code.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Remove WDL/WinGUI/

There is no remaining Windows GUI code so we can delete WDL/WinGUI/.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Move VSTPlugin and VSTProcessor into qtclient/

The VST plugin host actually has GUI code for resizing windows.
Therefore it should be in qtclient/ and not in the non-GUI common/ code.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Switch qtclient to common static library

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Switch server to common static library

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Add common.pro project file for common static library

The common code gets linked into a static library that qtclient and
server can use.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>