summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* build: add rpmbuild .spec fileBen Noordhuis2014-11-052-0/+148
| | | | | | | | Add a .spec file and a rpmbuild(1) driver script. Useful for people on RHEL-based systems that want to compile and package from source. PR-URL: https://github.com/node-forward/node/pull/10 Reviewed-By: Rod Vagg <rod@vagg.org>
* build: remove python 2.7 dependencyBen Noordhuis2014-10-291-2/+1
| | | | | | | | Remove the dependency on the 'sysconfig' module, it breaks the build when $(PYTHON) is python 2.6. PR-URL: https://github.com/node-forward/node/pull/39 Reviewed-By: Fedor Indutny <fedor@indutny.com>
* test: make test runner multi-arch/mode compatibleBen Noordhuis2014-10-161-55/+34
| | | | | | | | | | | | | | | 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>
* tools: update certdata.txtBen Noordhuis2014-10-091-1410/+6778
| | | | | | | | | | 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>
* build: determine and use EXEEXT on windowsRay Donnelly2014-10-101-1/+3
| | | | | PR-URL: https://github.com/joyent/node/pull/8294 Reviewed-By: Fedor Indutny <fedor@indutny.com>
* build: i18n: py27 -> py26 dependencySteven R. Loomis2014-10-071-68/+73
| | | | | | | 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>
* build: i18n: move noisy variables to separate gypiSteven R. Loomis2014-10-071-0/+1
| | | | | Fixes: https://github.com/joyent/node/issues/7676#issuecomment-57535890 Reviewed-by: Trevor Norris <trev.norris@gmail.com>
* build, i18n: improve Intl build, add "--with-intl"Steven R. Loomis2014-10-017-0/+1249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* doc: fix optional parameter parsingTrevor Norris2014-09-291-5/+6
| | | | | | | | 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>
* deps: upgrade npm to 2.0.0Timothy J Fontaine2014-09-241-0/+7
|
* Merge remote-tracking branch 'upstream/v0.10' into v0.12Timothy J Fontaine2014-08-072-1/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Now working on 0.10.31Timothy J Fontaine2014-07-311-1/+1
| |
| * timers: backport f8193abJulien Gilli2014-07-311-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'upstream-rw/v0.10'Timothy J Fontaine2014-06-161-2/+2
|\ \ | |/
| * build: run wix tool chain out of processTimothy J Fontaine2014-06-131-2/+2
| | | | | | | | | | | | 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.
* | installer: copy smalloc.h on installationFedor Indutny2014-05-021-0/+1
| | | | | | | | | | | | fix #7485 Signed-off-by: Fedor Indutny <fedor@indutny.com>
* | Merge remote-tracking branch 'origin/v0.10'Fedor Indutny2014-03-022-4/+34
|\ \ | |/ | | | | | | | | | | | | Conflicts: configure lib/_stream_readable.js lib/http.js src/node_dtrace.cc
| * installer: copy `node.d` only with node_use_dtraceFedor Indutny2014-02-211-4/+2
| |
| * gyp: specialize node.d for freebsdFedor Indutny2014-02-212-1/+33
| | | | | | | | | | `node.d` should use `psinfo.d` instead of `procfs.d` and have statically defined architecture on FreeBSD.
* | wrk: compile on sunosTimothy J Fontaine2014-02-251-1/+1
| |
* | wrk: build against our distributed sslTimothy J Fontaine2014-02-251-3/+3
| |
* | tools: wrk update to 5b2fa06Timothy J Fontaine2014-02-25219-461/+115294
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2014-02-191-11/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * tools: update to support separate website repoTimothy J Fontaine2014-02-181-11/+11
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2014-02-13105-9690/+0
|\ \ | |/ | | | | | | Conflicts: doc/blog/feature/streams2.md
| * website: move website to joyent/node-websiteTimothy J Fontaine2014-02-13105-9690/+0
| | | | | | | | | | The website will no longer be living in the source repository instead it can be found at http://github.com/joyent/node-website
* | doc: skip type parsing inside code blocksVladimir Kurchatkin2014-01-221-2/+8
| | | | | | | | | | | | | | Since types are denoted with curly braces it can cause erroneous replaces in code blocks. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
* | addons: build and test examplesFedor Indutny2014-01-221-0/+94
| | | | | | | | fix #6910
* | test: move debugger repl into own sectionTimothy J Fontaine2014-01-201-1/+8
| |
* | Merge remote-tracking branch 'origin/v0.10'Trevor Norris2014-01-159-57/+115
|\ \ | |/ | | | | | | Conflicts: lib/domain.js
| * gyp: fix build with python 2.6Fedor Indutny2014-01-131-1/+2
| | | | | | | | fix #6859
| * deps: update gyp to 1eae492bFedor Indutny2014-01-138-56/+113
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2013-12-301-0/+1
|\ \ | |/
| * deps: update gyp to 828ce09Fedor Indutny2013-12-3012-134/+559
| |
| * build: install common.gypi along with headersT.C. Hollingsworth2013-12-201-0/+1
| | | | | | | | node-gyp requires this file
* | deps: update gyp to 828ce09Fedor Indutny2013-12-2712-134/+559
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2013-12-191-0/+36
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: ChangeLog deps/uv/AUTHORS deps/uv/ChangeLog deps/uv/src/version.c deps/v8/src/log-utils.cc src/node_version.h
| * build: unix install node and dep library headersTimothy J Fontaine2013-12-181-0/+36
| | | | | | | | | | Restores functionality from v0.8 where module authors may not be relying on gyp for building their modules.
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2013-12-1216-119/+1785
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gyp: update to 78b26f7Timothy J Fontaine2013-12-1116-119/+1785
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2013-11-1838-2136/+2222
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gyp: update to bebdceaTimothy J Fontaine2013-11-1038-2136/+2222
| |
* | tools: check in certdata.txt from mozilla NSSBen Noordhuis2013-11-091-0/+24785
| | | | | | | | | | | | | | | | | | | | 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.
* | tools: customize mk-ca-bundle.plBen Noordhuis2013-11-091-70/+30
| | | | | | | | | | Remove unneeded functionality and tweak the generated output so we can #include it in C++ source code.
* | tools: bundle mk-ca-bundle.pl from upstream curlBen Noordhuis2013-11-091-0/+241
| |
* | Merge remote-tracking branch 'upstream/v0.10'Timothy J Fontaine2013-10-251-189/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * blog: Remove wp-to-markdown scriptisaacs2013-10-091-189/+0
| |
* | cpplint: disallow if one-linersFedor Indutny2013-10-171-0/+4
| |
* | cpplint: disallow comma-first in C++Fedor Indutny2013-10-171-0/+3
| |
* | Merge remote-tracking branch 'ry/v0.10'isaacs2013-08-282-0/+98
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 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