Commit graph

6291 commits

Author SHA1 Message Date
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 cc6a0383a4 Update cmake.yml 2023-07-25 08:06:56 +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 dc2812f36e Update cmake.yml 2023-07-24 22:42:29 +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 d6a4c63c27 Update torque_configs.cmake 2023-07-24 12:59:27 +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
Areloch 92cb9b40e3
Merge pull request #1050 from Areloch/SDLUpdate_2_28_1
Updates the SDL library to the latest standard bugfix release 2.28.1
2023-07-23 15:20:50 -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
Brian Roberts 8a23392c97
Merge pull request #1063 from Areloch/CICD_GFXDevice_Fix
This implements a fix to an issue with the CICD that causes a segfault.
2023-07-23 07:50:14 -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 2c2d378191
Merge pull request #1054 from Azaezel/alpha41/particleOrderOps
define particles then emitters
2023-07-20 12:43:35 -05:00
AzaezelX a0f2f2bf06 define particles then emitters
saves a re-execution attempt
2023-07-20 08:54:52 -05:00
Brian Roberts 45673a8b9e
Merge pull request #1051 from Azaezel/alpha41/gtestCheck
gtest tweaks
2023-07-19 11:14:57 -05:00
Brian Roberts 9d89e015e7
Merge pull request #1053 from marauder2k9-torque/GLBorder
Add border color and clamp to border
2023-07-19 11:10:41 -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
Areloch ae108d0411
Merge pull request #1052 from Areloch/GFXDeviceNullCheckFix
Adds a logical check for when we try and check for found adapters
2023-07-17 21:55:01 -05: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 581c54767b Merge branch 'alpha41/cmake_adjustments' of https://github.com/Azaezel/Torque3D-1 into alpha41/cmake_adjustments 2023-07-11 23:23:51 -05:00
AzaezelX 962202cd91 resolve scripttest name conflicts 2023-07-11 23:23:41 -05:00