Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit c2a3c7091e3d1fb63c9b8adcabc278de03ddb6fe @laruence committed Dec 13, 2011
Showing with 21,524 additions and 0 deletions.
  1. +2 −0 CREDITS
  2. 0 EXPERIMENTAL
  3. +45 −0 config.m4
  4. +10 −0 config.w32
  5. +17 −0 configs/.svn/all-wcprops
  6. +96 −0 configs/.svn/entries
  7. +5 −0 configs/.svn/prop-base/ini.c.svn-base
  8. +5 −0 configs/.svn/prop-base/simple.c.svn-base
  9. +793 −0 configs/.svn/text-base/ini.c.svn-base
  10. +369 −0 configs/.svn/text-base/simple.c.svn-base
  11. +793 −0 configs/ini.c
  12. +369 −0 configs/simple.c
  13. +237 −0 package2.xml
  14. +135 −0 php_yaf.h
  15. +17 −0 requests/.svn/all-wcprops
  16. +96 −0 requests/.svn/entries
  17. +5 −0 requests/.svn/prop-base/http.c.svn-base
  18. +5 −0 requests/.svn/prop-base/simple.c.svn-base
  19. +284 −0 requests/.svn/text-base/http.c.svn-base
  20. +269 −0 requests/.svn/text-base/simple.c.svn-base
  21. +284 −0 requests/http.c
  22. +269 −0 requests/simple.c
  23. +17 −0 response/.svn/all-wcprops
  24. +96 −0 response/.svn/entries
  25. +5 −0 response/.svn/prop-base/cli.c.svn-base
  26. +5 −0 response/.svn/prop-base/http.c.svn-base
  27. +49 −0 response/.svn/text-base/cli.c.svn-base
  28. +51 −0 response/.svn/text-base/http.c.svn-base
  29. +49 −0 response/cli.c
  30. +51 −0 response/http.c
  31. +47 −0 routes/.svn/all-wcprops
  32. +266 −0 routes/.svn/entries
  33. +5 −0 routes/.svn/prop-base/interface.c.svn-base
  34. +5 −0 routes/.svn/prop-base/map.c.svn-base
  35. +5 −0 routes/.svn/prop-base/regex.c.svn-base
  36. +5 −0 routes/.svn/prop-base/rewrite.c.svn-base
  37. +5 −0 routes/.svn/prop-base/simple.c.svn-base
  38. +5 −0 routes/.svn/prop-base/static.c.svn-base
  39. +5 −0 routes/.svn/prop-base/supervar.c.svn-base
  40. +145 −0 routes/.svn/text-base/interface.c.svn-base
  41. +178 −0 routes/.svn/text-base/map.c.svn-base
  42. +270 −0 routes/.svn/text-base/regex.c.svn-base
  43. +324 −0 routes/.svn/text-base/rewrite.c.svn-base
  44. +149 −0 routes/.svn/text-base/simple.c.svn-base
  45. +206 −0 routes/.svn/text-base/static.c.svn-base
  46. +241 −0 routes/.svn/text-base/supervar.c.svn-base
  47. +145 −0 routes/interface.c
  48. +178 −0 routes/map.c
  49. +270 −0 routes/regex.c
  50. +324 −0 routes/rewrite.c
  51. +149 −0 routes/simple.c
  52. +206 −0 routes/static.c
  53. +241 −0 routes/supervar.c
  54. +137 −0 tests/.svn/all-wcprops
  55. +776 −0 tests/.svn/entries
  56. +21 −0 tests/.svn/text-base/001.phpt.svn-base
  57. +53 −0 tests/.svn/text-base/002.phpt.svn-base
  58. +31 −0 tests/.svn/text-base/003.phpt.svn-base
  59. +28 −0 tests/.svn/text-base/004.phpt.svn-base
  60. +35 −0 tests/.svn/text-base/005.phpt.svn-base
  61. +41 −0 tests/.svn/text-base/006.phpt.svn-base
  62. +94 −0 tests/.svn/text-base/007.phpt.svn-base
  63. +70 −0 tests/.svn/text-base/008.phpt.svn-base
  64. +37 −0 tests/.svn/text-base/009.phpt.svn-base
  65. +389 −0 tests/.svn/text-base/010.phpt.svn-base
  66. +37 −0 tests/.svn/text-base/011.phpt.svn-base
  67. +42 −0 tests/.svn/text-base/012.phpt.svn-base
  68. +122 −0 tests/.svn/text-base/013.phpt.svn-base
  69. +144 −0 tests/.svn/text-base/014.phpt.svn-base
  70. +17 −0 tests/.svn/text-base/015.phpt.svn-base
  71. +42 −0 tests/.svn/text-base/016.phpt.svn-base
  72. +13 −0 tests/.svn/text-base/017.phpt.svn-base
  73. +81 −0 tests/.svn/text-base/018.phpt.svn-base
  74. +34 −0 tests/.svn/text-base/019.phpt.svn-base
  75. +34 −0 tests/.svn/text-base/020.phpt.svn-base
  76. +21 −0 tests/.svn/text-base/021.phpt.svn-base
  77. +35 −0 tests/.svn/text-base/simple.ini.svn-base
  78. +21 −0 tests/001.phpt
  79. +53 −0 tests/002.phpt
  80. +31 −0 tests/003.phpt
  81. +28 −0 tests/004.phpt
  82. +35 −0 tests/005.phpt
  83. +41 −0 tests/006.phpt
  84. +94 −0 tests/007.phpt
  85. +70 −0 tests/008.phpt
  86. +37 −0 tests/009.phpt
  87. +389 −0 tests/010.phpt
  88. +37 −0 tests/011.phpt
  89. +42 −0 tests/012.phpt
  90. +122 −0 tests/013.phpt
  91. +144 −0 tests/014.phpt
  92. +17 −0 tests/015.phpt
  93. +42 −0 tests/016.phpt
  94. +13 −0 tests/017.phpt
  95. +81 −0 tests/018.phpt
  96. +34 −0 tests/019.phpt
  97. +34 −0 tests/020.phpt
  98. +21 −0 tests/021.phpt
  99. +35 −0 tests/simple.ini
  100. +17 −0 views/.svn/all-wcprops
  101. +96 −0 views/.svn/entries
  102. +5 −0 views/.svn/prop-base/interface.c.svn-base
  103. +5 −0 views/.svn/prop-base/simple.c.svn-base
  104. +77 −0 views/.svn/text-base/interface.c.svn-base
  105. +691 −0 views/.svn/text-base/simple.c.svn-base
  106. +77 −0 views/interface.c
  107. +691 −0 views/simple.c
  108. +277 −0 yaf.c
  109. +276 −0 yaf.dsp
  110. +21 −0 yaf.php
  111. +81 −0 yaf_action.c
  112. +37 −0 yaf_action.h
  113. +686 −0 yaf_application.c
  114. +36 −0 yaf_application.h
  115. +59 −0 yaf_bootstrap.c
  116. +38 −0 yaf_bootstrap.h
  117. +401 −0 yaf_config.c
  118. +52 −0 yaf_config.h
  119. +542 −0 yaf_controller.c
  120. +44 −0 yaf_controller.h
  121. +1,374 −0 yaf_dispatcher.c
  122. +73 −0 yaf_dispatcher.h
  123. +213 −0 yaf_exception.c
  124. +79 −0 yaf_exception.h
  125. +882 −0 yaf_loader.c
  126. +107 −0 yaf_loader.h
  127. +182 −0 yaf_logo.h
  128. +62 −0 yaf_namespace.h
  129. +149 −0 yaf_plugin.c
  130. +33 −0 yaf_plugin.h
  131. +230 −0 yaf_registry.c
  132. +36 −0 yaf_registry.h
  133. +835 −0 yaf_request.c
  134. +103 −0 yaf_request.h
  135. +383 −0 yaf_response.c
  136. +39 −0 yaf_response.h
  137. +378 −0 yaf_router.c
  138. +45 −0 yaf_router.h
  139. +382 −0 yaf_session.c
  140. +38 −0 yaf_session.h
  141. +93 −0 yaf_view.c
  142. +42 −0 yaf_view.h
