1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-15 17:57:10 +00:00
Commit Graph

886 Commits

Author SHA1 Message Date
Christoph Rüthing
8066a3f730 Add Support for Font Selection in Ditaa
This adds support for selecting the font in ditaa diagrams by specifying
--font-family, --font-size and/or --font-variant in the ditaa() line.

The change is actually taken over from @pepijnve who implemented in
https://github.com/pepijnve/ditaa/issues/1. I extended it for supporting
the necessary flags from plantuml.
2022-02-28 13:45:48 +01:00
Arnaud Roques
87cbe82cd0 wip 2022-02-24 19:18:19 +01:00
Arnaud Roques
5d0d2bb8da wip 2022-02-17 19:27:32 +01:00
PlantUML
db67c75919
Merge pull request #930 from blipper/master
Add a new !pragma svginterface <true|false> to control INTERACTIVE mode on SVG output and Add support for interactive mouseover/mouseout focus on SVG to focusing on a node and its edges in a complex diagram.  This is enabled with !pragma svginteractive.
2022-02-16 22:43:35 +01:00
Martin Ross
6d0f6302ef Remove imports and push up Pragma to higher in call chain 2022-02-16 16:18:55 -05:00
Arnaud Roques
1fd8715ec9 wip 2022-02-16 19:59:44 +01:00
Martin Ross
61b0f7b138 Add support for interactive mouseover/mouseout focus on SVG to focusing on a node and its edges in a complex diagram. This is enabled with !pragma svginteractive. 2022-02-16 13:31:48 -05:00
Martin Ross
9c79c1256c Add a new !pragma svginterface to control INTERACTIVE mode on SVG output 2022-02-16 12:39:48 -05:00
PlantUML
a250727e18
Merge pull request #926 from blipper/master
Remove extra logging and switch startGroup maps from HashMap to EnumMap
2022-02-15 21:48:46 +01:00
Martin Ross
2ca7dca0e3 Remove extra logging and switch startGroup maps from HashMap to EnumMap 2022-02-15 14:55:21 -05:00
PlantUML
7fca076240
Merge pull request #925 from blipper/master
Preserve element group structure in svg output to allow more intelligent post-processing
2022-02-15 19:37:27 +01:00
Arnaud Roques
90a19ab7e1 Skinparam fix 2022-02-15 19:29:18 +01:00
Martin Ross
416325e6c8 Preserve element group structure in svg output to allow more intelligent post-processing 2022-02-15 13:11:51 -05:00
Arnaud Roques
e7785ff144 minor fixes 2022-02-14 18:44:01 +01:00
PlantUML
fe4c5cb957
Merge pull request #921 from soloturn/master
sign plantuml-pdf.jar
2022-02-14 14:20:30 +01:00
soloturn
18e6c41bfb use gradle in-memory asci-armored keys to sign artifacts
on the commadn line this allows as before:
  gradle -q signMavenPublication signPdfJar -Psigning.gnupg.keyName=... - -Psigning.gnupg.passphrase=...

on github this allows to put the key and password into environment variables:
  ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
  ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
  gradle -q signMavenPublication signPdfJar
