1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-05-31 23:50:49 +00:00
Commit Graph

284 Commits

Author SHA1 Message Date
arnaudroques
5cb202295d
Merge pull request #664 from matthew16550/imageio-read-bytes
Extract ImageIO.read(byte[]) method
2021-09-12 12:35:01 +02:00
arnaudroques
061ce99bc5
Merge pull request #665 from matthew16550/SourceFileReaderAbstract
Extract common code to SourceFileReaderAbstract constructor
2021-09-12 12:33:12 +02:00
arnaudroques
07d9cc9917
Merge pull request #666 from The-Lum/detach-mod
mod: change class of `detach`
2021-09-12 12:29:53 +02:00
The-Lum
d7eba91125
mod: change class of detach
- `detach` is more a `keyword` than a `type`, like `kill`.

Then change class of `detach` from `type` to `keyword`.
2021-09-11 11:33:43 +02:00
matthew16550
c72202eb96 Extract common code to SourceFileReaderAbstract constructor 2021-09-11 19:02:36 +10:00
matthew16550
985916664f Extract ImageIO.read(byte[]) method 2021-09-11 14:21:48 +10:00
matthew16550
08dfd191ba Refactor some code to use AutoCloseable / try-with-resources 2021-09-11 00:52:29 +10:00
matthew16550
9e7db1ce64 Fix copy to clipboard on Mac.
The previous code `Toolkit.getDefaultToolkit().createImage()` does not read the image file into memory but Clipboard.setContents() on Mac seems to need an image that is already in memory.
2021-09-08 14:51:40 +10:00
matthew16550
8903d5e689 Prevent intermittent test failure due to PSystemError creating different output at different times of the hour. 2021-09-03 17:51:22 +10:00
Arnaud Roques
9238bacd65 Import version 1.2021.10 2021-08-30 19:13:54 +02:00
damienwojtowicz
b5e9171558 Implemented zoom control keyboard shortcuts
- Added a `CTRL + +` to zoom in
- Added a `CTRL + -` to zoom out
- Added a `CTRL + 0` to reset zoom
- Minor refactor in classes names (removed "2" appended to GUI's classes name)
2021-08-02 12:11:47 +02:00
Josep Mones Teixidor
0bef01372f Fix issue with garbage after the diagram and created better tests 2021-07-29 06:02:06 +02:00
Josep Mones Teixidor
6849c96144 Add tests for Pipe 2021-07-29 03:50:30 +02:00
Arnaud Roques
1edafc748d Import version 1.2021.9 2021-07-25 12:41:36 +02:00
arnaudroques
671cbc4101
Merge pull request #586 from The-Lum/LanguageDescriptorImprovement
Language Descriptor Improvement (adding some word)
2021-07-07 22:56:43 +02:00
The-Lum
275b9b33f5
Suppress of then word to avoid warning of Cypher
Suppress of `then` word to avoid warning of Cypher:

[Observed on V1.2021.7]
```
>java -jar  plantuml.jar -stdrpt -cypher
Warning:then
```
or:
```
java -jar  plantuml.jar -v -cypher
(0.000 - 254 Mo) 248 Mo - SecurityProfile LEGACY
(0.014 - 254 Mo) 247 Mo - PlantUML Version 1.2021.7
(0.014 - 254 Mo) 247 Mo - GraphicsEnvironment.isHeadless() false
(0.014 - 254 Mo) 247 Mo - Forcing resource load on OpenJdk
Warning:then
(0.372 - 254 Mo) 240 Mo - Found 0 files
```
2021-07-06 13:27:46 +02:00
The-Lum
f8e02ef0aa
Rename Warning to CypherWarning
Rename `Warning` to `CypherWarning`, for more readability on the stdout/stderror
2021-07-06 13:01:39 +02:00
The-Lum
5aee7363b7
Language Descriptor Improvement
Adding:
- collections
- hexagon
- label
- person
- annotation
- left to right direction

+ all `@start/@end` with same order than https://github.com/plantuml/plantuml/blob/master/src/net/sourceforge/plantuml/core/DiagramType.java
2021-07-05 22:36:10 +02:00
Arnaud Roques
d55c9c6ca7 Import version 1.2021.8 2021-06-27 18:50:40 +02:00
Arnaud Roques
39c585ee09 Import version 1.2021.7 2021-05-23 17:35:13 +02:00
Arnaud Roques
f83a207360 Import version 1.2021.6 2021-05-14 10:42:57 +02:00
matthew16550
28983460d7 Add "help themes" command. And ThemeUtils class. 2021-05-10 12:36:09 +10:00
Arnaud Roques
7afaa0c743 Add use of Objects.requireNonNull 2021-05-09 23:14:40 +02:00
matthew16550
de5ed44c97 Add -filedir option. 2021-05-08 11:07:20 +10:00
Arnaud Roques
c216d071b5 Improve theme support 2021-05-06 23:23:05 +02:00
Arnaud Roques
1048a07d7d Improve theme support 2021-05-03 22:11:48 +02:00
Arnaud Roques
f1d83b484c Integration of themes from Brett Schwarz 2021-05-01 19:40:56 +02:00
Arnaud Roques
fcf10ee0a9 Import version 1.2021.5 2021-04-25 22:59:17 +02:00
Thilo Schaper
9a46840192 remove unused option '-recurse' from usage listing 2021-04-21 22:54:56 +02:00
Arnaud Roques
a53860d53d Fix compile error 2021-04-20 22:27:12 +02:00
Arnaud Roques
e1e6bcc5c8 Improve ELK support 2021-04-20 22:19:49 +02:00
Arnaud Roques
bc1074a775 Improve ELK support 2021-04-17 13:19:39 +02:00
Arnaud Roques
cb8cd3492c Improve ELK support (Label and orientation) 2021-04-15 18:49:28 +02:00
Arnaud Roques
320ab186b4 Improve ELK support 2021-04-14 20:08:29 +02:00
Arnaud Roques
dfdec8820f Improve Gantt and add alpha support for ELK 2021-04-13 19:05:18 +02:00
Arnaud Roques
f69cfcd011 Add some Gantt improvement 2021-04-07 20:02:23 +02:00
matthew16550
7863aae1af Infer svgLinkTarget instead of storing it in ImageBuilder. 2021-04-07 19:47:24 +10:00
matthew16550
f1b5a4c827 Infer svgDimensionStyle instead of storing it in ImageBuilder. 2021-04-07 19:41:13 +10:00
matthew16550
8fc84d437a Infer preserveAspectRatio instead of storing it in ImageBuilder. 2021-04-07 19:38:03 +10:00
matthew16550
5b970db545 Infer hoverPathColorRGB instead of storing it in ImageBuilder. 2021-04-07 19:32:14 +10:00
matthew16550
5c2634cf4e Simplify ImageBuilder.getFinalDimension() and cache calculated result. 2021-04-07 19:25:27 +10:00
matthew16550
f47a2a14fc Infer scale instead of storing it in ImageBuilder. 2021-04-07 19:16:17 +10:00
matthew16550
2b712e44c0 Infer lengthAdjust instead of storing it in ImageBuilder. 2021-04-07 19:11:44 +10:00
matthew16550
5c8b1dc46a Infer handwritten instead of storing it in ImageBuilder. 2021-04-07 18:50:19 +10:00
matthew16550
c4fe9f4349 Infer dpi instead of storing it in ImageBuilder. 2021-04-07 18:46:12 +10:00
matthew16550
81abee58fa Refactor duplicate scaleFactor calculations. 2021-04-07 18:38:29 +10:00
matthew16550
9c865ab58b Infer svgCharSizeHack instead of storing it in ImageBuilder. 2021-04-07 18:27:57 +10:00
matthew16550
f0e978de36 Move all ImageBuilder border related code into maybeDrawBorder() method. 2021-04-07 13:01:15 +10:00
arnaudroques
ee0503cbe5
Merge pull request #521 from matthew16550/createImageBuilder
Add AbstractPSystem.createImageBuilder().  Remove styledImageBuilder()
2021-04-05 23:05:24 +02:00
Arnaud Roques
af012b24fb Fix minor regression when exporting Cmap data in PNG image.
DPI is no more relevant, scaleFactor must be used instead.
2021-04-05 22:57:59 +02:00