Commit graph

73 commits

Author SHA1 Message Date
He-Pin(kerr)
8e7ae52a06
perf: Make use of System.arraycopy directly. (#1001) 2024-01-26 19:54:46 +08:00
He-Pin
4d8aa26404 chore: Add PekkoManagedBlocker to reduce memory. 2024-01-23 22:20:54 +08:00
AndyChen
7b2a3d8c27
fix: reject zero and negative periodic tasks schedule (#887)
* fix: reject zero and negative periodic tasks schedule

* fix: undo the symbol change

* use different test name, redescribe the exception

* abstract check function

* remove the printlns change

* reduce time units scale convert
2024-01-18 12:47:13 +01:00
PJ Fanning
7c82c2a1c4
fix up javadoc on Creator trait (#961) 2024-01-16 00:56:25 +08:00
He-Pin(kerr)
87609395a6
chore: Deprecate JAPI. (#949) 2024-01-15 19:34:25 +08:00
He-Pin(kerr)
df302b8ee6
feat: Add create method to PFBuilder. (#947) 2024-01-15 17:37:14 +08:00
PJ Fanning
8c688dad2e
use more of StandardCharsets (#952)
* use more of StandardCharsets

* scalafmt
2024-01-14 23:50:50 +01:00
Laglangyue
6872f9c8b7
Fix some non-standard comments (#939)
* Fix some non-standard comments

* revert

---------

Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-14 12:47:51 +01:00
PJ Fanning
d5381958c8
fix ByteStringBuilder.addAll (#903)
* fix ByteStringBuilder.addAll

* sort out tests for different scala versions

* rework tests

* rework unmanaged source dirs
2024-01-04 12:21:13 +01:00
Matthew de Detrich
ca64e66bc7 Fix Windows path issue with option-converters.excludes 2024-01-04 04:57:35 +01:00
Matthew de Detrich
f8c4aee8be Remove Scala 3 inline keyword from Java specific conversion methods 2024-01-01 01:55:16 +01:00
Matthew de Detrich
0f1db5301e Fix remaining missing inline statements/annotations 2023-12-30 07:13:27 +01:00
Matthew de Detrich
8cb7d256dc Remove @inline annotations and enable Scala 2 inliner 2023-12-30 03:41:12 +01:00
PJ Fanning
f6af100531
rework noisy dns log (#835) 2023-12-08 10:24:35 +01:00
PJ Fanning
860d0166a2
do not render env variables in configs (#771)
* do not render env variables in configs

* redact username when logging configs

* Update ActorSystemSpec.scala

* add test

scalafmt

* try/finally
2023-11-13 21:30:02 +01:00
PJ Fanning
99b4df31d4
mark function tail recursive (#780) 2023-11-07 00:15:11 +01:00
Matthew de Detrich
34815bc196 Replace Akka reference with Pekko 2023-10-09 17:53:29 +02: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
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
He-Pin
3ae618450f Make use of SAM instead. 2023-09-24 23:09:06 +08:00
He-Pin
cbdc8d866c =act Extract AtomicCancellable in Scheduler.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-08-29 15:06:31 +08:00
Dongxu Wang
d610a080c5
improve scaladoc for DoNotInherit (#565) 2023-08-15 17:21:53 +01:00
PJ Fanning
4f570ea24c
Yet more Akka version numbers in deprecation warnings (#545)
* Yet more Akka version numbers in deprecation warnings

more

* more akka version numbers

Update ClusterMessageSerializer.scala

more changes
2023-08-07 00:47:04 +01:00
PJ Fanning
3c0672bac2
remove @since annotations with old Akka version numbers (#536) 2023-08-04 11:18:24 +01:00
PJ Fanning
964dcf53eb
remove shaded protobuf-java v2 jar (pekko-protobuf) (#489)
* remove protobuf v2 support

* Update OSGi.scala

* ci issue

* remove refs to pekko-protobuf classes

* fix comment

* update comments

* Update Serialization.scala
2023-08-01 11:35:58 +01:00
Matthew de Detrich
bd9ff4da5b Fix new sources so that they use the Apache standard header 2023-07-12 16:04:47 +02:00
He-Pin
4ce1095b4b =act Add @nowarn for unsafe deprecated usage.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-06-26 19:39:35 +08:00
PJ Fanning
2f8ef56626
add license information for Caffeine code used in FrequencySketch (#446)
* add license information for Caffeine code used in FrequencySketch

* fix grammar issue
2023-06-23 09:36:08 +01:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
PJ Fanning
10a1b9bbdd
acknowledge use of hash-prospector code (#438) 2023-06-21 12:20:02 +01:00
PJ Fanning
0a3a2431bd
better acknowledge code derived from scala-library (#436) 2023-06-21 12:18:49 +01:00
PJ Fanning
1a50e76fc3 change epfl license 2023-06-20 13:30:51 +02:00
PJ Fanning
08cf7cbdac add scala epfl license header 2023-06-20 13:30:51 +02:00
PJ Fanning
02af790f58 Delete PrettyByteString.scala 2023-06-20 13:07:14 +02:00
PJ Fanning
06467e87d3
add netty license header to file with significant netty input (#421) 2023-06-19 17:49:39 +01:00
PJ Fanning
01379c4171
Scala3 doc build does not like java @Deprecated mixed with Scala @deprecated (#406)
* Scala3 doc build does not like java `@Deprecated` mixed with Scala `@deprecated`

* Update ActorSource.scala
2023-06-16 15:27:11 +01:00
Matthew de Detrich
f6930d93da Add enchanced-double-hash-random for id-generator-policy
Co-authored-by: Claude Warren <claude.warren@aiven.io>
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2023-06-16 12:48:37 +02:00
PJ Fanning
1281083b32
fix sign in code to generate a random signed short (#402)
* fix sign in code to generate a random signed short

* Update IdGenerator.scala

* Update IdGenerator.scala
2023-06-16 09:55:09 +01:00
PJ Fanning
ead8c7e889
support negative short ids in async DNS resolver code (#401) 2023-06-15 20:32:35 +01:00
PJ Fanning
6bdce7f95b
remove sequence id generator (#399) 2023-06-15 11:33:16 +01:00
Matthew de Detrich
03c567f85b Add final to methods to prepare for future inline 2023-06-14 23:52:53 +02:00
Iain Hull
c56edca78f
CVE-2023-31442 Address DNS poisoning vulnerability (#385)
* CVE-2023-31442 Address DNS poisoning vulnerability (and DNS concurrency bug)

* Remove sequential dns id generator

* fix scalafmt

* Fix bug in isSameQuestion
And ensure that DnsClient only removes inflight messages when the
questions match

* fix up exception message to remove reference to 'sequence' generator

* Add tests to failed commands and drop requests

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2023-06-14 19:38:20 +01:00
Matthew de Detrich
d1a94323f5 Make 2.12 ccompat extension classes final 2023-06-09 18:30:38 +02:00
Matthew de Detrich
17a986792c Add Iterable.once to ccompat 2023-06-09 16:59:03 +02:00
PJ Fanning
1612950702
fix up refs to Akka in source code (#374)
* fix up refs to Akka in source code

* Update distributed-data.md
2023-06-07 14:51:57 +01:00
Matthew de Detrich
037da28382 Add inline final to FutureConverters 2023-05-28 18:50:21 +02:00
Matthew de Detrich
480f516398
Unwrap single string interpolation syntax 2023-05-24 16:28:02 +02:00
Matthew de Detrich
898c69701b Add OptionConverters.toScala methods for java Optional primitives 2023-05-09 14:34:50 +02:00
Matthew de Detrich
0df71060ea Add OptionConverters.toJava and OptionConverters.toScala 2023-05-09 07:20:18 +02:00
Matthew de Detrich
ccd728f098 Missed inline in toJavaPrimitive 2023-05-08 22:42:02 +02:00