Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into newdoc

  • Loading branch information...
commit a5544bd52ae17a0d9517649fd25c31bfcd8e9808 2 parents 64c39ba + 5e140b3
@iapain authored
Showing with 16,879 additions and 2,207 deletions.
  1. +15 −1 .gitignore
  2. +5 −0 .mailmap
  3. +85 −1 AUTHORS
  4. +145 −0 CONTRIBUTING.md
  5. +964 −15 ChangeLog
  6. +182 −144 LICENSE
  7. +142 −38 Makefile
  8. +15 −1 README.md
  9. +20 −0 benchmark/arrays/var-int.js
  10. +0 −15 benchmark/arrays/var_int.js
  11. +20 −0 benchmark/arrays/zero-float.js
  12. +20 −0 benchmark/arrays/zero-int.js
  13. +0 −15 benchmark/arrays/zero_float.js
  14. +0 −15 benchmark/arrays/zero_int.js
  15. +0 −6 benchmark/buffer_creation.js
  16. +36 −0 benchmark/buffers/buffer-base64-encode.js
  17. +19 −0 benchmark/buffers/buffer-creation.js
  18. +28 −0 benchmark/buffers/buffer-read.js
  19. +63 −0 benchmark/buffers/buffer-write.js
  20. +57 −0 benchmark/buffers/dataview-set.js
  21. +0 −80 benchmark/client_latency.js
  22. +198 −0 benchmark/common.js
  23. +163 −0 benchmark/compare.js
  24. +103 −0 benchmark/crypto/cipher-stream.js
  25. +0 −42 benchmark/fast_buffer2.js
  26. +0 −6 benchmark/fast_buffer2_creation.js
  27. +0 −4 benchmark/fast_buffer_creation.js
  28. +0 −72 benchmark/fs-readfile.js
  29. +96 −0 benchmark/fs-write-stream-throughput.js
  30. +87 −0 benchmark/fs/read-stream-throughput.js
  31. +48 −0 benchmark/fs/readfile.js
  32. +78 −0 benchmark/fs/write-stream-throughput.js
  33. +0 −43 benchmark/function_call/bench.js
  34. +0 −19 benchmark/function_call/binding.cc
  35. +0 −15 benchmark/function_call/wscript
  36. +116 −0 benchmark/http-flamegraph.sh
  37. +37 −6 benchmark/http.sh
  38. +38 −0 benchmark/http/cluster.js
  39. +23 −0 benchmark/http/simple.js
  40. +8 −17 benchmark/http_simple.js
  41. +4 −5 benchmark/http_simple_auto.js
  42. +1 −4 benchmark/http_simple_bench.sh
  43. +1 −1  benchmark/http_simple_cluster.js
  44. +5 −4 benchmark/io.c
  45. +0 −109 benchmark/io.js
  46. +1 −0  benchmark/misc/function_call/.gitignore
  47. +2 −0  benchmark/misc/function_call/Makefile
  48. +18 −0 benchmark/misc/function_call/binding.cc
  49. +8 −0 benchmark/misc/function_call/binding.gyp
  50. +42 −0 benchmark/misc/function_call/index.js
  51. +21 −0 benchmark/misc/next-tick-breadth.js
  52. +40 −0 benchmark/misc/next-tick-depth.js
  53. +25 −0 benchmark/misc/spawn-echo.js
  54. +40 −0 benchmark/misc/startup.js
  55. +16 −0 benchmark/misc/string-creation.js
  56. +40 −0 benchmark/misc/timers.js
  57. +40 −0 benchmark/misc/url.js
  58. +18 −0 benchmark/misc/v8-bench.js
  59. +112 −0 benchmark/net/net-c2s.js
  60. +115 −0 benchmark/net/net-pipe.js
  61. +112 −0 benchmark/net/net-s2c.js
  62. +136 −0 benchmark/net/tcp-raw-c2s.js
  63. +149 −0 benchmark/net/tcp-raw-pipe.js
  64. +136 −0 benchmark/net/tcp-raw-s2c.js
  65. +0 −41 benchmark/next-tick-2.js
  66. +0 −17 benchmark/next-tick.js
  67. +0 −19 benchmark/process_loop.js
  68. +0 −31 benchmark/run.js
  69. +0 −15 benchmark/settimeout.js
  70. +0 −26 benchmark/startup.js
  71. +1 −0  benchmark/static_http_server.js
  72. +0 −6 benchmark/string_creation.js
  73. +0 −25 benchmark/throughput-child.js
  74. +0 −21 benchmark/throughput.js
  75. +0 −5 benchmark/timers.js
  76. +0 −63 benchmark/tls-fragmentation.js
  77. +74 −0 benchmark/tls/throughput.js
  78. +63 −0 benchmark/tls/tls-connect.js
  79. +0 −15 benchmark/v8_bench.js
  80. +43 −18 common.gypi
  81. +305 −39 configure
  82. +15 −0 deps/cares/.gitignore
  83. 0  deps/{uv → cares}/build/gcc_version.py
  84. +160 −0 deps/cares/cares.gyp
  85. +172 −0 deps/cares/common.gypi
  86. 0  deps/{uv/src/ares/config_cygwin → cares/config/cygwin}/ares_config.h
  87. 0  deps/{uv/src/ares/config_darwin → cares/config/darwin}/ares_config.h
  88. 0  deps/{uv/src/ares/config_freebsd → cares/config/freebsd}/ares_config.h
  89. 0  deps/{uv/src/ares/config_linux → cares/config/linux}/ares_config.h
  90. 0  deps/{uv/src/ares/config_openbsd → cares/config/netbsd}/ares_config.h
  91. 0  deps/{uv/src/ares/config_netbsd → cares/config/openbsd}/ares_config.h
  92. 0  deps/{uv/src/ares/config_sunos → cares/config/sunos}/ares_config.h
  93. 0  deps/{uv/src/ares/config_win32 → cares/config/win32}/ares_config.h
  94. +622 −0 deps/cares/include/ares.h
  95. +24 −0 deps/cares/include/ares_version.h
  96. 0  deps/{uv/src/ares → cares/include}/nameser.h
  97. 0  deps/{uv/src/ares → cares/src}/AUTHORS
  98. +7 −0 deps/cares/src/CHANGES
  99. 0  deps/{uv/src/ares → cares/src}/NEWS
  100. 0  deps/{uv/src/ares → cares/src}/README
  101. 0  deps/{uv/src/ares → cares/src}/README.cares
  102. 0  deps/{uv/src/ares → cares/src}/README.msvc
  103. +16 −0 deps/cares/src/RELEASE-NOTES
  104. 0  deps/{uv/src/ares → cares/src}/TODO
  105. 0  deps/{uv/src/ares → cares/src}/ares__close_sockets.c
  106. +264 −0 deps/cares/src/ares__get_hostent.c
  107. 0  deps/{uv/src/ares → cares/src}/ares__read_line.c
  108. 0  deps/{uv/src/ares → cares/src}/ares__timeval.c
  109. 0  deps/{uv/src/ares → cares/src}/ares_cancel.c
  110. +231 −0 deps/cares/src/ares_data.c
  111. +69 −0 deps/cares/src/ares_data.h
  112. +107 −0 deps/cares/src/ares_destroy.c
  113. +103 −0 deps/cares/src/ares_dns.h
  114. +201 −0 deps/cares/src/ares_expand_name.c
  115. 0  deps/{uv/src/ares → cares/src}/ares_expand_string.c
  116. 0  deps/{uv/src/ares → cares/src}/ares_fds.c
  117. 0  deps/{uv/src/ares → cares/src}/ares_free_hostent.c
  118. 0  deps/{uv/src/ares → cares/src}/ares_free_string.c
  119. 0  deps/{uv/src/ares → cares/src}/ares_getenv.c
  120. 0  deps/{uv/src/ares → cares/src}/ares_getenv.h
  121. 0  deps/{uv/src/ares → cares/src}/ares_gethostbyaddr.c
  122. +524 −0 deps/cares/src/ares_gethostbyname.c
  123. +427 −0 deps/cares/src/ares_getnameinfo.c
  124. 0  deps/{uv/src/ares → cares/src}/ares_getopt.c
  125. 0  deps/{uv/src/ares → cares/src}/ares_getopt.h
  126. 0  deps/{uv/src/ares → cares/src}/ares_getsock.c
  127. +2,021 −0 deps/cares/src/ares_init.c
  128. 0  deps/{uv/src/ares → cares/src}/ares_iphlpapi.h
  129. 0  deps/{uv/src/ares → cares/src}/ares_ipv6.h
  130. 0  deps/{uv/src/ares → cares/src}/ares_library_init.c
  131. +42 −0 deps/cares/src/ares_library_init.h
  132. 0  deps/{uv/src/ares → cares/src}/ares_llist.c
  133. 0  deps/{uv/src/ares → cares/src}/ares_llist.h
  134. 0  deps/{uv/src/ares → cares/src}/ares_mkquery.c
  135. +249 −0 deps/cares/src/ares_nowarn.c
  136. +61 −0 deps/cares/src/ares_nowarn.h
  137. 0  deps/{uv/src/ares → cares/src}/ares_options.c
  138. 0  deps/{uv/src/ares → cares/src}/ares_parse_a_reply.c
  139. +261 −0 deps/cares/src/ares_parse_aaaa_reply.c
  140. 0  deps/{uv/src/ares → cares/src}/ares_parse_mx_reply.c
  141. +188 −0 deps/cares/src/ares_parse_naptr_reply.c
  142. 0  deps/{uv/src/ares → cares/src}/ares_parse_ns_reply.c
  143. +218 −0 deps/cares/src/ares_parse_ptr_reply.c
  144. +135 −0 deps/cares/src/ares_parse_soa_reply.c
  145. 0  deps/{uv/src/ares → cares/src}/ares_parse_srv_reply.c
  146. 0  deps/{uv/src/ares → cares/src}/ares_parse_txt_reply.c
  147. 0  deps/{uv/src/ares → cares/src}/ares_platform.c
  148. 0  deps/{uv/src/ares → cares/src}/ares_platform.h
  149. +355 −0 deps/cares/src/ares_private.h
  150. +1,294 −0 deps/cares/src/ares_process.c
  151. 0  deps/{uv/src/ares → cares/src}/ares_query.c
  152. 0  deps/{uv/src/ares → cares/src}/ares_rules.h
  153. 0  deps/{uv/src/ares → cares/src}/ares_search.c
  154. +134 −0 deps/cares/src/ares_send.c
  155. +221 −0 deps/cares/src/ares_setup.h
  156. 0  deps/{uv/src/ares → cares/src}/ares_strcasecmp.c
  157. 0  deps/{uv/src/ares → cares/src}/ares_strcasecmp.h
  158. 0  deps/{uv/src/ares → cares/src}/ares_strdup.c
  159. 0  deps/{uv/src/ares → cares/src}/ares_strdup.h
  160. 0  deps/{uv/src/ares → cares/src}/ares_strerror.c
  161. +81 −0 deps/cares/src/ares_timeout.c
  162. 0  deps/{uv/src/ares → cares/src}/ares_version.c
  163. 0  deps/{uv/src/ares → cares/src}/ares_writev.c
  164. 0  deps/{uv/src/ares → cares/src}/ares_writev.h
  165. 0  deps/{uv/src/ares → cares/src}/bitncmp.c
  166. 0  deps/{uv/src/ares → cares/src}/bitncmp.h
  167. 0  deps/{uv/src/ares → cares/src}/get_ver.awk
  168. 0  deps/{uv/src/ares → cares/src}/inet_net_pton.c
  169. 0  deps/{uv/src/ares → cares/src}/inet_net_pton.h
  170. 0  deps/{uv/src/ares → cares/src}/inet_ntop.c
  171. 0  deps/{uv/src/ares → cares/src}/inet_ntop.h
  172. +512 −0 deps/cares/src/setup_once.h
  173. 0  deps/{uv/src/ares → cares/src}/windows_port.c
  174. +3 −0  deps/http_parser/.gitignore
  175. +1 −0  deps/http_parser/.mailmap
  176. +5 −0 deps/http_parser/AUTHORS
  177. +7 −1 deps/http_parser/Makefile
  178. +253 −119 deps/http_parser/http_parser.c
  179. +7 −6 deps/http_parser/http_parser.h
  180. +1,321 −105 deps/http_parser/test.c
  181. +44 −0 deps/http_parser/url_parser.c
  182. +5 −3 deps/npm/.npmignore
  183. +0 −4 deps/npm/.travis.yml
  184. +19 −0 deps/npm/AUTHORS
  185. +11 −10 deps/npm/LICENSE
  186. +15 −13 deps/npm/Makefile
  187. +17 −38 deps/npm/README.md
  188. +5 −6 deps/npm/bin/npm-cli.js
  189. +2 −0  deps/npm/doc/api/deprecate.md
  190. +8 −7 deps/npm/doc/api/npm.md
  191. +2 −0  deps/npm/doc/cli/coding-style.md
  192. +46 −8 deps/npm/doc/cli/config.md
  193. +53 −0 deps/npm/doc/cli/dedupe.md
  194. +2 −0  deps/npm/doc/cli/deprecate.md
  195. +10 −3 deps/npm/doc/cli/disputes.md
  196. +64 −9 deps/npm/doc/cli/faq.md
  197. +209 −0 deps/npm/doc/cli/global.md
  198. +17 −1 deps/npm/doc/cli/index.md
  199. +3 −0  deps/npm/doc/cli/install.md
  200. +7 −2 deps/npm/doc/cli/json.md
  201. 0  deps/npm/doc/cli/{list.md → ls.md}
  202. +1 −1  deps/npm/doc/cli/npm.md
  203. +1 −3 deps/npm/doc/cli/registry.md
  204. +19 −0 deps/npm/doc/cli/rm.md
  205. +49 −4 deps/npm/doc/cli/scripts.md
  206. +3 −3 deps/npm/doc/cli/semver.md
  207. +22 −0 deps/npm/doc/cli/stars.md
  208. +4 −1 deps/npm/doc/cli/update.md
  209. +23 −5 deps/npm/doc/cli/version.md
  210. +3 −1 deps/npm/doc/cli/view.md
  211. +2 −2 deps/npm/html/api/bin.html
  212. +3 −3 deps/npm/html/api/bugs.html
  213. +2 −2 deps/npm/html/api/commands.html
  214. +3 −3 deps/npm/html/api/config.html
  215. +5 −3 deps/npm/html/api/deprecate.html
  216. +3 −3 deps/npm/html/api/docs.html
  217. +4 −4 deps/npm/html/api/edit.html
  218. +3 −3 deps/npm/html/api/explore.html
  219. +3 −3 deps/npm/html/api/help-search.html
  220. +6 −6 deps/npm/html/api/init.html
  221. +5 −5 deps/npm/html/api/install.html
  222. +4 −4 deps/npm/html/api/link.html
  223. +3 −3 deps/npm/html/api/load.html
  224. +4 −4 deps/npm/html/api/ls.html
  225. +21 −20 deps/npm/html/api/npm.html
  226. +3 −3 deps/npm/html/api/outdated.html
  227. +4 −4 deps/npm/html/api/owner.html
  228. +3 −3 deps/npm/html/api/pack.html
  229. +4 −4 deps/npm/html/api/prefix.html
  230. +4 −4 deps/npm/html/api/prune.html
  231. +4 −4 deps/npm/html/api/publish.html
  232. +3 −3 deps/npm/html/api/rebuild.html
  233. +6 −6 deps/npm/html/api/restart.html
  234. +4 −4 deps/npm/html/api/root.html
  235. +4 −4 deps/npm/html/api/run-script.html
  236. +6 −6 deps/npm/html/api/search.html
  237. +5 −5 deps/npm/html/api/shrinkwrap.html
  238. +3 −3 deps/npm/html/api/start.html
  239. +3 −3 deps/npm/html/api/stop.html
  240. +3 −3 deps/npm/html/api/submodule.html
  241. +3 −3 deps/npm/html/api/tag.html
  242. +3 −3 deps/npm/html/api/test.html
  243. +4 −4 deps/npm/html/api/uninstall.html
  244. +2 −2 deps/npm/html/api/unpublish.html
  245. +3 −3 deps/npm/html/api/update.html
  246. +2 −2 deps/npm/html/api/version.html
  247. +16 −16 deps/npm/html/api/view.html
  248. +4 −4 deps/npm/html/api/whoami.html
  249. +39 −60 deps/npm/html/doc/README.html
  250. +2 −2 deps/npm/html/doc/adduser.html
  251. +2 −2 deps/npm/html/doc/bin.html
  252. +4 −4 deps/npm/html/doc/bugs.html
  253. +2 −2 deps/npm/html/doc/build.html
  254. +2 −2 deps/npm/html/doc/bundle.html
  255. +2 −2 deps/npm/html/doc/cache.html
  256. +8 −8 deps/npm/html/doc/changelog.html
  257. +35 −33 deps/npm/html/doc/coding-style.html
  258. +3 −3 deps/npm/html/doc/completion.html
  259. +96 −60 deps/npm/html/doc/config.html
  260. +92 −0 deps/npm/html/doc/dedupe.html
  261. +5 −3 deps/npm/html/doc/deprecate.html
  262. +25 −25 deps/npm/html/doc/developers.html
  263. +20 −14 deps/npm/html/doc/disputes.html
  264. +4 −4 deps/npm/html/doc/docs.html
  265. +5 −5 deps/npm/html/doc/edit.html
  266. +3 −3 deps/npm/html/doc/explore.html
  267. +100 −45 deps/npm/html/doc/faq.html
  268. +23 −23 deps/npm/html/doc/folders.html
  269. +240 −0 deps/npm/html/doc/global.html
  270. +3 −3 deps/npm/html/doc/help-search.html
  271. +4 −4 deps/npm/html/doc/help.html
  272. +22 −6 deps/npm/html/doc/index.html
  273. +4 −4 deps/npm/html/doc/init.html
  274. +14 −11 deps/npm/html/doc/install.html
  275. +135 −134 deps/npm/html/doc/json.html
  276. +4 −4 deps/npm/html/doc/link.html
  277. +4 −4 deps/npm/html/doc/list.html
  278. +99 −0 deps/npm/html/doc/ls.html
  279. +18 −18 deps/npm/html/doc/npm.html
  280. +2 −2 deps/npm/html/doc/outdated.html
  281. +3 −3 deps/npm/html/doc/owner.html
  282. +3 −3 deps/npm/html/doc/pack.html
  283. +2 −2 deps/npm/html/doc/prefix.html
  284. +4 −4 deps/npm/html/doc/prune.html
  285. +3 −3 deps/npm/html/doc/publish.html
  286. +2 −2 deps/npm/html/doc/rebuild.html
  287. +19 −21 deps/npm/html/doc/registry.html
  288. +6 −6 deps/npm/html/doc/removing-npm.html
  289. +6 −6 deps/npm/html/doc/restart.html
  290. +57 −0 deps/npm/html/doc/rm.html
  291. +2 −2 deps/npm/html/doc/root.html
  292. +3 −3 deps/npm/html/doc/run-script.html
  293. +79 −38 deps/npm/html/doc/scripts.html
  294. +3 −3 deps/npm/html/doc/search.html
  295. +20 −20 deps/npm/html/doc/semver.html
  296. +54 −54 deps/npm/html/doc/shrinkwrap.html
  297. +5 −5 deps/npm/html/doc/star.html
  298. +60 −0 deps/npm/html/doc/stars.html
  299. +3 −3 deps/npm/html/doc/start.html
  300. +3 −3 deps/npm/html/doc/stop.html
