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
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
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
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
Diomidis Spinellis
30a611ec91
Update project web page location
2016-09-16 23:38:47 +03:00
Diomidis Spinellis
db1a918e16
Remove repeated @override
2016-06-07 17:23:40 +03:00
Diomidis Spinellis
ff13af7ea6
Merge pull request #32 from DevFactory/release/remove-dead-stores-fix-1
...
[squid:S1854] Dead stores should be removed
2016-06-07 17:22:20 +03:00
Diomidis Spinellis
c4713960af
Merge pull request #31 from DevFactory/release/replace-synchronized-classes-fix-1
...
[squid:S1149] Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used
2016-06-07 17:21:55 +03:00
Diomidis Spinellis
a0ed8a2672
Merge pull request #30 from DevFactory/release/add-missing-override-annotation-fix-1
...
[squid:S1161] "@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
2016-06-07 17:21:36 +03:00
Diomidis Spinellis
c4f32a5a74
Update test reference files
2016-06-07 17:20:48 +03:00
Diomidis Spinellis
4425596017
Merge branch 'master' of github.com:dspinellis/UMLGraph
2016-06-07 16:10:47 +03:00
ayman abdelghany
1ec3be2f98
[squid:S1149] Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used
2016-06-07 14:12:05 +02:00
ayman abdelghany
105db10e1a
[squid:S1854] Dead stores should be removed
2016-06-07 14:07:16 +02:00
ayman abdelghany
9f25167880
[squid:S1161] "@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
2016-06-07 14:04:11 +02:00
Diomidis Spinellis
23e7da7ca5
Merge pull request #15 from frankgrimes97/svg-uml-output
...
Output as SVG instead of PNG and minor cosmetic fixes.
2015-11-01 13:09:52 +02:00
Diomidis Spinellis
93e69a4e24
Make umlgraph shell script work under Cygwin
2015-10-05 14:23:19 +03:00
Diomidis Spinellis
17ab5f89f2
Update version
2014-10-29 00:19:04 +02:00
Diomidis Spinellis
691cf7fe69
Add Version.java
...
Although it's auto-generated Maven wants it under SCM.
2014-10-29 00:03:19 +02:00
Diomidis Spinellis
f687058ca3
Bring back comma that got lost in 52d95c3c
2014-10-28 19:54:57 +02:00
Diomidis Spinellis
fe9ac58af1
Disable importedClasses deprecation warning
...
In our case an attempt to get the imported classes is justified.
Although they are an implementation detail, we document the
implementation.
2014-10-28 17:23:47 +02:00
Diomidis Spinellis
a8b1f1ff46
Remove auto-generated file
2014-10-28 17:07:14 +02:00
Diomidis Spinellis
fa40aaf731
Get rid of Java generics warning
...
Casts are still needed, because Properties extends
Hashtable<Object, Object> instead of Hashtable<String, String>.
2014-10-28 17:04:59 +02:00
Diomidis Spinellis
d46829bb01
Add methods required by Java 1.8
2014-10-28 16:38:14 +02:00