0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
Commit Graph

1341 Commits

Author SHA1 Message Date
Ryan Dahl
a6f904cab7 Tests should use compiled-in modules not build-dir modules 2010-03-15 08:14:51 -07:00
Ryan Dahl
1395cba6ce Remove require.paths from process object 2010-03-15 08:07:33 -07:00
Ryan Dahl
4ccdc501d4 Include lib/ directory in node executable. Compile on demand.
Instead of installing the files in /usr/lib/node/libraries and loading them
from the file system, the files are built-in to the node executable.
However, they are only compiled on demand.

The reasoning is:
  1. Allow for more complex internal javascript. In particular,
  process.stdout and process.stdin can be js implemented streams.

  2. Ease system installs. Loading from disk each time is unnecessary
  overhead. Note that there is no "system" path for modules anymore. Only
  $HOME/.node_libraries.
2010-03-15 08:04:35 -07:00
Krishna Rajendran
0d5a1fed33 Use gai_strerror when tcp.Server fails to resolve its address or service. 2010-03-14 23:08:45 -07:00
Jed Schmidt
004faf3846 Added check to make sure writeHead() is called before write(), to prevent silent failure. 2010-03-13 22:27:51 -08:00
Herbert Vojčík
49d30c6478 Only Ref in idle watcher when wasn't already active. 2010-03-13 20:45:26 -08:00
Ryan Dahl
7be0d06238 FreeBsd->Solaris on homepage 2010-03-13 12:47:41 -08:00
Scott González
d2ec5c23cf Fixed typo in comment for require.registerExtension(). 2010-03-13 12:29:33 -08:00
Ryan Dahl
ffeb4722d4 small wscript error 2010-03-13 12:20:09 -08:00
Ryan Dahl
61c8014135 bump version 2010-03-12 18:50:46 -08:00
Ryan Dahl
96f08cf05c Work on net2 http client 2010-03-12 18:39:02 -08:00
Ryan Dahl
c6ebfb0cc6 Merge branch 'master' into net2 2010-03-12 13:51:00 -08:00
Ryan Dahl
d7efb0fdb2 Factor out TryCatch in ReallyEmit 2010-03-12 13:48:03 -08:00
Ryan Dahl
2c7cbbc1b0 Optimize event emitter for single listener 2010-03-12 13:47:56 -08:00
Ryan Dahl
aa6eaae0aa Simplify Socket constructor 2010-03-12 13:06:05 -08:00
Ryan Dahl
b571900d9c Fix node_timer bug; sometimes was not initializing watcher 2010-03-12 12:56:10 -08:00
Ryan Dahl
c857d65dd3 Disable test-net-fd-passing for now 2010-03-12 12:43:28 -08:00
Ryan Dahl
28211519b6 Merge branch 'master' into HEAD
Conflicts:
	lib/fs.js
	wscript
2010-03-12 12:42:15 -08:00
Ryan Dahl
3adf7a3dcf TCP timeout opt-in instead of opt-out
For speed, idle connections are super cheap.
2010-03-12 12:39:37 -08:00
Ryan Dahl
b94af8d6b1 Only print readyState deprication message once 2010-03-12 12:34:25 -08:00
Ryan Dahl
836e6a3fcb Adjust object ref count after call to ev_timer_again 2010-03-12 12:27:41 -08:00
Ryan Dahl
177de8fefc Fix some gcc warnings 2010-03-12 12:21:27 -08:00
Ryan Dahl
3d10852c33 Disable AsciiSliceExt
Seems faster and less buggy?
2010-03-12 12:21:27 -08:00
Ryan Dahl
c1613e6ebb Deprecate process.mixin 2010-03-12 09:23:05 -08:00
Tim-Smart
ae10a48383 Initial implementation of process.evalcx 2010-03-12 08:22:48 -08:00
Ryan Dahl
6ec2f877c2 Depreciation -> Deprecation 2010-03-11 23:50:41 -08:00
Vanilla Hsu
b13081691e use getpagesize() to get PAGE_SIZE on FreeBSD. 2010-03-11 23:32:13 -08:00
Vanilla Hsu
116dfb8740 1: sync wscript with libeio.m4 2: try to enable macosx's sendfile. 2010-03-11 22:07:50 -08:00
Ryan Dahl
c96b7e5ca0 Missing EOL semicolons 2010-03-11 22:05:09 -08:00
Ryan Dahl
dd857f9fdf .addon -> .node
How'd that get in there?
2010-03-11 22:04:00 -08:00
Tim-Smart
0c17067d87 Add require.registerExtension 2010-03-11 22:00:55 -08:00
Ryan Dahl
6bd11f147a Fix undefined reference in fs.js 2010-03-11 14:32:10 -08:00
Ryan Dahl
ff2457754c Upgrade libeio 2010-03-11 14:31:51 -08:00
Jérémy Lal
c93bab141c Add --system option to configure, so make uses V8, EV, UDNS system libraries and headers. 2010-03-11 14:00:19 -08:00
Ryan Dahl
6d9227b79a Make relative ref to sys in fs module. 2010-03-11 12:48:47 -08:00
Ryan Dahl
ca862d75de [net2] Add Socket.setTimeout
Still seeing crashes and performance problems.
2010-03-11 12:43:32 -08:00
Ryan Dahl
4635ed7fde Add process.now
Faster way to find out current time.
2010-03-11 12:40:24 -08:00
Ryan Dahl
462a8f8652 add error listener to test-net-pingpong 2010-03-11 12:39:50 -08:00
Ryan Dahl
9b67962a44 Add timer.again method 2010-03-11 12:38:42 -08:00
Ryan Dahl
03f2bfe51f Make relative ref to sys in fs module. 2010-03-11 12:37:37 -08:00
Ryan Dahl
358b7516c7 Adjust process.compile documentation 2010-03-11 10:27:20 -08:00
isaacs
976983960d More ini parser features.
Update the ini parser to support some more whitespace cases, turn lines
without an equal sign into a "flag" that's just true if set, and support
comments.
2010-03-10 21:44:59 -08:00
Ryan Dahl
777e1a6c69 Merge branch 'master' into net2 2010-03-10 11:03:32 -08:00
Ryan Dahl
70b2a44579 Remove -Werror from V8 2010-03-10 11:03:26 -08:00
Ryan Dahl
7eb126474d Merge branch 'master' into net2 2010-03-10 11:02:01 -08:00
Ryan Dahl
073947c150 Upgrade V8 to 2.1.3 2010-03-10 10:50:46 -08:00
Ryan Dahl
0918bb2070 Adjust a few more tests to work with net2 2010-03-09 18:37:23 -08:00
Ryan Dahl
c1a0ade7e7 Further net2 compatibilities 2010-03-09 16:27:49 -08:00
Standa Opichal
c2c0cfb75f Making sure node-waf finds its real bindir even when executed through a symlinked path. 2010-03-09 13:05:44 -08:00
Ryan Dahl
b07f2e25f4 Update http2 for new stream API 2010-03-09 12:00:06 -08:00