isaacs
1d3d02c70d
Fix fs.readfile('/dev/stdin')
There is no need for fs.readFile() to be using pread rather than read.
The default semantics of read() are such that subsequent reads are where
we want them anyway.
13 years ago
Bert Belder
7887e68ff7
uv: upgrade to 6e8eb332
13 years ago
isaacs
e4017402ef
Now working on 0.8.0
13 years ago
isaacs
fbc2ad5815
Merge branch 'v0.7.12-release'
13 years ago
Bert Belder
26b11915b1
test-domain: fix the test to work on Windows
On Windows, full pathnames are stored in the Error object when
a file i/o error happens. This is not the case on Unix. Before
this fix the test would break because of these full paths.
13 years ago
Bert Belder
7a4dfb6aa8
test-cluster-worker-kill: use SIGKILL instead of SIGHUP
In this test sending SIGKILL has the same effect as sending SIGHUP,
but SIGKILL has the advantage that it works on Windows too.
13 years ago
Bert Belder
3795d77113
windows: `listen(pipe_name)` is not supported when running cluster
- Added a note to the cluster module documentation.
- Disabled test-cluster-http-pipe.
13 years ago
Bert Belder
41d5fefc10
windows: update icon
13 years ago
isaacs
a72120190a
2012.06.19, Version 0.7.12 (unstable)
* npm: Upgrade to 1.1.30
- Improved 'npm init'
- Fix the 'cb never called' error from 'oudated' and 'update'
- Add --save-bundle|-B config
- Fix isaacs/npm#2465: Make npm script and windows shims cygwin-aware
- Fix isaacs/npm#2452 Use --save(-dev|-optional) in npm rm
- `logstream` option to replace removed `logfd` (Rod Vagg)
- Read default descriptions from README.md files
* Shims to support deprecated ev_* and eio_* methods (Ben Noordhuis)
* #3118 net.Socket: Delay pause/resume until after connect (isaacs)
* #3465 Add ./configure --no-ifaddrs flag (isaacs)
* child_process: add .stdin stream to forks (Fedor Indutny)
* build: fix `make install DESTDIR=/path` (Ben Noordhuis)
* tls: fix off-by-one error in renegotiation check (Ben Noordhuis)
* crypto: Fix diffie-hellman key generation UTF-8 errors (Fedor Indutny)
* node: change the constructor name of process from EventEmitter to process (Andreas Madsen)
* net: Prevent property access throws during close (Reid Burke)
* querystring: improved speed and code cleanup (Felix Böhm)
* sunos: fix assertion errors breaking fs.watch() (Fedor Indutny)
* unix: stat: detect sub-second changes (Ben Noordhuis)
* add stat() based file watcher (Ben Noordhuis)
13 years ago
isaacs
f105f2f2fd
trivial: Doc typo and lint fix
13 years ago
isaacs
252f034b30
email-footer: Label Windows x64 installer properly
13 years ago
Ben Noordhuis
067be2b3fe
node: fix namespacing issue in ev-emul.h
Always use C linkage, prevent accidental name mangling.
13 years ago
Bert Belder
3f687dbddf
uv: upgrade to b496c122
13 years ago
Bert Belder
5e1d844f3d
uv: upgrade to 67090653
13 years ago
isaacs
6ba1c625cd
npm: Upgrade to 1.1.30
13 years ago
verwaest@chromium.org
8a6ef65c2c
Fixing bugs in promotion of elements transitions (r1175). - Fixed invalid memory access when reading enum-cache from descriptor array with elements transitions but 0 real descriptors. - Fixed infinite recursion in the intrusive map iterator when visiting elements transitions. - Properly cached non-fastmode elements transitions.
Review URL: https://chromiumcodereview.appspot.com/10565030
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11841 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
jkummerow@chromium.org
7282ce9014
Remove unused-but-set variable from objects.cc.
This fixes compilation with newer GCCs.
R=erik.corry@gmail.com
Review URL: https://chromiumcodereview.appspot.com/10568006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
erik.corry@gmail.com
f94b85db83
Revert part of 11727 as it sometimes tanked V8 benchmark (raytrace) performance for reasons that are not obvious. Now we make objects into fast-case objects when they are made prototypes for other objects, but we do not mark objects that are already fast case with a bit that helps keep them in fast case. Review URL: https://chromiumcodereview.appspot.com/10556004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
danno@chromium.org
bf682afb98
MIPS: Fix packed-element.js test on ARM with no snap
Port r11826 (5be3568a)
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10559002
Patch from Akos Palfi <palfia@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
Ben Noordhuis
8966480c0e
Revert "build: fix `make install DESTDIR=/path`"
This reverts commit f80513974e
.
The reverted commit made DESTDIR behave more like we want it to but it was
pointed out in #3489 that it makes life a lot harder for distro package
maintainers.
Those guys and gals already have a hard enough time as it is, let's not make
their jobs even more hellish.
13 years ago
Ben Noordhuis
7de6eba061
node: preemptively unbreak windows build
No one has complained about it so far but I'm sure MSVC doesn't like things
like __attribute__((unused)). Include the libev and libeio shims only on
non-Windows platforms.
13 years ago
isaacs
edb62dd902
npm: Upgrade to 1.1.29
13 years ago
isaacs
10fa526fa0
Update npm's license
Adds the Gubblebum Blocky copyright statement
13 years ago
isaacs
5cfe0b86d5
eio-emul: Cast eio_custom method to void(*)(eio_req*)
13 years ago
Ben Noordhuis
1b22f5376b
build: install eio-emul.h
13 years ago
Ben Noordhuis
f405517de1
build: install ev-emul.h
13 years ago
isaacs
1df222f179
Fix breakage introduced in de65ba7
13 years ago
isaacs
de65ba7aba
net.Socket: Delay pause/resume until after connect
Fix #3118
13 years ago
Trent Mick
196207c228
node: remove unused flags and files
Drop vestigial `process.installPrefix`, `node --vars`, NODE_CFLAGS and
NODE_PREFIX.
Also removed unused node_config.h.in (replaced with config.gypi a while back).
13 years ago
isaacs
0ef6cfd39b
Fix #3465 Add ./configure --no-ifaddrs flag
For Old Solaris.
13 years ago
isaacs
d0111aa0c4
uv: Upgrade to 382f2a26
13 years ago
Fedor Indutny
0a89e8b838
child_process: add .stdin stream to forks
Remove test as it doesn't make any sense after the latest stdio API
changes.
13 years ago
Fedor Indutny
057b80611f
uv: upgrade to 61a6e06e
13 years ago
Bert Belder
30ab1f567d
test-eio-limit: bump the number of allowed background tasks to 200
This makes the test pass on Windows.
13 years ago
Bert Belder
1b7d23e81e
Fix test-cluster-message so it passes on Windows
The test was relying on a particular order of events that cannot be
guaranteed.
Also fixes some typos.
13 years ago
Ben Noordhuis
f80513974e
build: fix `make install DESTDIR=/path`
Install to $DESTDIR, not $DESTDIR/$PREFIX.
Example: if DESTDIR=/opt/node, install to /opt/node, not /opt/node/usr/local.
13 years ago
Ben Noordhuis
ff552ddbaa
tls: fix off-by-one error in renegotiation check
Make CLIENT_RENEG_LIMIT inclusive instead of exclusive, i.e. a limit of 2
means the peer can renegotiate twice, not just once.
Update pummel/test-tls-ci-reneg-attack accordingly and make it less timing
sensitive (and run faster) while we're at it.
13 years ago
Fedor Indutny
ae5b0e1fc1
crypto: add padding to diffie-hellman key
DH_size returns number of bytes in a prime number, DH_compute_key returns number
of bytes in a remainder of exponent, which may have less bytes than a prime
number. Therefore add 0-padding to the allocated buffer.
Fixes #3372
13 years ago
Andreas Madsen
6d70a4ae16
node: change the constructor name of process from EventEmitter to process
13 years ago
Maciej Małecki
3db2e034c4
events: cache `domain` module locally
It's faster than calling `require` every time we create an
`EventEmitter`.
13 years ago
Reid Burke
71a2a2caa6
net: Prevent property access throws during close
Fix #3455 .
The remoteAddress and remotePort properties are
dynamically retrieved from _getpeername().
While _getpeername() checks if the _handle is
null, it is also possible for the tcp_wrapped
_handle.getpeername() to return null on error.
Such a condition happens when the remote closes
and one of these properties is accessed before
_handle is set to null.
13 years ago
isaacs
b0b707cb6e
npm: Upgrade to 1.1.27
- severely enhanced 'npm init'
- upgraded node-gyp
13 years ago
isaacs
d614d161c7
test: Don't reuse common.PORT in test-child-process-fork-net
This fixes #3447
13 years ago
isaacs
41421ff9da
Make listenFD just DTRT after warning
13 years ago
Bert Belder
55ef9ef680
Revert "Check if a stream has a valid fd before read_start"
uv_stream_t.fd is a private field which exists only on unix.
This reverts commit 8d5c1201f2
.
13 years ago
isaacs
a90bc78534
Revert "DNS: Support NAPTR queries"
This reverts commit 91bf18fcc5
.
13 years ago
ssuda
91bf18fcc5
DNS: Support NAPTR queries
Adding support for NAPTR records
fixes #3170
13 years ago
Felix Böhm
3a5798b097
querystring: improved speed and code cleanup
13 years ago
isaacs
e74a733024
Fix #3448 Use listen callback in test-regress-GH-1697
13 years ago
Charlie McConnell
8a068ce849
s/exit/close/ in test-child-process-stdout-flush, fixes #3449
13 years ago