Permalink
Browse files

various enhancement + some fix

  • Loading branch information...
1 parent 62b2743 commit 34c04db782fb270d479c9c4b4bc2cd17927f429f @stefanocasazza committed Apr 17, 2013
Showing with 2,923 additions and 2,371 deletions.
  1. +3 −0 Makefile.am
  2. +3 −0 Makefile.in
  3. +1 −1 configure
  4. +1 −1 configure.in
  5. +1 −11 examples/IR/IR.cpp
  6. +4 −3 examples/PEC_log/PEC_report.cpp
  7. +350 −189 examples/WiAuth/wi_auth.cpp
  8. +350 −189 examples/WiAuth/wi_auth.usp
  9. +1 −1 examples/form_completion/main.cpp
  10. +19 −15 include/ulib/base/base.h
  11. +23 −16 include/ulib/base/macro.h
  12. +3 −3 include/ulib/base/utility.h
  13. +19 −40 include/ulib/file.h
  14. +3 −3 include/ulib/internal/chttp.h
  15. +2 −2 include/ulib/net/server/plugin/mod_nocat.h
  16. +12 −10 include/ulib/net/server/server.h
  17. +1 −9 include/ulib/utility/dir_walk.h
  18. +0 −2 include/ulib/utility/escape.h
  19. +1 −1 include/ulib/utility/services.h
  20. +22 −7 include/ulib/utility/uhttp.h
  21. +2 −2 openwrt/package/nodog/Makefile
  22. +73 −79 src/ulib/base/base.c
  23. +5 −4 src/ulib/base/base_trace.c
  24. +27 −30 src/ulib/base/coder/cescape.c
  25. +28 −18 src/ulib/base/utility.c
  26. +49 −23 src/ulib/file.cpp
  27. +6 −7 src/ulib/file_config.cpp
  28. +0 −4 src/ulib/internal/memory_pool.cpp
  29. +1 −1 src/ulib/net/client/http.cpp
  30. +1 −1 src/ulib/net/server/plugin/mod_fcgi.cpp
  31. +2 −2 src/ulib/net/server/plugin/mod_geoip/mod_geoip.cpp
  32. +31 −7 src/ulib/net/server/plugin/mod_http.cpp
  33. +79 −75 src/ulib/net/server/plugin/mod_nocat.cpp
  34. +1 −1 src/ulib/net/server/plugin/mod_proxy.cpp
  35. +1 −1 src/ulib/net/server/plugin/mod_scgi.cpp
  36. +1 −1 src/ulib/net/server/plugin/mod_shib/mod_shib.cpp
  37. +1 −1 src/ulib/net/server/plugin/mod_soap.cpp
  38. +1 −1 src/ulib/net/server/plugin/mod_socket.cpp
  39. +17 −8 src/ulib/net/server/plugin/mod_ssi.cpp
  40. +1 −1 src/ulib/net/server/plugin/mod_stream.cpp
  41. +1 −1 src/ulib/net/server/plugin/mod_tsa.cpp
  42. +1 −1 src/ulib/net/server/plugin/php/Makefile.am
  43. +1 −1 src/ulib/net/server/plugin/php/Makefile.in
  44. +37 −25 src/ulib/net/server/server.cpp
  45. +3 −3 src/ulib/ssl/net/ssl_session.cpp
  46. +0 −2 src/ulib/utility/base64.cpp
  47. +17 −1 src/ulib/utility/dir_walk.cpp
  48. +13 −9 src/ulib/utility/services.cpp
  49. +746 −650 src/ulib/utility/uhttp.cpp
  50. +1 −1 tests/.function
  51. +1 −1 tests/debug/objectIO.test
  52. +26 −1 tests/debug/ok/simerr.ok
  53. +1 −1 tests/examples/TSA/CA/tsaserial
  54. +8 −6 tests/examples/inp/http/all4.inp
  55. +3 −3 tests/examples/nocat.cfg
  56. +2 −2 tests/examples/nocat.sh
  57. +0 −1 tests/examples/nocat/.htdigest
  58. +0 −1 tests/examples/nocat/.htpasswd
  59. +380 −358 tests/examples/ok/web_server.ok
  60. +287 −283 tests/examples/ok/web_server_multiclient.ok
  61. +222 −228 tests/examples/ok/web_server_ssl.ok
  62. +4 −1 tests/examples/web_server.cfg
  63. +1 −1 tests/examples/web_server.sh
  64. +7 −7 tests/examples/web_server.test
  65. +6 −6 tests/examples/web_server_ssl.test
  66. +3 −2 tests/examples/web_socket.test
  67. BIN tests/ulib/inp/test.db
  68. +6 −5 tests/ulib/ok/curl.ok
