Commit Graph

375 Commits (b9049d2f903cd412faa17662bc07255280fcdfcc)

Author SHA1 Message Date
Ryan Dahl 25eecd179b Fix configure on x86 2010-11-14 22:46:26 -08:00
Ben Noordhuis 5d80bdb6ae Add --profile flag to configure script, enables gprof profiling. 2010-11-13 14:34:45 -08:00
Rasmus Andersson e5a0fbe500 Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8 2010-11-13 14:29:59 -08:00
Ryan Dahl 029180a93c Install node-waf 2010-11-03 09:02:54 -07:00
Ryan Dahl 97c9745063 Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
2010-11-01 16:51:20 -07:00
Ryan Dahl 15594eaf87 Replace WAF with make/autoconf 2010-10-24 18:39:36 -07:00
AJ ONeal 74c8b5fd08 ./wscript: allow for cross-compiling of all three supported architectures 2010-10-18 11:39:56 -07:00
Ben Noordhuis 045bd4c7a4 Preliminary pkg-config support. 2010-10-13 01:49:33 -07:00
Ryan Dahl c4636a578c Dynamically load native scripts 2010-10-12 11:49:41 -07:00
Ryan Dahl fe74283e1d Fix a few compiler warnings... 2010-10-09 16:04:38 -07:00
Ryan Dahl fe060916ec Put preprocessor defines into CPPFLAGS not compile flags... 2010-09-28 03:17:44 -07:00
Ryan Dahl 9922e4e433 Don't choose jobs based on processor
Leads to lots of builds with out-of-memory.
2010-09-20 16:51:52 -07:00
Ryan Dahl 754fde7325 More explicit openssl configure warning 2010-09-20 12:52:07 -07:00
Paul Querna 2d348bb985 Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it. 2010-09-19 15:32:10 -07:00
Ryan Dahl 124fbedc2f Add node::Start()
first step towards building a libnode.a
2010-09-19 13:13:59 -07:00
Tony Metzidis 5c9b9c2e70 - fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl' 2010-09-13 11:50:06 -07:00
Ryan Dahl e8b3751743 Only check for execinfo lib in freebsd
OpenEmbedded doesn't like it when you look in /usr/lib
2010-08-27 06:20:20 -07:00
Ryan Dahl 5bce8ed118 Fix process.platform 2010-08-18 13:16:32 -07:00
Ryan Dahl ae5d613b3e Add --without-snapshot configure option 2010-08-15 14:27:05 -07:00
Rasmus Andersson 758f12f34c added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
2010-08-12 16:23:41 -07:00
Ryan Dahl 5185c15ef7 Stub out process.title 2010-08-11 12:39:42 -07:00
Ryan Dahl a4906c7c83 Print warning when OpenSSL not found 2010-08-04 16:07:10 -07:00
Samuel Shull 24c6d26cca Add node_version.h to install 2010-08-04 10:54:02 -07:00
Paul Querna 30dadfc033 Register builtin extensions via a macro, rather than a manual strcmp
Set the stage for making the builtin modules more dynamic.

Note: this only converts crypto and net, I will add more extensions in a
later commit.

* node.h: Add utility macro for converting macro values to strings.

* node.h: Include the actual module name inside the module structure, not
  just the file it was built from.

* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
  to a module structure.

* node_extensions.cc: New File, implements get_builtin_module, which
  iterates over the module structures that are compiled into node.

* node.cc(node::Binding): Use the new module lookup function to find
  modules.

* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
2010-07-14 10:17:25 -07:00
Paul Querna 480164f923 Move node version to a single static header file.
Some compile time variables like the cflags and prefix have been moved to
the node_config.h.in, in the anticipation that they will be removed at
somepoint.
2010-07-13 06:39:47 -07:00
Ryan Dahl a6b8586e94 bump version 2010-07-03 08:37:46 +02:00
Rasmus Andersson 67f7fe5e5c Use all available CPUs when building
Automatically set Options.options.jobs to the number of CPUs/cores on the
executing machine, unless the environment variable JOBS is set
2010-06-27 08:49:06 -07:00
Ryan Dahl a620b7298f bump version 2010-06-21 13:34:10 -07:00
Ryan Dahl 545e10f239 wscript shouldn't fail if 'git describe' doesn't work 2010-06-21 10:21:55 -07:00
Ryan Dahl 01a8d270cf Add platform files, move getmem to node::OS class. 2010-06-17 18:23:43 -07:00
Brian McKenna 431e72cbe8 Make addon building work for Cygwin. 2010-06-11 13:25:03 -07:00
Ryan Dahl 10d8adb089 bump version 2010-06-11 12:58:14 -07:00
Raffaele Sena b3b81d67ff Port to cygwin 2010-06-09 15:08:46 -07:00
Ryan Dahl 9e8df0e836 More dynamic linking options (again)
Original commit: 75f0cf471a
2010-06-04 11:42:34 -07:00
Ryan Dahl ef9f4046c9 Better 'make' output
Removes 'make all-debug' since it is unnecessary now.
2010-06-02 13:03:31 -07:00
Ryan Dahl 501136b999 Revert "More dynmaic linking options"
Broke the build. Will fix and reapply soon.

