Alexis Campailla
ed0d1c384c
Update README to reflect move to nodejs/node
...
Ref: https://github.com/joyent/node/issues/25876
PR-URL: https://github.com/nodejs/node-v0.x-archive/pull/25897
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2015-08-31 14:48:55 +02:00
Alexis Campailla
5f5244f15f
test: add test-spawn-cmd-named-pipe
...
See https://github.com/joyent/node/issues/7345
Adding a test to verify that a node process spawned via cmd with
named pipes can access its stdio streams.
PR-URL: https://github.com/joyent/node/pull/7433
Reviewed-By: Fedor Indutny <fedor@indutny.com >
2015-08-17 03:08:51 -04:00
Jackson Tian
8e539dc26d
src: make udp_wrap.cc pass the cpplint
...
PR-URL: https://github.com/joyent/node/pull/25818
Reviewed-By: James M Snell <jasnell@gmail.com >
2015-08-06 13:06:22 -04:00
Julien Valéry
75ceaa0d5e
comma
...
PR-URL: https://github.com/joyent/node/pull/25615
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
2015-08-06 01:33:29 -04:00
Chad Walker
2ffc000b65
doc: Change the link for v8 docs to v8dox.com
...
No offense to @izs, but the doxygen he put up 3.5 years ago isn't
accurate for node 0.12 nor io.js. I'm trying to keep up and have
multiple sets of doxygen of v8 available at http://v8dox.com/
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25658
2015-08-05 14:38:27 -07:00
Dyana Rose
1a82c83811
doc: buffer, adding missing backtick
...
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25767
2015-08-05 12:05:43 -07:00
daveboivin
99414b3bb6
Update assert.markdown
...
The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing.
The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors ) uses the assert module in an efficient way to validate required function arguments.
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25786
2015-08-05 11:13:50 -07:00
Andrew Murray
be7eb832ea
Fixed typo
...
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25805
2015-08-04 13:27:52 -07:00
Devin Nakamura
5acbee6c94
udp: Fix potential memory leak in UdpWrap::OnRecv
...
Handle case where realloc fails and returns a null ptr
Reviewed-By: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/joyent/node/pull/25534
2015-07-28 11:40:50 -07:00
João Reis
4d2a1a993e
Merge remote-tracking branch 'upstream/v0.12'
2015-07-27 10:52:49 +01:00
Alexis Campailla
cf435d55db
test: mark test-signal-unregister as flaky
...
This test just failed on Ubuntu in Jenkins, for a change that
is 100% Windows-specific.
Reviewed-By: Joao Reis <reis@janeasystems.com >
PR-URL: https://github.com/joyent/node/pull/25750
2015-07-24 02:04:43 -07:00
João Reis
ceb6a8c131
test: fix test-debug-port-from-cmdline
...
This change is a backport of 2b4b6006607c33a5699ec53afaf40f987dc11895
from io.js.
Original commit message:
This test was failing because the spawned process was terminated
before anything could be done, by calling child.stdin.end. With this
change, the child's stdin is no longer closed. When the stdin is not
a tty, io.js waits for the whole input before starting, so the child
must be run with --interactive to process the command sent by the
parent. The child is killed explicitly by the parent before it exits.
This test was failing silently because the asserts were not called if
nothing was received from the child. This fix moves assertOutputLines
to always run on exit.
Fixes: https://github.com/nodejs/io.js/issues/2177
Refs: https://github.com/nodejs/io.js/issues/2094
PR-URL: https://github.com/nodejs/io.js/pull/2186
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: Alexis Campailla <alexis@janeasystems.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25748
2015-07-23 08:18:33 -07:00
João Reis
14db629497
win,msi: correct installation path registry keys
...
Since install is per machine only, installation path should be stored
in local machine instead of current user. The registry stores HKLM in
different places for 32 and 64 bit applications, so the installer will
not suggest the old path when upgrading from 32 to 64 bit version.
Fixes #5592
Fixes #25087
PR-URL: https://github.com/joyent/node/pull/25640
Reviewed-By: Alexis Campailla <alexis@janeasystems.com >
Reviewed-By: Bert Belder <bertbelder@gmail.com >
2015-07-22 09:30:11 -04:00
João Reis
8e80528453
win,msi: change InstallScope to perMachine
...
The MSI install scope was set to the WiX default, which is per-user.
However, with UAC, it could not be installed by a standard user because
InstallPrivileges is elevated by default, hence the install scope
should be set to per-machine. Furthermore, the default install path is
a per-machine location and setting the system path requires
administrator privileges.
By changing the InstallScope to perMachine, Start Menu shortcuts are
placed in ProgramData and not the installing user's AppData folder,
making the shortcuts available to other users. This also fixes the
installation when AppData is a network folder.
The custom action is necessary to allow upgrades. Since a per-machine
MSI cannot upgrade an application installed per-user, the custom action
checks if there is going to be an upgrade to a previous version
installed per-user and sets the installation as per-user to allow
upgrading. Hence, the advantages of installing per-machine will only
apply in fresh installations.
Fixes #5849
Fixes #7629
PR-URL: https://github.com/joyent/node/pull/25640
Reviewed-By: Alexis Campailla <alexis@janeasystems.com >
Reviewed-By: Bert Belder <bertbelder@gmail.com >
2015-07-22 09:30:11 -04:00
Fedor Indutny
b8d47a7b6f
fix
...
Reviewed-By: Fedor Indutny <fedor@indutny.com >
PR-URL: https://github.com/joyent/node/pull/25739
2015-07-20 11:47:07 -07:00
Fedor Indutny
22997731e6
test: add regression test for #25735
...
See: https://github.com/joyent/node/issues/25736
Reviewed-By: Fedor Indutny <fedor@indutny.com >
PR-URL: https://github.com/joyent/node/pull/25739
2015-07-20 11:47:06 -07:00
Fedor Indutny
75697112e8
tls: do not hang without newSession handler
...
When listening for client hello parser events (like OCSP requests), do
not hang if `newSession` event handler is not present.
Fix: https://github.com/joyent/node/issues/8660
Fix: https://github.com/joyent/node/issues/25735
Reviewed-By: Fedor Indutny <fedor@indutny.com >
PR-URL: https://github.com/joyent/node/pull/25739
2015-07-20 11:47:06 -07:00
Julien Gilli
39e05639f4
test: mark http-pipeline-flood flaky on win32
...
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25707
2015-07-17 11:46:04 -07:00
cgalibern
8b81f98c41
configure: add --without-mdb flag
...
Add a configuration flag that prevents mdb_v8.so from being built.
The default behavior is still the same and mdb_v8.so is built by default
on Solaris based platforms such as SmartOS.
Using --without-mdb fixes build issues on Solaris based platforms where
libproc.h is not available or not compatible with the one shipped by
SmartOS.
Fixes #6439 .
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25707
2015-07-17 11:46:03 -07:00
João Reis
78d256e7f5
test: unmark tests that are no longer flaky
...
- `test-crypto-domains` was fixed by
joyent/node@2afa3d8a03
- All tests under linux appear to be fixed and have not failed recently
on Jenkins
- `test-http-dns-fail` was fixed by the DNS configuration change
mentioned in joyent/node#8056
Fixes #25656
Fixes #25673
Reviewed-By: Alexis Campailla <alexis@janeasystems.com >
PR-URL: https://github.com/joyent/node/pull/25676
2015-07-16 02:10:08 -07:00
Alexis Campailla
1083fa70f0
build: run-ci makefile rule
...
Adding a single rule to be called from Jenkins.
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:25 -07:00
Alexis Campailla
a9b642cf5b
test: runner should return 0 on flaky tests
...
Make the test runner return a 0 exit code when only
flaky tests fail and --flaky-tests=dontcare is specified.
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:24 -07:00
Alexis Campailla
2d2494cf14
build: support flaky tests in test-ci
...
Adding support for specifying flaky test mode to
the test runner:
- via an environment variable FLAKY_TESTS for Makefile
- via an argument ignore-flaky for vcbuild.bat
Conflicts:
Makefile
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:24 -07:00
Alexis Campailla
b25d26f2ef
build: support Jenkins via test-ci
...
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:24 -07:00
Johan Bergström
d998a65058
tools: pass constant to logger instead of string
...
On a few of our installations (namely CentOS), passing 'INFO'
resulted in a silent loglevel. Use a logging constant instead.
Cherry-picked from 8606793999
Original commit metadata follows:
Fixes: https://github.com/nodejs/build/issues/104
PR-URL: https://github.com/nodejs/io.js/pull/1842
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:21 -07:00
Alexis Campailla
b48639befd
test: support writing test output to file
...
This is a minimal effort to support test output written both to
stdout and file in order to get our buildbots understanding
test output.
Cherry picked from 31940738e2
Original commit message follows:
PR-URL: https://github.com/iojs/io.js/pull/934
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Conflicts:
tools/test.py
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR-URL: https://github.com/joyent/node/pull/25653
2015-07-10 10:06:19 -07:00
James M Snell
6036e4f5a8
doc: additional refinement to readable event
...
Per https://github.com/joyent/node/pull/25635#discussion_r33973696
Additional refinement to the clarification on the `readable` event
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:48 -07:00
James M Snell
340e9f0edd
doc: readable event clarification
...
per https://github.com/joyent/node/issues/14597
Indicate that `'readable'` indicates only that data can
be read from the stream, not that there is actually data
to be consumed. `readable.read([size])` can still return
null. Includes an example that illustrates the point.
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:47 -07:00
James M Snell
daed421e57
doc: stream.unshift does not reset reading state
...
Per https://github.com/joyent/node/issues/14604 ,
Document that performing an `unshift` during a read
can have unexpected results. Following the `unshift`
with a `push('')` resets the reading state appropriately.
Also indicate that doing an `unshift` during a read
is not optimal and should be avoided.
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:47 -07:00
Daniel Rentz
423c433566
Update util.markdown
...
Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation)
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:47 -07:00
fresheneesz
9faae7abaf
doc: clarify Readable._read and Readable.push
...
Minor clarifications around Readable._read and Readable.push
to make their implementation/usage easier to understand.
https://github.com/joyent/node/issues/14124#issuecomment-115392674
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:46 -07:00
James M Snell
f7af915d52
doc: two minor stream doc improvements
...
per: https://github.com/joyent/node/issues/14596
1. document that a runtime error will occur if you attempt
to unshift after the end event
2. document that calling read after the end event will return
null and will not trigger a runtime error
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:46 -07:00
Benjamin Steephenson
f91fa5228c
docs:events clarify emitter.listener() behavior
...
Clarifies that emitter.listener() returns a copy, not a reference
Resolves issue #9022
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/joyent/node/pull/25635
2015-07-10 09:15:46 -07:00
Julien Gilli
9660833586
Merge remote-tracking branch 'upstream/v0.12'
...
Conflicts:
src/node_version.h
2015-07-09 17:03:53 -07:00
Julien Gilli
b8ac6584fa
Now working on 0.12.8
2015-07-09 16:52:08 -07:00
Julien Gilli
bd68784dee
Merge branch 'v0.12.7-release' into v0.12
2015-07-09 16:51:47 -07:00
Julien Gilli
d3492aa7b3
2015.07.09, Version 0.12.7 (Stable)
...
* openssl: upgrade to 1.0.1p (CVE-2015-1793)
* npm: upgrade to 2.11.3
* V8: cherry-pick JitCodeEvent patch from upstream (Ben Noordhuis)
* win,msi: create npm folder in AppData directory (Steven Rockarts)
v0.12.7
2015-07-09 15:41:19 -07:00
Julien Gilli
9c5e9fc155
Merge remote-tracking branch 'upstream/v0.10' into v0.12
...
Conflicts:
AUTHORS
ChangeLog
deps/v8/src/log.cc
src/node_version.h
2015-07-09 15:30:29 -07:00
Julien Gilli
e5aaa34ba0
Now working on 0.10.41
2015-07-09 14:58:52 -07:00
Julien Gilli
26bb1ad137
Merge branch 'v0.10.40-release' into v0.10
2015-07-09 14:58:16 -07:00
Julien Gilli
0439a28d51
2015.07.09, Version 0.10.40 (Maintenance)
...
* openssl: upgrade to 1.0.1p
* V8: back-port JitCodeEvent patch from upstream (Ben Noordhuis)
* win,msi: create npm folder in AppData directory (Steven Rockarts)
v0.10.40
2015-07-09 14:19:36 -07:00
Shigeki Ohtsu
c5d7b31528
openssl: fix keypress requirement in apps on win32
...
reapply b910613792dac946b295855963869933a9089044
PR: #9451
PR-URL: https://github.com/joyent/node/pull/9451
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR: #25523
PR-URL: https://github.com/joyent/node/pull/25523
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
PR: #25654
PR-URL: https://github.com/joyent/node/pull/25654
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
2015-07-09 14:09:03 -07:00
Fedor Indutny
7ad593877e
deps: fix openssl assembly error on ia32 win32
...
`x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
perhaps others) are requiring .686 .
PR: #9451
PR-URL: https://github.com/joyent/node/pull/9451
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR: #25523
PR-URL: https://github.com/joyent/node/pull/25523
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
PR: #25654
PR-URL: https://github.com/joyent/node/pull/25654
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
2015-07-09 14:09:03 -07:00
Shigeki Ohtsu
984e7f9e40
deps: separate sha256/sha512-x86_64.pl for openssl
...
sha256-x86_64.pl does not exist in the origin openssl distribution. It
was copied from sha512-x86_64.pl and both sha256/sha512 scripts were
modified so as to generates only one asm file specified as its key
hash length.
PR: #9451
PR-URL: https://github.com/joyent/node/pull/9451
Reviewed-By: Julien Gilli <julien.gilli@joyent.com >
PR: #25523
PR-URL: https://github.com/joyent/node/pull/25523
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
PR: #25654
PR-URL: https://github.com/joyent/node/pull/25654
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
2015-07-09 14:09:03 -07:00
Shigeki Ohtsu
8277822344
deps: copy all openssl header files to include dir
...
All symlink files in `deps/openssl/openssl/include/openssl/`
are removed and replaced with real header files to avoid
issues on Windows.
PR: #25654
PR-URL: https://github.com/joyent/node/pull/25654
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
2015-07-09 14:09:03 -07:00
Shigeki Ohtsu
0cf9f27703
deps: upgrade openssl sources to 1.0.1p
...
This just replaces all sources of openssl-1.0.1p.tar.gz
into deps/openssl/openssl.
PR: #25654
PR-URL: https://github.com/joyent/node/pull/25654
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
2015-07-09 14:09:03 -07:00
Julien Gilli
6aea173e93
Merge remote-tracking branch 'upstream/v0.12'
...
Conflicts:
src/node_version.h
2015-07-04 11:23:10 -07:00
Julien Gilli
6b489e62d0
Now working on 0.12.7
2015-07-03 19:35:14 -07:00
Julien Gilli
9d3288c843
Merge branch 'v0.12.6-release' into v0.12
2015-07-03 19:34:23 -07:00
Julien Gilli
0be9a77bb1
2015.07.03, Version 0.12.6 (Stable)
...
* V8: fix out-of-band write in utf8 decoder
v0.12.6
2015-07-03 17:33:28 -07:00