summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2018-01-03cLuaState: Update `Push` for entities. (#4128)peterbell101-47/+35
2017-12-21Fixed Clang 5.0 compile errors (#4085)bibo381-0/+8
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-2/+2
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-1/+1
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-1/+1
2017-08-25Add cUUID class (#3871)peterbell101-0/+76
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+1
2017-08-18Represent cItem::m_Lore as an AStringVector (#3882)peterbell101-0/+31
2017-08-17Add cLuaWindow OnClicked Callback (#3901)Lane Kolbly1-0/+11
2017-06-26Moved ApiParamError into cLuaState.Mattes D1-1/+67
2017-06-24cBlockArea supports block entities. (#3795)Mattes D1-0/+24
2017-06-09Fixed handling Lua errors in nested callbacks (#3755)Mattes D1-2/+6
2017-05-09Fixed Lua bindings for const objects.Mattes D1-92/+4
2017-01-18DeadlockDetect now lists some tracked CS's stats.Mattes D1-0/+19
2017-01-15LuaState: Fixed untracking references.Mattes D1-5/+7
2017-01-13Fixed race conditions and forgotten clear in Lua ref tracking. (#3530)Mattes D1-4/+7
2017-01-09LuaState: Fixed race condition in ref tracking. (#3529)Mattes D1-15/+67
2016-11-10LuaState: Fixed stack balance when calling functions (#3428)Mattes D1-6/+28
2016-08-23cUrlClient: Exported to Lua API.Mattes D1-0/+11
2016-08-22cLuaState: Moved function param counting to PushCallPop() template.Mattes D1-27/+0
2016-08-22cLuaState: Added direct support for pushing a nil constant.Mattes D1-12/+13
2016-08-22cLuaState: Added support for optional params and AStringMap values.Mattes D1-0/+76
2016-08-14Fixed cWorld:ChunkStay bindings. (#3319)Mattes D1-12/+110
2016-08-13Converted cLuaState::cTableRef to use cTrackedRef.Mattes D1-33/+128
2016-08-11Removed debug log message.Mattes D1-1/+0
2016-08-11Fixed LuaAPI library registrations. (#3308)Mattes D1-1/+18
2016-08-04Fixed RasPi builds of unit tests.Mattes D1-14/+14
2016-06-27Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D1-0/+13
2016-06-27Removed dead code related to callbacks.Mattes D1-2/+2
2016-06-27cPluginManager: Use a callback for command handler registration.Mattes D1-0/+4
2016-06-27LuaState: Implemented proper locking for cCallback.Mattes D1-12/+46
2016-06-27Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-13/+57
2016-06-27Changed plugin hook registrations to use cLuaState::cCallback.Mattes D1-9/+28
2016-06-27Added cLuaState::cCallback for representing (resettable) Lua callbacks.Mattes D1-4/+145
2016-06-05Bindings: Add a const-ptr variant to all stack getter functionsMattes D1-0/+1
2016-05-31LuaState: Inter-plugin calls now support simple tables. (#3220)Mattes D1-52/+126
2016-03-21Revert "Lua callback"Mattes D1-212/+8
2016-03-17Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-14/+58
2016-03-17Changed plugin hook registrations to use cLuaState::cCallback.Mattes D1-9/+28
2016-03-17Added cLuaState::cCallback for representing (resettable) Lua callbacks.Mattes D1-4/+145
2016-02-05Bulk clearing of whitespaceLogicParrot1-51/+51
2015-12-24Added a Json parser and serializer to Lua API.Mattes D1-0/+2
2015-12-19Fixes for clang-3.7Lukas Pioch1-1/+1
2015-12-18Revised the explosion-related Lua API and docs.Mattes D1-33/+33
2015-12-01Added PieceStructures generator.Mattes D1-2/+74
2015-09-28Added LuaState tracker and memory stats logging.Mattes D1-0/+72
2015-09-28Made Lua API check strings strictly.Mattes D1-1/+4
2015-09-26Extended and fixed the cFile API.Mattes D1-0/+12
2015-09-25Maked it compileable for clang-3.7Lukas Pioch1-3/+3
2015-08-20Use container-based infrastructure for TravisTiger Wang1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-12/+24
2015-06-20Added basic support for loading village prefabs from files.Mattes D1-1/+5
2015-06-17LuaState: Added support for config-style usage.Mattes D1-10/+73
2015-05-19Added LuaState support for all integral typestycho1-32/+19
2015-05-16Lua: Break into ZBS debugger on API errors.Mattes D1-0/+26
2015-05-13Moved cWorld manual bindings out into a separate file.Mattes D1-1/+1
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D1-371/+6
2015-05-10OnExecuteCommand hook can override the command result (crXXX).Mattes D1-0/+12
2015-05-09More style checking.Mattes D1-2/+2
2015-05-09Fixed some Visual Studio warningsTiger Wang1-3/+15
2015-05-07Fixed inter-plugin calls.Mattes D1-9/+4
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-0/+41
2015-04-29Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D1-1/+31
2015-04-23Refactored ManualBindings' callbacks using templates.Mattes D1-0/+18
2015-04-23Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D1-19/+89
2015-02-20cNetwork: Added UDP API.Mattes D1-0/+12
2015-02-12LuaAPI: Added client TLS support for TCP links.Mattes D1-0/+12
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+33
2015-02-04cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D1-0/+12
2015-01-18Fixed type-conversion warnings.Mattes D1-1/+1
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-0/+7
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-27/+27
2014-10-22LuaState: Projectiles are pushed using their full class.Mattes D1-1/+1
2014-10-21cLuaState: cEntity is pushed with specific type.Mattes D1-7/+48
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-27/+27
2014-10-20Fixed a potential crash in cEntity bindings.Mattes D1-2/+6
2014-10-19cLuaState: cMonster descendants don't push their specific type.Mattes D1-1/+10
2014-10-19cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D1-1/+1
2014-10-19LuaState: Pushing a cEntity pushes the correct class name.Mattes D1-1/+3
2014-10-06Fixed crash in ForEachEntityInBox API.madmaxoft1-3/+11
2014-09-03LuaState: Fixed class value-getting off the stack.madmaxoft1-4/+4
2014-09-03Added cWorld::ForEachEntityInBox()madmaxoft1-0/+26
2014-08-22cLuaState: Fixed Vector3<> names pushed to Lua.Mattes D1-5/+41
2014-07-19Fixed style: spaces after commas.madmaxoft1-2/+1
2014-07-17Normalized comments.madmaxoft1-2/+2
2014-07-03Changed OnWeatherChanging hook to always read the returned weather.madmaxoft1-0/+12
2014-06-03Fixed OnProjectileHitBlock bindings.madmaxoft1-61/+86
2014-03-29Fixed error when the hook gets called.STRWarrior1-0/+12
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney1-0/+1
2014-03-20Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft1-2/+3
2014-03-19Errors in Lua don't include the error handler in the stack trace.madmaxoft1-5/+5
2014-03-12Fixed Lua string return values.madmaxoft1-4/+0
2014-03-12Moved Lua API registering into a separate function.madmaxoft1-1/+9
2014-03-11Fixed a load of format string errorsTycho1-1/+3
2014-03-07Fixed warningsTycho1-0/+1
2014-03-04cLuaState: Made public the GetStackValue() functions.madmaxoft1-6/+12
2014-03-02Manually exported g_Block tablesandrew1-0/+2
2014-02-26Attempted fix for several GCC warnings.madmaxoft1-0/+7
2014-02-17Add Lua plugin path to package.path and .cpath.madmaxoft1-0/+26
2014-02-11Added cLuaState::CheckParamFunctionOrNil().madmaxoft1-2/+34
2014-02-11Fixed nested plugin function calls.madmaxoft1-6/+9
2014-02-10cLuaState: Stack traces don't include ghost 0-th element.madmaxoft1-1/+1
2014-02-09cLuaState::cRef can be unbound and re-bound.madmaxoft1-7/+45
2014-02-04Removed a useless check in cLuaState.madmaxoft1-3/+1
2014-02-04Fixed calling plugins with userdata params.madmaxoft1-0/+1
2014-02-04Removed a leftover debug message.madmaxoft1-1/+0
2014-02-04Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft1-2/+5
2014-02-04Improved error resistance in cPluginManager:CallPlugin().madmaxoft1-0/+8
2014-01-29Lua: Fixed an error in table-functions callbacks.madmaxoft1-1/+5
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft1-16/+183
2014-01-19cLuaState can now check function params.madmaxoft1-0/+34
2014-01-13cCreeper is no longer available in API.madmaxoft1-12/+0
2014-01-11Lua errors display stack trace.madmaxoft1-3/+25
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft1-9/+17
2014-01-07LuaState can push strings with embedded NULs.madmaxoft1-1/+1
2013-12-31implemented the recommendations Xoft gave.STRWarrior1-0/+12
2013-12-27Made cmake compilation possible on Windows.madmaxoft1-2/+2
2013-12-08Fixed tolua++ compilation.madmaxoft1-1/+1
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-0/+0
2013-11-26Fixed loads more of them.Alexander Harkness1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-22Added cFile:GetFolderContents().madmaxoft1-0/+33
2013-11-22Fixed cRoot:GetFurnaceRecipe() Lua binding.madmaxoft1-0/+33
2013-08-21cLuaState: Added LogStackTrace() and GetTypeText() utility functionsmadmaxoft1-0/+43
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-2/+2
2013-08-18Fixed assert failures in cLuaState when using it for pushing a StringVector.madmaxoft1-31/+0
2013-08-15Attempting to fix CentOS / gcc 4.4.7 compilation problem.madmaxoft1-1/+1
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-0/+26
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-0/+64
2013-08-08Removed LuaScript.madmaxoft1-0/+26
2013-08-08cPlugin_NewLua is now completely rewritten to use templated LuaState calls.madmaxoft1-6/+60
2013-08-08LuaState refactoring: using templates for hook function calls.madmaxoft1-13/+130
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-0/+13
2013-08-07cLuaState has reference management, param checking and a fixed destructor.madmaxoft1-1/+186
2013-08-06cLuaScript now uses cLuaStatemadmaxoft1-1/+1
2013-08-06cLuaState now tracks the function name and number of argsmadmaxoft1-6/+182
2013-08-06cLuaState can now contain a detached LuaState, too.madmaxoft1-0/+67
2013-08-04LuaState refactoring: initial part.madmaxoft1-0/+218