Commit Graph

361 Commits

Author SHA1 Message Date
Johannes Frohnmeyer 8992e42393
fix(serialize-xml): prevent overzealous null 2024-04-20 16:42:39 +02:00
Johannes Frohnmeyer 45eee07a29
fix(serialize-xml): interpret empty value wrapper as null 2024-04-20 16:39:50 +02:00
Johannes Frohnmeyer ae854cc040
fix(serialize-json): allow singular name at document root 2024-04-20 16:39:18 +02:00
Johannes Frohnmeyer 2a9a6300ef
feat(serialize-xml): port formatting tests 2024-04-20 15:55:02 +02:00
Johannes Frohnmeyer 5e89193244
feat(serialize-xml): port tests
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-04-20 15:49:30 +02:00
Johannes Frohnmeyer 846bb1a982
fix(serialize-xml): compact serialization when easily possible 2024-04-20 15:20:26 +02:00
Johannes Frohnmeyer 0f8a549495
fix(serialize-json): port comment post processing from xml to remove empty comments 2024-04-20 15:19:49 +02:00
Johannes Frohnmeyer 30f18ecef9
feat(serialize-xml): initial work on NativeXmlWriter 2024-04-20 14:35:41 +02:00
Johannes Frohnmeyer 7bcde68b9f
fix(serialize-json): prevent json injection via malicious comments 2024-04-20 14:30:39 +02:00
Johannes Frohnmeyer 615ff12c27
fix(serialize-xml): name encoding system for wrapper to support names unusable in XML 2024-04-20 12:33:24 +02:00
Johannes Frohnmeyer b8d9b52ab5
fix(serialize-xml): custom path generation 2024-04-20 12:32:24 +02:00
Johannes Frohnmeyer de55636d20
fix(serialize-xml): Fix incorrect module name
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-18 22:14:18 +02:00
Johannes Frohnmeyer 14a5ccf3c2
fix(serialize-generator): Move example into tests to not pollute modules
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-18 22:04:25 +02:00
Johannes Frohnmeyer 04246a5235
Merge remote-tracking branch 'refs/remotes/origin/master' into breaking
ci/woodpecker/push/woodpecker Pipeline was successful Details
# Conflicts:
#	muscript/src/main/java/io/gitlab/jfronny/muscript/ast/dynamic/ExprGroup.java
#	muscript/src/main/java/io/gitlab/jfronny/muscript/ast/dynamic/ListOf.java
#	muscript/src/main/java/io/gitlab/jfronny/muscript/ast/math/Minus.java
2024-04-18 21:44:47 +02:00
Johannes Frohnmeyer b0d2250d8a
fix(serialize-generator): Patch leftovers
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-18 21:42:57 +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 54f16611cc
fix(serialize-generator): A large number of fixes for incorrectly carried over gson stuff 2024-04-18 20:54:36 +02:00
Johannes Frohnmeyer 988aefe96d
feat(serialize): Initial work on porting gson-compile 2024-04-17 12:56:06 +02:00
Johannes Frohnmeyer 5558a69a64
chore(serialize-xml): Introduce initial tests
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-17 11:07:09 +02:00
Johannes Frohnmeyer 958a1316af
fix(serialize-xml): Actually report next value (not name) for array elements in XmlReader 2024-04-17 11:06:51 +02:00
Johannes Frohnmeyer bf5506d1d0
fix(serialize-xml): Prevent unexpected dots in NativeXmlReader.getPath 2024-04-17 11:06:12 +02:00
Johannes Frohnmeyer a1b0df3caa
fix(serialize-xml): Correct message for mismatched closing tag 2024-04-17 11:05:43 +02:00
Johannes Frohnmeyer fb1c0fd3cb
chore(serialize-xml): Add one more test for NativeXmlReader 2024-04-17 11:05:03 +02:00
Johannes Frohnmeyer 63d7caca7e
feat(serialize-xml): Rewrite wrapping XmlReader 2024-04-17 10:44:56 +02:00
Johannes Frohnmeyer 6bd1bca351
style(serialize-xml): Add skipValue to NativeXmlReader 2024-04-17 10:44:40 +02:00
Johannes Frohnmeyer ef874ede77
style(serialize-json): Make use of switch expressions 2024-04-17 10:44:09 +02:00
Johannes Frohnmeyer 5c1db8c339
fix(logging): Fix reading attribute values 2024-04-15 10:22:33 +02:00
Johannes Frohnmeyer 8e696f8a2c
feat(muscript): add jar with all modules for use in jfmods
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-14 10:54:31 +02:00
Johannes Frohnmeyer 2bcaf3336e
fix(serialize-json): align handling of names in arrays with serialize-xml
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-14 10:12:23 +02:00
Johannes Frohnmeyer 4a1944f792
feat(serialize): initial prototype for XML SerializeReader
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 21:48:19 +02:00
Johannes Frohnmeyer 840f154110
fix(serialize): correct oversight in peek 2024-04-13 21:47:35 +02:00
Johannes Frohnmeyer 7335bb63c8
fix(serialize): support different exception types in copyTo
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 20:47:34 +02:00
Johannes Frohnmeyer f03763f86d
feat(serialize): add convenience method for copying an element from a reader to a writer 2024-04-13 20:47:04 +02:00
Johannes Frohnmeyer b7ef2741b3
feat(serialize-xml): scaffold wrapper 2024-04-13 20:41:13 +02:00
Johannes Frohnmeyer 006424fb00
fix(serialize-xml): correct hasNext for concise tags
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 20:35:26 +02:00
Johannes Frohnmeyer 0507254c30
fix(serialize-xml): first passing test run 2024-04-13 20:32:54 +02:00
Johannes Frohnmeyer dbf5d51343
fix(serialize-xml): fetch correct name from pathNames in endTag 2024-04-13 20:09:10 +02:00
Johannes Frohnmeyer b004c00fcf
fix(serialize-xml): more buffer fixes 2024-04-13 20:06:41 +02:00
Johannes Frohnmeyer 866b429155
feat(serialize-xml): make whitespace handling and leniency configurable 2024-04-13 20:06:02 +02:00
Johannes Frohnmeyer 264f847cdf
fix(serialize-xml): look at the right places in the buffer 2024-04-13 19:32:27 +02:00
Johannes Frohnmeyer eb3db63fd5
feat(serialize-xml): initial prototyping for xml reader 2024-04-13 19:23:31 +02:00
Johannes Frohnmeyer dc04b7c929
chore: update README with new modules
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 14:37:29 +02:00
Johannes Frohnmeyer 42a9c78709
feat(serialize-dsl): port serialize-gson-dsl to commons-serialization
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 14:21:28 +02:00
Johannes Frohnmeyer 1580c3f98d
feat(serialize): rework Transport api for writing 2024-04-13 14:21:07 +02:00
Johannes Frohnmeyer 833494346e
fix(serialize-json): make JsonWriter.omitQuotes configurable
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-13 13:58:40 +02:00
Johannes Frohnmeyer 4f3f1caf2d
fix(serialize-databind): prevent returning superclass from hierarchical adapter 2024-04-13 13:56:38 +02:00
Johannes Frohnmeyer aca5f104ec
feat(muscript-json): no longer depend on databind 2024-04-13 13:49:00 +02:00
Johannes Frohnmeyer 9fa795f18e
feat(serialize-databind): split into databind and databind-api 2024-04-13 13:48:34 +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