Commit Graph

25 Commits

Author SHA1 Message Date
Johannes Frohnmeyer ae263e15ea
fix(commons): synchronize in ScopedValue.Carrier since child threads may access values from parent threads
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-05-05 13:00:58 +02:00
Johannes Frohnmeyer 4b0d67b702
fix(commons): use Opt.over in Result.of and do not mention exception as @throws in TokenIterator
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-05-04 23:04:52 +02:00
Johannes Frohnmeyer ea4dbd616a
docs(commons): link Stream
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 22:54:18 +02:00
Johannes Frohnmeyer 5801716336
feat(commons): add StreamUtil for common stream utilities
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 22:53:03 +02:00
Johannes Frohnmeyer 704e1987c4
feat(commons): add switchsupport package for using switch instead of try/catch or Optional.* 2024-05-04 22:52:39 +02:00
Johannes Frohnmeyer f66a7b5656
feat(commons): extend tuple API 2024-05-04 22:41:06 +02:00
Johannes Frohnmeyer bfc72b4428
docs(commons): Clean up Coerce.pinF
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 22:06:44 +02:00
Johannes Frohnmeyer e1d6f578a8
style(commons): Clean up Throwable*.of
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 22:01:56 +02:00
Johannes Frohnmeyer 0e15fe3abd
feat(commons): Add Throwable*.of to create instances from common types 2024-05-04 21:58:57 +02:00
Johannes Frohnmeyer c50bdc95bd
feat(commons): Extend Assume API to all Throwing* functional interfaces and merge it into them. Use Coerce to obtain one if needed. 2024-05-04 21:54:13 +02:00
Johannes Frohnmeyer bb38fe5868
docs(commons): annotate methods in Unchecked and Assume
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 20:58:07 +02:00
Johannes Frohnmeyer 754f418ceb
fix(serialize): throw checked exceptions in SerializeReader iterator. Probably better than just trusting every TypeAdapter to catch wrapping exceptions.
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-05-04 20:55:15 +02:00
Johannes Frohnmeyer b669803fa1
fix(serialize-generator): Patch related components to use Exception instead of Throwable 2024-04-18 21:04:58 +02:00
Johannes Frohnmeyer 988aefe96d
feat(serialize): Initial work on porting gson-compile 2024-04-17 12:56:06 +02:00
Johannes Frohnmeyer 98fae535e7
feat(commons): utility interface for attaching instances of an object to contexts 2024-04-13 13:23:04 +02:00
Johannes Frohnmeyer 19cf847382
feat(commons): more tools to meth with checked exceptions 2024-04-13 13:22:38 +02:00
Johannes Frohnmeyer 7f7eb954f8
feat(serialize): implement data binding 2024-04-12 20:04:15 +02:00
Johannes Frohnmeyer e9dffa3a33
feat(serialize): implement data binding 2024-04-12 19:35:00 +02:00
Johannes Frohnmeyer df78e10c6a
feat(commons-serialize): port over gson streams as backend for new SerializeReader/SerializeWriter API in commons-serialize 2024-04-12 15:32:54 +02:00
Johannes Frohnmeyer 067f3b9de9
feat(commons): wrap IO exception in UncheckedIOException instead of generic RuntimeException 2024-04-03 17:20:19 +02:00
Johannes Frohnmeyer 3d3c657497
feat(commons): Implement fake ScopedValue for use until the real thing arrives
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-03-09 13:38:28 +01:00
Johannes Frohnmeyer a67d1dbbd6
feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs
ci/woodpecker/push/woodpecker Pipeline failed Details
The only reason it needed to be separate was logging during ultra early init in Minecraft. I can figure out something else for that.
2024-03-09 12:37:38 +01:00
Johannes Frohnmeyer 7ae4cd55b6
fix(commons): fix OOB for AsyncRequest.start
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-10-21 14:50:23 +02:00
Johannes Frohnmeyer 8aebf179d4
BREAKING: modularize
ci/woodpecker/push/woodpecker Pipeline failed Details
2023-09-21 21:08:40 +02:00
Johannes Frohnmeyer df1572edbd
build: move core commons to submodule to clean up build 2023-09-21 19:08:14 +02:00