This reverts commit 75f0cf471a.
2010-06-02 09:16:28 -07:00
Ryan Dahl 75f0cf471a More dynmaic linking options
This adds the following options to the `configure` program

  --shared-v8           Link to a shared V8 DLL instead of static linking
  --shared-v8-includes=SHARED_V8_INCLUDES
                        Directory containing V8 header files
  --shared-v8-libpath=SHARED_V8_LIBPATH
                        A directory to search for the shared V8 DLL
  --shared-cares        Link to a shared C-Ares DLL instead of static linking
  --shared-cares-includes=SHARED_CARES_INCLUDES
                        Directory containing C-Ares header files
  --shared-cares-libpath=SHARED_CARES_LIBPATH
                        A directory to search for the shared C-Ares DLL
  --shared-libev        Link to a shared libev DLL instead of static linking
  --shared-libev-includes=SHARED_LIBEV_INCLUDES
                        Directory containing libev header files
  --shared-libev-libpath=SHARED_LIBEV_LIBPATH
                        A directory to search for the shared libev DLL

and removes --system.
2010-06-01 20:18:43 -07:00
Ryan Dahl 0c1aa36835 bump version 2010-05-29 19:37:57 -07:00
Ryan Dahl 78e49f1c88 Rename node_net2.cc to node_net.cc 2010-05-29 13:08:05 -07:00
Ryan Dahl 311a62dea7 Fix JOBS for Solaris make 2010-05-26 13:07:45 -07:00
Ryan Dahl 9514a4d547 bump version 2010-05-21 02:55:38 -07:00
Andrew Johnston 9599607065 Added posix fsync and fdatasync to fs module 2010-05-14 18:42:22 -07:00
Ryan Dahl a9b962a653 Add --without-ssl configure option 2010-05-14 16:34:47 -07:00
Ryan Dahl 0b7bda8f46 Remove some unused cruft from wscript 2010-05-14 16:30:58 -07:00
Ryan Dahl 0914d33842 bump version 2010-05-13 16:24:28 -07:00
Ryan Dahl 23d680bb85 Allow parallel jobs to be passed to V8 build
e.g. JOBS=2 make
2010-05-13 16:24:28 -07:00
Ryan Dahl 8e5b91c79b Revert "Check for strings.h"
This reverts commit 032f651824.
2010-05-10 16:38:14 -07:00
Ryan Dahl 032f651824 Check for strings.h 2010-05-10 16:30:31 -07:00
Ryan Dahl d2415945c1 Install node_buffer.h on make install 2010-05-06 14:14:52 -07:00
Ryan Dahl f711d5343b bump version 2010-05-06 10:39:27 -07:00
Ryan Dahl 48d58f92f1 Add symbols to release build 2010-05-02 18:20:02 -07:00
Ryan Dahl 557ba6bd97 bump version 2010-04-29 17:44:51 -07:00
Felix Geisendörfer 203561208e Remove coupling dep 2010-04-27 18:17:30 -07:00
Jérémy Lal 610faf713d Drop UDNS from node.uselib. Add CARES for --system. 2010-04-24 01:13:42 -07:00
Ryan Dahl 3d6ebbd296 Don't look for GnuTLS in wscript 2010-04-23 17:24:37 -07:00
Ryan Dahl c72967d335 Remove http_old tcp_old 2010-04-23 17:19:29 -07:00
Ryan Dahl caa828a242 bump version 2010-04-23 16:37:14 -07:00
Ryan Dahl 27ec33aad7 Add some libpaths for SSL 2010-04-20 14:44:05 -07:00
Standa Opichal fa514a9f16 Do a manual check for openssl if 'pkg-config openssl' fails.
This makes the node_crypto module available for node built using just a
default OS X dev environment (no darwinports or fink).
2010-04-18 17:25:05 -04:00
Herbert Vojcik c2a06725d6 Script class with eval-function-family in binding('evals') plus tests. 2010-04-18 15:01:36 -04:00
Rhys Jones e6a1091cc6 Merge branch 'master' into openssl 2010-04-15 10:56:42 +01:00
Ryan Dahl 311d7dee19 bump version 2010-04-15 02:09:51 -07:00
Rhys Jones d27d6dcc6f Merge branch 'master' into openssl 2010-04-15 06:21:15 +01:00
Rhys Jones 144200435f Merge branch 'master' into openssl
Conflicts:
	lib/net.js
	wscript
