Mattes D
9af664dc73
Merge pull request #3232 from cuberite/LuaCallback
...
Lua callback
2016-06-30 10:42:58 +02:00
Mattes D
bf88312a16
Converted cLuaState::cCallbackPtr into a UniquePtr.
2016-06-27 20:51:53 +02:00
Mattes D
7a6670d1d1
Removed dead code related to callbacks.
2016-06-27 20:51:52 +02:00
Mattes D
257c5a1a54
cPluginManager: Use a callback for command handler registration.
2016-06-27 20:51:52 +02:00
Mattes D
24853397ef
LuaState: Implemented proper locking for cCallback.
2016-06-27 20:51:51 +02:00
Mattes D
fb4c3fc4d9
Changed cLuaWindow callbacks to use cLuaState::cCallback.
2016-06-27 20:51:50 +02:00
Mattes D
a473725121
Removed the cPluginLua::cResettable class.
...
The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support.
2016-06-27 20:51:50 +02:00
Mattes D
b7e1a66815
Changed world tasks to use cLuaState::cCallback.
2016-06-27 20:51:49 +02:00
Mattes D
4489a89fde
Changed plugin hook registrations to use cLuaState::cCallback.
2016-06-27 20:51:49 +02:00
Mattes D
af8c96026d
Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.
2016-06-27 20:51:48 +02:00
Mattes D
1f75d45222
Added cLuaState::cCallback for representing (resettable) Lua callbacks.
2016-06-27 20:51:48 +02:00
Mattes D
1462e4f70e
Self tests ( #3242 )
...
* SelfTests: Added a cEvent stress-test.
* cNetwork: Fixed startup event hang.
The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned.
2016-06-26 14:51:12 +01:00
Mattes D
5ee6643804
Merge pull request #3228 from cuberite/SeparateSelfTests
...
Separate self tests
2016-06-19 14:57:14 +02:00
Mattes D
8610083a8e
cNetwork: Fixed possible hang when terminating immediately after init.
2016-06-18 13:12:12 +02:00
Mattes D
4d9769a484
SelfTests: More logging for EnumInterfaces.
2016-06-18 13:12:11 +02:00
Mattes D
96034810df
Flush immediately after each line when running tests.
2016-06-18 13:12:11 +02:00
Mattes D
ea47247dc7
SelfTests: Print a quick message on test start.
2016-06-18 13:12:10 +02:00
Mattes D
36eefbf0f2
SelfTests: Removed the unneeded cSelfTests class.
2016-06-18 13:12:10 +02:00
Mattes D
aa4b3ebf2f
SelfTests: Fixed HTTPMessageParser tests for out-of-source builds.
2016-06-18 13:12:09 +02:00
Mattes D
82e81c01a2
SelfTests: Fixed missing override keyword in EchoServer.
2016-06-18 13:12:09 +02:00
Mattes D
75a81cf753
SelfTests: Moved BoundingBox test to a separate project.
2016-06-18 13:12:09 +02:00
Mattes D
a781be5456
SelfTests: Moved SchematicFileSerializer test into a separate project.
2016-06-18 13:12:08 +02:00
Mattes D
db17f585af
SelfTests: Moved cCompositeChat test to a separate project.
2016-06-18 13:12:08 +02:00
Mattes D
ab6f68b42c
SelfTests: Moved ByteBuffer test to a separate project.
2016-06-18 13:12:07 +02:00
Mattes D
3d164a77cb
SelfTests: Organized into solution folders.
2016-06-18 13:12:07 +02:00
Mattes D
3184433756
Moved NetworkInterfaceEnum test to a separate test project.
2016-06-18 13:12:06 +02:00
Mattes D
ec998e821f
Merge pull request #3224 from QUSpilPrgm/master
...
Add an activation flag to the block metadata of droppers and dispensers
2016-06-16 21:54:09 +02:00
Mattes D
b403ad4d68
Merge pull request #3227 from cuberite/NormalizeVectorApi
...
Normalized Vector3 API to use the same capitalization as everything else
2016-06-12 07:57:47 +02:00
Mattes D
ce30e3f666
Normalized Vector3 API to use the same capitalization as all else.
2016-06-10 17:59:33 +02:00
Mattes D
456ffa5bd6
Merge pull request #3225 from cuberite/FixAutoAPI
...
Fixed auto-generated api
2016-06-05 21:18:52 +02:00
Mattes D
c2759186c0
Bindings: Fixed cBoundingBox API.
2016-06-05 18:23:16 +02:00
Mattes D
fbe9866524
Bindings: Add a const-ptr variant to all stack getter functions
2016-06-05 17:20:50 +02:00
Mattes D
fc874ed57d
Merge pull request #3219 from QUSpilPrgm/master
...
Update dispenser code to let them act more like in Vanilla
2016-06-04 13:08:15 +02:00
Mattes D
beb3660c42
Debuggers: Added the forgotten Inject.lua file.
...
This works as a test for inter-plugin calls, the "testcall" command injects this file into the Core plugin.
2016-06-02 14:43:19 +02:00
Mattes D
5618e453e6
LuaState: Inter-plugin calls now support simple tables. ( #3220 )
2016-05-31 00:01:55 +01:00
Mattes D
bbcf2d6bd6
Merge pull request #3078 from cuberite/AddTerrainGenDocs
...
Add terrain gen docs
2016-05-29 19:14:22 +02:00
Mattes D
a53371be0f
Docs: Added TOC and GrownBiomes to generator docs.
2016-05-29 19:12:48 +02:00
Mattes D
1d0bfead3e
Added GrownBiomeGenVisualiser.
2016-05-29 19:12:47 +02:00
Mattes D
fa53e98419
Merge pull request #3086 from cuberite/revert-2872-LuaCallback
...
Revert "Lua callback"
2016-03-21 10:40:38 +01:00
Mattes D
e3d34d9917
Revert "Lua callback"
2016-03-21 09:58:15 +01:00
Mattes D
8fc9cfa411
Merge pull request #3084 from cuberite/seadragon91-patch-1
...
Fixed misuse of comma.
2016-03-19 07:35:53 +01:00
Mattes D
46430911fe
Merge pull request #2872 from cuberite/LuaCallback
...
Lua callback
2016-03-17 22:21:10 +01:00
Mattes D
af200dfaae
Changed cLuaWindow callbacks to use cLuaState::cCallback.
2016-03-17 19:29:03 +01:00
Mattes D
5dfcc15d1f
Removed the cPluginLua::cResettable class.
...
The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support.
2016-03-17 19:29:02 +01:00
Mattes D
d0a04a7a82
Changed world tasks to use cLuaState::cCallback.
2016-03-17 19:29:02 +01:00
Mattes D
eb044e140e
Changed plugin hook registrations to use cLuaState::cCallback.
2016-03-17 19:29:01 +01:00
Mattes D
62d81eb763
Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.
2016-03-17 19:29:01 +01:00
Mattes D
3aa7656823
Added cLuaState::cCallback for representing (resettable) Lua callbacks.
2016-03-17 19:29:00 +01:00
Mattes D
64b136c6d8
Merge pull request #3081 from Arthur2e5/master
...
Some careless review on compile.sh
2016-03-17 08:14:53 +01:00
Mattes D
72467fe0d4
HTTP: Added missing HasAuth flag initialization.
2016-03-11 10:44:35 +01:00
Mattes D
39144480f5
Merge pull request #3069 from cuberite/FixHttpHeaderParsing
...
HTTP: Fixed header parsing.
2016-03-03 16:37:39 +01:00
Mattes D
6f174b99bf
HTTP: Fixed header parsing.
2016-03-03 16:20:11 +01:00
Mattes D
4bf2dd2d2b
WebAdmin: Finish HTTP responses.
2016-03-03 13:46:45 +01:00
Mattes D
c815d03eb4
Merge pull request #3060 from tonibm19/master
...
Fixed horse bug
2016-03-01 20:07:11 +01:00
Mattes D
7cc8f8dd22
Merge pull request #3031 from cuberite/RenameHttpClasses
...
Refactor HTTP parsing
2016-03-01 16:58:43 +01:00
Mattes D
6ff389f6d4
HTTP: Fixed typos and bad leftovers.
2016-03-01 16:20:00 +01:00
Mattes D
71a1fa81f0
Renamed HTTPResponse to HTTPOutgoingResponse.
2016-03-01 16:19:59 +01:00
Mattes D
52d18b4559
WebAdmin uses the new HTTP parser framework.
2016-03-01 16:19:58 +01:00
Mattes D
12d95ab047
HTTP: Fixed response parser, unified API.
2016-03-01 16:19:58 +01:00
Mattes D
52c5ce6598
Fixed HTTP parsing when in insecure mode.
...
Parsing would ignore the size of data already buffered, resulting in bad_alloc exception.
Fixes #2898 .
2016-03-01 16:19:57 +01:00
Mattes D
1d05fc95ae
Added unit test for parsing HTTP request.
2016-03-01 16:19:57 +01:00
Mattes D
fea556ca1b
Renamed HTTPServer folder to HTTP.
...
It contains client code as well.
2016-03-01 16:19:56 +01:00
Mattes D
fce68dc8f3
Added HTTPResponseParser.
2016-03-01 16:19:56 +01:00
Mattes D
b92346e3cc
Moved cHTTPRequest to a separate file, renamed to cHTTPRequestParser.
2016-03-01 16:19:55 +01:00
Mattes D
2dbc54a148
Renamed the HTTP classes to indicate they're for server.
2016-03-01 16:19:55 +01:00
Mattes D
48532d86cf
Merge pull request #3057 from tonibm19/master
...
Mobs no longer spawn at the top of the nether.
2016-03-01 12:45:43 +01:00
Mattes D
7f76c7f362
Merge pull request #3052 from cuberite/FixIntGens
...
Fix int gens
2016-02-24 21:29:38 +01:00
Mattes D
be9f24d942
Fixed LinearUpscale's bounds checking.
2016-02-24 14:57:36 +01:00
Mattes D
4457110579
Made ProtIntGen's max size compile-time-configurable.
2016-02-24 14:57:35 +01:00
Mattes D
191140dd5e
Removed old and wrong code from Globals.h.
2016-02-24 14:57:34 +01:00
Mattes D
1540f8fb5e
Fixed includes in IntGen.
2016-02-24 14:57:33 +01:00
Mattes D
81e80f6edb
Merge pull request #2897 from cuberite/FlushLuaSsl
...
LuaTCPLink: Report data received via SSL just before connection closed.
2016-02-21 12:25:43 +01:00
Mattes D
98d3bdebb4
LuaTCPLink: Report data received via SSL just before connection closed.
2016-02-21 10:44:34 +01:00
Mattes D
24c418b2b6
Merge pull request #2907 from cuberite/LuaNoSslVerify
...
LuaTcpSsl: Disabled cert verification due to missing CA chain.
2016-01-24 17:22:49 +01:00
Mattes D
a62e7ff2c2
LuaTcpSsl: Disabled cert verification due to missing CA chain.
2016-01-24 17:22:05 +01:00
Mattes D
15a20a2767
Merge pull request #2899 from cuberite/FixHttpParsing
...
Fixed HTTP parsing when in insecure mode.
2016-01-22 23:34:46 +01:00
Mattes D
f14c6d3c7e
Fixed HTTP parsing when in insecure mode.
...
Parsing would ignore the size of data already buffered, resulting in bad_alloc exception.
Fixes #2898 .
2016-01-22 23:33:18 +01:00
Mattes D
4513f88a64
Merge pull request #2868 from bibo38/namelength
...
Limited the username length to 16 characters.
2016-01-13 10:21:48 +01:00
Mattes D
0b20d7ab96
Merge pull request #2861 from LogicParrot/hotfix
...
Fixed crash introduced by #2821
2016-01-12 14:25:40 +01:00
Mattes D
97ef08de84
Merge pull request #2853 from cuberite/DetailedBlockAreaLogging
...
Added detailed logging to cBlockArea::Read() bad Y coords.
2016-01-12 10:20:35 +01:00
Mattes D
e4adf2f9ae
Added detailed logging to cBlockArea::Read() bad Y coords.
...
Ref.: http://forum.mc-server.org/showthread.php?tid=2307
2016-01-12 10:19:44 +01:00
Mattes D
f1ca68051f
Merge pull request #2849 from cuberite/export_getseed
...
Exported GetSeed to lua and added file extension opendb to .gitignore.
2016-01-12 10:19:14 +01:00
Mattes D
725db4475c
Added "core.help" permission to Default rank.
2016-01-10 17:40:25 +01:00
Mattes D
7111154160
Merge pull request #2851 from bibo38/decompressfix
...
Fixed not working packet decompression
2016-01-10 15:36:15 +01:00
Mattes D
491dbda7d3
Fixed Clang warnings.
2016-01-06 16:20:12 +01:00
Mattes D
4823e78440
Merge pull request #2844 from mathias-github/silktouch
...
Added blocks that can't be mined with silktouch
2016-01-05 15:01:13 +01:00
Mattes D
c57bf8e538
Merge pull request #2842 from ameuret/typo-ammount
...
Typo [ammount]
2016-01-03 00:42:14 +01:00
Mattes D
14e7213f58
Updated plugins with the rename to Cuberite.
2016-01-01 21:40:18 +01:00
Mattes D
80e1eb37dd
Renamed leftover strings to Cuberite / Server, as needed.
...
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Mattes D
4976190516
Merge pull request #2836 from cuberite/FixDefaultWorldGenParams
...
Fixed default Nether generator params.
2015-12-30 13:37:50 +01:00
Mattes D
6c9be8df4b
Fixed default Nether generator params.
...
The prefab file is "NetherFort"
2015-12-30 13:37:28 +01:00
Mattes D
1210eb1316
Merge pull request #2831 from cuberite/BlockingSslClientSocketFix
...
Changed m_IsConnected to an atomic bool, added logging.
2015-12-30 13:36:17 +01:00
Mattes D
0054104017
Fixed problems in cBlockingSslClientSocket.
2015-12-30 13:00:02 +01:00
Mattes D
902f428342
Fixed the monster burn code.
...
The old code failed when the monster was out of Y range.
2015-12-30 01:15:13 +01:00
Mattes D
7a778e2911
Debuggers plugin: Added "uuid" console command.
2015-12-28 11:08:46 +01:00
Mattes D
78eb4c8ed8
Removed excessive logging in redstone simulator.
2015-12-28 11:06:41 +01:00
Mattes D
5c8a8f322f
Merge pull request #2789 from cuberite/apidump-analytics
...
Added analytics to APIDump
2015-12-26 16:47:43 +01:00
Mattes D
958df6ad91
Added the cUrlParser class, exported to Lua API.
2015-12-25 18:50:25 +01:00
Mattes D
a8dd39acd1
Merge pull request #2801 from cuberite/ExposeJson
...
Added a Json parser and serializer to Lua API.
2015-12-24 14:02:05 +01:00
Mattes D
122d824a8a
Added a Json parser and serializer to Lua API.
2015-12-24 14:00:31 +01:00