Commit Graph

4105 Commits (42529ddfb500cc7df3601c3b5f1d1da9f787d08e)

Author SHA1 Message Date
Ryan Dahl 42529ddfb5 waf: Don't build out/Debug/node_g - just out/Debug/node
This is to match how GYP does it.
2011-08-23 15:13:09 -07:00
Ryan Dahl ea156359e9 net_legacy: Fix throw typo
Thanks Tobi
2011-08-23 14:27:50 -07:00
Ryan Dahl a7300c8297 WAF builds in out/ instead of build/ 2011-08-23 14:10:39 -07:00
Ryan Dahl 879eb16280 Have WAF variants match GYP configuration names 2011-08-23 14:10:35 -07:00
Ryan Dahl 85f7b78e9b gyp: Further fixes to target_defaults for mac 2011-08-23 13:19:17 -07:00
Evan Martin 8a29e5ea5b gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds. 2011-08-23 13:19:17 -07:00
Evan Martin a916d888f2 common.gypi: don't nest "target_defaults" within "target_defaults"
The "conditions" block is already within a "target_defaults", so its
children amend target default settings already.
2011-08-23 13:19:17 -07:00
koichik 485d5b5dff dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164.
2011-08-24 03:01:41 +09:00
Ryan Dahl e3413f08fd net_uv: throw when people construct net.Socket(fd)
Easier to catch compatibility errors.
2011-08-23 02:31:22 -07:00
Ryan Dahl c4454d2efc net_uv: Don't error on ECONNRESET
Fixes #1571.
2011-08-22 19:11:38 -07:00
Ryan Dahl 80dd818290 Upgrade GYP to r1010 2011-08-22 17:09:57 -07:00
Ryan Dahl c2ae39b8d6 gyp: -ldl on linux 2011-08-22 20:07:07 -04:00
Ryan Dahl cf2e68d960 net_uv: handle read errors 2011-08-22 15:03:27 -07:00
Ryan Dahl b8d40be611 Upgrade libuv to joyent/libuv@ce20791 2011-08-22 14:52:28 -07:00
Mikeal Rogers 103990b640 Fixes #1531 2011-08-22 14:31:25 -07:00
Maciej Małecki 94963ab39a Add failing test for https2 compatibility
Issue #1531
2011-08-22 14:30:58 -07:00
Ryan Dahl 2e5a8e071e Update license info for openssl 2011-08-22 11:36:38 -07:00
Peter Bright 0110c90382 Upgrade to 0.9.8r.
Build in Win32.
2011-08-22 11:30:47 -07:00
Ryan Dahl e80cac6225 import openssl from chrome 2011-08-22 11:30:45 -07:00
koichik 1adfd48448 Doc improvements 2011-08-23 00:18:46 +09:00
Ryan Dahl f5db3f1f85 Fix #1563. overflow in ChildProcess custom_fd. 2011-08-20 12:39:40 -07:00
Maciej Małecki 962a9e808c docs: process.memoryUsage returns memory usage measured in bytes 2011-08-20 00:59:31 +02:00
Ryan Dahl 05e6f318c6 Upgrade V8 to 3.5.6 2011-08-18 16:59:30 -07:00
Ben Noordhuis 63607a0304 bench: make number of response body chunks configurable in http_simple 2011-08-17 23:26:23 +02:00
Ben Noordhuis 8e8f36f958 Fix #1546 some more. Remove expensive debug call. 2011-08-17 22:53:42 +02:00
isaacs 711a356468 Close #1544 Document slashesDenoteHost flag in url.parse 2011-08-17 13:43:09 -07:00
Ryan Dahl 8320af7ef3 Merge remote branch 'origin/v0.4'
Conflicts:
	doc/api/tls.markdown
2011-08-17 13:25:44 -07:00
Ryan Dahl 9cd510846e Fixes #1546. Remove expensive debug call. 2011-08-17 13:21:15 -07:00
Ben Noordhuis d72c6940f8 bench: make http_simple send chunked encoding if requested 2011-08-17 20:39:20 +02:00
koichik 4cf931db17 http: improve compatibility of legacy API
In http1, legacy http.Client shares one connection with multiple requests.
But in http2, it uses concurrent connections.
With --use-http1, test/simple/test-http-legacy.js passes.
However, it fails without --use-http1 (use http2).

This improves compatibility of legacy http.Client API between http1 and http2.

Fixes #1530.
2011-08-17 00:19:55 +09:00
koichik 8293bb8a32 test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.

Fixes #1528.
2011-08-16 23:59:57 +09:00
Antranig Basman c05936ca13 vm: fix incorrect dispatch of vm.runInContext for argument "filename"
Adds test case and documentation for vm.runInContext and vm.createContext.

Fixes #1140.
2011-08-16 14:50:04 +02:00
Ryan Dahl 72246d97a2 Complete GYP support for Python 2.5.2 2011-08-15 18:26:48 -07:00
Ryan Dahl e57ed540e6 GYP Support python 2.5.2 2011-08-15 21:18:21 -04:00
Ryan Dahl b433c42a56 gyp: Support Linux 2011-08-15 21:17:02 -04:00
Mikeal Rogers 584ae7b084 Remove http.cat. fixes #1447 2011-08-16 01:24:41 +02:00
Ryan Dahl 721f26520d Upgrade GYP to r999
To fix osx/make build http://codereview.chromium.org/7618052
2011-08-15 15:47:18 -07:00
Ryan Dahl 66f77963a3 Upgrade GYP to r995 2011-08-15 13:49:15 -07:00
Ryan Dahl 25a5e90289 Fix GYP build on OSX
Broken due to DOS line endings.

  ./configure-gyp
  make -f Makefile-gyp
2011-08-15 13:41:07 -07:00
Ben Noordhuis 5e37e10e41 module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
2011-08-15 20:08:18 +02:00
Nathan Rajlich 54b409d650 util: isRegExp() should not call toString() on its argument
An overloaded toString() method may have side effects
so don't call it for a simple type check.
2011-08-15 17:22:48 +02:00
Mickaël Delahaye e8d268fd5f Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.

Fixes #1533.
2011-08-15 22:45:41 +09:00
Bert Belder 9728723508 node_crypto: interface with libuv, not libev 2011-08-15 02:30:35 +02:00
koichik 4d186f270f Docs: Not memcpy, but memmove
Fixes #1520.
2011-08-14 23:10:36 +09:00
Peter Bright 16788f461a Rename gyp files to produce useful solution names.
Hoist common settings into common.gypi.

Restrict v8's common.gypi to v8 projects.

Ensure v8 doesn't use /MP in debug builds.

Add basic settings for other platforms.

Make uv import common.gypi properly.

Remove LTCG warning.
2011-08-13 19:57:42 -07:00
Thomas Shinnick a5d90c435c path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array.  The loop indexes are initialized using
"array.length" rather than "array.length-1".  The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.

Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
2011-08-14 04:10:42 +02:00
Ben Noordhuis bfc2982f10 uv: upgrade to 5899192 2011-08-14 03:15:12 +02:00
Ben Noordhuis eaac88163a module: fix pointer reference to out-of-scope variable
Reported by Tom Hughes.
2011-08-14 01:25:39 +02:00
Thomas Shinnick 59b815b097 test: add typed arrays to known globals list 2011-08-13 23:51:31 +02:00
Fedor Indutny c0d8311f6b small NPN doc fix
Fixes #1522.
2011-08-14 02:51:35 +09:00