Commit Graph

617 Commits

Author SHA1 Message Date
Havoc Pennington
b44eae9f11 Merge pull request #262 from typesafehub/windows-quoting
Properly quote filenames in tests, to attempt to fix Windows
2015-02-26 12:18:22 -05:00
Havoc Pennington
cb5eb350cc Properly quote filenames in tests, to attempt to fix Windows
Reported by @Johnlon via PR #201
2015-02-26 12:12:18 -05:00
Havoc Pennington
191ca2657d Merge pull request #261 from typesafehub/from-anyref-value
Support fromAnyRef(ConfigValue)
2015-02-26 09:43:05 -05:00
Havoc Pennington
db5e95c457 Fix ConfigMemorySizeTest.scala indentation 2015-02-26 09:17:41 -05:00
Havoc Pennington
749b28d6eb Add docs and tests for fromAnyRef handling ConfigValue 2015-02-26 09:16:57 -05:00
verbeto
b81a45870d Make fromAnyRef return a ConfigValue unmodified instead of throwing 2015-02-26 09:02:00 -05:00
Havoc Pennington
a73fe1f1e9 Merge pull request #257 from typesafehub/duration
Support java.time.Duration getters on Config
2015-02-26 08:55:48 -05:00
Havoc Pennington
0e722a10cd Merge pull request #260 from typesafehub/newlines-in-description
In render, put comment char in front of every description line
2015-02-26 08:52:08 -05:00
Havoc Pennington
2028cff9f6 Merge pull request #258 from typesafehub/scalariform
Scalariform the tests, discovering a bug in the process
2015-02-26 08:51:57 -05:00
Havoc Pennington
dddcd0443a Support java.time.Duration getters on Config
Also support fromAnyRef on a Duration
2015-02-26 08:51:34 -05:00
Havoc Pennington
cd634decc5 Merge pull request #256 from typesafehub/config-memory-size
add ConfigMemorySize and getters for it
2015-02-26 08:50:03 -05:00
Havoc Pennington
9c2daf8c0f In render, put comment char in front of every description line
Fixes #239 that multiline descriptions created unparseable output.
2015-02-26 00:10:11 -05:00
Havoc Pennington
f1530e64c5 Add scalariform to the build, to format the Scala tests 2015-02-25 23:37:50 -05:00
Havoc Pennington
9348bf2132 Fix Path.render to avoid quoting elements starting with number char
This was supposed to be done earlier, but the test for it wasn't
actually being run - it looked like it was in a list due to
indentation, but in fact was not in the list. So Scalariform
revealed the bug.
2015-02-25 23:36:23 -05:00
Havoc Pennington
51f05d9927 Add since 1.3.0 tags to the new ConfigMemorySize methods 2015-02-25 21:25:31 -05:00
Havoc Pennington
97718593c6 Support ConfigMemorySize in fromAnyRef
We don't preserve its "memory-size-ness" but we can parse
it into a Long.
2015-02-25 21:01:09 -05:00
Havoc Pennington
2e43d9b21c Add ConfigMemorySize.toString 2015-02-25 20:53:34 -05:00
Havoc Pennington
5a2b0b7380 Better format javadoc in ConfigMemorySize.java 2015-02-25 20:46:01 -05:00
Havoc Pennington
9d16f3bf61 Merge pull request #255 from typesafehub/java8
Switch to Java 8
2015-02-25 20:41:41 -05:00
Havoc Pennington
e72decad92 Use -source 1.6 for now, to avoid Java 8 syntactic sugar
We will still be able to use library types, but will keep
it a little easier to make a Java 7 branch this way.
2015-02-25 20:37:01 -05:00
Havoc Pennington
5b2519863e Add getMemorySize and getMemorySizeList to Config 2015-02-24 20:21:03 -05:00
Havoc Pennington
287e927129 Add ConfigMemorySize type
Not used at all yet, and with no unit conversions supported.
2015-02-24 20:20:18 -05:00
Havoc Pennington
4822a44911 Update Java version information in the README 2015-02-24 16:26:54 -05:00
Havoc Pennington
90ab6b6c12 Change expected results of hash-order-dependent tests
The spec already documents that these cases had undefined
behavior, so the tests were wrong and Java 8 broke them.
The tests are now still wrong, but have a comment that
should make it easier to understand what's happening next
time Java's hash table order changes.
2015-02-24 16:18:31 -05:00
Havoc Pennington
711fb504cb Update serialization tests for Java 8 2015-02-24 15:55:21 -05:00
Havoc Pennington
0c229be607 Enforce that the build uses Java 8 2015-02-24 15:41:31 -05:00
Ben McCann
f2aec60ff9 Only build with Java 8 on Travis
Java 7 is EOL in April and will no longer be receiving updates. Akka is dropping Java 7 support in version 2.4. Play has also decided to drop support for Java 7 in Play 2.4. Supporting Java 8 would be nice because it would allow us to do autoconversions to the new time API like java.time.Duration
2015-02-24 15:21:07 -05:00
Havoc Pennington
1f50c19b59 Formatting chat room link 2015-02-09 09:15:29 -05:00
Havoc Pennington
2edf846752 Add Gitter chat room 2015-02-09 09:14:27 -05:00
Havoc Pennington
10bb00cbf9 Merge pull request #248 from tkawachi/duration-message
Suggest h when failed to parse duration
2015-02-03 00:18:27 -05:00
KAWACHI Takashi
83ceb90a89 Suggest h when failed to parse duration 2015-02-03 13:50:34 +09:00
Havoc Pennington
ce394080a1 Merge pull request #243 from acaly/set_origin
Add methods to create and set origin.
2015-01-27 08:58:48 -05:00
Havoc Pennington
e87093f0bf Merge pull request #242 from zhongl/master
Insert a new config scala wrapper to readme
2015-01-27 08:56:56 -05:00
Havoc Pennington
337206041f Merge pull request #245 from dwijnand/docker-travisci
Switch to Travis' docker infrastructure & add Travis' badge
2015-01-27 08:55:16 -05:00
Dale Wijnand
137050a69c Specify openjdk6. 2015-01-27 09:49:35 +00:00
Dale Wijnand
a8e2343086 Switch to Travis' docker infrastructure. 2015-01-27 09:37:54 +00:00
Dale Wijnand
22890b6e9f Add TravisCI badge. 2015-01-27 09:20:19 +00:00
Havoc Pennington
ac09c7e33d Merge pull request #244 from dwijnand/cleanup-build
Cleanup build
2015-01-26 20:45:51 -05:00
Dale Wijnand
65ff5f9f2c Replace JavaVersionCheck with sbt-javaversioncheck. 2015-01-27 00:35:39 +00:00
Dale Wijnand
ad63b52073 Cleanup Build.scala. 2015-01-27 00:35:39 +00:00
Dale Wijnand
840bb0dc58 Cleanup sbt 0.13.7+ build.sbt format. 2015-01-27 00:35:39 +00:00
Dale Wijnand
3cb10e6879 Scala 2.10.4 (this build only). 2015-01-27 00:35:39 +00:00
Dale Wijnand
8e82860df7 Delete empty build.sbt files. 2015-01-26 23:57:36 +00:00
Wu Zhenwei
7c91260a70 Fix function name in scala and comments. 2015-01-25 12:46:01 +08:00
Wu Zhenwei
4a8e1023a3 Rename set functions to with. 2015-01-25 12:33:52 +08:00
Wu Zhenwei
a0f2e49a85 Add methods to create and set origin. 2015-01-24 21:44:37 +08:00
Lunfu Zhong
5bbebb783d Update README.md
Add new scala wrapper
2015-01-24 20:46:58 +08:00
Havoc Pennington
5174c92df0 Merge pull request #222 from typesafehub/wip/havocp-resolve-fixes
Rewrite resolver to be more comprehensible
2015-01-20 20:12:53 -05:00
Havoc Pennington
8b0bcc6e51 Merge pull request #226 from paulp/null
Test case bug.
2015-01-07 09:40:21 -05:00
Paul Phillips
f38a7b027a Test case bug.
It's intended to be testing the reference.
2015-01-02 13:20:03 -08:00