Commit graph

3115 commits

Author SHA1 Message Date
Michiel Borkent
7063021f19
SCI: use public stacktrace logic (#1017) 2021-09-26 23:48:36 +02:00
Bob
a39cdc7e8c
Component lib test (#1016)
* add lib test for component

* add example of using GZip
2021-09-26 23:47:39 +02:00
Michiel Borkent
17bb2f93ad deps.clj 2021-09-25 12:23:53 +02:00
Michiel Borkent
4880a3ebe6 deps.clj 2021-09-25 11:11:31 +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
Michiel Borkent
58cbfd987b Templates [skip ci] 2021-09-17 12:45:59 +02:00
Michiel Borkent
f37a61a848 Templates [skip ci] 2021-09-17 12:19:16 +02:00
Michiel Borkent
664d708f1c Templates [skip ci] 2021-09-17 12:17:00 +02:00
Michiel Borkent
c8e170bba2 Templates [skip ci] 2021-09-17 12:15:59 +02:00
Michiel Borkent
9bb200b193 README [skip ci] 2021-09-16 11:04:43 +02:00
Kimmo Koskinen
89d07602e8
Add ZipFile (#1010) 2021-09-15 14:34:58 +02:00
Thiago Kenji Okada
9ca3a3bd31
Use Debian bullseye on CI/CD/Dockerfile (#1005)
* Migrate `Dockerfile` to use a bullseye-based image

Also, some QoL changes on the `Dockerfile`:
- Parametrize GRAALVM_VERSION to make it easier to update
- Remove installing programs already included on base image
- Remove `deps.edn` from `.dockerignore` since it is necessary to build

* Migrate CircleCI to use a bullseye-based image

Also some modifications necessary to make it work:
- Migrate from `circleci` images to `clojure` since they're out-of-date
  and also seem to be considered legacy:
  https://circleci.com/docs/2.0/circleci-images/#legacy-language-images
- Remove unnecessary usage of `sudo`, since all commands runs as root
- Sync packages with `Dockerfile`. This will make easier to test locally
  if everything will work (of course, it is not 100% guarantee)

* Remove lsof

* Remove "Install {Clojure,Leiningen}" steps

Already included on the base image.

* Do not change directory when downloading GraalVM

* Move "Download GraalVM" to script/download-graalvm

* Set GRAALVM_HOME correctly

* Unbreak mac build

* Revert "Set GRAALVM_HOME correctly"

This reverts commit 5e2a6158dc.

* Set GRAALVM_HOME correctly, take 2

* Improve download-graalvm script

* Re-added "Install Clojure" steps

* Set amd64 as default GRAALVM_ARCH

* Unbreak linux-aarch64

* Ubreak jvm

* Do not change directory

* Fix yaml

* Fix mac/linux-aarch64

* Add missing Clojure

* Fix cache

* Move GraalVM installation to /tmp

* Use script/install-clojure

* Use /opt instead of /tmp to install GraalVM

* Revert "Use /opt instead of /tmp to install GraalVM"

This reverts commit 3cfad03c8e.

* Use CircleCI's Clojure images again

* Go back to installing GraalVM on $HOME
2021-09-13 23:28:13 +02:00
Michiel Borkent
29c2fbb86d Version bump 2021-09-12 14:45:31 +02:00
Michiel Borkent
14362cdf5f CHANGELOGS [skip ci] 2021-09-12 14:42:49 +02:00
Michiel Borkent
500a4f9f60 v0.6.1 2021-09-12 14:22:45 +02:00
Michiel Borkent
11f0e1a566 Get rid of single segment namespace 2021-09-12 12:39:58 +02:00
Michiel Borkent
13d38ba455
Clj easy graal build time (#1008) 2021-09-12 11:50:32 +02:00
Michiel Borkent
0f723a1e7c
Fix aarch64 test (#1007) 2021-09-11 18:13:12 +02:00
Michiel Borkent
4c075e07e4 CHANGELOGS [skip ci] 2021-09-11 00:20:06 +02:00
Michiel Borkent
8ca21887be [#1006] Self-referential function returns wrong binding
Also see https://github.com/borkdude/sci/issues/613
2021-09-10 23:32:43 +02:00
Michiel Borkent
149fc261fa sci 2021-09-10 18:27:05 +02:00
Victor Bjelkholm
031080bfba
Add docs badge to top of README (#1002)
Finding myself scrolling around the readme for some seconds trying to find the link to the docs, which is a couple of sections down from the top. In order to help people (and myself) to find the reference faster, I added a badge in the top that links to the book/docs.
2021-09-09 14:03:21 +02:00
Michiel Borkent
a43e75ffd6
Add PipedInput/OutputStream (#1001) 2021-09-07 11:30:52 +02:00
Michiel Borkent
943dc69c66 Fix test 2021-09-01 23:30:33 +02:00
Michiel Borkent
1a764f3120 [#997] Add smoke test 2021-09-01 23:14:35 +02:00
Michiel Borkent
f5cdf89608 [#997] Fix for schmee java-http-clj send-async 2021-09-01 23:09:02 +02:00
Michiel Borkent
f6dd96a281 CHANGELOGS [skip ci] 2021-09-01 19:48:26 +02:00
Michiel Borkent
09dcd58ee8 Version bump 2021-09-01 17:50:33 +02:00
Michiel Borkent
5d07faa051 CHANGELOGS [skip ci] 2021-09-01 17:38:21 +02:00
Michiel Borkent
e3d6e433b2 v0.6.0 2021-09-01 17:34:52 +02:00
Michiel Borkent
faec6aeced v0.5.2 2021-09-01 17:34:25 +02:00
Michiel Borkent
e915e14612 Upgrade deps.clj, fix flaky test 2021-09-01 17:34:19 +02:00
Michiel Borkent
4be3abdd81 docs [skip ci] 2021-09-01 14:49:28 +02:00
Michiel Borkent
c69852eb9f Update projects.md page [skip ci] 2021-09-01 14:07:48 +02:00
Michiel Borkent
5422946eee CHANGELOGS [skip ci] 2021-09-01 14:00:37 +02:00
Michiel Borkent
e55559f727 CHANGELOGS [skip ci] 2021-09-01 13:59:26 +02:00
Michiel Borkent
c832819a76 Fix test 2021-09-01 13:45:23 +02:00
Michiel Borkent
cddd4ce581 [#995] Add clojure.data.xml/alias-uri 2021-09-01 13:34:47 +02:00
Michiel Borkent
1da01203ce Fix test 2021-09-01 11:54:09 +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
Michiel Borkent
cebdd19c00
Upgrade to GraalVM 21.2.0 2021-08-30 20:16:18 +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
Michiel Borkent
ad73a09c0e sci [skip ci] 2021-08-28 12:32:18 +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