Commit graph

4151 commits

Author SHA1 Message Date
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
AzaezelX 061c25686d add setEulerRotation to pair with getEulerRotation for sceneobjects 2023-07-03 15:14:17 -05:00
marauder2k7 22f8e46288 Copy and Paste
Copy and paste buttons added for multi dimensional fields
No longer name conflict errors coming up.
2023-07-03 20:59:16 +01:00
marauder2k7 4abd6d6bc2 Merge remote-tracking branch 'upstream/development' into GuiInspectorFields 2023-07-03 19:19:14 +01:00
AzaezelX 678fd2a3cc assert to skip the rest 2023-06-21 13:02:12 -05:00
AzaezelX 80437b3515 suggested sdl compile fix 2023-06-17 15:07:12 -05:00
AzaezelX fd758b1736 fix forest element inspector 2023-06-17 11:31:32 -05:00
marauder2k7 5527207805 AngAxis toEuler
Add Euler set and to functions to AngAxis.
Removes the need to use a matrix
2023-06-13 15:11:28 +01:00
marauder2k7 a4e2bfe34e Commit before cleanup
-TypeRotationMatrix working as designed
no more funny business on focus.
2023-06-11 22:37:08 +01:00
marauder2k7 cbe2bd4c7b Conversions
Commit from Azaezel to fix the naming of inspector fields.
TypeMatrixField still messes around on first responder, we know these functions convert angAxis to eul properly and from eul to angAxis but when the data comes to TypeMatrix it changes.... weird issue is weird.
2023-06-11 21:59:03 +01:00
AzaezelX 1ddef642c1 helps if we test the right order azy... 2023-06-10 18:20:05 -05:00
AzaezelX dc1c1b6c0d try an additional CI gtest filter... 2023-06-10 18:17:34 -05:00
marauder2k7 92920dbcd9 Change to GuiTextEditSliderCtrl
Change dimension elements to a guiTextEditSliderCtrl
add a button to copy all elements of the multi dimension class to the platform clipboard
2023-06-10 21:30:58 +01:00
marauder2k7 0a7550eeba Update guiInspectorTypes.cpp 2023-06-10 18:15:03 +01:00
marauder2k7 e6dbe0a860 Add multi dimensional entries to inspector
-Added 3 new classes
GuiInspectorType2DValue - 2 dimensional value
GuiInspectorType3DValue - 3 dimensional value
GuiInspectorType4DValue - 4 dimensional value

Added GuiInspectorTypePoint3F for 3 dimensional positions.
Added GuiInspectorTypeMatrixRotation for object rotation. Translates rotation to degrees atm. Input from this is not accounted for just yet.
2023-06-10 16:50:59 +01:00
AzaezelX 52093cbde5 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-06-08 13:31:34 -05:00
AzaezelX 1c8af18b35 if a module lacks a cmakelists.txt or cmake file, yet contains a /source/ directory, throw in the .h and .cpp files under modules/modulename/source 2023-06-07 10:34:28 -05:00
AzaezelX 9f01515e78 library containment:
after execution of found cmakelists.txt files, searh the engine/lib and apname/data directories recursively for a *torque_postbuild.cmake file, including the contents, to ensure any values used, such as TORQUE_LINK_LIBRARIES remain in parent scope
2023-06-06 19:32:58 -05:00
AzaezelX 3ef60ffcb6 rework apple specific rpath assigns 2023-06-05 17:35:34 -05:00
AzaezelX 8284604315 hide extra mac-side compiler flags 2023-06-05 10:39:28 -05:00
AzaezelX 916e722922 correct overstep 2023-06-04 23:20:03 -05:00
AzaezelX 39bb7fb7b3 supercede ASSIMP_BUILD_NO_OWN_ZLIB config 2023-06-04 21:13:45 -05:00
AzaezelX f6bd20afe1 shift zlib to first compiled library, shift mark_as_ASSIMP_HUNTER_ENABLED to a (hidden) option to attempt match the assimp define 2023-06-04 18:49:24 -05:00
AzaezelX db3e7984ad fix mac compile 2023-06-04 12:45:55 -05:00