aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into testsWaylan Limberg2009-06-173-4/+36
|\
| * Fixed ticket 35. Lists now work when padded with five or more spaces after ↵Waylan Limberg2009-06-173-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 Limberg2009-06-162-2/+3
| | | | | | | | whitespace with tidy.
* | Added tests from php test framework. The tests are currently set to be ↵Waylan Limberg2009-06-1561-0/+2423
| | | | | | | | skipped as most fail on various edge cases.
* | Moved perl's MarkdownTest test files into new testing framework. One 2004 ↵Waylan Limberg2009-06-15145-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 Limberg2009-06-151-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 Limberg2009-06-151-4/+8
| | | | | | | | skipped by adding 'skip=1' to test.cfg.
* | Cleaned up test descriptions for TestSyntax tests. They now only display a ↵Waylan Limberg2009-06-141-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 Limberg2009-06-061-1/+1
| |
* | Added support for a 'normalize' setting in test.cfg which uses HTML Tidy to ↵Waylan Limberg2009-06-061-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 Limberg2009-06-0545-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 Limberg2009-06-051-20/+0
| |
* | More cleanup. Added some doc strings. Removed old testing framework files.Waylan Limberg2009-06-054-582/+13
| |
* | Remove old base.py nose code. I thought this was gone a long tiem ago.Waylan Limberg2009-06-051-62/+0
| |
* | Updated setup.py to properly include test data.Waylan Limberg2009-06-052-2/+6
| |
* | Updated Manifest.in to include test files.Waylan Limberg2009-06-051-0/+1
| |
* | Added safe_mode tests for the modes remove and replace.Waylan Limberg2009-06-055-0/+212
| |
* | Updated new test.cfg settings files to support sections for individual ↵Waylan Limberg2009-06-0532-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 Limberg2009-06-053-11/+13
| | | | | | | | testing framework.
* | Moves tests to a subdir of the markdown lib.Waylan Limberg2009-06-05226-0/+0
| |
* | Initial implementation of nose testing. Still some cleanup to do, but this ↵Waylan Limberg2009-06-0522-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 Limberg2009-06-051-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 Limberg2009-06-051-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.1Waylan Limberg2009-05-193-2/+18
|
* Fixed ticket 32. When raw html starts a line, the raw html is only broken ↵Waylan Limberg2009-05-131-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 Limberg2009-05-061-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 Limberg2009-05-063-30/+21
|
* Fixed commandline issues and upped version to 2.0.1-beta. Renamed ↵Waylan Limberg2009-05-054-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 Limberg2009-03-303-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-FinalWaylan Limberg2009-03-302-2/+5
|
* Added release notes for 2.0Waylan Limberg2009-03-301-0/+64
|
* Fixed a bug where Markdown choked on input of only whitespace. Added some tests.Waylan Limberg2009-03-212-1/+21
|
* Fixed a documentation error with recent wikilinks update and added a ↵Waylan Limberg2009-03-212-1/+10
| | | | regression test to make sure it continues to work.
* Cleaning up some stuff from last commit.Waylan Limberg2009-03-201-1/+1
|
* Fixed a few bugs in wikilinks url cleaning. And for those who don't like the ↵Waylan Limberg2009-03-203-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 Limberg2009-03-192-3/+2
|
* Added documentation for the rest of the extensions included with the ↵Waylan Limberg2009-03-198-1/+469
| | | | distribution.
* Added documentation for Extra Extension and all the extentions it supports. ↵Waylan Limberg2009-03-187-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 Limberg2009-03-183-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 Limberg2009-03-172-1/+46
| | | | Now we just need to document each one.
* Fixed various typos etc in the docs.Waylan Limberg2009-03-173-18/+18
|
* Added docs regarding output formats and a few other changes/cleanup to the docs.Waylan Limberg2009-03-163-13/+43
|
* Output formats are now listed in a Dict mapped to their respective ↵Waylan Limberg2009-03-161-6/+13
| | | | serializers. Extensions can now easily add their own serializers.
* Updated docs for command line usage.Waylan Limberg2009-03-161-12/+62
|
* Allow markdown.py script to run on Windows - stop it from importing itself ↵Waylan Limberg2009-03-161-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 Limberg2009-03-131-5/+8
| | | | duplicate id counter.
* Slight change to convertFromFile - better checking of type of output ↵Waylan Limberg2009-03-121-1/+1
| | | | (filename or file-like-object).
* Added table elements to block elements so tables get prettified and updated ↵Waylan Limberg2009-03-112-7/+120
| | | | tables extension test.
* Replacement Tables extension. This one actually uses a known (PHP Extra) ↵Waylan Limberg2009-03-113-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 Limberg2009-03-093-4/+3
| | | | major refactor, but it at least works as documented.