Commit Graph

129 Commits (8aaffe71eebd3dbf4e8713c79aea6b4413396f9e)

Author SHA1 Message Date
Ryan Dahl 8492c52e15 Use uniform watcher names 2010-03-15 14:24:15 -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
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
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 39b63dfe17 bump version 2010-03-05 17:55:13 -08:00
Ryan Dahl 7a251f3bdf Fix shebang in wscript 2010-03-01 19:14:14 -08:00
Ryan Dahl bb0d1e65e1 bump version 2010-02-22 01:31:14 -08:00
Ryan Dahl 87d5e5b316 bump version 2010-02-17 15:12:42 -08:00
Ryan Dahl 0b823dce61 Add /opt/local/lib as a search path for gpg-error
Why doesn't WAF just search LD_LIBRARY_PATH?
2010-02-17 13:56:47 -08:00
masuidrive 3337e9da1a Build system: support spaces in directory names 2010-02-10 07:42:16 -08:00
Ryan Dahl 49de41ef46 bump version 2010-02-09 13:20:20 -08:00
Ryan Dahl 0cfa789cc5 bump version 2010-02-03 12:20:27 -08:00
Ryan Dahl da00413196 bump version 2010-01-20 11:28:32 -08:00
Ryan Dahl 0c1255453e Initial Solaris support 2010-01-19 16:51:27 -08:00
Ryan Dahl aeb7d6d168 Add process.IdleWatcher
With priorities. Will be used for process.nextLoop().
2010-01-18 10:12:04 -08:00
Ryan Dahl c4397b801a Make sure GNUTLS is first on uselib
Why? Because I have two versions of GnuTLS installed - one is old 2.0.X in
/usr and one is new 2.5.X in ~/local/gnutls. waf correctly finds that the
newer version, but because GNUTLS was behind other libraries in the
node.uselib -L/usr/lib was before -L/home/ryan/local/gnutls/lib in the
actual gcc command - hence getting link errors. WAF SUCKS, really.
I wish someone would invent a good build system that could avoid such
problems.
2010-01-12 01:09:58 -08:00
Ryan Dahl f379b77735 Error out when no compiler found 2010-01-11 16:43:10 -08:00
Ryan Dahl 39ca93549a bump version 2010-01-09 02:11:54 -08:00
Vanilla Hsu d22952bfe0 getmem for freebsd 2010-01-06 23:37:27 -08:00
Ryan Dahl 642c2773a7 bump version 2009-12-31 00:30:53 -08:00
Ryan Dahl f91e347eee bump version 2009-12-22 20:31:45 +01:00
Ryan Dahl a2d809fe90 bump version 2009-12-19 01:24:59 +01:00
Rasmus Andersson 6eb8bbc640 note about why execinfo detection fails on Darwin even though it exists 2009-12-18 15:37:24 +01:00
Simon Cornelius P. Umacob e801f420d0 Use conf.fatal() instead of fatal() in order to abort the configure script 2009-12-09 14:28:02 +01:00
Ryan Dahl c6affb64f9 bump version 2009-12-06 17:59:37 +01:00
Ryan Dahl aa42c6790d bump version 2009-11-28 17:04:42 +01:00
Ryan Dahl 8a58e83870 Add gnutls version to configure script 2009-11-28 15:25:10 +01:00
Ryan Dahl 633d6be328 bump version 2009-11-28 01:49:11 +01:00
Rhys Jones b6dda61249 Initial TLS support 2009-11-22 04:03:53 +01:00
Ryan Dahl 027829d285 bump version 2009-11-17 15:05:10 +01:00
Ryan Dahl 8d2f9e83a4 Add process.watchFile() process.unwatchFile()
This is an interface to libev's ev_stat watcher.
2009-11-17 14:07:48 +01:00
Ryan Dahl d1f69ef35d bump version 2009-11-07 20:20:30 +01:00
Ryan Dahl d737a060c8 Combine all compiled javascript files into src/node.js 2009-11-07 14:37:22 +01:00
Ryan Dahl 726865af7b bump version 2009-11-03 13:48:02 +01:00
Ryan Dahl f481183140 Add process.platform 2009-11-03 00:21:00 +01:00
Ryan Dahl eca2de73ed bump version 2009-10-28 16:36:44 +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
Ryan Dahl 122e74b49b Link to objects instead of shlibs for evcom, http_parser, coupling 2009-10-27 22:26:53 +01:00
Ryan Dahl 5f466c8762 fix make install (was broken from node_ prefix change) 2009-10-27 20:17:03 +01:00
Ryan Dahl c779647600 Link libev and libeio as a normal .o instead of as .a
Using WAF "staticlib" to compile libev tends to confuse it with a system
version. Thanks to mr.binary42 for helping debug.
2009-10-27 18:50:41 +01:00
Ryan Dahl 132d685796 Add symlinks in root directory to executables after build. 2009-10-27 18:11:07 +01:00
Ryan Dahl 2b743aa5bb Enable large file support. 2009-10-27 12:05:38 +01:00
Ryan Dahl a5df0f6a65 Prefix all source files with node_ 2009-10-27 11:46:58 +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 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 8b62e8616b Fix tabs in changelog 2009-10-10 11:58:36 +02:00
Ryan Dahl d79b6e9f7f bump version 2009-10-09 18:15:16 +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