Skip to content

Commit a04ef5e

Browse files
committed
发布 1.2.3 版
1 parent 72bbdd6 commit a04ef5e

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ aclocal.m4
1616
config.*
1717
configure
1818
depcomp
19+
compile
1920
install-sh
2021
missing
2122
stamp-h1

configure.ac

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# scws-1.x.x configure - modified by hightman
44

55
AC_PREREQ([2.68])
6-
AC_INIT([scws], [1.2.3-dev], [http://www.xunsearch.com/scws])
6+
AC_INIT([scws], [1.2.3], [http://www.xunsearch.com/scws])
77

88
# init automake
99
AM_INIT_AUTOMAKE
1010

1111
# copy right
12-
AC_COPYRIGHT([Copyright (C)2007-2013, hightman
12+
AC_COPYRIGHT([Copyright (C)2007-2016, hightman
1313
This package maybe copied, distributed and modified under
1414
the terms of my License; see COPYING for more details])
1515

@@ -55,6 +55,12 @@ else
5555
if test "$tmp_cflags" = "$CFLAGS"; then CFLAGS="$CFLAGS -g"; fi
5656
fi
5757

58+
# name rule
59+
AC_ARG_ENABLE(namerule,
60+
AC_HELP_STRING([--enable-namerule], [Compile with pepole and road name recognition]),
61+
[ AC_DEFINE(HAVE_NAME_RULE, 1,[enable people and road name recognition]) ]
62+
)
63+
5864
# Checks for libraries.
5965
AC_CHECK_LIB(m, logf, [], [ AC_MSG_ERROR([math lib not found]) ])
6066

etc/Makefile.am

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@ EXTRA_DIST = rules.ini rules.utf8.ini rules_cht.utf8.ini
55

66
sysconf_DATA = rules.ini rules.utf8.ini rules_cht.utf8.ini
77

8-
# install sysconf_DATA
9-
install-sysconfDATA:
10-
@$(NORMAL_INSTALL)
11-
test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
12-
@list='$(sysconf_DATA)'; for p in $$list; do \
13-
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14-
f=$(am__strip_dir) \
15-
if test "$(DESTDIR)$(sysconfdir)/$$f" -nt "$$d$$p"; then \
16-
echo " Ignore exists sysconf data file '$$p'"; else \
17-
echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
18-
$(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
19-
fi; \
20-
done
21-
228
# dictionary
239
dict_FILES = dict.xdb dict.utf8.xdb
2410

phpext/php_scws.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| obtain it through the world-wide-web, please send a note to |
1313
| [email protected] so we can mail you a copy immediately. |
1414
+----------------------------------------------------------------------+
15-
| Author: hightman Mar ([email protected]) QQ = 16139558 |
15+
| Author: hightman (hightman[AT]twomice.net) QQ = 16139558 |
1616
+----------------------------------------------------------------------+
1717
*/
1818

@@ -69,7 +69,7 @@ typedef int str_size_t;
6969
static zend_class_entry *scws_class_entry_ptr;
7070
static int le_scws;
7171

72-
#define PHP_SCWS_MODULE_VERSION "0.2.3-dev"
72+
#define PHP_SCWS_MODULE_VERSION "0.2.3"
7373
#define PHP_SCWS_DEFAULT_CHARSET "gbk"
7474
#define PHP_SCWS_OBJECT_TAG "scws handler"
7575
#define DELREF_SCWS(x) { \

phpext/scws.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55
$module = 'scws';
66
$functions = get_extension_funcs($module);
7-
echo "Functions available in the $moduel extension:\n";
7+
echo "Functions available in the $module extension:\n";
88
foreach($functions as $func) {
99
echo $func , "\n";
1010
}

web/download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</p>
1717
</div>
1818
<div class="block">
19-
<h2>php_scws.dll (<?php echo $version; ?>)<a name="dll">&nbsp;</a></h2>
19+
<h2>php_scws.dll (<?php echo '1.2.2'; ?>)<a name="dll">&nbsp;</a></h2>
2020
<p>php_scws.dll 是由 <a href="http://www.yanbin.org" target="_blank">ben</a> 移植用于 Windows 平台下的 PHP 动态扩展库,请根据您使用的版本下载,均为 x86 环境。其他版本的 PHP 或环境请自行根据源码目录下的 phpext/win32 构建。(NTS 表示 Non-Thread-Safety)</p>
2121
<p>
2222
 [<a href="down/php-4.4.x/php_scws.dll">PHP-4.4.x</a> (44KB/VC6/ZTS)]

web/index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
<a href="http://www.xunsearch.com" target="_blank">xunsearch(迅搜)</a>发布,是非常好用的 php 全文解决方案!
3131
</li>
3232
<li class="important">
33+
<dt>2016-2-24: SCWS-1.2.3 Released.</dt>
34+
<dd>1) 兼容支持 PHP7 扩展</dd>
35+
<dd>2) 人名地名识别调整为编译选项 --enable-namerule 默认不开启</dd>
36+
<dd>3) 修正并改进一些其它小问题,详见 github commits</dd>
37+
<dd>4) 特别抱歉,由于环境关系此次发布没有包含 win32 编译包的更新</dd>
38+
</li>
39+
<li>
3340
<dt>2013-7-11: SCWS-1.2.2 Released.</dt>
3441
<dd>1) 改进中英夹杂的长词复合分法,比如 "奥迪A6/奥迪/A6" </dd>
3542
<dd>2) 修正 pscws23 演示文件的一些写法与新版 PHP 不兼容</dd>

0 commit comments

Comments
 (0)