Commit Graph

770 Commits (d1f69ef35dac810530df8249d523add168e09f03)

Author SHA1 Message Date
Ryan Dahl d1f69ef35d bump version 2009-11-07 20:20:30 +01:00
Felix Geisendörfer a021db151a Bug fix for test-remote-module-loading.js
Fix bug that caused test-remote-module-loading.js
to use the installed version of the http library
rather than the build one.
2009-11-07 20:07:55 +01:00
Ryan Dahl 6c9ec1ac40 Use '127.0.0.1' instead of 'localhost' for keep-alive test
ab seems to have to problem resolving 'localhost' on Urban's computer.
2009-11-07 17:31:42 +01:00
Ryan Dahl cff1df1f9b Fix ev_unref error in signal handler 2009-11-07 17:18:23 +01:00
Ryan Dahl 42dd629c16 deprecation error for process.inherits() 2009-11-07 16:27:18 +01:00
Ryan Dahl 9cfa4fd7d6 Output stderr from test-remote-module-loading.js
There is a small problem with test-remote-module-loading.js.
When it starts a child "node", the child uses the default require.paths
instead unshifting the build lib/
2009-11-07 15:08:46 +01:00
Ryan Dahl 1020efb6f7 Create require.main, remove process.cat() 2009-11-07 14:57:49 +01:00
Ryan Dahl 43121c15be API: rename process.inherits to sys.inherits 2009-11-07 14:45:39 +01:00
Ryan Dahl d737a060c8 Combine all compiled javascript files into src/node.js 2009-11-07 14:37:22 +01:00
Ryan Dahl b833aa48e9 Add test to ensure the server can handle keep-alive 2009-11-06 13:42:56 +01:00
Ryan Dahl 54c8ea5ea2 Fix http_simple server for new API 2009-11-06 12:53:27 +01:00
Ryan Dahl 51c1526b6a Revert "Upgrade http parser, change node as needed."
Something is broken in how keep-alive is working. Reverting until I can fix
it.

This reverts commit b893859c34.
2009-11-06 12:44:20 +01:00
Ryan Dahl 8ad47c8de7 Expose http.IncomingMessage and http.OutgoingMessage 2009-11-05 00:02:15 +01:00
Ryan Dahl c6bd0e56cb Fix regexp in file extension checking 2009-11-04 12:39:08 +01:00
Ryan Dahl 60131fc88c Expose http.ClientRequest and http.ServerResponse 2009-11-04 12:37:52 +01:00
Ryan Dahl 711774c1f0 Remove unreachable lines 2009-11-04 02:18:31 +01:00
Ryan Dahl d3de943eb1 Fix google-analytics on index.html 2009-11-04 00:18:05 +01:00
Brandon Beacher 47fcf785ac Added process.chdir() 2009-11-03 19:22:37 +01:00
Ryan Dahl 726865af7b bump version 2009-11-03 13:48:02 +01:00
Ryan Dahl b3b3cfe007 Move memoryUsage() into C on Linux 2009-11-03 13:00:42 +01:00
Ryan Dahl 3a70129a9c Add sys.memoryUsage() 2009-11-03 01:30:01 +01:00
Ryan Dahl f481183140 Add process.platform 2009-11-03 00:21:00 +01:00
Ryan Dahl f97d339ce7 Add requires to google example in docs. 2009-11-02 23:09:57 +01:00
Felix Geisendörfer 43d651daef The return of relative module loading 2009-11-02 21:26:55 +01:00
Felix Geisendörfer 7069bee982 The return of absolute Module loading 2009-11-02 21:20:44 +01:00
Ryan Dahl 2e40a9e15f Add mediacoder's logo to website 2009-11-02 12:28:08 +01:00
Felix Geisendörfer 8fd472b9a1 The return of remote module loading 2009-11-01 15:39:49 +01:00
Ryan Dahl 9bd2717e74 require.paths aliased as process.path 2009-11-01 09:30:01 +01:00
Ryan Dahl cf652b82a3 Update webpage with new module api 2009-10-31 20:26:03 +01:00
Ryan Dahl d582599c14 Upgrade benchmark scripts for new module API 2009-10-31 20:06:46 +01:00
Ryan Dahl f230e45183 Update deprecation errors. 2009-10-31 20:03:40 +01:00
Ryan Dahl 9a7321ebb0 Don't call process.exit() on missing module.
Just raise exception naturally.
2009-10-31 19:53:09 +01:00
Ryan Dahl f683867b98 module.name renamed to module.id for commonjs compat 2009-10-31 19:47:41 +01:00
Ryan Dahl f5c95c388c Fix search-replace errors in api.txt 2009-10-31 19:14:24 +01:00
Ryan Dahl 7a2e784ad7 Module refactor - almost CommonJS compatible now
API change summary:

  * require("/sys.js") becomes require("sys")

  * require("circle.js") becomes require("./circle")

  * process.path.join() becomes require("path").join()
2009-10-31 19:10:30 +01:00
Ryan Dahl 36f3bc33a3 forgot to add lib/dns.js in c53672 2009-10-31 12:19:23 +01:00
Ryan Dahl 57890465bd A few more node->process changes 2009-10-30 05:49:23 +01:00
Ryan Dahl ad0a4cefb8 Namespace EVERYTHING under process; introduce GLOBAL
http://groups.google.com/group/nodejs/browse_thread/thread/1034fd2ad2cd93e8
2009-10-29 23:36:41 +01:00
Ryan Dahl 6959a1d6d1 Upgrade v8 to 1.3.18 2009-10-29 16:11:05 +01:00
Felix Geisendörfer 659954d842 The return of Promise.cancel() with some additional tests & docs 2009-10-29 11:24:08 +01:00
Ryan Dahl 7b2fdc098b Clean up posix module docs 2009-10-29 11:17:26 +01:00
Ryan Dahl c536728335 Move node.dns.* into /dns.js 2009-10-28 23:02:52 +01:00
Ryan Dahl 3d8b14e6f7 node.fs.* moved into "/posix.js"
use require("/posix.js") to access them.
2009-10-28 22:45:46 +01:00
Ryan Dahl ae7c9909be fix error from v8 upgrade 2009-10-28 21:35:49 +01:00
Ryan Dahl 50f45d14b4 Upgrade v8 to 1.3.17 2009-10-28 19:25:22 +01:00
Tim Caswell 3558952899 DRY up the open, write, read, and close methods on the File prototype. 2009-10-28 19:17:02 +01:00
Ryan Dahl eca2de73ed bump version 2009-10-28 16:36:44 +01:00
Ryan Dahl 910c627fc6 Revert "Change HTTP back to a 1.1 client."
This reverts commit 9a70abbf13.
2009-10-28 15:37:58 +01:00
Ryan Dahl efe34f5023 Only allow a promise to fire once, remove promise.cancel()
promise.cancel() is due to return at some point.
2009-10-28 15:37:03 +01:00
Ryan Dahl fc937aa3e5 Use full path to link to libv8.a and libudns.a
Previously was linking just by doing -lv8 or -ludns which could confuse the
build when a system libv8 or libudns was installed.
2009-10-28 12:34:47 +01:00