1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-01 08:00:48 +00:00
Commit Graph

1618 Commits

Author SHA1 Message Date
Arnaud Roques
171a35971b refactor: enhance external process handling using ProcessBuilder 2024-04-14 10:50:33 +02:00
PlantUML
3adf9c93c7
Merge pull request #1736 from travkin79/patch/1735
Fix #1735 - Fix hiding some of multiple stereotypes in clusters (rectangles, packages, etc.)
2024-04-11 22:43:19 +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
PlantUML
9f53546ff6
Merge pull request #1732 from The-Lum/PatchBranch
Improve `Chen diagram` management & Rename `%splitstrregex` to `%splitstr_regex`
2024-04-10 17:51:46 +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
PlantUML
f862254e22
Merge pull request #1731 from The-Lum/Random
feat: add `%splitstrregex` builtin function
2024-04-09 17:11:29 +02:00
PlantUML
64f3a8fc0e
Merge pull request #1730 from rubikscuber/fix-#1713
fix #1713
2024-04-09 16:51:07 +02: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
PlantUML
e982bb326d
Merge pull request #1727 from theavege/fix/sunlust
fix json and yaml
2024-04-09 14:18:17 +02:00
rubikscuber
7c9866ac69
fix #1713 2024-04-09 14:12:21 +02:00
Artem V. Ageev
d50aa2e289 fix json and yaml 2024-04-08 15:27:16 +03: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
PlantUML
7755ae5be4
Merge pull request #1720 from diguage/select-line
Supports double-clicking to select all elements and links on a line. Fix #1719
2024-03-24 23:39:08 +01:00
diguage
3cc580ebd1 Supports double-clicking to select all elements and links on a line 2024-03-24 21:47:50 +08:00
PlantUML
4afe3ef7fe
Merge pull request #1718 from Benjamin-Davies/cheneer
Implement Chen Notation for ER-diagrams
2024-03-21 22:30:28 +01:00
Benjamin Davies
4b5bcd3bca
Fix compatibility with Java 8 2024-03-21 19:38:05 +13: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
d39bfbc3b5
Add test for aliases 2024-03-20 16:57:41 +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
PlantUML
3499373851
Merge pull request #1710 from The-Lum/PatchBranch
fix: math two-dimensional matrices and add tests
2024-03-10 19:23:12 +01: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
PlantUML
1188a05a60
Merge pull request #1705 from ouss1002/bug-custom-functions-name
Prevent IndexOutOfBoundsException in equation rendering by checking non-empty 'texsymbol' strings
2024-03-08 19:10:32 +01: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
f385bc0dba chore: use Collections.emptyList() instead of new ArrayList() 2024-02-24 12:03:21 +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
PlantUML
35909a50c7
Merge pull request #1696 from The-Lum/Random
feat: add `%get_all_stdlib` builtin function
2024-02-22 16:48:45 +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
PlantUML
c6f9684026
Merge pull request #1693 from The-Lum/docs
docs: add "PlantUML package and PlantUML on the GNU/Linux distribution" page [skip ci]
2024-02-20 20:00:03 +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
PlantUML
5fe5cafe70
Merge pull request #1692 from The-Lum/PatchBranch
tests: add not working example about stdlib
2024-02-20 19:45:32 +01:00