Commit Graph

78 Commits

Author SHA1 Message Date
Andrea Aime fb49bafe0f Added two options:
- a way to avoid seeing intra-package dependencies between classes since classes in the same package are supposed to be releated anyway and in fact, there's no reliable way to spot all of them anyway (since you don't need imports for using classes in the same package)
- a way to limit the visibility of members used to perform dependency inference.

Both of these allow to reduce the "fur ball" effect.

Finally, removed the -version2 option since we can rely on the -quiet standard javadoc option if we use RootDoc.printNotice/Warning/Error
2006-06-11 13:45:55 +00:00
Andrea Aime 20070fafaf Moved handling of api doc map to Options, and made options react to -link parameters the same way as the standard doclet does: by downloading and parsing the package-list file to populate the api doc map. 2006-06-04 08:27:03 +00:00
Andrea Aime 6e7f99ef8c Small performance improvements, new options for UMLDoc, in particular the ability to enable strict hide pattern matching (m.matches()) instead of lax matching (m.find()). We should think if having strict matching by default would be better (in my opinion it is, but that's just my opinion)...
Also added a reflective toString() that I've used for debugging settings during UmlDoc developtment (the code comes more or less from the first pages of Code Quality, the open source perspective :-) )
2006-06-02 08:56:15 +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 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 6a16efccf3 Fixes for dot's font platform dependence, so that we can get italic fonts on windows too. Added a flag to generated "compact", that is, all HTML on one line, output, to ease testing, leaving the more human readable HTML multiline output as default 2006-02-12 09:37:21 +00:00
Diomidis Spinellis 18604f7165 Verbose output is enabled using the -verbose2 flag. 2006-02-04 23:03:31 +00:00
Andrea Aime eacd052ed8 Added some feedback on the standard output, so that the user knows what's going on (on big code bases the use of context matches may require quite a bit of time, plus when the diagrams are too big dot just eats 100% CPU for a long time and has to be killed, at least we can show that UMLGraph has finished its part of the work).
The output looks like:

 [java] UMLGraph doclet started
     [java] Building view ViewProduct
     [java] Building view ViewColors
     [java] Building view ViewChildOverride
     [java] Building view ViewChildEmpty
     [java] Building view ViewAtt
     [java] Building view ViewAllDetailed
     [java] Building view ViewAll
     [java] Building view ViewContext
     [java] Building view ViewInterfaces
     [java] Building view ViewSubclasses
     [java] Class diagram generation complete
2006-02-04 09:24:43 +00:00
Andrea Aime 43d02af81b Added a check for option length, to avoid ArrayOutOfBoundExceptions if the users specifies an option without its argument. Special treatment is reserved to "-hide", which accepts both 0 or 1 parameters. 2006-01-28 10:10:55 +00:00
Andrea Aime 3983568510 Avoid breaking previous behaviour for -output, properly parse the enumerations options (from Antti Hakala feedback).
Plus a little bug fix, since the parser accepted inferassoctype as a command line parameter.
2006-01-15 16:48:23 +00:00
Andrea Aime aa7fefa899 Forgot to add on option to the comman line checks 2006-01-05 11:05:28 +00:00
Andrea Aime b8740e3567 New association/dependecy inference options 2006-01-04 21:55:19 +00:00
Andrea Aime d8a465fc5d 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. 2006-01-03 21:34:49 +00:00
Andrea Aime dceb851073 Added a couple of methods to manage view inheritance
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:04:33 +00:00
Andrea Aime 7d7a328406 Introduced OptionProvider interface 2005-12-30 17:54:16 +00:00
Andrea Aime 4d2ee647b6 Make "@opt !option" a generally available syntax (so that we can disable a general option on a per class basis), added -d for the output folder (default, "."), allow to use "hide" without parameters to hide everything 2005-12-28 14:54:40 +00:00
Andrea Aime 956673ffb7 View support code 2005-12-26 21:14:36 +00:00
Diomidis Spinellis 01a850bf2b Expand comment. 2005-12-25 15:42:03 +00:00
Andrea Aime 6cad56de7a Centralized option handling in the Option class (even for command line arguments) 2005-12-25 09:40:13 +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
Diomidis Spinellis 0ef8422602 Correct handling of multiple spaces in tags.
Noted by Jeffrey M. Thompson.
2004-07-25 09:55:43 +00:00
Diomidis Spinellis fdf2b8c041 Style fixes.
Added missing close quote in a URL.
2004-05-29 10:07:33 +00:00
Diomidis Spinellis 16142d9ff5 Maintain compatibility with previous versions. 2004-05-29 10:01:31 +00:00
Diomidis Spinellis 6baae55500 Style police. 2004-05-29 09:55:22 +00:00
Diomidis Spinellis 71fb849833 Changes from Nascif.AbousalhNeto@sas.com to allow different URLs
for local and remote packages.
2004-05-29 09:08:26 +00:00