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
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
Ryan Dahl
9b3b37e498
Add docs about Buffer._charsWritten
...
Fixes GH-907.
2011-04-12 15:21:04 -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
ca028f4b37
Fix docs: There were 2 descriptions of 'request' event.
2011-04-11 17:27:24 -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
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
Ryan Dahl
787a343b58
Bump version to v0.4.5
2011-04-01 18:00:43 -07:00
Ryan Dahl
4877279efa
Add timers to globals section
...
Closes GH-864.
2011-04-01 09:19:08 -07:00
Jorge Chamorro Bieling
e35b2d9617
docs: fs.read/write() cb()s now receive buffer
2011-03-29 12:23:42 -07:00
Ryan Dahl
1768c72135
Add doc note about STARTTLS
2011-03-29 09:58:50 -07:00
Ryan Dahl
98b56636c0
Revert "Alphabetize the table of contents for the API docs"
...
This reverts commit a66e45693c
.
2011-03-28 17:36:50 -07:00
Ryan Dahl
e9a1dd7930
Typo in docs
...
Thanks to Anatoliy Chakkaev for pointing it out.
Closes GH-841.
2011-03-28 15:59:43 -07:00
Brian White
a66e45693c
Alphabetize the table of contents for the API docs
2011-03-28 15:56:39 -07:00
Ryan Dahl
2f2c9d47fd
Remove strange unicode output in docs
2011-03-28 15:55:45 -07:00
David Trejo
6788ad413f
See the <doc> section are now links to <doc>
...
Closes GH-839.
2011-03-28 15:53:17 -07:00
Ryan Dahl
978a50c500
Remove exterraneous line
2011-03-28 15:46:36 -07:00
Ryan Dahl
25122b986a
Bump version to v0.4.4
2011-03-26 01:48:02 -07:00
Ryan Dahl
0fb44a2f93
Add jobs.nodejs.org link
2011-03-23 19:24:09 -07:00
Ryan Dahl
69c3e1961b
Remove asciiSlice from docs
2011-03-23 15:02:11 -07:00
Zachary Scott
2b2736153d
clean up whitespace in examples
2011-03-22 14:39:30 -07:00
Zachary Scott
67913a0232
writable stream api has destroySoon() for exiting after data queue has been drained
2011-03-22 14:38:59 -07:00
Trevor Burnham
5e78f57087
Doc fix for fs.write
...
Closes GH-808
Closes GH-811
2011-03-22 14:34:25 -07:00
Trevor Burnham
f0d0fcc4aa
Clarifying that writeFile replaces existing file
2011-03-22 14:33:23 -07:00
Trevor Burnham
3ec391ba36
Correcting typo in docs: 'deprecated', not 'depreciated'
2011-03-22 14:33:23 -07:00
Ryan Dahl
7a8c729830
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-03-22 13:12:07 -07:00
Ryan Dahl
4198de280f
Add video to index.html
2011-03-20 18:07:29 -07:00
Ryan Dahl
99068639d9
add demo to home page
2011-03-19 20:28:31 -07:00
Ryan Dahl
c8f5bf88e1
Use feedburner instead of wordpress
2011-03-18 15:49:26 -07:00
Ryan Dahl
c095ce1a1b
bump version to v0.4.3
2011-03-18 14:25:20 -07:00
koichik
5ccdff48f3
Document 'ucs2' encoding for Buffer
2011-03-18 11:23:37 -07:00
Ryan Dahl
602a4637bf
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-03-18 11:11:43 -07:00
Ryan Dahl
f10150bc6a
Don't use https for blog.nodejs.org
2011-03-17 13:49:32 -07:00
Ryan Dahl
c02db3229e
Link to Node blog
2011-03-17 13:38:44 -07:00
Ryan Dahl
19e53512b8
os.getNetworkInterfaces()
2011-03-16 16:34:12 -07:00
Ryan Dahl
247d880113
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-03-14 17:45:15 -07:00
Ryan Dahl
9a8e843ca3
Document options for https.request
...
Closes GH-768.
2011-03-10 13:34:50 -08:00
koichik
4e047d32b0
Document net.Socket() constructor
2011-03-10 10:57:47 -08:00
Tom Hughes
cf78ce59b3
Add process.uptime().
2011-03-07 10:45:25 -08:00
koichik
db6ea10948
Correct some links
2011-03-07 10:17:54 -08:00
koichik
07426ef29c
Document allowHalfOpen for net.createServer()
2011-03-07 10:17:22 -08:00
Ryan Dahl
39280e1b57
Bump version to v0.4.2
2011-03-02 22:10:26 -08:00
Ben Noordhuis
1d5ff15a46
fs.utimes() and fs.futimes() support.
2011-03-02 20:35:45 -08:00
koichik
452df69964
Correct net.createServer() API docs
2011-03-02 12:10:36 -08:00
isaacs
3599c71dae
Closes GH-690 node_modules folders should be highest priority
2011-02-27 17:14:16 -08:00
Ryan Dahl
8838e14ac0
Merge branch 'v0.4'
2011-02-25 16:48:48 -08:00
Ryan Dahl
839fb8e19b
typos
2011-02-24 16:36:43 -08:00
Felix Geisendörfer
2680522d3a
Fix ReadStream bufferSize docs
...
The default is 64kb buffer, not 4kb.
Closes GH-702.
2011-02-24 12:46:17 -08:00
Felix Geisendörfer
06ac129903
Document existence of `fd` property for ReadStream
...
Closes GH-194.
Closes GH-701.
2011-02-24 12:44:21 -08:00
Ryan Dahl
45adc907c9
ry/node -> joyent/node
2011-02-23 16:38:34 -08:00
Ryan Dahl
0248c87ec7
improve hello-world example on website
2011-02-23 12:56:50 -08:00
Ryan Dahl
47f5fd01e1
Add example to TTY documentation
2011-02-20 13:53:40 -08:00
Ryan Dahl
df215a67d4
Document path.existsSync()
...
Closes GH-677.
2011-02-20 13:11:55 -08:00
Ryan Dahl
4ed6688010
Add V8 options to man page
2011-02-19 20:56:20 -08:00
Ryan Dahl
7dad30afe9
Merge branch 'v0.4'
...
Conflicts:
src/node_version.h
2011-02-19 19:26:56 -08:00
isaacs
0aa1a8a005
Closes GH-695 Add 'hex' encoding to Buffer
2011-02-19 19:24:23 -08:00
Ryan Dahl
e8aef84191
Bump version to v0.4.1
2011-02-19 18:45:34 -08:00
Felix Geisendörfer
aabdd5d045
Correct fs.open API documentation
...
The fact that the mode parameter is optional for fs.open and
fs.openSync was not documented.
2011-02-15 13:57:41 -08:00
Ryan Dahl
ad7c2a8938
escape chars on man page
2011-02-14 18:37:43 -08:00
Ryan Dahl
daeb5c9e8f
fix doc
...
thanks Toshihiro
2011-02-14 18:35:36 -08:00
Ryan Dahl
5ceefec820
Add http client to v0.4 announcement
2011-02-14 09:36:08 -08:00
Ryan Dahl
eb155ea6f6
Bump version to v0.4.0
2011-02-10 02:40:11 -08:00
Tim Caswell
b09c5889be
Add support for mutable/implicit headers for http.
...
This works for both ServerResponse and ClientRequest.
Adds three new methods as a couple properties to to OutgoingMessage objects.
Tests by Charlie Robbins.
Change-Id: Ib6f3829798e8f11dd2b6136e61df254f1564807e
2011-02-10 02:31:41 -08:00
Mikeal Rogers
634e7236f7
Add 'pipe' event
2011-02-09 23:04:35 -08:00
Ryan Dahl
67e352e4b1
fix verifier.verify() docs
...
Thanks Sitelier. Closes GH-651.
2011-02-09 19:07:19 -08:00
Ryan Dahl
43bc1d7ec8
Edit module docs
2011-02-09 17:48:22 -08:00
isaacs
ff39d413a3
Document module loading
2011-02-09 17:34:21 -08:00
isaacs
46513483cd
node_modules module lookup, +docs and test.
2011-02-09 14:24:22 -08:00
Ryan Dahl
57fa247f53
Closes GH-645. Document tty.getWindowSize
2011-02-07 13:46:15 -08:00
Ryan Dahl
bf8f4aa966
Impove fs.WatchFile doc
2011-02-07 13:11:03 -08:00
Ryan Dahl
a98d0717e8
Remove incorrect doc about node_modules
2011-02-07 12:50:05 -08:00
isaacs
da2f4b2dc4
support for package.json
...
This adds basic support for situations where there is a package.json
with a "main" field. That "main" module is used as the code that is
loaded when the package folder is required.
2011-02-07 11:00:22 -08:00
koichik
45c0faf399
corrected small typos
2011-02-07 10:52:19 -08:00
Ryan Dahl
0da96cca59
typo
2011-02-04 23:05:25 -08:00
Ryan Dahl
9493b7563b
Bump version to v0.3.8
2011-02-04 19:35:43 -08:00
Ryan Dahl
4733d0b1f0
http: handle aborts
2011-02-04 18:07:00 -08:00
Ryan Dahl
aa95e5708f
Expose errno with a string.
2011-02-04 14:41:51 -08:00
Ryan Dahl
bc23ec8d05
Add process.stderr stream
2011-02-03 14:03:44 -08:00
Joe Walnes
df6e497793
dgram: setMulticastTTL, setMulticastLoopback and addMembership.
...
These are options needed for real-world multicasting.
Implementation notes:
- POSIX only.
- IPv4 only (IPv6 multicast is a tricky beast).
- Didn't update tests, because it can't effectively be demonstrated on
localhost only.
2011-02-01 10:16:48 -08:00
Ryan Dahl
c501785112
Make availability of UDP bindings more apparent
2011-01-31 11:20:05 -08:00
Ryan Dahl
6ede26cb9c
Add socket.bufferSize
2011-01-31 10:41:52 -08:00
Ryan Dahl
d8579c6afd
Bump version to v0.3.7
2011-01-27 20:07:54 -08:00
Ryan Dahl
b6c66f735b
Revert "Use html5 spec stylesheet for docs"
...
This reverts commit 6dbf49110b
.
2011-01-27 19:55:52 -08:00
Ryan Dahl
eb565e1ce2
Simplify website
2011-01-27 19:52:56 -08:00
Ryan Dahl
4ea6916974
Correct process.kill doc
...
Thanks Kevin. Closes GH-518.
2011-01-27 14:37:45 -08:00
Ryan Dahl
97e13748fa
Typos
...
Closes GH-557.
Closes GH-539.
2011-01-27 14:28:47 -08:00
Ryan Dahl
8f23583d10
A few spelling fixes.
...
Thanks Bjarki. Closes GH-561.
2011-01-27 14:24:10 -08:00
Ryan Dahl
3d4a0211b6
Fix arg order of fs.linkSync in docs
...
Thanks Pierre. Closes GH-571.
2011-01-27 14:22:17 -08:00
Ali Farhadi
c70dd70301
Adding callback parameter to Socket's setTimeout method.
2011-01-26 12:13:03 -08:00
Ryan Dahl
bb3e71466e
Bump version to v0.3.6
2011-01-21 18:18:37 -08:00
Ryan Dahl
6703a7f1e0
Add https docs to toc
2011-01-21 18:18:32 -08:00
Ryan Dahl
b9574b995f
Expose http.getAgent
2011-01-21 13:47:27 -08:00
Ryan Dahl
db8736ad93
Add https.get()
2011-01-21 13:21:01 -08:00
Ryan Dahl
e65f6b4ce1
Initial pass at https client
2011-01-21 13:13:02 -08:00
Ryan Dahl
032f80efea
Docs for new http API
2011-01-20 18:10:15 -08:00
Ryan Dahl
86bf3309bf
docs: style
2011-01-17 13:35:30 -08:00
Ryan Dahl
a51063c13c
docs: Add note about global scope
2011-01-17 13:35:11 -08:00
Ryan Dahl
b622bc6305
Bump version to v0.3.5
2011-01-16 15:12:28 -08:00
Ryan Dahl
9bcfc0745c
Revert "Implement os.isWindows"
...
This reverts commit 9e31e0837e
.
Use process.platform == 'win32'
2011-01-13 20:32:36 -08:00
Ryan Dahl
6dbf49110b
Use html5 spec stylesheet for docs
2011-01-11 14:32:42 -08:00
Ryan Dahl
b92329667f
Fix spelling mistakes
2011-01-11 10:18:46 -08:00
Bert Belder
01148265cb
Improve path.resolve documentation
2011-01-10 18:05:15 -08:00
Ryan Dahl
202dd8387f
Add setsid option to child_process
2011-01-10 16:24:49 -08:00
Ryan Dahl
9da75f39d9
Print error when EventEmitters get too many listeners
2011-01-10 13:48:35 -08:00
Ryan Dahl
73f53e12e4
Bump version to v0.3.4
2011-01-08 15:46:07 -08:00
Bert Belder
7c731ec9dd
Path.resolve, path module windows compatibility
...
Removes path.normalizeArray() and path.split()
2011-01-06 15:36:25 -08:00
Ryan Dahl
22561dfbcf
Joyent link goes to no.de
2011-01-06 11:05:19 -08:00
Ryan Dahl
4e108ef9b6
Remove legacy TLS api from docs
2011-01-05 11:55:24 -08:00
Ryan Dahl
b62152bc84
Rename net.Stream to net.Socket
2011-01-05 11:53:56 -08:00
Bert Belder
9e31e0837e
Implement os.isWindows
2011-01-04 18:38:58 -08:00
Ryan Dahl
2957382991
Implement new stream method, destroySoon
...
Still missing on fs.WriteStream
2011-01-04 11:22:19 -08:00
Ryan Dahl
6593a96373
Merge branch 'debugger'
2011-01-03 10:27:16 -08:00
Ryan Dahl
57544ba1c5
Bump version to v0.3.3
2011-01-02 18:33:49 -08:00
Ryan Dahl
2e3e95ee89
add process.stdin
2011-01-01 21:54:46 -08:00
Ryan Dahl
8f5f213a6f
Revert "Add optional filters to stream.pipe()"
...
This reverts commit 24aded078f
.
2011-01-01 16:41:39 -08:00
Ryan Dahl
5b81897cf6
Update links for v0.2.6 on website
2010-12-30 21:07:42 -08:00
Ryan Dahl
916f567d23
debugger: a little bit of doc
2010-12-30 18:50:10 -08:00
Kai Chen
b2fd88ef7a
correct some inline links in api document
2010-12-22 19:49:04 -08:00
Brian White
d75c338dd6
Add more functionality to the os module
2010-12-22 11:01:25 -08:00
Oleg Slobodskoi
23cf938e4f
fix assert.throws
2010-12-21 12:41:57 -08:00
Ryan Dahl
fca713eba4
Add doc for Buffer.isBuffer
2010-12-18 18:44:04 -08:00
Ryan Dahl
24aded078f
Add optional filters to stream.pipe()
2010-12-17 13:56:47 -08:00
Ryan Dahl
4bb914bde9
Bump version to v0.3.2
2010-12-17 09:51:48 -08:00
Ryan Dahl
632da2a393
Add callback paramenter to socket.connect()
2010-12-15 15:57:41 -08:00
Ryan Dahl
c4161f32f5
Add callback to socket.write()
2010-12-15 15:47:02 -08:00
Ryan Dahl
c970968ee6
better option parsing for socket.write()
2010-12-15 15:15:27 -08:00
isaacs
3d0627dc6a
link windows/cygwin build to the wiki docs
...
Suggested by temp01 in IRC.
http://irc.npmjs.org/node.js/2010-12-12#NODE-JS-2010-12-12T18-59-36-270Z
18:59:36 temp01: I feel like the build section on nodejs.org should link
there
19:11:18 isaacs: temp01: yeah, that'd be helpful
2010-12-13 21:01:36 -08:00
Ryan Dahl
c9e5cfcc34
Random doc fixes
2010-12-11 02:32:48 -08:00
Ryan Dahl
5bdcec67f0
Add docs for tls.connect()
2010-12-11 02:26:48 -08:00
Ryan Dahl
4f2ab03e97
Fix typo
2010-12-11 00:56:58 -08:00
Brian White
f1762ff815
Add os module and getHostname
2010-12-11 00:51:20 -08:00
Ryan Dahl
5a87bd168d
Remove doc references to readyState
2010-12-08 16:04:21 -08:00
Ryan Dahl
a3c91c216f
Simplify the net.Server example in docs
2010-12-08 13:46:02 -08:00
Ryan Dahl
9a7fb3c988
Add tls.Server docs
2010-12-08 13:22:12 -08:00
Oleg Efimov
e76cd53431
Small site fix for image borders and nodejs-dev maillist URL
2010-12-04 18:47:32 -08:00
Ryan Dahl
a0e9a510b0
Introduce require('tty')
...
You may need to reconfigure after this commit due to the new library.
2010-12-02 18:06:43 -08:00
Oleg Slobodskoi
c5c1dc5dda
docs for assert.throws
2010-12-02 11:07:47 -08:00
Ryan Dahl
1fe450c62c
fix typo
2010-11-30 23:06:57 -08:00
Ryan Dahl
09229820e7
Add promotejs
...
Over 2 months late -- this is how much I procrastinate. -_-
2010-11-30 23:00:37 -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
7a7feb8cd3
Add note about EADDRINUSE to docs
2010-11-29 00:20:21 -08:00
isaacs
a2b3c865c9
Correct reference to "process.Module"
2010-11-23 14:09:59 -08:00