Commit Graph

946 Commits

Author SHA1 Message Date
Aaron Pritzlaff
215a23a340 Added reference to args4c for command-line-to-config utils 2019-03-19 17:34:49 +00:00
Havoc Pennington
64c60f0713
Merge pull request from mockersf/master
add new Rust port to Other APIs section
2019-03-08 09:01:52 -05:00
François
02d614b96d
add new Rust port to README.md 2019-03-08 08:54:37 +01:00
Havoc Pennington
d6023a111d
Merge pull request from ekrich/topic/doc
Add new Scala port to README.md
2019-02-14 18:21:25 -05:00
Eric Richardson
dfb2454bb8 Update Shocon entry 2019-02-14 15:48:15 -05:00
Eric Richardson
d10b76f16e Add new Scala port to README.md 2019-02-14 12:15:09 -05:00
Havoc Pennington
c17d58e09a
Merge pull request from dwijnand/drop-note-on-akka-and-play-2.0
Drop note on Akka 2.0/Play 2.0
2019-01-28 10:51:29 -05:00
Dale Wijnand
b782a2d701
Drop note on Akka 2.0/Play 2.0
I initially misread the note to mean Akka/Play 2.x.

Seeing as Akka 2.0 and Play 2.0 is close to 7 years ago, we can lose the note now?

* https://github.com/akka/akka/releases/tag/v2.0
* https://github.com/playframework/playframework/releases/tag/2.0
2019-01-28 15:44:58 +00:00
Martynas Mickevičius
f540252987
Merge pull request from 2m/wip-adoptjdk-2m
Use AdoptOpenJDK
2019-01-24 16:22:40 +01:00
Martynas Mickevičius
f895b83bd5
Use AdoptOpenJDK 2019-01-24 15:53:25 +01:00
Havoc Pennington
aa0c42b873
Merge pull request from michalmela/master
Fixed support for keys that look like numbers longer than an int.
2019-01-09 17:57:58 -05:00
Michał Mela
fee9a3e80e Fixed support for keys that are all digits but longer than an int.
Previously such config keys would still be parsed with
`Integer#parseInt` for the sake of sorting, resulting in a `NumberFormatException`.
Now the keys consisting of digits only are parsed to a `BigInteger` and
compared as such.

This addresses the following issues:
https://github.com/lightbend/config/issues/604
https://github.com/lightbend/config/issues/541
2019-01-08 07:47:20 +01:00
Havoc Pennington
91e8362a81
Merge pull request from michalmela/scala-2-12-8
Project Scala version updated to 1.12.8; all the IDE & compiler warnings fixed
2019-01-07 17:12:27 -05:00
Michał Mela
8ffe542870 Project Scala version updated to 1.12.8; all the IDE & compiler warnings fixed
As discussed in https://github.com/lightbend/config/pull/568 .

`lift-json` was also bumped as there was no longer any suitable version for Scala 2.12.x.

Also fixed compiler warnings (e.g. _eta expansion of parameterless methods is deprecated_) as well as some rarther non-controversial IDE warnings (e.g. redundant semicolons and such).
2019-01-07 08:38:48 +01:00
Havoc Pennington
e1c2640242
Merge pull request from hepin1989/sbt
Update sbt to 1.2.7.
2018-12-03 03:09:00 -05:00
hepin1989
b0941180e6 Update sbt to 1.2.7. 2018-12-03 15:19:09 +08:00
Havoc Pennington
1fc2aff452
Merge pull request from kubukoz/patch-1
Add a note about classloader issues to README
2018-11-04 11:25:31 -05:00
Jakub Kozłowski
d5f9311861
Remove whitespace 2018-11-04 17:02:02 +01:00
Havoc Pennington
59c8bb8de8
Update README.md
Co-Authored-By: kubukoz <kubukoz@gmail.com>
2018-11-04 17:00:15 +01:00
Jakub Kozłowski
7e121b7df9
Add a note about classloader issues to README 2018-11-04 16:46:48 +01:00
Havoc Pennington
62b20cc994
Merge pull request from ekrich/fix/printstacktrace
Fix stack trace printing in test
2018-11-01 11:59:46 -04:00
Eric Richardson
55ba25e0ff Fix stack trace printing in test 2018-11-01 11:24:34 -04:00
Havoc Pennington
4bb19e4b52
Merge pull request from eed3si9n/wip/snapshot
Removes bad resolver, and refactors build
2018-09-18 08:13:25 -04:00
Eugene Yokota
b9b4c06ce6 Refactor build to unified slash syntax 2018-09-17 00:30:55 -04:00
Eugene Yokota
881611f1c7 Remove bad resolver
Ref https://github.com/sbt/sbt/issues/4363

