Commit Graph

203 Commits (0b925d075d359d03426f0b32bb58a5e05825b4ea)

Author SHA1 Message Date
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