1869287cb7
Merge pull request #456 from dpogue/audiosys
...
Remove unused hsWindowHndl from plAudioSystem.
2014-10-19 04:06:26 -07:00
39eab13d9d
plgAudioSys doesn't need to take hsWindowHndl.
2014-10-19 00:13:53 -07:00
0ed1fd6f75
Merge pull request #444 from Hoikas/stl-ize
...
Nuke some hsTArray
2014-10-18 17:25:25 -07:00
fb66dca691
Fix linux compile issues
...
Add that include, foo!
2014-10-18 20:11:01 -04:00
d2b913f350
Convert most of plSceneNode to std::vector
2014-10-18 20:08:10 -04:00
88ce09698e
Convert plPageTree::fNodes to std::vector
2014-10-18 20:03:42 -04:00
f83828d2f1
Merge pull request #445 from zrax/avx2
...
Support AVX2
2014-10-18 20:03:03 -04:00
7ddba6a758
Merge pull request #447 from zrax/hsEvent_fix
...
Fix hsEvent to match the old behavior better
2014-10-18 19:59:22 -04:00
eda0bd26d1
Merge pull request #449 from Deledrius/cleanupexe
...
Clean up WinMain.
2014-10-18 19:54:06 -04:00
1f26ee574e
Merge pull request #455 from Mystler/vectorize
...
Vectorization of crashy code
2014-10-18 13:32:37 -07:00
78c0b48859
Replace hsArrays in SortVisibleSpans() with STL vectors
...
This seems to fix occasional crashes encountered on TOC.
2014-10-18 22:13:39 +02:00
05034db653
Merge pull request #381 from Lunanne/Unittests_clean
...
Add Unit Testing Framework.
2014-10-18 13:04:56 -07:00
eeec4bac56
- Fixed spaces in plstring docs
...
- Moved the CRT flag
- removed format tests as plString::format is deprecated.
2014-10-18 16:18:27 +02:00
bc3f64274c
- CMakeLists.txt : Fix mess caused by rebase/merge
...
- pfPythonTest/CMakeLists.txt: changed python linking like Mystler suggested (at least I hope I understood it right)
- test_plString.cpp : added actual test, removed tab somewhere
2014-10-18 13:15:45 +02:00
098df8b41e
Changed to use arrsize
...
Added extra test in ToUTF16
2014-10-18 13:15:44 +02:00
985c05d4af
Uncomment some plString tests to see if they work.
...
They do work in gcc on Linux.
2014-10-18 13:15:42 +02:00
0f08019616
Some minor whitespace cleanup.
2014-10-18 13:15:41 +02:00
dd1de875c5
Remove hack not needed for VS2013.
2014-10-18 13:15:40 +02:00
518901f6df
Fix pfPython tests on Windows.
...
target_link_library all the things :(
2014-10-18 13:15:39 +02:00
e2887eb075
make check working, 1 test app per library
2014-10-18 13:15:37 +02:00
d6cb56fd9c
Move @cwalther's tests into new dir scheme.
2014-10-18 13:15:36 +02:00
078d59dfa0
Preliminary unit testing setup using Google C++ Testing Framework.
...
Including tests for the fixes of 595d265
and 3c73b9f
.
Conflicts:
CMakeLists.txt
2014-10-18 13:15:35 +02:00
7b60621171
Get CTest working and add pnEncryption tests.
...
This will allow you to run all the tests with `make test` or `ctest`.
2014-10-18 13:15:34 +02:00
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.
2014-10-18 13:15:33 +02:00
7bde88a635
Cleanup of unused code and fix of unit test to reflect that accented chars are counted as two.
2014-10-18 13:15:31 +02:00
4f1d2494a1
enable tests
2014-10-18 13:15:30 +02:00
ed0c021803
Added gtest.
...
Added Unittest.
Small fix documentation plString.
2014-10-18 13:15:29 +02:00
85b97435cc
Making tests run on Linux and removing unicode on unsupported places
2014-10-18 13:15:27 +02:00
cd80f9b3fd
Merge pull request #454 from dpogue/osx-fixes
...
OSX Clang fixes
2014-10-17 03:42:40 -07:00
30ac1610f1
Add HS_BUILD_FOR_OSX definition.
2014-10-16 21:47:37 -07:00
95c52c0912
Rename UniChar to plUniChar to avoid conflict on OSX.
...
OSX defines a UniChar type as part of the OS headers.
2014-10-13 17:32:50 -07:00
ccd5687e61
Fix pnUUID linking on OSX. Closes #451 .
2014-10-13 17:32:50 -07:00
55ea5a03fa
Fix missing header on OSX.
2014-10-13 17:32:50 -07:00
70d037353f
Fix for timeval on OSX.
2014-10-13 17:32:50 -07:00
ba1d7c3ae1
Merge pull request #441 from zrax/headspin_cleanup
...
HeadSpin.h cleanup
2014-10-13 17:31:47 -07:00
4f43be3eb2
Merge pull request #452 from zrax/osx_fix
...
Some fixes for OSX compilation. Closes #450
2014-10-12 17:17:44 -07:00
30410dbdd8
Some fixes for OSX compilation. Closes #450
2014-10-12 16:22:16 -07:00
0d297076ef
Remove unused and dead code in winmain.cpp.
2014-10-11 14:43:14 -07:00
7445e23e59
Rename "new account" button resource to reflect actual purpose.
2014-10-11 14:43:09 -07:00
658d5b6f71
This version of hsEvent more accurately matches the previous (Win32)
...
behavior, and also serves as a proper binary semaphore.
2014-08-20 20:15:52 -07:00
085c00706c
Some fixes for Clang
2014-08-10 20:42:09 -07:00
094b0fe557
Move <algorithm> header out of HeadSpin.h
2014-08-09 12:28:20 -07:00
827ea85af0
Remove some additional usless / unused junk
2014-08-09 12:28:20 -07:00
751d760772
Use standard (f)abs functions
2014-08-09 12:28:20 -07:00
fced942020
Safer type-punning
2014-08-09 12:28:19 -07:00
ce53a71990
There is no benefit to the hsFopen macro
2014-08-09 12:28:19 -07:00
1a987173d6
Use std::swap
2014-08-09 12:28:19 -07:00
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
2014-08-09 12:28:19 -07:00
e36220cca5
Use std::min and std::max
2014-08-09 12:28:19 -07:00
4f5a941d41
Merge pull request #446 from zrax/clang_fixes
...
Fix some errors and warnings when compiling with Clang
2014-08-09 12:25:16 -07:00