http://scala-tools.org/repo-snapshots/ is no longer a valid resolver. Since it now redirects to https://blog.goodstuff.im/repo-snapshots, it causes "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
2018-09-17 00:27:44 -04:00
Havoc Pennington
2a103fe53f
Merge pull request from ensirius/master
 Add root config origin to exception
2018-09-07 19:02:18 -04:00
vgolub
743f240d47 Do not pass Path object as exception argument 2018-09-07 20:25:46 +03:00
vgolub
8625b78753 Add root config origin to exception 2018-09-07 18:13:23 +03:00
Havoc Pennington
40d0c40846
Merge pull request from bigwheel/patch-1
Remove nbsp that breaking Markdown rendering
2018-08-14 16:56:07 -04:00
k.bigwheel
2b95a52a1b Remove nbsp that breaking Markdown rendering 2018-08-15 04:19:28 +09:00
Havoc Pennington
bee704aedf
Merge pull request from sam-token/bad-map
ResolveMemos Performance Improvement
2018-08-10 19:13:34 -04:00
Sam Holeman
c1ec3af329 Tweak BadMap, add tests 2018-08-10 15:08:45 -07:00
Havoc Pennington
6001192391 minor cleanups to BadMap 2018-08-10 15:06:47 -07:00
Havoc Pennington
3a63f18cae Reimplement ResolveMemos with a ridiculous hand-rolled hash table
This is intended to band-aid  with a hash table that sucks,
but ought to be much faster to copy than the stock Java one.
The stock Java hash table rehashes everything every time, while
this hash table can often just copy an array. That said, I didn't
benchmark it or anything, it may well also be super slow.

This is more or less a troll commit to get someone to do better.
2018-08-08 14:47:27 -07:00
Havoc Pennington
75245ed3df
Merge pull request from sullis/sbt-1.2.1
sbt 1.2.1
2018-08-08 07:58:43 -04:00
Sean Sullivan
4d03eae3ee sbt 1.2.1 2018-08-08 00:02:02 -07:00
Havoc Pennington
32a2fb26dc
Merge pull request from lightbend/wip-575-1
 Remove wording about apps having reference.conf
2018-07-31 09:35:38 -04:00
Konrad `ktoso` Malawski
e436ad96f8
Remove wording about apps having reference.conf 2018-07-31 15:04:41 +09:00
Havoc Pennington
7b9e1539dd
Merge pull request from ntviet18/set_syntax_from_filename_option
Add syntax from file name parser option
2018-07-25 12:29:15 -04:00
The Viet Nguyen
b091c8f641 Unify guess syntax decision tree 2018-07-25 19:11:50 +03:00
The Viet Nguyen
a3904f505b Add syntax from file name parser option 2018-07-25 18:56:59 +03:00
Havoc Pennington
4edef986f4
Merge pull request from radist-nt/issue_567
@Optional in getters for properties without field
2018-07-24 22:39:40 -04:00
Radist
4c631902a0 @Optional in getters for properties without field 2018-07-14 16:41:52 +03:00
Havoc Pennington
c6d1ed4409
Merge pull request from ajorpheus/patch-1
Minor documentation correction for config.root().render() under "Debuggin…
2018-07-13 08:37:18 -04:00
Ash
61af0058ef
Minor correction to the use of config.root().render() under "Debugging Your Configuration"
Looking at the java/scaladoc of ConfigValue.render()  (https://github.com/lightbend/config/blob/master/config/src/main/java/com/typesafe/config/ConfigValue.java#L48-L50)  

and then looking at the implementation of `render()` itself:
https://github.com/lightbend/config/blob/master/config/src/main/java/com/typesafe/config/impl/AbstractConfigValue.java#L364-L374

it appears that `config.root().render()` returns a string that must be printed out, logged etc. Current documentation implies that calling this method will print out the string which seems to be misleading.
2018-07-13 11:31:50 +01:00
Havoc Pennington
1c83360c37
Merge pull request from ennru/ennru_sbt-1.1.6
sbt 1.1.6 and upgraded plugins
2018-07-01 12:49:47 -04:00
Enno Runne
1672b9b9b8 Reformatted with Scalariform 2018-07-01 16:55:31 +02:00
Enno Runne
207f6e993b Scalariform settings in root build.sbt 2018-07-01 16:54:37 +02:00
Enno Runne
8cf5c7a546 upgrade to sbt 1.1.6 and latest plugins 2018-06-30 19:21:49 +02:00
Havoc Pennington
ea45ea3767
Merge pull request from av-elier/add-link-to-playground
Add playground link to readme
2018-06-12 17:22:29 -04:00