Commit Graph

37 Commits

Author SHA1 Message Date
md_5
c26705e6b1 Improve YamlConfiguration encoding defaults
Before:
Load / Save using platform default (UTF-8 on most except Windows)

After:
Load using detected encoding with fallback to UTF-8
Save using UTF-8
2018-11-07 19:41:50 +11:00
md_5
1c5bff7ed7 Minecraft 1.13.2 support 2018-10-23 06:00:00 +11:00
md_5
5cdb181cc5 #2465: Sync SnakeYAML version with Bukkit 2018-07-15 21:20:58 +10:00
md_5
b1cc72e212 Minecraft 1.13-pre7 support 2018-07-15 10:00:00 +10:00
md_5
9b2bb07d89 Fix some source code formatting 2018-01-28 10:23:52 +11:00
Foorack
aef386178a Remove deprecated guava function in config (#2327)
This removes the need to shade in the full guava library if a java program only uses bungeecord-config.
2018-01-14 21:58:26 +11:00
Minoneer
6b7046c8b7 Fixes lookup of default configuration values for nested paths (#2322)
The lookup of default configuration values with multiple path segments failed with a class cast exception because the full path was treated as a new configuration section instead of only the root.
2018-01-08 09:19:17 +11:00
md_5
3e65ee2f54 Update snakeyaml to 1.19 to fix bug with duplicate keys affecting some users.
https://bitbucket.org/asomov/snakeyaml/issues/386/duplicate-keys-cause-issues
2017-11-07 19:36:59 +11:00
md_5
ff891c000e Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
md_5
16d261553c Minecraft 1.12-pre2 Support 2017-05-14 12:00:00 +10:00
md_5
9ecdde2292 Add support for Minecraft 1.11
Improve QueryHandler session handling as suggested by IchBinJoe
2016-11-15 02:40:46 +11:00
md_5
98e3c70460 Implicitly convert Map to Configuration 2016-08-25 11:04:19 +10:00
md_5
6563a9241b #1936: Configuration#contains(Ljava/lang/String;)Z 2016-08-21 09:10:23 +10:00
md_5
11c7b246e0 #1938: Better handling of null config keys 2016-08-18 09:35:58 +10:00
md_5
37b3cb4a30 #1934: Better in memory config representation 2016-08-15 18:41:52 +10:00
md_5
e4cf010bda Update to Minecraft 1.10 2016-06-09 11:44:06 +10:00
md_5
80b3135a93 Fix formatting 2016-04-24 22:31:04 +10:00
md_5
05de455a9c Update to Minecraft 1.9 2016-03-01 09:31:12 +11:00
md_5
61cee2d27c Fix formatting in a bunch of files. 2015-02-14 18:36:58 +11:00
Minecrell
faf903469e Add methods to load configurations with defaults.
Add Configuration constructor for empty configurations.

Use defaults for the Configuration object getter.
2014-10-17 20:37:59 +11:00
md_5
57a07dc2e2 Update Depend Versions:
Guava 17.0 -> 18.0
Lombok 1.12.6 -> 1.14.8
Gson 2.2.4 -> 2.3
SnakeYaml 1.13 -> 1.14
2014-09-25 11:05:21 +10:00
md_5
2cec5f344a Update versions to 1.8... oops 2014-09-01 16:56:03 +10:00
md_5
21be93a1b1 [#1094] Remove config values set to null, add unit test for such behaviour. 2014-07-01 13:40:17 +10:00
md_5
b9f2f3cfae Add a getKeys method to the Configuration API 2014-06-24 16:59:15 +10:00
md_5
dc2da29c16 Code format. 2014-04-13 14:15:41 +10:00
Maciej Mionskowski
f2b0e3e3c3 Fixed config saving and value setting. Probably fixes #798 2014-03-11 15:21:31 +11:00
md_5
0952e53d11 Update to 1.7 poms. 2013-10-23 17:33:21 +11:00
md_5
0a5f8556fe Add config saving 2013-09-24 12:14:47 +10:00
md_5
103a509f26 Fix access of yaml config 2013-09-24 12:11:04 +10:00
md_5
32a5271dc3 Implement basic udp query to close #185 2013-09-24 10:09:55 +10:00
md_5
a8b6a6b4aa Finish basic Yaml configuration API, complete with unit tests. Needs a lot of work with regards to how sections are handled, open to massive improvements from anyone that has more know-how. 2013-09-23 10:28:30 +10:00
md_5
a7a32509c7 find * -type f -print0 | xargs -0 sed -i 's/1.6.2/1.6.4/g' 2013-09-20 19:51:57 +10:00
md_5
b3e8feb4cb Update POMs to 1.6.2 2013-07-18 20:13:07 +10:00
md_5
85e82a2e34 Update POMs to 1.6.1 2013-07-02 20:59:04 +10:00
md_5
3ba52cb98b Might need a better way to do this...... oh well, add all the netbeans code style files 2013-06-01 11:12:03 +10:00
md_5
e937dcb4bb Add uncommited config stuffs, just to get a clean working tree. 2013-03-07 18:17:49 +11:00
md_5
73ca237810 Add sneak peek of upcoming config API. This will need to be throughly unit tested. 2013-03-02 20:01:33 +11:00