Skip to content

Commit c2a3c70

Browse files
committed
initial commit
0 parents  commit c2a3c70

File tree

142 files changed

+21524
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+21524
-0
lines changed

CREDITS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Yaf
2+
Xinchen Hui<[email protected]>

EXPERIMENTAL

Whitespace-only changes.

config.m4

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
PHP_ARG_ENABLE(yaf, whether to enable yaf support,
2+
[ --enable-yaf Enable yaf support])
3+
4+
AC_ARG_ENABLE(yaf-debug,
5+
[ --enable-yaf-debug Enable yaf debug mode default=no],
6+
[PHP_YAF_DEBUG=$enableval],
7+
[PHP_YAF_DEBUG="no"])
8+
9+
if test "$PHP_YAF" != "no"; then
10+
11+
if test "$PHP_YAF_DEBUG" = "yes"; then
12+
AC_DEFINE(PHP_YAF_DEBUG,1,[define to 1 if you want to change the POST/GET by php script])
13+
else
14+
AC_DEFINE(PHP_YAF_DEBUG,0,[define to 1 if you want to change the POST/GET by php script])
15+
fi
16+
17+
AC_MSG_CHECKING([PHP version])
18+
19+
tmp_version=$PHP_VERSION
20+
if test -z "$tmp_version"; then
21+
if test -z "$PHP_CONFIG"; then
22+
AC_MSG_ERROR([php-config not found])
23+
fi
24+
php_version=`$PHP_CONFIG --version 2>/dev/null|head -n 1|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
25+
else
26+
php_version=`echo "$tmp_version"|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
27+
fi
28+
29+
if test -z "$php_version"; then
30+
AC_MSG_ERROR([failed to detect PHP version, please report])
31+
fi
32+
33+
ac_IFS=$IFS
34+
IFS="."
35+
set $php_version
36+
IFS=$ac_IFS
37+
yaf_php_version=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
38+
39+
if test "$yaf_php_version" -le "5002000"; then
40+
AC_MSG_ERROR([You need at least PHP 5.2.0 to be able to use this version of Yaf. PHP $php_version found])
41+
else
42+
AC_MSG_RESULT([$php_version, ok])
43+
fi
44+
PHP_NEW_EXTENSION(yaf, yaf.c yaf_application.c yaf_bootstrap.c yaf_dispatcher.c yaf_exception.c yaf_config.c yaf_request.c yaf_response.c yaf_view.c yaf_controller.c yaf_action.c yaf_router.c yaf_loader.c yaf_registry.c yaf_plugin.c yaf_session.c, $ext_shared)
45+
fi

config.w32

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// $Id: config.w32 765 2010-10-21 13:04:03Z huixinchen $
2+
// vim:ft=javascript
3+
4+
ARG_ENABLE("yaf", "enable yaf support", "no");
5+
6+
if (PHP_YAF == "yes") {
7+
EXTENSION("yaf", "yaf.c yaf_application.c yaf_loader.c yaf_bootstrap.c yaf_config.c yaf_dispatcher.c yaf_registry.c yaf_controller.c yaf_action.c yaf_view.c yaf_request.c yaf_response.c yaf_router.c yaf_exception.c yaf_plugin.c yaf_session.c");
8+
9+
AC_DEFINE("HAVE_YAF", 1, "Have Yaf Support");
10+
}

configs/.svn/all-wcprops

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 50
4+
/repository/!svn/ver/315957/pecl/yaf/trunk/configs
5+
END
6+
ini.c
7+
K 25
8+
svn:wc:ra_dav:version-url
9+
V 56
10+
/repository/!svn/ver/315757/pecl/yaf/trunk/configs/ini.c
11+
END
12+
simple.c
13+
K 25
14+
svn:wc:ra_dav:version-url
15+
V 59
16+
/repository/!svn/ver/315957/pecl/yaf/trunk/configs/simple.c
17+
END

configs/.svn/entries

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
10
2+
3+
dir
4+
318209
5+
https://svn.php.net/repository/pecl/yaf/trunk/configs
6+
https://svn.php.net/repository
7+
8+
9+
10+
2011-09-01T09:03:32.053706Z
11+
315957
12+
laruence
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
c90b9560-bf6c-de11-be94-00142212c4b1
28+
29+
ini.c
30+
file
31+
32+
33+
34+
35+
2011-10-08T13:42:29.000000Z
36+
988b9736cecfe88b24c9166f6094c224
37+
2011-08-30T08:08:40.929069Z
38+
315757
39+
laruence
40+
has-props
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
23749
62+
63+
simple.c
64+
file
65+
66+
67+
68+
69+
2011-10-08T13:42:29.000000Z
70+
626883bdcf38c10fe676a79a01ab7342
71+
2011-09-01T09:03:32.053706Z
72+
315957
73+
laruence
74+
has-props
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
12269
96+

configs/.svn/prop-base/ini.c.svn-base

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
K 12
2+
svn:keywords
3+
V 9
4+
Id Author
5+
END
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
K 12
2+
svn:keywords
3+
V 9
4+
Id Author
5+
END

0 commit comments

Comments
 (0)