Commit graph

280 commits

Author SHA1 Message Date
AzaezelX ba18fdbe6d PROFILE_START_IF profiler macro
sig is an action, a stringtable variable, and an unquoted string to compare against
demonstrated with bitmapSTB
2025-10-16 18:11:29 -05:00
marauder2k7 4a1019619f Update platformMemory.cpp
undo experimental changes to platformMemory.cpp
2025-05-20 10:11:25 +01:00
marauder2k7 700bf32a2a Update minimum requirements and libs
This updates the minimum required cmake version and the libs that have updates for this.
Ogg updated to master as of 20052025
Libsndfile updated to master as of 20052025
Opus minimum cmake version changed
vorbis minimum cmake version changed
2025-05-20 10:09:42 +01:00
AzaezelX ab5fcc00e9 scrub memlogs
ensures you can run leaktrace multiple times without a restart without accumulations
2025-05-19 20:32:00 -05:00
AzaezelX aeea20f078 mem report cleanups
ditch reporting ram adresses. it complicates comparisons
remove console filtering
spool report std::atexit
sort report by magnitude, then frequency
2025-05-19 05:59:36 -05:00
marauder2k7 e5e3efb30c Update platformMemory.h 2025-05-12 11:50:56 +01:00
marauder2k7 2b14e5448e Revert "update"
This reverts commit 7ac9c55bf1efa23db674dba4f2c7ada7ca344d7d.
2025-05-12 11:50:45 +01:00
marauder2k7 5cc2abc9ae update
revert console.h to best working version
wrap includes around the TORQUE_DISABLE_MEMORY_MANAGER macro
in torqueConfig.h.in add check for whether we are in release and make sure TORQUE_DISABLE_MEMORY_MANAGER is defined.
2025-05-12 11:50:44 +01:00
marauder2k7 6237703140 Update platformMemory.cpp
stop memleaker from leaking...... yes i see the irony
free was being blocked from running when unitialized
in shutdown reset our allocList allocCount and currentAllocId so the array can be written to again
2025-05-12 11:50:25 +01:00
marauder2k7 b0eb3875c9 changes from az
Output now collates issues together into 1 entry for each leak point
tDictionary leak
2025-05-12 11:50:18 +01:00
marauder2k7 1050cad372 Update platformMemory.cpp
add date and time to output logfile
2025-05-12 11:50:17 +01:00
marauder2k7 8f856dd7cd build fixes missed by copy over 2025-05-12 11:50:14 +01:00
marauder2k7 8c812cb448 initial commit
This change makes the memory manager work again for detecting leaks, the built in one kept coming into de-ref and other bugs so this is the start of a refactor to get it working.
2025-05-12 11:50:13 +01:00
AzaezelX 7364fb495d add guide button support
courtessy steve_yorkshire
2025-03-01 16:58:35 -06:00
AzaezelX c41f4d6680 since
https://github.com/Torque3DResources/curlModule/blob/main/source/libs/libs.cmake
appends TORQUE_INCLUDE_DIRECTORIES
we can look in that dir for httpobject sintead of relying on relative-to-core locations
2025-01-23 20:59:21 -06:00
marauder2k7 2b295fb7f0 rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
2024-03-18 18:40:22 +00:00
marauder2k7 efbe5e90f5 virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
2024-03-18 18:13:00 +00:00
marauder2k7 ad64b4f2df IES Loader
Updated IES loader to use torque math functions and calls in the problem areas for mac and linux.

New F32_MIN_EX which is lower than F32_MIN (required for ies profiles)
2024-02-21 09:36:37 +00: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 2866b3afd6 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-07-21 08:53: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 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 1821933b51 minor double to float warn cleanup in unit test suite 2023-07-03 17:08:38 -05:00
Brian Roberts a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
AzaezelX 835d6f009a thread var initialization fixes 2023-05-01 14:17:17 -05:00
AzaezelX 0d4221fa59 uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX 0ce2da3a23 clean up math varsize complaints 2023-04-27 16:10:04 -05:00
Lukas Aldershaab be4f3e7f1b Prevent tests from never ending due to threading bug 2023-04-08 00:50:57 +02:00
Lukas Aldershaab 1d28ddf734 Cleanup and improve 2023-04-06 15:28:09 +02:00
AzaezelX f5a34308f9 add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
Glenn Smith 3bdbe5965e
Fix some compiler warnings on macos 2023-01-01 22:56:56 -05:00
Areloch 5e9d7d63a1 Adjusts handling for httpObject class so that if curl flag is off, files are not included and references are disabled to avoid compilation issues
Adds SMAA anti aliasing
Adjusts AA option setting to properly work and facilitate SMAA
Added defaults for AA to facilitate SMAA
Updated brightness and HDR values on Example Level to comply more closely to the Editor default to give better default results
Fixed issue where ShapeEditor wasn't initialized properly when we'd open it from the Asset Browser
2022-09-16 16:16:12 -05:00
Glenn Smith 20eb0a911a
HTTPObject with CURL 2022-09-03 00:54:26 -04:00
Robert MacGregor 35b348f93c * Adjustment: Change Platform::makeFullPathName to use "game:/" as cwd if none is specified. 2022-06-16 19:04:43 -04:00
Robert MacGregor 3dafdef5da * BugFix: Mount home:/ to refer to Torque's original Documents/<APPNAME> output for eg. prefs while leaving data:/ as an option for those that may want it. 2022-06-13 10:53:01 -04:00
Robert MacGregor 59cf242a7a * BugFix: Fix the data:/ VFS not being mounted if the root directory didn't already exist. 2022-06-13 10:32:39 -04:00
Robert MacGregor 161ffc62fe Merge branch 'Preview4_0' into feature-vfs-security 2022-06-13 08:05:26 -04:00
Robert MacGregor 2368f1d97c * Feature: Reimplement POSIX CPU information.
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
2022-05-24 20:58:28 -04:00
Robert MacGregor c687c0d23a * BugFix: Remove unused 3DNow! extensions and broken SSE extensions. 2022-05-24 20:39:34 -04:00
Jeff Hutchinson 27fd15de83 Merge remote-tracking branch 't3d/Preview4_0' into cpuinfo 2022-05-24 17:16:57 -04:00
Robert MacGregor 0e93373824 * BugFix: When querying against root with Torque::FS::DumpDirectories, correctly return directories with their path.
* Adjustment: Add commenting to some of the new programming.
* Adjustment: Tweak fileCreatedTime and fileModifiedTime functions to use the VFS.
2021-12-20 19:26:32 -05:00
Robert MacGregor 7665076b19 * Cleanup: Minor cleanup of test code and an unused include. 2021-12-19 00:54:11 -05:00
Robert MacGregor 277cdf67b0 * Feature: Initial secure VFS implementation with asset import capability. 2021-12-17 21:16:42 -05:00
Robert MacGregor 2311d7d683 * BugFix: Correct an ASAN reported memory error caused by incorrect usage of __sync_fetch_and_add. 2021-11-02 18:11:42 -04:00
Robert MacGregor aba091a97a Merge remote-tracking branch 'main/Preview4_0' into bugfix-msvc-compiler-warnings 2021-10-11 19:36:52 -04:00
Robert MacGregor cf9d15a9d4 * BugFix: Correct a Windows compilation error in the endian swap code due to a missing include. 2021-10-08 17:23:16 -04:00
Robert MacGregor 15b946fb35 * Adjustment: Utilize native compiler intrinsics for endian swapping when available. 2021-10-07 09:59:03 -04:00
Robert MacGregor 5d26dba7da * BugFix: Clear some MSVC compiler warnings. 2021-10-07 00:27:39 -04:00