James Urquhart
d9436e65c5
Add workaround for issue #1292
2015-05-28 20:34:10 +10: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
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
Azaezel
54e1cceda9
Con::executef trampoline had mismatched argc values for the high end
2015-02-26 14:28:21 -06: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
James Urquhart
f44a3f27d6
Fix stack balancing problems by refactoring execution calls
...
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
LuisAntonRebollo
3336bffad2
Changes for Linux.
2015-01-19 01:44:36 +01:00
Daniel Buckmaster
1204b81a78
Added anomymous functions as in Konrad Kiss's resource.
2014-12-29 21:49:52 +11:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
Daniel Buckmaster
b507dc9555
Merge branch 'master' into console-func-refactor
...
Conflicts:
Engine/source/app/net/net.cpp
Engine/source/console/astNodes.cpp
Engine/source/console/compiledEval.cpp
Engine/source/console/console.h
Engine/source/console/consoleInternal.h
Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
bank
f3fc84738b
Use fixed buffer size var when allocating return buffer from console.
...
Conflicts:
Engine/source/T3D/missionArea.cpp
Engine/source/gui/editor/guiDebugger.cpp
2014-06-11 13:09:55 +04:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
jamesu
98b92360f9
Signed values now set/get from the float value. Also add a bool helper.
2012-11-09 23:00:46 +00:00
jamesu
08d4f6ebc0
Improvements to console refactor code
...
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
James Urquhart
38c8e52c1d
Beginnings of the "pass everything using a native type wrapper" console code.
...
- ConsoleValue class is now the base value class.
- ConsoleValueRef is now used to supply function parameters. Values are disposable.
- Script functions return values instead of just strings where possible.
- Variables can be disposable strings
- Bytecode changed
Fix the issues with console method parameters and fields which prevented missions from loading.
2012-10-12 18:56:17 +01:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00