Commit Graph

32 Commits

Author SHA1 Message Date
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 2f27948475 Refactor font handling. 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 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 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 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
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 30a611ec91 Update project web page location 2016-09-16 23:38:47 +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
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
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 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 ac69e12d7a Remove obsolete RCS/CVS $Id$
Command used:
sed -i '/^# \$Id\$$/d;/^ \* \$Id\$$/d;/^<!-- \$Id\$ -->$/d;/\/\/ \$Id\$/d' $(fgrep -l \$Id $(git ls-files))
2014-10-28 16:29:43 +02:00
Daniel TISCHER 52d95c3cc3 workaround empty label problem 2014-02-10 13:43:08 +01:00
Daniel TISCHER 8d77597da5 workaround for http://www.graphviz.org/mantisbt/view.php?id=2421 2014-02-09 11:50:05 +01:00
Daniel TISCHER a463b627fb check if source and dest are not already linked 2014-02-09 11:18:57 +01:00
Emanuel Pordes e58589e4c0 Output as SVG instead of PNG and minor cosmetic fixes. 2013-10-11 14:26:56 -04:00
Diomidis Spinellis f6e263028a Merge branch 'master' of https://github.com/Stummi/UMLGraph into Stummi-master 2013-05-23 18:52:27 +03:00
Georgios Gousios b8a974e20f Make UMLGraph maven compatible 2012-06-27 17:46:47 +02:00