PJ Fanning
ef628ea320
add asInputStream to ByteString ( #1085 )
...
* add getInputStream to ByteString
* scala 2 updates
* rename as asInputStream
* make methods final
* use different asInputStream implementations on different subclasses
Co-Authored-By: João Ferreira <943051+jtjeferreira@users.noreply.github.com>
* Update ByteBufferBackedInputStream.scala
scalafmt
* remove default asInputStream impl
* add some tests - more needed
* Create bytestring-inputstream.excludes
* scalafmt
* Update bytestring-inputstream.excludes
* Update ByteStringInputStreamSpec.scala
* Update ByteStringInputStreamSpec.scala
* Update ByteStringInputStreamSpec.scala
* add benchmark
* Update ByteString_asInputStream_Benchmark.scala
* change to iterator earlier in chain
---------
Co-authored-by: João Ferreira <943051+jtjeferreira@users.noreply.github.com>
2024-02-05 16:09:56 +01:00
scala-steward-asf[bot]
e26c6f6d6c
Update sbt-pekko-build to 0.3.3
2024-02-04 04:56:02 +01:00
PJ Fanning
675255f7b4
don't hardcode exact coursier version so that we can pick up patches ( #1095 )
2024-02-02 00:25:56 +01:00
AndyChen(JingZhangChen)
a55ebc3b79
add partition operator in stream graph docs ( #1093 )
...
Signed-off-by: Andy.Chen <iRoiocam@gmail.com>
2024-02-01 16:21:49 +01:00
injae kim
7de1fb2edb
feat: Add AutoCloseable shortcut on mapWithResource ( #1053 )
...
* feat: Add AutoCloseable shortcut on mapWithResource
* Enhance test to check resource is closed after stream is completed
* Enhance comment
* Update doc
* Address comment
* Add resume, restart, stop strategy test
* Address comment
* Fix doc
* Fix typo
2024-02-01 18:47:57 +08:00
AndyChen(JingZhangChen)
7dd5d73071
get avoid snapshot interval calculate int overflow ( #1088 )
...
Signed-off-by: Andy.Chen <iRoiocam@gmail.com>
2024-02-01 02:29:27 +08:00
He-Pin(kerr)
5e00e6b8b7
chore: Remove more reflectiveCall. ( #1084 )
2024-01-30 23:51:30 +08:00
He-Pin
daf84d7870
chore: Fix ActorDocSpec on Scala 3.3
2024-01-30 17:34:11 +08:00
AndyChen
8a759bad21
feat: Using dependency walking to verify JDK9 Plugin works ( #1065 )
...
* using dependency walking to check JDK9 works
* rollback constant extract
* code format and header format
* improve code
* fix code
* add CI action
* apply for all JDK9 package module
* update ci
* Using plugin rather than code
Signed-off-by: Andy.Chen <iRoiocam@gmail.com>
---------
Signed-off-by: Andy.Chen <iRoiocam@gmail.com>
2024-01-30 14:33:30 +08:00
Luigi
abad72d869
feat: Add Sink.exists operator ( #990 )
...
* feat: +Flow.exists & Sink.exists
* chore: Update some doc and code.
* chore: Update method names in doc.
---------
Co-authored-by: He-Pin <hepin1989@gmail.com>
2024-01-30 14:31:23 +08:00
He-Pin(kerr)
cfff9c53df
chore: Add Scala 3.3 to build metrix.
2024-01-30 10:02:54 +08:00
He-Pin(kerr)
1b0ee8cd75
chore: Only verify Jdk 9 classes on jdk 11. ( #1078 )
...
* chore: Only verify Jdk 9 classes on jdk 11.
* Update verify-jdk9-classes.sh
2024-01-29 19:57:54 +08:00
Matthew de Detrich
25f80a160a
Remove scala 3 inline keyword since its erased in bytecode
2024-01-29 11:57:03 +01:00
Matthew de Detrich
e4ad151a28
Remove explicit inliner setting override
2024-01-29 09:52:42 +01:00
Matthew de Detrich
7f6c93eb58
Update sbt-pekko-build
2024-01-29 08:51:19 +01:00
He-Pin
4968f02796
chore: Compile docs code cross all scala versions.
2024-01-29 15:19:18 +08:00
He-Pin
1e64e31d25
chore: Fix up ForAll comping in nightly build.
2024-01-29 14:29:58 +08:00
He-Pin
ebb9489bb8
feat: Add scala-cli script generator to verify jdk classes
2024-01-29 14:03:51 +08:00
Matthew de Detrich
613ccf6d19
Update sbt-osgi to 0.10.0
2024-01-29 03:35:44 +01:00
Matthew de Detrich
24ce39c010
Add targetName overloaded methods for Scala 3 inline methods
2024-01-29 00:21:36 +01:00
Matthias Kurz
7bf26c8d44
Upgrade sbt-pull-request-validator ( #1067 )
2024-01-28 17:09:24 +01:00
Laglangyue
f6da401abf
feat: Add Sink#forall operator ( #989 )
...
Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-28 17:54:07 +08:00
scala-steward-asf[bot]
aa10e9b816
Update metrics-core, metrics-jvm to 4.2.25 ( #1062 )
...
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2024-01-28 10:53:10 +01:00
He-Pin(kerr)
bcec7c0fa0
feat: Add multi java lts support. ( #1054 )
...
* feat: Add multi java lts support.
* Simplify the code
---------
Co-authored-by: JingZhang Chen <iRoiocam@gmail.com>
2024-01-28 17:46:03 +08:00
PJ Fanning
d55350e138
Update .scala-steward.conf ( #1058 )
2024-01-27 22:24:18 +01:00
PJ Fanning
a2a42eab33
fix bug in docs that uses akka names for configs ( #1057 )
2024-01-28 00:45:47 +08:00
He-Pin(kerr)
db4f57396d
chore: Make use of pattern matching on singleton type instead. ( #1026 )
...
More info: @som-snytt point out in https://scala-lang.org/files/archive/spec/2.13/08-pattern-matching.html#type-patterns see singleton.
2024-01-27 23:33:06 +08:00
He-Pin(kerr)
a2b5b5df22
chore: Run JDK9Test compiling to validate syntax. ( #1050 )
...
* chore: Check java9+ classes in paradox.
* Update .github/workflows/generate-doc-check.yml
Co-authored-by: AndyChen <chinatc@outlook.com>
---------
Co-authored-by: AndyChen <chinatc@outlook.com>
2024-01-27 22:14:35 +08:00
He-Pin(kerr)
4c20580ff2
chore: Add Flow#flattenMerge operator. ( #1045 )
2024-01-27 18:03:23 +08:00
He-Pin(kerr)
8e7ae52a06
perf: Make use of System.arraycopy directly. ( #1001 )
2024-01-26 19:54:46 +08:00
JingZhang Chen
2d10586ba1
fix compile on jdk8
2024-01-26 10:55:47 +01:00
JingZhang Chen
6daefa0a72
improve describe
2024-01-26 10:55:47 +01:00
JingZhang Chen
aeb6c0da40
Fix JDK9 plugin when using OSGi
2024-01-26 10:55:47 +01:00
He-Pin(kerr)
325b463ee1
perf: Add dedicated collectFirst implementation. ( #1041 )
2024-01-26 14:47:04 +08:00
He-Pin(kerr)
5793433fd3
chore: Add @since 1.1.0 for flatten operator. ( #1046 )
2024-01-26 10:08:47 +08:00
Matthew de Detrich
e597a702b9
Use Test configuration constant
2024-01-24 13:33:19 +01:00
Matthew de Detrich
639d5ad8ee
Update sbt-pekko-build to 0.3.1
2024-01-24 13:33:02 +01:00
He-Pin
4d8aa26404
chore: Add PekkoManagedBlocker to reduce memory.
2024-01-23 22:20:54 +08:00
He-Pin(kerr)
ae210b17d2
chore: Update java-formatter ignore lists ( #1030 )
...
* chore: Update java-formatter ignore lists
* chore: Reformat JavaFutureTests.java
2024-01-23 22:20:01 +08:00
AndyChen
27b86bef11
chore: clarify the JMH Readme ( #1025 )
...
* chore: clarify the JMH Readme
* chore: typo fix
* follow the real-world execution
* add jmh links
* change the command prefix
* migrate to new syntax
2024-01-23 21:00:54 +08:00
He-Pin
0c01ab4242
chore: Remove unused attributes in Stages.
2024-01-23 20:43:20 +08:00
HapppyLiu
dc1fc69255
Add JDK21 info to doc #1017 ( #1028 )
2024-01-23 13:02:53 +01:00
AndyChen
108f5d123a
chore: Temporarily disable the license report generation to speed up build ( #704 )
...
* fix: using project/index generator
* fix: broken link
* chore: reformat code
* simplify generator and build fixes
* additional documentation clarify
* code format chore
* chore: reducing cr cost
* chore: remove unnecessary
* reset link configuration
* keep index doc
* disable license report by default
* reduce license because disable by default
* Change the description of build paradox
* chore: code fmt
2024-01-23 19:33:33 +08:00
He-Pin(kerr)
6df4b88df4
chore: Move java 21 code to a dedicated folder and including code sni… ( #1023 )
...
* chore: Move java 21 code to a dedicated folder and including code snippe with tab.
* chore: Update OptimizedActorWithJava21.java with new line.
2024-01-23 14:37:32 +08:00
Matthew de Detrich
80a177b1f0
Update sbt-osgi to solve windows bug
2024-01-23 06:27:04 +01:00
AndyChen
7ffcf5b76d
chore: mention the faster code fmt approach ( #1022 )
...
* chore: mention the faster code fmt approach
* chore: Add Coursier cli for formatting
* chore: Remove the scalafmt version.
* chore: Add notes about install scalafmt with cs.
* chore: mention binaries built
---------
Co-authored-by: He-Pin(kerr) <hepin1989@gmail.com>
2024-01-23 11:05:52 +08:00
Luca Zhang
d282d5e153
doc: metion for the Java 21's new switch statement in document
...
attach the code directly in the doc instead of putting it in `ActorDocTest.java` because we don't support java-jdk-21 now
2024-01-23 00:55:35 +08:00
He-Pin(kerr)
2431eb4083
feat: Add Flow/Sink#foldWhile operator. ( #1012 )
2024-01-22 19:14:34 +08:00
Matthew de Detrich
f99a9ea156
Only use dependabot for alerts
2024-01-22 11:38:21 +01:00
He-Pin(kerr)
371a059220
chore: Fix typo in fold.md. ( #1018 )
2024-01-22 14:16:46 +08:00