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

1479 Commits

Author SHA1 Message Date
The-Lum
c6cfd3cec6 refactor: use CSV Source for Math and UrlBuilder tests
For better readability and maintainability, use `@CsvSource` for:
- Math tests
- UrlBuilder tests

_[FYI: `testGetUrl42` and `testGetUrl50` seems to be identical!, I suppress one]_
2023-07-27 15:25:42 +00:00
Arnaud Roques
74bcd0f668 fix: change GraphViz strategy
https://github.com/plantuml/plantuml/issues/1491
2023-07-26 19:12:10 +02:00
PlantUML
44ba32d053
Merge pull request #1497 from The-Lum/BuiltinOrd
fix: `ord` builtin function: allow Unicode values, add test
2023-07-26 14:11:07 +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
Arnaud Roques
a327d636a7 fix: wip on https://github.com/plantuml/plantuml/issues/1491 2023-07-25 18:52:47 +02:00
Arnaud Roques
1b58f96369 fix: small regression on https://github.com/plantuml/plantuml/issues/1467 2023-07-24 18:54:24 +02:00
PlantUML
f28738eb9b
Merge pull request #1490 from travkin79/patch/1467
Patch #1467
2023-07-24 17:16:53 +02:00
Dietrich Travkin
4765c77d92 Simplify code a little 2023-07-24 17:03:58 +02:00
Dietrich Travkin
659b723dd3 Avoid too early shield size calculation in some additional cases (#1467) 2023-07-24 17:03:58 +02:00
Dietrich Travkin
151fa30a5d Make source code Java-7-compatible 2023-07-24 17:03:58 +02:00
PlantUML
49ab6c9c6e
Merge pull request #1487 from The-Lum/BuiltinOrd
feat: add `ord` builtin function
2023-07-24 16:45:24 +02:00
The-Lum
823d27afa9 fix: ord builtin function: retrieve then cast of the value
By this indication:
- https://github.com/plantuml/plantuml/pull/1487#issuecomment-1646545778

Fix `ord` builtin function:
- retrieve then cast of the value
2023-07-24 14:24:35 +00:00
PlantUML
afada208c3
Merge pull request #1489 from travkin79/patch/1467
Patch for #1467
2023-07-24 16:16:24 +02:00
Dietrich Travkin
38cb4811f7 Fix calculating shield (margin) size for nodes that are targets of qualified associations (#1467) 2023-07-24 15:05:33 +02:00
Dietrich Travkin
d7efa7e9a2 Fix qualifier labels' margin calculation (#1467) 2023-07-24 14:56:06 +02:00
Dietrich Travkin
bac7a4d751 Fix qualifier label's association ends (#1467)
Otherwise, qualifier labels of qualified associations pointing left or up are drawn on the wrong end of the association.
2023-07-24 14:55:20 +02:00
Arnaud Roques
85a6b1dada fix: improve notes on conditional
https://forum.plantuml.net/4696/notes-on-conditionnal-elements?show=18077#c18077
2023-07-22 11:42:32 +02:00
The-Lum
6e7254377c feat: add ord builtin function
Attempt to add `ord` builtin function.
2023-07-21 21:17:40 +00:00
Arnaud Roques
ef07e2cd1b feat: update stdlib (C4 and logos) 2023-07-19 23:07:32 +02:00
Arnaud Roques
29bcbfee89 chore: prepare version 1.2023.10 2023-07-12 17:58:33 +02:00
Arnaud Roques
835f82a8d6 fix: add together in LanguageDescriptor and improve CommandStyleImport 2023-07-12 17:46:57 +02:00
PlantUML
11b70de43f
Merge pull request #1456 from soloturn/java20
Java20
2023-07-09 11:03:52 +02: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
soloturn
32c856503f ignore vscode files 2023-07-08 22:58:42 +02:00
soloturn
5d445ae801 java-20, create uri directly, not via url. 2023-07-08 22:58:42 +02:00
soloturn
f530bf4d30 java-20, update to gradle-8.2. 2023-07-08 22:58:42 +02:00
PlantUML
ebeea26ecb
Merge pull request #1472 from travkin79/patch/1470
Add reading remote style files from URLs (Fix #1470)
2023-07-04 11:43:43 +02:00
Dietrich Travkin
0972786515 Replace URL with SURL to securely access URLs 2023-07-04 10:42:38 +02:00
PlantUML
b45451312a
Merge pull request #1473 from travkin79/patch/1336
Adapt workflows to release the differently licensed plantuml versions
2023-07-04 10:26:46 +02:00
Dietrich Travkin
a217809de6 Adapt workflows to release the differently licensed plantuml lib versions 2023-07-04 10:15:07 +02:00
Dietrich Travkin
d92242ec35 Add reading remote style files from URLs (Fix #1470) 2023-07-04 00:38:23 +02:00
PlantUML
85671b866c
Merge pull request #1471 from travkin79/patch/1336
Add building differently licensed plantuml versions (#1336)
2023-07-03 22:29:46 +02:00
Dietrich Travkin
d662206000 Add building differently licensed plantuml versions 2023-07-03 11:23:07 +02:00
Arnaud Roques
1ef8dd39f9 fix: wip
https://github.com/plantuml/plantuml/issues/1448
https://github.com/plantuml/plantuml/issues/1436
2023-06-27 22:04:12 +02:00
Arnaud Roques
968a958b9d fix: wip
https://github.com/plantuml/plantuml/issues/1465
https://github.com/plantuml/plantuml/issues/1464
https://github.com/plantuml/plantuml/issues/1459
https://github.com/plantuml/plantuml/issues/1460
2023-06-21 20:50:30 +02:00
PlantUML
21461b83fc
Merge pull request #1457 from The-Lum/FilesTree
upd: add `regex`, `files` on Embedded Diagram; Add `regex` diagram link on Readme
2023-06-14 16:05:12 +02:00
The-Lum
c006e3dfad
upd: Add regex diagram link
upd: Add `regex` diagram link
2023-06-14 15:09:00 +02:00
The-Lum
3574987267
upd: Add regex, files on Embedded Diagram
upd: for Embedded Diagram, add:
-  `regex`
-  `files`
2023-06-14 15:03:59 +02:00
Arnaud Roques
74574c4f57 chore: Version 1.2023.9 2023-06-13 20:31:05 +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
fbe7fa3b25 feat: remove legacy ALLOW_INCLUDE use PLANTUML_SECURITY_PROFILE instead
https://github.com/plantuml/plantuml-server/issues/232
2023-06-13 12:41:34 +02:00
Arnaud Roques
b32500bb61 fix: improve filelist support and nwdiag 2023-06-12 22:49:47 +02:00
Arnaud Roques
793b78abc5 feat: work not yet complete
https://forum.plantuml.net/10049/2019-pipemap-diagrams-containing-links-give-zero-exit-code
2023-06-11 20:51:41 +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
c95bbfe585 fix: minor issues
https://github.com/plantuml/plantuml/issues/1442
https://github.com/plantuml/plantuml/issues/1436
2023-05-31 20:51:54 +02:00
Arnaud Roques
aedaeec598 chore: update test for pipemap 2023-05-22 19:09:32 +02:00
Arnaud Roques
892dd6c8e9 fix: improve pipemap option
https://github.com/plantuml/plantuml/issues/1429
2023-05-22 18:48:42 +02:00
Arnaud Roques
92c5183386 chore: suppress some versions 2023-05-21 22:48:14 +02:00
Arnaud Roques
63a09e24c5 chore: Version 1.2023.8 2023-05-21 10:54:21 +02:00