Commit Graph

83 Commits

Author SHA1 Message Date
Diomidis Spinellis 41ffcdafcf Escape & characters from generics in the HTML output.
Reported by: Ivan F. Villanueva B.
2006-08-30 13:06:09 +00:00
Andrea Aime 545613a15b Clean up and name fixes 2006-07-09 15:14:27 +00:00
Andrea Aime b5837d2840 (whoops, forgot to commit this!)
Introduced explicit enums for relation types and relation directions, added an option to specify the direction and type of relations included in the context (basically, a tool to build a map from relation type to direction), fixed a test that still contained the old -inferassoc intestead of -inferrel
2006-07-02 16:24:03 +00:00
Diomidis Spinellis 84fa647445 Filter-out static initializer method from classes
Submitted-by: Andreas Studer
2006-06-20 16:52:08 +00:00
Andrea Aime 0f3c2cf511 Fixed bug in relative path computation (and made that testable alone, too, though I did not commit the test since we don't have unit testing in place) 2006-06-11 15:28:05 +00:00
Andrea Aime 63dff2aaa3 Added support for new dependency filtering options 2006-06-11 13:46:44 +00:00
Andrea Aime 6bbf7d2f71 Don't infer dependencies from fields if we already inferred relationships (basically to avoid having dependencies on the collection containers that were not included in the relationships) 2006-06-04 13:54:27 +00:00
Andrea Aime 54796efd41 Moved api map to options, removed all dependencies to specified packages since we cannot assume the "user" will specify -subpackages on the command line 2006-06-04 08:24:47 +00:00
Andrea Aime 74a9c16003 Various changes, hard to account for all of them. Yet, basically:
* ability to compute relative links for UmlDoc diagrams (client side image maps)
* better handling of sources with annotations and generics usage
* avoid relying on specifiedpacakges to check if classes are included in the parsed source, maven 2 does not provide javadoc with them, but with a plain list of classes
2006-06-02 09:09:00 +00:00
Andrea Aime 72f918b68c First stab at UmlDoc implementation. It's an "improved" javadoc that outputs docs along with class diagrams.
Diomidis, can you have a look at the output (UmlGraph javadoc are built with UmlDoc now) and review the code?
I know I still have to write the docs, and I will have to try out UmlDoc on something other than UmlGraph itself (was thinking of the java sources themselves, or Hibernate, Spring, ... whatever is big enough).
2006-05-01 19:38:12 +00:00
Andrea Aime 3dc36ec498 Fixed a problematic situation. When all the operations of a class were hidden the generated html wasn't valid (see the test case, a class with a single hidden operation). Plus, when checking for hidden elements for elements other than a class, get the options against the containing class (the views are all based on class at the moment, we don't have views for methods or constructors) 2006-02-23 19:49:27 +00:00
Andrea Aime 287c34e3d7 More font options, as well as the ability to postfix the package declaration in class nodes.
Using enums in ClassGraph.
2006-02-18 11:08:58 +00:00
Andrea Aime 11575dfd31 New HTML ouput format 2006-02-12 09:37:34 +00:00
Andrea Aime 7ae5c25bc8 Put the static fields togheter. Changed a visibility of a few methods to allow subclassing, allowed to infer dependencies and associations for a single class 2006-01-28 10:08:34 +00:00
Andrea Aime 182e9c96d8 Avoid breaking previous behaviour for -output (from Antti Hakala feedback) 2006-01-15 16:46:50 +00:00
Andrea Aime 31c437888c Removed inference hiding for the moment, since it's probably not needed (simple hiding will do), make inference work with -public switch and private fields, added an option to infer from import statements as well 2006-01-04 21:53:55 +00:00
Andrea Aime 4602a06841 First cut to association/dependency inference. Needs discussion, sharing the code so that you can play with it if you want and examine the inference code behaviour. Needed to split the relation method so that it could be used by dependency inference as well 2006-01-03 21:33:30 +00:00
Andrea Aime 646a4d5280 Updated umlgraph tags (no need for package spec now)
Moved all output handling into ClassGraph (it's cleared, and it's needed
because otherwise the cloned Options would have needed a way to
share the output writer even when opened in a cloned class)
2006-01-02 14:02:42 +00:00
Andrea Aime 16c5db82b0 Lookup the association targets using the java standard mechanism 2005-12-31 17:32:10 +00:00
Andrea Aime 405b179f20 Three group of changes here:
* OptionProvider work -> made a few methods compute the options for
   the class they're working on, the others do receive an Options object
   as argument (as they cannot compute it by themselves)
* ClassInfo map work -> made sure every manipulation of classnames
   map goes thru a couple of methods, and that these methods remember
   to remove the template from the class names used as keys (I did found
   a few problems when referring a class without specifying the full
   template syntax in an association)
