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

753 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
5d445ae801 java-20, create uri directly, not via url. 2023-07-08 22:58:42 +02:00
Dietrich Travkin
0972786515 Replace URL with SURL to securely access URLs 2023-07-04 10:42:38 +02:00
Dietrich Travkin
d92242ec35 Add reading remote style files from URLs (Fix #1470) 2023-07-04 00:38:23 +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
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
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
892dd6c8e9 fix: improve pipemap option
https://github.com/plantuml/plantuml/issues/1429
2023-05-22 18:48:42 +02:00
Arnaud Roques
63a09e24c5 chore: Version 1.2023.8 2023-05-21 10:54:21 +02:00
Arnaud Roques
18a7f99b55 fix: improve theme support 2023-05-18 13:32:30 +02:00
Arnaud Roques
95026709a6 chore: question about improving Version.java and gradle.properties 2023-05-17 22:17:15 +02:00
Arnaud Roques
f72fec23c3 fix: improve theme support
https://forum.plantuml.net/17811/theme-supports-no-calculated-from-path-and-stdlib-from-path
2023-05-17 22:11:36 +02:00
Arnaud Roques
35ec8a700c chore: simply Version.java implementation 2023-05-17 21:34:24 +02:00
Arnaud Roques
eb85d9c9c5 chore: build only GPL and MIT version for beta 2023-05-17 21:19:43 +02:00
Arnaud Roques
2adee2f574 chore: improve multilicence and add improve theme support
https://forum.plantuml.net/17811/theme-supports-no-calculated-from-path-and-stdlib-from-path
2023-05-15 18:37:07 +02:00
Arnaud Roques
c60d959c95 chore: version 1.2023.7 2023-05-12 19:28:51 +02:00
Arnaud Roques
72f2d856f3 chore: generate MIT version 2023-05-12 16:03:57 +02:00
Arnaud Roques
488029b9b0 fix: work in progress
https://github.com/plantuml/plantuml/issues/1405
https://github.com/plantuml/plantuml/issues/1423
2023-05-11 21:06:04 +02:00
Arnaud Roques
475f814b65 fix: minor bug fix
https://github.com/plantuml/plantuml/issues/1422
2023-05-10 20:43:48 +02:00
Arnaud Roques
26874fe610 fix: minor issues
https://github.com/plantuml/plantuml/issues/1401#issuecomment-1523451970
https://github.com/plantuml/plantuml/issues/1399
2023-05-07 23:30:37 +02:00
Arnaud Roques
c158ce4383 chore: init snapshot 2023-04-18 23:04:32 +02:00
Arnaud Roques
beb3cb25e2 feat: version 1.2023.6 2023-04-18 18:14:10 +02:00
Arnaud Roques
e23d7e56fc fix: minor issues
https://github.com/plantuml/plantuml/issues/1367
https://github.com/plantuml/plantuml/issues/1389
2023-04-11 19:57:58 +02:00
PlantUML
44f6e295d2
chore: test CI 2023-04-11 15:18:14 +02:00
Arnaud Roques
87caaebdb9 fix: change month display
https://github.com/plantuml/plantuml/issues/1380
2023-04-10 19:51:43 +02:00
Eric Vantillard
ac83a5d64e fix: revert Version.java change
Postpone this modification until `ci.yml`will be ready.
2023-04-05 09:21:53 +02:00
Arnaud Roques
905510cd8b feat: extract version and compile time to a resource file 2023-04-04 23:13:35 +02:00
Arnaud Roques
5600f0999e fix: multiple breaks in repeat
https://github.com/plantuml/plantuml/issues/1369
2023-04-03 23:29:34 +02:00
Arnaud Roques
81bd00e252 fix: restore correct cache behavior
https://github.com/plantuml/plantuml/issues/1368
2023-03-29 20:19:05 +02:00
Florian Greinacher
4e879c3cfd feat: support alternate environment variable names
The current variable names with dots can not be used in some shells.
2023-03-27 12:09:05 +02:00
Arnaud Roques
47f2995aa3 fix: fix several issues
https://github.com/plantuml/plantuml/issues/1357
https://github.com/plantuml/plantuml/issues/1353
https://github.com/plantuml/plantuml/issues/1352
https://forum.plantuml.net/17654/malformed-layout-and-missing-arrows-on-large-amount-of-edges
https://github.com/plantuml/plantuml/issues/1349
https://github.com/plantuml/plantuml/issues/1348
https://github.com/plantuml/plantuml/issues/1355
https://github.com/plantuml/plantuml/issues/166
2023-03-24 19:07:32 +01:00
Arnaud Roques
003222a00f fix: wip on various issues
https://github.com/plantuml/plantuml/issues/1352
https://github.com/plantuml/plantuml/issues/1348
2023-03-22 19:25:52 +01:00
Arnaud Roques
cdec3380ec fix: improve smetana support
https://github.com/plantuml/plantuml/issues/1348
2023-03-21 23:47:11 +01:00
Arnaud Roques
897a4736bc fix: patch several issues
https://github.com/plantuml/plantuml/issues/1286
https://github.com/plantuml/plantuml/issues/166
https://github.com/plantuml/plantuml/issues/171
2023-03-20 23:19:33 +01:00
Arnaud Roques
e739cd8f5d fix: restore some help commands
https://github.com/plantuml/plantuml/issues/1331
https://github.com/plantuml/plantuml/issues/1232
2023-03-19 13:13:13 +01:00
Arnaud Roques
e16b1d0b75 fix: remove buggy margin
https://github.com/plantuml/plantuml/issues/1334
2023-03-18 19:46:30 +01:00
Arnaud Roques
e53a679331 refactor: improve smetana support for JSON 2023-03-18 11:25:17 +01:00
Arnaud Roques
7447766553 fix: allow notes with ELK
https://github.com/plantuml/plantuml/issues/1331
2023-03-17 22:53:25 +01:00
Arnaud Roques
89ff4699a0 fix: allow notes with smetana
https://github.com/plantuml/plantuml/issues/1332
2023-03-17 22:48:24 +01:00
Arnaud Roques
68c35a5ac3 fix: partial correction
https://github.com/plantuml/plantuml/issues/1335
2023-03-17 22:42:27 +01:00
Arnaud Roques
707d612229 fix: improve ditaa management
https://github.com/plantuml/plantuml/issues/1331
2023-03-17 18:14:13 +01:00
Arnaud Roques
a202116a0c fix: improve dot message status 2023-03-16 21:33:59 +01:00
Arnaud Roques
0f9f96dade fix: improve return code management 2023-03-16 21:25:46 +01:00
Arnaud Roques
ba0fd1efb4 fix: partially improve smetana code
https://forum.plantuml.net/17600/note-and-position-not-rendering-correctly-on-cheerpj
2023-03-15 19:03:47 +01:00
Arnaud Roques
9adc8dd067 refactor: prepare haxe version 2023-03-14 18:52:44 +01:00
Arnaud Roques
8f074cfbdf fix: improve note syntax in sequence diagrams
https://forum.plantuml.net/17587/notes-linked-to-messages-in-sequence-diagrams
2023-03-14 18:50:51 +01:00
Arnaud Roques
4e0af3328c fix: improve port management
https://github.com/plantuml/plantuml/discussions/1325
2023-03-14 18:48:52 +01: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
da21293630 fix: still in progress
https://forum.plantuml.net/17566/global-%24variable-default-variable-produces-error-a001
https://github.com/plantuml/plantuml/issues/1320
2023-03-13 21:46:30 +01:00
Arnaud Roques
9c62daa35d Fix UGraphic hierarchy 2023-03-12 12:41:34 +01:00
Arnaud Roques
5febaa9aeb Preprocessing with __MIT__ is now working 2023-03-12 12:15:51 +01:00
Arnaud Roques
be8454cb59 update to 1.2023.3 2023-03-09 19:04:46 +01:00
Arnaud Roques
aa033bc2c1 wip 2023-03-08 21:49:44 +01:00
rohitsud
02ce388a5a
Allow only one underscore when escaping -->
This improves https://github.com/plantuml/plantuml/pull/1303 by preventing expressions like `*--____>` from being allowed. Now only expressions like `*--_>` and `*-->` will be allowed in maps,
2023-03-05 11:43:49 -08:00
Arnaud Roques
5cdd5c76e5 wip 2023-03-04 10:34:43 +01:00
Arnaud Roques
690fa349ba wip 2023-03-01 18:05:03 +01:00
Arnaud Roques
f4221e340a wip 2023-02-28 22:22:51 +01:00
rohitsud
ece128c3f1
Allow underscore to be used as an escape character for pattern -->
The issue is described in more detail at https://forum.plantuml.net/17507/dotted-arrow-also-the-close-comment-blocks-html-xml-markdown --
Similar to the issue in https://forum.plantuml.net/11806/dotted-arrow-also-the-close-comment-blocks-html-xml-markdown map uses the syntax with --> for longer arrows but they pose a problem when embedding in HTML.

For example, the following cannot be embedded in HTML.

map example {

    A*--> B

}

The linked thread above suggests the use of _ before the > but that doesn't work for maps.
2023-02-28 11:38:27 -08:00
Arnaud Roques
52664342f6 Version 1.2023.2 2023-02-26 19:51:17 +01:00
Arnaud Roques
c54983bb5e Make AgoUML work 2023-02-22 20:55:55 +01:00
Arnaud Roques
934a1c357b Fix package and (temporary) remove generalization 2023-02-22 20:21:30 +01:00
Arnaud Roques
75835ce2a0 Packages move and bugfix 2023-02-22 19:43:48 +01:00
Arnaud Roques
58cc4e096b wip 2023-02-08 19:38:46 +01:00
Arnaud Roques
62d819dae4 wip 2023-02-06 22:11:35 +01:00
Arnaud Roques
678949b44c Wip 2023-02-06 22:04:53 +01:00
Arnaud Roques
1c650bb2f9 Fix https://github.com/plantuml/plantuml/issues/1284 2023-02-04 13:50:16 +01:00