Ryan Dahl
e972add0ea
Update module loading docs
15 years ago
Ryan Dahl
b7526eb324
Add warning when coroutine stack size grows too large.
For the moment too large is 10.
15 years ago
Ryan Dahl
9f07a690c6
docs: Reference node.libraryPaths in helpers section.
15 years ago
Ryan Dahl
27738d8e60
Clean up some things in the repl, add docs.
15 years ago
Ryan Dahl
835554c92b
Error message on bad module load.
15 years ago
Ryan Dahl
23c7f472d0
API: Move node.exit() to process.exit().
15 years ago
Ryan Dahl
c27d9f986a
include utils in the repl.
15 years ago
Ryan Dahl
459d644a5a
Don't delete timer object on clearTimeout.
I've heard delete is inefficient in v8. Better to let the garbage collector
take care of it naturally.
15 years ago
Ryan Dahl
095470854b
Move tcp library to /tcp.js
15 years ago
Ryan Dahl
0955b0c8de
Add forgotten file lib/utils.js
15 years ago
Ryan Dahl
83c9e64889
http.js license reference
15 years ago
Ryan Dahl
f6657c3c9d
Move http library to /http.js
15 years ago
Ryan Dahl
7abad8b7b3
API: Move node.puts(), node.exec() and others to /utils.js
15 years ago
Ryan Dahl
c35dfdfd5e
Remove api.xml from gitignore
15 years ago
Felix Geisendörfer
27c750154e
Multipart stream parser
15 years ago
Ryan Dahl
3e7f0deef9
Add docbook documentation
15 years ago
Ryan Dahl
4f69871c17
Add node.inspect() and deprecate p().
15 years ago
Ryan Dahl
9cd7864fd9
readFile/writeFile to read/write in file library.
as suggested by Bluebie.
15 years ago
Jeremy Lal
5e7a8dc75e
Fixes for libeio wscript on Debian.
- Link libeio to pthread.
- Add -D_GNU_SOURCE to libeio wscript.
15 years ago
Ryan Dahl
45ea62a0f6
Changes to compile on Andrew Miller's very old machine
15 years ago
Ryan Dahl
0eb8d880f8
Remove -Werror on v8, for compiling on GCC 4.4
15 years ago
RayMorgan
028e24c9f5
When printing, check to see if value is undefined. If so, print nothing.
15 years ago
RayMorgan
7674bd5004
Added _ that is te result of the previous command.
15 years ago
RayMorgan
6915188a46
Enhanced the repl library.
Now supports:
- command options: .help, .break, .clear, .exit
- local vars and global functions
- ability to print 0, false and ""
- when value is a function, prints [Function]
- when object is circular, prints [Circular Object] instead of throwing an error
15 years ago
Ryan Dahl
2f56ccb45e
bump version
15 years ago
Ryan Dahl
cfffa0bdd8
Clean up website a bit.
15 years ago
Ryan Dahl
ffded5ac86
Extract the good parts of node-repl into standalone library.
Now you can require("/repl.js") in your server to be able to examine it
while it's running.
15 years ago
Ryan Dahl
55a2e8271e
Decrease default TCP backlog to 128
...after seeing http://lionet.livejournal.com/42016.html
15 years ago
Ryan Dahl
2d256f34c5
Change example at beginning of api.txt
15 years ago
Ryan Dahl
8c7babdf10
Syntax highlighting for <tt> elements.
15 years ago
Ryan Dahl
a3229ed7b7
Add documentation about requiring system modules.
15 years ago
Ryan Dahl
106287c368
Tighten window on timer test.
15 years ago
Ryan Dahl
8a5194b7cf
cpplint.js file.{cc,h}
15 years ago
Ryan Dahl
c53aeb5a02
Call "connection" event after connection object is fully formed.
This became an apparent problem when adding setNoDelay because the command
was ignored if issued during the "connection" event.
15 years ago
Ryan Dahl
e0ec0036ca
Add connection.setNoDelay() to disable Nagle algorithm.
15 years ago
Ryan Dahl
2df13c7310
Upgrade v8 to 1.3.13
15 years ago
Felix Geisendörfer
be3dddeec9
Syntax highlighting for api.html.
Asciidoc does not seem to support including custom JS, so this patch is a hack
for toc.js to dynamically include the needed CSS / JS. It should be ok unless
somebody has a better approach ...
15 years ago
Ryan Dahl
76f4962636
Bugfix: EIOPromise::Create was allocating two EIOPromise objects
This is because it would call the javascript initializer which executed
Promise::New, and then it would rewrap the handle. Instead I make an
explicit inheritance from EIOPromise to Promise.
This seems to fix a memory leak which was reported by Ray Morgan:
http://groups.google.com/group/nodejs/browse_thread/thread/e38949b1989da1d7
15 years ago
Ryan Dahl
663deb3828
delete[] instead of delete for arrays.
15 years ago
Ryan Dahl
8549994c4b
Add readFile to '/file.js'
Thanks Hagen.
15 years ago
Ryan Dahl
a02ca7a590
Add writeFile() to /file.js
Initial patch by Tim Caswell.
15 years ago
Ryan Dahl
07792afe0a
Remove "raw" encoding. Rename "raws" to "binary".
Deprecation warnings have been added to help the conversion to this new API.
15 years ago
Ryan Dahl
2db7d6755e
Move node-repl to bin/node-repl
15 years ago
Ryan Dahl
cd70d4a9c0
Add "/file.js" buffered disk I/O object.
This is similar to the class node.File which was removed in
82cb1b5acb
.
Needs documentation.
15 years ago
Ryan Dahl
4b8f503fac
Move mjsunit.js to system module directory.
15 years ago
Ryan Dahl
7ddf1f569a
Improve error message for requiring system modules.
15 years ago
Ryan Dahl
949f24305b
Add node.error(); p() outputs to stderr.
15 years ago
Ryan Dahl
3311122ccb
Throw ret value from wait() only if it's there.
15 years ago
Ryan Dahl
389c80aece
return error from cat_promise in node.fs.cat
15 years ago
Ryan Dahl
c8b143bf30
Absolute path names for require() refer to node.libraryPaths
15 years ago