isaacs
5cfac21852
GH-853 fs.fchmod and fs.fchown
2011-04-20 16:04:33 -07:00
isaacs
90802d628d
Close #954 URL parsing/formatting corrections
...
1. Allow single-quotes in urls, but escape them.
2. Add comments about which RFCs we're following for guidance.
3. Handle any invalid character in the hostname portion.
4. lcase protocol and hostname portions, since they are
case-insensitive.
2011-04-20 15:44:34 -07:00
Fedor Indutny
c9b40da368
OpenSSL NPN in node.js
...
closes #926 .
2011-04-19 11:32:26 -07:00
Ryan Dahl
9e6498d5fa
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-04-18 18:58:16 -07:00
Ryan Dahl
d3d35ec3ca
add docs for console object
2011-04-18 16:52:53 -07:00
Ryan Dahl
cbdd92e184
Add community link on homepage
2011-04-16 13:55:03 -07:00
Ryan Dahl
da9b3340eb
Add covhtml.js tool
2011-04-15 00:12:19 -07:00
Ryan Dahl
b4ff36a41b
Add --cov code coverage option
2011-04-14 23:42:08 -07:00
Ryan Dahl
ed316ae350
Docs: some encodings contains multibyte chars.
...
fixes #888
2011-04-14 15:11:35 -07:00
koichik
74d94b0dd1
Fix docs - Move module's description to right position
2011-04-14 14:40:50 -07:00
Felix Geisendörfer
80711b0ff9
Feature: WriteStream#bytesWritten property
...
Implemented a new property for writable file streams that keeps track
of the bytes written (not queued). This helps when you are piping
another stream to a file, and would like to know how big the file is
without having to issue another stat call.
closes #930
2011-04-14 14:26:46 -07:00
Felix Geisendörfer
6c5b31bd80
Fix: Multiple pipes to the same stream were broken
...
When creating multiple .pipe()s to the same destination stream, the
first source to end would close the destination, breaking all remaining
pipes. This patch fixes the problem by keeping track of all open
pipes, so that we only call end on destinations that have no more
sources piping to them.
closes #929
2011-04-14 14:12:01 -07:00
Ryan Dahl
8417870f51
Don't emit error on ECONNRESET - just close
...
Fix #670
2011-04-14 10:42:57 -07:00
Ryan Dahl
61100788ad
Now working on v0.4.7
2011-04-13 22:03:48 -07:00
Ryan Dahl
58002d56bc
Bump to v0.4.6
2011-04-13 21:20:05 -07:00
Ryan Dahl
bb621f7c2e
CryptoStream.write returns false when queue > 128kb
...
Previously the return value of write was dependent on if it was paused or
not which was causing a strange error demoed in the previous commit.
Fixes #892
2011-04-13 20:32:46 -07:00
Ryan Dahl
050bbf0bc4
TLS use RC4-SHA by default
2011-04-13 18:43:08 -07:00
Theo Schlossnagle
e2d9018535
SSL_OP_CRYPTOPRO_TLSEXT_BUG
...
fixes #873
2011-04-13 18:35:56 -07:00
Theo Schlossnagle
d6f5b8a2a6
allow setting of ciphers in credentials
...
fixes #873
2011-04-13 18:35:39 -07:00
Theo Schlossnagle
2a88dd3bc1
TLS: Add secureOptions flag
...
Also, secureOptions flag was added (and passed through) and allows
the context to have all supported SSL_OP_* set via createCredentials.
All SSL_OP_ flags (outside of ALL) have been added to constants.
2011-04-13 18:25:33 -07:00
Ryan Dahl
598792ba91
Merge branch 'v0.4'
...
Conflicts:
src/platform_sunos.cc
test/simple/test-os.js
2011-04-14 01:11:21 +00:00
Theo Schlossnagle
d0e84b0088
Pass secureProtocol through on tls.Server creation
...
The secureProtocol option to building the SSL context was not being properly
passed through in the credentials in the tls code. This is fixed.
2011-04-13 17:49:50 -07:00
Scott McWhirter
90348a616d
Add os.cpus() and os.uptime() support for sunos
2011-04-13 17:42:54 -07:00
Ryan Dahl
2f98451561
Revert "Add os.cpus() and os.uptime() support for sunos"
...
Cherry-pick fail. Breaks linux. Will land again shortly.
This reverts commit e8cf98c841
.
This reverts commit d953856d87
.
This reverts commit 752bbd6b42
.
2011-04-13 17:31:09 -07:00
Scott McWhirter
e8cf98c841
Add os.cpus() and os.uptime() support for sunos
2011-04-14 00:18:19 +00:00
Ryan Dahl
296ff04cdc
Test to demonstrate #892
2011-04-13 12:49:13 -07:00
Brian White
ac1da4b407
Add remoteAddress and remotePort for client TCP connections
...
https://groups.google.com/d/topic/nodejs-dev/Asr87_YFSkg/discussion
2011-04-13 10:24:28 -07:00
koichik
9533e879f0
Fix Buffer.write() with UCS-2 should not be write partial char
...
closes #916 .
2011-04-13 09:55:49 -07:00
Felix Geisendörfer
301f53c2aa
Allow omission of end option for range reads
...
Problem: Sometimes it is useful to read a file from a certain position
to it's end. The current implementation was already perfectly capable
of this, but decided to throw an error when the user tried to omit
the end option. The only way to do this, was to pass {end: Infinity}.
Solution: Automatically assume {end: Infinity} when omitted, and remove
the previous exception thrown. Also updated the docs.
closes #801 .
2011-04-13 09:46:28 -07:00
Ryan Dahl
af96447016
Modify text about buffer.write and partial chars
...
Fixes GH-913.
2011-04-13 01:27:00 -07:00
Nick Campbell
425b57bedc
Lowercase protocol and hostname since casing isn't significant.
...
Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
2011-04-13 01:10:47 -07:00
Jakub Lekstan
81cbd42cf5
Fixes the circular reference in vm modules.
...
Fixes the circular reference problem. Closes GH-822.
2011-04-12 15:51:57 -07:00
Ryan Dahl
9b3b37e498
Add docs about Buffer._charsWritten
...
Fixes GH-907.
2011-04-12 15:21:04 -07:00
Abe Fettig
83727a4c86
Fix bug where http response.readable was never set to false
...
Closes GH-867.
2011-04-12 14:55:18 -07:00
Felix Geisendörfer
bc8489580c
Allow to remove all EventEmitter listeners at once
...
This patch adds support for calling EventEmitter#removeAllListeners
with no parameters in order to remove all listeners as once.
See discussion: https://groups.google.com/forum/#!topic/nodejs-dev/Mcyal1ThTHY
Closes GH-889.
2011-04-12 14:47:16 -07:00
Ryan Dahl
0f47f63746
Fix doc - no setBodyEnocoding anymore
...
Thanks Frederic. Closes GH-859.
2011-04-11 17:30:36 -07:00
koichik
682b66c0c1
Auto completion of built-in debugger suggests prefix match rather than partial match.
2011-04-11 17:28:28 -07:00
koichik
ca028f4b37
Fix docs: There were 2 descriptions of 'request' event.
2011-04-11 17:27:24 -07:00
Scott McWhirter
d953856d87
Remove extra kstat_open
2011-04-11 17:03:50 -07:00
Scott McWhirter
752bbd6b42
Add os.cpus() support for sunos
2011-04-11 17:03:50 -07:00
Ryan Dahl
d2298d225c
Add documentation around module.exports and scope of global objects
...
Closes GH-852.
2011-04-11 17:01:25 -07:00
Ben Weaver
d63a551f86
Update how REPLServer uses contexts
...
* Always use `this.context` or `self.context`.
* Move `resetContext` to `REPLServer.createContext`.
* Add `REPLServer.resetContext`, memoize `context` here.
* Memoize `exports.repl` in `start`.
Closes GH-851.
2011-04-11 16:52:23 -07:00
Ryan Dahl
6b5a7033bb
Merge branch 'v8-3.1' into v0.4
2011-04-11 16:08:10 -07:00
Ryan Dahl
0b1920b202
Upgrade v8 to 3.1.8.10
2011-04-11 16:07:54 -07:00
Ryan Dahl
9ccf0e527f
Don't error on ENOTCONN from shutdown()
2011-04-11 15:33:24 -07:00
Ryan Dahl
bfa9db9dd6
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
test/simple/test-buffer.js
2011-04-03 23:42:56 -07:00
Ryan Dahl
dcc2dd5e1f
Add example to sha1 docs
2011-04-03 01:09:00 -07:00
George Stagas
3002c01f40
Changed script to vm and corrected order to match index
2011-04-02 02:35:44 -07:00
George Stagas
21e3b668cb
Added favicon.ico
2011-04-02 02:35:23 -07:00
Ryan Dahl
ffb3ee6084
Remove reference to CommonJS in documentation
2011-04-01 22:18:23 -07:00