2010-04-14 07:31:33 +01:00
Ryan Dahl a98d23d905 Disable IdleWatcher 2010-04-13 15:43:58 -07:00
Ryan Dahl 07e64d45ff bump version 2010-04-09 17:05:03 -07:00
Ryan Dahl d923c94a0c Remove udns 2010-04-07 18:25:37 -07:00
Ryan Dahl 9ea8c9f2b0 Clean up c-ares platform includes, add support for a few more 2010-04-07 13:34:40 -07:00
Vanilla Hsu 067f4086b6 add c-ares' freebsd support. 2010-04-07 09:36:35 -07:00
Krishna Rajendran dc1f4ebd44 c-ares based dns module 2010-04-07 01:29:05 -07:00
Ryan Dahl e9a116fe02 Include c-ares in deps/ 2010-04-07 01:17:49 -07:00
Vanilla Hsu d7a4501057 freebsd install execinfo's header to /usr/local, add it to include path. 2010-04-06 10:23:43 -07:00
Rhys Jones fb3a9cd0d8 Initial openssl support for net2 2010-04-02 17:13:54 -07:00
Ryan Dahl 4279725d79 Fix thread flags on Solaris
Also on other platforms use -pthread for compiling commands not just
linking because I noticed in the gcc(1) man page

  -pthread
      Adds support for multithreading with the pthreads library. This
      option sets flags for both the preprocessor and linker.

Removing the errno check in deps/coupling because it was a hack
(e165859c2e) added to fix stdio problems.
Without adding -threads, errno is not thread local, and coupling was not
correctly checking the errno. It appears -mt does nothing to gcc/solaris.
2010-03-31 13:44:36 -07:00
Ryan Dahl 903977d5e8 Merge branch 'master' into net2
Conflicts:
	test/simple/test-event-emitter-modify-in-emit.js
