- Dec 20, 2011
-
-
Rene Saarsoo authored
All keywords are now treated as different token types, so we don't confuse function and "function".
-
- Dec 16, 2011
-
-
Rene Saarsoo authored
For each member we now show a list of all the members that it overrides (if there are any). No more needs one wonder if the method happens to override a method in some parent class or mixin - the information is right the in the docs. This implementation mostly works. However I have to refactor it around a bit to ensure it doesn't misbehave when parallel-processing is used.
-
Rene Saarsoo authored
The error-handling code had gone out-of sync with the rest. The Index controller had been renamed, and so error handling failed. Now there is a separate Failure controller. In addition to Classes and Guides, error messages are now also shown when loading of videos or examples fails.
-
- Dec 15, 2011
-
-
Rene Saarsoo authored
-
- Dec 14, 2011
-
-
Rene Saarsoo authored
Let the parsed function literal name default to empty string, not nil.
-
- Dec 13, 2011
-
-
Rene Saarsoo authored
The 4 shared properties are now created in one single method.
-
Rene Saarsoo authored
This way the private accessors will be able to hide public accessors in parent.
-
Rene Saarsoo authored
The rendering of meta-tags is now performed inside ClassFormatter like the rendering of most other stuff. The result of rendering is stored to :html_meta field (to keep the plain :meta field for purposes of export). The performance gains of doing it all once are very small, but we should now get less duplicate error messages for bad @links, which is nice. Additionally all Exporter classes can now get rid of opts parameter, which was only needed for instanciating DocFormatter, but that's now done inside ClassFormatter.
-
Rene Saarsoo authored
Previously ClassFormatter removed all information about private members, resulting in info about private members getting lost and so @private in subclass not hiding public member in parent class. Fixed by leaving all private members intact. Additionally minor enhancement for test, so it actually tests if private member in subclass hides public member of parent. This part of the code worked fine before too, just the test was not really testing for it.
-
Nick Poulden authored
-
- Dec 09, 2011
-
-
Rene Saarsoo authored
The feature-detection of XDomainRequest didn't work out well as in IE7-mode of IE8/9 the XDomainRequest object exists, but ExtJS itself checks for IE >=8 when doing CORS request, which fails in IE7-mode - the whole thing resulting in crash.
-
- Dec 08, 2011
-
-
Rene Saarsoo authored
static and protected attributes are now looked from meta.
-
- Dec 07, 2011
-
-
Rene Saarsoo authored
Somehow the 3.2.0 version already existed in rubygems.org but was dysfunctional.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Matching aliases are now separately listed in search results, just like alternateClassNames - they also use the same icon. Each search data record now defines its own sorting order using the "sort" field. The filterMembers method in turn groups the results by full-, beginning- and middle-matches. This significantly simplifies the search algorithm - no more is there a special handling of aliases.
-
Rene Saarsoo authored
Changed search records structure around a bit: - "type" field is now either "class" or "member". - new "icon" field defines the icon to show. - "id" is defined for each record and identified the search result. For example the id of alternateClassName record is the name of the original class. - simplified the code a bit in the filterMembers method that performs the actual searching. For alternateClassNames we show the subclass icon. Should be good enough for now.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
A better style than checking for types of values. More Rubyish too.
-
Nick Poulden authored
-
Nick Poulden authored
-
- Dec 06, 2011
-
-
Rene Saarsoo authored
Implementation is quite simple - we parse the JSON into array of options and pass it to existing optparser instance. Additionally we evaluate all paths in config file relative to the location of config file. jsduck --config path/to/config.json Config file syntax is quite simple: { "--guides": "guides.json", "--warnings": ["+all", "-link"], "--": ["file1.js", "file2.js", "file3.js" } Passing this as config will be the same as invoking jsduck with: jsduck --guides guides.json --warnings +all --warnings -link file1.js file2.js file3.js
-
Rene Saarsoo authored
The Logger class now disables all warnings by default, which is good for testing. When running JSDuck app, the needed warnings are enables explicitly by Options class.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
- Color codes like #AAA, #00FF00 - Filenames like index.html, app.js - Member names beginning with number
-
Rene Saarsoo authored
Quite often this form is used in text instead of SomeClass#method.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Dec 05, 2011
-
-
Nick Poulden authored
-
Nick Poulden authored
-
Rene Saarsoo authored
The loading of all meta-tags at the start of several test-suites slowed things down quite a bit. Now only loading support for @static in most places and only loading the full set of meta-tags in one suite that tests all of them. Also moving @markdown tag test to be together with other meta-tag tests. Got the running time of tests down from 1.18 to 0.85 seconds. That's about 1/4 faster. Not much, but it's a good goal to keep the running time under a second.
-
Rene Saarsoo authored
Also document why it does things the way it does.
-
Rene Saarsoo authored
When #foo is found inside text, it is automatically interpreted as {@link #foo} when the current class happens to have a member called #foo.
-
Rene Saarsoo authored
Previous implementation was very hackish. Now only doing auto-detection when not inside HTML tag (i.e. between <...>) and when not already inside HTML link (i.e. between <a>...</a>). As a result the #replace_class_names method is quite a bit simpler, as it can be sure that it's always executed in valid context.
-
Rene Saarsoo authored
-
- Dec 04, 2011
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Previoulsy they were white on white, which was a horrible default.
-
Rene Saarsoo authored
Previously the list was hard-coded. Now all meta-tags with signature defined are automatically included, and the order is the alphabetical order of filenames (for builtin tags).
-
Rene Saarsoo authored
-