Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated codehilite test to match new pygments output (they added an extra ↵ | Waylan Limberg | 2010-02-13 | 1 | -2/+2 |
| | | | | div around line numbers). | ||||
* | Moved test dir back out of markdown lib. We don't need to install the tests ↵ | Waylan Limberg | 2010-02-12 | 393 | -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 merge | Waylan Limberg | 2010-02-12 | 11 | -0/+6 |
| | |||||
* | Merged tests branch | Waylan Limberg | 2010-02-12 | 438 | -4643/+2977 |
|\ | |||||
| * | Merge branch 'master' into tests | Waylan Limberg | 2009-06-17 | 3 | -4/+36 |
| |\ | |||||
| * | | 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. | ||||
* | | | Refactored codehilite and fenced code, so now fenced code will also be ↵ | Lucas van Dijk | 2010-01-25 | 3 | -94/+94 |
| | | | | | | | | | | | | highlited when codehilite extension is enabled | ||||
* | | | Added pygments support to fenced_code | Lucas van Dijk | 2010-01-24 | 1 | -13/+64 |
| | | | |||||
* | | | Added processing of markdown text within raw html to the 'extra' extension. ↵ | Waylan Limberg | 2010-01-03 | 4 | -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 Limberg | 2010-01-03 | 4 | -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 Limberg | 2010-01-03 | 3 | -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 Limberg | 2010-01-03 | 3 | -1/+19 |
| | | | | | | | | | | | | inside raw <pre> tags. | ||||
* | | | Added a test for previous comit from Steve Losh. Thanks Steve. Ticket 45 is ↵ | Waylan Limberg | 2009-12-26 | 2 | -0/+24 |
| | | | | | | | | | | | | fixed. | ||||
* | | | Fix the TOC extension for TOCs starting at levels other than 1. | Steve Losh | 2009-12-25 | 1 | -1/+4 |
| | | | |||||
* | | | The ENABLE_ATTRIBUTES global setting is now ackowledged. | Waylan Limberg | 2009-10-21 | 1 | -17/+18 |
| | | | |||||
* | | | Cleaned up documentation output from commandline --help option. | Waylan Limberg | 2009-10-21 | 2 | -5/+10 |
| | | | |||||
* | | | The commandline script now accepts input from stdin. By extension ↵ | Waylan Limberg | 2009-10-21 | 2 | -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 Limberg | 2009-10-21 | 1 | -29/+2 |
| | | | | | | | | | | | | versions anyway. | ||||
* | | | Added a --version option to the commandline script. I thought we already had ↵ | Waylan Limberg | 2009-10-21 | 1 | -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.3 | Waylan Limberg | 2009-10-07 | 2 | -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. | ||||
* | | | Upped version to 2.0.2-Final and added release notes. | Waylan Limberg | 2009-07-31 | 3 | -2/+17 |
| | | | |||||
* | | | Updated setup script to include dependency for elementtree when python ↵ | Waylan Limberg | 2009-07-31 | 1 | -33/+38 |
| | | | | | | | | | | | | version < 2.5. Since Cheetah just added a dependency on Markdown (in 2.2.2) we've received numerious complaints from people trying to easy_install Cheetah on older pythons. | ||||
* | | | Fixed Ticket 42. We really should abandon the 'message' function ↵ | Waylan Limberg | 2009-08-26 | 1 | -7/+10 |
| | | | | | | | | | | | | altogeather, but this will do for now. | ||||
* | | | Fixed Ticket 43. Apparenlty ElementTree does not recognize 'utf8' as an ↵ | Waylan Limberg | 2009-08-23 | 3 | -9/+9 |
| | | | | | | | | | | | | alias of 'utf-8' and outputs invalid xml. We never noticed as stripTopLevelTags removes the offending fragment. However, there are legitimate uses for turning off stripTopLevelTags. Therefore, from now on we will be using 'utf-8' internally. Thanks to Mark Eichin for the report. | ||||
* | | | Fixed a couple typos in previous commit. | Waylan Limberg | 2009-07-31 | 1 | -2/+2 |
| | | | |||||
* | | | Fixed Ticket 41. Docs now correctly point to ↵ | Waylan Limberg | 2009-07-31 | 1 | -18/+18 |
| | | | | | | | | | | | | markdown.preprocessors.Preprocessor rather than markdown.Preprocessor etc. | ||||
* | | | Fixed Ticket 37. When multiple markdown documents are displayed on one page and | Waylan Limberg | 2009-07-21 | 2 | -5/+20 |
| | | | | | | | | | | | | | | | contain footnotes with the same name, they will no longer collide when 'UNIQUE_IDS' is set to True. Thanks to Paul Stansifer for report and patch. | ||||
* | | | Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be ↵ | Waylan Limberg | 2009-07-21 | 3 | -1/+15 |
| | | | | | | | | | | | | wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh. | ||||
* | | | Fixed TOC extension to properly nest multiple header levels in the table of ↵ | Waylan Limberg | 2009-07-21 | 3 | -7/+28 |
| |/ |/| | | | | | contents. Specificly, when stepping back multiple levels, the nestsed listed now follow suite. Test included. Thanks for the patch Jack Miller. | ||||
* | | 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. | ||||
* | 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. |