470 Commits

Author SHA1 Message Date
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
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
Michael Mathews
402159b8a8 Merge pull request #113 from kuebk/template/index
Creating index.html in default template
2012-04-26 14:30:08 -07:00
Michael Mathews
85abf804a5 Merge pull request #114 from benblank/markdown
Improve Markdown support
2012-04-26 14:25:43 -07:00
Ben Blank
27d043d23e correct gfm example and add explanation for multiple parsers 2012-04-26 10:58:48 -07:00
Ben Blank
f549b7061f add documentation for Markdown plugin 2012-04-26 09:13:08 -07:00
Ben Blank
f45d9bbccc rename gfmHardwrap config option to hardwrap for agreement with dialect and future-proofing 2012-04-26 08:34:34 -07:00
Jakub Lekstan
96dcf0c9c5 Creating index.html in default template 2012-04-25 11:12:31 +02:00
Ben Blank
22ce570985 tweak default template to support <p> tags within descriptions 2012-04-24 17:19:44 -07:00
Ben Blank
f47bcce5b1 fix description-clobbering bug in string property handling, don't parse inherited properties, add @classdesc to default tags 2012-04-24 17:19:34 -07:00
Ben Blank
79590baac7 add dialect parameter for evilstreak Markdown parser 2012-04-24 17:19:16 -07:00
Jannon Frank
e35ddfab69 Merge pull request #112 from jannon/FixFor103
A couple more tests of exisiting functions as object keys
2012-04-23 20:25:51 -07:00
Jannon
1252d83ebc A couple more tests of exisiting functions as object keys 2012-04-23 20:22:52 -07:00
Jannon Frank
92fc3ff4fc Merge pull request #111 from jannon/RailsTagPlugin
A plugin that removes <%…%> tags from .erb files
2012-04-23 19:51:59 -07:00
Jannon
0aaee99533 A plugin that removes <%…%> tags from .erb files 2012-04-23 19:26:46 -07:00
Jannon Frank
544f6126a2 Merge pull request #110 from benblank/windows
Add "short-form" command for Windows
2012-04-22 02:35:04 -07:00
Ben Blank
660338e93b allow GFM hardwrapping to be disabled
Note that hardwrapping is enabled by default in the GFM script (to preserve its behavior), but that it is disabled by default in the JSDoc plugin, as that seems more useful for inline documentation.
2012-04-21 08:19:58 -07:00
Ben Blank
8279f908d4 allow Markdown in more than just top-level descriptions 2012-04-21 08:19:49 -07:00
Ben Blank
d4bfc564b6 add configuration support to plugins/markdown 2012-04-21 08:19:31 -07:00
Ben Blank
a49fc092fb add CommonJS module exports for Showdown and make its GFM extensions sandboxable 2012-04-21 08:19:21 -07:00
Ben Blank
0003041ad9 add GFM script 2012-04-21 08:19:11 -07:00
Jannon Frank
f2b444bdb2 Merge pull request #109 from jannon/ObjectLiteralValueOfKeyFix
Fix for valueOf key in object literals
2012-04-21 04:06:38 -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 Frank
562816c75d Merge pull request #108 from jannon/ProjectAdmin
Readme additions and pull request instructions
2012-04-21 03:21:29 -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
3ac7e8ba29 Merge pull request #105 from wallesspotify/master
Explicitly set background to white and scroll bars to auto.
2012-04-20 20:44:55 -07:00
Ben Blank
f962577793 added short-form command for Windows 2012-04-18 16:28:42 -07:00
Johan Walles
2337084349 Explicitly set background to white and scroll bars to auto.
When displaying documentation pages inside of the Spotify client
without this change, the pages have the wrong background color and
aren't scrollable.
2012-04-13 11:16:19 +02:00
Michael Mathews
2f8c9cc3be Updated README to include cwd as module arg in the debugging example too. 2012-04-04 07:46:51 +01:00
Michael Mathews
74c5faa71c Updated README to include cwd as module arg in the example. [hattip Kristian] 2012-04-04 07:44:27 +01: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
614c75c2a7 Merge pull request #99 from jannon/HTML5ShivAdd
Adding HTML5Shiv for crappy IE
2012-03-21 02:03:46 -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 Frank
3e8972ab9e Merge pull request #97 from jannon/InlineCommentFix
fix and tests for #55
2012-03-21 02:03:21 -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
a3cdf01397 Adding HTML5Shiv for crappy IE 2012-03-21 00:12:31 -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 Frank
60730696c7 Merge pull request #92 from jannon/MiscUpdates
Misc updates
2012-03-16 03:14:23 -07:00
Jannon
00f3ed8dc6 typo fix in template helper and changes for split path and filename in doclet.meta 2012-03-16 03:06:26 -07:00
Jannon
cf023b0461 Use non-reserved word for name of arguments variable
The jsdoc.js file is processed twice for some reason when executing from the jsdoc3 ant task (github.com/jannon/jsdoc3-ant-task), but the arguments variable remains the same so the second pass is missing the "dirname option that was spliced out the first time.  Trouble ensues.

Although the root cause of that is unknown, there's no reason not to just be safe and name the variable something else.  Now, during the second pass, the arguments retains it's original value.
2012-03-16 02:51:14 -07:00
Jannon
3d1d9d7321 Use conf.json.EXAMPLE and .gitignore conf.json to changes don't affect repo status
To make it no impact, if JSDoc can't find a conf.json, it looks for conf.json.EXAMPLE and copies that over.
2012-03-16 02:49:17 -07:00
Jannon
60197c6164 Add 'install' task to Jakefile and ignore conf.json
Also adding wrench for directory copy goodness and pointing to more up-to-date Jake information
2012-03-16 02:46:39 -07:00
Jannon
28d0af0749 Separate doclet.meta.filename into doclet.meta.path and doclet.meta.filename when appropriate 2012-03-16 02:44:32 -07:00
Jannon
bcf1ab3870 Link updates 2012-03-16 02:42:58 -07:00
Jannon
c51595bfa6 Just some link updates 2012-03-16 02:40:47 -07:00
Jannon Frank
eeb6611ea5 Merge pull request #78 from rafalwrzeszcz/feature-template-helper
Feature template helper
2012-03-16 01:56:53 -07:00
Jannon Frank
454bd353d8 Merge pull request #91 from jannon/UniqueFilenames
The name collision solution from rafalwrzeszcz (#73)
2012-03-16 00:52:46 -07:00