@@ -0,0 +1,2 @@
+Yaf
+Xinchen Hui<Laruence@php.net>
No changes.
@@ -0,0 +1,45 @@
+PHP_ARG_ENABLE(yaf, whether to enable yaf support,
+[ --enable-yaf Enable yaf support])
+
+AC_ARG_ENABLE(yaf-debug,
+[ --enable-yaf-debug Enable yaf debug mode default=no],
+[PHP_YAF_DEBUG=$enableval],
+[PHP_YAF_DEBUG="no"])
+
+if test "$PHP_YAF" != "no"; then
+
+ if test "$PHP_YAF_DEBUG" = "yes"; then
+ AC_DEFINE(PHP_YAF_DEBUG,1,[define to 1 if you want to change the POST/GET by php script])
+ else
+ AC_DEFINE(PHP_YAF_DEBUG,0,[define to 1 if you want to change the POST/GET by php script])
+ fi
+
+ AC_MSG_CHECKING([PHP version])
+
+ tmp_version=$PHP_VERSION
+ if test -z "$tmp_version"; then
+ if test -z "$PHP_CONFIG"; then
+ AC_MSG_ERROR([php-config not found])
+ fi
+ php_version=`$PHP_CONFIG --version 2>/dev/null|head -n 1|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
+ else
+ php_version=`echo "$tmp_version"|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
+ fi
+
+ if test -z "$php_version"; then
+ AC_MSG_ERROR([failed to detect PHP version, please report])
+ fi
+
+ ac_IFS=$IFS
+ IFS="."
+ set $php_version
+ IFS=$ac_IFS
+ yaf_php_version=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
+
+ if test "$yaf_php_version" -le "5002000"; then
+ AC_MSG_ERROR([You need at least PHP 5.2.0 to be able to use this version of Yaf. PHP $php_version found])
+ else
+ AC_MSG_RESULT([$php_version, ok])
+ fi
+ 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)
+fi
@@ -0,0 +1,10 @@
+// $Id: config.w32 765 2010-10-21 13:04:03Z huixinchen $
+// vim:ft=javascript
+
+ARG_ENABLE("yaf", "enable yaf support", "no");
+
+if (PHP_YAF == "yes") {
+ 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");
+
+ AC_DEFINE("HAVE_YAF", 1, "Have Yaf Support");
+}
@@ -0,0 +1,17 @@
+K 25
+svn:wc:ra_dav:version-url
+V 50
+/repository/!svn/ver/315957/pecl/yaf/trunk/configs
+END
+ini.c
+K 25
+svn:wc:ra_dav:version-url
+V 56
+/repository/!svn/ver/315757/pecl/yaf/trunk/configs/ini.c
+END
+simple.c
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/repository/!svn/ver/315957/pecl/yaf/trunk/configs/simple.c
+END
@@ -0,0 +1,96 @@
+10
+
+dir
+318209
+https://svn.php.net/repository/pecl/yaf/trunk/configs
+https://svn.php.net/repository
+
+
+
+2011-09-01T09:03:32.053706Z
+315957
+laruence
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+c90b9560-bf6c-de11-be94-00142212c4b1
+
+ini.c
+file
+
+
+
+
+2011-10-08T13:42:29.000000Z
+988b9736cecfe88b24c9166f6094c224
+2011-08-30T08:08:40.929069Z
+315757
+laruence
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+23749
+
+simple.c
+file
+
+
+
+
+2011-10-08T13:42:29.000000Z
+626883bdcf38c10fe676a79a01ab7342
+2011-09-01T09:03:32.053706Z
+315957
+laruence
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12269
+
@@ -0,0 +1,5 @@
+K 12
+svn:keywords
+V 9
+Id Author
+END
@@ -0,0 +1,5 @@
+K 12
+svn:keywords
+V 9
+Id Author
+END
Oops, something went wrong.

0 comments on commit c2a3c70

Please sign in to comment.