1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-28 15:56:31 +00:00
Commit Graph

1347 Commits

Author SHA1 Message Date
Benjamin Davies
ef8879f3b3
Document PSystemBuilder 2023-08-26 15:24:25 +12:00
Benjamin Davies
cbab1c333f
Document base package 2023-08-26 14:50:34 +12:00
Benjamin Davies
1d1daf492b
Modify wording to match variable names 2023-08-26 12:31:47 +12:00
Benjamin Davies
8f295eb313
Document regex package 2023-08-26 12:26:23 +12:00
PlantUML
51e8676c17
Merge pull request #1518 from The-Lum/Dev
mod: Language Descriptor Improvement (adding some words), fix: Cypher warning
2023-08-25 17:04:39 +02:00
The-Lum
adf71509c7 fix: Suppress of the together word to avoid warning of Cypher 2023-08-25 13:34:33 +00:00
The-Lum
f3ebbb69fd Merge branch 'Dev' of https://github.com/The-Lum/plantuml into Dev 2023-08-25 13:06:46 +00:00
The-Lum
6de021381f mod: Language Descriptor Improvement (adding some words)
- [x] Add end form for: caption, title, footer, header
- [x] Add stereotypes, circles, circled, member, attribute, field, method, public, private, protected
to be conform with:
  - a27ff9b7f2/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java (L77)
  - a27ff9b7f2/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByVisibility.java (L68)
- [x] Change `map` from keyword to type
- [x] Add new type: protocol, struct, exception, metaclass, json
- [x] Add new diagram: hcl, ebnf, regex, files

Related issue:
- https://forum.plantuml.net/18151/using-cypher-does-not-always-recognize-restricted-words

Following this PR, on the same topic:
- https://github.com/plantuml/plantuml/pull/586
2023-08-25 12:54:51 +00:00
Arnaud Roques
38c5765a99 fix: minor issues
https://github.com/plantuml/plantuml/issues/1515
https://forum.plantuml.net/18157/last-label-on-last-elseif-branch-does-not-get-rendered
2023-08-24 19:01:41 +02:00
PlantUML
a27ff9b7f2
Merge pull request #1509 from DRKV333/master
Fixed nested togethers not working
2023-08-04 09:18:41 +02:00
Kálmán Vince
5096c1b9a4 Fixed printing togethers in nested groups 2023-08-04 00:34:25 +02:00
Kálmán Vince
719927895b Fixed nested togethers not working 2023-08-02 19:43:17 +02:00
PlantUML
a9f4ea985d
Merge pull request #1507 from alfonsodelavega/add_license_headers
Add license headers to generated codebases
2023-08-02 15:07:14 +02:00
alfonsodelavega
20b62c6491 Add license headers to generated codebases 2023-08-01 13:26:08 +02:00
PlantUML
e04d49a6c0
Merge pull request #1506 from HeinrichAD/enhancement/seq-response-message-below-arrow
Let the user define if a message is a request or response
2023-08-01 10:28:25 +02:00
HeinrichAD
9fe1686e40 define -> arrows as request and <- as response
Instead of defining that every message from the left to the right side is always a request and every message from the right to the left side is always a response, I propose to used the arrow direction from the PlantUML diagram code.

Each arrow with the arrow direction on the right (`->`) is a request and each arrow with the arrow direction on the left (`<-`) is a response.

This way the users can define themselves what is a request and what is a response.
2023-07-31 22:09:30 +02:00
PlantUML
49115dfc7d
Merge pull request #1502 from The-Lum/Dev
refactor: use `CSV Source` for Math and UrlBuilder tests, test: add tests for the builtin function `%chr`
2023-07-27 17:58:58 +02:00
The-Lum
63da3270a6 test: add tests for the builtin function %chr
_[TODO: fix `%chr` to allow Unicode chars, the corresponding tests are here.]_
2023-07-27 15:41:03 +00:00
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