2022-02-14 13:46:59 +01:00
soloturn
92e955ef03 upgrade fop, and mvn plugins 2022-02-14 13:33:27 +01:00
soloturn
2c44343fad gradle, sign plantuml-pdf.jar, and gh upload 2022-02-14 13:33:27 +01:00
PlantUML
8015ed1285
Remove contentScriptType: application/ecmascript 2022-02-14 12:42:16 +01:00
PlantUML
fce81ce267
Merge pull request #917 from soloturn/pdfjar
create plantuml-pdf.jar and upload it to github
2022-02-13 16:33:47 +01:00
soloturn
357720e4cb gradle upload artifacts in any case, like mvn did before 2022-02-13 15:44:16 +01:00
soloturn
8417f23d3e gradle, github publish plantuml-pdf jar
plantuml-pdf-<version>.jar is not signed at the moment.
2022-02-13 15:44:12 +01:00
soloturn
d582935e04 gradle pdfJar produces plantuml-pdf-<version>.jar 2022-02-13 14:54:25 +01:00
PlantUML
4b3683be83
Merge pull request #916 from soloturn/master
optional pdf deps, local publish without signing
2022-02-13 09:26:35 +01:00
soloturn
858903fec3 pdf optional dependencies 2022-02-13 08:40:15 +01:00
soloturn
6fe6a4c988 gradle, reorder to permit fat jar and features 2022-02-13 08:21:51 +01:00
soloturn
b18175b25c gradle, avoid configuring tasks not run 2022-02-13 08:21:51 +01:00
soloturn
255b5180fe gradle, javadoc, add class-use + utf8 2022-02-13 08:20:58 +01:00
soloturn
06b6493f69 gradle, only sign when properties are there 2022-02-13 07:44:56 +01:00
Arnaud Roques
81fd6d4943 test update 2022-02-12 18:34:19 +01:00
Arnaud Roques
2761d1e922 Style improvement 2022-02-12 18:27:51 +01:00
PlantUML
45e89d12a8
Merge pull request #914 from soloturn/master
separate build and test
2022-02-12 10:09:36 +01:00
soloturn
d201e7de64 gradle, store POM_VERSION in properties so it is taken everywhere. 2022-02-12 09:46:48 +01:00
soloturn
ba4c7da3e4 gradle, separate test, and build/upload 2022-02-12 09:46:43 +01:00
soloturn
a08af697e4 gradle release, gh publish signatures. 2022-02-12 08:39:38 +01:00
soloturn
defeb87909 gradle, clean, maven publication, same version for build/sign 2022-02-12 08:13:40 +01:00
PlantUML
6cfeabefc2
Merge pull request #913 from soloturn/master
sign step checks environment var from gpg step
2022-02-11 13:12:54 +01:00
soloturn
fc674de09f sign step checks environment var from gpg step 2022-02-11 13:00:55 +01:00
PlantUML
e8e923d8e2
Merge pull request #912 from soloturn/master
switch default build to gradle, fixes #47
2022-02-11 12:24:16 +01:00
soloturn
8603c8da91 gradle, build and sign artifacts in 2 steps
release is not from windows 2019, daemon can be used
2022-02-11 12:10:58 +01:00
soloturn
ad222ccc1b build.gradle.kts, project uses tab, not space indent 2022-02-11 11:13:46 +01:00
soloturn
12fce2cfd6 no gradle daemon so windows 2019 can use the cache.
in case somebody wonders about the confusing message that a daemon
is started, an explanation here:
https://discuss.gradle.org/t/no-daemon-switch-ineffective-if-jvm-settings-cause-new-fork/14919/7
2022-02-11 10:00:05 +01:00
soloturn
7d256adde6 switch default build to gradle, fixes #47 2022-02-11 09:41:40 +01:00
PlantUML
b687dccd9f
Merge pull request #911 from soloturn/master
revert github workflows to use java8, java11, java17
2022-02-11 08:24:07 +01:00
soloturn
b27c1fc50d revert github workflows to use java8, java11, java17
github workflow should use the various java versions to test,
which permits to test especially 2d rendering differences.

the javac release flag is set to produce java8 binaries in
any case. not perfect, but we only loose a warning that
applets are to be removed after java17, trivial to display
by adding the javac release property, when using java17:

  mvn --batch-mode compile -Dmaven.compiler.release=17
  gradle clean build -x javaDoc -PjavacRelease=17

better would be to separate build and test, as suggested
by https://github.com/matthew16550, here:
https://github.com/plantuml/plantuml/pull/904
2022-02-11 08:13:03 +01:00
Arnaud Roques
4534dc4ee2 Change default theme 2022-02-10 19:16:18 +01:00
PlantUML
edacfb5dbc
Merge pull request #908 from soloturn/master
gradle, permit 'gradle test' with java8
2022-02-10 17:36:31 +01:00
soloturn
2d4024f2f3 mvn, source and target java8, maven-compiler-plugin default still is java7. 2022-02-10 17:32:46 +01:00
soloturn
1bb80c929c gradle, permit 'gradle test' with java8 2022-02-10 17:11:11 +01:00
PlantUML
b438f6561c
Merge pull request #907 from soloturn/master
permit "mvn test" with java8.
2022-02-10 16:09:06 +01:00