Commit graph

27058 commits

Author SHA1 Message Date
scala-steward-asf[bot]
279ec93ce0
Update bcpkix-jdk15on to 1.70 (#729)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:18:02 +01:00
scala-steward-asf[bot]
a8d8ece4cc
Update commons-compress to 1.24.0 (#728)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:15:19 +01:00
scala-steward-asf[bot]
6d25bb063d
Update jctools-core to 4.0.1 (#730)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:14:31 +01:00
scala-steward-asf[bot]
567c4b64ae
Update sbt-jmh to 0.4.6 (#734)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:13:50 +01:00
scala-steward-asf[bot]
e72dfa58a7
Update lmdbjava to 0.8.3 (#731)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:12:51 +01:00
scala-steward-asf[bot]
77ff42d99b
Update logback-classic to 1.2.12 (#710)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:11:24 +01:00
scala-steward-asf[bot]
3d47f0565d
Update gson to 2.10.1 (#717)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:10:11 +01:00
scala-steward-asf[bot]
fa0a509119
Update sbt-license-report to 1.6.1 (#716)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:08:56 +01:00
scala-steward-asf[bot]
3101167ffe
Update sbt-dynver to 5.0.1 (#711)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:06:30 +01:00
scala-steward-asf[bot]
0b3dc44f8b
Update sbt-scalafix to 0.11.1 (#709)
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
2023-10-15 02:04:08 +01:00
Matthew de Detrich
ac1ee69f83 Improve .scala-steward.conf 2023-10-13 15:53:05 +02:00
Matthew de Detrich
185a5a3711 Add scala steward 2023-10-13 13:32:31 +02:00
PJ Fanning
80d13b33e1
use temurin jdk in nightly-builds-latest-jdks.yml (#692) 2023-10-11 12:23:11 +01:00
Eric Loots
0a09ccc71e
Add section on using scala3 union types (#695)
* Add section on using scala3 union types

* Code formatting

* Integrate PR feedback

- Point out that Union types are Scala 3 specific
2023-10-11 19:19:27 +08:00
AndyChen
2ce80b17f7
Update Netty to 4.1.100.final (#689) 2023-10-11 17:50:27 +08:00
AndyChen
dacfd3f4a1
fix: keep stashBuffer when exception throw again #669 (#670) 2023-10-11 15:57:38 +08:00
He-Pin
1b1f57224b =str Tweak the stream mapAsyncPartitioned operator 2023-10-10 02:34:54 +08:00
Matthew de Detrich
34815bc196 Replace Akka reference with Pekko 2023-10-09 17:53:29 +02:00
PJ Fanning
c6dc8210d7
Remove note about Lagom (#698)
* Remove note about Lagom

* Update PersistenceId.scala
2023-10-07 10:45:58 +01:00
PJ Fanning
e5d03e02c7
Update KEYS (#697) 2023-10-05 16:29:12 +01:00
Philippus Baalman
094356362a
Remove superfluous comma (#694) 2023-10-02 21:10:52 +01:00
AndyChen
225701d4d6
fix: confusion deadletter while ask timeout #668 (#664)
* fix: keep typed ask deadletter same as classic

* fix: compile on scala3

* fix: a more convincing test

* chore: remove unnecessary header

* chore: use raw apache license

* chore: grammar and sort imports

* chore: grammar fix

* chore: copyright

* fix: immutable object domain

* fix: make it simple
2023-09-30 18:11:48 +01:00
PJ Fanning
6f52c85d0b
fix scala 2.12 build (#690) 2023-09-28 16:52:32 +01:00
PJ Fanning
d15f18f802
sbt-assembly 2.1.3 (#686) 2023-09-28 12:43:05 +01:00
He-Pin
cdfcc56e2f =str Make decider a lazy val. 2023-09-27 14:32:15 +08:00
PJ Fanning
ac14251912
fix scala 3 compile issue (#684) 2023-09-26 14:10:06 +01:00
Naoki Yamada
201992d984 Fix invalid scaladoc links which cannot be found (#353)
* Add enough package name
* Fix invalid syntax of links to a method
2023-09-26 19:26:45 +08:00
PJ Fanning
15f02d696f
Update LineNumberSpec.scala (#683)
update test

Update LineNumberSpec.scala
2023-09-25 20:10:27 +01:00
Eric Loots
966b775296
Add a first test applying Scala 3 Union types (#667)
- Use InteractionPatternsSpec as an example for applying Scala 3's
  Union types to symplify actor code
  - Remove response message wrapper & adapter
  - Use the union of the actor's public protocol (the `Translate`
    message (the only member of the `Command` ADT) and the possible
    responses from the backend (messages `JobStarted`, `JobProgress`,
    and `JobCompleted`): `private type CommandAndResponse = Command | Backend.Response`
  - Instead of utilising the message adaptor `ActorRef` in the `replyTo`
    field of the message sent to the backend, `context.self` is used
    instead
  - The internal (extended) `Behavior[CommandAndResponse]` is narrowed
    to `Behavior[Command]` at creation time

The diffs between the original and the new version:

```bash
136d139
<         private final case class WrappedBackendResponse(response: Backend.Response) extends Command
137a141,142
>         private type CommandAndResponse = Command | Backend.Response
>
139,141c144
<           Behaviors.setup[Command] { context =>
<             val backendResponseMapper: ActorRef[Backend.Response] =
<               context.messageAdapter(rsp => WrappedBackendResponse(rsp))
---
>           Behaviors.setup[CommandAndResponse] { context =>
143,144c146,147
<             def active(inProgress: Map[Int, ActorRef[URI]], count: Int): Behavior[Command] = {
<               Behaviors.receiveMessage[Command] {
---
>             def active(inProgress: Map[Int, ActorRef[URI]], count: Int): Behavior[CommandAndResponse] = {
>               Behaviors.receiveMessage[CommandAndResponse] {
147c150
<                   backend ! Backend.StartTranslationJob(taskId, site, backendResponseMapper)
---
>                   backend ! Backend.StartTranslationJob(taskId, site, context.self)
150,162c153,162
<                 case wrapped: WrappedBackendResponse =>
<                   wrapped.response match {
<                     case Backend.JobStarted(taskId) =>
<                       context.log.info("Started {}", taskId)
<                       Behaviors.same
<                     case Backend.JobProgress(taskId, progress) =>
<                       context.log.info2("Progress {}: {}", taskId, progress)
<                       Behaviors.same
<                     case Backend.JobCompleted(taskId, result) =>
<                       context.log.info2("Completed {}: {}", taskId, result)
<                       inProgress(taskId) ! result
<                       active(inProgress - taskId, count)
<                   }
---
>                 case Backend.JobStarted(taskId) =>
>                   context.log.info("Started {}", taskId)
>                   Behaviors.same
>                 case Backend.JobProgress(taskId, progress) =>
>                   context.log.info2("Progress {}: {}", taskId, progress)
>                   Behaviors.same
>                 case Backend.JobCompleted(taskId, result) =>
>                   context.log.info2("Completed {}: {}", taskId, result)
>                   inProgress(taskId) ! result
>                   active(inProgress - taskId, count)
167c167
<           }
---
>           }.narrow
```
2023-09-25 10:35:09 +01:00
He-Pin
bc9bd679a7 =act Make parameter rename safe. 2023-09-25 16:17:25 +08:00
kerr
77a55ae4d2 =sbt Update Netty to 4.1.98.final 2023-09-25 15:43:10 +08:00
He-Pin
3ae618450f Make use of SAM instead. 2023-09-24 23:09:06 +08:00
AndyChen
07c5935ddb
chore: javadoc link and typo fixes 2023-09-24 15:00:30 +02:00
Naoki Yamada
b7a5f673a9
add external javadoc links (#353) (#674)
Co-authored-by: Naoki Yamada <yamada.naoki@tis.co.jp>
2023-09-23 19:08:15 +01:00
He-Pin
57401818bc =remote Make use of FlushConsolidationHandler to improve throughput. 2023-09-22 02:23:01 +08:00
PJ Fanning
7bee80e058
mapAsyncPartitioned / mapAsyncPartitionedUnordered (#561)
* Create MapAsyncPartition.scala

add license

add test

Update LICENSE

try to fix test

* Update MapAsyncPartitionSpec.scala

wip

Update MapAsyncPartition.scala

wip

* changes to get code to compile with scala 2.12

* more tests

scalafmt

* Update MapAsyncPartition.scala

* make code more closely match the Akka API

java

Update Flow.scala

more java api

* Add ordered version of the operator

* Fix formatting

* update docs

* test null function result

* java api

* add back code to get scala 2.12 compile working again

* Unify mapAsyncPartitioned implementations

* remove special license

Update CopyrightHeader.scala

* java tests

javafmt

* update docs

update tests

update javadoc

---------

Co-authored-by: Jacek Sokol <jacek@scalabs.pl>
2023-09-21 18:35:39 +01:00
He-Pin
e94e7b971b =test Skip ForkJoinPoolStarvationSpec on JDK 21. 2023-09-20 23:57:26 +08:00
He-Pin
2b0f149eb7 =build Use zulu in nightly build to test jdk21. 2023-09-20 18:09:50 +08:00
He-Pin
94ade5d2ea +build Add Jdk 21 to nightly build. 2023-09-20 17:23:06 +08:00
He-Pin
9288d4c6f1 =remote Drop the blocking usage. 2023-09-19 00:00:54 +08:00
He-Pin
62bf7cbc7d =remote Make ues of Netty's default resolver. 2023-09-18 23:08:08 +08:00
He-Pin
efaa82c966 =sbt update scalafmt to 3.7.14 2023-09-18 17:50:40 +08:00
Norbert Tusiński
45488f537b Removing unused import 2023-09-17 14:57:50 +08:00
He-Pin
ee8b99294a =test Fix ssl relative tests on Windows. 2023-09-16 04:10:10 +08:00
kerr
46edc51a82
Migrate the classic transport to Netty 4 without CVEs (#643)
* !remoting Update classic transport from Netty 3 to netty4

* use lambda

* =sbt Update Netty4 version to 4.1.97.final

* Reduce allocation in ChannelLocalActor.

* Remove the duplicated code in NettyHelpers.
2023-09-16 02:24:28 +08:00
Matthew de Detrich
d0b9c43bb5 Update to SBT 1.9.6 and use Apache Staging repo constant 2023-09-15 19:50:46 +02:00
He-Pin
e784cd7c99 =test Add BeenCalledTimesGate in tests to make sure some method should only be called specified times. 2023-09-11 10:23:24 +08:00
He-Pin
b37b5cde89 =test Fix keystore loading on Windows in RemotingSpec. 2023-09-09 22:56:11 +08:00
He-Pin
d0099a1b5c =remote Clean up unused field. 2023-09-09 19:12:21 +08:00
PJ Fanning
e9ab2cc486 agrona 1.19.2 2023-09-09 13:43:50 +08:00