1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-28 04:55:58 +00:00
Commit Graph

541 Commits

Author SHA1 Message Date
Arnaud Roques
e7785ff144 minor fixes 2022-02-14 18:44:01 +01:00
PlantUML
8015ed1285
Remove contentScriptType: application/ecmascript 2022-02-14 12:42:16 +01:00
Arnaud Roques
2761d1e922 Style improvement 2022-02-12 18:27:51 +01:00
Arnaud Roques
4534dc4ee2 Change default theme 2022-02-10 19:16:18 +01:00
soloturn
90fd3b5a51 simpler syntax, clazz.newInstance deprecated with java17 2022-02-04 15:21:27 +01:00
soloturn
a6f1f58300 .editorconfig ignore ext, use intellij notation, otherwise it does not kick in
i placed a christmas wish request that intellij changes its default to respect an
empty .editorconfig but chances seem to be slim they'd really do it:
https://youtrack.jetbrains.com/issue/IDEA-287505.

give in and use an intellij property to stop it reformatting SVG on global reformat.
2022-02-04 00:01:29 +01:00
Arnaud Roques
db76ab28b5 Fix style issue and add splitstr function 2022-02-03 11:18:56 +01:00
Arnaud Roques
8ae721e3d2 Version 1.2022.1 2022-02-01 21:21:45 +01:00
Jan Sende
b84c1670d8
Added <<start>> Stereotype
Currently the state diagram only supports <<end>> as a stereotype for creating named end points. However, the same functionality is missing for starting points. This commit adds this ability.
2022-01-31 11:52:24 +09:00
Arnaud Roques
f0a3fbf548 Add two json functions 2022-01-29 19:00:48 +01:00
Arnaud Roques
9d611cf988 wip on prefers-color-scheme:dark 2022-01-28 22:45:34 +01:00
PlantUML
2628400b89
Merge pull request #884 from soloturn/gradle
editorconfig fix syntax for pom, yml,  should not touch svg
2022-01-27 18:25:47 +01:00
Arnaud Roques
5ad243efd4 wip 2022-01-27 18:22:47 +01:00
Arnaud Roques
6fb89e85e7 Merge branch 'wip' 2022-01-27 18:08:23 +01:00
Arnaud Roques
ddaacdf3f7 wip 2022-01-27 18:08:03 +01:00
soloturn
c019d3d559 editorconfig fix syntax for pom, yml, should not touch svg 2022-01-27 17:26:07 +01:00
PlantUML
6fe22da334
Merge pull request #871 from soloturn/gradle
valueOf instead of new
2022-01-27 09:41:45 +01:00
soloturn
703b83a5ac pendingStart < pause.pos1 always true in Segment.java 2022-01-27 06:42:55 +01:00
Arnaud Roques
9ae7706e5c Add frames and state diagrams 2022-01-26 20:41:21 +01:00
Arnaud Roques
3dac7c05ce wip 2022-01-26 20:04:21 +01:00
soloturn
457197c49f valueOf or auto-unbox instead of new
new Double and similar got a removal warning in java-17, do Double.valueOf,
Double.parseDouble and similar for other types.

.editorconfig caused some trimming of trailing whitespaces.

remove boxing
2022-01-22 04:30:44 +01:00
Arnaud Roques
c623158c6c wip 2022-01-19 22:35:53 +01:00
The-Lum
bbec8d3c6b
fix: nwdiag name with special char
Fix: nwdiag server or element name with special char ("-" or ".")

Here is the similar patch as:
- #adc23450c82e822d6fe8836defa01277f7901f71
But for server or element, on the: `CommandElement.java` file.

Regards.

