Havoc Pennington
b57b569420
add docs to load() pointing to parseResourcesAnySyntax()
2013-07-01 15:19:55 -04:00
Havoc Pennington
2c106ad940
remove unused variant of ResolveContext.resolve static method
...
It was broken (ignored its restrictToChild parameter) but since
it was also unused, just nuked it.
2013-06-25 10:29:37 -04:00
Havoc Pennington
8f8b576800
Update to scala 2.10.2 and lift-json 2.5
...
Fix related warnings, and adapt to lift-json's increased leniency.
2013-06-25 10:25:42 -04:00
Havoc Pennington
3ac6f7472f
gitignore nested .classpath/.project/.settings
2013-06-25 10:07:20 -04:00
Havoc Pennington
7231e14886
Treat BOM as whitespace, fixes #75
2013-06-21 10:59:38 -04:00
Havoc Pennington
369e9ff1e2
Merge pull request #59 from typesafehub/wip-add-getDuration-√
...
Wip add get duration √
2013-06-21 07:36:37 -07:00
Havoc Pennington
c6cd729746
Fix exception text for bad duration value
...
It said it expected a string or number of $units,
but really if it's a number it always has to be
milliseconds.
2013-06-21 10:21:50 -04:00
Havoc Pennington
91ec79f976
add @since to getDuration, and minor doc tweaks
2013-06-21 10:17:28 -04:00
Viktor Klang
796f25acac
Deprecating getMilliseconds* and getNanoseconds* and add getDuration*
2013-06-21 10:04:43 -04:00
Viktor Klang
0b1eb35900
Adding IDEA specific subdirs to .gitignore
2013-06-21 10:04:43 -04:00
Havoc Pennington
55ecac913c
Open 1.1.0-SNAPSHOT for API additions.
2013-06-21 09:57:56 -04:00
Havoc Pennington
31b64a9327
back to -SNAPSHOT and put 1.0.1 in the README
2013-05-19 20:43:01 -04:00
Havoc Pennington
6303917eaa
v1.0.1
2013-05-19 20:40:30 -04:00
Havoc Pennington
05ab74d15d
Fix javadoc warnings
2013-05-19 20:38:38 -04:00
Havoc Pennington
b66664b448
Explain merging a bit better in withFallback docs
2013-05-19 16:19:17 -04:00
Havoc Pennington
bad495ba16
mention in Config.resolve docs that ConfigFactory methods may call it for you
2013-05-19 15:21:47 -04:00
Havoc Pennington
29c7d62a52
Mention the need to call resolve() in the Config docs
2013-05-19 10:29:05 -04:00
Havoc Pennington
4a62e10754
Link to examples and overview from Config, ConfigFactory docs
...
Trying to help people find the big-picture points they need to see.
2013-05-19 10:26:48 -04:00
Havoc Pennington
61675293f7
Discuss conversion of objects to arrays in the spec
2013-05-09 12:17:29 -04:00
Havoc Pennington
ed7c97d06c
Convert numerically-indexed objects to arrays in concatenations
2013-05-09 12:17:14 -04:00
Havoc Pennington
338150f281
Try to convert objects with numeric keys to lists
...
This is mostly intended to provide a way to specify lists
on the command line via Java properties, like -Dfoo.0 -Dfoo.1
Fixes #69
2013-05-07 11:02:55 -04:00
Havoc Pennington
145a9be612
Merge pull request #63 from mpilquist/cme-sysprops-fix
...
Fix ConcurrentModificationException that occurs when system properties are being modified during a call to ConfigImpl#loadSystemProperties
2013-03-18 14:03:17 -07:00
Michael Pilquist
89956ea7df
Fix ConcurrentModificationException that occurs when system properties are being modified during a call to ConfigImpl#loadSystemProperties
2013-03-18 16:51:52 -04:00
Havoc Pennington
b5b0f17ac1
Track newlines within triple quotes, fixes #61
2013-03-04 09:50:17 -05:00
Havoc Pennington
41d3d0bb1c
Switch to sbt 0.12.1
...
- update all plugin versions
- drop the custom javadoc-sbt plugin in favor of sbt's native javadoc support
- update to a lift-json that's built against 2.9.2
2012-12-06 09:11:02 -05:00
Havoc Pennington
888e398367
put back -SNAPSHOT after 1.0.0
2012-10-15 09:02:14 -04:00
Havoc Pennington
3c6007547e
v1.0.0
2012-10-15 09:01:57 -04:00
Havoc Pennington
eac5c6c790
put back -SNAPSHOT after 0.6.0
2012-10-10 14:09:07 -04:00
Havoc Pennington
c6a068888c
v0.6.0 publish
2012-10-10 14:08:31 -04:00
Havoc Pennington
c38e849f43
add ConfigRenderOptions.setJson(false)
...
This allows you to render using HOCON extensions (other than
comments; comments are still controlled by separate options).
Intended to address github issue #44
2012-10-08 17:41:32 -04:00
Havoc Pennington
5f486f65ac
Add ConfigFactory.invalidateCaches() to support reloading system props
...
This lets people change system props in unit tests for example.
Issue #43 on github.
2012-10-08 15:30:47 -04:00
Havoc Pennington
b739f4be6e
Make ConfigException serializable
...
Done with a custom serialization because we don't want ConfigOrigin
to be serializable; if ConfigOrigin were serializable we'd have to
support its serialization remaining compatible across releases.
And there's no known use for ConfigOrigin being serializable.
Not intending to support ConfigException serialization back compat
across releases, because that probably isn't useful or expected.
2012-10-03 10:12:53 -04:00
Havoc Pennington
67f5851ff2
Fix some indentation in PublicApiTest.scala
2012-10-03 10:12:01 -04:00
Havoc Pennington
b9a8af5960
add a colon in the spec
2012-10-02 09:20:37 -04:00
Havoc Pennington
7df7a14b34
put back -SNAPSHOT after 0.5.2
2012-09-06 09:27:32 -04:00
Havoc Pennington
46386e818f
0.5.2
2012-09-06 09:27:01 -04:00
Havoc Pennington
e7f203bf45
remove a redundant setClassLoader on parse options in loadDefaultConfig()
2012-09-06 09:04:09 -04:00
Havoc Pennington
b30be8a392
Let Eclipse adjust ConfigFactory indentation to its satisfaction
2012-09-06 09:02:53 -04:00
Havoc Pennington
5b71bb9904
Merge pull request #37 from jto/new_loader
...
Add ConfigFactory#load(ConfigParseOptions)
2012-09-06 05:52:43 -07:00
jtournay
edd96ba11b
remove caching from ConfigFactory#load(ClassLoader, ConfigParseOptions), andadd more loaders
2012-09-06 02:55:26 -07:00
jtournay
9cb359e1bd
Add ConfigFactory#load(ConfigParseOptions)
2012-09-05 03:02:16 -07:00
Havoc Pennington
796493cfcd
Explain 0.3.1 release in NEWS.md
2012-08-06 19:13:17 -04:00
Havoc Pennington
eea28e5428
link to NEWS from README
2012-07-10 14:24:39 -04:00
Havoc Pennington
10f7588452
fix markdown indentation in NEWS
2012-07-05 11:10:29 -04:00
Havoc Pennington
e62a295f4b
add -SNAPSHOT back after 0.5.0
2012-07-05 11:05:12 -04:00
Havoc Pennington
d400f5bc01
0.5.0 release
2012-07-05 11:01:00 -04:00
Havoc Pennington
bd820702e6
add withValue method to Config and ConfigObject
...
This makes it easier to build up a config in code.
2012-07-04 11:56:50 -04:00
Havoc Pennington
d15ade876a
add atPath() and atKey() to place a value inside a Config
...
Otherwise it's sort of clunky to do this because you have to
create a map then parseMap, or other roundabout approach.
2012-06-19 16:30:48 -04:00
Havoc Pennington
e1d5bc7506
Implement triple-quoted multiline strings
...
Details are in the spec/news/readme changes in the patch.
2012-06-18 23:01:43 -04:00
Havoc Pennington
6b0e8c4047
Print an ugly "diff" when an equivalents test fails
...
Helpful for debugging failed tests.
2012-06-18 22:59:50 -04:00