rentzsch
55d7352189
DOC note stats.isSymbolicLink() is only valid with fs.lstat().
...
ref: <http://github.com/ry/node/issues#issue/153 >
2010-06-03 00:26:23 -07:00
Peter Griess
8f0b4e9111
Send and receive file descriptors through net.Stream.
...
a) create a layer of indirection in net.Stream to allow swapping in
different read/write implementations and
b) emit an 'fd' event when file descriptors are received over a UNIX pipe,
as finally as a tangential benefit
c) remove a bunch of conditionals from the primary codepaths for
ease-of-reading.
2010-06-02 18:16:53 -07:00
Ryan Dahl
55a6f01732
Server responses should have a body if HEAD request
2010-06-02 15:07:15 -07:00
Ryan Dahl
ef9f4046c9
Better 'make' output
...
Removes 'make all-debug' since it is unnecessary now.
2010-06-02 13:03:31 -07:00
Orlando Vazquez
92da636b97
Add a parameter to spawn() that sets the child's stdio file descriptors.
...
After the child is forked, these file descriptors will get dup2()'d to STDIN,
STDIO, and STDERR.
(API may be changed.)
2010-06-02 10:41:24 -07:00
Ryan Dahl
501136b999
Revert "More dynmaic linking options"
...
Broke the build. Will fix and reapply soon.
This reverts commit 75f0cf471a .
2010-06-02 09:16:28 -07:00
Ryan Dahl
75f0cf471a
More dynmaic linking options
...
This adds the following options to the `configure` program
--shared-v8 Link to a shared V8 DLL instead of static linking
--shared-v8-includes=SHARED_V8_INCLUDES
Directory containing V8 header files
--shared-v8-libpath=SHARED_V8_LIBPATH
A directory to search for the shared V8 DLL
--shared-cares Link to a shared C-Ares DLL instead of static linking
--shared-cares-includes=SHARED_CARES_INCLUDES
Directory containing C-Ares header files
--shared-cares-libpath=SHARED_CARES_LIBPATH
A directory to search for the shared C-Ares DLL
--shared-libev Link to a shared libev DLL instead of static linking
--shared-libev-includes=SHARED_LIBEV_INCLUDES
Directory containing libev header files
--shared-libev-libpath=SHARED_LIBEV_LIBPATH
A directory to search for the shared libev DLL
and removes --system.
2010-06-01 20:18:43 -07:00
Ryan Dahl
d62b0f442a
Fix style in sys.js
2010-06-01 09:28:56 -07:00
Ryan Dahl
f86a214357
Upgrade to V8 2.2.13
2010-05-31 11:52:20 -07:00
Ryan Dahl
0c1aa36835
bump version
v0.1.97
2010-05-29 19:37:57 -07:00
Ryan Dahl
16818ff250
Remove throttling bug notes
2010-05-29 19:37:56 -07:00
Ryan Dahl
1a5acd9850
API: readFileSync without encoding argument now returns a Buffer
...
Correctly load utf8 data; add a test test-fs-read-file-sync.js
2010-05-29 13:38:00 -07:00
Ryan Dahl
c82d64649c
Deprecate the 'ini' module
2010-05-29 13:14:38 -07:00
Ryan Dahl
78e49f1c88
Rename node_net2.cc to node_net.cc
2010-05-29 13:08:05 -07:00
isaacs
a26f7d753d
Make require() from the repl be relative to cwd
2010-05-29 12:35:30 -07:00
isaacs
82813f2f8c
Execute repl code in new context
2010-05-29 12:33:55 -07:00
isaacs
3c7873bd3f
Use duck-typing as well as instanceof in sys.inspect
...
This makes it so that inspecting objects from other contexts works as expected.
2010-05-29 12:31:46 -07:00
Ryan Dahl
2fa4de001c
addons should have debugging symbols
2010-05-29 12:25:28 -07:00
Tim Caswell
b480184fd6
Check for a couple of edge cases on the inspect hook.
...
Don't treat sys.inspect special, same with prototype objects.
2010-05-28 15:40:25 -07:00
Tim Caswell
7f5320b167
Provide a hook for user-specified inspect functions
2010-05-28 14:29:51 -07:00
Ryan Dahl
80a8e71fe0
Insert some hot paths into HTTP
2010-05-27 20:43:56 -07:00
Ryan Dahl
74b7fa29a1
Refactor HTTP
...
Allow throttling from outgoing messages.
2010-05-27 20:41:57 -07:00
Ryan Dahl
0e713e7482
:%s/8000/PORT/g for a few tests
2010-05-27 20:41:57 -07:00
Brian White
72262060db
Added support for OpenBSD 32-bit for c-ares
2010-05-27 14:02:16 -07:00
Ryan Dahl
8840ce340d
Bugfix: fs.ReadStream.setEncoding
...
Improve test-fs-read-stream test.
2010-05-26 18:33:38 -07:00
Ryan Dahl
31854c7990
Fix Solaris V8 build
...
Patch submitted to V8: http://codereview.chromium.org/2282003/show
2010-05-26 18:05:44 -07:00
Micheil Smith
d89de07758
Adding experimental support for fs.chown and fs.chownSync.
...
Notes:
- Currently only accepts numeric user and group ids.
- No tests, as tests depend on getpwuid and getgrgid.
- No documentation, as there is no tests and this is experimental.
2010-05-26 13:37:45 -07:00
Ryan Dahl
29e867aaa0
Simplify a few internal HTTP events.
2010-05-26 13:37:33 -07:00
Ryan Dahl
311a62dea7
Fix JOBS for Solaris make
2010-05-26 13:07:45 -07:00
Ryan Dahl
4b216d266a
Remove -Werror from V8 SConstruct
2010-05-26 10:48:20 -07:00
Ryan Dahl
d4345e1ff8
Upgrade V8 to 2.2.12
2010-05-26 10:15:43 -07:00
Sam Hughes
895f89d62a
Avoided sending empty chunkedEncoding chunks in the middle of http responses
2010-05-25 22:58:17 -07:00
Ryan Dahl
15ec99ec59
Fix issue 89, parsing responses to HEAD requests
...
Test from Mark Hansen (mark at markhansen.co.nz)
2010-05-25 19:25:40 -07:00
Ryan Dahl
35c14f637e
In HTTP parser, proxy return value of onHeadersComplete
2010-05-25 19:25:38 -07:00
Ryan Dahl
2fca40e44f
Upgrade http-parser
2010-05-25 19:25:35 -07:00
Ryan Dahl
e97a481785
Destroy REPL pipes instead of shutting down.
2010-05-24 17:14:13 -07:00
Ryan Dahl
19f475c573
fs.ReadStream should emit Buffers
...
And do proper utf8 encoding.
2010-05-24 15:47:42 -07:00
Ryan Dahl
3768aaaea4
Create a public Buffer constructor for use in addons.
2010-05-24 13:26:18 -07:00
Aapo Laitinen
c4876d01a1
Change the behavior of path.extname
...
Make path.extname return an empty string also if:
- The last dot is not in the last path component
- The last dot starts the last path component
2010-05-24 09:56:28 -07:00
Brian White
ab5c0dd63e
Port to OpenBSD
2010-05-23 17:08:57 -07:00
Ryan Dahl
0f143f6c23
Upgrade libeio
2010-05-23 17:02:35 -07:00
Ben Noordhuis
b58db3cd73
Added reason phrases for a bunch of HTTP status codes.
2010-05-23 17:02:35 -07:00
Ryan Dahl
1369d606f7
Add bug notes about HTTP streams and throttling
2010-05-22 13:02:30 -07:00
Mikeal Rogers
fe3d8f2411
Add assert.ifError
2010-05-21 12:06:12 -07:00
Ryan Dahl
2b34363d03
Upgrade V8 to 2.2.11
2010-05-21 09:41:50 -07:00
Ryan Dahl
9514a4d547
bump version
v0.1.96
2010-05-21 02:55:38 -07:00
Ryan Dahl
0de138acb5
improve test for stdio non-blockingness
2010-05-21 01:22:20 -07:00
Ryan Dahl
f73b6e2190
Fix opposite logic, which coincidentially works
2010-05-20 22:11:26 -07:00
Ryan Dahl
8c56284776
Remove unneeded fd variables in node_stdio.cc
2010-05-20 22:01:13 -07:00
Felix Geisendörfer
c93e0aaf06
Deprecate string interface for fs.read()
...
This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
2010-05-20 16:31:18 -07:00