9233 Commits

Author SHA1 Message Date
Dylan K. Taylor
b252be1c7a Added ItemFactory::air() sugar
This makes it easier to create air stacks without accidents, and also reduces the amount of throwaway air objects which get created.
2019-02-16 12:19:54 +00:00
Dylan K. Taylor
0ac7164b16 Inventory: remove dropContents(), remove circular dependency 2019-02-16 12:19:46 +00:00
Dylan K. Taylor
f49d590794 Level: remove getTiles(), more removal of tiles from user interface 2019-02-15 16:27:00 +00:00
Dylan K. Taylor
65ce1a7581 Block: fixed correct-type tiles getting overwritten
this manifested by crashing the server whenever someone used a furnace.
2019-02-15 13:37:57 +00:00
Dylan K. Taylor
01255c5368 Updated RakLib to get ITC efficiency enhancements 2019-02-15 12:29:16 +00:00
Dylan K. Taylor
19f0d7f336 NetworkSession: Don't apply handlers to a disconnected session
closes #2756
2019-02-15 10:11:31 +00:00
Dylan K. Taylor
dce08b4e88 Introduce Item use results - can be success, fail or none
closes #2693, closes #2705, closes #2734
2019-02-14 19:21:29 +00:00
Dylan K. Taylor
d9bbe99b83 Merge branch '3.6' 2019-02-14 17:25:21 +00:00
Dylan K. Taylor
e2e927b328 3.6.3 is next 2019-02-14 17:17:18 +00:00
Dylan K. Taylor
a8dab25201 Release 3.6.2 3.6.2 2019-02-14 17:15:19 +00:00
Dylan K. Taylor
3de2b7969e Merge branch '3.5' into 3.6 2019-02-14 17:14:59 +00:00
Dylan K. Taylor
8f486ea65d 3.5.13 is next 2019-02-14 17:14:34 +00:00
Dylan K. Taylor
6b971b1761 Release 3.5.12 3.5.12 2019-02-14 16:55:44 +00:00
Dylan K. Taylor
6f36fa504b TextFormat: make clean() less confusing, deduplicate some regex 2019-02-14 16:52:39 +00:00
Dylan K. Taylor
d8a25020f1 Merge branch '3.6' 2019-02-14 16:17:39 +00:00
Dylan K. Taylor
8e73842a93 Player: work around 1.9 command casing crash bug, closes #2761 2019-02-14 16:17:17 +00:00
Dylan K. Taylor
6424dc9c82 Merge branch '3.6' 2019-02-14 16:04:32 +00:00
Dylan K. Taylor
e71e18fc88 Merge branch '3.5' into 3.6 2019-02-14 16:02:30 +00:00
Dylan K. Taylor
e1bacb5c6d Human: fixed hunger underflow when value is a fraction, closes #2761 2019-02-14 16:01:25 +00:00
Dylan K. Taylor
44697e784a Sign: add validity checks on text encoding, scrub invalid UTF-8 on load
this works around a bug where corrupted text on preexisting signs can mess up the client. This also prevents corrupted text getting onto signs in the future by having them scrubbed and validated before applying them.
2019-02-14 15:16:51 +00:00
Dylan K. Taylor
65529ff2ce Command: add @throws CommandException 2019-02-14 15:09:41 +00:00
Dylan K. Taylor
c346c45d42 Use regex for command argument parsing, fixes #2266
moral of the story: don't abuse functions for things they weren't designed for... lol
2019-02-14 15:07:58 +00:00
Dylan K. Taylor
c433fad0a7 another /u modifier 2019-02-14 13:50:56 +00:00
Jack M. Taylor
205e13d880 Config: add getPath() (#2758)
Config->getPath() returns the path of the config i.e. the place where the config file is located.
2019-02-14 10:58:19 +00:00
Dylan K. Taylor
8fad5a6e30 TextFormat: use mb_scrub() in clean()
this redacts invalid characters to prevent them appearing in places that might break the client.
2019-02-13 20:01:36 +00:00
Dylan K. Taylor
7a6f279825 TextFormat: fixed clean() not being unicode-aware 2019-02-13 17:06:44 +00:00
Dylan K. Taylor
470879c9bf Merge branch '3.6' 2019-02-13 14:53:20 +00:00
Dylan K. Taylor
10b72c895d Merge branch '3.5' into 3.6 2019-02-13 14:53:00 +00:00
Dylan K. Taylor
d520928888 Fixed startup time measurement, closes #2713, closes #2750 2019-02-13 14:50:52 +00:00
Jack Noordhuis
27767e7ddb Verify player name command input, closes #2729, closes #2749 2019-02-13 14:50:43 +00:00
Dylan K. Taylor
243c12de7c EffectCommand: fix bounds check, closes #2055 2019-02-13 14:37:40 +00:00
Dylan K. Taylor
7b6d76871c Block: add face and clickVector to onActivate() parameters, closes #267
this is an old old old issue, i don't know why it wasn't addressed sooner.
2019-02-13 14:29:59 +00:00
Dylan K. Taylor
55be0716d8 Use DyeColor instead of ints for banners 2019-02-13 13:49:44 +00:00
Dylan K. Taylor
01e7ebeb5c Automate creation and deletion of Tiles for appropriate blocks
closes #880
2019-02-13 12:27:13 +00:00
Dylan K. Taylor
260c5dcf00 Clean up tile destruction 2019-02-13 12:02:04 +00:00
Dylan K. Taylor
1496eefb8b Regenerated TODOs for item and b,locks
this sucks because it doesn't tell us anything about things that are meta values of other things (like dyes), but it's enough to start with.
2019-02-12 19:15:19 +00:00
Dylan K. Taylor
59b62eaeba Merge branch '3.6' 2019-02-12 16:59:06 +00:00
Dylan K. Taylor
372545e47e Merge branch '3.5' into 3.6 2019-02-12 16:56:53 +00:00
Dylan K. Taylor
8913b48700 "Implement" info-update and reserved6 2019-02-12 16:56:12 +00:00
Dylan K. Taylor
6ee4a0e090 Implement invisible bedrock to fix placement issues
I don't know why this wasn't done a long time ago, but here it is.
2019-02-12 16:41:23 +00:00
Dylan K. Taylor
d30316101a Of course, there was a bug in the script... 2019-02-12 16:30:31 +00:00
Dylan K. Taylor
5227679602 sync item/block magic numbers with 1.9.0.15 2019-02-12 16:01:25 +00:00
Dylan K. Taylor
7b3993730a Block: Replace Color and WoodType magic numbers with type-safe objects
this provides automatic type safety without the need for magic number value checking everywhere.
2019-02-12 13:52:59 +00:00
Dylan K. Taylor
18440f612f Merge branch '3.6' 2019-02-10 17:40:09 +00:00
Dylan K. Taylor
8bd8da4bc6 Merge branch '3.5' into 3.6 2019-02-10 17:15:48 +00:00
Dylan K. Taylor
9ba4144a71 Server: remove useless gc_collect_cycles()
the server is shutting down at this point so who cares if there are cycles...
2019-02-10 17:15:41 +00:00
Dylan K. Taylor
b6bcb47deb Network->unregisterInterface() is now less useless
Interfaces are now automatically shut down when unregistered.
2019-02-10 17:07:58 +00:00
Dylan K. Taylor
9ebd559907 Merge branch '3.6' 2019-02-10 13:59:44 +00:00
Dylan K. Taylor
9da7c6af27 new metadata properties 2019-02-10 13:59:21 +00:00
Dylan K. Taylor
0c89159cf2 Merge branch '3.6' 2019-02-09 19:22:00 +00:00