View
@@ -41,6 +41,9 @@ dist-hook:
$(distdir)/tests/examples/RSIGN/log \
$(distdir)/tests/examples/WAGSM/log \
$(distdir)/tests/examples/CApath/*.*0 \
+ $(distdir)/tests/examples/nocat/.ht* \
+ $(distdir)/tests/examples/nocat/image \
+ $(distdir)/tests/examples/nocat/webif* \
$(distdir)/tests/examples/TSA/log \
$(distdir)/tests/examples/TSA/TSA/.rnd \
$(distdir)/tests/examples/TSA/response/* \
View
@@ -943,6 +943,9 @@ dist-hook:
$(distdir)/tests/examples/RSIGN/log \
$(distdir)/tests/examples/WAGSM/log \
$(distdir)/tests/examples/CApath/*.*0 \
+ $(distdir)/tests/examples/nocat/.ht* \
+ $(distdir)/tests/examples/nocat/image \
+ $(distdir)/tests/examples/nocat/webif* \
$(distdir)/tests/examples/TSA/log \
$(distdir)/tests/examples/TSA/TSA/.rnd \
$(distdir)/tests/examples/TSA/response/* \
View
@@ -21783,7 +21783,7 @@ fi
if test -z "${PHPCONFIGLDFLAGS}"; then
PHPCONFIGLDFLAGS=`$PHPCONFIG --ldflags`
- PHPCONFIGLDFLAGS="${PHPCONFIGLDFLAGS} -L`$PHPCONFIG --prefix`/lib"
+ PHPCONFIGLDFLAGS="${PHPCONFIGLDFLAGS} -L`$PHPCONFIG --prefix`/lib -L`$PHPCONFIG --prefix`/lib32 -L`$PHPCONFIG --prefix`/lib64"
fi
View
@@ -507,7 +507,7 @@ if test "$use_php" = "yes" ; then
[PHPCONFIGLDFLAGS=""])
if test -z "${PHPCONFIGLDFLAGS}"; then
PHPCONFIGLDFLAGS=`$PHPCONFIG --ldflags`
- PHPCONFIGLDFLAGS="${PHPCONFIGLDFLAGS} -L`$PHPCONFIG --prefix`/lib"
+ PHPCONFIGLDFLAGS="${PHPCONFIGLDFLAGS} -L`$PHPCONFIG --prefix`/lib -L`$PHPCONFIG --prefix`/lib32 -L`$PHPCONFIG --prefix`/lib64"
fi
AC_SUBST(PHPCONFIGLDFLAGS)
View
@@ -92,17 +92,7 @@ void IR::parse()
UPosting::file->setPath(*UPosting::filename);
uint32_t i;
- UString suffix;
- const char* ptr = UPosting::file->getSuffix();
-
- if (ptr)
- {
- U_INTERNAL_ASSERT_EQUALS(ptr[0], '.')
-
- (void) suffix.assign(ptr+1, UPosting::file->getSuffixLen(ptr));
-
- U_INTERNAL_DUMP("suffix = %.*S", U_STRING_TO_TRACE(suffix))
- }
+ UString suffix = UPosting::file->getSuffix();
if (filter_ext &&
(i = filter_ext->find(suffix), i != U_NOT_FOUND))
@@ -818,16 +818,17 @@ bool PEC_report::setLine()
U_TRACE(5, "PEC_report::setLine()")
int nfault = 0;
- const char* ptr;
- const char* end;
loop1:
if (t->next(*line, '\n'))
{
+ const char* end;
+
if (mese2) mese1 = mese2;
else
{
- ptr = line->data();
+ const char* ptr = line->data();
+
mese1 = u_getMonth(ptr);
U_INTERNAL_DUMP("mese1 = %d", mese1)
Oops, something went wrong.

0 comments on commit 34c04db

Please sign in to comment.