1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-21 20:45:10 +00:00
Commit Graph

858 Commits

Author SHA1 Message Date
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
PlantUML
ad383d2dc8
Merge pull request #1669 from The-Lum/PatchBranch
Improve `Chronology diagram` management
2024-02-02 23:44:52 +01:00
The-Lum
23c86ba5b9 Improve Chronology diagram management
Adding `Chronology diagram` on:
- Syntax
- Sub-diagram
- Readme
2024-02-01 22:36:05 +00:00
The-Lum
c10ac1769d
fix: import the file RandomFunction 2024-02-01 23:31:08 +01:00
The-Lum
376ee9d8c2
Update TContext.java with RandomFunction 2024-02-01 23:13:41 +01:00
The-Lum
9e18d34936
Update and rename Random.java to RandomFunction.java
Feat: improve to accept 0, 1, 2 args
2024-02-01 23:10:43 +01:00
Arnaud Roques
dbaf8ac2cd feat: add some %random function
https://github.com/plantuml/plantuml/issues/1667
2024-02-01 22:29:55 +01:00
Arnaud Roques
dbbdf1277b chore: version 1.2024.0 2024-02-01 19:30:28 +01:00
Arnaud Roques
5fae97f44e fix: Gantt Layout issue when Print between is used with Printscale weekly
https://github.com/plantuml/plantuml/issues/1664
2024-02-01 18:52:57 +01:00
Arnaud Roques
dbb535473c fix: clear cache when StringBounder has changed
https://github.com/plantuml/plantuml/issues/1575
https://forum.plantuml.net/18480/teoz-produces-odd-legend-for-sequence-diagrams
2024-01-27 13:48:28 +01:00
The-Lum
6d158d1196
docs: add package-info.java on chronology 2024-01-24 12:35:16 +01:00