Lukas Pioch
74e6f41958
Don't return const ref params and removed functions from
...
ManualBindings.cpp
2017-05-01 11:10:21 +02:00
Lukas Pioch
6c420ce557
API: Removed function GetChar ( #3664 )
2017-04-05 22:31:42 +01:00
mathiascode
4656be19b7
Removed development plugins from settings file
2017-03-19 21:54:01 +01:00
Lukas Pioch
4b1bc1cc5c
Removed unnecessary check for lower and upper folder
2017-03-16 17:50:19 +01:00
mathiascode
330d66097f
Removed a few default plugins ( #3580 )
2017-02-24 10:11:38 +01:00
Gareth Nelson
1c31cb7eec
Add support for alternate config file locations ( #3578 )
2017-02-22 14:10:32 +01:00
Mattes D
7cc3fb098d
DeadlockDetect now lists some tracked CS's stats.
2017-01-18 09:03:05 +01:00
Mattes D
a52de8e8cd
DeadlockDetect: Provide more information for debugging.
2017-01-17 18:35:12 +01:00
Mattes D
e9547101b1
LuaState: Fixed untracking references.
...
One thread may untrack a ref while another thread was closing the LuaState, which had emptied the tracked refs.
2017-01-15 12:54:58 +01:00
Mattes D
fb0fc07579
Fixed race conditions and forgotten clear in Lua ref tracking. ( #3530 )
...
This fixes occasional crashes on plugin reload.
2017-01-13 10:31:05 +01:00
Mattes D
f62711f97c
LuaState: Fixed race condition in ref tracking. ( #3529 )
2017-01-09 15:56:16 +01:00
Mattes D
b3b723b453
Refactored to put URL Encoding / Decoding in a single place. ( #3491 )
2016-12-25 18:29:21 +01:00
Tiger Wang
8c6d0b51c7
Use CMake's Android generators to crosscompile
2016-12-12 14:32:32 +00:00
Lukas Pioch
0c10704d1f
Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua.
2016-12-10 13:32:11 +01:00
Mattes D
9af17f7c39
LuaState: Fixed stack balance when calling functions ( #3428 )
2016-11-10 16:46:31 +01:00
Mattes D
9eff6f390d
LuaJson: Report serialization errors instead of crashing.
2016-10-27 23:47:36 +02:00
Mattes D
e0f158bba9
Fixed cRankManager API docs.
2016-10-06 21:24:31 +02:00
Mattes D
b1530bb28e
LuaAPI: Fixed possible crashes in HTTPRequest bindings.
2016-09-26 12:47:40 +02:00
Mattes D
e169043a84
Fixed cCompositeChat's constructor LuaAPI bindings.
...
The tolua-generated constructor would return an extra string value.
2016-09-25 12:42:05 +02:00
Mattes D
c83b051c1a
Bindings: Fixed some function signatures comments.
2016-09-08 23:06:38 +02:00
Mattes D
d3cf47cc5d
APIDump: Removed trailing whitespace.
2016-09-08 23:05:52 +02:00
Mattes D
08110ae91b
PluginLua: Removed unneeded assignment.
...
Duplicated in SetLoadError().
2016-09-05 15:05:25 +02:00
Mattes D
5ca371bb9a
cUrlClient: Exported to Lua API.
2016-08-23 13:20:43 +02:00
Mattes D
641cb063bc
cTCPLink supports TLS out of the box.
2016-08-22 23:44:36 +02:00
Mattes D
11682d1386
cLuaState: Moved function param counting to PushCallPop() template.
...
The Push() functions can be used not only for function params, but also returns or temporaries, so it doesn't make sense to count the params there.
2016-08-22 20:10:48 +02:00
Mattes D
9493488e48
cLuaState: Added direct support for pushing a nil constant.
2016-08-22 20:09:56 +02:00
Mattes D
89c9c6fe46
cLuaState: Added support for optional params and AStringMap values.
2016-08-22 20:01:23 +02:00
Mattes D
d4aff474c2
cLuaState: Added template to push multiple values in a single call. ( #3331 )
2016-08-21 11:03:10 +02:00
ElNounch
787173351d
Fix cWorld:QueueTask() Lua's binding
...
Manual binding expect three parameters : self, a number, a function
And then read self and a function...
Removing the extra check for the broken second argument
2016-08-17 23:27:26 +00:00
Mattes D
0f51f7e358
Fixed cWorld:ChunkStay bindings. ( #3319 )
...
Introduced new cLuaState::cOptionalCallback for representing optional callbacks (nil from Lua side).
Introduced new cLuaState::cStackTable class for easy access to Lua table's elements.
Fixes #3305 .
2016-08-14 16:26:31 +02:00
Mattes D
2d58789d66
Converted cLuaState::cTableRef to use cTrackedRef.
...
This makes the table-based callbacks resistent to LuaState unloads and safer to use.
2016-08-13 21:16:21 +02:00
Mattes D
ec235e7120
Removed debug log message.
...
Ref.: #3308
2016-08-11 21:15:54 +02:00
Mattes D
c4578db4df
Fixed LuaAPI library registrations. ( #3308 )
...
lsqlite3 didn't clean up the stack properly.
lxp didn't register itself properly.
2016-08-11 21:04:29 +02:00
Mattes D
778b29b6f4
Fixed cFile API bindings.
2016-08-06 22:08:18 +02:00
Mattes D
f07dc71648
Commented out code_out.cpp generating.
...
Fixes #3296 .
2016-08-06 18:28:57 +02:00
Mattes D
d1dee3c909
Fixed RasPi builds of unit tests.
...
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled.
Enforced the assumption that ASSERT code is generated only in Debug builds.
2016-08-04 20:47:53 +02:00
Mattes D
fc5fb03fec
CMake: Fix system Lua usage for non-5.1 versions. ( #3271 )
2016-07-21 10:46:31 +01:00
Mattes D
8eaa8613da
CMake: Remove needless minimum version specifications.
2016-07-18 22:11:42 +02:00
Mattes D
430b623223
Use system Lua, if available, to generate bindings.
...
Closes #1031 .
2016-07-18 22:11:41 +02:00
Mattes D
abf35f3976
DiffAPIDesc: Support optional params in desc.
2016-07-18 22:11:39 +02:00
Mattes D
f0c53dbad4
LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta
2016-07-18 22:11:38 +02:00
Mattes D
b11605e951
Bindings: Added a script to generate a diff between APIDesc and ToLua.
...
This allows a simple copy operation from the DoxyComments into APIDesc.
2016-07-18 22:11:38 +02:00
Mattes D
984c0a2cef
Bindings: Don't generate docs for private symbols, mark static symbols.
2016-07-18 22:11:38 +02:00
Mattes D
61f76dd7a5
Bindings: Output description is valid Lua file.
2016-07-18 22:11:37 +02:00
Mattes D
751d0d0736
Bindings: Extract unexported DoxyComments.
2016-07-18 22:11:36 +02:00
Mattes D
c5714f6e4b
Bindings: Extract DoxyComments
2016-07-18 22:11:36 +02:00
Mattes D
1a30c2262b
Added a Pure-Lua implementation for bindings generation.
...
The BindingsProcessor.lua script can be opened in ZeroBraneStudio and debugged from there, it invokes the entire ToLua++ processing.
Also added docs-generation to the ToLua++ processor.
2016-07-18 22:11:35 +02:00
Mattes D
5095a9f48b
Fixed Lua Json serializing a bool.
...
Fixes #3257 .
2016-07-10 08:16:44 +02:00
Mattes D
a184f57eb3
Bindings: Added missing dependencies.
...
Fixes #3245
2016-07-02 00:30:22 +02:00
Mattes D
0eea5c9fc5
CircleCI: Check for missing Bindings dependencies
...
This commit fails the CircleCI tests on purpose, so that we know that the check works.
2016-07-02 00:30:22 +02:00