1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-21 02:19:14 +00:00
Commit Graph

1311 Commits

Author SHA1 Message Date
The-Lum
5149c49858 fix: change No @startuml/@enduml found message to No valid @start/@end found, please check the version for more readability
- [x] Rename `noStartumlFound` function to `noValidStartFound`
- [x] Rename `No @startuml/@enduml found` message to `No valid @start/@end found, please check the version`

Notes:
- Impact also the PicoWebserver;
- _For future enhancement perhaps use `resource` or list of message instead of repeating a message in many different places..._
2023-08-28 15:30:27 +00:00
The-Lum
90198c40d8 refactor: change formatting of should_readFirstDiagram_decode_correctly_different_line_endings for more readability 2023-08-28 15:01:45 +00:00
The-Lum
0c7f026f6c test: add new tests on @start/@end with a failing test to fix
- Add passing tests
- Add fail test _(to uncomment)_
2023-08-28 14:52:45 +00:00
Arnaud Roques
39fd1138cb chore: use annotation for dead code
https://github.com/plantuml/plantuml/issues/1521#issuecomment-1694600302
2023-08-27 11:07:44 +02:00
Arnaud Roques
8172f9492a feat: add embedded GraphViz for EPL version
https://github.com/plantuml/plantuml/issues/1517
2023-08-26 12:20:59 +02:00
Arnaud Roques
ee3eef8652 feat: enable DITAA in LGPL version
https://github.com/plantuml/plantuml/issues/1514
2023-08-26 12:03:19 +02:00
PlantUML
33f0d5b204
Merge pull request #1520 from Benjamin-Davies/docs
Add some documentation
2023-08-26 11:19:39 +02:00
Arnaud Roques
ecb22dfd46 fix: amend test 2023-08-26 11:18:40 +02:00
Arnaud Roques
86513bfbc8 wip: fix minor issues
https://forum.plantuml.net/17187/verticals-separators-gantt-chart-appear-certain-conditions?show=18171#c18171
https://forum.plantuml.net/18163/no-colored-border-on-state-start-end
2023-08-26 10:59:08 +02:00
Benjamin Davies
cf0e1c7ddc
Fix typo 2023-08-26 16:37:02 +12:00
Benjamin Davies
a879026e8c
Fix grammatical mistake 2023-08-26 16:24:10 +12:00
Benjamin Davies
fb1ac6d1d2
Clean up license attributions 2023-08-26 16:22:30 +12:00
Benjamin Davies
1a3f5dfd60
Document "PSystem" implied original meaning 2023-08-26 16:15:13 +12:00
Benjamin Davies
5386b9e7e2
Document plasma package 2023-08-26 15:48:49 +12:00
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