Commit Graph

152 Commits (ae805f10573e008702741a1e1bf85ce974968d52)

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