Sorry, we could not display the entire diff because too many files (4,275) changed.
View
16 .gitignore
@@ -1,5 +1,8 @@
core
vgcore.*
+v8*.log
+perf.data
+perf.data.old
.waf*
tags
.lock-wscript
@@ -42,4 +45,15 @@ ipch/
email.md
deps/v8-*
./node_modules
-.svn/
+.svn/
+
+# generated by gyp on Windows
+deps/openssl/openssl.props
+deps/openssl/openssl.targets
+deps/openssl/openssl.xml
+
+# build/release artifacts
+/*.tar.gz
+/SHASUMS.txt*
+
+/tools/wrk/wrk
View
5 .mailmap
@@ -13,6 +13,7 @@ Bert Belder <bertbelder@gmail.com> <piscisaureus@Berts-MacBook-Pro.local>
Brandon Benvie <brandon@bbenvie.com> <brandon@brandonbenvie.com>
Brian White <mscdex@mscdex.net>
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
+Bryan Cantrill <bmc@joyent.com> <bryan@joyent.com>
Chew Choon Keat <choonkeat@gmail.com>
Christopher Lenz <cmlenz@gmail.com> <chris@lamech.local>
Daniel Berger <code+node@dpbis.net>
@@ -20,6 +21,7 @@ Daniel Chcouri <333222@gmail.com>
Daniel Gröber <darklord@darkboxed.org>
Daniel Gröber <darklord@darkboxed.org> <dxld@darkboxed.org>
Daniel Pihlström <sciolist.se@gmail.com>
+Dave Pacheco <dap@joyent.com> <dap@cs.brown.edu>
David Siegel <david@artcom.de> <david.siegel@artcom.de>
Domenic Denicola <domenic@domenicdenicola.com>
Eduard Burtescu <eddy_me08@yahoo.com>
@@ -46,6 +48,7 @@ Johan Dahlberg <jfd@distrop.com> <dahlberg.johan@gmail.com>
Jonas Pfenniger <jonas@pfenniger.name> <jonas@stvs.ch>
Jonathan Rentzsch <jwr.git@redshed.net>
Joshua S. Weinstein <josher19@users.sf.net>
+Kazuyuki Yamada <tasogare.pg@gmail.com>
Koichi Kobayashi <koichik@improvement.jp>
Kris Kowal <kris.kowal@cixar.com>
Kyle Robinson Young <kyle@dontkry.com>
@@ -83,9 +86,11 @@ Tim Smart <timehandgod@gmail.com> <tim@fostle.com>
Tim Smart <timehandgod@gmail.com> <timehandgod@gmail.com>
TJ Holowaychuk <tj@vision-media.ca>
TJ Holowaychuk <tj@vision-media.ca> <tjholowayhuk@gmail.com>
+Tom Hughes-Croucher <tom.hughes@palm.com> <tom_croucher@yahoo.com>
Trevor Burnham <trevor@databraid.com> <trevorburnham@gmail.com>
Tyler Larson <talltyler@gmail.com>
Vincent Voyer <v@fasterize.com>
+Willi Eggeling <email@wje-online.de>
Yoshihiro KIKUCHI <yknetg@gmail.com>
Yuichiro MASUI <masui@masuidrive.jp>
Zachary Scott <zachary@zacharyscott.net> <zachary.s.scott@gmail.com>
View
86 AUTHORS
@@ -223,8 +223,8 @@ Evan Martin <martine@danga.com>
Peter Lyons <pete@peterlyons.com>
Jann Horn <jannhorn@googlemail.com>
Abimanyu Raja <abimanyuraja@gmail.com>
-Karl Skomski <karl@skomski.com>
Niclas Hoyer <niclas@verbugt.de>
+Karl Skomski <karl@skomski.com>
Michael Jackson <mjijackson@gmail.com>
Ashok Mudukutore <ashok@lineratesystems.com>
Sean Cunningham <sean.cunningham@mandiant.com>
@@ -332,6 +332,7 @@ James Koval <james.ross.koval@gmail.com>
Kevin Gadd <kevin.gadd@gmail.com>
Ray Solomon <raybsolomon@gmail.com>
Kevin Bowman <github@magicmonkey.org>
+Erwin van der Koogh <github@koogh.com>
Matt Gollob <mattgollob@gmail.com>
Simon Sturmer <sstur@me.com>
Joel Brandt <joelrbrandt@gmail.com>
@@ -339,8 +340,91 @@ Marc Harter <wavded@gmail.com>
Nuno Job <nunojobpinto@gmail.com>
Ben Kelly <ben@wanderview.com>
Felix Böhm <felixboehm55@googlemail.com>
+George Shank <shankga@gmail.com>
Gabriel de Perthuis <g2p.code@gmail.com>
+Vladimir Beloborodov <redhead.ru@gmail.com>
Tim Macfarlane <timmacfarlane@gmail.com>
Jonas Westerlund <jonas.westerlund@me.com>
Dominic Tarr <dominic.tarr@gmail.com>
Justin Plock <jplock@gmail.com>
+Timothy J Fontaine <tjfontaine@gmail.com>
+Toshihiro Nakamura <toshihiro.nakamura@gmail.com>
+Ivan Torres <mexpolk@gmail.com>
+Philipp Hagemeister <phihag@phihag.de>
+Mike Morearty <mike@morearty.com>
+Pavel Lang <langpavel@phpskelet.org>
+Peter Rybin <peter.rybin@gmail.com>
+Joe Andaverde <joe@andaverde.net>
+Eugen Dueck <eugen@dueck.org>
+Gil Pedersen <git@gpost.dk>
+Tyler Neylon <tylerneylon@gmail.com>
+Josh Erickson <josh@snoj.us>
+Golo Roden <webmaster@goloroden.de>
+Ron Korving <rkorving@wizcorp.jp>
+Brandon Wilson <chlavois@gmail.com>
+Ian Babrou <ibobrik@gmail.com>
+Bearice Ren <bearice@gmail.com>
+Ankur Oberoi <aoberoi@gmail.com>
+Atsuya Takagi <atsuya.takagi@gmail.com>
+Pooya Karimian <pkarimian@sencha.com>
+Frédéric Germain <frederic.germain@gmail.com>
+Robin Lee <cheeselee@fedoraproject.org>
+Kazuyuki Yamada <tasogare.pg@gmail.com>
+Adam Blackburn <regality@gmail.com>
+Willi Eggeling <email@wje-online.de>
+Paul Serby <paul.serby@clock.co.uk>
+Andrew Paprocki <andrew@ishiboo.com>
+Ricky Ng-Adam <rngadam@lophilo.com>
+Aaditya Bhatia <aadityabhatia@gmail.com>
+Max Ogden <max@maxogden.com>
+Igor Soarez <igorsoarez@gmail.com>
+Olivier Lalonde <olalonde@gmail.com>
+Francois Marier <francois@mozilla.com>
+Trevor Norris <trev.norris@gmail.com>
+Kai Sasaki Lewuathe <sasaki_kai@lewuathe.sakura.ne.jp>
+Nicolas Chambrier <naholyr@gmail.com>
+Tim Bradshaw <tfb@cley.com>
+Johannes Ewald <mail@johannesewald.de>
+Chris Dent <chris.dent@gmail.com>
+Dan Milon <danmilon@gmail.com>
+Brandon Philips <brandon.philips@rackspace.com>
+Frederico Silva <frederico.silva@gmail.com>
+Jan Wynholds <jan@rootmusic.com>
+Girish Ramakrishnan <girish@forwardbias.in>
+Anthony Pesch <anthony@usamp.com>
+Stephen Gallagher <sgallagh@redhat.com>
+Sergey Kholodilov <serghol@gmail.com>
+Tim Kuijsten <tim@netsend.nl>
+Michael Axiak <mike@axiak.net>
+Chad Rhyner <chadrhyner@gmail.com>
+Ben Taber <ben.taber@gmail.com>
+Luke Arduini <luke.arduini@me.com>
+Luke Bayes <lbayes@patternpark.com>
+Nirk Niggler <nirk.niggler@gmail.com>
+James Hight <james@zavoo.com>
+Mike Harsch <mike@harschsystems.com>
+Alexandr Emelin <frvzmb@gmail.com>
+James Campos <james.r.campos@gmail.com>
+Dave Olszewski <cxreg@pobox.com>
+Tim Price <timprice@mangoraft.com>
+Jake Verbaten <raynos2@gmail.com>
+Jacob Gable <jacob.gable@gmail.com>
+Rick Yakubowski <richard@orpha-systems.com>
+Dan Kohn <dan@dankohn.com>
+Andy Burke <aburke@bitflood.org>
+Sugendran Ganess <sugendran@sugendran.net>
+Jim Schubert <james.schubert@gmail.com>
+Victor Costan <costan@gmail.com>
+Timothy J Fontaine <tjfontaine@gmail.com>
+Arianit Uka <arianit@bigvikinggames.com>
+Andrei Sedoi <bsnote@gmail.com>
+Eugene Girshov <eugene.girshov@nixu.com>
+Evan Oxfeld <eoxfeld@nearinfinity.com>
+Lars-Magnus Skog <lars.magnus.skog@gmail.com>
+Raymond Feng <enjoyjava@gmail.com>
+Aaron Cannon <cannona@fireantproductions.com>
+Xidorn Quan <quanxunzhen@gmail.com>
+Paolo Fragomeni <paolo@async.ly>
+Scott Blomquist <github@scott.blomqui.st>
+Henry Chin <hheennrryy@gmail.com>
+Julian Gruber <julian@juliangruber.com>
View
145 CONTRIBUTING.md
@@ -0,0 +1,145 @@
+# CONTRIBUTING
+
+The node.js project welcomes new contributors. This document will guide you
+through the process.
+
+
+### FORK
+
+Fork the project [on GitHub](https://github.com/joyent/node) and check out
+your copy.
+
+```
+$ git clone git@github.com:username/node.git
+$ cd node
+$ git remote add upstream git://github.com/joyent/node.git
+```
+
+Now decide if you want your feature or bug fix to go into the master branch
+or the stable branch. As a rule of thumb, bug fixes go into the stable branch
+while new features go into the master branch.
+
+The stable branch is effectively frozen; patches that change the node.js
+API/ABI or affect the run-time behavior of applications get rejected.
+
+The rules for the master branch are less strict; consult the
+[stability index page][] for details.
+
+In a nutshell, modules are at varying levels of API stability. Bug fixes are
+always welcome but API or behavioral changes to modules at stability level 3
+and up are off-limits.
+
+Node.js has several bundled dependencies in the deps/ and the tools/
+directories that are not part of the project proper. Any changes to files
+in those directories or its subdirectories should be sent to their respective
+projects. Do not send your patch to us, we cannot accept it.
+
+In case of doubt, open an issue in the [issue tracker][], post your question
+to the [node.js mailing list][] or contact one of the [project maintainers][]
+on [IRC][].
+
+Especially do so if you plan to work on something big. Nothing is more
+frustrating than seeing your hard work go to waste because your vision
+does not align with that of a project maintainer.
+
+
+### BRANCH
+
+Okay, so you have decided on the proper branch. Create a feature branch
+and start hacking:
+
+```
+$ git checkout -b my-feature-branch -t origin/v0.8
+```
+
+(Where v0.8 is the latest stable branch as of this writing.)
+
+
+### COMMIT
+
+Make sure git knows your name and email address:
+
+```
+$ git config --global user.name "J. Random User"
+$ git config --global user.email "j.random.user@example.com"
+```
+
+Writing good commit logs is important. A commit log should describe what
+changed and why. Follow these guidelines when writing one:
+
+1. The first line should be 50 characters or less and contain a short
+ description of the change.
+2. Keep the second line blank.
+3. Wrap all other lines at 72 columns.
+
+A good commit log looks like this:
+
+```
+Header line: explaining the commit in one line
+
+Body of commit message is a few lines of text, explaining things
+in more detail, possibly giving some background about the issue
+being fixed, etc etc.
+
+The body of the commit message can be several paragraphs, and
+please do proper word-wrap and keep columns shorter than about
+72 characters or so. That way `git log` will show things
+nicely even when it is indented.
+```
+
+The header line should be meaningful; it is what other people see when they
+run `git shortlog` or `git log --oneline`.
+
+Have a look at `git log` for inspiration.
+
+
+### REBASE
+
+Use `git rebase` (not `git merge`) to sync your work from time to time.
+
+```
+$ git fetch upstream
+$ git rebase upstream/v0.8 # or upstream/master
+```
+
+
+### TEST
+
+Bug fixes and features should come with tests. Add your tests in the
+test/simple/ directory. Look at other tests to see how they should be
+structured (license boilerplate, common includes, etc.).
+
+```
+$ make jslint test
+```
+
+Make sure the linter is happy and that all tests pass. Please, do not submit
+patches that fail either check.
+
+
+### PUSH
+
+```
+$ git push origin my-feature-branch
+```
+
+Go to https://github.com/username/node and select your feature branch. Click
+the 'Pull Request' button and fill out the form.
+
+Pull requests are usually reviewed within a few days. If there are comments
+to address, apply your changes in a separate commit and push that to your
+feature branch. Post a comment in the pull request afterwards; GitHub does
+not send out notifications when you add commits.
+
+
+### CONTRIBUTOR LICENSE AGREEMENT
+
+Please visit http://nodejs.org/cla.html and sign the Contributor License
+Agreement. You only need to do that once.
+
+
+[stability index page]: https://github.com/joyent/node/blob/master/doc/api/documentation.markdown
+[issue tracker]: https://github.com/joyent/node/issues
+[node.js mailing list]: http://groups.google.com/group/nodejs
+[IRC]: http://webchat.freenode.net/?channels=node.js
+[project maintainers]: https://github.com/joyent/node/wiki/Project-Organization
View
979 ChangeLog
@@ -1,4 +1,921 @@
-2012.07.09, Version 0.8.2 (Stable)
+2013.03.11, Version 0.10.0 (Stable)
+
+* npm: Upgrade to 1.2.14
+
+* core: Append filename properly in dlopen on windows (isaacs)
+
+* zlib: Manage flush flags appropriately (isaacs)
+
+* domains: Handle errors thrown in nested error handlers (isaacs)
+
+* buffer: Strip high bits when converting to ascii (Ben Noordhuis)
+
+* win/msi: Enable modify and repair (Bert Belder)
+
+* win/msi: Add feature selection for various node parts (Bert Belder)
+
+* win/msi: use consistent registry key paths (Bert Belder)
+
+* child_process: support sending dgram socket (Andreas Madsen)
+
+* fs: Raise EISDIR on Windows when calling fs.read/write on a dir (isaacs)
+
+* unix: fix strict aliasing warnings, macro-ify functions (Ben Noordhuis)
+
+* unix: honor UV_THREADPOOL_SIZE environment var (Ben Noordhuis)
+
+* win/tty: fix typo in color attributes enumeration (Bert Belder)
+
+* win/tty: don't touch insert mode or quick edit mode (Bert Belder)
+
+
+2013.03.06, Version 0.9.12 (Unstable), 0debf5a82934da805592b6496756cdf27c993abc
+
+* stream: Allow strings in Readable.push/unshift (isaacs)
+
+* stream: Remove bufferSize option (isaacs)
+
+* stream: Increase highWaterMark on large reads (isaacs)
+
+* stream: _write: takes an encoding argument (isaacs)
+
+* stream: _transform: remove output() method, provide encoding (isaacs)
+
+* stream: Don't require read(0) to emit 'readable' event (isaacs)
+
+* node: Add --throw-deprecation (isaacs)
+
+* http: fix multiple timeout events (Eugene Girshov)
+
+* http: More useful setTimeout API on server (isaacs)
+
+* net: use close callback, not process.nextTick (Ben Noordhuis)
+
+* net: Provide better error when writing after FIN (isaacs)
+
+* dns: Support NAPTR queries (Pavel Lang)
+
+* dns: fix ReferenceError in resolve() error path (Xidorn Quan)
+
+* child_process: handle ENOENT correctly on Windows (Scott Blomquist)
+
+* cluster: Rename destroy() to kill(signal=SIGTERM) (isaacs)
+
+* build: define nightly tag external to build system (Timothy J Fontaine)
+
+* build: make msi build work when spaces are present in the path (Bert Belder)
+
+* build: fix msi build issue with WiX 3.7/3.8 (Raymond Feng)
+
+* repl: make compatible with domains (Dave Olszewski)
+
+* events: Code cleanup and performance improvements (Trevor Norris)
+
+
+2013.03.01, Version 0.9.11 (Unstable), 83392403b7a9b7782b37c17688938c75010f81ba
+
+* V8: downgrade to 3.14.5
+
+* openssl: update to 1.0.1e
+
+* darwin: Make process.title work properly (Ben Noordhuis)
+
+* fs: Support mode/flag options to read/append/writeFile (isaacs)
+
+* stream: _read() no longer takes a callback (isaacs)
+
+* stream: Add stream.unshift(chunk) (isaacs)
+
+* stream: remove lowWaterMark feature (isaacs)
+
+* net: omit superfluous 'connect' event (Ben Noordhuis)
+
+* build, windows: disable SEH (Ben Noordhuis)
+
+* core: remove errno global (Ben Noordhuis)
+
+* core: Remove the nextTick for running the main file (isaacs)
+
+* core: Mark exit() calls with status codes (isaacs)
+
+* core: Fix debug signal handler race condition lock (isaacs)
+
+* crypto: clear error stack (Ben Noordhuis)
+
+* test: optionally set common.PORT via env variable (Timothy J Fontaine)
+
+* path: Throw TypeError on non-string args to path.resolve/join (isaacs, Arianit Uka)
+
+* crypto: fix uninitialized memory access in openssl (Ben Noordhuis)
+
+
+2013.02.19, Version 0.9.10 (Unstable)
+
+* V8: Upgrade to 3.15.11.15
+
+* npm: Upgrade to 1.2.12
+
+* fs: Change default WriteStream config, increase perf (isaacs)
+
+* process: streamlining tick callback logic (Trevor Norris)
+
+* stream_wrap, udp_wrap: add read-only fd property (Ben Noordhuis)
+
+* buffer: accept negative indices in Buffer#slice() (Ben Noordhuis)
+
+* tls: Cycle data when underlying socket drains (isaacs)
+
+* stream: read(0) should not always trigger _read(n,cb) (isaacs)
+
+* stream: Empty strings/buffers do not signal EOF any longer (isaacs)
+
+* crypto: improve cipher/decipher error messages (Ben Noordhuis)
+
+* net: Respect the 'readable' flag on sockets (isaacs)
+
+* net: don't suppress ECONNRESET (Ben Noordhuis)
+
+* typed arrays: copy Buffer in typed array constructor (Ben Noordhuis)
+
+* typed arrays: make DataView throw on non-ArrayBuffer (Ben Noordhuis)
+
+* windows: MSI installer enhancements (Scott Blomquist, Jim Schubert)
+
+
+2013.02.07, Version 0.9.9 (Unstable), 4b9f0d190cd6b22853caeb0e07145a98ce1d1d7f
+
+* tls: port CryptoStream to streams2 (Fedor Indutny)
+
+* typed arrays: only share ArrayBuffer backing store (Ben Noordhuis)
+
+* stream: make Writable#end() accept a callback function (Nathan Rajlich)
+
+* buffer: optimize 'hex' handling (Ben Noordhuis)
+
+* dns, cares: don't filter NOTIMP, REFUSED, SERVFAIL (Ben Noordhuis)
+
+* readline: treat bare \r as a line ending (isaacs)
+
+* readline: make \r\n emit one 'line' event (Ben Noordhuis)
+
+* cluster: support datagram sockets (Bert Belder)
+
+* stream: Correct Transform class backpressure (isaacs)
+
+* addon: Pass module object to NODE_MODULE init function (isaacs, Rod Vagg)
+
+* buffer: slow buffer copy compatibility fix (Trevor Norris)
+
+* Add bytesWritten to tls.CryptoStream (Andy Burke)
+
+
+2013.01.24, Version 0.9.8 (Unstable), 5f2f8400f665dc32c3e10e7d31d53d756ded9156
+
+* npm: Upgrade to v1.2.3
+
+* V8: Upgrade to 3.15.11.10
+
+* streams: Support objects other than Buffers (Jake Verbaten)
+
+* buffer: remove float write range checks (Trevor Norris)
+
+* http: close connection on 304/204 responses with chunked encoding (Ben Noordhuis)
+
+* build: fix build with dtrace support on FreeBSD (Fedor Indutny)
+
+* console: Support formatting options in trace() (isaacs)
+
+* domain: empty stack on all exceptions (Dave Olszewski)
+
+* unix, windows: make uv_*_bind() error codes consistent (Andrius Bentkus)
+
+* linux: add futimes() fallback (Ben Noordhuis)
+
+
+2013.01.18, Version 0.9.7 (Unstable), 9e7bebeb8305edd55735a95955a98fdbe47572e5
+
+* V8: Upgrade to 3.15.11.7
+
+* npm: Upgrade to 1.2.2
+
+* punycode: Upgrade to 1.2.0 (Mathias Bynens)
+
+* repl: make built-in modules available by default (Felix Böhm)
+
+* windows: add support for '_Total' perf counters (Scott Blomquist)
+
+* cluster: make --prof work for workers (Ben Noordhuis)
+
+* child_process: do not keep list of sent sockets (Fedor Indutny)
+
+* tls: Follow RFC6125 more strictly (Fedor Indutny)
+
+* buffer: floating point read/write improvements (Trevor Norris)
+
+* TypedArrays: Improve dataview perf without endian param (Dean McNamee)
+
+* module: assert require() called with a non-empty string (Felix Böhm, James Campos)
+
+* stdio: Set readable/writable flags properly (isaacs)
+
+* stream: Properly handle large reads from push-streams (isaacs)
+
+
+2013.01.11, Version 0.9.6 (Unstable), 9313fdc71ca8335d5e3a391c103230ee6219b3e2
+
+* V8: update to 3.15.11.5
+
+* node: remove ev-emul.h (Ben Noordhuis)
+
+* path: make basename and extname ignore trailing slashes (Bert Belder)
+
+* typed arrays: fix sunos signed/unsigned char issue (Ben Noordhuis)
+
+* child_process: Fix {stdio:'inherit'} regression (Ben Noordhuis)
+
+* child_process: Fix pipe() from child stdio streams (Maciej Małecki)
+
+* child_process: make fork() execPath configurable (Bradley Meck)
+
+* stream: Add readable.push(chunk) method (isaacs)
+
+* dtrace: x64 ustack helper (Fedor Indutny)
+
+* repl: fix floating point number parsing (Nirk Niggler)
+
+* repl: allow overriding builtins (Ben Noordhuis)
+
+* net: add localAddress and localPort to Socket (James Hight)
+
+* fs: make pool size coincide with ReadStream bufferSize (Shigeki Ohtsu)
+
+* typed arrays: implement load and store swizzling (Dean McNamee)
+
+* windows: fix perfctr crash on XP and 2003 (Scott Blomquist)
+
+* dgram: fix double implicit bind error (Ben Noordhuis)
+
+
+2012.12.30, Version 0.9.5 (Unstable), 01994e8119c24f2284bac0779b32acb49c95bee7
+
+* assert: improve support for new execution contexts (lukebayes)
+
+* domain: use camelCase instead of snake_case (isaacs)
+
+* domain: Do not use uncaughtException handler (isaacs)
+
+* fs: make 'end' work with ReadStream without 'start' (Ben Noordhuis)
+
+* https: optimize createConnection() (Ryunosuke SATO)
+
+* buffer: speed up base64 encoding by 20% (Ben Noordhuis)
+
+* doc: Colorize API stabilitity index headers in docs (Luke Arduini)
+
+* net: socket.readyState corrections (bentaber)
+
+* http: Performance enhancements for http under streams2 (isaacs)
+
+* stream: fix to emit end event on http.ClientResponse (Shigeki Ohtsu)
+
+* stream: fix event handler leak in readstream pipe and unpipe (Andreas Madsen)
+
+* build: Support ./configure --tag switch (Maciej Małecki)
+
+* repl: don't touch `require.cache` (Nathan Rajlich)
+
+* node: Emit 'exit' event when exiting for an uncaught exception (isaacs)
+
+
+2012.12.21, Version 0.9.4 (Unstable), d86d83c75f6343b5368bb7bd328b4466a035e1d4
+
+* streams: Update all streaming interfaces to use new classes (isaacs)
+
+* node: remove idle gc (Ben Noordhuis)
+
+* http: protect against response splitting attacks (Bert Belder)
+
+* fs: Raise error when null bytes detected in paths (isaacs)
+
+* fs: fix 'object is not a function' callback errors (Ben Noordhuis)
+
+* fs: add autoClose=true option to fs.createReadStream (Farid Neshat)
+
+* process: add getgroups(), setgroups(), initgroups() (Ben Noordhuis)
+
+* openssl: optimized asm code on x86 and x64 (Bert Belder)
+
+* crypto: fix leak in GetPeerCertificate (Fedor Indutny)
+
+* add systemtap support (Jan Wynholds)
+
+* windows: add ETW and PerfCounters support (Scott Blomquist)
+
+* windows: fix normalization of UNC paths (Bert Belder)
+
+* crypto: fix ssl error handling (Sergey Kholodilov)
+
+* node: remove eio-emul.h (Ben Noordhuis)
+
+* os: add os.endianness() function (Nathan Rajlich)
+
+* readline: don't emit "line" events with a trailing '\n' char (Nathan Rajlich)
+
+* build: add configure option to generate xcode build files (Timothy J Fontaine)
+
+* build: allow linking against system libuv, cares, http_parser (Stephen Gallagher)
+
+* typed arrays: add slice() support to ArrayBuffer (Anthony Pesch)
+
+* debugger: exit and kill child on SIGTERM or SIGHUP (Fedor Indutny)
+
+* url: url.format escapes delimiters in path and query (J. Lee Coltrane)
+
+
+2012.10.24, Version 0.9.3 (Unstable), 1ed4c6776e4f52956918b70565502e0f8869829d
+
+* V8: Upgrade to 3.13.7.4
+
+* crypto: Default to buffers instead of binary strings (isaacs, Fedor Indutny)
+
+* crypto: add getHashes() and getCiphers() (Ben Noordhuis)
+
+* unix: add custom thread pool, remove libeio (Ben Noordhuis)
+
+* util: make `inspect()` accept an "options" argument (Nathan Rajlich)
+
+* https: fix renegotation attack protection (Ben Noordhuis)
+
+* cluster: make 'listening' handler see actual port (Aaditya Bhatia)
+
+* windows: use USERPROFILE to get the user's home dir (Bert Belder)
+
+* path: add platform specific path delimiter (Paul Serby)
+
+* http: add response.headersSent property (Pavel Lang)
+
+* child_process: make .fork()'d child auto-exit (Ben Noordhuis)
+
+* events: add 'removeListener' event (Ben Noordhuis)
+
+* string_decoder: Add 'end' method, do base64 properly (isaacs)
+
+* buffer: include encoding value in exception when invalid (Ricky Ng-Adam)
+
+* http: make http.ServerResponse no longer emit 'end' (isaacs)
+
+* streams: fix pipe is destructed by 'end' from destination (koichik)
+
+
+2012.09.17, Version 0.9.2 (Unstable), 6e2055889091a424fbb5c500bc3ab9c05d1c28b4
+
+* http_parser: upgrade to ad3b631
+
+* openssl: upgrade 1.0.1c
+
+* darwin: use FSEvents to watch directory changes (Fedor Indutny)
+
+* unix: support missing API on NetBSD (Shigeki Ohtsu)
+
+* unix: fix EMFILE busy loop (Ben Noordhuis)
+
+* windows: un-break writable tty handles (Bert Belder)
+
+* windows: map WSAESHUTDOWN to UV_EPIPE (Bert Belder)
+
+* windows: make spawn with custom environment work again (Bert Belder)
+
+* windows: map ERROR_DIRECTORY to UV_ENOENT (Bert Belder)
+
+* tls, https: validate server certificate by default (Ben Noordhuis)
+
+* tls, https: throw exception on missing key/cert (Ben Noordhuis)
+
+* tls: async session storage (Fedor Indutny)
+
+* installer: don't install header files (Ben Noordhuis)
+
+* buffer: implement Buffer.prototype.toJSON() (Nathan Rajlich)
+
+* buffer: added support for writing NaN and Infinity (koichik)
+
+* http: make http.ServerResponse emit 'end' (Ben Noordhuis)
+
+* build: ./configure --ninja (Ben Noordhuis, Timothy J Fontaine)
+
+* installer: fix --without-npm (Ben Noordhuis)
+
+* cli: make -p equivalent to -pe (Ben Noordhuis)
+
+* url: Go much faster by using Url class (isaacs)
+
+
+2012.08.28, Version 0.9.1 (Unstable), e6ce259d2caf338fec991c2dd447de763ce99ab7
+
+* buffer: Add Buffer.isEncoding(enc) to test for valid encoding values (isaacs)
+
+* Raise UV_ECANCELED on premature close. (Ben Noordhuis)
+
+* Remove c-ares from libuv, move to a top-level node dependency (Bert Belder)
+
+* ref/unref for all HandleWraps, timers, servers, and sockets (Timothy J Fontaine)
+
+* addon: remove node-waf, superseded by node-gyp (Ben Noordhuis)
+
+* child_process: emit error on exec failure (Ben Noordhuis)
+
+* cluster: do not use internal server API (Andreas Madsen)
+
+* constants: add O_DIRECT (Ian Babrou)
+
+* crypto: add sync interface to crypto.pbkdf2() (Ben Noordhuis)
+
+* darwin: emulate fdatasync() (Fedor Indutny)
+
+* dgram: make .bind() always asynchronous (Ben Noordhuis)
+
+* events: Make emitter.listeners() side-effect free (isaacs, Joe Andaverde)
+
+* fs: Throw early on invalid encoding args (isaacs)
+
+* fs: fix naming of truncate/ftruncate functions (isaacs)
+
+* http: bubble up parser errors to ClientRequest (Brian White)
+
+* linux: improve cpuinfo parser on ARM and MIPS (Ben Noordhuis)
+
+* net: add support for IPv6 addresses ending in :: (Josh Erickson)
+
+* net: support Server.listen(Pipe) (Andreas Madsen)
+
+* node: don't scan add-on for "init" symbol (Ben Noordhuis)
+
+* remove process.uvCounters() (Ben Noordhuis)
+
+* repl: console writes to repl rather than process stdio (Nathan Rajlich)
+
+* timers: implement setImmediate (Timothy J Fontaine)
+
+* tls: fix segfault in pummel/test-tls-ci-reneg-attack (Ben Noordhuis)
+
+* tools: Move gyp addon tools to node-gyp (Nathan Rajlich)
+
+* unix: preliminary signal handler support (Ben Noordhuis)
+
+* unix: remove dependency on ev_child (Ben Noordhuis)
+
+* unix: work around darwin bug, don't poll() on pipe (Fedor Indutny)
+
+* util: Formally deprecate util.pump() (Ben Noordhuis)
+
+* windows: make active and closing handle state independent (Bert Belder)
+
+* windows: report spawn errors to the exit callback (Bert Belder)
+
+* windows: signal handling support with uv_signal_t (Bert Belder)
+
+
+2012.07.20, Version 0.9.0 (Unstable), f9b237f478c372fd55e4590d7399dcd8f25f3603
+
+* punycode: update to v1.1.1 (Mathias Bynens)
+
+* c-ares: upgrade to 1.9.0 (Saúl Ibarra Corretgé)
+
+* dns: ignore rogue DNS servers reported by windows (Saúl Ibarra Corretgé)
+
+* unix: speed up uv_async_send() (Ben Noordhuis)
+
+* darwin: get cpu model correctly on mac (Xidorn Quan)
+
+* nextTick: Handle tick callbacks before any other I/O (isaacs)
+
+* Enable color customization of `util.inspect` (Pavel Lang)
+
+* tls: Speed and memory improvements (Fedor Indutny)
+
+* readline: Use one history item for reentered line (Vladimir Beloborodov)
+
+* Fix #3521 Make process.env more like a regular Object (isaacs)
+
+
+2013.03.07, Version 0.8.22 (Stable), 67a4cb4fe8c2346e30ffb83f7178e205cc2dab33
+
+* npm: Update to 1.2.14
+
+* cluster: propagate bind errors (Ben Noordhuis)
+
+* crypto: don't assert when calling Cipher#final() twice (Ben Noordhuis)
+
+* build, windows: disable SEH (Ben Noordhuis)
+
+
+2013.02.25, Version 0.8.21 (Stable), 530d8c05d4c546146f18e5ba811d7eb3b7b7c0c5
+
+* http: Do not free the wrong parser on socket close (isaacs)
+
+* http: Handle hangup writes more gently (isaacs)
+
+* zlib: fix assert on bad input (Ben Noordhuis)
+
+* test: add TAP output to the test runner (Timothy J Fontaine)
+
+* unix: Handle EINPROGRESS from domain sockets (Ben Noordhuis)
+
+
+2013.02.15, Version 0.8.20 (Stable), e10c75579b536581ddd7ae4e2c3bf8a9d550d343
+
+* npm: Upgrade to v1.2.11
+
+* http: Do not let Agent hand out destroyed sockets (isaacs)
+
+* http: Raise hangup error on destroyed socket write (isaacs)
+
+* http: protect against response splitting attacks (Bert Belder)
+
+
+2013.02.06, Version 0.8.19 (Stable), 53978bdf420622ff0121c63c0338c9e7c2e60869
+
+* npm: Upgrade to v1.2.10
+
+* zlib: pass object size hint to V8 (Ben Noordhuis)
+
+* zlib: reduce memory consumption, release early (Ben Noordhuis)
+
+* buffer: slow buffer copy compatibility fix (Trevor Norris)
+
+* zlib: don't assert on malformed dictionary (Ben Noordhuis)
+
+* zlib: don't assert on missing dictionary (Ben Noordhuis)
+
+* windows: better ipv6 support (Bert Belder)
+
+* windows: add error mappings related to unsupported protocols (Bert Belder)
+
+* windows: map ERROR_DIRECTORY to UV_ENOENT (Bert Belder)
+
+
+2013.01.18, Version 0.8.18 (Stable), 2c4eef0d972838c51999d32c0d251857a713dc18
+
+* npm: Upgrade to v1.2.2
+
+* dns: make error message match errno (Dan Milon)
+
+* tls: follow RFC6125 more stricly (Fedor Indutny)
+
+* buffer: reject negative SlowBuffer offsets (Ben Noordhuis)
+
+* install: add simplejson fallback (Chris Dent)
+
+* http: fix "Cannot call method 'emit' of null" (Ben Noordhuis)
+
+
+2013.01.09, Version 0.8.17 (Stable), c50c33e9397d7a0a8717e8ce7530572907c054ad
+
+* npm: Upgrade to v1.2.0
+ - peerDependencies (Domenic Denicola)
+ - node-gyp v0.8.2 (Nathan Rajlich)
+ - Faster installs from github user/project shorthands (Nathan Zadoks)
+
+* typed arrays: fix 32 bit size/index overflow (Ben Noordhuis)
+
+* http: Improve performance of single-packet responses (Ben Noordhuis)
+
+* install: fix openbsd man page location (Ben Noordhuis)
+
+* http: bubble up parser errors to ClientRequest (Brian White)
+
+
+2012.12.13, Version 0.8.16 (Stable), 1c9c6277d5cfcaaac8569c0c8f7daa64292048a9
+
+* npm: Upgrade to 1.1.69
+
+* fs: fix WriteStream/ReadStream fd leaks (Ben Noordhuis)
+
+* crypto: fix leak in GetPeerCertificate (Fedor Indutny)
+
+* buffer: Don't double-negate numeric buffer arg (Trevor Norris)
+
+* net: More accurate IP address validation and IPv6 dotted notation. (Joshua Erickson)
+
+
+2012.11.26, Version 0.8.15 (Stable), fdf91afb494a7a2fff2913d817f589c191a2c88f
+
+* npm: Upgrade to 1.1.66 (isaacs)
+
+* linux: use /proc/cpuinfo for CPU frequency (Ben Noordhuis)
+
+* windows: map WSAESHUTDOWN to UV_EPIPE (Ben Noordhuis)
+
+* windows: map ERROR_GEN_FAILURE to UV_EIO (Bert Belder)
+
+* unix: do not set environ unless one is provided (Charlie McConnell)
+
+* domains: don't crash if domain is set to null (Bert Belder)
+
+* windows: fix the x64 debug build (Bert Belder)
+
+* net, tls: fix connect() resource leak (Ben Noordhuis)
+
+
+2012.10.25, Version 0.8.14 (Stable), b00527fcf05c3d9f/b5d5d790f9472906a59fe218
+
+* events: Don't clobber pre-existing _events obj in EE ctor (isaacs)
+
+
+2012.10.25, Version 0.8.13 (Stable), ff4c974873f9a7cc6a5b042eb9b6389bb8dde6d6
+
+* V8: Upgrade to 3.11.10.25
+
+* npm: Upgrade to 1.1.65
+
+* url: parse hostnames that start with - or _ (Ben Noordhuis)
+
+* repl: Fix Windows 8 terminal issue (Bert Belder)
+
+* typed arrays: use signed char for signed int8s (Aaron Jacobs)
+
+* crypto: fix bugs in DiffieHellman (Ben Noordhuis)
+
+* configure: turn on VFPv3 on ARMv7 (Ben Noordhuis)
+
+* Re-enable OpenSSL UI for entering passphrases via tty (Ben Noordhuis)
+
+* repl: ensure each REPL instance gets its own "context" (Nathan Rajlich)
+
+
+2012.10.12, Version 0.8.12 (Stable), 38c72d4e29574dec5205bcf23c2a85efe65331a4
+
+* npm: Upgrade to 1.1.63
+
+* crypto: Reduce stability index to 2-Unstable (isaacs)
+
+* windows: fix handle leak in uv_fs_utime (Bert Belder)
+
+* windows: fix application crashed popup in debug version (Bert Belder)
+
+* buffer: report proper retained size in profiler (Ben Noordhuis)
+
+* buffer: fix byteLength with UTF-16LE (koichik)
+
+* repl: make "end of input" JSON.parse() errors throw in the REPL (Nathan Rajlich)
+
+* repl: make invalid RegExp modifiers throw in the REPL (Nathan Rajlich)
+
+* http: handle multiple Proxy-Authenticate values (Willi Eggeling)
+
+
+2012.09.27, Version 0.8.11 (Stable), e1f39468fa580c1e4cb15fac621f87944ee625dc
+
+* fs: Fix stat() size reporting for large files (Ben Noordhuis)
+
+
+2012.09.25, Version 0.8.10 (Stable), 0bc273da4fcaa79b209ed755ad249a3e7be626a6
+
+* npm: Upgrade to 1.1.62
+
+* repl: make invalid RegExps throw in the REPL (Nathan Rajlich)
+
+* v8: loosen artificial mmap constraint (Bryan Cantrill)
+
+* process: fix setuid() and setgid() error reporting (Ben Noordhuis)
+
+* domain: Properly exit() on domain disposal (isaacs)
+
+* fs: fix watchFile() missing deletion events (Ben Noordhuis)
+
+* fs: fix assert in fs.watch() (Ben Noordhuis)
+
+* fs: don't segfault on deeply recursive stat() (Ben Noordhuis)
+
+* http: Remove timeout handler when data arrives (Frédéric Germain)
+
+* http: make the client "res" object gets the same domain as "req" (Nathan Rajlich)
+
+* windows: don't blow up when an invalid FD is used (Bert Belder)
+
+* unix: map EDQUOT to UV_ENOSPC (Charlie McConnell)
+
+* linux: improve /proc/cpuinfo parser (Ben Noordhuis)
+
+* win/tty: reset background brightness when color is set to default (Bert Belder)
+
+* unix: put child process stdio fds in blocking mode (Ben Noordhuis)
+
+* unix: fix EMFILE busy loop (Ben Noordhuis)
+
+* sunos: don't set TCP_KEEPALIVE (Ben Noordhuis)
+
+* tls: Use slab allocator for memory management (Fedor Indutny)
+
+* openssl: Use optimized assembly code for x86 and x64 (Bert Belder)
+
+
+2012.09.11, Version 0.8.9 (Stable), b88c3902b241cf934e75443b934f2033ad3915b1
+
+* v8: upgrade to 3.11.10.22
+
+* GYP: upgrade to r1477
+
+* npm: Upgrade to 1.1.61
+
+* npm: Don't create world-writable files (isaacs)
+
+* windows: fix single-accept mode for shared server sockets (Bert Belder)
+
+* windows: fix uninitialized memory access in uv_update_time() (Bert Belder)
+
+* windows: don't throw when a signal handler is attached (Bert Belder)
+
+* unix: fix memory leak in udp (Ben Noordhuis)
+
+* unix: map errno ESPIPE (Ben Noordhuis)
+
+* unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis)
+
+* sunos: fix os.cpus() on x86_64 (Ben Noordhuis)
+
+* child process: fix processes with IPC channel don't emit 'close' (Bert Belder)
+
+* build: add a "--dest-os" option to force a gyp "flavor" (Nathan Rajlich)
+
+* build: set `process.platform` to "sunos" on SunOS (Nathan Rajlich)
+
+* build: fix `make -j` fails after `make clean` (Bearice Ren)
+
+* build: fix openssl configuration for "arm" builds (Nathan Rajlich)
+
+* tls: support unix domain socket/named pipe in tls.connect (Shigeki Ohtsu)
+
+* https: make https.get() accept a URL (koichik)
+
+* http: respect HTTP/1.0 TE header (Ben Noordhuis)
+
+* crypto, tls: Domainify setSNICallback, pbkdf2, randomBytes (Ben Noordhuis)
+
+* stream.pipe: Don't call destroy() unless it's a function (isaacs)
+
+
+2012.08.22, Version 0.8.8 (Stable), a299c97bbc701f4d460e91214d7bfe7a9589d361
+
+* V8: upgrade to 3.11.10.19
+
+* npm: upgrade to 1.1.59
+
+* windows: fix uninitialized memory access in uv_update_time() (Bert Belder)
+
+* unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis)
+
+* unix: fix integer overflow in uv_hrtime (Tim Holy)
+
+* sunos: fix uv_cpu_info() on x86_64 (Ben Noordhuis)
+
+* tls: update default cipher list (Ben Noordhuis)
+
+* unix: Fix llvm and older gcc duplicate symbol warnings (Bert Belder)
+
+* fs: fix use after free in stat watcher (Ben Noordhuis)
+
+* build: Fix using manually compiled gcc on OS X (Nathan Rajlich)
+
+* windows: make junctions work again (Bert Belder)
+
+
+2012.08.15, Version 0.8.7 (Stable), f640c5d35cba96634cd8176a525a1d876e361a61
+
+* npm: Upgrade to 1.1.49
+
+* website: download page (Golo Roden)
+
+* crypto: fix uninitialized memory access in openssl (Ben Noordhuis)
+
+* buffer, crypto: fix buffer decoding (Ben Noordhuis)
+
+* build: compile with -fno-tree-vrp when gcc >= 4.0 (Ben Noordhuis)
+
+* tls: handle multiple CN fields when verifying cert (Ben Noordhuis)
+
+* doc: remove unused util from child_process (Kyle Robinson Young)
+
+* build: rework -fvisibility=hidden detection (Ben Noordhuis)
+
+* windows: don't duplicate invalid stdio handles (Bert Belder)
+
+* windows: fix typos in process-stdio.c (Bert Belder)
+
+
+2012.08.07, Version 0.8.6 (Stable), 0544a586ca6b6b900a42e164033dbf350765700a
+
+* npm: Upgrade to v1.1.48
+
+* Add 'make binary' to build binary tarballs for all Unixes (Nathan Rajlich)
+
+* zlib: Emit 'close' on destroy(). (Dominic Tarr)
+
+* child_process: Fix stdout=null when stdio=['pipe'] (Tyler Neylon)
+
+* installer: prevent ETXTBSY errors (Ben Noordhuis)
+
+* installer: honor --without-npm, default install path (Ben Noordhuis)
+
+* net: make pause work with connecting sockets (Bert Belder)
+
+* installer: fix cross-compile installs (Ben Noordhuis)
+
+* net: fix .listen({fd:0}) (Ben Noordhuis)
+
+* windows: map WSANO_DATA to UV_ENOENT (Bert Belder)
+
+
+2012.08.02, Version 0.8.5 (Stable), 9b86a4453f0c76f2707a75c0b2343aba33ec63bc
+
+* node: tag Encode and friends NODE_EXTERN (Ben Noordhuis)
+
+* fs: fix ReadStream / WriteStream missing callback (Gil Pedersen)
+
+* fs: fix readFileSync("/proc/cpuinfo") regression (Ben Noordhuis)
+
+* installer: don't assume bash is installed (Ben Noordhuis)
+
+* Report errors properly from --eval and stdin (isaacs)
+
+* assert: fix throws() throws an error without message property (koichik)
+
+* cluster: fix libuv assert in net.listen() (Ben Noordhuis)
+
+* build: always link sunos builds with libumem (Trent Mick)
+
+* build: improve armv7 / hard-float detection (Adam Malcontenti-Wilson)
+
+* https: Use host header as effective servername (isaacs)
+
+* sunos: work around OS bug to prevent fs.watch() from spinning (Bryan Cantrill)
+
+* linux: fix 'two watchers, one path' segfault (Ben Noordhuis)
+
+* windows: fix memory leaks in many fs functions (Bert Belder)
+
+* windows: don't allow directories to be opened for writing/appending (Bert Belder)
+
+* windows: make fork() work even when not all stdio handles are valid (Bert Belder)
+
+* windows: make unlink() not remove mount points, and improve performance (Bert Belder)
+
+* build: Sign pkg installer for OS X (isaacs)
+
+
+2012.07.25, Version 0.8.4 (Stable), f98562fcd7d1cab573ca4dc1612157d6999befd4
+
+* V8: Upgrade to 3.11.10.17
+
+* npm: Upgrade to 1.1.45
+
+* net: fix Socket({ fd: 42 }) api (Ben Noordhuis)
+
+* readline: Remove event listeners on close (isaacs)
+
+* windows: correctly prep long path for fs.exists(Sync) (Bert Belder)
+
+* debugger: wake up the event loop when a debugger command is dispatched (Peter Rybin)
+
+* tls: verify server's identity (Fedor Indutny)
+
+* net: ignore socket.setTimeout(Infinity or NaN) (Fedor Indutny)
+
+
+2012.07.19, Version 0.8.3 (Stable), 60bf2d6cb33e4ce55604f73889ab840a9de8bdab
+
+* V8: upgrade to 3.11.10.15
+
+* npm: Upgrade to 1.1.43
+
+* net: fix net.Server.listen({fd:x}) error reporting (Ben Noordhuis)
+
+* net: fix bogus errno reporting (Ben Noordhuis)
+
+* build: Move npm shebang logic into an npm script (isaacs)
+
+* build: fix add-on loading on freebsd (Ben Noordhuis)
+
+* build: disable unsafe optimizations (Ben Noordhuis)
+
+* build: fix spurious mksnapshot crashes for good (Ben Noordhuis)
+
+* build: speed up genv8constants (Dave Pacheco)
+
+* fs: make unwatchFile() remove a specific listener (Ben Noordhuis)
+
+* domain: Remove first arg from intercepted fn (Toshihiro Nakamura)
+
+* domain: Fix memory leak on error (isaacs)
+
+* events: Fix memory leak from removeAllListeners (Nathan Rajlich)
+
+* zlib: Fix memory leak in Unzip class. (isaacs)
+
+* crypto: Fix memory leak in DecipherUpdate() (Ben Noordhuis)
+
+
+2012.07.09, Version 0.8.2 (Stable), cc6084b9ac5cf1d4fe5e7165b71e8fc05d11be1f
* npm: Upgrade to 1.1.36
@@ -514,6 +1431,38 @@
* Bug fixes
+2012.07.10 Version 0.6.20 (maintenance), 952e513379169ec1b40909d1db056e9bf4294899
+
+* npm: Upgrade to 1.1.37 (isaacs)
+
+* benchmark: Backport improvements made in master (isaacs)
+
+* build: always link with -lz (Trent Mick)
+
+* core: use proper #include directives (Ben Noordhuis)
+
+* cluster: don't silently drop messages when the write queue gets big (Bert Belder)
+
+* windows: don't print error when GetConsoleTitleW returns an empty string (Bert Belder)
+
+
+2012.06.06 Version 0.6.19 (stable), debf552ed2d4a53957446e82ff3c52a8182d5ff4
+
+* npm: upgrade to 1.1.24
+
+* fs: no end emit after createReadStream.pause() (Andreas Madsen)
+
+* vm: cleanup module memory leakage (Marcel Laverdet)
+
+* unix: fix loop starvation under high network load (Ben Noordhuis)
+
+* unix: remove abort() in ev_unref() (Ben Noordhuis)
+
+* windows/tty: never report error after forcibly aborting line-buffered read (Bert Belder)
+
+* windows: skip GetFileAttributes call when opening a file (Bert Belder)
+
+
2012.05.15 Version 0.6.18 (stable), 4bc1d395de6abed2cf1e4d0b7b3a1480a21c368f
* windows: skip GetFileAttributes call when opening a file (Bert Belder)
@@ -845,7 +1794,7 @@
* crypto: don't ignore DH init errors (Ben Noordhuis)
-2011.12.14, Version 0.6.6
+2011.12.14, Version 0.6.6 (stable), 9a059ea69e1f6ebd8899246682d8ca257610b8ab
* npm update to 1.1.0-beta-4 (Isaac Z. Schlueter)
@@ -1082,7 +2031,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade GYP to r1081
-2011.10.10, Version 0.5.9 (unstable)
+2011.10.10, Version 0.5.9 (unstable), 3bd9b08fb125b606f97a4079b147accfdeebb07d
* fs.watch interface backed by kqueue, inotify, and ReadDirectoryChangesW
(Igor Zinkovsky, Ben Noordhuis)
@@ -1166,7 +2115,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* #1719 Drain OpenSSL error queue
-2011.09.08, Version 0.5.6 (unstable)
+2011.09.08, Version 0.5.6 (unstable), b49bec55806574a47403771bce1ee379c2b09ca2
* #345, #1635, #1648 Documentation improvements (Thomas Shinnick,
Abimanyu Raja, AJ ONeal, Koichi Kobayashi, Michael Jackson, Logan Smyth,
@@ -1454,7 +2403,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* DTrace probes: support X-Forwarded-For (Dave Pacheco)
-2011.09.15, Version 0.4.12 (stable)
+2011.09.15, Version 0.4.12 (stable), 771ba34ca7b839add2ef96879e1ffc684813cf7c
* Improve docs
@@ -1503,7 +2452,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Doc improvments (koichik, Logan Smyth, Ben Noordhuis, Arnout Kazemier)
-2011.07.19, Version 0.4.10 (stable)
+2011.07.19, Version 0.4.10 (stable), 1b8dd65d6e3b82b6863ef38835cc436c5d30c1d5
* #394 Fix Buffer drops last null character in UTF-8
@@ -1530,7 +2479,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Doc improvements
-2011.06.29, Version 0.4.9 (stable)
+2011.06.29, Version 0.4.9 (stable), de44eafd7854d06cd85006f509b7051e8540589b
* Improve documentation
@@ -1604,7 +2553,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade V8 to 3.1.8.16.
-2011.04.22, Version 0.4.7 (stable)
+2011.04.22, Version 0.4.7 (stable), c85455a954411b38232e79752d4abb61bb75031b
* Don't emit error on ECONNRESET from read() #670
@@ -1622,7 +2571,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Improve docs.
-2011.04.13, Version 0.4.6 (stable)
+2011.04.13, Version 0.4.6 (stable), 58002d56bc79410c5ff397fc0e1ffec0665db38a
* Don't error on ENOTCONN from shutdown() #670
@@ -1652,7 +2601,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade v8 to 3.1.8.10
-2011.04.01, Version 0.4.5 (stable)
+2011.04.01, Version 0.4.5 (stable), 787a343b588de26784fef97f953420b53a6e1d73
* Fix listener leak in stream.pipe() (Mikeal Rogers)
@@ -1785,7 +2734,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade V8 to 3.1.5, libev to 4.4.
-2011.02.10, Version 0.4.0 (stable)
+2011.02.10, Version 0.4.0 (stable), eb155ea6f6a6aa341aa8c731dca8da545c6a4008
* require() improvements (isaacs)
- understand package.json (isaacs)
@@ -1818,7 +2767,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade V8 to 3.1.2
-2011.02.04, Version 0.3.8 (unstable)
+2011.02.04, Version 0.3.8 (unstable), 9493b7563bff31525b4080df5aeef09747782d5e
* Add req.abort() for client side requests.
@@ -1840,7 +2789,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade V8 to 3.1.1
-2011.01.27, Version 0.3.7 (unstable)
+2011.01.27, Version 0.3.7 (unstable), d8579c6afdbe868de6dffa8db78bbe4ba2d03e0e
* Expose agent in http and https client. (Mikeal Rogers)
@@ -1902,7 +2851,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Don't stat() on cached modules. (Felix Geisendörfer)
-2011.01.08, Version 0.3.4 (unstable)
+2011.01.08, Version 0.3.4 (unstable), 73f53e12e4a5b9ef7dbb4792bd5f8ad403094441
* Primordial mingw build (Bert Belder)
@@ -2120,7 +3069,7 @@ koichik, Maciej Małecki, Guglielmo Ferri, isaacs)
* Upgrade V8 to 2.3.8
-2010.08.13, Version 0.1.104
+2010.08.13, Version 0.1.104, b14dd49222687c12f3e8eac597cff4f2674f84e8
* Various bug fixes (console, querystring, require)
View
326 LICENSE
@@ -84,118 +84,7 @@ maintained libraries. The externally maintained libraries used by Node are:
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
-- libev, located at deps/uv/src/unix/ev. libev's license follows:
- """
- All files in libev are Copyright (C)2007,2008,2009 Marc Alexander Lehmann.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- Alternatively, the contents of this package may be used under the terms
- of the GNU General Public License ("GPL") version 2 or any later version,
- in which case the provisions of the GPL are applicable instead of the
- above. If you wish to allow the use of your version of this package only
- under the terms of the GPL and not to allow others to use your version of
- this file under the BSD license, indicate your decision by deleting the
- provisions above and replace them with the notice and other provisions
- required by the GPL in this and the other files of this package. If you do
- not delete the provisions above, a recipient may use your version of this
- file under either the BSD or the GPL.
- """
-
-- libeio, located at deps/uv/src/unix/eio. libeio's license follows:
- """
- All files in libeio are Copyright (C)2007,2008 Marc Alexander Lehmann.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- Alternatively, the contents of this package may be used under the terms
- of the GNU General Public License ("GPL") version 2 or any later version,
- in which case the provisions of the GPL are applicable instead of the
- above. If you wish to allow the use of your version of this package only
- under the terms of the GPL and not to allow others to use your version of
- this file under the BSD license, indicate your decision by deleting the
- provisions above and replace them with the notice and other provisions
- required by the GPL in this and the other files of this package. If you do
- not delete the provisions above, a recipient may use your version of this
- file under either the BSD or the GPL.
- """
-
-- WAF build system, located at tools/waf*. WAF's license follows:
- """
- Copyright Thomas Nagy, 2005-2011
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
- """
-
-- C-Ares, an asynchronous DNS client, located at deps/uv/src/ares. C-Ares license
+- C-Ares, an asynchronous DNS client, located at deps/cares. C-Ares license
follows:
"""
/* Copyright 1998 by the Massachusetts Institute of Technology.
@@ -363,38 +252,6 @@ maintained libraries. The externally maintained libraries used by Node are:
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
-- lib/buffer_ieee754.js. Its license follows:
- """
- // Copyright (c) 2008, Fair Oaks Labs, Inc.
- // All rights reserved.
- //
- // Redistribution and use in source and binary forms, with or without
- // modification, are permitted provided that the following conditions are met:
- //
- // * Redistributions of source code must retain the above copyright notice,
- // this list of conditions and the following disclaimer.
- //
- // * Redistributions in binary form must reproduce the above copyright notice,
- // this list of conditions and the following disclaimer in the documentation
- // and/or other materials provided with the distribution.
- //
- // * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors
- // may be used to endorse or promote products derived from this software
- // without specific prior written permission.
- //
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- // POSSIBILITY OF SUCH DAMAGE.
- """
-
- lib/punycode.js is copyright 2011 Mathias Bynens <http://mathiasbynens.be/>
and released under the MIT license.
"""
@@ -601,3 +458,184 @@ maintained libraries. The externally maintained libraries used by Node are:
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
"""
+
+- wrk is located at tools/wrk. wrk's license follows:
+ """
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+ """
View
180 Makefile
@@ -2,7 +2,16 @@
BUILDTYPE ?= Release
PYTHON ?= python
+NINJA ?= ninja
DESTDIR ?=
+SIGN ?=
+
+NODE ?= ./node
+
+# Default to verbose builds.
+# To do quiet/pretty builds, run `make V=` to set V to an empty string,
+# or set the V environment variable to an empty string.
+V ?= 1
# BUILDTYPE=Debug builds both release and debug builds. If you want to compile
# just the debug build, run `make -C out BUILDTYPE=Debug` instead.
@@ -16,28 +25,40 @@ endif
# to check for changes.
.PHONY: node node_g
+ifeq ($(USE_NINJA),1)
node: config.gypi
- $(MAKE) -C out BUILDTYPE=Release
+ $(NINJA) -C out/Release/
ln -fs out/Release/node node
node_g: config.gypi
- $(MAKE) -C out BUILDTYPE=Debug
- ln -fs out/Debug/node node_g
-
-config.gypi: configure
- ./configure
+ $(NINJA) -C out/Debug/
+ ln -fs out/Debug/node $@
+else
+node: config.gypi out/Makefile
+ $(MAKE) -C out BUILDTYPE=Release V=$(V)
+ ln -fs out/Release/node node
-out/Debug/node:
- $(MAKE) -C out BUILDTYPE=Debug
+node_g: config.gypi out/Makefile
+ $(MAKE) -C out BUILDTYPE=Debug V=$(V)
+ ln -fs out/Debug/node $@
+endif
out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/zlib/zlib.gyp deps/v8/build/common.gypi deps/v8/tools/gyp/v8.gyp node.gyp config.gypi
+ifeq ($(USE_NINJA),1)
+ touch out/Makefile
+ $(PYTHON) tools/gyp_node -f ninja
+else
$(PYTHON) tools/gyp_node -f make
+endif
+
+config.gypi: configure
+ $(PYTHON) ./configure
install: all
- out/Release/node tools/installer.js install $(DESTDIR)
+ $(PYTHON) tools/install.py $@ $(DESTDIR)
uninstall:
- out/Release/node tools/installer.js uninstall
+ $(PYTHON) tools/install.py $@ $(DESTDIR)
clean:
-rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
@@ -53,7 +74,7 @@ distclean:
test: all
$(PYTHON) tools/test.py --mode=release simple message
- PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
+ $(MAKE) jslint
test-http1: all
$(PYTHON) tools/test.py --mode=release --use-http1 simple message
@@ -108,7 +129,7 @@ apidoc_sources = $(wildcard doc/api/*.markdown)
apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \
$(addprefix out/,$(apidoc_sources:.markdown=.json))
-apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos out/doc/images
+apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/download out/doc/logos out/doc/images
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
@@ -126,6 +147,7 @@ website_files = \
out/doc/pipe.css \
out/doc/about/index.html \
out/doc/community/index.html \
+ out/doc/download/index.html \
out/doc/logos/index.html \
out/doc/changelog.html \
$(doc_images)
@@ -186,8 +208,30 @@ docclean:
-rm -rf out/doc
VERSION=v$(shell $(PYTHON) tools/getnodeversion.py)
+RELEASE=$(shell $(PYTHON) tools/getnodeisrelease.py)
+PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]')
+ifeq ($(findstring x86_64,$(shell uname -m)),x86_64)
+DESTCPU ?= x64
+else
+DESTCPU ?= ia32
+endif
+ifeq ($(DESTCPU),x64)
+ARCH=x64
+else
+ifeq ($(DESTCPU),arm)
+ARCH=arm
+else
+ARCH=x86
+endif
+endif
TARNAME=node-$(VERSION)
+ifdef NIGHTLY
+TAG = nightly-$(NIGHTLY)
+TARNAME=node-$(VERSION)-$(TAG)
+endif
TARBALL=$(TARNAME).tar.gz
+BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
+BINARYTAR=$(BINARYNAME).tar.gz
PKG=out/$(TARNAME).pkg
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
@@ -195,28 +239,7 @@ dist: doc $(TARBALL) $(PKG)
PKGDIR=out/dist-osx
-pkg: $(PKG)
-
-$(PKG):
- rm -rf $(PKGDIR)
- rm -rf out/deps out/Release
- ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32
- $(MAKE) install
- rm -rf out/deps out/Release
- ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64
- $(MAKE) install
- lipo $(PKGDIR)/32/usr/local/bin/node \
- $(PKGDIR)/usr/local/bin/node \
- -output $(PKGDIR)/usr/local/bin/node-universal \
- -create
- mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
- rm -rf $(PKGDIR)/32
- $(packagemaker) \
- --id "org.nodejs.NodeJS-$(VERSION)" \
- --doc tools/osx-pkg.pmdoc \
- --out $(PKG)
-
-$(TARBALL): node doc
+release-only:
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
exit 0 ; \
else \
@@ -228,15 +251,40 @@ $(TARBALL): node doc
echo "" >&2 ; \
exit 1 ; \
fi
- @if [ $(shell ./node --version) = "$(VERSION)" ]; then \
+ @if [ "$(NIGHTLY)" != "" -o "$(RELEASE)" = "1" ]; then \
exit 0; \
else \
echo "" >&2 ; \
- echo "$(shell ./node --version) doesn't match $(VERSION)." >&2 ; \
+ echo "#NODE_VERSION_IS_RELEASE is set to $(RELEASE)." >&2 ; \
echo "Did you remember to update src/node_version.cc?" >&2 ; \
echo "" >&2 ; \
exit 1 ; \
fi
+
+pkg: $(PKG)
+
+$(PKG): release-only
+ rm -rf $(PKGDIR)
+ rm -rf out/deps out/Release
+ $(PYTHON) ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32 --tag=$(TAG)
+ $(MAKE) install V=$(V)
+ rm -rf out/deps out/Release
+ $(PYTHON) ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64 --tag=$(TAG)
+ $(MAKE) install V=$(V)
+ SIGN="$(SIGN)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh
+ lipo $(PKGDIR)/32/usr/local/bin/node \
+ $(PKGDIR)/usr/local/bin/node \
+ -output $(PKGDIR)/usr/local/bin/node-universal \
+ -create
+ mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
+ rm -rf $(PKGDIR)/32
+ $(packagemaker) \
+ --id "org.nodejs.Node" \
+ --doc tools/osx-pkg.pmdoc \
+ --out $(PKG)
+ SIGN="$(SIGN)" PKG="$(PKG)" bash tools/osx-productsign.sh
+
+$(TARBALL): release-only node doc
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
mkdir -p $(TARNAME)/doc/api
cp doc/node.1 $(TARNAME)/doc/node.1
@@ -248,12 +296,65 @@ $(TARBALL): node doc
rm -rf $(TARNAME)
gzip -f -9 $(TARNAME).tar
+tar: $(TARBALL)
+
+$(BINARYTAR): release-only
+ rm -rf $(BINARYNAME)
+ rm -rf out/deps out/Release
+ $(PYTHON) ./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
+ $(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1
+ cp README.md $(BINARYNAME)
+ cp LICENSE $(BINARYNAME)
+ cp ChangeLog $(BINARYNAME)
+ tar -cf $(BINARYNAME).tar $(BINARYNAME)
+ rm -rf $(BINARYNAME)
+ gzip -f -9 $(BINARYNAME).tar
+
+binary: $(BINARYTAR)
+
dist-upload: $(TARBALL) $(PKG)
ssh node@nodejs.org mkdir -p web/nodejs.org/dist/$(VERSION)
scp $(TARBALL) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARBALL)
scp $(PKG) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARNAME).pkg
-bench:
+wrkclean:
+ $(MAKE) -C tools/wrk/ clean
+ rm tools/wrk/wrk
+
+wrk: tools/wrk/wrk
+tools/wrk/wrk:
+ $(MAKE) -C tools/wrk/
+
+bench-net: all
+ @$(NODE) benchmark/common.js net
+
+bench-crypto: all
+ @$(NODE) benchmark/common.js crypto
+
+bench-tls: all
+ @$(NODE) benchmark/common.js tls
+
+bench-http: wrk all
+ @$(NODE) benchmark/common.js http
+
+bench-fs: all
+ @$(NODE) benchmark/common.js fs
+
+bench-misc: all
+ @$(MAKE) -C benchmark/misc/function_call/
+ @$(NODE) benchmark/common.js misc
+
+bench-array: all
+ @$(NODE) benchmark/common.js arrays
+
+bench-buffer: all
+ @$(NODE) benchmark/common.js buffers
+
+bench-all: bench bench-misc bench-array bench-buffer
+
+bench: bench-net bench-http bench-fs bench-tls
+
+bench-http-simple:
benchmark/http_simple_bench.sh
bench-idle:
@@ -261,6 +362,9 @@ bench-idle:
sleep 1
./node benchmark/idle_clients.js &
+jslintfix:
+ PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/fixjsstyle.py --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
+
jslint:
PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
@@ -269,4 +373,4 @@ cpplint:
lint: jslint cpplint
-.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install install-includes install-bin all staticlib dynamiclib test test-all website-upload pkg blog blogclean