Azaezel
f87f7c41b6
backend correction for https://github.com/GarageGames/Torque3D/pull/1425
2015-09-25 17:09:41 -05:00
Areloch
5874b8db59
Merge pull request #1380 from Azaezel/C4946
...
partly addresses C4946 warnings
2015-09-04 21:23:44 -05:00
Areloch
bedc79aacb
Merges in Monkey's fixes PR with a resolution for a conflict
2015-09-03 22:58:57 -05:00
Areloch
b1d2ba8412
Merge pull request #1379 from Azaezel/C4189
...
C4189 warning cleanups
2015-09-02 19:46:28 -05:00
Areloch
4c4a84099b
Merge pull request #1375 from Areloch/Update1001
...
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-08-28 11:46:41 -05:00
Azaezel
3c1c88d96b
TORQUE_VALIDATE_STACK define for console stack debugging
2015-07-29 04:46:36 -05:00
Azaezel
555610f69f
Addresses roughly half of the C4189 errors though the following methodologies:
...
1) truly unused vars removed
2) vars leading to remmed out code for debugging remmed in turn.
left out:
vars in macros.
2015-07-29 03:03:27 -05:00
Areloch
3a18819e1e
Issue found by PVS Studio:
...
Several instances where we utilize a pointer variable without properly testing that they aren't null first.
2015-07-28 23:25:09 -05:00
Areloch
859e653bd7
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-07-28 00:53:58 -05:00
Daniel Buckmaster
d91ec87d3e
Merge pull request #1371 from eightyeight/vs2015-warnings-1
...
Random VS warnings
2015-07-25 10:55:45 +10:00
Daniel Buckmaster
d268199f4f
Merge pull request #1339 from Areloch/Remove_Demo_Mode_Checks
...
Remove demo and trial checks
2015-07-23 20:33:31 +10:00
Daniel Buckmaster
5e2de608d5
C4091 typedef ignored.
2015-07-23 20:03:30 +10:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
Azaezel
4bba5d87d0
partly addresses https://msdn.microsoft.com/en-us/library/y775w13y.aspx?f=255&MSPPError=-2147217396 violations
2015-07-16 21:51:37 -05:00
Areloch
5c688260d5
Issue found with PVS-Studio:
...
Many places utilize post-incrementation with iterators, but it's better performance to use pre-incrementation.
Resolved by changing the iter++ instances to ++iter;
2015-07-13 23:08:17 -05:00
Daniel Buckmaster
bac84eec3c
Merge pull request #992 from Winterleaf/Fix-engineFunctions.h
...
Pragma pack for x32/x64
2015-07-12 16:17:45 +10:00
Daniel Buckmaster
5caf62b19f
Merge pull request #1342 from Azaezel/Offsetof
...
offsetof is actually a standard thing nowadays it would seem
2015-07-05 11:26:53 +10:00
Raul Ferriz
5ef130d581
Fixed some random Worder warnings
2015-07-03 15:52:38 +02:00
Azaezel
5d89ab126d
offsetof is actually a standard thing nowadays it would seem
2015-07-03 02:52:08 -05:00
Raul Ferriz
7e172869a9
Fixed warning.
...
Sort struct initialization to match fields declaration avoids a warnings on GCC.
2015-07-02 22:06:24 +02:00
Areloch
0d6768d57b
Removing stuff pertaining to demo modes and trials, as they're redundant now.
2015-07-01 23:36:56 -05:00
Daniel Buckmaster
d89c3b7c6f
Merge pull request #1333 from Azaezel/PluggingLeaks
...
Plugging Memory Leaks
2015-06-28 14:41:13 +10:00
Azaezel
b1e8a45a48
leak prevention according to: https://vld.codeplex.com/ ConsoleValue() constructors and destructors to handle corner-cases not already addressed via init, and cleanup
2015-06-02 14:25:08 -05:00
James Urquhart
d9436e65c5
Add workaround for issue #1292
2015-05-28 20:34:10 +10:00
James Urquhart
e5c28b4d7f
Simplify buffer check when adding a registered variable
2015-05-16 14:57:40 +01:00
James Urquhart
15169eab9f
Fix issue with registered variables becoming corrupted when string value was accessed.
2015-05-16 14:50:20 +01:00
James Urquhart
3a218217f4
Add workaround for issue #1292
2015-05-15 12:32:00 +01:00
James Urquhart
12d435c341
Remove value constructors for ConsoleValueRef & fix callbacks which use them. Fixes issue #1289
2015-05-08 09:04:04 +10:00
Daniel Buckmaster
84e8cbb4ee
Revert recent style cleanup changes.
2015-03-04 11:58:36 +11:00
Daniel Buckmaster
33fcc59543
Merge remote-tracking branch 'origin/style-cleanup' into development
...
Conflicts:
Engine/source/T3D/tsStatic.cpp
Engine/source/console/compiledEval.cpp
Engine/source/ts/tsMesh.cpp
Engine/source/ts/tsShape.cpp
2015-03-01 22:30:22 +11:00
Daniel Buckmaster
57eed9c8e4
Amend console stack fixes to work with gcc in Ubuntu x64.
2015-03-01 20:34:16 +11:00
Daniel Buckmaster
6c92ab065e
Merge remote-tracking branch 'jamesu/console_stack_fix2' into development
...
Conflicts:
Engine/source/console/console.cpp
2015-03-01 20:33:29 +11:00
Daniel Buckmaster
497a15cfd0
Merge pull request #1214 from bpay/cppcheck-cleaning
...
Fix some issues flagged by cppcheck
2015-03-01 18:27:40 +11:00
Daniel Buckmaster
4aeaad91e7
Merge pull request #1218 from eightyeight/revert-1036
...
Revert "PR for issue #748 "
2015-03-01 14:14:00 +11:00
Daniel Buckmaster
18cc91000e
Merge pull request #1220 from eightyeight/fix-#396
...
Fix #396
2015-03-01 14:13:50 +11:00
Azaezel
54e1cceda9
Con::executef trampoline had mismatched argc values for the high end
2015-02-26 14:28:21 -06:00
Daniel Buckmaster
0bf021280e
Regenerate parser.
2015-02-22 14:46:06 +11:00
Daniel Buckmaster
69ffe43b10
Fix docblock parsing rule.
...
We first require that the first character after a /// not be a newline,
in addition to it not being another /. Then we make the whole contents
of the line optional, so we can handle empty lines.
2015-02-22 14:44:48 +11:00
Daniel Buckmaster
ded87c0165
Revert "PR for issue #748 "
...
This reverts commit 8518c85e80 .
2015-02-22 12:47:00 +11:00
Ben Payne
591253d5b5
Fix missing va_end's
2015-02-20 18:42:29 -05:00
James Urquhart
942c7a48f4
Fix corruption issue with string iterator was using an absolute pointer. Also adds a special relative pointer type for constructed strings on the stack.
2015-02-16 21:23:42 +00:00
Daniel Buckmaster
486a12cb96
Merge pull request #1183 from MusicMonkey5555/documentation
...
Documentation
2015-02-14 19:52:37 +11:00
Nathan Bowhay
0007a518bc
Corrected filesize units in return comment
...
I may be mistaken but at least in windows I think the return will be in
bytes no KB.
2015-02-11 09:53:45 -08:00
James Urquhart
97ab694af8
Add extra executef by popular demand
2015-02-10 22:36:09 +00:00
Daniel Buckmaster
7d4aeb8779
Merge pull request #1175 from Azaezel/linkNamespacesDebugOutput
...
feedback for *which* namespace is already linked.
2015-02-10 14:55:14 +11:00
Azaezel
fb79d1fec7
formatting
2015-02-09 21:53:44 -06:00
James Urquhart
3f97c2cedd
Fix building on GCC
2015-02-09 16:14:14 +00:00
James Urquhart
4a97054f02
Workaround for GCC/LLVM
2015-02-08 11:22:17 +00:00
James Urquhart
1449c4df57
Add some tests for engineAPI and console
2015-02-08 00:08:19 +00:00
James Urquhart
94a46d7123
Regenerate engineAPI.h from a template
2015-02-08 00:08:19 +00:00