Darryl Pogue
e2887eb075
make check working, 1 test app per library
10 years ago
Darryl Pogue
d6cb56fd9c
Move @cwalther's tests into new dir scheme.
10 years ago
Christian Walther
078d59dfa0
Preliminary unit testing setup using Google C++ Testing Framework.
...
Including tests for the fixes of 595d265
and 3c73b9f
.
Conflicts:
CMakeLists.txt
10 years ago
Darryl Pogue
7b60621171
Get CTest working and add pnEncryption tests.
...
This will allow you to run all the tests with `make test` or `ctest`.
10 years ago
Anne Marije v/d Meer
19297f1944
Make building the tests optional.
...
Make gtest build with shared crt by defaul. It would be better to do this in one of our own CMakeLists instead of google's but I couldn't figure out how.
10 years ago
Anne Marije v/d Meer
7bde88a635
Cleanup of unused code and fix of unit test to reflect that accented chars are counted as two.
10 years ago
Anne Marije v/d Meer
4f1d2494a1
enable tests
10 years ago
Anne Marije v/d Meer
ed0c021803
Added gtest.
...
Added Unittest.
Small fix documentation plString.
10 years ago
Anne Marije van der Meer
85b97435cc
Making tests run on Linux and removing unicode on unsupported places
10 years ago
Joseph Davies
cd80f9b3fd
Merge pull request #454 from dpogue/osx-fixes
...
OSX Clang fixes
10 years ago
Darryl Pogue
30ac1610f1
Add HS_BUILD_FOR_OSX definition.
10 years ago
Joseph Davies
3898b4f39b
Removes remaining usage of Bink in Max plugin.
...
- Removes Bink headers.
- Removes Bink Layer processing.
10 years ago
Joseph Davies
9732a997c0
Removes remaining usage of Bink in main engine.
...
- Removes Bink headers.
- Remove usage of Bink movie layers in pfJournalBook (replacing it
with plLayerAVI in the interim).
- Removes Bink cmake.
Conflicts:
CMakeLists.txt
Sources/Plasma/Apps/plClient/plClient.cpp
Sources/Plasma/PubUtilLib/plPipeline/plBinkPlayer.h
10 years ago
Joseph Davies
8b5b85cc53
Add stub plMoviePlayer.
...
Provides a working replacement for plBinkPlayer so that its removal
won't leave videos 'playing' indefinitely waiting for unhandled
messages.
10 years ago
Darryl Pogue
95c52c0912
Rename UniChar to plUniChar to avoid conflict on OSX.
...
OSX defines a UniChar type as part of the OS headers.
10 years ago
Darryl Pogue
ccd5687e61
Fix pnUUID linking on OSX. Closes #451 .
10 years ago
Darryl Pogue
55ea5a03fa
Fix missing header on OSX.
10 years ago
Darryl Pogue
70d037353f
Fix for timeval on OSX.
10 years ago
Darryl Pogue
ba1d7c3ae1
Merge pull request #441 from zrax/headspin_cleanup
...
HeadSpin.h cleanup
10 years ago
Darryl Pogue
4f43be3eb2
Merge pull request #452 from zrax/osx_fix
...
Some fixes for OSX compilation. Closes #450
10 years ago
Joseph Davies
b3488242f8
Check if CMake is accessible before trying to invoke it.
...
The default option in CMake's installer is to not install itself into the path. Our directions on http://h-uru.github.io/Plasma/ remind the user to select the correct option, but they may overlook this, and be faced with an error running this script. Adding a specific message here during this case will help guide them to self-fixing the problem.
10 years ago
Michael Hansen
30410dbdd8
Some fixes for OSX compilation. Closes #450
10 years ago
Joseph Davies
f3635a9871
Don't build tools for which the script won't prepare the system.
...
Our current simple instructions do not include any mention of, nor does the current devlibs.zip contain, Qt5 (required for building Tools) or PyGTK (required to build resource.dat). This removes those projects by default for people using this script.
10 years ago
Joseph Davies
75bf2965d3
Add path for PhysX default installation on 64-bit Windows systems.
10 years ago
Joseph Davies
0d297076ef
Remove unused and dead code in winmain.cpp.
10 years ago
Joseph Davies
7445e23e59
Rename "new account" button resource to reflect actual purpose.
10 years ago
Vincent Munsch
7ce6dfceeb
make hsAssert variadic (to allow printf like error message)
10 years ago
Michael Hansen
658d5b6f71
This version of hsEvent more accurately matches the previous (Win32)
...
behavior, and also serves as a proper binary semaphore.
10 years ago
Michael Hansen
085c00706c
Some fixes for Clang
10 years ago
Michael Hansen
094b0fe557
Move <algorithm> header out of HeadSpin.h
10 years ago
Michael Hansen
827ea85af0
Remove some additional usless / unused junk
10 years ago
Michael Hansen
751d760772
Use standard (f)abs functions
10 years ago
Michael Hansen
fced942020
Safer type-punning
10 years ago
Michael Hansen
ce53a71990
There is no benefit to the hsFopen macro
10 years ago
Michael Hansen
1a987173d6
Use std::swap
10 years ago
Michael Hansen
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
10 years ago
Michael Hansen
e36220cca5
Use std::min and std::max
10 years ago
Darryl Pogue
4f5a941d41
Merge pull request #446 from zrax/clang_fixes
...
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
9d67b96837
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
2bbfa9399d
Fixup example
10 years ago
Michael Hansen
19bda88893
Add AVX2 support to hsCpuID, and cleanup some misc related junk
10 years ago
Michael Hansen
a1303d6d23
Fix inconsistent line endings :(
10 years ago
Adam Johnson
b1e93f92f4
Merge pull request #443 from zrax/cxx11_synch
...
C++11 synchronization primitives
10 years ago
Michael Hansen
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
10 years ago
Michael Hansen
5836af7268
Clean up hsReaderWriterLock
10 years ago
Michael Hansen
f83ec34c67
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
...
"normal" (inter-thread only) semaphore class.
10 years ago
Michael Hansen
b774548066
Simplify plDispatch mutexes a bit
10 years ago
Michael Hansen
a669abf10e
Use C++11 threading for hsEvent, and clean up the API a bit
10 years ago
Michael Hansen
2947acb2c8
Replace hsMutex with std::mutex
10 years ago
Adam Johnson
964256411e
Merge pull request #442 from zrax/plString-construction
...
plString constructor enhancements
10 years ago