Permalink
Browse files

Merge commit 'v0.1.94'

  • Loading branch information...
2 parents 1769ec8 + f711d53 commit 861c23229edaabefcea67780789bf98005ad5188 Herbert Vojčík committed May 8, 2010
Showing with 11,122 additions and 2,402 deletions.
  1. +4 −0 AUTHORS
  2. +29 −1 ChangeLog
  3. +2 −4 Makefile
  4. +19 −1 benchmark/http_simple.js
  5. +112 −0 deps/c-ares/linux-arm/ares_build.h
  6. +513 −0 deps/c-ares/linux-arm/ares_config.h
  7. +198 −0 deps/c-ares/linux-arm/ares_setup.h
  8. +16 −3 deps/v8/ChangeLog
  9. +1 −1 deps/v8/include/v8.h
  10. +3 −0 deps/v8/src/api.cc
  11. +719 −462 deps/v8/src/arm/codegen-arm.cc
  12. +122 −42 deps/v8/src/arm/codegen-arm.h
  13. +2 −1 deps/v8/src/arm/debug-arm.cc
  14. +9 −4 deps/v8/src/arm/full-codegen-arm.cc
  15. +75 −28 deps/v8/src/arm/ic-arm.cc
  16. +90 −41 deps/v8/src/arm/macro-assembler-arm.cc
  17. +26 −1 deps/v8/src/arm/macro-assembler-arm.h
  18. +345 −120 deps/v8/src/arm/stub-cache-arm.cc
  19. +78 −1 deps/v8/src/arm/virtual-frame-arm.cc
  20. +11 −2 deps/v8/src/arm/virtual-frame-arm.h
  21. +3 −6 deps/v8/src/array.js
  22. +55 −32 deps/v8/src/bootstrapper.cc
  23. +1 −2 deps/v8/src/builtins.h
  24. +1 −6 deps/v8/src/codegen.cc
  25. +1 −0 deps/v8/src/codegen.h
  26. +6 −0 deps/v8/src/compiler.cc
  27. +2 −0 deps/v8/src/contexts.h
  28. +4 −2 deps/v8/src/conversions.cc
  29. +3 −2 deps/v8/src/d8.cc
  30. +4 −4 deps/v8/src/date.js
  31. +11 −2 deps/v8/src/dateparser-inl.h
  32. +15 −1 deps/v8/src/dateparser.cc
  33. +8 −4 deps/v8/src/dateparser.h
  34. +38 −27 deps/v8/src/debug-debugger.js
  35. +28 −0 deps/v8/src/factory.cc
  36. +8 −0 deps/v8/src/factory.h
  37. +8 −4 deps/v8/src/fast-dtoa.cc
  38. +5 −1 deps/v8/src/fast-dtoa.h
  39. +1 −4 deps/v8/src/full-codegen.cc
  40. +1 −0 deps/v8/src/handles.cc
  41. +1 −1 deps/v8/src/handles.h
  42. +39 −44 deps/v8/src/heap.cc
  43. +2 −13 deps/v8/src/heap.h
  44. +275 −85 deps/v8/src/ia32/codegen-ia32.cc
  45. +13 −6 deps/v8/src/ia32/codegen-ia32.h
  46. +8 −10 deps/v8/src/ia32/ic-ia32.cc
  47. +16 −3 deps/v8/src/ia32/macro-assembler-ia32.cc
  48. +3 −1 deps/v8/src/ia32/macro-assembler-ia32.h
  49. +7 −4 deps/v8/src/ia32/regexp-macro-assembler-ia32.cc
  50. +5 −110 deps/v8/src/ia32/stub-cache-ia32.cc
  51. +4 −2 deps/v8/src/ic.cc
  52. +1 −1 deps/v8/src/ic.h
  53. +369 −271 deps/v8/src/liveedit-debugger.js
  54. +125 −69 deps/v8/src/liveedit.cc
  55. +22 −9 deps/v8/src/liveedit.h
  56. +26 −0 deps/v8/src/objects-debug.cc
  57. +52 −5 deps/v8/src/objects-inl.h
  58. +9 −0 deps/v8/src/objects.cc
  59. +26 −1 deps/v8/src/objects.h
  60. +106 −44 deps/v8/src/runtime.cc
  61. +4 −1 deps/v8/src/runtime.h
  62. +0 −11 deps/v8/src/runtime.js
  63. +67 −0 deps/v8/src/stub-cache.cc
  64. +49 −0 deps/v8/src/stub-cache.h
  65. +1 −0 deps/v8/src/v8natives.js
  66. +1 −1 deps/v8/src/version.cc
  67. +11 −0 deps/v8/src/x64/assembler-x64-inl.h
  68. +75 −3 deps/v8/src/x64/assembler-x64.cc
  69. +14 −2 deps/v8/src/x64/assembler-x64.h
  70. +1,072 −286 deps/v8/src/x64/codegen-x64.cc
  71. +128 −40 deps/v8/src/x64/codegen-x64.h
  72. +38 −15 deps/v8/src/x64/disasm-x64.cc
  73. +59 −20 deps/v8/src/x64/ic-x64.cc
  74. +175 −98 deps/v8/src/x64/macro-assembler-x64.cc
  75. +36 −3 deps/v8/src/x64/macro-assembler-x64.h
  76. +531 −181 deps/v8/src/x64/stub-cache-x64.cc
  77. +25 −0 deps/v8/src/x64/virtual-frame-x64.cc
  78. +4 −0 deps/v8/src/x64/virtual-frame-x64.h
  79. +9 −0 deps/v8/test/cctest/test-debug.cc
  80. +14 −12 deps/v8/test/cctest/test-fast-dtoa.cc
  81. +2 −1 deps/v8/test/cctest/test-serialize.cc
  82. +84 −0 deps/v8/test/cctest/test-threads.cc
  83. +23 −0 deps/v8/test/mjsunit/array-pop.js
  84. +27 −1 deps/v8/test/mjsunit/date-parse.js
  85. +1 −1 deps/v8/test/mjsunit/debug-liveedit-1.js
  86. +1 −1 deps/v8/test/mjsunit/debug-liveedit-2.js
  87. +69 −0 deps/v8/test/mjsunit/debug-liveedit-3.js
  88. +97 −0 deps/v8/test/mjsunit/debug-liveedit-breakpoints.js
  89. +1 −1 deps/v8/test/mjsunit/debug-liveedit-check-stack.js
  90. +1 −1 deps/v8/test/mjsunit/debug-liveedit-diff.js
  91. +1 −1 deps/v8/test/mjsunit/debug-liveedit-patch-positions-replace.js
  92. +1 −1 deps/v8/test/mjsunit/debug-liveedit-patch-positions.js
  93. +97 −0 deps/v8/test/mjsunit/debug-liveedit-utils.js
  94. +54 −0 deps/v8/test/mjsunit/function-without-prototype.js
  95. +2 −9 deps/v8/test/mjsunit/fuzz-natives.js
  96. +40 −0 deps/v8/test/mjsunit/string-index.js
  97. +1 −4 deps/v8/test/mjsunit/unusual-constructor.js
  98. +0 −73 deps/v8/test/sputnik/sputnik.status
  99. +213 −20 doc/api.markdown
  100. +1 −1 doc/api_header.html
  101. +3 −0 doc/changelog_footer.html
  102. +11 −0 doc/changelog_header.html
  103. +3 −3 doc/index.html
  104. +3,623 −1 lib/crypto.js
  105. +3 −3 lib/fs.js
  106. +54 −33 lib/http.js
  107. +1 −1 lib/module.js
  108. +28 −9 lib/net.js
  109. +8 −0 src/node.cc
  110. +3 −3 src/node_buffer.cc
  111. +35 −23 src/node_crypto.cc
  112. +2 −0 src/node_crypto.h
  113. +143 −37 src/node_file.cc
  114. +2 −2 src/node_net2.cc
  115. +72 −0 test/simple/test-crypto.js
  116. +3 −3 test/simple/test-http-304.js
  117. +95 −0 test/simple/test-http-client-race-2.js
  118. +5 −5 test/simple/test-http-tls.js
  119. +161 −0 test/simple/test-http-upgrade.js
  120. +53 −0 test/simple/test-http-upgrade2.js
  121. +96 −0 test/simple/test-tcp-tls.js
  122. +3 −3 wscript
