430 Commits

Author SHA1 Message Date
Michael Mathews
afb2a3226a Merge pull request #137 from hegemonic/circular-refs
Parser creates circular references in enums
2012-07-03 15:26:31 -07:00
Jeff Williams
c095b6e20c add a strict validation option (defaults to true) that controls whether validation errors are fatal (issue #134) 2012-07-02 22:52:46 -07:00
Jeff Williams
5f23be1251 use doop() to break circular refs in enums, and add test for circular refs in enums 2012-07-02 20:49:26 -07:00
Jeff Williams
06c73c157d fix parser.js so it doesn't throw exceptions when parsing itself 2012-07-01 16:26:09 -07:00
Michael Mathews
6d914ee30e Added support for including README.md content on the output index page. Closes #128 2012-06-21 22:46:32 +01:00
Michael Mathews
b23811db6c Merge branch 'master' of github.com:jsdoc3/jsdoc 2012-06-21 21:10:08 +01:00
Michael Mathews
c29e4e3309 Add support for default configuration values. Closes Issue #129. References Issue #126. 2012-06-21 21:09:40 +01:00
Ben Blank
a3c2147e17 make allowances for Windows-style paths when testing 2012-06-16 15:41:31 -07:00
Michael Mathews
ef37251464 Fix for exception thrown when documenting symbols with special names like "hasOwnProperty". Closes #125. 2012-06-07 22:36:22 +01:00
Michael Mathews
810dd7f7fd Improved support for @alias when documenting inner classes as global. 2012-06-06 15:32:16 +01:00
Michael Mathews
1f6f4a7ee7 Added support for "include" and "exclude" of source files in the project configuration. Closes issue #56. 2012-06-01 00:00:02 +01:00
Michael Mathews
95bb744fee Added tests for include.resolve function. Covers feature added in pull #122 2012-05-30 21:59:28 +01:00
Jannon
526a22673a Update readme docs 2012-05-06 03:41:04 -07:00
Jannon
a6f68d838c Plugin tests
Tests for the plugin framework as well as for the plugins shipping with JSDoc
2012-05-06 00:43:22 -07:00
Jannon
034205baa8 Testing Framework Upgrade Part II
The second half of the first phase of the testing framework upgrade.  This finishes moving the exisintg tests to jasmine and the new test directory structure
2012-05-04 18:52:19 -07:00
Jannon
2d73440b3d Testing Framework Upgrade Part I
This first part of the testing framework upgrade:

- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint.  About 1/3 of the tests have been converted.  The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00
Jannon
1252d83ebc A couple more tests of exisiting functions as object keys 2012-04-23 20:22:52 -07:00
Jannon
11aacdef1b Fix for valueOf key in object literals
This is a test (provided by julienbachmann) and a fix for an issue where the parser crashes when valueOf is used as a key in an object literal
2012-04-21 04:04:48 -07:00
Jannon
6145b7ff69 Readme additions and pull request instructions
The primary change is the addition of the HOW_TO_CONTRIBUTE file detailing the best way to make it easy for maintainers to merge pull requests.
2012-04-21 03:14:29 -07:00
Jannon Frank
dfd5955719 Merge pull request #100 from jannon/ExtendsTypeFix
Allow braces for @extends values (e.g. {Type})
2012-03-21 02:03:58 -07:00
Jannon Frank
d2529644b6 Merge pull request #98 from jannon/IgnoreValueFix
Test and fix for #84
2012-03-21 02:03:34 -07:00
Jannon
64ae4c013b Allow braces for @extends values (e.g. {Type})
Fixes#96.  Includes test
2012-03-21 01:58:41 -07:00
Jannon
9896096b88 Test and fix for #84 2012-03-21 00:02:44 -07:00
Jannon
f717abf6e1 fix and tests for #55 2012-03-20 23:24:21 -07:00
Jannon
ecf2cfba3c Fix the recursive alias resolve test and track global variables so global aliases can be resolved 2012-03-15 22:13:08 -07:00
Jannon
a2259ac14c adding recursive alias resolving from rafalwrzeszcz 2012-03-15 20:09:50 -07:00
Tim Schaub
625a2812f0 Properly inherit members from grandparents.
Previously, inheritance only worked one level deep.  With this change, inherited members are added to the docs after processing each doclet.  This allows for proper inheritance to an arbitrary depth.
2012-02-04 11:49:10 -07:00
Rafał Wrzeszcz
2153d7cd0c Tutorials sample to tests. 2011-12-15 13:46:40 +01:00
Rafał Wrzeszcz
fcc26990ca @abstract/@virtual tag support. 2011-12-10 10:27:33 +01:00
Michael Mathews
d7e74062b1 Fixed issue that caused members of named function statements to have the wrong memberof attributes generated by the parser. Closes Issue #60. 2011-11-20 22:12:51 +00:00
Michael Mathews
ce435bed51 Members of enum automatically get a default value. 2011-10-27 00:20:33 +01:00
Michael Mathews
2351776bdf Members of an @enum no longer require doc comments to appear in the documentation. 2011-10-26 23:50:57 +01:00
Michael Mathews
3175288d63 Added feature: if omitting the name of a @param, JSDoc will use the name from the parameter list in the source code. 2011-10-20 23:15:40 +01:00
Michael Mathews
39667e6b47 Added test cases for @memberof! tag. 2011-10-15 20:46:12 +01:00
Michael Mathews
39b5e09bb6 Fixed issue that caused incorrect longname to be calculated when a @memberof tag was applied to a constructor nested within another constructor. 2011-10-15 16:15:19 +01:00
Michael Mathews
134227b6d4 Added support for @variation tag. 2011-10-14 20:41:06 +01:00
Michael Mathews
badf1fcacd Added unit tests for @enum. 2011-10-08 22:00:38 +01:00
Michael Mathews
a406e1cebc Merge branch 'inline_property_tags' 2011-10-08 10:26:06 +01:00
Michael Mathews
7d840bcaa3 The event namespace is now optional for symbols mentioned in @fires tags. Closes #40. 2011-10-07 20:42:23 +01:00
Michael Mathews
df45f945b4 Fix for case where a @lends tag was on an object literal, and an anonymous @constructs tag was on a property would throw an error. 2011-10-06 21:34:13 +01:00
Michael Mathews
2e857fcecc Added support for @enum. Rename old @property to @member. 2011-09-26 14:46:31 +01:00
Michael Mathews
31161fc9b6 Rename old @property tag to @member. 2011-09-24 21:52:35 +01:00
Michael Mathews
f37bd95c6c Added support for @property tags in doclets that have kinds, no template output yet. 2011-09-24 21:26:09 +01:00
Michael Mathews
dbc9c428a6 Fix for broken /*!* test. (hat tip tschaub) 2011-09-24 08:26:00 +01:00
Michael Mathews
de4f31b46e Now support /*!* comments. Closes #26. 2011-09-23 22:04:53 +01:00
tschaub
497982de67 Tests for adding inherited members. 2011-09-20 17:22:36 -06:00
Michael Mathews
0341d71d4b When a function symbol has an @constructs tag with no value, in a @lends block with a "Name#" value, the function is documented as a constructor of "Name". Closes #31. 2011-09-13 10:07:47 +01:00
Michael Mathews
bf21286685 The value for a @constructs tag can now be inferred from the source code, if no value is provided. Closes #31. 2011-09-12 21:38:50 +01:00
Michael Mathews
dfe7474ece Inner functions are now tracked, same as inner vars. Fixes bug where some inner functions were not documented as members of their enclosing function. Closes #30. 2011-09-08 23:34:00 +01:00
Michael Mathews
e3e79e4742 Fix scope property for symbols documented as members of <global>. 2011-09-02 21:26:15 +01:00