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
Havoc Pennington
ac878d653c
include the message in Tokens#Problem#toString
...
Required adding accessor for "what" for use in tests
2012-06-18 22:58:04 -04:00
Havoc Pennington
b3ac8d0539
bump to 0.4.1 in the README
2012-05-24 09:18:34 -04:00
Havoc Pennington
4462c667f9
bump to 0.4.2-SNAPSHOT
2012-05-22 17:26:51 -04:00
Havoc Pennington
9bbb7d7ac4
v0.4.1
2012-05-22 17:26:12 -04:00
Havoc Pennington
fea5d6d478
bump to 0.4.1-SNAPSHOT
2012-05-22 09:04:31 -04:00
Heiko Seeberger
11b9af503a
closes #16 : Publish as OSGi bundle
2012-05-21 11:51:08 +02:00
Havoc Pennington
765b61a80b
explicitly set -source 1.6 -target 1.6
2012-05-14 12:21:18 -04:00
Havoc Pennington
fa038eac67
add note about only supporting Java 6 and above.
2012-05-14 12:07:55 -04:00
Havoc Pennington
445a700c53
add notes on Akka 2.0 embedded config limitations to HOCON.md
...
These were already in the README but people may jump straight
to the spec, so add them there too.
2012-05-14 12:02:35 -04:00
Havoc Pennington
9a2e9a8bde
add some notes about features that aren't in Play/Akka 2.0
2012-04-13 10:37:02 -04:00
Havoc Pennington
2e5b1eaa1b
fix formatting of prior NEWS change
2012-04-13 11:27:11 -03:00
Havoc Pennington
c8632d9458
note the moved publish location in NEWS
2012-04-13 10:26:15 -04:00
Havoc Pennington
06d6fc5ee3
mention new include syntax in the README
2012-04-13 10:08:39 -04:00
Havoc Pennington
9b7d2a6469
remove "Future Directions" from README, the Future is Now!
2012-04-13 10:06:36 -04:00
Havoc Pennington
0adc9152d1
Show how to create a Settings class to encapsulate your Config
2012-04-13 10:06:08 -04:00
Havoc Pennington
85a4edab59
fix a couple links in the API docs
2012-04-13 09:39:39 -04:00
Havoc Pennington
8159cf3ed4
version to 0.4.0-SNAPSHOT (put SNAPSHOT back)
2012-04-13 09:30:12 -04:00
Havoc Pennington
b35dfb67b2
Optimistically update the README with Maven Central information
2012-04-12 21:48:35 -04:00
Havoc Pennington
b88fd55f86
another NEWS tweak
2012-04-12 21:45:43 -04:00
Havoc Pennington
3ce0997adc
don't mess up the PGP plugin
...
No need to add the settings a second time, which
resulted in signing the signatures.
No need to use GPG, it uses its built-in stuff.
2012-04-12 21:40:57 -04:00
Havoc Pennington
5093213c12
NEWS.md updates
2012-04-12 21:38:34 -04:00
Havoc Pennington
387e106856
Add ConfigRenderOptions and ConfigValue#render(options)
...
This mostly lets you choose whether you want whitespace and
comments, and somewhat as a side effect, you can get plain
JSON by turning off comments.
2012-04-12 21:34:59 -04:00
Havoc Pennington
985958521d
more fully test origin serialization and clean up code a bit
...
Mostly removing impossible codepaths.
2012-04-12 17:36:09 -04:00
Havoc Pennington
aea95bd228
fix some warnings from findbugs
...
Only one of these, possible incomplete skip
from DataInput.skipBytes(), was a real problem
I think.
2012-04-12 15:33:15 -04:00
Havoc Pennington
db3a676c02
Update build: sbt 0.11.2, maven central publish config, gpg
2012-04-12 15:21:06 -04:00
Havoc Pennington
f0e4dfd806
remove ConfigSubstitution, it was a serialization compat shim
...
The serialization-pocalypse removes the need for this shim.
2012-04-12 13:21:10 -04:00
Havoc Pennington
388d85fb5d
Serialization-pocalypse: change serialization format
...
The previous use of Java's default serialization dumped
all implementation-detail class names and fields into the serialization,
making it basically impossible to improve the implementation.
Two strategies here:
- prohibit serialization of unresolved configs, which are
the location of a lot of implementation detail
- delegate all serialization to an Externalizable
SerializedConfigValue class, which serializes
using fields that have lengths. Unknown fields
can thus be skipped and we can write code to
support obsolete fields, and so on.
As a side effect, this makes the serialization far more compact
because we don't need the Java per-class header noise, and we
jump through some hoops to avoid writing out duplicate ConfigOrigin
information. It still isn't super-compact compared to something
like protobuf but it's a lot less insane.
2012-04-12 13:04:14 -04:00