aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin'Waylan Limberg2010-03-150-0/+0
|\
| * Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵Waylan Limberg2010-03-013-1/+11
| | | | | | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now.
* | Fixed Ticket 53. Nested lists no longer isorder items in certain edge cases. ↵Waylan Limberg2010-03-153-1/+27
| | | | | | | | Thanks for the report and preliminary work Gerry LaMontagne.
* | Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵Waylan Limberg2010-03-153-1/+11
|/ | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now.
* Fixed some code that wasn't Python 2.4 compatible.Waylan Limberg2010-02-221-1/+1
|
* Updated last failing test as we no longer need a demo of a failing test now ↵Waylan Limberg2010-02-221-2/+2
| | | | that the branch is merged.
* Merge branch 'tests'Waylan Limberg2010-02-22299-4638/+3112
|\
| * Changes path of html output to be written into current dir rather than a tmp ↵Waylan Limberg2010-02-222-2/+2
| | | | | | | | dir. No need to create the tmp dir on first run.
| * Added documentation for the test suite.Waylan Limberg2010-02-141-0/+131
| |
| * Added run-tests.py script and added a helpful error message if nose is not ↵Waylan Limberg2010-02-132-5/+11
| | | | | | | | installed. Note the run-tests script will be used by simply running 'nosetests' from the commandline, so the hack in 'tests/__init__.py' has been removed.
| * Merge branch 'master' into testsWaylan Limberg2010-02-131-119/+0
| |\ | |/ |/|
* | Removed imagelinks extension. It never worked without some third party code ↵Waylan Limberg2010-02-131-119/+0
| | | | | | | | that has never been shipped with Markdown anyway - and that code it not readily available. See list discussion for more info.
| * Updated codehilite test to match new pygments output (they added an extra ↵Waylan Limberg2010-02-131-2/+2
| | | | | | | | div around line numbers).
| * Moved test dir back out of markdown lib. We don't need to install the tests ↵Waylan Limberg2010-02-12393-5/+2
| | | | | | | | in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc.
| * Moved remaining tests from mergeWaylan Limberg2010-02-1211-0/+6
| |
| * Merged tests branchWaylan Limberg2010-02-12438-4643/+2977
|/|
| * Merge branch 'master' into testsWaylan Limberg2009-06-173-4/+36
| |\
| * | 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.
* | | Refactored codehilite and fenced code, so now fenced code will also be ↵Lucas van Dijk2010-01-253-94/+94
| | | | | | | | | | | | highlited when codehilite extension is enabled
* | | Added pygments support to fenced_codeLucas van Dijk2010-01-241-13/+64
| | |
* | | Added processing of markdown text within raw html to the 'extra' extension. ↵Waylan Limberg2010-01-034-2/+32
| | | | | | | | | | | | Fixes Ticket 39. NOTE: I did not add a seperate extension which only adds this feature - it is only available as part of 'extra'.
* | | Cleanup and additional work on previous commit. NOTE: removed special ↵Waylan Limberg2010-01-034-21/+68
| | | | | | | | | | | | treatment if raw <div>s with multiple line breaks - they no longer automagicly process their content as markdown. This matches other implementations. Finished rest of code for use by an extension - to be added later.
* | | Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged ↵Waylan Limberg2010-01-033-9/+47
| | | | | | | | | | | | | | | | | | now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser. Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension.
* | | Fixed ticket 44. Raw HTML now maintains original whitespace. Important ↵Waylan Limberg2010-01-033-1/+19
| | | | | | | | | | | | inside raw <pre> tags.
* | | Added a test for previous comit from Steve Losh. Thanks Steve. Ticket 45 is ↵Waylan Limberg2009-12-262-0/+24
| | | | | | | | | | | | fixed.
* | | Fix the TOC extension for TOCs starting at levels other than 1.Steve Losh2009-12-251-1/+4
| | |
* | | The ENABLE_ATTRIBUTES global setting is now ackowledged.Waylan Limberg2009-10-211-17/+18
| | |
* | | Cleaned up documentation output from commandline --help option.Waylan Limberg2009-10-212-5/+10
| | |
* | | The commandline script now accepts input from stdin. By extension ↵Waylan Limberg2009-10-212-6/+8
| | | | | | | | | | | | markdownFromFile and Markdown.convertFile accept any file like object as input as well as a file name as string.
* | | Removed the pre 2.3 commandline stuff as we don't support those older ↵Waylan Limberg2009-10-211-29/+2
| | | | | | | | | | | | versions anyway.
* | | Added a --version option to the commandline script. I thought we already had ↵Waylan Limberg2009-10-211-2/+3
| | | | | | | | | | | | this. Not sure when we lost it.
* | | Fixed a silly bug in setup.py. Importing version from the lib requires that ↵2.0.3Waylan Limberg2009-10-072-3/+4
| | | | | | | | | | | | all dependencaies for the lib are present, so we can't actuly import the lib until after we check for dependencies - which means we can't import version in the setup script. Grrr. We'll have to remember to update the version number in both places from now on. Sigh.