Commit Graph

811 Commits

Author SHA1 Message Date
Havoc Pennington
4463001e1c Merge pull request #413 from andreaTP/addShocon
add SHocon implementation to Readme
2016-08-10 08:34:32 -04:00
andreaTP
6fadb2af83 add SHocon 2016-08-10 14:28:43 +02:00
Havoc Pennington
3639c645cf Merge pull request #407 from FeiWongReed/master
issue #405 fixed: config loading strategy implemented
2016-07-04 12:40:34 -04:00
pshirshov
47f3c97d9b minor fix 2016-07-04 17:27:46 +01:00
pshirshov
b7e5569b5f issue #405 fixed: config loading strategy implemented 2016-07-03 20:12:54 +01:00
Havoc Pennington
a8d691ad74 Merge pull request #398 from karthicks/issue-397
Add Support for Enums in Config Beans.
2016-06-02 16:02:15 -04:00
Karthick Sankarachary
0791e41a03 Add Support for Enums in Config Beans. 2016-06-02 09:32:59 -07:00
Havoc Pennington
23c5306038 Merge pull request #400 from karthicks/issue-399
Add Support for Optional Bean Properties.
2016-06-02 10:02:35 -04:00
Karthick Sankarachary
ff94f4b731 Assume the bean property has an associated field. 2016-05-31 12:47:33 -07:00
Karthick Sankarachary
13c5fc057e If property key is missing in config, raise error early. 2016-05-31 12:42:59 -07:00
Karthick Sankarachary
2b6452762f Implement in plain Java with no dependencies. 2016-05-31 10:06:00 -07:00
Karthick Sankarachary
e1cf5dfc9c Rename nullable annotation to optional. 2016-05-27 14:45:02 -07:00
Karthick Sankarachary
cc06b02e0c Add a Javadoc comment to the Nullable annotation class. 2016-05-27 11:53:16 -07:00
Karthick Sankarachary
ad3f4804f4 Add Support for Optional Bean Properties. 2016-05-27 11:31:03 -07:00
Havoc Pennington
596d6c9392 Merge pull request #394 from mig-foxbat/master
added HoconLint to Readme
2016-05-16 09:27:16 -04:00
Charles
b5ca383bad added HoconLint to Readme 2016-05-15 09:58:53 -07:00
Havoc Pennington
d4b4d6963b Merge pull request #393 from metasim/patch-1
Added Simple Scala Config wrapper link to README
2016-05-14 18:55:13 -04:00
Simeon H.K. Fitch
72b69111fe Added Simple Scala Config wrapper
Very thin Scala wrapper: https://github.com/ElderResearch/ssc
2016-05-14 18:25:06 -04:00
Havoc Pennington
b076de21ce Merge pull request #388 from kxbmap/test-system-message
Fix test failures due to system message
2016-04-07 00:07:44 -04:00
kxbmap
55ce5762f3 Fix test failures due to system message 2016-04-07 11:10:39 +09:00
Havoc Pennington
7a0eb52e57 Merge pull request #387 from kxbmap/test-on-windows
Fix test failure on Windows
2016-04-06 21:03:53 -04:00
kxbmap
8b1ee8a8f2 Fix test failure on Windows 2016-04-07 04:08:11 +09:00
Havoc Pennington
a4cd479c7f Merge pull request #386 from kxbmap/fix-precision-loss
Avoid precision loss for signed duration
2016-04-05 22:28:46 -04:00
kxbmap
2d1553e52e Avoid precision loss for signed duration 2016-04-06 09:59:07 +09:00
Havoc Pennington
1d01e52c94 Merge pull request #384 from kxbmap/update-sbt-and-plugins
Update SBT and plugins
2016-04-05 14:38:43 -04:00
kxbmap
70447ebbaa Update sbt-checkstyle-plugin version to 3.0.0 2016-04-04 07:22:13 +09:00
kxbmap
d204a6d49e Update sbt-osgi version to 0.8.0 2016-04-04 07:22:13 +09:00
kxbmap
f3c0249dcd Update sbt-pgp version to 1.0.0 2016-04-04 07:22:12 +09:00
kxbmap
4dbab0dbd5 Update sbt-git version to 0.8.5 2016-04-04 06:38:03 +09:00
kxbmap
74ccee241d Update sbt version to 0.13.11 2016-04-04 05:43:31 +09:00
Havoc Pennington
b1cc2352d8 Merge pull request #383 from kxbmap/config-list-unwrapped-doc
Add return tag to ConfigList.unwrapped javadoc
2016-04-03 16:33:32 -04:00
kxbmap
e91c73b92e Add return tag to ConfigList.unwrapped javadoc 2016-04-04 03:36:50 +09:00
Havoc Pennington
09146706db Merge pull request #368 from carueda/master
add link to tscfg java wrapper (yes, java)
2016-01-24 19:21:24 -05:00
Carlos Rueda
d95727b4ab add link to tscfg java wrapper (yes, java)
tscfg is a command line tool (written in Scala) that takes a configuration specification parseable by Typesafe Config and generates all the Java boiler-plate to make the definitions available in type safe POJOs.

