summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2014-10-16test: make test runner multi-arch/mode compatibleBen Noordhuis
Make `python tools/test.py --arch=ia32,x64 --mode=debug,release` work. The test runner looks for the `node` binary in `out/${arch}.${mode}/`. Running tools/test.py without --arch makes it use `out/Release/node` or `out/Debug/node` like before. This commit removes `test/simple/test-executable-path.js` because the assumptions it makes about the locations of the debug and release binaries are now outdated. PR-URL: https://github.com/node-forward/node/pull/24 Reviewed-By: Fedor Indutny <fedor@indutny.com>
2014-10-09tools: update certdata.txtBen Noordhuis
This is the latest certdata.txt from [0], last updated on 2014-10-08. [0] https://hg.mozilla.org/mozilla-central/raw-file/f0bb13ef0ee4/security/nss/lib/ckfw/builtins/certdata.txt PR-URL: https://github.com/node-forward/node/pull/7 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Trevor Norris <trevnorris@gmail.com>
2014-10-10build: determine and use EXEEXT on windowsRay Donnelly
PR-URL: https://github.com/joyent/node/pull/8294 Reviewed-By: Fedor Indutny <fedor@indutny.com>
2014-10-07build: i18n: py27 -> py26 dependencySteven R. Loomis
Move from argparse to optparse for dependency management. Fixes: https://github.com/joyent/node/pull/7719#issuecomment-56868172 Reviewed-by: Trevor Norris <trev.norris@gmail.com>
2014-10-07build: i18n: move noisy variables to separate gypiSteven R. Loomis
Fixes: https://github.com/joyent/node/issues/7676#issuecomment-57535890 Reviewed-by: Trevor Norris <trev.norris@gmail.com>
2014-10-01build, i18n: improve Intl build, add "--with-intl"Steven R. Loomis
The two main goals of this change are: - To make it easier to build the Intl option using ICU (particularly, using a newer ICU than v8/Chromium's version) - To enable a much smaller ICU build with only English support The goal here is to get node.js binaries built this way by default so that the Intl API can be used. Additional data can be added at execution time (see Readme and wiki) More details are at https://github.com/joyent/node/pull/7719 In particular, this change adds the "--with-intl=" configure option to provide more ways of building "Intl": - "full-icu" picks up an ICU from deps/icu - "small-icu" is similar, but builds only English - "system-icu" uses pkg-config to find an installed ICU - "none" does nothing (no Intl) For Windows builds, the "full-icu" or "small-icu" options are added to vcbuild.bat. Note that the existing "--with-icu-path" option is not removed from configure, but may not be used alongside the new option. Wiki changes have already been made on https://github.com/joyent/node/wiki/Installation and a new page created at https://github.com/joyent/node/wiki/Intl (marked as provisional until this change lands.) Summary of changes: * README.md : doc updates * .gitignore : added "deps/icu" as this is the location where ICU is unpacked to. * Makefile : added the tools/icu/* files to cpplint, but excluded a problematic file. * configure : added the "--with-intl" option mentioned above. Calculate at config time the list of ICU source files to use and data packaging options. * node.gyp : add the new files src/node_i18n.cc/.h as well as ICU linkage. * src/node.cc : add call into node::i18n::InitializeICUDirectory(icu_data_dir) as well as new --icu-data-dir option and NODE_ICU_DATA env variable to configure ICU data loading. This loading is only relevant in the "small" configuration. * src/node_i18n.cc : new source file for the above Initialize.. function, to setup ICU as needed. * tools/icu : new directory with some tools needed for this build. * tools/icu/icu-generic.gyp : new .gyp file that builds ICU in some new ways, both on unix/mac and windows. * tools/icu/icu-system.gyp : new .gyp file to build node against a pkg-config detected ICU. * tools/icu/icu_small.json : new config file for the "English-only" small build. * tools/icu/icutrim.py : new tool for trimming down ICU data. Reads the above .json file. * tools/icu/iculslocs.cc : new tool for repairing ICU data manifests after trim operation. * tools/icu/no-op.cc : dummy file to force .gyp into using a C++ linker. * vcbuild.bat : added small-icu and full-icu options, to call into configure. * Fixed toolset dependencies, see https://github.com/joyent/node/pull/7719#issuecomment-54641687 Note that because of a bug in gyp {CC,CXX}_host must also be set. Otherwise gcc/g++ will be used by default for part of the build. Reviewed-by: Trevor Norris <trev.norris@gmail.com> Reviewed-by: Fedor Indutny <fedor@indutny.com>
2014-09-29doc: fix optional parameter parsingTrevor Norris
The parameter parser specifically looked for the old bracket syntax. This generated a lot of warnings when building the docs. Those warnings have been fixed by changing the parsing logic. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-09-24deps: upgrade npm to 2.0.0Timothy J Fontaine
2014-08-07Merge remote-tracking branch 'upstream/v0.10' into v0.12Timothy J Fontaine
Conflicts: ChangeLog Makefile deps/uv/ChangeLog deps/uv/build.mk deps/uv/src/unix/darwin.c deps/uv/src/unix/getaddrinfo.c deps/uv/src/version.c deps/v8/src/checks.h deps/v8/src/isolate.h lib/cluster.js lib/module.js lib/timers.js lib/tls.js src/node_version.h
2014-07-31Now working on 0.10.31Timothy J Fontaine
2014-07-31timers: backport f8193abJulien Gilli
Original commit message: timers: use uv_now instead of Date.now This saves a few calls to gettimeofday which can be expensive, and potentially subject to clock drift. Instead use the loop time which uses hrtime internally. In addition to the backport, this commit: - keeps _idleStart timers' property which is still set to Date.now() to avoid breaking existing code that uses it, even if its use is discouraged. - adds automated tests. These tests use a specific branch of libfaketime that hasn't been submitted upstream yet. libfaketime is git cloned if needed when running automated tests. Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
2014-06-16Merge remote-tracking branch 'upstream-rw/v0.10'Timothy J Fontaine
2014-06-13build: run wix tool chain out of processTimothy J Fontaine
Building MSIs for different arch's can sometimes confuse MSBuild and Wix, isntead run the toolchain externally so we don't have to worry about which arch cmd.exe is running as.
2014-05-02installer: copy smalloc.h on installationFedor Indutny
fix #7485 Signed-off-by: Fedor Indutny <fedor@indutny.com>
2014-03-02Merge remote-tracking branch 'origin/v0.10'Fedor Indutny
Conflicts: configure lib/_stream_readable.js lib/http.js src/node_dtrace.cc
2014-02-25wrk: compile on sunosTimothy J Fontaine
2014-02-25wrk: build against our distributed sslTimothy J Fontaine
2014-02-25tools: wrk update to 5b2fa06Timothy J Fontaine
2014-02-21installer: copy `node.d` only with node_use_dtraceFedor Indutny
2014-02-21gyp: specialize node.d for freebsdFedor Indutny
`node.d` should use `psinfo.d` instead of `procfs.d` and have statically defined architecture on FreeBSD.
2014-02-19Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: AUTHORS ChangeLog deps/uv/AUTHORS deps/uv/ChangeLog deps/uv/build.mk deps/uv/src/unix/linux-core.c deps/uv/src/unix/stream.c deps/uv/src/unix/sunos.c deps/uv/src/version.c src/node_version.h
2014-02-18tools: update to support separate website repoTimothy J Fontaine
2014-02-13Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: doc/blog/feature/streams2.md
2014-02-13website: move website to joyent/node-websiteTimothy J Fontaine
The website will no longer be living in the source repository instead it can be found at http://github.com/joyent/node-website
2014-01-22doc: skip type parsing inside code blocksVladimir Kurchatkin
Since types are denoted with curly braces it can cause erroneous replaces in code blocks. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-01-22addons: build and test examplesFedor Indutny
fix #6910
2014-01-20test: move debugger repl into own sectionTimothy J Fontaine
2014-01-15Merge remote-tracking branch 'origin/v0.10'Trevor Norris
Conflicts: lib/domain.js
2014-01-13gyp: fix build with python 2.6Fedor Indutny
fix #6859
2014-01-13deps: update gyp to 1eae492bFedor Indutny
2013-12-30Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
2013-12-30deps: update gyp to 828ce09Fedor Indutny
2013-12-27deps: update gyp to 828ce09Fedor Indutny
2013-12-20build: install common.gypi along with headersT.C. Hollingsworth
node-gyp requires this file
2013-12-19Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: ChangeLog deps/uv/AUTHORS deps/uv/ChangeLog deps/uv/src/version.c deps/v8/src/log-utils.cc src/node_version.h
2013-12-18build: unix install node and dep library headersTimothy J Fontaine
Restores functionality from v0.8 where module authors may not be relying on gyp for building their modules.
2013-12-12Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: AUTHORS ChangeLog deps/uv/.mailmap deps/uv/ChangeLog deps/uv/build.mk deps/uv/src/unix/darwin.c deps/uv/src/unix/udp.c deps/uv/src/version.c deps/uv/test/test-list.h src/node_version.h
2013-12-11gyp: update to 78b26f7Timothy J Fontaine
2013-11-18Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: AUTHORS ChangeLog deps/uv/AUTHORS deps/uv/ChangeLog deps/uv/README.md deps/uv/build.mk deps/uv/src/unix/core.c deps/uv/src/unix/darwin-proctitle.c deps/uv/src/unix/darwin.c deps/uv/src/unix/fsevents.c deps/uv/src/unix/udp.c deps/uv/src/version.c deps/v8/src/platform-solaris.cc deps/v8/test/cctest/test-api.cc lib/tls.js src/node.h src/node_version.h
2013-11-10gyp: update to bebdceaTimothy J Fontaine
2013-11-09tools: check in certdata.txt from mozilla NSSBen Noordhuis
This is a file from the NSS project containing root certificate data. It can be downloaded from: https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 Once downloaded, running `perl tools/mk-ca-bundle.pl` will update src/node_root_certs.h. Commit, rebuild and go.
2013-11-09tools: customize mk-ca-bundle.plBen Noordhuis
Remove unneeded functionality and tweak the generated output so we can #include it in C++ source code.
2013-11-09tools: bundle mk-ca-bundle.pl from upstream curlBen Noordhuis
2013-10-25Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine
Conflicts: ChangeLog deps/uv/ChangeLog deps/uv/include/uv-darwin.h deps/uv/src/unix/fsevents.c deps/uv/src/unix/process.c deps/uv/src/version.c doc/api/addons.markdown doc/api/cluster.markdown doc/api/http.markdown lib/http.js lib/tls.js src/node_crypto.cc src/node_http_parser.cc src/node_version.h src/pipe_wrap.cc src/v8abbr.h src/v8ustack.d test/simple/test-http-pipeline-flood.js
2013-10-17cpplint: disallow if one-linersFedor Indutny
2013-10-17cpplint: disallow comma-first in C++Fedor Indutny
2013-10-09blog: Remove wp-to-markdown scriptisaacs
2013-08-28Merge remote-tracking branch 'ry/v0.10'isaacs
Conflicts: AUTHORS ChangeLog deps/uv/ChangeLog deps/uv/include/uv-darwin.h deps/uv/src/unix/darwin.c deps/uv/src/unix/fsevents.c deps/uv/src/version.c lib/_stream_writable.js src/node_version.h
2013-08-21tools: script release steps after jenkins buildTimothy J Fontaine
2013-08-21tools: script to report [un]stable buildTimothy J Fontaine