Commit Graph

285 Commits

Author SHA1 Message Date
Laurent SCHOELENS 42c648b596 fix findClass for UMLNoteOptions / UMLOptions unqualified classes 2023-03-28 18:58:28 +02:00
Laurent SCHOELENS 5a058a3ace more readable else if statement 2023-03-28 18:58:20 +02:00
Laurent SCHOELENS 24e5822d7b extra fix for typeparameters in classes 2023-03-28 13:14:18 +02:00
Laurent SCHOELENS 7147eaa5ed fix simpleName v. qualifiedName for packageProccesing 2023-03-28 10:48:09 +02:00
Laurent SCHOELENS de056154bd remove reporter diagnostic / fix class graph / make javase api 9 default / fix package-list and element-list api fetch 2023-03-27 14:52:04 +02:00
Laurent SCHOELENS 27d7821666 fix generation with primitive array 2023-03-27 12:31:35 +02:00
Laurent SCHOELENS 70929da1d0 make some fixes after run on bigger project 2023-03-27 12:18:46 +02:00
Laurent SCHOELENS d273b6a3ef fix junit dep / jdk11+ build 2023-03-24 16:11:29 +01:00
Laurent SCHOELENS cd8c3629a1 version running jdk9 2023-03-24 14:55:50 +01:00
Laurent SCHOELENS c8f805bdef reformat classes 2023-03-21 09:15:55 +01:00
Erich Schubert 0967a91289 Add -hideprivateinner option 2018-11-03 23:06:36 +01:00
Erich Schubert e93b793bd6 Get rid of these margins, then we don't need port="p" anymore. 2018-10-28 13:34:16 +01:00
Erich Schubert e27eeb4bc3 Simplify classinfo handling. 2018-10-27 23:23:47 +02:00
Erich Schubert 867dec5d9c fixup dot formatting 2018-10-27 23:23:47 +02:00
Erich Schubert 1d03695f8e Produce simpler dot files, reduce code duplication in edge generation. 2018-10-27 23:23:47 +02:00
Erich Schubert 8b39c4614f Improve node naming of inner classes. 2018-10-27 23:23:46 +02:00
Erich Schubert 7169d40228 Add -hideGenerics option. 2018-10-27 23:23:46 +02:00
Erich Schubert dc18c503e9 Improve class info handling. 2018-10-27 23:23:46 +02:00
Erich Schubert c7d8648352 Cleanup classToUrl 2018-10-27 23:18:32 +02:00
Erich Schubert aa15be7405 Determine context package only once. 2018-10-27 23:18:32 +02:00
Erich Schubert 1925d2f1c7 More StringUtil functionality. 2018-10-27 23:18:32 +02:00
Erich Schubert 08b8976076 Caching is not necessary with current JavaDoc (8, maybe even earlier) 2018-10-27 23:18:31 +02:00
Erich Schubert 1b29f70460 Avoid having to add/remove hyphens for all options. 2018-10-27 23:18:31 +02:00
Erich Schubert 2f27948475 Refactor font handling. 2018-10-27 23:18:31 +02:00
Erich Schubert 7d9f665d07 Refactor shape into enum pattern. 2018-10-27 23:18:31 +02:00
Erich Schubert 9ddf84129a Move visibility symbols into Visibility class. 2018-10-27 23:18:31 +02:00
Erich Schubert a4ab6f179a Have relation styles in a single place. 2018-10-27 23:18:31 +02:00
Erich Schubert fe2c0c3df1 Streamline code, smaller optimizations. 2018-10-27 23:18:31 +02:00
Erich Schubert f3e945c646 Remove warning in code obsoleted by commit #a29ba215 2018-10-27 23:08:20 +02:00
Erich Schubert 141c8a9353 Trivial simplification. 2018-10-27 21:30:17 +02:00
Erich Schubert fc1b199daf Better error reporting. 2018-10-27 21:30:17 +02:00
Erich Schubert 644d148455 Exit code on errors. 2018-10-27 21:30:17 +02:00
Erich Schubert e51f53b25e Add -qualifyGenerics to optionLength. 2018-10-26 21:17:21 +02:00
Erich Schubert a29ba21580 Fix active class shape broken by commit 1b4c9763 + add test.
This was easy to break, because of a non-obvious logic.

Instead we now use the hack of just using a too large rowspan.
2018-10-26 01:32:31 +02:00
Erich Schubert bca0ceae17 Cleanup Options: move defaults to declaration rather than constructor. 2018-10-25 00:18:28 +02:00
Erich Schubert 71f74d3093 Move some basic string processing helpers into StringUtil. 2018-10-25 00:18:28 +02:00
Erich Schubert 1b4c97630d Old merge error / duplicated line? 2018-10-25 00:18:28 +02:00
Erich Schubert 477d5cc58a Fail on test failures. 2018-10-25 00:18:28 +02:00
Diomidis Spinellis e5bc6f1f8f Exit with an error on structural differences 2018-10-24 13:34:33 +03:00
Diomidis Spinellis e2595350fd Correct build status icon URL 2018-10-24 13:11:59 +03:00
Diomidis Spinellis 8806b89cd8 Do not set OS type
This avoids the following error java.lang.Runtime.exec:
java.lang.Error: generic is not a supported OS platform.
2018-10-24 13:11:59 +03:00
Erich Schubert 0477f4b82d add -!qualifyGenerics option that strips package names only in generics
This is useful in combination with `-qualify`;
in particular with `-qualify -postfixpackage`

This version also supports *inner* classes, where the outer class has a
generic.

Test case: `p1.Class<A extends g1.G>.Inner<B super g2.G>`

Depending on `-qualify` and `-qualifyGenerics` this can become either:
```
p1.Class<A extends g1.G>.Inner<B super g2.G>
p1.Class<A extends G>.Inner<B super G>
Class<A extends g1.G>.Inner<B super g2.G>
Class<A extends G>.Inner<B super G>
```
on the long run, it may however be convenient to also allow hiding
generics completely, and/or show them just as diamonds. For example
`Class<>.Inner<>` as a shorthand. Other users will prefer to see the
constraint only, e.g., `Class<G>.Inner<G>`... it may need a list of
different named formatters.
2018-10-24 10:55:35 +02:00
Erich Schubert 0e69b7a40f Add an @opt include option for the package view. 2018-10-21 03:38:40 +02:00
Diomidis Spinellis 132f389bcf
Merge pull request #50 from kno10/patch-4
Avoid repeated lowercasing
2018-08-14 14:32:09 +03:00
Erich Schubert 40b24774eb Strip generics from parent classes properly
Fixes the handling of non-static inner classes `Parent<A>.Child` if the parent has generics, #20
2018-03-28 16:04:44 +02:00
Erich Schubert 021dc34d8e Avoid repeated lowercasing 2018-03-28 16:03:15 +02:00
Diomidis Spinellis 40b5a687cc Merge branch 'master' and update test data
To match the new -!autosize parameter.
2017-03-21 19:53:36 +02:00
Diomidis Spinellis c0b7962170 Update test data due to JavaDoc changes
From javadoc 1.8.0_20 to 1.8.0_121
2017-03-21 19:48:49 +02:00
Robert Ross 160a7db3a7 Added "-autosize" parameter and fixed parameter matching bug with "!" 2017-03-21 13:20:15 -04:00
Diomidis Spinellis e307530d8e Correct UMLGraph location 2016-10-24 20:38:25 +03:00