Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into tests | Waylan Limberg | 2009-06-17 | 3 | -4/+36 |
|\ | |||||
| * | Fixed ticket 35. Lists now work when padded with five or more spaces after ↵ | Waylan Limberg | 2009-06-17 | 3 | -4/+36 |
| | | | | | | | | asterisk. Adjusted regex to eat all (one or more) of the spaces. While it may seem wrong (at least in the loose list case), this is how all other implementations work. And it solves a number of edge cases otherwise not accounted for in the list parser. | ||||
* | | Fixed UnicodeDecodeErrors from some of the php & pl tests when normalizing ↵ | Waylan Limberg | 2009-06-16 | 2 | -2/+3 |
| | | | | | | | | whitespace with tidy. | ||||
* | | Added tests from php test framework. The tests are currently set to be ↵ | Waylan Limberg | 2009-06-15 | 61 | -0/+2423 |
| | | | | | | | | skipped as most fail on various edge cases. | ||||
* | | Moved perl's MarkdownTest test files into new testing framework. One 2004 ↵ | Waylan Limberg | 2009-06-15 | 145 | -4233/+14 |
| | | | | | | | | test and 23 2007 tests are failing so I set them to be skipped for now. We'll have to explore those failures later. A few may be issues with normalization, but most appear to be edgecases with markdown. | ||||
* | | Last few changes to get other test frameworks to work. Added config options ↵ | Waylan Limberg | 2009-06-15 | 1 | -6/+6 |
| | | | | | | | | to set file extensions and a few other tweeks. | ||||
* | | Added 'skip' as a config option. Individual tests or whole dirs can be ↵ | Waylan Limberg | 2009-06-15 | 1 | -4/+8 |
| | | | | | | | | skipped by adding 'skip=1' to test.cfg. | ||||
* | | Cleaned up test descriptions for TestSyntax tests. They now only display a ↵ | Waylan Limberg | 2009-06-14 | 1 | -25/+42 |
| | | | | | | | | relative path. Had to reimplement os.path.relpath from python 2.6 for it to work in previous versions. | ||||
* | | Altered HtmlOutput nose plugin to slow skipped tests. | Waylan Limberg | 2009-06-06 | 1 | -1/+1 |
| | | |||||
* | | Added support for a 'normalize' setting in test.cfg which uses HTML Tidy to ↵ | Waylan Limberg | 2009-06-06 | 1 | -11/+46 |
| | | | | | | | | normalize whitespace for running tests against other testing framework's tests files (i.e.: perl or php). Hopefully, I got Tidy's settings right so that only unsignificant whitespace is altered. There's always the possability this could hide some bugs. | ||||
* | | renamed 'markdown-test' to 'basic' as that what those tests actually are. ↵ | Waylan Limberg | 2009-06-05 | 45 | -2/+0 |
| | | | | | | | | Also resolved issue with api tests being autodiscovered. test_apis.py was executable so nose was ignoring it. | ||||
* | | And more cleanup. Removed old suite from api tests. | Waylan Limberg | 2009-06-05 | 1 | -20/+0 |
| | | |||||
* | | More cleanup. Added some doc strings. Removed old testing framework files. | Waylan Limberg | 2009-06-05 | 4 | -582/+13 |
| | | |||||
* | | Remove old base.py nose code. I thought this was gone a long tiem ago. | Waylan Limberg | 2009-06-05 | 1 | -62/+0 |
| | | |||||
* | | Updated setup.py to properly include test data. | Waylan Limberg | 2009-06-05 | 2 | -2/+6 |
| | | |||||
* | | Updated Manifest.in to include test files. | Waylan Limberg | 2009-06-05 | 1 | -0/+1 |
| | | |||||
* | | Added safe_mode tests for the modes remove and replace. | Waylan Limberg | 2009-06-05 | 5 | -0/+212 |
| | | |||||
* | | Updated new test.cfg settings files to support sections for individual ↵ | Waylan Limberg | 2009-06-05 | 32 | -18/+40 |
| | | | | | | | | files. Extension tests were rearranged to take advantage of this with all extensions in one dir (actually two - a seperate dir for extra and its related extensions) and a seperate section for each file in test.cfg. | ||||
* | | Cleaned up some names for cleaner, more consistant result and code in ↵ | Waylan Limberg | 2009-06-05 | 3 | -11/+13 |
| | | | | | | | | testing framework. | ||||
* | | Moves tests to a subdir of the markdown lib. | Waylan Limberg | 2009-06-05 | 226 | -0/+0 |
| | | |||||
* | | Initial implementation of nose testing. Still some cleanup to do, but this ↵ | Waylan Limberg | 2009-06-05 | 22 | -27/+513 |
|/ | | | | shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like. | ||||
* | Removing legacy extension. No real need to keep that old core around. I ↵ | Waylan Limberg | 2009-06-05 | 1 | -468/+0 |
| | | | | created it as a novialty and for comparisive testing anyway. We've moved on, it no longer works and I don't want to maintain it. It's in the git log if anyone wants it. | ||||
* | Fixed Ticket 34. stripToLevelTags now accounts for an empty document being ↵ | Waylan Limberg | 2009-06-05 | 1 | -3/+11 |
| | | | | returned (such as when a document only contains link references) and acts accordingly. | ||||
* | Upped version to 2.0.1-Final and added release notes.2.0.1 | Waylan Limberg | 2009-05-19 | 3 | -2/+18 |
| | |||||
* | Fixed ticket 32. When raw html starts a line, the raw html is only broken ↵ | Waylan Limberg | 2009-05-13 | 1 | -8/+9 |
| | | | | into a seperate block if it is a block tag. Inline tags are left in the block for the inline pattern as they should be. | ||||
* | Fixed ticket 33. Tweaked the regex for inline links so that the title is ↵ | Waylan Limberg | 2009-05-06 | 1 | -1/+1 |
| | | | | non-greedy - it no longer eats everything between the first links title and the last links title in a paragraph. Thanks to Charles Winebrinner for the report. | ||||
* | Updated docs for recent command line script changes. | Waylan Limberg | 2009-05-06 | 3 | -30/+21 |
| | |||||
* | Fixed commandline issues and upped version to 2.0.1-beta. Renamed ↵ | Waylan Limberg | 2009-05-05 | 4 | -15/+32 |
| | | | | markdown.py to markdown and added a markdown.bat wrapper for win32. Also had to put markdown script in a bin dir so it doesn't clash with the markdown lib dir because win32 doesn't allow a dir and file of the same name in same parent dir. | ||||
* | Improved inline pattern regex for em & strong and added tests. Fixes Ticket ↵ | Waylan Limberg | 2009-03-30 | 3 | -6/+36 |
| | | | | 30 and other related issues. Note that I went with php's behavior rather than perl's when we have have three (ie.: *** or ___) without a closing three. | ||||
* | Upped version to 2.0 and a few edits to release notes.2.0-Final | Waylan Limberg | 2009-03-30 | 2 | -2/+5 |
| | |||||
* | Added release notes for 2.0 | Waylan Limberg | 2009-03-30 | 1 | -0/+64 |
| | |||||
* | Fixed a bug where Markdown choked on input of only whitespace. Added some tests. | Waylan Limberg | 2009-03-21 | 2 | -1/+21 |
| | |||||
* | Fixed a documentation error with recent wikilinks update and added a ↵ | Waylan Limberg | 2009-03-21 | 2 | -1/+10 |
| | | | | regression test to make sure it continues to work. | ||||
* | Cleaning up some stuff from last commit. | Waylan Limberg | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | Fixed a few bugs in wikilinks url cleaning. And for those who don't like the ↵ | Waylan Limberg | 2009-03-20 | 3 | -5/+33 |
| | | | | default, added a config which accepts a callable to replace the default. Updated tests and docs. | ||||
* | Set version to 2.0-rc2. | Waylan Limberg | 2009-03-19 | 2 | -3/+2 |
| | |||||
* | Added documentation for the rest of the extensions included with the ↵ | Waylan Limberg | 2009-03-19 | 8 | -1/+469 |
| | | | | distribution. | ||||
* | Added documentation for Extra Extension and all the extentions it supports. ↵ | Waylan Limberg | 2009-03-18 | 7 | -0/+433 |
| | | | | Still need to do non-extra extensions. | ||||
* | Fixed bug in toc extension and added a test. We now disallow the marker in ↵ | Waylan Limberg | 2009-03-18 | 3 | -1/+19 |
| | | | | any headers (h1-6) as this crashes markdown with an infinite loop trying to build the toc. Thanks for the report Holger Rapp. | ||||
* | Added extension subdir to docs with index listing all included extensions. ↵ | Waylan Limberg | 2009-03-17 | 2 | -1/+46 |
| | | | | Now we just need to document each one. | ||||
* | Fixed various typos etc in the docs. | Waylan Limberg | 2009-03-17 | 3 | -18/+18 |
| | |||||
* | Added docs regarding output formats and a few other changes/cleanup to the docs. | Waylan Limberg | 2009-03-16 | 3 | -13/+43 |
| | |||||
* | Output formats are now listed in a Dict mapped to their respective ↵ | Waylan Limberg | 2009-03-16 | 1 | -6/+13 |
| | | | | serializers. Extensions can now easily add their own serializers. | ||||
* | Updated docs for command line usage. | Waylan Limberg | 2009-03-16 | 1 | -12/+62 |
| | |||||
* | Allow markdown.py script to run on Windows - stop it from importing itself ↵ | Waylan Limberg | 2009-03-16 | 1 | -0/+11 |
| | | | | instead of the library. Note that this only works if the markdown library is installed (mostly likely in sitepackages). It will not work if the markdown library is in the same directory as markdown.py (such as an uninstalled source distribution). | ||||
* | Fixed ticket 25. Added reset to HeaderID extension. Reset now resets the ↵ | Waylan Limberg | 2009-03-13 | 1 | -5/+8 |
| | | | | duplicate id counter. | ||||
* | Slight change to convertFromFile - better checking of type of output ↵ | Waylan Limberg | 2009-03-12 | 1 | -1/+1 |
| | | | | (filename or file-like-object). | ||||
* | Added table elements to block elements so tables get prettified and updated ↵ | Waylan Limberg | 2009-03-11 | 2 | -7/+120 |
| | | | | tables extension test. | ||||
* | Replacement Tables extension. This one actually uses a known (PHP Extra) ↵ | Waylan Limberg | 2009-03-11 | 3 | -76/+116 |
| | | | | syntax and is implemented as a blockprocessor. Currently, Markdown doesn't see table elements as block elements, so it doesn't get prettified. | ||||
* | Fixed bug in tables extension (ticket 24). This extension could still use a ↵ | Waylan Limberg | 2009-03-09 | 3 | -4/+3 |
| | | | | major refactor, but it at least works as documented. |