Brandon Benvie
52bd0f93bb
core: make .deprecate() warn only once
13 years ago
Brandon Benvie
5403a8ce4c
core: add `NativeModule.prototype.deprecate`
Formalize and cleanup handling of deprecated core methods.
13 years ago
Brandon Benvie
e3c0c86b28
Change removed process methods to be non-enumerable.
13 years ago
Dan VerWeire
e4afb2f724
tty: emit 'unknown' key event if key sequence not found
Add key.code and key.sequence -mad props go out to @TooTallNate
13 years ago
Ben Noordhuis
14b7c4327f
uv: upgrade to 3de0411
13 years ago
Fedor Indutny
85a86b5fd6
waf: predict target arch for OSX
13 years ago
Ben Noordhuis
f89beaf3ac
build: compile release build too if BUILDTYPE=Debug
It's backwards compatible with the old waf build system. If you want to compile
just the debug build, run `make -C out BUILDTYPE=Debug` instead.
Fixes #2615 .
13 years ago
Fedor Indutny
c80abfa0e4
zlib: fix `Failed to set dictionary` issue
13 years ago
Fedor Indutny
27c85727ed
module: fix --debug-brk on symlinked scripts
* fixes #1519
13 years ago
Ben Noordhuis
e806ad39d0
net, tls, http: remove socket.ondrain
Replace the ondrain hack with a regular 'drain' listener. Speeds up the
bytes/1024 http benchmark by about 1.2%.
13 years ago
isaacs
5988872ff1
Merge branch 'v0.7.1-release'
13 years ago
koichik
a6f3451e25
http: fix test-http-should-keepalive.js is fail
3df7c90
was removed when conflict was resolved.
13 years ago
isaacs
77f2cb66d1
Now working on 0.7.2
13 years ago
isaacs
a74354735a
2012.01.23, Version 0.7.1 (unstable)
* Update V8 to 3.8.8
* Install node-waf by default (Fedor Indutny)
* crypto: Add ability to turn off PKCS padding (Ingmar Runge)
* v8: implement VirtualMemory class on SunOS (Ben Noordhuis)
* Add cluster.setupMaster (Andreas Madsen)
* move `path.exists*` to `fs.exists*` (Maciej Małecki)
* typed arrays: set class name (Ben Noordhuis)
* libuv bug fixes (Igor Zinkovsky, Ben Noordhuis, Dan VerWeire)
13 years ago
isaacs
40879f33cd
Upgrade V8 to 3.8.8
13 years ago
isaacs
b1b16d117e
udp: 'interface' is reserved word on windows.
13 years ago
Fedor Indutny
667aae596c
Merge branch 'v0.6'
Conflicts:
ChangeLog
doc/template.html
lib/cluster.js
lib/http.js
lib/tls.js
src/node.h
src/node_version.h
test/simple/test-cluster-kill-workers.js
13 years ago
Ben Noordhuis
2433eeb385
uv: upgrade to 1cca230
13 years ago
Igor Zinkovsky
6c0c00a205
fix windows build
13 years ago
Igor Zinkovsky
f5e742b264
upgrade libuv to edbabe6f83
13 years ago
Maciej Małecki
ff512634ac
version: bump `NODE_PATCH_VERSION`
Patch version hasn't been bumped correctly in
72cbb7492c
.
13 years ago
Ben Noordhuis
9edb984274
crypto: silence unused variable warning
`retry` is not used if SSL_PRINT_DEBUG is not defined.
13 years ago
koichik
827180097c
test: fix test/simple/test-net-server-max-connections.js is racey
Fixes #1333 .
13 years ago
koichik
93298afc4e
test: for #2109
13 years ago
Brandon Benvie
f9014438c7
util: use getOwnPropertyDescripter
Change formatProperty in util.js to use Object.getOwnPropertyDescriptor
instead of __lookup[GS]etter__.
Use the cached value from the descriptor to reduce number of property
lookups from 3 to 1.
Fallback to standard lookup if the descriptor is empty. This doesn't
ever happen with normal JS objects (this function is called only when
the key exists) but apparently does with Node's custom ENV interface.
Fixes : #2109 .
13 years ago
koichik
3df7c90c30
http: keep-alive should default with HTTP/1.1 server
As RFC 2616 says we should, assume that servers will provide a persistent
connection by default.
> A significant difference between HTTP/1.1 and earlier versions of
> HTTP is that persistent connections are the default behavior of any
> HTTP connection. That is, unless otherwise indicated, the client
> SHOULD assume that the server will maintain a persistent connection,
> even after error responses from the server.
> HTTP/1.1 applications that do not support persistent connections MUST
> include the "close" connection option in every message.
Fixes #2436 .
13 years ago
Igor Zinkovsky
6d00c089e3
only ref non-default isolate loops
13 years ago
Maciej Małecki
e10ed097cb
path fs: move `path.exists*` to `fs.exists*`
`path.exists*` functions show a deprecation warning and call functions
from `fs`. They should be removed later.
test: fix references to `path.exists*` in tests
test fs: add test for `fs.exists` and `fs.existsSync`
doc: reflect moving `path.exists*` to `fs`
13 years ago
Ben Noordhuis
56e34c2f81
http: fix deprecation warning module ID
Mea culpa, I told @mmalecki wrong
13 years ago
Dan VerWeire
f2b1f57f74
dgram: reintroduce setMulticastTTL()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Dan VerWeire
f749338e1e
dgram: reintroduce setBroadcast()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Roman Shtylman
a38fd6056c
dgram: reintroduce addMembership() and dropMembership()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Ben Noordhuis
08ab306afd
uv: upgrade to 497b1ec
13 years ago
Igor Zinkovsky
de78922b12
ref isolate loop
13 years ago
koichik
35fe3eb5c7
http: reduce creating http-parser instances
Fixes #2577 .
13 years ago
Nicolas LaCasse
40c93486e8
Fix #2365 zlib crashing on invalid input
Fix zlib crashes on error due to improper use of removeListener
in the error handler
13 years ago
Andreas Madsen
f9a47debfc
Add cluster.setupMaster
Fixes #2470
13 years ago
isaacs
f25ec0782e
Add missing ChangeLog item re: fs.stat improvement
This was a very significant improvement that should have been called out
explicitly.
I added 'review all libuv changes' to my build checklist. It won't
happen again. Sorry, @igorzi .
13 years ago
Ben Noordhuis
6b5853794d
build: disable NDEBUG in release builds for now
assert() sanity checks are a good thing.
13 years ago
Ben Noordhuis
4e5247772d
fs, handle_wrap: use Loop(), not uv_default_loop()
Using the default loop will fail in unexpected and interesting ways when
isolates are used.
13 years ago
Shigeki Ohtsu
2156e5eca1
fs: don't assert on uv_fs_*() errors
Pass errors to the JS callbacks, don't assert in C++ land.
Fixes among other things the case where Node aborts because uv_fs_futimes()
returns ENOSYS.
13 years ago
isaacs
ec1d1ee61f
Now working on 0.6.9
13 years ago
isaacs
d18cebaf8a
2012.01.19, Version 0.6.8 (stable)
* Update V8 to 3.6.6.19
* Numeric key hash collision fix for V8 (Erik Corry, Fedor Indutny)
* Add missing TTY key translations for F1-F5 on Windows (Brandon Benvie)
* path.extname bugfix with . and .. paths (Bert Belder)
* cluster: don't always kill the master on uncaughtException (Ben
* Noordhuis)
* Update npm to 1.1.0-2 (isaacs)
* typed arrays: set class name (Ben Noordhuis)
* zlib binding cleanup (isaacs, Bert Belder)
* dgram: use slab memory allocator (Michael Bernstein)
* fix segfault #2473
13 years ago
isaacs
4afc46d7bc
Upgrade V8 to 3.6.6.19
13 years ago
Ben Noordhuis
0f33768059
v8: link against libsocket and libnsl on sunos
The V8 debugger requires BSD socket support. Solaris-like systems obviously
support that but you need to link against the right libraries, it's not part of
libc.
13 years ago
Ben Noordhuis
90587b1ccb
v8: implement VirtualMemory class on SunOS
Unbreaks build on SunOS. Re-applies 4908e5bf7a
.
13 years ago
Fedor Indutny
4fdec07bd8
Land number collision fix for v8 3.6 by Erik Corry
Update with fixes from: http://codereview.chromium.org/9190001/
13 years ago
Artur Adib
e282c0a081
docs: document common add-on design patterns
13 years ago
Ingmar Runge
0ca30187cf
Crypto: adding ability to turn off automatic PKCS padding
13 years ago
Brandon Benvie
f7b612550a
Add missing TTY key translations for F1-F5 on Windows
13 years ago