Commit Graph

278 Commits

Author SHA1 Message Date
Andrea Aime 9545893fa0 Allow in package inference to have the same results as before... as much as I hate incompatible changes, having a inferdepinpackage that has to be negated is not the best course of action (none of the options is meant to be used in negated form so far) 2006-06-11 13:50:31 +00:00
Andrea Aime 56e3b66325 Skip CVS directories during comparison 2006-06-11 13:48:25 +00:00
Andrea Aime e63dfd9fa8 Skip CVS directories during recursive comparison 2006-06-11 13:48:04 +00:00
Andrea Aime 1a066ccff8 Removed reliance on -verbose2 2006-06-11 13:47:30 +00:00
Andrea Aime 63dff2aaa3 Added support for new dependency filtering options 2006-06-11 13:46:44 +00:00
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 015357b8c7 Java visibility types enumeration, with some useful conversion methods for actually making it easy to use in the context of UmlGraph 2006-06-11 13:42:00 +00:00
Diomidis Spinellis 61a4cdea18 Add reference for the Human-Usable Textual Notation (HUTN) Specification. 2006-06-09 14:42:05 +00:00
Andrea Aime 1f6fcc90c7 Added testing for umldoc in the build 2006-06-04 13:59:35 +00:00
Andrea Aime 37cfbf2043 Reference data for umldoc testing 2006-06-04 13:59:03 +00:00
Andrea Aime 6704856194 Output folder for umldoc tests 2006-06-04 13:55:36 +00:00
Andrea Aime b467af9238 Source classes for umldoc tests 2006-06-04 13:55:15 +00:00
Andrea Aime d827bdf1f5 Added testing for umldoc, and moved shared methods with the umlgraph tests in an utility class 2006-06-04 13:55:00 +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 561b50c0f2 Inflict UmlDoc on itself: UmlGraph javadoc generation now uses UmlDoc to generate nice "fur ball class diagrams" as someone calls them. Heh, the package diagram and the ClassGraph diagrams do look like fur balls indeed, speaking to us and asking for mercy (aka, splitting the package into subpackages and splitting ClassGraph into smaller and better defined units).
All in all, having fur balls generation is not that bad, in a sense it makes people see what classes/package are brittle and which are on the contrary crisp, better defined...
2006-06-04 09:22:03 +00:00
Andrea Aime f971bded86 Renamed WrappedRootDoc due to a typo, removed package.html and fixed a few umlgraph tags on the classes for better output generation 2006-06-04 09:19:21 +00:00
Andrea Aime 9bac4fb51a Modified reference files to cope with the latest changes. Current output properly adds url references for external class references, whilst the previous version did not 2006-06-04 08:31:20 +00:00
Andrea Aime 0c41210872 Consistently use pw instead of System.out in every point of the file, better error reporting for file with difference, ensure to flush the printwriter before exiting 2006-06-04 08:29:29 +00:00
Andrea Aime 51a19f4be1 Use Version of printouts 2006-06-04 08:28:12 +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 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 14932ba5b2 Lots of changes:
* output using the RootDoc.notice/warning methods instead of system.out (standard way, and allows the output to be seen from maven2 javadoc plugins as well)
* works also if the subpackages parameter is not specified on the command line
* added javadoc comments
* other smallish fixes
2006-06-02 09:36:19 +00:00
Andrea Aime 19989b3736 String formatting fix, and don't show package names in the package class diagram (waste of space, all classes do come from the same package anyway) 2006-06-02 09:19:00 +00:00
Andrea Aime 73c2338bce Avoid re-computing the set of returned options, which is really just composed of a handful of possibilities, optimize a little, and fixed a few bugs 2006-06-02 09:17:55 +00:00
Andrea Aime 78bea1ee77 Allow the reuse of the context matcher computed relations for various context center classes in order to speed up UMLDoc, which uses this one heavily.
Also, add an option to avoid overriding class hiding specified in the parent option provider, since the hides specifed for the doclet should not be modified in a context class diagram
2006-06-02 09:16:32 +00:00
Andrea Aime 8ad82c975c Update according to changes in ContextMatcher 2006-06-02 09:10:31 +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 a1f3f6ab6c A few changes related to the needs of UMLDoc to generate relative links between diagrams in javadoc files, and a few that are needed for a separate project I'm working on: an "interactive" version of UMLGraph that allows the parsing of source files just once, and re-parses just the views when the user asks for, so that it's way faster to build the views by iterative changes on a big source code base (that code is in such a bad shape now that I don't feel like commiting it now) 2006-06-02 09:03:32 +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 17779ac68b Classdoc and rootdoc wrappers used to improve the performance of UMLDoc 2006-06-02 08:47:47 +00:00
Diomidis Spinellis bdfc02ae06 Add an entry for the UML with dot site. 2006-05-23 06:30:38 +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
Diomidis Spinellis 23fbf7ff19 Fix XML validity errors. 2006-03-05 20:06:14 +00:00
Diomidis Spinellis bdc1e297ae Fix missing <notes> to have the file follow the XML schema. 2006-03-05 19:52:27 +00:00
Diomidis Spinellis b7a7c2335e We don;t need to go over Ghsotscript any more for creating .gif files,
because dot now offers anti-aliased drawing.
2006-03-05 19:45:44 +00:00
Diomidis Spinellis 6f36d06dc8 Update release date for 4.3 2006-03-05 19:45:05 +00:00
Andrea Aime 8e35628205 Stronger checks for view folders existence and accessibility. Let's see if you get a better error message. 2006-03-05 08:50:17 +00:00
Andrea Aime 44d645541a Unfortunately, some commits ago I added a bug in testing code that went
un-noticed since I never wiped out the testdata-out folder contents. Anyway,
 I've fixed the bug and made sure all .dot and .png files are removed from the
folder as the test starts, so that a similar problem won't stay hidden in future.

Anyway, the error you sent me seem to be something different (possibly HTML
code generation, dot is very picky about what HTML it can parse).
Can you try again with this patch and let me know? If you see again that error,
can you send me a few of those failing dot files?

Moreover, what dot version do you have? I have version 2.6 (Sun Aug 28
13:14:52 UTC 2005).

About my aliceposta mail address, I don't know, I'm receiving mail so it cannot
be fully broken, but yes, it's not the first message I don't receive this week.
The mail you sent me thru istlab.dmst.aueb.gr arrived fine (but it's just a
redirector, isn't it?).

Wow... pretty long for a commit message :-)
I'll be online again in the late afternoon. See you.
Andrea
2006-03-04 12:45:13 +00:00
Diomidis Spinellis 96163568f4 Update version number. 2006-03-02 22:26:10 +00:00
Diomidis Spinellis f6e22bc3d5 Fix wording. 2006-03-02 22:22:21 +00:00
Diomidis Spinellis f2e38d03e5 Add CQ blurb. 2006-03-02 22:22:12 +00:00
Diomidis Spinellis 9d6602d0f5 Add Mac OS X explanation. 2006-03-02 15:13:14 +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 f7f0725667 New regression test to make sure the fixed bug doesn't get back 2006-02-23 19:46:45 +00:00
Andrea Aime fd167e489e A couple of tests added 2006-02-18 11:09:26 +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 bca022de5b New options documentation, a sample on font usage, updated release notes. 2006-02-18 11:07:33 +00:00
Andrea Aime 14c71ffd5a A few thing have been done. Removed them from the todo list. 2006-02-12 09:43:03 +00:00
Andrea Aime 6fc777d81f Added a couple of methods, a concrete and an abstract one, in the same class 2006-02-12 09:40:46 +00:00
Andrea Aime ea955c8b37 New set of reference files 2006-02-12 09:40:13 +00:00