Current v0.1.4 is already pretty usable but can be improved in several ways.
2016-01-24 15:38:24 -08:00
Havoc Pennington
ba5e0da694 Merge pull request #363 from tkaiser/issue-361
make sure expressions like .33 can be parsed as doubles
2015-12-16 10:07:03 -05:00
Thomas Kaiser
93083e86ef - revert changes to ConfigValueType of numbers beginning with '.' 2015-12-16 15:26:24 +01:00
Thomas Kaiser
2e71d57e61 - add '.' as valid start character of a number value
- add test to ensure ConfigValueType(0.33) == NUMBER
2015-12-11 12:14:46 +01:00
Thomas Kaiser
63a975d0cb added tests to make sure that expressions like .33 can be parsed as both double and strings. 2015-12-10 08:15:33 +01:00
Havoc Pennington
850ec39799 Merge pull request #350 from melrief/patch-1
Add PureConfig library to the Scala wrappers
2015-08-30 09:09:24 -04:00
Mario Pastorelli
390fd90d8e Add PureConfig library to the Scala wrappers 2015-08-30 15:05:12 +02:00
Havoc Pennington
fb7291c9b4 Merge pull request #346 from cprice404/master
(MAINT) Add puppet module and C++ links to readme
2015-08-14 08:32:04 -04:00
Chris Price
ac2f041118 (MAINT) Add puppet module and C++ links to readme 2015-08-14 13:21:07 +01:00
Havoc Pennington
38e34fdd82 Mention invalidateCaches in the README
Fixes #341
2015-07-30 11:30:56 -04:00
Havoc Pennington
aac122ae01 Fix toString of ConfigDelayedMerge, the default render() in superclass didn't work
The superclass called unwrapped() to render, which isn't allowed here.
2015-07-22 12:26:02 -04:00
Havoc Pennington
132419918a Merge pull request #338 from fpringvaldsen/comment-fix
Stop rendering origin comments in config documents
2015-07-14 11:04:44 -04:00
Preben Ingvaldsen
70edb3f3fc Stop rendering origin comments in config documents
Previously, when setting a ConfigValue in a ConfigDocument, origin
comments would be rendered, which would cause many values to have
lots of comments stating "# hardcoded value". Remove the rendering
of origin comments when inserting a ConfigValue into a
ConfigDocument.
2015-07-13 16:15:27 -07:00
Havoc Pennington
58a4df8095 Merge pull request #336 from usermindinc-sputnik/issue-335
Removes usage of Character.isISOControl in favor of ConfigImplUtil.isC0Control
2015-07-09 11:45:21 -04:00
Cary Lee
05cbb65a31 Removed char version of isC0Control and made non public 2015-07-09 08:13:07 -07:00
Cary Lee
5db8d13694 Removes usage of Character.isISOControl in favor of ConfigImplUtil.isC0Control
Character.isISOControl returns true for C0 and C1 control characters.
Only C0 characters need to be escaped in valid JSON. This change adds a
utility method to detect C0 control characters and uses that in favor of
Character.isISOControl.
2015-07-08 21:32:26 -07:00
Havoc Pennington
6d2d965735 Merge pull request #334 from fpringvaldsen/whitespace-fix
Fix index out of bounds error
2015-06-30 17:05:23 -04:00