Bert Belder
4a329af418
win: Waf doesn't detect sys/select.h on mingw, but its there for sure
2010-11-29 23:48:34 -08:00
Bert Belder
4c16dd7c5c
win: Make libev use send instead of write for sockets
...
It looks like MINGW doesn't like to write() to sockets.
If wrong, revert this patch
2010-11-29 23:47:48 -08:00
Bert Belder
4476ce04dc
win: Export eio__pread and eio__pwrite so node_file can use it
2010-11-29 23:46:46 -08:00
Bert Belder
d1d4695474
win: Fix wscript for libeio on windows
2010-11-29 23:46:40 -08:00
Bert Belder
5a36d1b86f
win: Make libeio build on windows
2010-11-29 23:46:35 -08:00
Bert Belder
99ba903d46
win: Define __POSIX__ constant when the platform is POSIX-y
2010-11-29 23:46:30 -08:00
Bert Belder
9032bfce59
win: Symlink to jsmin.py doesn't work on windows
2010-11-29 23:46:17 -08:00
Ryan Dahl
aed0ba3211
buffer.copy targetStart defaults to 0
2010-11-29 19:59:01 -08:00
Ryan Dahl
6d7242b485
Document defaults for buffer.copy()
2010-11-29 19:52:47 -08:00
Ryan Dahl
a326eebac8
Put tools/ into PYTHON_PATH
2010-11-29 19:46:00 -08:00
Michael W
645c3b3713
Fixed: clearTimeouts calling multiple times
...
When clearTimeouts was called on a timer multiple times, it would break the
doubly-linked list along with future timeouts. This patch fixes that.
2010-11-29 18:17:13 -08:00
Travis Swicegood
22cf5a24db
Simplify execution from "big if statement"
...
This code is functionally equivalent, but in a simpler form. Now new
parameters to `execFile` do not require `exec` to be refactored.
2010-11-29 17:46:46 -08:00
Travis Swicegood
e514f575f3
Remove cruft that dealt with env parameter
...
Originally added in commit 078a48a9
, this code dealt with an optional
env parameter that was passed to `exec`. The parameter was removed, but
this code was left. As it serves no purpose, removing it.
2010-11-29 17:43:27 -08:00
Ryan Dahl
1dbbaa7fa0
Add test to show ECONNREFUSED works
2010-11-29 17:36:59 -08:00
Jeremy Martin
144b2a5338
Fix number of args emitted by EventEmitter during "fast case" (lte 3 args)
2010-11-29 17:25:50 -08:00
Oleg Slobodskoi
02083412eb
assert.throws can now accept as RegExp
...
makes validation of errors more flexible
2010-11-29 17:22:36 -08:00
Travis Swicegood
86727b15f3
fix a typo in comment
...
fixes issue 464
2010-11-29 17:07:30 -08:00
Evan Larkin
bc02d47b21
Fix variable leak.
...
Fixes issue 461
2010-11-29 17:07:25 -08:00
Ryan Dahl
711196cafa
Don't call exit() from the signal handler
...
Fixes issue #457
2010-11-29 16:19:28 -08:00
Ryan Dahl
3fceb491d4
Style
2010-11-29 16:19:28 -08:00
Ryan Dahl
b6face1dce
Remove unnecessary variable def
2010-11-29 15:04:39 -08:00
Ryan Dahl
735b9d50a3
Simplify state transitions in http.Client
...
Fixes new bug shown in test-http-allow-req-after-204-res.js pointed out by
Tom Carden <tom.carden@gmail.com>.
2010-11-29 14:21:51 -08:00
Ryan Dahl
85827bde34
Avoid cascading EADDRINUSE test failure
...
See note in test-securepair-client.js
2010-11-29 14:21:51 -08:00
Ryan Dahl
6057747e9e
Improve HTTP debug messages
2010-11-29 13:53:35 -08:00
Ryan Dahl
1db59afb75
style
2010-11-29 08:57:40 -08:00
Ryan Dahl
7a7feb8cd3
Add note about EADDRINUSE to docs
2010-11-29 00:20:21 -08:00
Ryan Dahl
105501c195
test-fs-realpath: Don't ceate things in /tmp; use tmpDir
2010-11-29 00:10:37 -08:00
Ryan Dahl
97970b05fe
Default to TLSv1
2010-11-28 23:24:32 -08:00
Ryan Dahl
bf89872306
style
2010-11-28 23:20:59 -08:00
Ryan Dahl
be2457aaca
Use SSL_MODE_RELEASE_BUFFERS by default.
2010-11-28 21:03:41 -08:00
Ryan Dahl
8012f2cb7a
Add some TODO items
2010-11-28 18:41:53 -08:00
Ryan Dahl
102b1d999d
Add simple securepair client test
2010-11-28 18:40:50 -08:00
isaacs
a52f59b437
Use a proper tty test.
2010-11-27 11:36:34 -08:00
Tom Hughes
6285fac232
Allocations with new[] must be freed with delete[].
...
See http://valgrind.org/docs/manual/mc-manual.html#mc-manual.rudefn
2010-11-24 12:53:28 -08:00
Tom Hughes
7fcfb7b981
Fix memleak in ChildProcess:Spawn().
2010-11-24 12:51:46 -08:00
Ryan Dahl
73318fa09d
Upgrade V8 to 2.5.8
2010-11-24 01:03:06 -08:00
Nikhil Marathe
fa8ffaf9b2
cmake: Install v8 headers include/node
2010-11-23 23:33:20 -06:00
Nikhil Marathe
1b6b090cdc
Use CMake's standard way to find Python.
...
Rather than have the python literal string, use CMake's find_package
to find actual python executable. This is more useful if you have
both Python 2 and 3 installed. CMake currently only supports python 2
and so will automatically find that version
2010-11-23 23:33:20 -06:00
Tom Hughes
14e6b07f63
cmake: Add cdash support.
2010-11-23 23:33:20 -06:00
Tom Hughes
342b8b2ed2
cmake: fix debian package description.
2010-11-23 23:33:20 -06:00
Daniel Gröber
ea29cb4e46
cmake cleanup
...
* Removed useless include_directories
* Print ssl library path in build summary
* ExternalProject also exists on 2.8.0
* include pummel tests when testing with ctest
* Moved tests.cmake to test/CMakeList.txt
* Removed inconsistent, unnecessary condition in else
2010-11-23 23:33:19 -06:00
Tom Hughes
a530c23d96
cmake: Add wrapper Makefile and README.
2010-11-23 23:33:19 -06:00
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
2010-11-23 18:46:13 -08:00
Ryan Dahl
a6f6532dfb
Fix test-securepair-server
2010-11-23 18:30:52 -08:00
isaacs
a2b3c865c9
Correct reference to "process.Module"
2010-11-23 14:09:59 -08:00
Wade Simmons
03e5da8429
Fix ErrnoExceptions that have the wrong syscall name
2010-11-23 14:09:16 -08:00
Ryan Dahl
4f32a59307
Fix buffer.slice(0, 0)
2010-11-23 12:20:22 -08:00
Ryan Dahl
f123a1ab40
hack to display syntax errors. FIXME
2010-11-22 17:55:04 -08:00
Tom Hughes
446beebd79
Add cmake build support.
...
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
2010-11-22 13:32:49 -08:00
isaacs
b52b4196ab
Fix problem with requireNative not exporting 'module' object
...
Broke require('constants'). Add unrelated test which breaks it.
2010-11-22 11:55:31 -08:00