Ryan Dahl
be2457aaca
Use SSL_MODE_RELEASE_BUFFERS by default.
14 years ago
Tom Hughes
6285fac232
Allocations with new[] must be freed with delete[].
See http://valgrind.org/docs/manual/mc-manual.html#mc-manual.rudefn
14 years ago
Tom Hughes
7fcfb7b981
Fix memleak in ChildProcess:Spawn().
14 years ago
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
14 years ago
Wade Simmons
03e5da8429
Fix ErrnoExceptions that have the wrong syscall name
14 years ago
Ryan Dahl
f123a1ab40
hack to display syntax errors. FIXME
14 years ago
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 ).
14 years ago
isaacs
b52b4196ab
Fix problem with requireNative not exporting 'module' object
Broke require('constants'). Add unrelated test which breaks it.
14 years ago
Ryan Dahl
12554380d5
Add support for SSDP methods -_-
14 years ago
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
14 years ago
Ryan Dahl
7b2f5ab7f8
Fix mac build
14 years ago
Ben Noordhuis
f0b8cc6a94
require() should work with `node --eval`.
with tests
Fix module path resolve bug. Normally the module path is taken from
realpath(__filename) but with eval there is (of course) no filename
14 years ago
Ben Noordhuis
80b5a52217
Fix compiler warnings.
14 years ago
Herbert Vojčík
3422263414
requireNative made independent on module system
14 years ago
Ryan Dahl
f6479f2fb6
Print deprecation warning on process.compile
14 years ago
Ryan Dahl
a16b3c3148
Use runInNewContext instead of process.compile
14 years ago
Ryan Dahl
b1088d6bd2
Load 'path' module with requireNative
(now that requireNative does not depend on path module)
14 years ago
Ryan Dahl
bb6d468dd8
requireNative doesn't depend on rest of module system
14 years ago
Ryan Dahl
c11f3f8b0f
simplify lazy constant loading
14 years ago
Ryan Dahl
5890272538
Print friendly error message when main module is ENOENT
14 years ago
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
14 years ago
Ryan Dahl
794e7be4f8
Revert "Actually don't need to limit sendmsg size on unix - seems okay."
This reverts commit 464ced4a86
.
14 years ago
Ryan Dahl
d42098651b
Revert "fd_to_send needs to be cleared if *any* data was sent"
This reverts commit a93634007a
.
14 years ago
Ryan Dahl
56074d1056
Inline Buffer::Length and Buffer::Data
14 years ago
Ryan Dahl
a93634007a
fd_to_send needs to be cleared if *any* data was sent
14 years ago
Ryan Dahl
464ced4a86
Actually don't need to limit sendmsg size on unix - seems okay.
14 years ago
Ryan Dahl
7515360951
fix style for SecureStream::IsInitFinished
14 years ago
Ryan Dahl
0b1214c16b
Fix a bug regarding queueSize, add asserts
14 years ago
Ryan Dahl
3884b4185a
Small clean ups
14 years ago
Ryan Dahl
42357645cb
Dump after ev_loop
14 years ago
Ryan Dahl
d3fbe3e3d1
Emit drain and stop IOWatcher even on empty buffer
14 years ago
Ryan Dahl
fa556a1425
Add callback to socket.write(), fix test-sendfds
14 years ago
Ryan Dahl
a6d8425382
make sure unix sockets are tagged correctly
14 years ago
Ryan Dahl
10ff559ec3
Add IOWatcher.flush()
To be called if sockets get too much data. This is to force a flush before
the tick ends.
14 years ago
Ryan Dahl
7c3c5c6861
Maintain queueSize for each socket
14 years ago
Ryan Dahl
5ba0be6166
Don't send null data segments
14 years ago
Ryan Dahl
d74c506044
Support encoding
14 years ago
Ryan Dahl
913789da3e
IOWatcher::Dump(), writev
14 years ago
Ryan Dahl
57d8172906
query-string unescape moved to js land
14 years ago
Ryan Dahl
241ea7e595
Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
14 years ago
Ryan Dahl
c87b7b7c69
Now working on v0.3.2-pre
14 years ago
Ryan Dahl
ce9a54aa1f
Bump version to v0.3.1
14 years ago
Ryan Dahl
cea3a95f9f
Add ref to buffer during fs.write and fs.read
There was the possibility the buffer could be GCed while the eio_req was
pending. Still needs test coverage for the fs.read() problem.
See:
http://groups.google.com/group/nodejs/browse_thread/thread/c11f8b683f37cef
14 years ago
Ryan Dahl
879a9e0548
solaris -> sunos
14 years ago
Ryan Dahl
00a1d61cc8
Fix OS::GetExecutablePath for platform_none
14 years ago
Ryan Dahl
183f6c2077
Add .node_moudles to lookup path again
14 years ago
Ryan Dahl
a375c6ae9a
Revert node_module lookup commits
Revert "Add ~/.node_modules as well as ~/.node_libraries"
This reverts commits
5e14c8bec0
.
b0adaff67e
.
492fc0d752
.
14 years ago
Ryan Dahl
de6e88c428
Fix segfault on test-crypto
Plus random cleanups. This code needs help.
14 years ago
Ryan Dahl
c7b24efd21
Move ev_loop out of javascript
14 years ago
Guillaume Tuton
07da49b095
Set FD_CLOEXEC flag on stdio FDs before spawning.
With regression test.
14 years ago