Merge branch 'branch_0.13.0' into branch_0.13.0-svn
@@ -1,6 +1,6 @@ | ||
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | -# Generated by GNU Autoconf 2.67 for mod_chxj 0.13.2. | |
3 | +# Generated by GNU Autoconf 2.67 for mod_chxj 0.13.3. | |
4 | 4 | # |
5 | 5 | # Report bugs to <konn@users.sourceforge.jp>. |
6 | 6 | # |
@@ -701,8 +701,8 @@ | ||
701 | 701 | # Identity of this package. |
702 | 702 | PACKAGE_NAME='mod_chxj' |
703 | 703 | PACKAGE_TARNAME='mod_chxj' |
704 | -PACKAGE_VERSION='0.13.2' | |
705 | -PACKAGE_STRING='mod_chxj 0.13.2' | |
704 | +PACKAGE_VERSION='0.13.3' | |
705 | +PACKAGE_STRING='mod_chxj 0.13.3' | |
706 | 706 | PACKAGE_BUGREPORT='konn@users.sourceforge.jp' |
707 | 707 | PACKAGE_URL='' |
708 | 708 |
@@ -1447,7 +1447,7 @@ | ||
1447 | 1447 | # Omit some internal or obsolete options to make the list less imposing. |
1448 | 1448 | # This message is too long to be a string in the A/UX 3.1 sh. |
1449 | 1449 | cat <<_ACEOF |
1450 | -\`configure' configures mod_chxj 0.13.2 to adapt to many kinds of systems. | |
1450 | +\`configure' configures mod_chxj 0.13.3 to adapt to many kinds of systems. | |
1451 | 1451 | |
1452 | 1452 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1453 | 1453 |
@@ -1518,7 +1518,7 @@ | ||
1518 | 1518 | |
1519 | 1519 | if test -n "$ac_init_help"; then |
1520 | 1520 | case $ac_init_help in |
1521 | - short | recursive ) echo "Configuration of mod_chxj 0.13.2:";; | |
1521 | + short | recursive ) echo "Configuration of mod_chxj 0.13.3:";; | |
1522 | 1522 | esac |
1523 | 1523 | cat <<\_ACEOF |
1524 | 1524 |
@@ -1633,7 +1633,7 @@ | ||
1633 | 1633 | test -n "$ac_init_help" && exit $ac_status |
1634 | 1634 | if $ac_init_version; then |
1635 | 1635 | cat <<\_ACEOF |
1636 | -mod_chxj configure 0.13.2 | |
1636 | +mod_chxj configure 0.13.3 | |
1637 | 1637 | generated by GNU Autoconf 2.67 |
1638 | 1638 | |
1639 | 1639 | Copyright (C) 2010 Free Software Foundation, Inc. |
@@ -2002,7 +2002,7 @@ | ||
2002 | 2002 | This file contains any messages produced by compilers while |
2003 | 2003 | running configure, to aid debugging if configure makes a mistake. |
2004 | 2004 | |
2005 | -It was created by mod_chxj $as_me 0.13.2, which was | |
2005 | +It was created by mod_chxj $as_me 0.13.3, which was | |
2006 | 2006 | generated by GNU Autoconf 2.67. Invocation command line was |
2007 | 2007 | |
2008 | 2008 | $ $0 $@ |
@@ -2929,7 +2929,7 @@ | ||
2929 | 2929 | |
2930 | 2930 | # Define the identity of the package. |
2931 | 2931 | PACKAGE=mod_chxj |
2932 | - VERSION=0.13.2 | |
2932 | + VERSION=0.13.3 | |
2933 | 2933 | |
2934 | 2934 | |
2935 | 2935 | cat >>confdefs.h <<_ACEOF |
@@ -12175,7 +12175,7 @@ | ||
12175 | 12175 | # report actual input values of CONFIG_FILES etc. instead of their |
12176 | 12176 | # values after options handling. |
12177 | 12177 | ac_log=" |
12178 | -This file was extended by mod_chxj $as_me 0.13.2, which was | |
12178 | +This file was extended by mod_chxj $as_me 0.13.3, which was | |
12179 | 12179 | generated by GNU Autoconf 2.67. Invocation command line was |
12180 | 12180 | |
12181 | 12181 | CONFIG_FILES = $CONFIG_FILES |
@@ -12241,7 +12241,7 @@ | ||
12241 | 12241 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
12242 | 12242 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
12243 | 12243 | ac_cs_version="\\ |
12244 | -mod_chxj config.status 0.13.2 | |
12244 | +mod_chxj config.status 0.13.3 | |
12245 | 12245 | configured by $0, generated by GNU Autoconf 2.67, |
12246 | 12246 | with options \\"\$ac_cs_config\\" |
12247 | 12247 |
@@ -100,7 +100,7 @@ | ||
100 | 100 | #define PACKAGE_NAME "mod_chxj" |
101 | 101 | |
102 | 102 | /* Define to the full name and version of this package. */ |
103 | -#define PACKAGE_STRING "mod_chxj 0.13.2" | |
103 | +#define PACKAGE_STRING "mod_chxj 0.13.3" | |
104 | 104 | |
105 | 105 | /* Define to the one symbol short name of this package. */ |
106 | 106 | #define PACKAGE_TARNAME "mod_chxj" |
@@ -109,13 +109,13 @@ | ||
109 | 109 | #define PACKAGE_URL "" |
110 | 110 | |
111 | 111 | /* Define to the version of this package. */ |
112 | -#define PACKAGE_VERSION "0.13.2" | |
112 | +#define PACKAGE_VERSION "0.13.3" | |
113 | 113 | |
114 | 114 | /* Define to 1 if you have the ANSI C header files. */ |
115 | 115 | #define STDC_HEADERS 1 |
116 | 116 | |
117 | 117 | /* Version number of package */ |
118 | -#define VERSION "0.13.2" | |
118 | +#define VERSION "0.13.3" | |
119 | 119 | |
120 | 120 | /* Define to empty if `const' does not conform to ANSI C. */ |
121 | 121 | /* #undef const */ |
@@ -2569,7 +2569,7 @@ | ||
2569 | 2569 | |
2570 | 2570 | char *vv = s_jxhtml_istyle_to_wap_input_format(doc->buf.pool,attr_istyle); |
2571 | 2571 | W_L(" style=\""); |
2572 | - W_L("-wrap-input-format:"); | |
2572 | + W_L("-wap-input-format:"); | |
2573 | 2573 | W_V(vv); |
2574 | 2574 | W_L(";"); |
2575 | 2575 | W_L("\""); |
@@ -2579,7 +2579,7 @@ | ||
2579 | 2579 | |
2580 | 2580 | char *vv = s_jxhtml_istyle_to_wap_input_format(doc->buf.pool,"4"); |
2581 | 2581 | W_L(" style=\""); |
2582 | - W_L("-wrap-input-format:"); | |
2582 | + W_L("-wap-input-format:"); | |
2583 | 2583 | W_V(vv); |
2584 | 2584 | W_L(";"); |
2585 | 2585 | W_L("\""); |
@@ -6625,6 +6625,8 @@ | ||
6625 | 6625 | Doc *doc; |
6626 | 6626 | Attr *attr; |
6627 | 6627 | char *type = NULL; |
6628 | + Node *child = NULL; | |
6629 | + char *style; | |
6628 | 6630 | |
6629 | 6631 | jxhtml = GET_JXHTML(pdoc); |
6630 | 6632 | doc = jxhtml->doc; |
@@ -6645,15 +6647,24 @@ | ||
6645 | 6647 | } |
6646 | 6648 | } |
6647 | 6649 | |
6648 | - Node *child = qs_get_child_node(doc, node); | |
6649 | - if (type && child) { | |
6650 | - char *name = qs_get_node_name(doc, child); | |
6651 | - if (STRCASEEQ('t','T',"text", name)) { | |
6652 | - char *value = qs_get_node_value(doc, child); | |
6653 | - DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value); | |
6654 | - jxhtml->style = chxj_css_parse_style_value(doc, jxhtml->style, value); | |
6655 | - DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value); | |
6650 | + if (type) { | |
6651 | + style = ""; | |
6652 | + for (child = qs_get_child_node(doc, node); | |
6653 | + child; | |
6654 | + child = qs_get_next_node(doc, child)) { | |
6655 | + char *name = qs_get_node_name(doc, child); | |
6656 | + if (STRCASEEQ('t','T',"text", name)) { | |
6657 | + char *value = qs_get_node_value(doc, child); | |
6658 | + if (value && *value) { | |
6659 | + style = apr_pstrcat(doc->r->pool, style, value, NULL); | |
6660 | + } | |
6661 | + } | |
6656 | 6662 | } |
6663 | + if (strlen(style) > 0) { | |
6664 | + DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style); | |
6665 | + jxhtml->style = chxj_css_parse_style_value(doc, jxhtml->style, style); | |
6666 | + DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style); | |
6667 | + } | |
6657 | 6668 | } |
6658 | 6669 | return jxhtml->out; |
6659 | 6670 | } |
@@ -6277,6 +6277,8 @@ | ||
6277 | 6277 | Doc *doc; |
6278 | 6278 | Attr *attr; |
6279 | 6279 | char *type = NULL; |
6280 | + Node *child = NULL; | |
6281 | + char *style; | |
6280 | 6282 | |
6281 | 6283 | xhtml = GET_XHTML(pdoc); |
6282 | 6284 | doc = xhtml->doc; |
@@ -6297,15 +6299,24 @@ | ||
6297 | 6299 | } |
6298 | 6300 | } |
6299 | 6301 | |
6300 | - Node *child = qs_get_child_node(doc, node); | |
6301 | - if (type && child) { | |
6302 | - char *name = qs_get_node_name(doc, child); | |
6303 | - if (STRCASEEQ('t','T',"text", name)) { | |
6304 | - char *value = qs_get_node_value(doc, child); | |
6305 | - DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value); | |
6306 | - xhtml->style = chxj_css_parse_style_value(doc, xhtml->style, value); | |
6307 | - DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value); | |
6302 | + if (type) { | |
6303 | + style = ""; | |
6304 | + for (child = qs_get_child_node(doc, node); | |
6305 | + child; | |
6306 | + child = qs_get_next_node(doc, child)) { | |
6307 | + char *name = qs_get_node_name(doc, child); | |
6308 | + if (STRCASEEQ('t','T',"text", name)) { | |
6309 | + char *value = qs_get_node_value(doc, child); | |
6310 | + if (value && *value) { | |
6311 | + style = apr_pstrcat(doc->r->pool, style, value, NULL); | |
6312 | + } | |
6313 | + } | |
6308 | 6314 | } |
6315 | + if (strlen(style) > 0) { | |
6316 | + DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style); | |
6317 | + xhtml->style = chxj_css_parse_style_value(doc, xhtml->style, style); | |
6318 | + DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style); | |
6319 | + } | |
6309 | 6320 | } |
6310 | 6321 | return xhtml->out; |
6311 | 6322 | } |
@@ -6633,6 +6633,8 @@ | ||
6633 | 6633 | Doc *doc; |
6634 | 6634 | Attr *attr; |
6635 | 6635 | char *type = NULL; |
6636 | + Node *child = NULL; | |
6637 | + char *style; | |
6636 | 6638 | |
6637 | 6639 | ixhtml10 = GET_IXHTML10(pdoc); |
6638 | 6640 | doc = ixhtml10->doc; |
@@ -6653,15 +6655,24 @@ | ||
6653 | 6655 | } |
6654 | 6656 | } |
6655 | 6657 | |
6656 | - Node *child = qs_get_child_node(doc, node); | |
6657 | - if (type && child) { | |
6658 | - char *name = qs_get_node_name(doc, child); | |
6659 | - if (STRCASEEQ('t','T',"text", name)) { | |
6660 | - char *value = qs_get_node_value(doc, child); | |
6661 | - DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value); | |
6662 | - ixhtml10->style = chxj_css_parse_style_value(doc, ixhtml10->style, value); | |
6663 | - DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value); | |
6658 | + if (type) { | |
6659 | + style = ""; | |
6660 | + for (child = qs_get_child_node(doc, node); | |
6661 | + child; | |
6662 | + child = qs_get_next_node(doc, child)) { | |
6663 | + char *name = qs_get_node_name(doc, child); | |
6664 | + if (STRCASEEQ('t','T',"text", name)) { | |
6665 | + char *value = qs_get_node_value(doc, child); | |
6666 | + if (value && *value) { | |
6667 | + style = apr_pstrcat(doc->r->pool, style, value, NULL); | |
6668 | + } | |
6669 | + } | |
6664 | 6670 | } |
6671 | + if (strlen(style) > 0) { | |
6672 | + DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style); | |
6673 | + ixhtml10->style = chxj_css_parse_style_value(doc, ixhtml10->style, style); | |
6674 | + DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style); | |
6675 | + } | |
6665 | 6676 | } |
6666 | 6677 | return ixhtml10->out; |
6667 | 6678 | } |
@@ -1,3 +1,11 @@ | ||
1 | +libapache2-mod-chxj (0.13.3-1) unstable; urgency=low | |
2 | + | |
3 | + * Fixed Bug | |
4 | + - wrap-input-format --> wap-input-format | |
5 | + - When CrLf is contained in the style tag, it is not read correctly. | |
6 | + | |
7 | + -- Atsushi Konno <konn@users.sourceforge.jp> Sat, 02 Apr 2011 17:35:24 +0900 | |
8 | + | |
1 | 9 | libapache2-mod-chxj (0.13.2-1) unstable; urgency=low |
2 | 10 | |
3 | 11 | * Fixed Bug |
@@ -1,6 +1,6 @@ | ||
1 | 1 | # -*- Autoconf -*- |
2 | 2 | # Process this file with autoconf to produce a configure script. |
3 | -AC_INIT([mod_chxj],[0.13.2],[konn@users.sourceforge.jp]) | |
3 | +AC_INIT([mod_chxj],[0.13.3],[konn@users.sourceforge.jp]) | |
4 | 4 | AC_PREREQ(2.59) |
5 | 5 | AC_CONFIG_SRCDIR([src/mod_chxj.c]) |
6 | 6 | AC_CANONICAL_TARGET |
@@ -6,13 +6,13 @@ | ||
6 | 6 | # |
7 | 7 | |
8 | 8 | PORTNAME= mod_chxj |
9 | -PORTVERSION= 0.13.2 | |
9 | +PORTVERSION= 0.13.3 | |
10 | 10 | PORTREVISION= 1 |
11 | 11 | PORTEPOCH= 1 |
12 | 12 | CATEGORIES= www |
13 | 13 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=modchxj/51413/} |
14 | 14 | PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} |
15 | -DISTNAME= mod-chxj_0.13.2 | |
15 | +DISTNAME= mod-chxj_0.13.3 | |
16 | 16 | EXTRACT_SUFX= .src.tar.gz |
17 | 17 | |
18 | 18 | MAINTAINER= konno@qsdn.co.jp |
@@ -1,4 +1,4 @@ | ||
1 | -%define version 0.13.2 | |
1 | +%define version 0.13.3 | |
2 | 2 | |
3 | 3 | Summary: CHTML to HDML,XHTML,JHTML convert module for Apache HTTPD. |
4 | 4 | Name: mod_chxj |