Fixes #827
2022-01-15 15:56:05 +01:00
Arnaud Roques
adc23450c8 wip 2022-01-14 18:06:05 +01:00
Arnaud Roques
e823b5f00f Fix https://github.com/plantuml/plantuml/issues/857 2022-01-12 19:48:43 +01:00
Arnaud Roques
c0a51633ce Import version 1.2022.0 2022-01-12 17:54:49 +01:00
Arnaud Roques
9cba08f732 NPE protection 2022-01-07 19:12:07 +01:00
Arnaud Roques
24bd088e01 Emoji color fix 2022-01-07 19:04:36 +01:00
Kamil Mierzejewski
d92ca6a077 Xmi export for Sequence Diagrams 2022-01-05 09:47:50 +01:00
Arnaud Roques
d36de19c99 Add nested box in sequence diagram 2022-01-04 18:21:17 +01:00
Arnaud Roques
16fd392308 Implements https://forum.plantuml.net/15232 2022-01-04 12:23:39 +01:00
Arnaud Roques
864cb34e30 wip 2022-01-03 18:35:17 +01:00
Arnaud Roques
0be33c0ecf Fix https://forum.plantuml.net/15211 2022-01-03 14:38:18 +01:00
Arnaud Roques
4a8e9e6e2e wip 2022-01-01 18:05:19 +01:00
Arnaud Roques
3cbd4924f2 wip 2021-12-21 18:23:17 +01:00
Arnaud Roques
180b8eddd1 Fix (again) https://forum.plantuml.net/5261 2021-12-15 18:40:12 +01:00
Arnaud Roques
5a1147b92e fix https://forum.plantuml.net/5261 2021-12-14 22:38:22 +01:00
Arnaud Roques
442d313a30 wip 2021-12-14 19:03:11 +01:00
Arnaud Roques
51ee3fb7c7 Try to avoid memory issues 2021-12-08 21:33:40 +01:00
Arnaud Roques
d9552dfc34 wip 2021-12-08 19:29:29 +01:00
Arnaud Roques
1d6d3e8477 Switch to twemoji 2021-12-07 19:15:43 +01:00
Arnaud Roques
fa73641962 Adding more emojis 2021-12-06 20:01:04 +01:00
Arnaud Roques
42d759d951 Adding more emojis 2021-12-06 19:58:08 +01:00
Arnaud Roques
61597b27f1 Merge branch 'wip' 2021-12-02 18:39:45 +01:00
Arnaud Roques
50aef31027 wip 2021-12-02 18:39:20 +01:00
albert-github
9d7557d0c4 Documentation corrections
Some, obvious, documentation corrections.
2021-12-02 14:11:33 +01:00
matthew16550
b99f954128 Get rid of some spammy javadoc warnings 2021-12-01 21:14:35 +11:00
Larry Diamond
b676a6e62f rolling back code incompatible with Java 8 2021-11-30 17:22:26 -05:00
Larry Diamond
5e446d88ee Improve performance by replacing StringBuffer with StringBuilder 2021-11-30 15:54:46 -05:00
Arnaud Roques
2494e6a435 Import version 1.2021.15 2021-11-30 19:33:37 +01:00
PlantUML
64510e5c88
Change Executors.newCachedThreadPool to daemon 2021-11-28 23:46:36 +01:00
PlantUML
1afbb8f35c
Merge pull request #802 from The-Lum/ImproveStyleJson
add: `hide` as NOP on style for JSON or YAML diagram
2021-11-25 22:50:51 +01:00
Arnaud Roques
d14f00fdbf Change default theme for YAML and JSON 2021-11-25 22:42:50 +01:00
The-Lum
5c1eba25b7
add: hide as NOP
Similar as #800 but for JSON or YAML diagram.
2021-11-25 21:52:21 +01:00
Arnaud Roques
160a356c68 Minor fixes 2021-11-24 18:55:06 +01:00
Arnaud Roques
dc8c6c7ec0 Minor formatting and SURL::create now throws MalformedURLException 2021-11-23 17:38:29 +01:00
Arnaud Roques
b73464f3e7 Minor reformatting 2021-11-22 23:15:23 +01:00
Arnaud Roques
d44b537f31 Merge branch 'wip' 2021-11-22 20:04:34 +01:00
Arnaud Roques
6e8e44afb6 wip 2021-11-22 20:04:09 +01:00
Aljoscha Rittner
31b4d0f29d Better path check for security files (SFile) 2021-11-22 15:41:49 +01:00
Aljoscha Rittner
e195987b78 Authentication for SURL with BasicAuth and OAuth2 (password and client_credentials) 2021-11-22 12:41:44 +01:00
Arnaud Roques
38877c5420 wip 2021-11-21 12:09:15 +01:00
The-Lum
db9d000eb7
mod: add board and creole for Embedded Diagram
mod: Add, for Embedded Diagram:
-  `board`
-  `creole`
2021-11-20 19:55:09 +01:00
Arnaud Roques
29e652a3b0 Try to fix DisplayPositioned typo 2021-11-19 21:54:57 +01:00
Arnaud Roques
bbeb280022 Fix style issues and DisplayPositionned typo 2021-11-19 17:03:39 +01:00
PlantUML
f14004a40f
Ugly fix for typo in DisplayPositionned 2021-11-19 14:25:15 +01:00
Arnaud Roques
e1391133d3 Fix styles issues for theme and patch hacker theme 2021-11-18 18:12:17 +01:00
Arnaud Roques
88b2d9a765 Fix skinparam and style issues 2021-11-17 18:47:53 +01:00
Arnaud Roques
c5c86ffcda Fix themes issues 2021-11-16 18:47:07 +01:00
Arnaud Roques
ed4f0f6ed7 Fix style issue with stereotype 2021-11-15 22:48:42 +01:00
Arnaud Roques
4e0e244db8 Fix style border issue 2021-11-15 19:27:27 +01:00
Arnaud Roques
0646c23a18 Import version 1.2021.14 2021-11-12 18:21:14 +01:00
Arnaud Roques
9ee6179c3a Improve hyperlink color management 2021-11-10 22:15:26 +01:00
Arnaud Roques
1fbe080683 wip 2021-11-10 19:18:02 +01:00
Aljoscha Rittner
65492a5259 Introduction of an internal function %loadJSON to load JSON data from file or URL. 2021-11-10 10:01:27 +01:00
Arnaud Roques
a66cf71deb Merge branch 'wip' 2021-11-09 18:47:51 +01:00
Arnaud Roques
5599f8fc82 wip 2021-11-09 18:47:19 +01:00
arnaudroques
fc54479685
Merge pull request #224 from albert-github/feature/bug_docu
Documentation corrections
2021-11-09 11:53:06 +01:00
Arnaud Roques
471c71d5ae Merge branch 'wip' 2021-11-08 18:25:12 +01:00
Arnaud Roques
69d735e7ae wip 2021-11-08 18:23:42 +01:00
matthew16550
03272b104a Delete replaceTransparentByWhite parameter from ISkinParam.getBackgroundColor() 2021-11-09 00:56:52 +11:00
matthew16550
60fac9cd96 More changing sequence diagram so group backgrounds are transparent when the diagram background is transparent 2021-11-09 00:46:19 +11:00
Arnaud Roques
562cad88bc Merge branch 'wip' 2021-11-07 19:22:20 +01:00
Arnaud Roques
482cc6f25a wip 2021-11-07 19:21:14 +01:00
arnaudroques
d3c0a59782
Merge pull request #743 from matthew16550/middle-circle
Change svek line middle circle default color, from white to diagram background color
2021-11-07 12:10:33 +01:00
The-Lum
7568e37f73
Fix error message
Fix:
- https://forum.plantuml.net/14905/typo-in-error-message
And comment on:
- https://forum.plantuml.net/12557/problems-with-built-in-functions-%25upper-and-%25lower-eclipse
2021-11-06 19:31:11 +01:00
matthew16550
077ef52650 Change sequence diagram so group backgrounds are transparent when the diagram background is transparent 2021-11-05 17:11:20 +11:00
matthew16550
ba9b69aeb1 Change svek line middle circle default color, from white to diagram background color 2021-11-05 16:03:15 +11:00
a-krawciw
b49d7db1e9 Prevent index out of bound for 0 line ditaa files.
References plantuml/plantuml#530
2021-11-03 15:49:53 -07:00
Alec Krawciw
5ebddab866
Merge branch 'plantuml:master' into master 2021-11-03 14:54:12 -07:00
Arnaud Roques
041b2b45b9 Temporary fix NPE 2021-11-01 15:47:30 +01:00
Arnaud Roques
d1e5f82084 Import version 1.2021.13 2021-11-01 13:02:46 +01:00
Arnaud Roques
c94e204240 Wip on gtile 2021-11-01 12:38:32 +01:00
matthew16550
a2a12adb58 Update smetana arrows to support beta style line colors & change decorators to fill with diagram background color instead of white 2021-11-01 18:00:05 +11:00
arnaudroques
8f7e2f787d
Merge pull request #735 from matthew16550/fix-folder-width
Fix folder width growing with length of alias (#476)
2021-10-31 10:18:35 +01:00
matthew16550
bad57a329f Change StringUtils.isEmpty() & isNotEmpty() to avoid creating new strings 2021-10-31 16:27:39 +11:00
matthew16550
0a6c4454cf Fix folder width growing with length of alias (#476) 2021-10-31 14:25:28 +11:00
Arnaud Roques
2a4a75e5de Merge branch 'wip' 2021-10-29 18:49:24 +02:00
Arnaud Roques
5908de8966 WIP on gtile 2021-10-29 18:48:50 +02:00
arnaudroques
eb7c4c7a6d
Merge pull request #734 from matthew16550/more-StringBounder-injection
Inject StringBounder into UGraphicBraille, UGraphicEps, UGraphicHtml5, UGraphicVdx
2021-10-29 09:53:44 +02:00
arnaudroques
f71ce124ee
Merge pull request #732 from matthew16550/braille-descent
Fix Braille text descent calculation
2021-10-29 09:52:01 +02:00
matthew16550
d6737bb6aa Inject StringBounder into UGraphicBraille, UGraphicEps, UGraphicHtml5, UGraphicVdx. Also minor nearby tidying. 2021-10-29 16:42:46 +11:00
matthew16550
107d1e2980 Fix Braille text descent calculation 2021-10-29 15:12:57 +11:00
Arnaud Roques
7a30afc9be WIP 2021-10-28 19:40:22 +02:00
Arnaud Roques
03c34c18c3 WIP 2021-10-27 18:43:04 +02:00
matthew16550
699e437bef Rename net.sourceforge.plantuml.security.ImageIO to SImageIO 2021-10-28 00:36:42 +11:00
matthew16550
1f68cc262a Fix broken A000*_Test tests on macOS 2021-10-24 15:10:28 +11:00
Arnaud Roques
1f922c2650 Minor fixes 2021-10-20 18:33:09 +02:00
Arnaud Roques
ae4d0b65a2 Fix toString() method for non-US JVM 2021-10-19 20:21:37 +02:00
Arnaud Roques
742542290a Merge branch 'wip' 2021-10-17 11:04:20 +02:00
Arnaud Roques
aa7d520a45 wip 2021-10-17 11:02:33 +02:00
matthew16550
f8871accbe Simplify UDriver code:
- Add SHAPE type param to UDriver.draw()
- Add AbstractUGraphic.ignoreShape()
- Rename some driver classes for consistency
2021-10-15 21:53:50 +11:00
matthew16550
14006f7fcf Add assertImagesEqual(), assertImageSizeEqual(), ColorHSB. 2021-10-14 18:04:52 +11:00
arnaudroques
b5bf071737
Merge pull request #696 from matthew16550/xml-factories
Reuse long-lived XML DocumentBuilderFactory & TransformerFactory instances
2021-10-07 18:59:50 +02:00
Arnaud Roques
637adfa6cb Stereotype refactoring 2021-10-07 18:51:26 +02:00
matthew16550
cd6f988eac Reuse long-lived XML DocumentBuilderFactory & TransformerFactory instances. 2021-10-07 02:59:13 +11:00
Arnaud Roques
c874842158 Import version 1.2021.12 2021-10-05 18:52:46 +02:00
Arnaud Roques
5fb770cb57 Fix arrow constraint position 2021-10-04 23:01:59 +02:00
matthew16550
abc3ca620f Remove some redundant calls to StringBounder.calculateDimension() 2021-10-04 23:56:35 +11:00
matthew16550
a02ff86cbd Delete UScale and related code as it is now unused. 2021-10-04 22:00:11 +11:00
arnaudroques
4ac9b7cd90
Merge pull request #689 from matthew16550/StringBounder-simplifications
StringBounder injection & some minor related tidyings
2021-10-04 09:25:43 +02:00
Arnaud Roques
11de152d92 Import version 1.2021.11 2021-10-03 23:01:18 +02:00
matthew16550
ead2698f01 Remove redundant getDefaultStringBounder() methods 2021-10-03 06:12:31 +11:00
matthew16550
c38b269089 Simplify StringBounder code in ImageBuilder 2021-10-03 06:11:03 +11:00
matthew16550
102d67271c Pass a StringBounder into DriverTextG2d & DriverTextAsPathG2d 2021-10-03 05:39:53 +11:00
matthew16550
102a7ccf64 Pass a StringBounder into UGraphicG2d & EmptyImageBuilder 2021-10-03 05:12:56 +11:00
matthew16550
d3a4fc6fe0 Pass a StringBounder into UGraphicSvg 2021-10-03 04:54:37 +11:00
matthew16550
2b2a47b9f0 Add FileFormat.getDefaultStringBounder(SvgCharSizeHack) 2021-10-03 04:50:13 +11:00
matthew16550
f1bff6dde6 Simplify UGraphicTikz constructors 2021-10-03 04:36:02 +11:00
matthew16550
eecb097640 Remove redundant UGraphicTikz constructor param 2021-10-03 04:34:41 +11:00
matthew16550
ff53f679ef Pass a StringBounder into UGraphicTikz 2021-10-03 04:31:42 +11:00
matthew16550
4c3b0bd989 Remove unused tikzFontDistortion field 2021-10-03 04:04:23 +11:00
matthew16550
3c5769cc5f Remove unused stringBounder field 2021-10-03 04:02:00 +11:00
a-krawciw
467241bf92 Change the output of a file to match the natural file structure. In reference to plantuml/plantuml#672 2021-09-23 22:15:07 -07:00
arnaudroques
2a3ecbb72e
Merge pull request #680 from matthew16550/PSystemUtils
Enable cmapx file creation for Board, Mindmap, Network, Timing & WBS diagrams
2021-09-22 09:33:31 +02:00
matthew16550
4937c8f1be Enable cmapx file creation for Board, Mindmap, Network, Timing & WBS diagrams. 2021-09-22 15:19:39 +10:00
Arnaud Roques
8f8d2863b1 Fix nwdiagram issue 2021-09-21 19:44:04 +02:00
arnaudroques
08cba946b3
Merge pull request #679 from matthew16550/png-split
Update PNG splitting to support more diagram types
2021-09-21 14:43:38 +02:00
matthew16550
25413d5b2b Update PNG splitting to support these diagram types:
Activity, Archimate, Board, Class, Component, Deployment, Gantt, Mindmap, Network, Salt, State, Timing, WBS, Wire
2021-09-21 21:45:07 +10:00
Arnaud Roques
3d7aa78624 Merge branch 'master' of https://github.com/plantuml/plantuml 2021-09-20 18:38:45 +02:00
Arnaud Roques
d0fe54026d Fix broken switch/case arrows when using kill/detach 2021-09-20 18:38:08 +02:00
matthew16550
16f9d973fa Add AbstractCommonUGraphic.stringBounder field 2021-09-20 22:56:11 +10:00
matthew16550
9791fc3f66 Rename UGraphic2.writeImageTOBEMOVED() -> UGraphic.writeToStream() & remove UGraphic2 interface. 2021-09-20 16:56:14 +10:00
arnaudroques
a6f3d162a6
Merge pull request #675 from matthew16550/UGraphicNo
Extract common functionality to UGraphicNo class
2021-09-19 19:26:30 +02:00
arnaudroques
3c2fbb9c53
Merge pull request #674 from matthew16550/createTextLayout
Extract TextBlockUtils.createTextLayout() methods
2021-09-19 19:05:48 +02:00
Arnaud Roques
6fdb340b37 Improve style support 2021-09-19 19:05:24 +02:00
matthew16550
8ec5a84040 * Extract common functionality to UGraphicNo class
* Simplify subclass constructors
* Remove dpiFactor() methods which became redundant a while ago
2021-09-19 22:33:09 +10:00
matthew16550
c6f40e32b1 Extract TextBlockUtils.createTextLayout() methods 2021-09-19 20:22:54 +10:00
Arnaud Roques
b3bf75e0b7 Improve style support for nwdiag 2021-09-15 23:03:09 +02:00
Arnaud Roques
e1fe53457a Add shadowing for nwdiag and support for D+xx notation in gantt 2021-09-14 19:26:18 +02:00