Nik
080c60c08e
[ #1081 ] make next.jdbc's result-set namespace accessible from babashka ( #1082 )
2021-11-28 09:36:42 +01:00
Nik
f06a749249
Add support for SQLite via a BABASHKA_FEATURE_SQLITE feature flag ( #1079 )
...
* implement native sqlite support as a feature flag following [1]
([1] is mentioned as a checklist of sorts as to how to add a new
feature flag in [2])
[1] 13f65f05ae
[2] https://github.com/babashka/babashka/blob/master/doc/build.md
* bump to latest sqlite-jdbc, remove some no longer needed config+libs
based on feedback from borkdude here [1], bump xerial/sqlite-jdbc
3.36.0.3, which includes the graalvm classes and resource config
previously implemented via ericdallo/sqlite-jni-graal-fix and a `-H`
flag in `script/compile`
[1]: https://github.com/babashka/babashka/pull/1079#issuecomment-980533178
2021-11-28 09:34:54 +01:00
Michiel Borkent
4566905a5c
Add compatibility with hato and clj-http-lite insecure feature ( #1080 )
...
Added classes:
- java.net.CookiePolicy
- java.net.http.HttpTimeoutException
- javax.net.ssl.HostnameVerifier
- javax.net.ssl.HttpsURLConnection
- javax.net.ssl.KeyManagerFactory
- javax.net.ssl.SSLSession
- javax.net.ssl.TrustManagerFactory
- java.security.KeyStore
- java.util.zip.Inflater
- java.util.zip.ZipException
2021-11-27 15:58:24 +01:00
Michiel Borkent
e419c569a8
Support satisfies? on protocol values ( #1076 )
2021-11-24 17:38:38 +01:00
Michiel Borkent
a95c51998f
limit space of InetAddress4/6
2021-11-23 11:34:30 +01:00
Michiel Borkent
29b693181c
Merge branch 'master' into reader-resolver
2021-11-22 22:02:02 +01:00
Michiel Borkent
369ee94c90
Add java.net.Inet4Address and java.net.Inet6Address ( #1072 )
2021-11-22 10:42:50 +01:00
Michiel Borkent
d897baff28
reader-resolver
2021-11-21 23:51:21 +01:00
Michiel Borkent
8ae4fc5128
sci: default-reader-fn
2021-11-21 21:19:52 +01:00
Michiel Borkent
d04e897ef4
clojure.core/read improvements: support :eof + :read-cond
2021-11-21 14:37:14 +01:00
Michiel Borkent
0428d983d9
update to newest sci
2021-11-19 21:46:16 +01:00
Michiel Borkent
1ebe142655
use sci/copy-ns
2021-11-19 18:43:18 +01:00
Michiel Borkent
44e8ea36fd
Update with fs/with-temp-dir
2021-11-19 18:43:18 +01:00
Michael Glaesemann
5940b95cd2
Add javax.crypto classes necessary for calculating hmac shas. ( #1066 )
...
* Add javax.crypto classes necessary for calculating hmac shas.
* Add hmac-256-sha test for javax.crypto.
2021-11-18 08:49:59 +01:00
Michiel Borkent
52f9dc8f28
Add various tools.build related classes ( #1062 )
...
Co-authored-by: Hugo Duncan <hugo@hugoduncan.org>
2021-11-13 11:11:42 +01:00
Michiel Borkent
948c38c035
Add support for BasicFileAttributes
2021-11-13 11:05:21 +01:00
Michiel Borkent
aaaab5f6eb
[ #1061 ] Calling close on DirectoryStream fails
2021-11-13 10:44:16 +01:00
Michiel Borkent
321c47297d
[ #1061 ] Calling close on DirectoryStream fails
2021-11-13 10:38:21 +01:00
Bob
fb1a1cfbfb
[ #1046 ] add PGProperty fields to reflection config
2021-11-07 21:44:10 +01:00
Michiel Borkent
2bb7499fd5
[ #1055 ] Segfault when reifying FileVisitor with visitFileFailed
2021-11-07 12:05:16 +01:00
Michiel Borkent
7c7053119a
Expose babashka.deps/clojure
2021-11-06 13:01:35 +01:00
Michiel Borkent
19415f6363
Fix remaining args when invoking -m
2021-11-02 13:46:51 +01:00
Karol Wójcik
147e12f041
Add clojure.lang.IPersistentList ( #1048 )
2021-11-01 13:58:53 +01:00
Michiel Borkent
e819cd1fb5
Update babashka.fs
2021-10-20 21:31:34 +02:00
Bob
5a80e1603e
- correct --init to be a global option ( #1036 )
...
- test --init before subcommands and task names
2021-10-18 15:39:08 +02:00
Bob
bf3b6d2dca
add support for --init as a file to be loaded before evaluation actions ( #1033 )
2021-10-17 10:44:31 +02:00
Michiel Borkent
83f2441bfd
[ #1030 ] Add fs/unzip
2021-10-12 17:23:09 +02:00
Michiel Borkent
405c34b668
Add java.security.Provider and java.security.Security ( #1028 )
...
This adds about 80k to the binary.
2021-10-11 17:28:12 +02:00
Michiel Borkent
bc63da1612
babashka fs: add unzip function ( #1027 )
2021-10-07 12:39:33 +02:00
Bob
d4ac7365e0
[ #1015 ] print locals only when debug option is enabled ( #1021 )
2021-09-29 09:24:51 +02:00
Michiel Borkent
7063021f19
SCI: use public stacktrace logic ( #1017 )
2021-09-26 23:48:36 +02:00
Bob
7df81f1273
make core.async and rewrite-clj integral ( #1014 )
...
* make core.async integral (not a feature)
tasks (in particular, parallel tasks) require core.async
* make rewrite_clj integral (not a feature)
* cleanup mistakes
2021-09-23 18:15:01 +02:00
Michael Glaesemann
7cb972fdec
Include java.util.stream.BaseStream in classes. ( #1013 )
2021-09-23 16:01:42 +02:00
Bob
407bd74a00
[ #1004 ] XML edn reading and populating *data-readers* for feature deps ( #1012 )
...
* add XML edn reading and make *data-readers* closer to Clojure
- initial value of *data-readers*: empty map
- add XML readers to feature-flagged edn-readers for parsing *input*
- add edn-readers to *data-readers* to emulate data_readers.clj handling
* add YAML round-trip testing
* set root val of *data-readers* at top level
2021-09-20 18:31:57 +02:00
Kimmo Koskinen
89d07602e8
Add ZipFile ( #1010 )
2021-09-15 14:34:58 +02:00
Michiel Borkent
11f0e1a566
Get rid of single segment namespace
2021-09-12 12:39:58 +02:00
Michiel Borkent
a43e75ffd6
Add PipedInput/OutputStream ( #1001 )
2021-09-07 11:30:52 +02:00
Michiel Borkent
23ba52a813
[ #979 ] More java net http tests and tweaks ( #996 )
2021-09-01 11:36:24 +02:00
Michael Glaesemann
125e227976
Java http insecure context ( #994 )
...
* Add support for creating insecure context.
* Add BABASHKA_FEATURE_JAVA_NET_HTTP flag.
* Clean up java.net.http tests
2021-08-31 17:37:11 +02:00
Michiel Borkent
b71278cc68
[ #979 ] JDK 11 Http Client
...
Co-authored-by: Michael Glaesemann <grzm@seespotcode.net>
2021-08-31 11:13:11 +02:00
Bob
242c3d442f
Logging feature flag and tools.logging.readable ( #981 ) ( #987 )
...
* put tools.logging behind a feature flag
* add tools.logging.readable
- move logging namespace to feature folder
- add logging.readable namespace
- add tests for logging.readable
* cleanup logging changes
- add logging env var to compile script
- remove unconditional require of logging namespace
* move old-config capture to before alter
* remove feature check from logging tests
2021-08-29 23:43:53 +02:00
Bob
4ee84947c9
use tagged-literal for unknown EDN tags when creating *input* ( #975 ) ( #976 )
...
* use tagged-literal as default for unknown tags when using -I (or --stream without -i)
* use tagged-literal as default for unknown tags
2021-08-25 17:57:17 +02:00
Bob
a85d593767
make the REPL requires available to command-line scripts ( #972 )
2021-08-22 23:20:41 +02:00
Eric Dallo
72d3afa698
Migrate GraalVM configuration to jar ( #973 )
2021-08-22 23:19:28 +02:00
Michiel Borkent
d4f5e57866
[ #959 ] Add *print-readably* and *flush-on-newline*
2021-08-16 22:57:59 +02:00
Michiel Borkent
f1fa47837a
[ #969 ] Add java.lang.reflect.Method (getName only) ( #970 )
2021-08-13 11:25:00 +02:00
Bob
116d73f0b0
- add :ns meta to more vars ( #966 )
...
- add a couple more tests for Coercions
2021-08-08 15:38:56 +02:00
Bob
05e963bb6f
varify some core dynamic vars ( #957 ) ( #965 )
...
* refer clojure core ns from sci.impl.vars instead
of sci.impl.namespaces
* add :ns meta to dynamic vars in b.i.clojure.core
2021-08-06 13:11:10 +02:00
Michiel Borkent
ff8ad66350
CHANGELOGS [skip ci]
2021-08-02 23:41:15 +02:00
Michiel Borkent
be29d791a8
[ #733 ] print-deps tests
2021-08-02 23:34:38 +02:00