Commit Graph
714 Commits
Author SHA1 Message Date
Ryan Dahl 2bac299aed Remove unused macro 2009-10-27 11:08:50 +01:00
Ryan Dahl 9a70abbf13 Change HTTP back to a 1.1 client.
This was modified in b893859c34 even though it
wasn't really required. Some users are experiencing problems after changing
to 1.0 - once those are identified the client will returned to 1.0.
2009-10-26 23:07:37 +01:00
Ryan Dahl 7d9d881e22 Correctly guess x64 architecture
Previously was dependent on how python was compiled, and this was causing
build errors for some Macintosh Snow Leopard users. The solution is to use
a functionality already in WAF which looks at the output of

  echo | gcc -E -dM -
2009-10-26 22:27:52 +01:00
Ryan Dahl 04e53cab90 Rename node.libraryPaths to require.paths
to be more inline with CommonJS.
2009-10-25 22:51:57 +01:00
Ryan Dahl 4bcb01c8bf Add work-around for configure --debug with Python 2.4.3
This is the error that was encountered:

  : make
  Waf: Entering directory `/dcs/06/csugds/node/ry-node-cfe5876/build'
  Traceback (most recent call last):
    File "tools/waf-light", line 148, in ?
      Scripting.prepare(t, cwd, VERSION, wafdir)
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Scripting.py", line 142, in prepare
      prepare_impl(t, cwd, ver, wafdir)
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Scripting.py", line 132, in prepare_impl
      main()
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Scripting.py", line 185, in main
      fun(ctx)
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Scripting.py", line 382, in build
      return build_impl(bld)
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Scripting.py", line 395, in build_impl
      bld.add_subdirs([os.path.split(Utils.g_module.root_path)[0]])
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Build.py", line 924, in add_subdirs
      self.recurse(dirs, 'build')
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/Utils.py", line 599, in recurse
      f(self)
    File "<string>", line 312, in build
    File "/dcs/06/csugds/node/ry-node-cfe5876/tools/wafadmin/TaskGen.py", line 297, in clone
      setattr(newobj, x, copy.copy(getattr(self, x)))
    File "/usr/lib/python2.4/copy.py", line 108, in copy
      return _reconstruct(x, rv, 0)
    File "/usr/lib/python2.4/copy.py", line 336, in _reconstruct
      y = callable(*args)
    File "/usr/lib/python2.4/copy_reg.py", line 92, in __newobj__
      return cls.__new__(cls, *args)
  TypeError: function() takes at least 2 arguments (0 given)
  make: *** [all] Error 1
2009-10-16 22:53:44 +02:00
Ryan Dahl cfe5876350 Add v8 patch to fix mac x64 build.
http://codereview.chromium.org/284012
2009-10-16 18:00:06 +02:00
Ryan Dahl 8e6d978bba Upgrade v8 to 1.3.16
and apply my V8 patch for debugging.
2009-10-16 14:30:27 +02:00
Ryan Dahl 5f82c4baf0 Improve webpage
- add google-analytics
- add example to front-page
2009-10-16 14:29:51 +02:00
Ryan Dahl b893859c34 Upgrade http parser, change node as needed.
The latest version of http-parser is a bit more stringent EOF semantics.
2009-10-15 19:18:18 +02:00
Ryan Dahl 3456a16f71 Accept string representations of signals in node.kill and child.kill 2009-10-15 15:45:04 +02:00
Brandon Beacher 334d56d2be Added external interface for signal handlers.
Also process.pid and node.kill().
2009-10-15 14:40:52 +02:00
Ryan Dahl 0283e68129 Upgrade http_parser, allows quotes in URI
http_parser needs to be upgraded to latest code. Currently running off the
v0.2 branch, which is missing the latest fixes.
2009-10-14 19:29:17 +02:00
Connor Dunn 2dbd0d3806 Add node.fs.sendfile() 2009-10-14 18:51:23 +02:00
Ryan Dahl a1e5089d9b Add connection.fd getter. 2009-10-14 17:07:50 +02:00
Tim Caswell d2f5094096 Fix the link to the new Contribute section 2009-10-14 14:21:30 +02:00
Felix Geisendörfer fd189c8a73 New section about contributing for the homepage 2009-10-13 19:55:34 +02:00
Timothy Caswell 2b9a9f9140 Clean up many of the reccommendations from jslint in the file.js library 2009-10-13 19:55:33 +02:00
Timothy Caswell 8bf9a42c70 Cleanup node.fs.cat to follow the newer style to match the code of file.writeFile 2009-10-13 19:55:33 +02:00
Ryan Dahl 2b8ab7e24f utils.js links to sys.js instead of other way around 2009-10-13 19:55:28 +02:00
Felix Geisendörfer 0329468e73 Fix for confusing deprecation message 2009-10-12 22:23:17 +02:00
Ryan Dahl 12c2ea05ca Bugfix: 'data' event for stdio should emit a string
Was emitting a single element array where array[0] was the input.
2009-10-12 21:09:26 +02:00
Felix Geisendörfer f09d0cd93c Documentation for Promise.timeout() and Promise.cancel() 2009-10-12 17:07:17 +02:00
Ryan Dahl d949074014 Add some code comments to net.cc 2009-10-12 16:46:18 +02:00
Felix Geisendörfer 0dbf2d7792 Implemented Promise.timeout() and Promise.cancel() 2009-10-12 16:17:42 +02:00
Ryan Dahl e7d0dcee10 Use bundle flags for osx in node-waf 2009-10-12 16:01:22 +02:00
Ryan Dahl 8b62e8616b Fix tabs in changelog 2009-10-10 11:58:36 +02:00
Ryan Dahl d79b6e9f7f bump version v0.1.14 2009-10-09 18:15:16 +02:00
Ryan Dahl e7096fd769 ACTUALLY remove node_version.h from node.h 2009-10-09 17:49:29 +02:00
Ryan Dahl 0ae02c9f04 Internalize node_version.h.
With the more detailed node.version changing (every commit), having
node_version.h exposed to all modules required a complete recompile each
time a commit was made.

People can use the javascript interface to get the version.
2009-10-09 17:47:04 +02:00
Ryan Dahl 388145546d Add comments to node.cc 2009-10-09 17:44:59 +02:00
Ryan Dahl 962e9291f7 'git-describe' to 'git describe' 2009-10-09 16:16:27 +02:00
Ryan Dahl d979ac9c7f Put git revision into version string 2009-10-09 15:00:12 +02:00
Ryan Dahl 78d06eec06 Clean up README. 2009-10-09 14:55:29 +02:00
Ryan Dahl 2060e32ec9 Kill -Werror in V8 for GCC 4.4.1 users.
http://code.google.com/p/v8/issues/detail?id=413
2009-10-09 14:21:41 +02:00
Ryan Dahl 335d9af71f Update docs to use sys.js and not so much mixin(). 2009-10-09 14:18:10 +02:00
Ryan Dahl 349200bd1c symlink sys.js to utils.js 2009-10-09 14:09:42 +02:00
Ryan Dahl 6325878d43 Raise helpful error when include() is called. 2009-10-09 13:30:27 +02:00
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.
2009-10-09 13:26:23 +02:00
Ryan Dahl 59b7a1bf26 More updates to wscripts v8 building.
This allows me to hack on V8 without recompiling the whole thing.
2009-10-09 12:59:42 +02:00
Ryan Dahl d85724d741 Fix wscript for python 2.4 2009-10-09 00:34:39 +02:00
Ryan Dahl 53ebe75930 Improve build for V8
Users following HEAD should 'make distclean' and reconfigure after this
update.
2009-10-08 23:20:14 +02:00
Ryan Dahl e46a832ded Use /bin/sh from exec() 2009-10-08 01:30:26 +02:00
Felix Geisendörfer 6219f2a2be Removed getHeader() function thanks to f623f 2009-10-07 17:30:30 +02:00
Ryan Dahl f623fd7658 Normalize HTTP headers.
"Content-Length" becomes "content-length".
2009-10-07 16:56:19 +02:00
Ryan Dahl d03b67669c Upgrade v8 to 1.3.15 2009-10-07 16:02:34 +02:00
Ryan Dahl b404996cf3 Fix --v8-options command line argument. 2009-10-07 16:01:03 +02:00
Ryan Dahl b76d853f0d Fix test-signal-handler.js on macintosh - pause before exit. 2009-10-07 15:39:39 +02:00
Ryan Dahl be2ca1ec80 Fix build.
- Add -f flag to rm on make clean.
- Use old jsmin - the new one seems to be broken.
2009-10-07 15:02:42 +02:00
Ryan Dahl e982349b16 Fix 'make distclean' 2009-10-07 12:43:21 +02:00
Ryan Dahl 1f31a7dbfe Upgrade v8 to 1.3.14 2009-10-07 11:53:45 +02:00