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
OTHGMars
e808fc4407
Clone file handle for concurrent zip access.
2021-01-11 04:49:43 -05:00
Lukas Joergensen
a241d27b58
Expand EngineAPI type definitions
2020-11-15 21:30:45 +01:00
Lukas Aldershaab
c999baf7ed
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
2020-10-03 14:37:55 +02:00
AzaezelX
81a4e47235
crashfix-string deconstructor
...
validate we aren't either empty or using the reserved empty string before we release the pointed to value (as a note, the latter at least shouldn't have been required, but might as well be paranoid about it)
2020-06-02 17:10:39 -05:00
AzaezelX
bfcc83638d
uninitialized variables-core-2
...
(cherry picked from commit 7c329699e4e4d13a164b2483e174b5f555ea9344)
2020-05-11 15:13:29 -05:00
Azaezel
1eed979a9c
Merge branch 'method_Unmangle' into PBR_PR
2018-12-12 14:54:22 -06:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Areloch
57f8549abe
Shifted to the static-list arrangement for probe instance tracking to help performance as well as drastically streamline the data submission/material instance flow for probe rendering.
2018-10-07 17:32:23 -05:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Azaezel
cbce2ee805
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
...
# Conflicts:
# Engine/source/console/consoleFunctions.cpp
2018-03-28 15:42:34 -05:00
Azaezel
064dfbc4f4
tsignal::order to ::mOrder. yet another potential conflict with a class member vs a method input
2018-03-13 14:22:51 -05:00
Glenn Smith
47d5b6ead7
As suggested, extract strlen calls from sizes into variables so it isn't called twice
2018-03-08 20:59:40 -05:00
Glenn Smith
d9a723d533
More cats and cpys in files that xcode doesn't see
2018-03-07 01:13:56 -05:00
Glenn Smith
79c34c68db
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Areloch
25686ed4be
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Phillip Khandeliants
cf776cf8b0
Fixed V591: Non-void function should return a value
...
If there is needed to prevent the copying of the object, then there is no need to provide the definition of the copy constructor and the assignment operator, because the member functions and friendly functions can still call them. If the code is compiled by a compiler with support for the C++11 standard, you can delete them using the keyword 'delete'
2017-04-27 10:33:31 +03:00
DTFuchs
f79c688596
Update str.cpp
2017-04-23 18:49:08 -04:00
Areloch
dba8b5b327
Merge branch 'development' into Xenon_Removal
2017-04-18 20:47:43 -05:00
klaus95
d6fd1a49ca
Fix for bug #1738
...
getTrailingNumber("string") and stripTrailingNumber("string") will now work for single letter cases. For example, getTrailingNumber() will return "11" if the input is "a11" or "t11", and stripTrailingNumber() will return "a" if the input is "a11".
2017-04-17 15:46:44 -07:00
Areloch
ed14b6fced
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
2017-04-08 20:30:57 -05:00
Areloch
fd99f976a6
Merge pull request #1798 from Azaezel/UUID_unmangle
...
clang: format_token string format correction
2016-10-24 01:27:38 -05:00
Anis
bd4f2b002d
Merge pull request #1801 from Azaezel/registerRemoval
...
clang: register type modifier deprecated
2016-10-21 20:04:42 +02:00