- Nov 29, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Eventually I would like to move all unit tests to rspec.
-
- Nov 27, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Nov 26, 2010
-
-
Rene Saarsoo authored
Implemented Class.inherits_from? through which we check if class inherits from Ext.Component (or if needed, from any other class). Unlike in ext-doc we mark the Ext.Component itself also with component icon. It always had bothered me that the base component itself was not easily identifiable as component.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Previously they were interpreted as empty doc-comments.
-
Rene Saarsoo authored
-
- Nov 25, 2010
-
-
Rene Saarsoo authored
The same method now retrieves all members of a class: :cfg, :method, :property, and :event. Plus minor Merger enhancement - Missing name is now an empty string, not nil.
-
- Nov 24, 2010
-
-
Rene Saarsoo authored
Including the ones belonging to parent classes. All methods are augmented with :member field that says the class they belong to. In top-level filter_classes each Class instance also receives a hash of all classes - so that the Class.parent() method can return instance of parent class. Finally added some rudimentary tests for all this.
-
Rene Saarsoo authored
Introduction of ident/keyword separation broke this before, now it's working again.
-
Rene Saarsoo authored
Another regex v/s division tokenization enhancement.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
With that generalized the regex token detection - a division operator can never follow a keyword, but regex literal can.
-
- Nov 23, 2010
-
-
Rene Saarsoo authored
-
- Nov 22, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Both Page and Tree can now use these common methods without implementing their own.
-
Rene Saarsoo authored
Giving warinings for other types.
-
Rene Saarsoo authored
The to_html method currently creates the top section of page. Definitely quite buggy, but at least we have started it. JsDuck.write_tree now also outputs empty Docs.icons object, which keeps UI from crashing - but we should fill it with actual icons-map in the future.
-
- Nov 21, 2010
-
-
Rene Saarsoo authored
--output now specifies output directory. The tree is now written to file instead of stdio. --verbose turns on printing of parsing progress.
-
- Nov 18, 2010
-
-
Rene Saarsoo authored
JsDuck::Tree creates from doc-object list a tree structure consisting of Ruby Hashes and Arrays. Another method in jsduck.rb converts this to JSON and outputs. For all this added a unit test, but with it's single test it's mostly just a sanity check. The previous debug output was removed to separate method.
-
Rene Saarsoo authored
-
- Nov 17, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
jsduck script now reads filenames from command line, parses each one of them and prints out tree of classes and their properties.
-
- Nov 16, 2010
-
-
Rene Saarsoo authored
Not quite correct, but for now it's better for them to behave the same.
-
Rene Saarsoo authored
Again one of the most used @tags in ExtJS. Only supporting it in class declaration, plus some explicit logic to detect it when it appears after @constructor in class doc-comment.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Applies only to properties and methods. This was one of the most used @tags in ExtJS not already supported by JsDuck.
-
Rene Saarsoo authored
-