The-Lum
2c666eb968
feat: add new JSON Object method (deepMerge
)
...
Report of:
- minimal-json/PR 98
[Thanks to @pbi-qfs]
2024-05-05 20:53:27 +00:00
The-Lum
3dba008497
feat: add new JSON builtin function (%json_merge
)
2024-05-05 09:21:07 +00:00
The-Lum
dcfe17b73c
feat: add new JSON builtin function (%json_set
)
...
From this request:
- https://github.com/plantuml/plantuml/issues/328#issuecomment-2089276726
2024-05-03 17:06:30 +00:00
The-Lum
6c4eaebd8f
fix: add int
and string
management on %json_add
...
That fixes:
- https://github.com/plantuml/plantuml/issues/328#issuecomment-2071079413
Here is a fix for `int` and `string`, in order to manage:
```puml
%json_add({"age" : 30}, name, 123) '=> {"age":30,"name":123}
```
```puml
%json_add({"age" : 30}, name, Sally) '=> {"age":30,"name":"Sally"}
```
[FYI @philCryoport]
Reagrds,
Th.
2024-04-24 19:52:11 +00:00
PlantUML
81e7e76c50
Merge pull request #1742 from The-Lum/Evol
...
feat: add new JSON builtin functions (`%str2json`, `%json_add` and `%json_remove`)
2024-04-16 14:20:30 +02:00
The-Lum
24239ff0bd
feat: add new JSON builtin functions (%str2json
, %json_add
and %json_remove
)
...
From those requests:
- https://forum.plantuml.net/15436/allow-update-json-object-or-array-value
- https://forum.plantuml.net/17474/modify-json-variables-in-preprocessor
- https://forum.plantuml.net/18418/request-%25set_json_keys-function-json-writing-capabilities
- #328
- #1733
2024-04-15 05:33:02 +00:00
Benjamin Davies
494c0c981e
Add support for more common commands in Chen EER diagrams
...
Fixes #1729
2024-04-15 12:43:17 +12:00
Arnaud Roques
91e87b9691
refactor: remove dead code
2024-04-14 11:29:32 +02:00
Arnaud Roques
171a35971b
refactor: enhance external process handling using ProcessBuilder
2024-04-14 10:50:33 +02:00
Dietrich Travkin
46ac4a391f
Fix #1735 - Only hide the stereotype text block if it does not contain visible stereotypes
2024-04-11 17:21:35 +02:00
The-Lum
6802c2b578
fix: rename %splitstrregex
builtin function to %splitstr_regex
...
According to:
- https://forum.plantuml.net/18827/%25splitstr-please-add-regex-support-as-second-argument?show=18838#c18838
2024-04-10 13:25:15 +00:00
The-Lum
52fdd3bbe4
feat: Improve Chen diagram
management
...
According to `Chen` diagram and new PlantUML Keywords from:
- #1718
Add `Chen` diagram on:
- Syntax _(improve Language Descriptor (to follow plantuml/backlog#4 ))_
- Sub-diagram
- Readme
_(Similar to #1669 )_
_[FYI @Benjamin-Davies]_
2024-04-10 13:15:06 +00:00
The-Lum
f3ee15f97b
feat: add %splitstrregex
builtin function
...
From this request:
- https://forum.plantuml.net/18827/%25splitstr-please-add-regex-support-as-second-argument
Ack. & Ref.:
- https://forum.plantuml.net/15374/delimited-string-split-into-an-array
- https://forum.plantuml.net/18827/%25splitstr-please-add-regex-support-as-second-argument
- https://www.javacodeexamples.com/java-stringtokenizer-using-regex-pattern/3570
2024-04-09 14:04:18 +00:00
Arnaud Roques
9432e0b1e5
chore: version 1.2024.4
2024-04-06 16:39:52 +02:00
Arnaud Roques
460d53f12b
refactor: Replace computeIfAbsent with manual check for Java 1.7 compatibility
2024-04-06 13:28:57 +02:00
PlantUML
06d06e729b
Merge pull request #1724 from travkin79/patch/fix-NPE
...
Avoid NPE when a remote input stream cannot be read (while reading a remote style file)
2024-04-06 13:22:10 +02:00
PlantUML
8bc1c27c23
Merge pull request #1701 from DaumAlexande/create_script_xmi
...
Add a tool-independent XMI format
2024-04-06 13:12:26 +02:00
Arnaud Roques
04eada12ab
refactor: Replaced stream usage with loops for Java 1.7 compatibility (!)
2024-04-06 13:02:19 +02:00
Dietrich Travkin
33e5903e80
Avoid NPE when a remote input stream cannot be read
...
Avoids the following stacktrace:
java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:168)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:88)
at net.sourceforge.plantuml.utils.BlocLines.load(BlocLines.java:79)
at net.sourceforge.plantuml.style.CommandStyleImport.executeArg(CommandStyleImport.java:89)
2024-04-04 17:52:10 +02:00
Benjamin Davies
e14c8ef0a5
Re-add chronology diagram
...
This was accidentally removed in a merge
2024-03-21 19:34:33 +13:00
Benjamin Davies
234cb3adea
Add tests for each new command
2024-03-21 17:55:42 +13:00
Benjamin Davies
cbe84c240a
Fix attribute labels
2024-03-20 16:54:40 +13:00
Benjamin Davies
83255431f7
Document purpose of shared methods
2024-03-20 16:08:43 +13:00
Benjamin Davies
90a88ce4ee
Support long name and alias in Chen-EER
2024-03-16 18:42:55 +13:00
Benjamin Davies
8312e8c22f
Correctly detect cheneer diagrams
2024-03-16 17:38:41 +13:00
Benjamin Davies
60de4baff9
Merge branch 'master' into cheneer
2024-03-16 16:59:49 +13:00
The-Lum
f82f1a9a76
fix: math two-dimensional matrices and add test
...
Report of https://github.com/The-Lum/ASCIIMathTeXImg/commit/6f3bb01d
That fixes #1706
Regards,
Th.
2024-03-10 17:09:12 +00:00
BOUDJENIBA Oussama
d85f96256e
Prevent IndexOutOfBoundsException in equation rendering by checking non-empty 'texsymbol' strings
...
This commit introduces a check before accessing the first character of 'texsymbol' strings in equation rendering, preventing IndexOutOfBoundsException when custom functions names are used which can lead to an empty string. This change ensures that equations custom variables names ending with standard function strings are handled gracefully without errors
2024-03-04 09:58:29 +01:00
Daum Alexander (DCL ATV SC D RAD CSFW FW)
3216eea2d9
Add XMI_SCRIPT support to DescriptionDiagrams
2024-02-28 13:20:08 +01:00
Daum Alexander (DCL ATV SC D RAD CSFW FW)
124aa0384c
Introduce XMI_SCRIPT file type
...
XMI_SCRIPT is intented to be used to generate XMI files, that contain as
much metadata (UML standard compliant), that can be generated by
plantuml.
2024-02-28 11:06:13 +01:00
Arnaud Roques
a0be1ed677
feat: timing set background color of concise
...
https://forum.plantuml.net/18682/timing-set-background-color-of-concise
https://forum.plantuml.net/18676/supporting-markdown-syntax
2024-02-27 20:39:02 +01:00
Arnaud Roques
2a49ef06da
fix negative values causing syntax error in robust "has" list
...
https://forum.plantuml.net/18701/negative-values-causing-syntax-error-in-robust-has-list?show=18705
2024-02-27 19:42:44 +01:00
Arnaud Roques
6c945e2508
fix: Activity Diagram: Style of multiline Box
...
https://github.com/plantuml/plantuml/issues/1697
2024-02-26 22:50:31 +01:00
Arnaud Roques
3cc68235dd
refactor: prepare preprocessor error improvement
2024-02-22 20:28:03 +01:00
Arnaud Roques
a48dd52d9f
refactor: prepare preprocessor error improvement (almost finished :-)
...
https://github.com/plantuml/plantuml/pull/1668
2024-02-22 20:06:59 +01:00
Arnaud Roques
6329d9a8d5
refactor: prepare preprocessor error improvement (in progress)
...
https://github.com/plantuml/plantuml/pull/1668
2024-02-22 19:32:38 +01:00
Arnaud Roques
436fb37f1a
refactor: prepare preprocessor error improvement (in progress)
...
https://github.com/plantuml/plantuml/pull/1668
2024-02-22 18:33:29 +01:00
The-Lum
fea505ab77
feat: add %get_all_stdlib
builtin function
2024-02-22 15:11:26 +00:00
Arnaud Roques
be69889e7f
tests: fix stdlib test
...
https://github.com/plantuml/plantuml/pull/1692#issuecomment-1952831187
2024-02-21 22:23:31 +01:00
Arnaud Roques
2a961129f2
chore: improve error message when missing stdlib
...
https://github.com/plantuml/plantuml/pull/1692#issuecomment-1952831187
2024-02-20 19:52:29 +01:00
Arnaud Roques
04f718781f
refactor: remove dead code
2024-02-16 20:20:56 +01:00
Arnaud Roques
c6f150fd4e
chore: version 1.2024.3
2024-02-15 20:43:50 +01:00
Arnaud Roques
ad4a1bde57
feat: adding undocumented support for gzip URL
2024-02-15 20:35:36 +01:00
Arnaud Roques
cfa16d0f60
chore: version 1.2024.2
2024-02-14 19:05:53 +01:00
The-Lum
ab09e2ef1f
feat: add %get_all_theme
builtin function
2024-02-14 06:14:19 +00:00
Rui Chen
097550284e
fix: update graphviz version check pattern
...
Right now, the `graphviz` version detection failed to match with `10.x.x`, thus relaxing the version check regex.
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-11 19:44:40 +01:00
Arnaud Roques
d65951f520
feat: Update C4-PlantUML to v2.9.0
...
https://github.com/plantuml/plantuml-stdlib/pull/93
2024-02-11 12:20:28 +01:00
Arnaud Roques
68fdb662fe
chore: version 1.2024.1
2024-02-08 22:37:13 +01:00
PlantUML
c447e4489b
Merge pull request #1673 from The-Lum/Random
...
feat: `Random` function: add test and private declaration
2024-02-04 22:15:01 +01:00
The-Lum
3bd3edb740
feat: Random
function: add test and private declaration
...
Add:
- `RandomFunctionTest` test file
- private declaration for random lib.
Ref.:
- #1667
Improve:
- dbaf8ac2cd
- #1668
2024-02-03 14:06:49 +00:00