Triston Caton
c24d0211bd
more constexprs
...
# Conflicts:
# Engine/source/core/util/refBase.h
2025-10-05 13:24:54 -04:00
Triston Caton
8d1e95b3f3
resolved constexpr constructor not mem-initializing member variables
2025-10-04 19:38:30 -04:00
Triston Caton
4fc85ba717
addressed some refBase.h warns
2025-10-04 17:18:38 -04:00
AzaezelX
2c15877d5a
add extra safeties to safe_delete macros
2025-06-06 10:45:05 -05:00
AzaezelX
76b33ab57b
unintialized variable cleanups
2025-05-26 15:16:48 -05:00
AzaezelX
6596865d92
overflow avoidance
2025-05-26 15:16:18 -05: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
bank
5e8af7020c
Fix memory leak in ZipSubRStream
...
Inside attachStream() method we may clone passed stream, but never delete it.
2025-02-19 15:06:02 +03:00
marauder2k7
a91ddfffa1
fixes for linux
...
According to doc and man pages we should not be using %Lg for a double as %Lg relates to a long double, F64 in torque is just a double so. This also produces better results when going from colorF to the colorPicker dialogue
2025-01-24 08:44:57 +00:00
marauder2k7
324acaf896
Update uuid.cpp
...
code review from Tron better method for uuid toString
2024-07-23 13:36:49 +01:00
marauder2k7
665fc092aa
Update uuid.cpp
...
remove dmalloc
2024-07-23 13:09:23 +01:00
marauder2k7
80a1f0a0c5
Update uuid.cpp
...
add a malloc to target to make sure it has the length to take the string
2024-07-23 08:07:54 +01:00
marauder2k7
0853748f12
Update uuid.cpp
...
2 pass format_token, 1st gets the length required second passes it to target.
2024-07-23 07:58:03 +01:00
marauder2k7
3e57c709d9
Update uuid.cpp
2024-07-23 01:33:26 +01:00
marauder2k7
a621cc5100
various warnings
...
warnings cleanup
2024-07-22 20:59:48 +01: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
4417462499
Add support for both ies and cookie
...
Both ies and cookies can now exist on a light
We are still not using all the capabilities of an IES profile, such as candela and luminance values we are just using them as a mask for the moment
Issues compiling on mac and linux, will need to update the ies-loader to use torque methods instead of std::
2024-02-21 07:40:57 +00:00
James Urquhart
3781c7fae5
Add an alternate allocator for DecalManager; Also fix SFX weirdness.
2024-02-04 23:27:31 +00:00
Brian Roberts
0d981b62cf
Merge pull request #1015 from Azaezel/alpha41/consoleCleanups
...
fix warn reports for buffer over-runs
2023-05-09 14:44:01 -05:00
AzaezelX
0d4221fa59
uninitialized and unused value cleanups
...
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX
9e036f142b
fix warn reports for buffer oveeruns
...
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
Jeff Hutchinson
1940becb2d
Compilation fixes for C++20
2022-11-28 21:39:06 -05:00
Robert MacGregor
161ffc62fe
Merge branch 'Preview4_0' into feature-vfs-security
2022-06-13 08:05:26 -04:00
Robert MacGregor
4ef3f89280
* BugFix: Correct a minor post-merge typo.
2022-06-09 23:10:13 -04:00
Robert MacGregor
1e9aa8b86f
Merge branch 'Preview4_0' into str_cpp_memory_experiment
2022-06-09 22:49:43 -04:00
Robert MacGregor
704113577b
* Cleanup: Remove leftover comments from str.cpp.
2022-06-09 19:30:25 -04:00
Robert MacGregor
6d0e81763b
* BugFix: Correct not setting the string to interned when allocating a StringData with a DataChunker in str.cpp.
2022-06-09 19:26:39 -04:00
Robert MacGregor
2cdfe70e50
* Experiment: Change the way StringData is allocated in the code, experimentally.
2022-06-08 11:27:16 -04:00
Jeff Hutchinson
3988e7baee
Better allocator for TorqueScript temp conversions used during interpretation
...
instead of using a Vector<> that never frees and grows for torquescript temporaries created when doing type conversions)
2022-05-21 21:55:44 -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
cbe7ee13d6
* Adjustment: Change several filesystem functions to use the VFS.
...
* Feature: Initial implementation of a VFS dump directories function.
2021-12-18 23:37:49 -05:00
Robert MacGregor
948bc43d85
* Feature: Augment VFS file information with creation times & update some console functions to use VFS.
2021-12-18 03:56:11 -05:00
Robert MacGregor
2586e73145
* BugFix: Correct a few memory leaks.
2021-10-14 19:40:16 -04:00
Robert MacGregor
c376bc3f9c
* [ZIP] BugFix: Correct another codepath that may fail due to case sensitive string searches.
2021-10-11 19:31:37 -04:00
Robert MacGregor
8d0128698a
* [ZIPVolume] BugFix: Add the capability of resolving ZIP prefix paths with case insensitivity and a CMake option to control this behavior.
2021-10-11 19:02:58 -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
1b6b803a20
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
2021-10-04 20:04:21 -04:00
Jeff Hutchinson
c16b88d709
Fix temporary buffer for scripting conversions.
2021-09-04 21:25:11 -04:00
Jeff Hutchinson
b0549118b6
various misc fixes from merge.
2021-09-01 22:36:59 -04:00
Robert MacGregor
1b55dce613
* Workaround: Implement noinline attributes for problematic functions in str.cpp due to what appears to be GCC compiler bugs.
2021-09-01 21:12:12 -04:00
Robert MacGregor
3ecdf292d7
* Adjustment: Remove some unnecessary ifdef logic in UUID headers.
2021-08-20 22:53:45 -04:00
Robert MacGregor
eca3fbfa67
* [UUID] BugFix: Correct a memory mismanagement error in UUID programming due to the way xuuid_t is utilized.
2021-08-14 17:44:17 -04:00
Areloch
83b0432283
Merge pull request #489 from Azaezel/alpha40/zipPassPunt
...
expose a zip file password cmake config option
2021-07-17 11:03:26 -05:00
Areloch
4d40e3cab5
Merge pull request #449 from OTHGMars/Zip_Test2
...
Loading from zipped game directories.
2021-07-17 11:03:19 -05:00
AzaezelX
a34aea55f7
expose a zip file password cmake config option
2021-06-02 16:08:51 -05:00
Jeff Hutchinson
e981fd2cc3
Add support for aarch64 / apple silicon
2021-05-10 15:55:56 -04:00
AzaezelX
2e3e4228b2
make string to char* conversion automatic
2021-04-21 14:45:10 -05:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +01:00
OTHGMars
0484956a1f
Enables pattern searches to enter zipped sub-directories.
2021-01-11 04:53:38 -05:00