Ryan Dahl
e742d077e0
Enable debugging.
Use the --debug command line flag to enable.
It appears that d8 sucks. Luckily it can be rewritten rather easily with the
repl and tcp client libraries.
Node's CL option parsing is getting rather unwieldy - needs refactor.
15 years ago
Ryan Dahl
59b7a1bf26
More updates to wscripts v8 building.
This allows me to hack on V8 without recompiling the whole thing.
15 years ago
Ryan Dahl
d85724d741
Fix wscript for python 2.4
15 years ago
Ryan Dahl
53ebe75930
Improve build for V8
Users following HEAD should 'make distclean' and reconfigure after this
update.
15 years ago
Ryan Dahl
e46a832ded
Use /bin/sh from exec()
15 years ago
Felix Geisendörfer
6219f2a2be
Removed getHeader() function thanks to f623f
15 years ago
Ryan Dahl
f623fd7658
Normalize HTTP headers.
"Content-Length" becomes "content-length".
15 years ago
Ryan Dahl
d03b67669c
Upgrade v8 to 1.3.15
15 years ago
Ryan Dahl
b404996cf3
Fix --v8-options command line argument.
15 years ago
Ryan Dahl
b76d853f0d
Fix test-signal-handler.js on macintosh - pause before exit.
15 years ago
Ryan Dahl
be2ca1ec80
Fix build.
- Add -f flag to rm on make clean.
- Use old jsmin - the new one seems to be broken.
15 years ago
Ryan Dahl
e982349b16
Fix 'make distclean'
15 years ago
Ryan Dahl
1f31a7dbfe
Upgrade v8 to 1.3.14
15 years ago
Ryan Dahl
1a2762b78e
Update benchmarks with new createChildProcess API
15 years ago
Felix Geisendörfer
abbc624f52
Multipart test now uses a fixture instead of CURL
15 years ago
Felix Geisendörfer
3fd1cba073
Fixed bad indention in multipart.js
15 years ago
Ryan Dahl
1817d4b062
ev_unref() the signal handlers.
That means even if they are Attached(), libev will still exit if there is
nothing else to do.
15 years ago
Brandon Beacher
f068251494
Added signal handler.
To be used internally. Needs an exposed interface.
15 years ago
Ryan Dahl
82465fc4b1
Do not use /bin/sh to create child processes.
Instead directly call execvp(). This change is needed for the
soon-to-be-added signal handlers because the /bin/sh parent process does not
pass all signals to it's children, particularly SIGUSR1 on Linux.
The parameters of createChildProcess had to be changed slightly.
utils.exec() also has a changed implementation. A bug involving quoted
arguments was knowingly introduced into utils.exec(). Will fix later.
15 years ago
Ryan Dahl
39c61367a7
Only arguments before -- should be passed to V8.
15 years ago
Ryan Dahl
2b994d9e37
Also accept 'utf-8' to specify utf8 encodings.
15 years ago
Ryan Dahl
ae6a172308
Simplify 'make distclean' by just doing 'rm -rf build'
15 years ago
Ryan Dahl
d67288b643
Add __module to reference current node.Module object.
15 years ago
Ryan Dahl
78f8b6771c
Add require.async().
15 years ago
Ryan Dahl
d703813c27
Remove target argument from node.Module#newChild.
15 years ago
Ryan Dahl
a0c464638c
Remove old references to node.loadingModules
15 years ago
Ryan Dahl
3e9dd0e2e3
Remove include() from website.
15 years ago
Ryan Dahl
8185e1fd25
Remove include() add node.mixin()
include() should not be used by libraries because it will pollute the global
namespace. To discourage this behavior and bring Node more in-line with
the current CommonJS module system, include() is removed.
Small scripts like unit tests often times do want to pollute the global
namespace for ease. To avoid the boiler plate code of
var x = require("/x.js");
var foo = x.foo;
var bar = x.bar;
The function node.mixin() is stolen from jQuery's jQuery.extend. So that it
can be written:
node.mixin(require("/x.js"));
Reference:
http://docs.jquery.com/Utilities/jQuery.extend
http://groups.google.com/group/nodejs/browse_thread/thread/f9ac83e5c11e7e87
15 years ago
Ryan Dahl
522909bcbf
Parse queryString into req.uri.params
15 years ago
Ryan Dahl
4c51af882d
Fix typo
15 years ago
Ryan Dahl
bac16bd8ac
Remove node.pc
15 years ago
Ryan Dahl
e2b7902469
Don't use parseUri for HTTP server
The big parseUri RE was showing up often in profiles - this is simpler and
yields better performance by taking advantage of the C http parser.
15 years ago
Ryan Dahl
7b8842b619
Modify node_addon configure api
15 years ago
Ryan Dahl
5c9fe1fce1
Update addon documentation
15 years ago
Ryan Dahl
39e6d959d7
Add node-waf to help with building addons.
15 years ago
Ryan Dahl
13793aed20
Add Makefiles which were forgotten.
15 years ago
Ryan Dahl
bf0d278a45
Improve "make dist" remove generated doc from repo.
15 years ago
Ryan Dahl
861f28f37a
Don't unnecessarily output the makefile from the configure script.
15 years ago
Ryan Dahl
6f17ca51c3
Install wafadmin into $PREFIX/lib/node/wafadmin
This is in preparation for a special node_waf script for building external
modules.
Also change system library path to $PREFIX/lib/node/libraries
15 years ago
Felix Geisendörfer
eeaa267cbe
Documentation for Multipart parser
Also added multipart.parse as a convenience function
15 years ago
Ryan Dahl
602f9dbf3f
SetClassName on internal classes.
15 years ago
Ryan Dahl
b66c5c9808
Replace DEFINE_SIMPLE_CALLBACK macros with explicit functions
15 years ago
Ryan Dahl
84d2966377
Use waf-light instead of waf
This way there won't be strange tools/.waf-12343 directories hanging about.
All that waf needs to run is inside the tools/wafadmin directory.
15 years ago
Ryan Dahl
763137e705
chat.tinyclouds.org -> chat.nodejs.org
15 years ago
Ryan Dahl
bc9b343fd3
Add note about symbol visibility in V8 to wscript
15 years ago
Ryan Dahl
9c9d67eb6c
bump version
15 years ago
Ryan Dahl
7b337096c9
Add a third argument to http.cat to specify req headers.
15 years ago
isaacs
45f5402446
Pass the Host header in http.cat calls, if it was specified in the URL passed to http.cat.
15 years ago
Ryan Dahl
a8c0211e73
Bugfix: require() and include() should work in callbacks.
Removing requireAsync and includeAsync from global scope for now as a
temporary fix. Reported by Yuffster.
15 years ago
Ryan Dahl
1ae69a68a4
Clean up some text in documentation.
15 years ago