Mike Bierlee
|
b5420a8ea9
|
Update copyrights
|
2023-01-11 02:06:41 +03:00 |
|
Mike Bierlee
|
9fa1092e80
|
Add multline tests to ini and java
|
2022-10-13 21:31:34 +03:00 |
|
Mike Bierlee
|
86a2fa0f9f
|
Add support for multiline values
|
2022-10-13 21:14:25 +03:00 |
|
Mike Bierlee
|
6661ef73b4
|
Add java load aliases for the unaware
|
2022-10-13 01:59:06 +03:00 |
|
Mike Bierlee
|
9eac0515a1
|
Add INI config factory
|
2022-10-13 01:56:27 +03:00 |
|
Mike Bierlee
|
aaa6512af4
|
Tweak comment
|
2022-10-13 01:39:05 +03:00 |
|
Mike Bierlee
|
cb5731c691
|
Remove redundant java properties tests
|
2022-10-13 01:08:07 +03:00 |
|
Mike Bierlee
|
d71e6b8f6e
|
Move todo stuff to todo file
And add some reading material
|
2022-10-13 01:05:27 +03:00 |
|
Mike Bierlee
|
b82b50a16f
|
Support exclamation marks as comments in Java properties
|
2022-10-13 00:53:50 +03:00 |
|
Mike Bierlee
|
7f65ef9d9e
|
Allow values to be empty in Java config
|
2022-10-13 00:42:01 +03:00 |
|
Mike Bierlee
|
46fb406cad
|
Add support for colon as key/value separator in Java properties
|
2022-10-13 00:31:01 +03:00 |
|
Mike Bierlee
|
6d3833cbf1
|
Test with comment inside quotes
|
2022-10-11 21:35:36 +03:00 |
|
Mike Bierlee
|
99a536a544
|
Support values with quotes in keyvalue config
|
2022-10-11 21:32:33 +03:00 |
|
Mike Bierlee
|
0b0b3108b1
|
Add support for relative nesting in sections
|
2022-10-11 21:13:51 +03:00 |
|
Mike Bierlee
|
089e42a2bf
|
Support ini-like sections in keyvalue config
|
2022-10-11 21:07:21 +03:00 |
|
Mike Bierlee
|
42e93e64d0
|
Support semicolons as comments in keyvalue config
|
2022-10-11 20:49:40 +03:00 |
|
Mike Bierlee
|
5a34831b03
|
Extract java config parser to generic reusable key/value parser
|
2022-10-11 20:29:26 +03:00 |
|
Mike Bierlee
|
7ff59bfc00
|
Add new test case
|
2022-10-11 20:18:25 +03:00 |
|
Mike Bierlee
|
75becace37
|
Add autogenerated documentation
|
2022-10-09 01:10:05 +03:00 |
|
Mike Bierlee
|
16b5032e9b
|
Ignore comments in java properties
|
2022-10-09 00:17:20 +03:00 |
|
Mike Bierlee
|
4ee94f8a9c
|
Add properties files to loadConfig
|
2022-10-09 00:12:24 +03:00 |
|
Mike Bierlee
|
34e78be898
|
Trim key/value in java props
|
2022-10-08 23:53:56 +03:00 |
|
Mike Bierlee
|
40a20ca3ff
|
Add java properties config factory
|
2022-10-08 23:46:34 +03:00 |
|
Mike Bierlee
|
35c6a25382
|
Add setter to easily assign values to path in config
|
2022-10-07 00:51:17 +03:00 |
|
Mike Bierlee
|
6ea996cd08
|
Accept whitespace a bit more
|
2022-09-29 02:28:48 +03:00 |
|
Mike Bierlee
|
bad8f0ec6d
|
Add escaping and hardening
|
2022-09-29 02:04:58 +03:00 |
|
Mike Bierlee
|
c5bdc9d41a
|
Add config from other config substitution
|
2022-09-29 01:31:10 +03:00 |
|
Mike Bierlee
|
3c7918c2e2
|
Add return of default values
|
2022-09-29 00:38:54 +03:00 |
|
Mike Bierlee
|
72af2f322e
|
Add env var substitution test for JSON
|
2022-09-28 23:54:38 +03:00 |
|
Mike Bierlee
|
84220739d8
|
Add ability to disable env var substitution
|
2022-09-28 23:49:08 +03:00 |
|
Mike Bierlee
|
8389d75958
|
Add null value test
|
2022-09-28 23:35:10 +03:00 |
|
Mike Bierlee
|
f0d5f34390
|
Add test for conservation of whitespace
|
2022-09-28 23:33:23 +03:00 |
|
Mike Bierlee
|
2d934074fd
|
Add env var substitution
|
2022-09-28 23:31:52 +03:00 |
|
Mike Bierlee
|
daf4c9029b
|
Add uber convenience function 'loadConfig'
|
2022-09-25 19:38:37 +03:00 |
|
Mike Bierlee
|
e62fe7c9ae
|
Rename dictionary to config in unittests for consistency
|
2022-09-25 19:23:27 +03:00 |
|
Mike Bierlee
|
ff6afb7e9c
|
Trim segments in paths
|
2022-09-25 19:20:52 +03:00 |
|
Mike Bierlee
|
3e272f9e5a
|
Add imperative convenience functions for loading JSON
|
2022-09-25 19:12:35 +03:00 |
|
Mike Bierlee
|
94ae45a408
|
Add JSON config example
|
2022-09-25 19:03:26 +03:00 |
|
Mike Bierlee
|
3c5f88b9fd
|
Add ability to fetch a subconfig
|
2022-09-24 20:05:15 +03:00 |
|
Mike Bierlee
|
2a5ae23576
|
Simplify creation of dictionaries in tests
|
2022-09-24 19:49:38 +03:00 |
|
Mike Bierlee
|
cb8e737e6c
|
Add get with type conversion for convenience
|
2022-09-24 19:42:29 +03:00 |
|
Mike Bierlee
|
32598ca434
|
Add public inline documentation
|
2022-09-24 19:31:21 +03:00 |
|
Mike Bierlee
|
20a7c0471b
|
Add file loading
|
2022-09-24 18:51:32 +03:00 |
|
Mike Bierlee
|
a1a99d1dee
|
Add json string parsing
|
2022-09-24 18:43:56 +03:00 |
|
Mike Bierlee
|
fcbc372923
|
Add JsonConfigFactory
|
2022-09-24 18:05:33 +03:00 |
|
Mike Bierlee
|
1272ef1bc4
|
Allow empty path
just attempt to fetch the root
|
2022-09-24 17:09:20 +03:00 |
|
Mike Bierlee
|
bcd9bf22e3
|
Remove unneccesary check
The rest of the code already supports this case
|
2022-09-24 17:07:08 +03:00 |
|
Mike Bierlee
|
373f2fc1c3
|
Define ConfigLoader interface
And privatize internal classes
|
2022-09-24 17:05:47 +03:00 |
|
Mike Bierlee
|
e293baf526
|
Rename project to detach it from Poodinis
|
2022-09-24 17:04:57 +03:00 |
|
Mike Bierlee
|
af6dd95d57
|
Support conventional array indexing notation
i.e. bla.bleh[4]
|
2022-09-24 03:51:02 +03:00 |
|