121 Commits

Author SHA1 Message Date
Konstantin Pozin
cf1e65e162 Added doclet parsing for object literal getters and setters (#150) 2012-07-11 09:30:18 -04:00
Konstantin Pozin
73ed12733d Added doclet parsing for object literal getters and setters (#100) 2012-07-11 09:26:50 -04:00
Konstantin Pozin
9196f730de Added doclet parsing for object literal getters and setters (#100) 2012-07-11 09:20:04 -04:00
Jeff Williams
40871349be disable JSHint's "sub" relaxing option 2012-07-10 06:56:35 -07:00
Jeff Williams
0dcb756ede disable JSHint's "smarttabs" relaxing option
and completely detab all files that have mixed spaces/tabs
2012-07-10 06:54:26 -07:00
Jeff Williams
ff62a9099d disable JSHint's "shadow" relaxing option 2012-07-10 06:43:19 -07:00
Jeff Williams
6c5ad30c79 disable JSHint's "regexdash" relaxing option 2012-07-10 06:09:11 -07:00
Jeff Williams
64c9565e58 disable JSHint's "expr" relaxing option 2012-07-08 21:39:07 -07:00
Jeff Williams
f09b5f402f disable JSHint's "boss" relaxing option 2012-07-08 21:34:00 -07:00
Jeff Williams
51937112f4 Merge branch 'master' into jshint-clean-v2 2012-07-08 21:21:08 -07:00
Michael Mathews
fdf37fe137 Merge branch 'master' of github.com:jsdoc3/jsdoc 2012-07-08 01:12:12 +01:00
Michael Mathews
22e4812275 Allow externally documented objects to be extended, as if they were classes. Addresses Issue #145 2012-07-08 01:10:50 +01:00
Michael Mathews
51e1a785f8 Rhino likes the filepaths (all args really) to be url encoded, which is an issue if spaces appear in filepaths. This makes JSDoc cooperate better with that rule. 2012-07-08 01:07:49 +01:00
Jeff Williams
c43c183aaa disable JSHint's "asi" relaxing option 2012-07-06 07:40:24 -07:00
Jeff Williams
4524af7a09 enable JSHint's "latedef" test 2012-07-06 07:22:00 -07:00
Michael Mathews
4ead9aa4f9 Merge pull request #140 from hegemonic/ce287745f15f420ec31006e6435e4b4505bca0ee
Make JSDoc JSHint-clean (part 2)
2012-07-05 13:00:50 -07:00
Jeff Williams
0fd9a3fee1 replace broken --strict option with working --lenient option
also fixes the test so that console.log actually works after it runs.
2012-07-05 00:00:03 -07:00
Jeff Williams
ce287745f1 enable JSDoc's "trailing" test 2012-07-04 16:27:06 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00
Michael Mathews
ff78852907 Resolve merge conflict. 2012-07-05 00:21:54 +01:00
Jeff Williams
c60f68286f enable JSHint's "newcap" test 2012-07-04 16:05:08 -07:00
Jeff Williams
dabb0b4410 enable JSHint's "immed" test 2012-07-04 16:01:55 -07:00
Jeff Williams
769a71298e enable JSHint's "forin" test 2012-07-04 15:59:33 -07:00
Michael Mathews
901d17baa3 Small tweaks required to get ready for upgrade to rhino 1.7r4. 2012-07-04 23:53:19 +01:00
Jeff Williams
324af73dcf enable JSHint's "curly" test 2012-07-04 15:19:31 -07:00
Jeff Williams
40898c19a1 enable JSHint's "bitwise" test 2012-07-04 15:06:11 -07:00
Jeff Williams
77f505f2a1 don't use destructuring assignment
this fixes a JSHint error that cannot be suppressed.
2012-07-04 14:34:46 -07:00
Jeff Williams
f7aacfd80c escape - in regexp
this fixes a JSHint error that cannot be suppressed.
2012-07-04 08:14:17 -07:00
Jeff Williams
dac7203816 don't use each() to iterate over an array, and remove another unnecessary semicolon
this fixes a JSHint error that cannot be suppressed.
2012-07-03 19:07:19 -07:00
Jeff Williams
9ade2a2fe2 remove unnecessary semicolon
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:55:25 -07:00
Jeff Williams
366c33ffe6 fix comment that totally freaked out JSHint
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:53:38 -07:00
Jeff Williams
a54b51e276 detab files to eliminate mixed spaces/tabs
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:40:15 -07:00
Jeff Williams
ee858cc894 replace "unsafe" character with HTML entity
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:31:03 -07:00
Jeff Williams
43a1c9ea8b don't silently fall through in a switch statement
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:29:04 -07:00
Jeff Williams
da39bdd302 rename Object.prototype.hasOwnProperty alias to hasOwnProp
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:45:44 -07:00
Jeff Williams
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Michael Mathews
81f145708d Merge pull request #138 from hegemonic/strict-option
add a strict validation option that controls whether validation errors are fatal (issue #134)
2012-07-03 15:28:42 -07:00
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
08da5ce4f6 move doop() function to doop.js 2012-07-02 20:48:08 -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
c29e4e3309 Add support for default configuration values. Closes Issue #129. References Issue #126. 2012-06-21 21:09:40 +01: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
Jannon Frank
7d97a17421 Merge pull request #117 from jannon/SmartTestRunner
Upgrade testing framework
2012-05-06 03:59:43 -07:00
Michael Mathews
e0538ae011 Bugfix for exception thrown when the name of a member seen by the parser matches a name on the Object prototype. closes #116 2012-05-03 08:12:08 +01: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