* grave bug fix -> if one association happened to point to a hidden class, the
   following associations of the same kind in the same class would have not
   been printed (code change in relation(...))
2005-12-30 17:53:48 +00:00
Andrea Aime eb6a80e6a5 Hide view classes (using the same code path as @hidden) 2005-12-28 14:52:26 +00:00
Andrea Aime 865f1de24e Added javadoc generation, along with a package summary that contains the class diagram of UMLGraph (generated by UMLGraph itself).
Added a few tags in the classes to generate a more accurate diagram.
The generated javadoc directory has been added to cvsignore
2005-11-27 21:01:15 +00:00
Diomidis Spinellis ac7963f269 Correctly strip qualified generic class names (Arnaud Rogues). 2005-11-23 09:36:16 +00:00
Diomidis Spinellis 34274b2a59 Comment why a refactoring is not possible. 2005-11-15 15:39:07 +00:00
Diomidis Spinellis b8407ffb00 Convert for loops to use the new foreach construct. 2005-11-15 15:25:08 +00:00
Diomidis Spinellis dac09f0720 Package lives now under doclet. 2005-11-14 17:34:17 +00:00
Diomidis Spinellis 258aaa5a47 Separate the classes into files.
The repository was duplicated through repo-surgery.
2005-11-14 15:21:01 +00:00
Diomidis Spinellis f8067959a9 Tab to 4 spaces. 2005-11-14 15:00:15 +00:00
Diomidis Spinellis 6130e7093f Fix a comment. 2005-11-14 14:19:59 +00:00
Diomidis Spinellis ff750de2f4 Minor fixes to Andrea's patch. 2005-11-14 13:05:58 +00:00
Diomidis Spinellis 21c49db2ff Better handling of hidden classes?
Error corrections over previous patch.
Both by Andrea Aime.
2005-11-14 10:08:31 +00:00
Diomidis Spinellis d56b998d5f Prevent crash when processing erroneous relation specifications (Andrea Aime) 2005-11-01 07:53:42 +00:00
Diomidis Spinellis 4ec2ecd767 Fix Eclipse warning (Andrea Aime). 2005-10-27 07:12:03 +00:00
Diomidis Spinellis cc2052d261 Fix symbol for package visibility.
See http://homepages.inf.ed.ac.uk/perdita/Book/changesForUML1.4.html and
http://www.sparxsystems.com/resources/uml2_tutorial/uml2_classdiagram.html
2005-10-21 21:40:26 +00:00
Diomidis Spinellis e4eeaaef00 Handle package visibility (Olek Poplavskyy) 2005-10-21 07:54:26 +00:00
Diomidis Spinellis 2fa05e6a36 The -noguillemot option will output two angle bracket pairs
instead of round brackets around stereotypes.
2005-10-19 18:37:41 +00:00
Diomidis Spinellis 4a484ff2c3 Display the type parameters of fields and method arguments. 2005-07-07 08:58:55 +00:00
Diomidis Spinellis 4faf99f201 Display generic classes using <> symbols. 2005-07-06 17:31:01 +00:00
Diomidis Spinellis 6f1617cc64 Transition to Java 1.5
Support for enumerations.
2005-03-26 16:09:51 +00:00
Diomidis Spinellis a86ec2ad1c Remove trailing spaces. 2005-03-26 15:08:06 +00:00
Diomidis Spinellis 6ebf4555bb Change container code to use the Java 1.5 generics. 2005-03-07 13:10:18 +00:00
Diomidis Spinellis f8924f44eb Correct checking of attributes and operations (Jonathan Wright). 2004-11-19 15:57:44 +00:00
Diomidis Spinellis f9d197f472 Added code to show constructors. 2004-10-06 19:05:31 +00:00
Diomidis Spinellis 79a8c00174 Fixes by nan 2004-08-09 06:06:26 +00:00
Diomidis Spinellis a729ec72c9 Change handling of -noguillemot. 2004-08-05 20:14:45 +00:00
Diomidis Spinellis 2eb477bda9 The -hide option now accepts RE patterns.
Guillemots are now avoided using -noguillemot.
2004-08-03 12:37:33 +00:00
Diomidis Spinellis be50ab1abe Streamline guillemot handling. 2004-08-03 12:04:21 +00:00
Diomidis Spinellis 4a75054c75 Remove code Art Hampton copy-pasted in version 1.24
Fix syntax error (missing ;) in generated dot files.
2004-08-03 11:44:39 +00:00
Diomidis Spinellis f0a6067fd7 Added comments provided by Nascif. 2004-08-03 10:15:03 +00:00
Diomidis Spinellis f6642b984d Changes by Nascif Abousalh-Neto to support the Maven plugin. 2004-08-02 12:40:10 +00:00