Igor Zinkovsky
8fe5712477
fs watcher binding
2011-09-22 22:32:33 -07:00
Ben Noordhuis
320cf729db
crypto: fix delete of potentially uninitialized pointer
2011-09-21 01:58:27 +02:00
Ben Noordhuis
b185751c3f
crypto: fix read of potentially uninitialized variable
2011-09-21 01:58:27 +02:00
Ryan Dahl
ae0dd0d89c
Remove extra method declaration
2011-09-20 14:08:55 -07:00
Ryan Dahl
c1ae6ea2f2
Add TTYWrap
2011-09-20 13:39:48 -07:00
Ben Noordhuis
44bebc0d52
crypto: look up SSL errors with ERR_print_errors()
2011-09-20 08:12:35 +02:00
Ryan Dahl
12798c620d
dns callbacks should go through MakeCallback
2011-09-18 13:20:16 -07:00
isaacs
d104bfd5a6
zlib: Fix test so that it's not trivially passing, then pass it.
...
Regression from the refactor to move more things into JS.
2011-09-17 23:03:23 -07:00
isaacs
5b8e1dabbc
Initial pass at zlib bindings
2011-09-17 18:22:09 -07:00
Ryan Dahl
dcd911e24b
Now working on v0.5.8
2011-09-16 18:38:46 -07:00
Ryan Dahl
558241166c
Bump version to v0.5.7
2011-09-16 17:54:20 -07:00
Ben Noordhuis
0ad28fdd37
crypto: fix error message buffer overrun
...
ERR_error_string() expects a buffer of at least 256 bytes, the input buffer
was not even half that size. Use ERR_error_string_n() instead.
2011-09-16 19:16:32 +02:00
Ryan Dahl
1b0a5cbaaa
Merge remote branch 'origin/v0.4'
2011-09-15 15:08:38 -07:00
Ryan Dahl
6312e889b1
Drain OpenSSL error queue? Addresses #1719
2011-09-15 15:04:09 -07:00
Ryan Dahl
b281171030
Support legacy API: process.stdout.fd
2011-09-15 13:57:41 -07:00
Jeroen Janssen
3e667804eb
Fix options_file_memory_leak
...
Fixes #1714 .
Fixes #1715 .
2011-09-15 12:03:06 -07:00
Ben Noordhuis
f8b90946ae
node: disable uv backend if NODE_USE_UV=0
2011-09-15 00:32:07 +02:00
Igor Zinkovsky
6cb15403d3
remove SetCloseOnExec
2011-09-14 13:47:00 -07:00
Ryan Dahl
a6ef3eb271
Upgrade libuv to 4197fc7
...
and use return value from sync uv_fs functions
2011-09-14 13:46:54 -07:00
Ryan Dahl
cb6b9eb19e
Fix windows build
2011-09-12 19:42:12 -07:00
Ryan Dahl
0928f0f290
Fix test-module-load-list
...
and lazy load modules for process.stdout
This probably breaks test-module-load-list on windows, but it hopefully is
an easy fix to replace "_posix" bindings with "_win32".
2011-09-12 18:12:48 -07:00
Ryan Dahl
0aad61e802
Use net_uv instead of net_legacy for stdio
...
Also temporary hack to prevent process.stdout from keeping event loop alive
by calling uv_unref on process.stdout initialization.
2011-09-12 17:32:52 -07:00
Ryan Dahl
caaa59c559
Wrap uv_pipe_open, implement net.Stream(fd);
...
Fixes simple/test-child-process-ipc on unix.
2011-09-12 15:09:44 -07:00
Ben Noordhuis
0d80040adf
uv: upgrade to 9bd8bd7
2011-09-12 23:46:39 +02:00
Fedor Indutny
b942c6339a
Remove obsolete 'using v8::Null'
...
Fixes #1680 .
2011-09-10 17:44:52 -07:00
Fedor Indutny
8c2c7bb8a9
vm context with accessors
...
fixes #1673
2011-09-10 10:51:58 -07:00
Bert Belder
0be4812c35
Now working on v0.5.7
2011-09-10 01:38:51 +02:00
Bert Belder
b49bec5580
Bump version to 0.5.6
2011-09-10 00:29:35 +02:00
Bert Belder
f810998871
net_uv: use sufficient buffer to read sock/peername
2011-09-09 14:59:27 +02:00
Ryan Dahl
26834b0524
Revert "vm context with accessors"
...
This reverts commit 4527de8cba
.
Causes segfault in test/message/undefined_reference_in_new_context.js
2011-09-08 13:30:52 -07:00
Igor Zinkovsky
65e6ba9cce
Enable link, symlink, and readlink on windows
2011-09-08 12:52:08 -07:00
Fedor Indutny
4527de8cba
vm context with accessors
...
true copy of sandbox properties
catch sealed errors, pass global's prototype to CloneObject
Fixes #1673
2011-09-08 11:59:21 -07:00
Ryan Dahl
52044fd1b1
Merge remote branch 'origin/v0.4'
...
Conflicts:
lib/net.js
test/simple/test-buffer.js
2011-09-07 17:51:33 -07:00
Ben Noordhuis
638773628c
tls: new[] instead of malloc() in Connection::GetSession()
2011-09-07 20:02:14 +02:00
Sean Cunningham
eb99083d0b
tls: add client-side session resumption support
2011-09-07 20:01:14 +02:00
Ben Noordhuis
56efe9cbc5
file: translate libuv error codes to errno names
...
Fixes incorrect error names (ex. ENOEXEC instead of EBADF,
EMLINK instead of ENOENT).
Fixes #1656 .
2011-09-06 16:34:21 +02:00
Ben Noordhuis
2d9ab49239
file: fix errno propagation in sync fs calls
...
Include libuv fs error code in the JS exception.
Fixes #1657 .
2011-09-06 02:15:08 +02:00
Peter Bright
de978991d8
windows: it's rude to clobber quick edit mode
...
Closes #1429
2011-09-06 00:36:41 +02:00
Ryan Dahl
061811f328
ObjectWraps should be MarkIndependent
2011-09-05 14:40:30 -07:00
isaacs
ef523e5719
fix test-fs-realpath
2011-09-04 22:14:03 -07:00
Ryan Dahl
fcfec075e3
internal fs functions called with this == ReqWrap
2011-09-04 19:48:55 -07:00
Ryan Dahl
39ea27470c
Return ReqWrap from internal fs functions
2011-09-04 19:44:01 -07:00
Ryan Dahl
f5e486ebab
Fix test-fs-error-messages.js
2011-09-04 18:48:19 -07:00
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
...
closes #1345
2011-09-05 02:10:14 +02:00
Ryan Dahl
17021ea631
Upgrade libuv to 142a702
2011-09-04 16:17:00 -07:00
Bert Belder
c82ab45ee6
uv_getsockname got renamed
2011-09-04 22:53:01 +02:00
Igor Zinkovsky
29e929de1e
fix windows build break
2011-09-04 04:11:54 +02:00
Igor Zinkovsky
a3d7782c08
enable missing fs functions on windows
2011-09-03 17:45:22 -07:00
Igor Zinkovsky
ee048aa3ab
fix async readdir
2011-09-03 17:44:54 -07:00
koichik
3e853e627e
buffer: write() should always set _charsWritten.
...
Refs #1633 .
2011-09-03 11:48:27 +09:00
Ryan Dahl
197628846d
win: link to psapi.lib
...
broke in 65c2763
2011-09-02 12:53:20 -07:00
koichik
28a908471d
crypto: Fix BIO's usage.
...
Fixes #1612 .
Fixes #1296 .
2011-09-03 00:53:47 +09:00
Ben Noordhuis
5ded5e274f
crypto: use X509_get_ext_by_NID(NID_subject_alt_name)
2011-09-03 00:49:37 +09:00
Niclas Hoyer
7b2536a1a2
Added additional properties to getPeerCertificate, now includes subjectAltName, Exponent and Modulus (FOAF+SSL friendly).
...
Patch written by Nathan,
http://groups.google.com/group/nodejs/browse_thread/thread/1d42da4cb2e51536
2011-09-03 00:49:37 +09:00
koichik
96ede8cc9b
buffer: Avoid overrun with 'binary' encoding.
...
Fixes #1624 .
2011-09-02 09:56:58 +09:00
Karl Skomski
65c27638ec
Added some win32 platform functions
...
Fixes #1617
2011-09-01 14:56:32 -07:00
Ryan Dahl
84cf0c5280
crypto: set data before sending to thread pool
...
fixes test-crypto
2011-08-31 16:11:08 -07:00
Jeroen Janssen
f013f15c89
fix win32 uv loop breakage
2011-08-31 10:09:44 -07:00
Ryan Dahl
21cc4c4985
Upgrade libuv to ea4271f
...
Required adding uv_default_loop() in many places.
2011-08-31 01:53:30 -07:00
koichik
6f60683802
tls: x509 certificate subject parsing fail
...
Fixes #1568 .
2011-08-31 03:47:23 +09:00
isaacs
ef27d56cc1
Fixes #1610 Remove DigiNotar CA from trusted list
...
Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php
2011-08-30 08:53:21 -07:00
isaacs
6b6f2b1d2c
Fixes #1610 Remove DigiNotar CA from trusted list
...
Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php
2011-08-30 08:52:49 -07:00
Igor Zinkovsky
bce41fac94
Use new uv_fs_ apis
...
This will cause master to be unstable for a while as we replace existing eio
calls with uv_fs calls.
2011-08-30 01:36:10 -07:00
Ryan Dahl
1088638725
upgrade libuv to a6ed175
2011-08-30 01:35:54 -07:00
Ryan Dahl
ff7f7ae386
Fixes #1503 . make libuv backend default on unix
2011-08-29 14:01:41 -07:00
Abimanyu Raja
b5144b245b
stdio: fix typo in doc comment
2011-08-29 21:26:58 +02:00
Jann Horn
1a0edbca86
module: remove 'is URL?' check in module loader, dead code
2011-08-29 18:20:58 +02:00
Ben Noordhuis
8342f31af9
Now working on 0.5.6
2011-08-27 01:27:52 +02:00
Ben Noordhuis
d2d53d4bb2
Bump version to v0.5.5
2011-08-26 23:24:18 +02:00
Ryan Dahl
7d38a3b81c
Fix build - due to V8 API change
2011-08-26 13:20:27 -07:00
Ryan Dahl
06f750c466
fix windows build
2011-08-24 16:20:14 -07:00
Ben Noordhuis
8f245486aa
net: fix multicast on sunos
...
setsockopt(IP_MULTICAST_TTL|IP_MULTICAST_LOOP) takes an unsigned char as
its argument on sunos.
Partially fixes simple/test-dgram-multicast: test hangs after socket
close but it no longer throws EINVAL exceptions.
2011-08-24 22:46:55 +00:00
Ryan Dahl
52a40e0fd5
Add process.features.debug; fixes simple/test-executable-path.js
2011-08-24 14:16:35 -07:00
Ben Noordhuis
11e3cfce8b
dgram: integrate libuv support for UDP over IPv6
2011-08-24 22:27:24 +02:00
Ben Noordhuis
cbd4033619
dgram: integrate libuv UDP support
2011-08-24 22:27:24 +02:00
Ben Noordhuis
9cb624986c
tcp_wrap: update after libuv API change
2011-08-24 22:27:24 +02:00
Ben Noordhuis
2aefea5a2f
stream_wrap: update after libuv API change
2011-08-24 22:27:24 +02:00
Ben Noordhuis
7003d6eff5
Move ARRAY_SIZE macro to node.h
2011-08-24 22:27:24 +02:00
Peter Bright
0110c90382
Upgrade to 0.9.8r.
...
Build in Win32.
2011-08-22 11:30:47 -07:00
Ryan Dahl
ce9caa237f
Fix #1563 . overflow in ChildProcess custom_fd.
...
Backported from master f5db3f1f85
2011-08-20 12:42:58 -07:00
Ryan Dahl
f5db3f1f85
Fix #1563 . overflow in ChildProcess custom_fd.
2011-08-20 12:39:40 -07:00
Ryan Dahl
dc578724b1
Now working on v0.4.12
2011-08-17 18:45:28 -07:00
Ryan Dahl
a745d19ce7
Bump version to v0.4.11
2011-08-17 18:18:10 -07:00
Antranig Basman
c05936ca13
vm: fix incorrect dispatch of vm.runInContext for argument "filename"
...
Adds test case and documentation for vm.runInContext and vm.createContext.
Fixes #1140 .
2011-08-16 14:50:04 +02:00
Ben Noordhuis
5e37e10e41
module: fix pointer reference to out-of-scope variable
...
Reported by Tom Hughes.
2011-08-15 20:08:18 +02:00
Bert Belder
9728723508
node_crypto: interface with libuv, not libev
2011-08-15 02:30:35 +02:00
Ben Noordhuis
eaac88163a
module: fix pointer reference to out-of-scope variable
...
Reported by Tom Hughes.
2011-08-14 01:25:39 +02:00
Artem Zaytsev
a38bda9fb2
platform: fix GetFreeMemory() on 64 bits freebsd
...
v_free_count is defined as u_int v_free_count (struct vmmeter sys/vmmeter.h:87)
but variable info defined as unsigned long, this cause error on 64-bits systems
because higher 32 bits remain uninitialized
2011-08-12 19:17:05 +02:00
Ben Noordhuis
cbea40eaf2
typed arrays: fix signed/unsigned compiler warnings
2011-08-12 18:52:06 +02:00
Ben Noordhuis
efcbe3b21a
typed arrays: add Float64Array
2011-08-12 18:42:24 +02:00
Ben Noordhuis
83b211ecb2
typed arrays: alias method subarray() to slice()
2011-08-12 18:42:24 +02:00
Ben Noordhuis
7cab4d6870
typed arrays: integrate plask's typed array implementation
2011-08-12 18:42:24 +02:00
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
2011-08-12 16:23:11 +02:00
Ryan Dahl
5b58473b40
Now working on v0.5.5
2011-08-12 02:15:19 -07:00
Ryan Dahl
cfba1f5922
Bump version to v0.5.4
2011-08-12 01:17:05 -07:00
Peter Bright
b9d777734d
Fix MSVS building.
2011-08-11 04:52:33 +02:00
Ben Noordhuis
fcf9cfa137
node: propagate --use-uv to child processes
2011-08-11 02:47:43 +02:00
Ryan Dahl
e6b06bc6c5
win: fix test-process-env
...
Remove support for setting process.env.TZ as it doesn't seem we can do it
x-platform without fixing V8.
2011-08-10 17:15:13 -07:00
Ben Noordhuis
460614125b
tcp: propagate libuv tcp accept() errors to net_uv.js
2011-08-11 00:36:58 +02:00
Bert Belder
764dfbb1bf
Open files in binary mode, on msvc too
2011-08-10 04:23:44 +02:00
Tom Hughes
421b6e89aa
crypto: fix incorrect ssl shutdown check
2011-08-09 23:56:00 +02:00
Tom Hughes
25118b0a26
net: fix incorrect sizeof()
2011-08-09 23:56:00 +02:00
Tom Hughes
94db871ecf
crypto: fix incorrect ssl shutdown check
2011-08-09 23:54:49 +02:00
Tom Hughes
a8692a0154
net: fix incorrect sizeof()
2011-08-09 23:54:31 +02:00
Ryan Dahl
acc120a37b
windows: fix test-umask
2011-08-09 13:55:04 -07:00
Peter Bright
6ac8c55989
Make MSVS build.
...
MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.
2011-08-06 22:39:28 -07:00
Ryan Dahl
3ebbf6ebf7
Complete eio upgrade
2011-08-06 03:47:09 -07:00
Peter Bright
13d6a1f67f
Basic VC++ compatibility work.
2011-08-06 03:31:29 -07:00
Ryan Dahl
a979ab9d99
Improve gyp build - now works kind of
2011-08-06 03:12:06 -07:00
Ryan Dahl
c3ccbea5cd
Upgrade http_parser to 965f91bc76b2d1601e23
2011-08-06 03:04:42 -07:00
Bert Belder
567470b136
Child processes: support windowsVerbatimArguments option
2011-08-05 22:57:45 +02:00
Ben Noordhuis
2bbb468428
child process: bind to libuv's kill process API
...
Fixes failing test test/simple/test-child-process-kill.js
2011-08-04 18:40:41 +02:00
Ben Noordhuis
38f948a373
http: make http2 the default, legacy backend is available with --use-http1
...
Fixes #1441 .
2011-08-02 23:40:56 +02:00
Bert Belder
91ecfbcae8
Remove platform_win32_winsock
2011-08-02 18:38:34 +02:00
Ryan Dahl
158bfab922
Now working on v0.5.4
2011-08-02 01:08:01 -07:00
Ryan Dahl
4585330afe
Bump version to v0.5.3
2011-08-02 00:17:41 -07:00
Ryan Dahl
8ace421bfd
Complete removal of node_child_process_win32.cc
2011-08-01 22:51:14 -07:00
Ryan Dahl
3ce671284b
Remove node_child_process_win32.cc
2011-08-01 22:34:16 -07:00
Igor Zinkovsky
1c09cc1550
windows: set stdio streams to binary mode
2011-08-01 18:30:13 -07:00
Ryan Dahl
624dd38d89
child_process_uv: fix test/simple/test-child-process-env
2011-07-31 17:51:43 -07:00
Ryan Dahl
ef767a152b
child_process_uv: fix simple/test-child-process-cwd
2011-07-31 16:50:53 -07:00
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
2011-07-31 16:24:29 -07:00
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
2011-07-31 15:58:10 -07:00
Paul Querna
5501a5a641
Add stdlib include for free(), fixing build on linux after f01b241
2011-07-29 18:28:12 -07:00
Ryan Dahl
f01b241057
add wrapper for uv_spawn
...
process.binding('process_wrap')
2011-07-29 18:03:44 -07:00
Fedor Indutny
9010f5fbab
Add support for TLS SNI
...
Fixes #1411
2011-07-29 16:57:28 -07:00
isaacs
703a1ffe52
Revert "AMD compatibility for node"
...
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
2011-07-29 11:56:38 -07:00
Fedor Indutny
759fb36df3
crypto: dispose persistent properties on class destruction
2011-07-28 15:16:04 +02:00
Ryan Dahl
ea9ee1fb7e
Add process.moduleLoadList for better startup transparency
2011-07-27 19:30:32 -07:00
Ryan Dahl
bca6e35b2b
Don't always enable debug on startup
...
Improves startup time. Problem introduced in
4ab5476e89
2011-07-27 17:33:06 -07:00
Ryan Dahl
497fe79f97
Speed up startup time
...
Reverts 2a05fe784d
.
2011-07-27 16:36:05 -07:00
Ben Noordhuis
83b82f900f
wrap: upgrade pipe_wrap and tcp_wrap to new libuv API
2011-07-27 04:13:49 +02:00
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
2011-07-27 03:59:33 +02:00
SAWADA Tadashi
d3a84bea7b
Fix crypto encryption/decryption with Base64.
...
Fixes #738 .
Fixes #1205 .
2011-07-27 00:19:02 +02:00
Ben Noordhuis
2d65f3c59a
Include "platform.h", not <platform.h> - conflicts with system headers
...
Fixes #1003 .
2011-07-26 22:09:03 +02:00
Ben Noordhuis
a7bdaabf60
Include "platform.h", not <platform.h> - conflicts with system headers
...
Fixes #1003 .
2011-07-26 22:05:08 +02:00
Ben Noordhuis
0082ef271e
http: add --use-http2 switch
2011-07-26 17:00:53 +02:00
Ben Noordhuis
df3a8fcb62
cli: don't print result of --eval
...
Fixes #572 .
2011-07-25 23:59:10 +02:00
isaacs
c050d0fa19
Finish removing require.paths
...
Fix require() completion bug in repl, and correct man output
2011-07-24 18:04:45 -07:00
Stefan Bühler
db993956d6
Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231
...
Fixes #324 .
Fixes #1027 .
Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).
2011-07-24 19:48:18 +09:00
Ben Noordhuis
aa0308d618
process: add process.features, remove process.useUV
...
Partially fixes #1385 .
2011-07-23 23:16:48 +02:00
SAWADA Tadashi
e357acc55b
Fix crypto encryption/decryption with Base64.
...
Fixes #738 .
Fixes #1205 .
2011-07-23 21:56:41 +09:00
Bert Belder
7a6a77e07c
Windows/cygwin: no more GetConsoleTitleW errors on XP
2011-07-22 21:06:51 +02:00
Ryan Dahl
82905fa3aa
Now working on v0.5.3
2011-07-22 11:51:43 -07:00
Bert Belder
78487b6256
Windows/cygwin: no more GetConsoleTitleW errors on XP
2011-07-22 16:33:55 +02:00
Ryan Dahl
08ffce1a00
Bump version to v0.5.2
2011-07-22 03:55:26 -07:00
Ryan Dahl
133036fdad
upgrade libuv to 6e50576
2011-07-20 19:57:03 -07:00
Ben Noordhuis
37cbc355d5
net: add bindings to libuv pipe API
2011-07-21 03:51:23 +02:00
Ben Noordhuis
6f0740e67b
crypto: check for SSL_COMP_get_compression_methods()
...
Function was named SSL_COMP_get_compression_method() (singular)
in OpenSSL 0.9.7 and older.
Fixes #1242 .
2011-07-20 22:24:11 +02:00
Ryan Dahl
0599cb7afa
process.stdout/process.stderr should use net_legacy for now
2011-07-20 11:08:43 -07:00
Ryan Dahl
effc4469d0
Now working on v0.4.11
2011-07-20 00:37:26 -07:00
Ryan Dahl
1b8dd65d6e
Bump version to v0.4.10
2011-07-19 23:51:42 -07:00
Ryan Dahl
58655da3aa
Use ms instead of sec for gc idle times
...
We were calling V8::IdleNotification too often.
2011-07-19 16:18:13 -07:00
Ryan Dahl
6050af4fd7
net_uv: properly initialize writeQueueSize
...
Fixes simple/test-tcp-wrap-listen.js
2011-07-19 02:19:27 -07:00
Ryan Dahl
4ef8f06fe6
Finally remove node::EventEmitter
2011-07-19 01:46:38 -07:00
Ryan Dahl
0a3fc1d9c8
Remove StatWatcher's dep on C++ EventEmitter
2011-07-19 01:23:50 -07:00
Ryan Dahl
85404c5c55
Move HandleWrap rules to one place
2011-07-18 13:47:56 -07:00
Ryan Dahl
61cda1e34e
PipeWrap should use HandleWrap::Close
2011-07-18 04:30:40 -07:00
Ryan Dahl
0c7bf8132e
Abstract out HandleWrap class
2011-07-18 04:22:16 -07:00
Ryan Dahl
cc0f608c7c
Add pipe_wrap
2011-07-18 03:08:54 -07:00
Ryan Dahl
1ae148909a
Abstract StreamWrap from TCPWrap
2011-07-18 03:08:54 -07:00
Steve Engledow
292345fe62
Improve --help message and Fix -e/--eval switch
...
--help should at least give some hint that node takes the -e switch
Update help message to include -e and swap eval block with module load block so argv works correctly
[steve@sane node](master)$ ./node -e 'process.argv' foo bar
[ '/home/steve/code/node/node', 'foo', 'bar' ]
:)
Add simple test for -e option.
Fixes #1311 .
2011-07-16 15:24:36 +09:00
Henry Rawas
f3f3b12364
net_uv: getsockname binding
2011-07-15 16:44:13 -07:00
Henry Rawas
3a96469319
connect-timeout callbacks after close
2011-07-15 13:43:28 -07:00
Ryan Dahl
130be31cff
Upgrade libuv to 1be48f12a0
...
and bindings for new req interface
2011-07-15 13:41:44 -07:00
Ryan Dahl
48f65b3d57
Use uv_exepath
2011-07-15 10:46:11 -07:00
Ryan Dahl
306af25325
Now working on v0.5.2
2011-07-14 16:56:39 -07:00
Ryan Dahl
f8bfa54d0f
Bump to v0.5.1
2011-07-14 16:10:36 -07:00
Ryan Dahl
041c983290
Merge branch 'v0.4'
...
Conflicts:
deps/libev/wscript
doc/api/modules.markdown
2011-07-14 15:52:08 -07:00
Ryan Dahl
ab0d88142e
Comment out wsa_get_proto_info(AF_INET6) - not needed - causes warning in Win2k3
2011-07-14 15:34:08 -07:00
Ryan Dahl
7a782164b9
Upgrade libuv to f5ff8694
2011-07-14 14:29:24 -07:00
koichik
a3e3ad40b1
Fix fs can't handle large file on 64bit platform
...
fs.read() and fs.write() can't handle more than 2GB files on 64bit platform.
Also fs.truncate() can't handle more than 4GB files.
Fixes #1199 .
Fixes #1094 .
2011-07-14 02:52:54 +09:00
koichik
5208abe723
Fix Buffer drops last null character in UTF-8
...
Reproduce:
$ node
> buf = new Buffer('\0')
<Buffer >
> buf.length
0
> buf = new Buffer(1)
<Buffer 28>
> buf.write('\0')
0
Fixes #394 .
Fixes #1210 .
2011-07-14 02:21:56 +09:00
Ben Noordhuis
13a521e698
Fix off-by-one error in assertion.
...
Fixes test/simple/test-http-buffer-sanity.js
2011-07-09 03:24:51 +02:00
Igor Zinkovsky
a58b6439de
Statically link in dependencies for node.exe
2011-07-08 17:44:58 -07:00
Ryan Dahl
0df2f74d36
Add several asserts to tcp_wrap
...
OnAlloc and OnConnection should not be occurring after uv_close was
called on the handle.
2011-07-08 15:22:40 -07:00
Henry Rawas
b6f6a1ca11
ipv6 node
2011-07-07 15:51:55 -07:00
avz
cc83455534
sysctl(CTL_HW, HW_PHYSMEM) always returns unsigned long. Will work fine for 32 and 64 bit systems. Closes #1233 .
2011-07-06 21:52:21 -07:00
Joe Shaw
3dbb3cdb6a
SendTo and SendMsg expect a buffer only, not a string; fix the error message. Closes #1239 .
2011-07-06 21:31:13 -07:00
Ryan Dahl
2dfed9f69a
Now working on version v0.5.1
2011-07-05 22:13:55 -07:00
Ryan Dahl
ae7ed8482e
Bump to v0.5.0
2011-07-05 18:45:03 -07:00
Ryan Dahl
111305c1bd
Support SunOS 121. Check for ifaddrs in wscript for SunOS build.
2011-07-05 18:31:59 -07:00
Ben Noordhuis
f087206067
Verify that the argument passed to vm.runInContext() is a context object.
...
Fixes #558 .
2011-07-05 23:39:13 +02:00
Ben Noordhuis
b74d119b34
Parse the command line before initializing V8.
...
Doing it the other way around means that V8 won't pick
up command line switches like `--prof`.
Props to Joshua Kehn for reporting the issue and Jeff Fifield
for pointing out the cause.
Fixes #900 .
Fixes #1217 .
2011-07-05 13:25:27 -07:00
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
2011-07-05 21:17:17 +02:00
Bert Belder
4062a42aae
Avoid assertion failure closing tty stdin on windows
2011-07-05 02:33:13 +02:00
avz
0c3a7c075e
Fix wrong error handling at Open() after open(2) in sync mode
2011-07-05 02:05:37 +02:00
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
2011-07-05 00:17:20 +02:00
Niklas Fiekas
a3e5da07b4
Removed/Fixed TODO DRY
2011-07-04 21:15:00 +02:00
Mariano Iglesias
02ebcd8e26
Adding missing v8 namespace to NODE_PSYMBOL
2011-07-04 19:40:19 +02:00
Mariano Iglesias
075605f304
Adding missing v8 namespace to NODE_PSYMBOL
2011-07-04 09:50:10 -07:00
Ben Noordhuis
bd0baf2338
Check that PR_SET_NAME is defined.
...
Avoids breaking the build with older (pre-2006) linux kernels.
Raises a JS exception if the script tries to assign to `process.title`.
Fixes #840 .
2011-07-04 17:23:14 +02:00
Ryan Dahl
44d30f2d65
Fix require with --eval
...
Caused by bad merging of d6ec8f
Fixes #1261 .
2011-07-03 10:49:20 -07:00
Ryan Dahl
5a2155dc71
Set process.useUV also on env NODE_USE_UV=1
2011-07-01 19:30:26 -07:00
Ryan Dahl
412e413edc
Upgrade libuv
2011-07-01 09:30:44 -07:00
Henry Rawas
dd175a4ede
fix mingw build
2011-06-29 19:12:26 +02:00
Ryan Dahl
20996dbc2b
Revert "Add support for file descriptor type detection."
...
This reverts commit 911cbd0cef
.
This patch is broken on Linux and I don't want to think about the
functionality during the Windows port. We can reconsider it after v0.6.
2011-06-29 15:25:11 +02:00
Ryan Dahl
d005cc5cc9
Enable new timer binding only on --use-uv
2011-06-29 15:14:55 +02:00
Ryan Dahl
263e33a738
Revert "Get rid of the old timer binding"
...
This reverts commit cc82724fdc
.
Conflicts:
src/node.cc
wscript
2011-06-29 15:06:40 +02:00
Ryan Dahl
23b8931b62
Merge branch 'v0.4'
...
Conflicts:
src/node.js
src/node_version.h
2011-06-29 14:50:03 +02:00
Ryan Dahl
e286480e34
Now working on v0.4.10
2011-06-29 14:44:38 +02:00
Ryan Dahl
de44eafd78
Bump to v0.4.9
2011-06-29 13:24:02 +02:00
Henry Rawas
4e1e60fbf0
Fix the MinGW build
2011-06-28 23:14:00 +02:00
Henry Rawas
47a5d93256
Fix test-net-pingpong.js on windows
2011-06-28 13:52:36 +02:00
Ryan Dahl
f657d58fe1
Upgrade libuv to f9b9bb44bd6e2b74729b5d1ff481adf4213e9a0b
2011-06-28 13:37:03 +02:00
Ryan Dahl
02699a3a8e
net_uv: child process use net_legacy; recognize NODE_USE_UV=1 env var
2011-06-20 15:51:03 +02:00
koichik
d6ec8f668e
Fix -e/--eval can't load module from node_modules
...
With -e or --eval, require() can load module using relative path.
node -e 'require("./foo")'
But it can't load module from node_modules directory.
node -e 'require("foo")'
Fixes #1196 .
2011-06-20 13:47:27 +02:00
Ryan Dahl
feb26d6c74
Fixes #1203 . Add missing scope.Close to fs.sendfileSync
2011-06-20 12:48:38 +02:00
Ryan Dahl
52b517c6ab
Revert "Add --cov code coverage option"
...
This can be done in user space. EG https://github.com/cloudkick/whiskey
This reverts commit da9b3340eb
.
This reverts commit b4ff36a41b
.
Conflicts:
src/node.cc
2011-06-17 14:03:05 +02:00
Ryan Dahl
710f8e2acc
Add --use-uv command-line flag to use libuv backend
2011-06-17 13:51:40 +02:00
Ryan Dahl
9696c27c45
tcp_wrap: implement shutdown
2011-06-16 16:08:17 +02:00
Ryan Dahl
ea8969787c
tcp_wrap: Don't return req object on error.
2011-06-16 16:03:04 +02:00
Ryan Dahl
97296e405c
tcp_wrap: add writeQueueSize
2011-06-16 15:49:44 +02:00
Ryan Dahl
ddc989333d
tcp_wrap: implement socket.connect()
2011-06-16 15:33:47 +02:00
Ryan Dahl
dae73dbd28
tcp_wrap: onread oncomplete parameter massage
2011-06-16 15:12:57 +02:00
Ryan Dahl
dafe32d3bf
tcp_wrap: implement write
2011-06-16 13:16:54 +02:00
Mark Cavage
7c51275bce
Cleanup crypto verify to not print unnecessary errors
2011-06-15 20:02:21 +02:00
Ryan Dahl
3d7d994ffc
Merge branch 'v0.4'
...
Conflicts:
doc/api/modules.markdown
test/simple/test-crypto.js
2011-06-15 14:43:37 +02:00
Ryan Dahl
86214c9f16
tcp_wrap: Initial wrap of uv_read_start
2011-06-14 18:03:01 +02:00
Ryan Dahl
5fd9adccdb
Remove confusing comment in node_buffer.h
2011-06-14 13:18:32 +02:00
Ryan Dahl
1261b17129
libuv wraps: Dispose of JS object on close()
2011-06-14 13:03:49 +02:00
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
...
Fixes #1166 .
2011-06-14 12:50:00 +02:00
Ryan Dahl
55636e5526
tcp_wrap: Remove listener deck
2011-06-14 12:47:07 +02:00
isaacs
9967c369c9
AMD compatibility for node, with docs and tests
...
Closes #1173
Closes #1170
2011-06-13 16:11:13 -07:00
Bert Belder
2eb1274d6c
Compensate for uv_async_init api change
2011-06-12 20:53:04 +02:00
Ryan Dahl
effeeb5cf2
Bind uv_listen()
2011-06-10 18:25:27 +02:00
Ryan Dahl
062759194b
Initial binding to uv_tcp_t
2011-06-10 18:17:48 +02:00
Ryan Dahl
623f513071
Upgrade libuv
2011-06-10 18:17:44 +02:00
Bert Belder
09ac99f1f4
Avoid tick spinner spinning forever
2011-06-08 05:06:16 +02:00
Bert Belder
406f44a86b
Build on windows again
2011-06-08 05:06:15 +02:00
Bert Belder
126e3ba2d3
Get rid of node_idle_watcher
2011-06-08 05:06:15 +02:00
Bert Belder
cc82724fdc
Get rid of the old timer binding
2011-06-08 05:06:14 +02:00
Bert Belder
d9aa9b54cf
Use timer_wrap instead of the old timer binding
2011-06-08 05:06:13 +02:00
Bert Belder
5c9a262eb0
Compatibility issue and warning in x-forwarded-for dtrace probe
2011-06-08 05:06:09 +02:00
Ryan Dahl
7a5977b5d6
Upgrade libuv to e58a1abff02d7bacf89a56de9050e27690a97bc5
2011-06-07 18:59:44 +02:00
Dave Pacheco
e142fe2be6
DTrace probes: support X-Forwarded-For
...
INTRO-385
2011-06-04 16:05:01 +02:00
Ryan Dahl
b6a742d76f
Merge branch 'v0.4'
2011-06-03 16:37:56 +02:00
Ryan Dahl
1d7a46a588
Disabling SSL compression is dependent on OpenSSL version 0.9.8
...
Fixes #1087 .
2011-06-03 14:50:02 +02:00
Jérémy Lal
f23c45f7f4
Option to disable SSL v2
...
Fixes #880
2011-06-03 08:37:28 +02:00
Fuji, Goro
8971b59365
node -e ''
should mean eval(''), not invoke REPL
...
Fixes #1116
2011-05-31 22:10:39 -07:00
Ryan Dahl
650a308634
Move MakeCallback and SetErrno to node.cc
2011-05-28 13:44:03 -07:00
Ryan Dahl
4d22405f0f
TimerWrap: mimic libev ref count semantics
2011-05-28 13:21:03 -07:00
Ryan Dahl
9d1bad8960
Implement new wrap for uv timer
2011-05-25 10:17:02 -07:00
Ben Noordhuis
eb4c9ed881
Fix resource leaks in node_crypto.cc
...
Fixes #1097 .
2011-05-24 23:36:54 -07:00
Ryan Dahl
a72284e264
Fix windows EOL chars
2011-05-23 17:38:55 -07:00
Bert Belder
9cec08e490
Batch of ev -> uv changes
2011-05-23 17:31:29 -07:00
Ryan Dahl
207901e7de
Guard tick_spinner start/stop
...
All tests passing on OSX. Thanks to Bert for debugging this.
2011-05-23 15:38:57 -07:00
Ryan Dahl
2c79f13634
Upgrade libuv to 40f0ad6d364cff76adaf1c7f182b1dc939f36617
2011-05-22 13:08:31 -07:00
Ryan Dahl
823604a4e0
Now working on v0.4.9
2011-05-21 00:10:23 -07:00
Ryan Dahl
7dd22c26e4
Bump to v0.4.8
2011-05-20 19:40:06 -07:00