From 6b529b01168c1678730cc8faefc85722b98ef8f8 Mon Sep 17 00:00:00 2001 From: Shuhei Tanuma Date: Sun, 8 Dec 2013 19:51:28 +0900 Subject: [PATCH] bumped up 0.3.9. next 0.4.x release will change sundown library to hoedown as sundown has been deprecated. 0.3.x releases are bug fixes only. [improvements] * improve readability * use common internal `php_sundown_markdon_render` for rendering * markdown. * add various markdown test case from karlcow/markdown-testsuite * add --enable-sundown-debug configure flag for configure option. * add escape_html render flag * xhtml render always overrides `xhtml` flag [bug fix] fix incorrect render_html flags * filter_html * no_images * no_links --- package.xml | 391 +++++++++++++++++++++++++++++++++++++++++--------- php_sundown.c | 4 +- php_sundown.h | 2 +- 3 files changed, 323 insertions(+), 74 deletions(-) diff --git a/package.xml b/package.xml index 8309329..9df743c 100644 --- a/package.xml +++ b/package.xml @@ -1,5 +1,5 @@ - + sundown pecl.php.net Sundown is a fast, robust Markdown parsing library for PHP5 @@ -15,25 +15,317 @@ PECL Sundown provides straight forward object oriented Markdown API and customiz chobieeee@php.net yes - 2012-09-30 + 2013-12-08 + - 0.3.8 - 0.3.7 + 0.3.9 + 0.3.9 beta beta PHP - - * bumped up 0.3.8 + bumped up 0.3.9. -- fixes #28 Wired memory limit error with autolink set. -Sundown\Render\Base callbacks are able to throw exceptions. +next 0.4.x release will change sundown library to hoedown as sundown has been deprecated. +0.3.x releases are bug fixes only. +[improvements] +* improve readability +* use common internal `php_sundown_markdon_render` for rendering markdown. +* add various markdown test case from karlcow/markdown-testsuite +* add --enable-sundown-debug configure flag for configure option. +* add escape_html render flag +* xhtml render always overrides `xhtml` flag + +[bug fix] +fix incorrect render_html flags + +* filter_html +* no_images +* no_links + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48,65 +340,6 @@ Sundown\Render\Base callbacks are able to throw exceptions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -117,13 +350,30 @@ Sundown\Render\Base callbacks are able to throw exceptions. 6.0.0 - 1.4.0b1 + 1.4.8 sundown + + + beta + beta + + + 0.3.8 + 0.3.7 + + 2012-09-30 + + * bumped up 0.3.8 + + - fixes #28 Wired memory limit error with autolink set. + Sundown\Render\Base callbacks are able to throw exceptions. + + beta @@ -152,7 +402,6 @@ b0adcc7 Merge pull request #23 from reeze/patch-1 ebae34b Make travis report test failure since make test didn't report exit code - beta @@ -276,7 +525,7 @@ bumped up 0.3.2 bumped up 0.3.1 [summary] - * fixed overloading callback methods. + * fixed overloading callback methods. * fixed segfault when calling render method more than once. * implement more test cases. @@ -354,4 +603,4 @@ Sundown\Render\Base Sundown\Markdown::getRender() - \ No newline at end of file + diff --git a/php_sundown.c b/php_sundown.c index 406c85c..bed1abb 100644 --- a/php_sundown.c +++ b/php_sundown.c @@ -185,7 +185,7 @@ PHP_MINFO_FUNCTION(sundown) { php_info_print_table_start(); php_info_print_table_header(2, "Sundown Support", "enabled"); - php_info_print_table_row(2, "Version", PHP_SUNDOWN_EXTVER); + php_info_print_table_row(2, "Version", PHP_SUNDOWN_VERSION); php_info_print_table_row(2, "Sundown Version", SUNDOWN_VERSION); php_info_print_table_end(); } @@ -202,7 +202,7 @@ zend_module_entry sundown_module_entry = { NULL, /* RSHUTDOWN */ PHP_MINFO(sundown), /* MINFO */ #if ZEND_MODULE_API_NO >= 20010901 - PHP_SUNDOWN_EXTVER, + PHP_SUNDOWN_VERSION, #endif STANDARD_MODULE_PROPERTIES }; diff --git a/php_sundown.h b/php_sundown.h index 6f19fc9..67051bc 100644 --- a/php_sundown.h +++ b/php_sundown.h @@ -3,7 +3,7 @@ #define PHP_SUNDOWN_H #define PHP_SUNDOWN_EXTNAME "sundown" -#define PHP_SUNDOWN_EXTVER "0.3.9" +#define PHP_SUNDOWN_VERSION "0.3.9" #ifdef HAVE_CONFIG_H #include "config.h"