1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-19 17:23:25 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
Arnaud Roques
74bcd0f668 fix: change GraphViz strategy
https://github.com/plantuml/plantuml/issues/1491
2023-07-26 19:12:10 +02:00
The-Lum
8742e77f3c fix: ord builtin function: allow Unicode values, add test
By this indication:
- https://github.com/plantuml/plantuml/pull/1487#issuecomment-1648082049

Fix `ord` builtin function:
- allow Unicode values
- add tests
2023-07-26 11:27:56 +00:00
soloturn
75443a5d28 java-20 deprecates new URL(), use new URI()
cite from the ticket towards openjdk:
The URL class does not itself encode or decode any URL components
according to the escaping mechanism defined in RFC2396. It is the
responsibility of the caller to encode any fields, ...

In Java SE 1.4 a new class, java.net.URI, has been added to mitigate
some of the shortcoming of java.net.URL. Conversion methods to create
an URL from an URI were also added.

references:
* https://inside.java/2023/02/15/quality-heads-up/
* https://bugs.openjdk.org/browse/JDK-8294241
2023-07-08 22:58:42 +02:00
Arnaud Roques
6475c392fc chore: add tests for testCanWeReadThisEnvironmentVariable 2023-06-13 20:20:32 +02:00
Arnaud Roques
ff6e71e626 fix: only allow to read some environment variables 2023-06-13 12:55:32 +02:00
Arnaud Roques
4a246c7cb9 fix: wip
https://forum.plantuml.net/17926/sprite-transparent-only-jar-defined-sprites-are-working
https://github.com/plantuml/plantuml/issues/1448
https://forum.plantuml.net/17932/nwdiag-possible-misbehavior
2023-06-11 20:44:08 +02:00
Arnaud Roques
aedaeec598 chore: update test for pipemap 2023-05-22 19:09:32 +02:00
Arnaud Roques
534fc27942 fix: Improve line endings in the output files
https://github.com/plantuml/plantuml/pull/1183
2023-03-14 18:46:55 +01:00
Arnaud Roques
9c62daa35d Fix UGraphic hierarchy 2023-03-12 12:41:34 +01:00
Arnaud Roques
07f828770f Restore test and ignore XMI.exporterVersion 2023-02-22 21:08:32 +01:00
Arnaud Roques
9660d3ced9 Remove tests until XMI is ready 2023-02-22 20:44:05 +01:00
Arnaud Roques
d551aa488a Update XMI result 2023-02-22 19:51:43 +01:00
Arnaud Roques
75835ce2a0 Packages move and bugfix 2023-02-22 19:43:48 +01:00
Arnaud Roques
4888ac976d Start major packages refactoring 2023-02-02 18:59:43 +01:00
Arnaud Roques
a5d39f6dda Version 1.2023.0 2023-01-09 20:13:37 +01:00
Arnaud Roques
58469686e6 Revert StringUtils to original package 2022-12-17 12:10:05 +01:00
Arnaud Roques
ec12ff5f1e Refactor packages organization 2022-12-17 12:01:10 +01:00
Arnaud Roques
03dbd4a848 Fix test issue 2022-11-23 20:12:05 +01:00
Arnaud Roques
1928fb31ca wip 2022-10-18 22:57:44 +02:00
Arnaud Roques
f0048de5b7 wip 2022-10-05 22:32:57 +02:00
Arnaud Roques
9bdc69ecee wip 2022-09-20 22:35:41 +02:00
Arnaud Roques
648b02f8c8 wip 2022-09-18 19:08:06 +02:00
Arnaud Roques
847f482609 Scxml improvement 2022-09-06 10:49:43 +02:00
Arnaud Roques
a562d24aa4 ScXml improvement 2022-09-01 19:40:58 +02:00
Arnaud Roques
0dd8e23270 wip 2022-08-30 21:15:53 +02:00
Arnaud Roques
401f44bf3c Test simplification 2022-08-29 18:52:23 +02:00
Arnaud Roques
775d2e16c9 Remove version from UML:model 2022-08-29 18:43:42 +02:00
Arnaud Roques
a195b4e842 xmi improvement and add alpha support for GraphML 2022-08-29 18:21:06 +02:00
Arnaud Roques
3af1fb7180 Rename %loadJSON to %load_json 2022-08-26 18:06:31 +02:00
Arnaud Roques
6809546c65 wip 2022-08-26 18:00:28 +02:00
Arnaud Roques
b4d191a365 Import version 1.2022.7 2022-08-23 18:39:27 +02:00
Arnaud Roques
b5a6684cd1 Refactoring about colors 2022-08-19 18:34:21 +02:00
Guillaume Grossetie
aaf3a8ee24 resolves #1086 replace printStackTrace by java.util.logging.Logger 2022-08-16 17:22:32 +02:00
Arnaud Roques
229a6129e2 Fixing tests 2022-05-04 19:54:15 +02:00
Arnaud Roques
7cca06b667 header style in document 2022-04-03 14:26:58 +02:00
Arnaud Roques
ebf1b1b622 wip 2022-03-19 13:48:23 +01:00
Arnaud Roques
4be0ee3198 wip 2022-03-13 13:22:51 +01:00
Arnaud Roques
81fd6d4943 test update 2022-02-12 18:34:19 +01:00
Arnaud Roques
4534dc4ee2 Change default theme 2022-02-10 19:16:18 +01:00
Arnaud Roques
8ae721e3d2 Version 1.2022.1 2022-02-01 21:21:45 +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
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
matthew16550
03272b104a Delete replaceTransparentByWhite parameter from ISkinParam.getBackgroundColor() 2021-11-09 00:56:52 +11:00
matthew16550
bad57a329f Change StringUtils.isEmpty() & isNotEmpty() to avoid creating new strings 2021-10-31 16:27:39 +11:00
matthew16550
a01da1a773 Add more to PlantUmlTestUtils 2021-10-29 15:36:37 +11:00
matthew16550
699e437bef Rename net.sourceforge.plantuml.security.ImageIO to SImageIO 2021-10-28 00:36:42 +11:00
arnaudroques
d7d07310cd
Merge pull request #704 from matthew16550/exportDiagram
Add PlantUmlTestUtils.exportDiagram()
2021-10-14 09:48:00 +02:00
matthew16550
14006f7fcf Add assertImagesEqual(), assertImageSizeEqual(), ColorHSB. 2021-10-14 18:04:52 +11:00
matthew16550
85311858ad Add PlantUmlTestUtils.exportDiagram() 2021-10-14 14:25:48 +11:00
Arnaud Roques
75006da678 Update tests 2021-10-07 18:57:48 +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
5ed7094e1f Restore fixed test failure due to missing skin 2021-09-19 22:50:22 +02:00
Arnaud Roques
ba12631464 Temporary remove unexpected test result 2021-09-19 19:18:21 +02:00
matthew16550
e3e2c2836e Use UTF_8 object instead of "UTF-8" string literal. 2021-09-13 15:18:15 +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
fd920b7d52 Remove \r when running PipeTest on Windows 2021-07-30 18:43:10 +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
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
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
eeae6dd731 Remove commons-lang3 test dependency. 2021-05-08 21:56:46 +10:00
matthew16550
de5ed44c97 Add -filedir option. 2021-05-08 11:07:20 +10: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
935c52109b Add AbstractPSystem.createImageBuilder(). Remove styledImageBuilder() 2021-04-04 23:45:56 +10:00
matthew16550
75f80fa2df Simplify default & boolean values in SkinParam. Change "sameClassWidth" param to case insensitive. Rename a few SkinParam tests for consistency. 2021-04-04 21:25:02 +10:00
matthew16550
5c58b61278 Fix preserveAspectRatio regression caused in #511 - ensure that "plain" diagrams use a default value of "none". 2021-04-02 17:09:04 +11:00
Arnaud Roques
0e98cae2d0 Minor fixes 2021-03-30 23:19:28 +02:00
matthew16550
d5780e48f6 Extract SkinParam.getAsInt() method 2021-03-29 15:50:53 +11:00
Arnaud Roques
986393d90d Improve URL management 2021-03-25 18:46:44 +01:00
Arnaud Roques
5fe658158f Try to fix getPackageName 2021-03-23 18:30:58 +01:00
Arnaud Roques
a4f8170d94 Strange compile error 2021-03-23 18:27:15 +01:00
Arnaud Roques
d579f6899f Add few non regression tests 2021-03-23 18:14:35 +01:00
Arnaud Roques
437a3b08f0 Rename testfile 2021-03-23 11:15:34 +01:00
Arnaud Roques
c2eadfd3e4 Add minor correction and some test test 2021-03-23 11:11:32 +01:00
Arnaud Roques
2efa343e38 Decouple StringBounderDebug from any OS 2021-03-22 14:20:24 +01:00
Arnaud Roques
aad084e5a1 Try to turn around some rounding issues 2021-03-22 10:54:54 +01:00
Arnaud Roques
0d6a17a27e Fix SimpleSequenceDiagramTest by using the appropriate StringBounderDebug 2021-03-22 09:45:48 +01:00
Arnaud Roques
4b9abcdb63 simplify this test until we understand why an OS dependent StringBounder is used here 2021-03-21 15:13:28 +01:00
Arnaud Roques
bdc0eb9709 Add a first test using Debug format output 2021-03-21 13:52:20 +01:00
Arnaud Roques
f7b9b3181e First tiny test 2021-03-19 18:27:58 +01:00