Commit graph

4174 commits

Author SHA1 Message Date
marauder2k7 206ba83ee9 Update gfxD3D11Device.cpp 2023-07-25 15:22:48 +01:00
marauder2k7 f2292a6a1f missed define 2023-07-25 13:30:53 +01:00
marauder2k7 564d48e95f fix for windows
Windows segfault was only appearing after changes to windowManagerTest, either that or because linux was failing first it wasn't giving windows a chance to fail. see if this works.
2023-07-25 13:29:22 +01:00
marauder2k7 149f97119b Update CMakeLists.txt 2023-07-25 12:25:04 +01:00
marauder2k7 b97c8fc980 test
this is the fix!!!!!
2023-07-25 12:15:53 +01:00
marauder2k7 f452ea9823 Update sdlWindowMgr.cpp 2023-07-25 11:25:42 +01:00
marauder2k7 69ab86f87b Update sdlSplashScreen.cpp 2023-07-25 10:43:24 +01:00
marauder2k7 4098be88db Update CMakeLists.txt 2023-07-25 09:34:13 +01:00
marauder2k7 6eb051b5a4 disable mem mngr 2023-07-25 08:57:08 +01:00
marauder2k7 0636ba5765 Update windowManagerTest.cpp
test to see if segfault triggers at this point in testing
2023-07-25 07:26:37 +01:00
marauder2k7 ce36ea6c0b Revert "SDL.h"
This reverts commit ec5624f890.
2023-07-25 07:03:32 +01:00
marauder2k7 afd5a7dfec Revert "more sdl"
This reverts commit e00c894064.
2023-07-25 07:02:34 +01:00
marauder2k7 aa13342d41 Revert "Update semaphore.cpp"
This reverts commit 88691a7a87.
2023-07-25 07:02:29 +01:00
marauder2k7 88691a7a87 Update semaphore.cpp 2023-07-25 06:32:30 +01:00
marauder2k7 e00c894064 more sdl 2023-07-25 06:31:07 +01:00
marauder2k7 ec5624f890 SDL.h
should probably put access to all sdl header files into 1 location...
2023-07-25 05:29:48 +01:00
marauder2k7 cf874b55e3 Update CMakeLists.txt 2023-07-25 05:21:59 +01:00
marauder2k7 2377db85e1 Update gfxD3D11Device.cpp 2023-07-25 04:54:13 +01:00
marauder2k7 192250cc7c last test 2023-07-24 23:24:12 +01:00
marauder2k7 83c448eba1 Update POSIXProcessControl.cpp 2023-07-24 22:08:06 +01:00
marauder2k7 a3cfc7f008 Update POSIXProcessControl.cpp 2023-07-24 21:33:23 +01:00
marauder2k7 2ef93acac6 define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
marauder2k7 c09f79d199 separate testing environment
-Separate main for running unit tests
-Move unit tests into testing folder
2023-07-24 12:38:36 +01:00
AzaezelX 2e8f5795fa Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-07-23 15:32:48 -05:00
JeffR 0bdacb8795 Testing just disabling gfx device enumeration in test mode 2023-07-23 14:42:13 -05:00
AzaezelX c70e436350 Merge branch 'SDLUpdate_2_28_1' of https://github.com/Areloch/Torque3D into alpha41/cmake_adjustments 2023-07-23 13:54:39 -05:00
AzaezelX 8de12d9818 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
# Conflicts:
#	Engine/source/windowManager/test/windowManagerTest.cpp
2023-07-23 13:40:07 -05:00
JeffR 86cc940a5c Merge branch 'SDLUpdate_2_28_1' of https://github.com/Areloch/Torque3D into development 2023-07-23 12:23:08 -05:00
Areloch 368b687043 This implements a fix to an issue with the CICD that causes a segfault.
The fix adds a sanity check to the D3D and GL device enumeration function that exits early if there's no registered display from the OS(implying it's running in commandline).
With newer versions of SDL, attempting to enumerate the GL device causes a segfault because the OS will return back a valid context, but the context isn't actually valid. So when tested against, it crashes. Avoiding enumerating the device when you're not in a position to render works around the issue.

TODO: If the machine is running in terminal-only mode, and thus has no valid render context, but still has a monitor plugged into the machine, it can sidestep the sanity check and still result in a segfault. Need a more robust check for that circumstance in a future fix.
2023-07-23 01:04:29 -05:00
AzaezelX bf02918f6e _get_current_locale needs #include <locale.h> 2023-07-22 09:49:43 -05:00
AzaezelX 1205632f92 revised monitor existsence check 2023-07-21 09:27:52 -05:00
AzaezelX 2866b3afd6 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-07-21 08:53:46 -05:00
Brian Roberts 45673a8b9e
Merge pull request #1051 from Azaezel/alpha41/gtestCheck
gtest tweaks
2023-07-19 11:14:57 -05:00
marauder2k7 e0119efbb5 move border to gfxglstateblock 2023-07-19 16:33:01 +01:00
marauder2k7 63b2aba467
Apply suggestions from code review 2023-07-19 15:41:24 +01:00
marauder2k7 e325902bac init commit 2023-07-19 13:36:14 +01:00
JeffR 38b81eb804 Adds a logical check for when we try and check for found adapters, so if we're defined to use a Null device, we can skip looking around 2023-07-17 21:12:46 -05:00
AzaezelX 3e5ab1f197 90% sure we never actually use this in the manner it's being tested, so seing if remming it makes CI happy... 2023-07-13 19:35:52 -05:00
AzaezelX e0fa082cf9 sleep for an actual tick (also do so between dfiletouch and isfile on the off chance the o/s is choking) 2023-07-13 18:43:01 -05:00
AzaezelX dfd3e65ba4 gtest tweaks
refactor concurency test conu=sumer thread runner to generate timeouts at excessive attempts (32ms*runlength)
threadsafefreelist reporting augs
scripttest object name conflict resolutions
skip testing platform window creation if no monitor was found
2023-07-13 17:16:50 -05:00
AzaezelX 020754b7b2 Revert "update sdl to 2.26.5"
This reverts commit 0e44e165bd.
2023-07-13 16:01:25 -05:00
JeffR 083d2175ea Updates the SDL library to the latest standard bugfix release 2023-07-13 15:20:29 -05:00
AzaezelX c07d631b48 threadsafeFreelist error reporting aug: get total and free values
gtest consumer lock prevention rev2- timeout baiilout
2023-07-12 13:20:09 -05:00
AzaezelX 962202cd91 resolve scripttest name conflicts 2023-07-11 23:23:41 -05:00
AzaezelX 16bc962c38 debug enclosures for suffixed libs 2023-07-11 09:49:31 -05:00
AzaezelX f1df1c5fba Merge branch 'development' into alpha41/cmake_adjustments 2023-07-08 01:32:45 -05:00
Areloch cb766f2878
Merge pull request #1033 from marauder2k9-torque/GuiInspectorFields
Add multi dimensional entries to inspector
2023-07-07 22:59:27 -05:00
AzaezelX 0e1e36bbbb Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-07-06 19:39:18 -05:00
marauder2k7 f127b084ce Add 2d value types
- TypePoint2F and TypePoint2I now display as multi dimensional
2023-07-04 07:15:03 +01:00
AzaezelX 1821933b51 minor double to float warn cleanup in unit test suite 2023-07-03 17:08:38 -05:00