View
@@ -68,3 +68,7 @@ Brian Hammond <brian@fictorial.com>
Mathias Pettersson <mape@mape.me>
Trevor Blackwell <tlb@tlb.org>
Thomas Lee <tom@tom-debian.sensis.com.au>
+dpb587 <code+node@dpbis.net>
+Paulo Matias <paulo.matias@usp.br>
+Peter Griess <pg@std.in>
+Jonathan Knezek <jdknezek@gmail.com>
View
@@ -1,4 +1,32 @@
-2010.04.29, Version 0.1.93
+2010.05.06, Version 0.1.94
+
+* Look in /usr/local/lib/node for modules, so that there's a way
+ to install modules globally (Issac Schlueter)
+
+* SSL improvements (Rhys Jones, Paulo Matias)
+
+* Added c-ares headers for linux-arm (Jonathan Knezek)
+
+* Add symbols to release build
+
+* HTTP upgrade improvements, docs (Micheil Smith)
+
+* HTTP server emits 'clientError' instead of printing message
+
+* Bugfix: Don't emit 'error' twice from http.Client
+
+* Bugfix: Ignore SIGPIPE
+
+* Bugfix: destroy() instead of end() http connection at end of
+ pipeline
+
+* Bugfix: http.Client may be prematurely released back to the
+ free pool. (Thomas Lee)
+
+* Upgrade V8 to 2.2.8
+
+
+2010.04.29, Version 0.1.93, 557ba6bd97bad3afe0f9bd3ac07efac0a39978c1
* Fixed no 'end' event on long chunked HTTP messages
http://github.com/ry/node/issues/#issue/77
View
@@ -49,10 +49,8 @@ doc/api.html: doc/api.markdown doc/api_header.html doc/api_footer.html
| sed "s/<h2>\(.*\)<\/h2>/<h2 id=\"\1\">\1<\/h2>/g" \
| cat doc/api_header.html - doc/api_footer.html > doc/api.html
-doc/changelog.html: ChangeLog
- echo '<html><head><title>Node.js ChangeLog</title> <link rel="stylesheet" href="./pipe.css" type="text/css" /> <link rel="stylesheet" href="./pipe-quirks.css" type="text/css" /> <body><h1>Node.js ChangeLog</h1> <pre>' > doc/changelog.html
- cat ChangeLog >> doc/changelog.html
- echo '</pre></body></html>' >> doc/changelog.html
+doc/changelog.html: ChangeLog doc/changelog_header.html doc/changelog_footer.html
+ cat doc/changelog_header.html ChangeLog doc/changelog_footer.html > doc/changelog.html
doc/node.1: doc/api.markdown
ronn --roff doc/api.markdown > doc/node.1
View
@@ -1,4 +1,7 @@
path = require("path");
+Buffer = require("buffer").Buffer;
+
+port = parseInt(process.env.PORT || 8000);
var puts = require("sys").puts;
@@ -15,6 +18,7 @@ for (var i = 0; i < 20*1024; i++) {
}
stored = {};
+storedBuffer = {};
http.createServer(function (req, res) {
var commands = req.url.split("/");
@@ -36,6 +40,18 @@ http.createServer(function (req, res) {
}
body = stored[n];
+ } else if (command == "buffer") {
+ var n = parseInt(arg, 10)
+ if (n <= 0) throw new Error("bytes called with n <= 0");
+ if (storedBuffer[n] === undefined) {
+ puts("create storedBuffer[n]");
+ storedBuffer[n] = new Buffer(n);
+ for (var i = 0; i < n; i++) {
+ storedBuffer[n][i] = "C".charCodeAt(0);
+ }
+ }
+ body = storedBuffer[n];
+
} else if (command == "quit") {
res.connection.server.close();
body = "quitting";
@@ -61,4 +77,6 @@ http.createServer(function (req, res) {
} else {
res.end(body, 'ascii');
}
-}).listen(8000);
+}).listen(port);
+
+puts('Listening at http://127.0.0.1:'+port+'/');
@@ -0,0 +1,112 @@
+/* ares_build.h. Generated from ares_build.h.in by configure. */
+#ifndef __CARES_BUILD_H
+#define __CARES_BUILD_H
+
+/* $Id$ */
+
+/* Copyright (C) 2009 by Daniel Stenberg et al
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation for any purpose and without fee is hereby granted, provided
+ * that the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of M.I.T. not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission. M.I.T. makes no representations about the
+ * suitability of this software for any purpose. It is provided "as is"
+ * without express or implied warranty.
+ */
+
+/* ================================================================ */
+/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */
+/* ================================================================ */
+
+/*
+ * NOTE 1:
+ * -------
+ *
+ * Nothing in this file is intended to be modified or adjusted by the
+ * c-ares library user nor by the c-ares library builder.
+ *
+ * If you think that something actually needs to be changed, adjusted
+ * or fixed in this file, then, report it on the c-ares development
+ * mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/
+ *
+ * This header file shall only export symbols which are 'cares' or 'CARES'
+ * prefixed, otherwise public name space would be polluted.
+ *
+ * NOTE 2:
+ * -------
+ *
+ * Right now you might be staring at file ares_build.h.in or ares_build.h,
+ * this is due to the following reason:
+ *
+ * On systems capable of running the configure script, the configure process
+ * will overwrite the distributed ares_build.h file with one that is suitable
+ * and specific to the library being configured and built, which is generated
+ * from the ares_build.h.in template file.
+ *
+ */
+
+/* ================================================================ */
+/* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */
+/* ================================================================ */
+
+#ifdef CARES_SIZEOF_LONG
+# error "CARES_SIZEOF_LONG shall not be defined except in ares_build.h"
+ Error Compilation_aborted_CARES_SIZEOF_LONG_already_defined
+#endif
+
+#ifdef CARES_TYPEOF_ARES_SOCKLEN_T
+# error "CARES_TYPEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
+ Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_already_defined
+#endif
+
+#ifdef CARES_SIZEOF_ARES_SOCKLEN_T
+# error "CARES_SIZEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
+ Error Compilation_aborted_CARES_SIZEOF_ARES_SOCKLEN_T_already_defined
+#endif
+
+/* ================================================================ */
+/* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */
+/* ================================================================ */
+
+/* Configure process defines this to 1 when it finds out that system */
+/* header file ws2tcpip.h must be included by the external interface. */
+/* #undef CARES_PULL_WS2TCPIP_H */
+#ifdef CARES_PULL_WS2TCPIP_H
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
+# include <windows.h>
+# include <winsock2.h>
+# include <ws2tcpip.h>
+#endif
+
+/* Configure process defines this to 1 when it finds out that system */
+/* header file sys/types.h must be included by the external interface. */
+#define CARES_PULL_SYS_TYPES_H 1
+#ifdef CARES_PULL_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
+/* Configure process defines this to 1 when it finds out that system */
+/* header file sys/socket.h must be included by the external interface. */
+#define CARES_PULL_SYS_SOCKET_H 1
+#ifdef CARES_PULL_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+
+/* The size of `long', as computed by sizeof. */
+#define CARES_SIZEOF_LONG 4
+
+/* Integral data type used for ares_socklen_t. */
+#define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
+
+/* The size of `ares_socklen_t', as computed by sizeof. */
+#define CARES_SIZEOF_ARES_SOCKLEN_T 4
+
+/* Data type definition of ares_socklen_t. */
+typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t;
+
+#endif /* __CARES_BUILD_H */
Oops, something went wrong.

0 comments on commit 861c232

Please sign in to comment.