2010-03-19 21:48:39 -07:00
Ryan Dahl 618296ef57 bump version 2010-03-19 21:07:03 -07:00
Zoka b29f78772e Eliminate debug(x) statements from src/node.js and lib/*.js for release build
http://groups.google.com/group/nodejs/browse_thread/thread/8f20bcef6d6d96b7
2010-03-19 20:56:03 -07:00
Ryan Dahl cbfd4da818 Merge branch 'master' into net2
Conflicts:
	src/node.cc
2010-03-15 14:34:01 -07:00
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
Ryan Dahl 28211519b6 Merge branch 'master' into HEAD
Conflicts:
	lib/fs.js
	wscript
2010-03-12 12:42:15 -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 681733d905 Merge branch 'master' into net2 2010-03-05 20:51:26 -08:00
Ryan Dahl 39b63dfe17 bump version 2010-03-05 17:55:13 -08:00
Ryan Dahl d9e3b466a7 Merge branch 'master' into net2 2010-03-02 10:44:25 -08:00
Ryan Dahl 7a251f3bdf Fix shebang in wscript 2010-03-01 19:14:14 -08:00
Ryan Dahl a97fdf5c39 Merge branch 'master' into net2 2010-02-22 14:22:20 -08:00
Ryan Dahl bb0d1e65e1 bump version 2010-02-22 01:31:14 -08:00
Ryan Dahl 07423f3a87 Merge branch 'master' into net2 2010-02-17 15:46:30 -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
Ryan Dahl dc01587c6c Merge branch 'master' into net2 2010-02-10 14:05:29 -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 96f42745ff Merge branch 'master' into net2 2010-02-05 19:00:26 -08:00
Ryan Dahl 0cfa789cc5 bump version 2010-02-03 12:20:27 -08:00
Ryan Dahl bf803f478b Reimplment Buffers 2010-01-27 15:40:09 -08:00
Ryan Dahl b8c3d715fd use efence again 2010-01-26 18:34:42 -08:00
Ryan Dahl 42ee16978e Implement new http-parser binding using Buffer 2010-01-24 11:21:45 -08:00
Ryan Dahl 653bf580bf Merge branch 'develop' into net2
Conflicts:
	src/node.cc
2010-01-20 15:24:38 -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 02e52ef8e9 Merge branch 'master' into net2 2010-01-12 16:59:14 -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 1beb840fec Back to 64kb stack size - enlarging it was a typo 2009-12-30 09:01:28 +01:00
Ryan Dahl 6e5abf4551 implement getaddrinfo 2009-12-29 21:12:31 +01:00
Ryan Dahl c819abccb6 Start on net2 2009-12-29 21:12:30 +01:00
Ryan Dahl f219938b69 add io watcher 2009-12-29 21:12:29 +01:00
Ryan Dahl 630bb7a012 Rename blob to buffer. 2009-12-29 21:12:28 +01:00
Ryan Dahl 0afed52329 initial blobs 2009-12-29 21:12:28 +01: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
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
Brandon Beacher f068251494 Added signal handler.
To be used internally. Needs an exposed interface.
2009-10-07 01:23:29 +02:00
Ryan Dahl bac16bd8ac Remove node.pc 2009-10-05 13:04:21 +02:00
Ryan Dahl bf0d278a45 Improve "make dist" remove generated doc from repo. 2009-10-03 22:48:33 +02:00
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
2009-10-03 19:09:00 +02:00
Ryan Dahl bc9b343fd3 Add note about symbol visibility in V8 to wscript 2009-10-02 14:10:40 +02:00
Ryan Dahl 9c9d67eb6c bump version 2009-09-30 23:21:25 +02:00
Ryan Dahl 18da8ffaee Copy Python's shutil.copytree into wscript.
It's broken in Python 2.4.4. One gets this message when trying to run
configure:

  [...]
  Checking for SYS_clock_gettime           : ok
  Checking for library rt                  : ok
  Checking for function clock_gettime      : ok
  Checking for function nanosleep          : ok
  Checking for function ceil               : ok
  ---- deps/udns ----
  Traceback (most recent call last):
    File "/path/to/node/tools/waf", line 148, in ?
      Scripting.prepare(t, cwd, VERSION, wafdir)
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Scripting.py", line 102, in prepare
      prepare_impl(t,cwd,ver,wafdir)
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Scripting.py", line 95, in prepare_impl
      main()
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Scripting.py", line 130, in main
      fun(ctx)
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Scripting.py", line 168, in configure
      conf.sub_config([''])
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Configure.py", line 100, in sub_config
      self.recurse(k,name='configure')
    File "/path/to/node/tools/.waf-1.5.8-3e327cd9534c48e6762f56fdb1332663/wafadmin/Utils.py", line 391, in recurse
      f(self)
    File "<string>", line 82, in configure
    File "<string>", line 48, in conf_subproject
    File "/usr/lib/python2.4/shutil.py", line 111, in copytree
      os.mkdir(dst)
  OSError: [Errno 2] No such file or directory: '/sites/rabidlabs.net/sandboxes/m/public_html/projects/0909.node/node/build/default/deps/udns'

The problem is probably this:
http://mail.python.org/pipermail/python-bugs-list/2005-January/027118.html

As a solution I am copying 2.6's version of the function in.
2009-09-28 22:39:00 +02:00
Ryan Dahl f6657c3c9d Move http library to /http.js 2009-09-28 12:36:36 +02:00
Ryan Dahl 45ea62a0f6 Changes to compile on Andrew Miller's very old machine 2009-09-26 15:11:31 +02:00
Ryan Dahl 2f56ccb45e bump version 2009-09-24 13:51:10 +02:00
Ryan Dahl 2db7d6755e Move node-repl to bin/node-repl 2009-09-20 20:54:19 +02:00
Ryan Dahl 4b8f503fac Move mjsunit.js to system module directory. 2009-09-20 18:19:33 +02:00
Ryan Dahl 5ddc4f5d0c bump version 2009-09-18 18:32:25 +02:00
Jeff Smick bc6f381c98 Use "platform.architecture()" to find the proper architecture.
In Snow Leopard "platform.machine()" returns "i386" while
"platform.architecture()" returns ('64bit',''). Using information from both
we can determine the proper architecture

This reverts commit ea29e137b5 re-enabling the
64bit build on Macintosh.
2009-09-12 14:22:57 +02:00
Ryan 12bb0d46ce bump version 2009-09-11 21:06:50 +02:00
Ryan 8c41adb628 Add node-repl 2009-09-11 20:32:24 +02:00
Ryan 68dda0a7d8 Man page generation. 2009-09-10 13:40:38 +02:00
Ryan ba6c5e38d5 bump version 2009-09-05 14:47:56 +02:00
Ryan ea29e137b5 Hack for compiling on Snow Leopard.
I don't have access to this OS to fix the issue properly, so for the moment
I'm reverting back to 32bit build on Darwin. We changed to native 64bit in
8ddf930901.

Thanks to Johan Dahlberg and Tim Caswell for reporting and debugging this.
2009-09-05 14:40:12 +02:00
Ryan 734e86b9e5 bump version 2009-09-04 12:35:30 +02:00
Ryan 1df6d61208 Upgrade libeio, increase xthread stacksize to 64kb.
64kb seems to be the magic number for getaddrinfo() to work on Macintosh.
2009-09-03 15:59:48 +02:00
Ryan 8ddf930901 Build natively on x64.
Had to add some waf hackery to override V8's architecture choice. They
probably have a reason for defaulting still to IA32, but all tests are
passing for me, and it makes it easier on users-and I think chrome is using
x64 builds too. So let's go for it!
2009-09-02 20:19:52 +02:00
Ryan 8152f9cff2 Revert static library build.
Not necessary to build dll modules after all.
2009-09-01 14:15:29 +02:00
Ryan a97dce7523 Build static executable.
- Fix a few errors with node.dlopen()

- Report errors to stderr (this should probably be a separate commit, but
  whatever)
2009-08-31 11:45:44 +02:00
Ryan b73264d9b3 Add command line arguments for accessing build flags.
node --cflags
node --libs

At the expense of some WAF nastiness.
2009-08-27 16:08:47 +02:00
Ryan 4d92199d18 Add pkgconfig files to help with dll builds. 2009-08-27 16:08:47 +02:00
Ryan 2b6d72431b First attempt at node.dlopen
Compiled first working 'hello world' module with this config
2009-08-27 16:08:40 +02:00
Ryan ad9d683f9f API: rename node.Process to node.ChildProcess
This is to avoid confusion with the global "process" object, especially for
the instances of node.Process.
2009-08-26 22:36:45 +02:00
Ryan 17c6a67f15 Introduce node.stdio
Remove old stdout, stderr, stdin objects.
2009-08-24 21:20:26 +02:00
Ryan 1bf9be6b37 Add node.version 2009-08-03 17:51:35 +02:00
Ryan e10fbab00f bump version 2009-08-01 14:56:45 +02:00
Ryan 41d89f611f Add DNS API.
Missing functional tests. I'm not sure how to do tests because I don't want
to rely on the fact that users have an internet connection.
2009-07-28 12:36:41 +02:00
Ryan 77d407df28 bump version 2009-07-27 15:48:16 +02:00
Ryan 0fb0af3a6c Rename evnet to evcom. 2009-07-25 17:52:26 +02:00
Ryan eb10553634 Move node.inherit, node.path, node.cat to new file: util.js 2009-07-16 17:19:36 +02:00
Ryan c5ab0d5a80 Upgrade liboi, which is now called evnet. 2009-07-13 16:38:25 +02:00
Ryan 813b53938b bump version 2009-06-30 15:18:05 +02:00
Ryan a623d763c1 Add -m32 flags for compiling on 64bit machines.
These can be removed after v8 supports x64.
2009-06-29 21:17:06 +02:00
Ryan 2ecd7ffe54 in the middle putting in event code. broken. 2009-06-28 19:08:25 +02:00
Ryan fbe0be19eb bump version 2009-06-24 16:43:37 +02:00
Ryan 115c4942db Create tools directory
Users will need to "make distclean" to recompile from scratch since I've
moved a lot of the core build tools around.
2009-06-22 13:08:32 +02:00
Ryan 83cb156b6f skelton of node.Process 2009-06-20 16:55:40 +02:00
Ryan ec5f3dbae1 bump version 2009-06-18 23:22:31 +02:00
Ryan 7bad9dea51 Add electric fence option to configure process 2009-06-16 15:47:57 +02:00
Ryan f76c3dc3ca bump version 2009-06-13 14:13:42 +02:00
Ryan 4cfc982c77 bump version 2009-06-11 13:54:03 +02:00
Ryan 452d3f1418 comment out gnutls check in wscript until it's used 2009-06-11 13:40:14 +02:00
Ryan 4fbe15f065 bump version to v0.0.2 2009-05-31 14:25:07 +02:00
Ryan a3627c06f8 Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
2009-05-27 16:29:55 +02:00
Ryan b260a9108b Add errno constants. Move all constants to `node.constants` namespace. 2009-05-26 19:48:49 +02:00
Ryan dfde465483 Don't need librt. 2009-05-14 17:36:39 +02:00