- May 05, 2015
-
-
Ben Noordhuis authored
Pass the isolate explicitly. Overlooked in commit ccb199af ("src: fix deprecation warnings") because g++ 4.8 and 4.9 don't warn for it whereas g++ 5.1 does. PR-URL: https://github.com/iojs/io.js/pull/1577 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Rod Vagg authored
-
Rod Vagg authored
PR-URL: https://github.com/iojs/io.js/pull/1532 Notable Changes: * crypto: significantly reduced memory usage for TLS (Fedor Indutny & Сковорода Никита Андреевич) #1529 * net: socket.connect() now accepts a 'lookup' option for a custom DNS resolution mechanism, defaults to dns.lookup() (Evan Lucas) #1505 * npm: Upgrade npm to 2.9.0. See the v2.8.4 and v2.9.0 release notes for details. Notable items: - Add support for default author field to make npm init -y work without user-input (@othiym23) npm/npm/d8eee6cf9d - Include local modules in npm outdated and npm update (@ArnaudRinquin) npm/npm#7426 - The prefix used before the version number on npm version is now configurable via tag-version-prefix (@kkragenbrink) npm/npm#8014 * os: os.tmpdir() is now cross-platform consistent and will no longer returns a path with a trailling slash on any platform (Christian Tellnes) #747 * process: - process.nextTick() performance has been improved by between 2-42% across the benchmark suite, notable because this is heavily used across core (Brian White) #1548 - New process.geteuid(), process.seteuid(id), process.getegid() and process.setegid(id) methods allow you to get and set effective UID and GID of the process (Evan Lucas) #1536 * repl: - REPL history can be persisted across sessions if the NODE_REPL_HISTORY_FILE environment variable is set to a user accessible file, NODE_REPL_HISTORY_SIZE can set the maximum history size and defaults to 1000 (Chris Dickinson) #1513 - The REPL can be placed in to one of three modes using the NODE_REPL_MODE environment variable: sloppy, strict or magic (default); the new magic mode will automatically run "strict mode only" statements in strict mode (Chris Dickinson) #1513 * smalloc: the 'smalloc' module has been deprecated due to changes coming in V8 4.4 that will render it unusable * util: add Promise, Map and Set inspection support (Christopher Monsanto) #1471 * V8: upgrade to 4.2.77.18, see the ChangeLog for full details. Notable items: - Classes have moved out of staging; the class keyword is now usable in strict mode without flags - Object literal enhancements have moved out of staging; shorthand method and property syntax is now usable ({ method() { }, property }) - Rest parameters (function(...args) {}) are implemented in staging behind the --harmony-rest-parameters flag - Computed property names ({['foo'+'bar']:'bam'}) are implemented in staging behind the --harmony-computed-property-names flag - Unicode escapes ('\u{xxxx}') are implemented in staging behind the --harmony_unicode flag and the --harmony_unicode_regexps flag for use in regular expressions * Windows: - Random process termination on Windows fixed (Fedor Indutny) #1512 / #1563 - The delay-load hook introduced to fix issues with process naming (iojs.exe / node.exe) has been made opt-out for native add-ons. Native add-ons should include 'win_delay_load_hook': 'false' in their binding.gyp to disable this feature if they experience problems . (Bert Belder) #1433 * Governance: - Rod Vagg (@rvagg) was added to the Technical Committee (TC) - Jeremiah Senkpiel (@Fishrock123) was added to the Technical Committee (TC)
-
Rod Vagg authored
V8 4.2 introduces some minor C++ API changes that make it necessary for many native add-ons to recompile in order to be usable in v2.0.0+ PR-URL: https://github.com/iojs/io.js/pull/1532
-
Rod Vagg authored
PR-URL: https://github.com/iojs/io.js/pull/1613 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ben Noordhuis authored
It's not supported by clang and commit e67542ae ("build: disable -Og when building with clang") is not sufficient because the configure script no longer writes the 'clang' variable to common.gypi. I could fix the configure script but I don't care enough actually do so. A fixed configure script won't help anyway when the compiler is overridden through the CXX environment variable at compile time. PR-URL: https://github.com/iojs/io.js/pull/1611 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Chris Dickinson authored
The second step of augmenting the internal REPL with persistent history was to re-open the history file with a 'w' handle. This truncated the file. If a user did not enter a new line before closing the REPL, their history would be deleted. PR-URL: https://github.com/iojs/io.js/pull/1605 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Chris Dickinson authored
The _debugger module uses the internal REPL module, but expects to receive the userland REPL module. This fixes the breakage that occurs by proxying the userland REPL module through the internal module. It also fixes an unintended in-REPL bug, where require(node-module) was not resolving correctly. PR-URL: https://github.com/iojs/io.js/pull/1605 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
- May 04, 2015
-
-
Ben Noordhuis authored
clang does not yet support -Og, fall back to -O0. See: https://llvm.org/bugs/show_bug.cgi?id=20765 Fixes: https://github.com/iojs/io.js/issues/1608 PR-URL: https://github.com/iojs/io.js/pull/1609 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ben Noordhuis authored
Fix the following (non-serious) compiler warning: ../src/node_http_parser.cc:558:1: warning: missing initializer for member 'http_parser_settings::on_chunk_header' [-Wmissing-field-initializers] }; ^ ../src/node_http_parser.cc:558:1: warning: missing initializer for member 'http_parser_settings::on_chunk_complete' [-Wmissing-field-initializers] Introduced in commit b3a7da10 ("deps: update http_parser to 2.5.0"). PR-URL: https://github.com/iojs/io.js/pull/1606 Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Сковорода Никита Андреевич authored
This makes `TLSWrap` and `SecureContext` objects collectable by the incremental gc. `res = null` destroys the cyclic reference in the `reading` property. `this.ssl = null` removes the remaining reference to the `TLSWrap`. `this.ssl._secureContext.context = null` removes the reference to the `SecureContext` object, even though there might be references to `this.ssl._secureContext` somewhere. The `reading` property will now throw an error if accessed after the socket is closed, but that should not happen. PR-URL: https://github.com/iojs/io.js/pull/1580 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Rod Vagg authored
Update AUTHORS list using tools/update-authors.sh PR-URL: https://github.com/iojs/io.js/pull/1586 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Rod Vagg authored
This reverts commit 3fd7fc42. It was agreed that this change contained too much potential ecosystem breakage, particularly around the inability to `delete` properties off a `Url` object. It may be re-introduced for a later release, along with better work on ecosystem compatibility. PR-URL: https://github.com/iojs/io.js/pull/1602 Reviewed-By:
Mikeal Rogers <mikeal.rogers@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Forrest L Norvell <forrest@npmjs.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Isaac Z. Schlueter <i@izs.me> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rod Vagg authored
This reverts commit dbdd81a9 . It was agreed that this change contained too much potential ecosystem breakage, particularly around the inability to `delete` properties off a `Url` object. It may be re-introduced for a later release, along with better work on ecosystem compatibility. PR-URL: #1602 Reviewed-By:
Mikeal Rogers <mikeal.rogers@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Forrest L Norvell <forrest@npmjs.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Isaac Z. Schlueter <i@izs.me> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rod Vagg authored
This reverts commit 66877216 . It was agreed that this change contained too much potential ecosystem breakage, particularly around the inability to `delete` properties off a `Url` object. It may be re-introduced for a later release, along with better work on ecosystem compatibility. PR-URL: #1602 Reviewed-By:
Mikeal Rogers <mikeal.rogers@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Forrest L Norvell <forrest@npmjs.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Isaac Z. Schlueter <i@izs.me> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- May 03, 2015
-
-
Petka Antonov authored
In addition to null, undefined and the empty string are treated as empty (removing the component from the url). The string '#' is treated same as empty values when setting .hash. The string '?' is treated same as empty values when setting .search. PR-URL: https://github.com/iojs/io.js/pull/1589 Fixes: https://github.com/iojs/io.js/issues/1588 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Petka Antonov authored
PR-URL: https://github.com/iojs/io.js/pull/1589 Fixes: https://github.com/iojs/io.js/issues/1588 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Fedor Indutny authored
`StreamBase::AfterWrite` is passing handle as an argument to the `afterWrite` function in net.js. Thus GC should not collect the handle and the request separately and assume that they are tied together. With this commit - request will always outlive the StreamBase instance, helping us survive the GC pass. Same applies to the ShutdownWrap instances, they should never be collected after the StreamBase instance. Fix: https://github.com/iojs/io.js/pull/1580 PR-URL: https://github.com/iojs/io.js/pull/1590 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Nick Raienko authored
PR-URL: https://github.com/iojs/io.js/pull/1504 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Roman Reiss authored
Issue #1575 did introduce a check for options.terminal but this variable wasn't able to get truthy, which in turn broke persistent history completely. This changes the variable to get truthy on true terminals. Additionally, the docs and the code did differ on which environment variable was used for history. This changes the code to use NODE_REPL_HISTORY_FILE. PR-URL: https://github.com/iojs/io.js/pull/1593 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- May 02, 2015
-
-
Alexander Gromnitsky authored
PR-URL: https://github.com/iojs/io.js/pull/1584 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Petka Antonov authored
(landed by @rvagg) PR-URL: https://github.com/iojs/io.js/pull/1561 Reviewed-By:
Domenic Denicola <domenic@domenicdenicola.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Rod Vagg authored
Closes: https://github.com/iojs/io.js/pull/1502 PR-URL: https://github.com/iojs/io.js/pull/1556 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Brian White authored
This commit uses separate functions to isolate deopts caused by try-catches and avoids fn.apply() for callbacks with small numbers of arguments. These changes improve performance by ~1-40% in the various nextTick benchmarks. PR-URL: https://github.com/iojs/io.js/pull/1571 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Fedor Indutny authored
When running in non-TTY mode - the `repl.history` is `undefined` and is not actually populated. Saving it will result in a crashes of subsequent repl runs. Fix: https://github.com/iojs/io.js/issues/1574 PR-URL: https://github.com/iojs/io.js/pull/1575 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Jeremiah Senkpiel authored
PR-URL: https://github.com/iojs/io.js/pull/1582 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Conflicts: src/node_version.h
-
Bert Belder authored
On Windows, when node or io.js attempts to dynamically load a compiled addon, the compiled addon tries to load node.exe or iojs.exe again - depending on which import library the module used when it was linked. This causes many compiled addons to break when node.exe or iojs.exe are renamed, because when the binary has been renamed the addon DLL can't find the (right) .exe file to load its imports from. This patch gives compiled addon developers an option to overcome this restriction by compiling a delay-load hook into their binary. The delay-load hook ensures that whenever a module tries to load imports from node.exe/iojs.exe, it'll just look at the process image, thereby making the addon work regardless of what name the node/iojs binary has. To enable this feature, the addon developer must set the 'win_delay_load_hook' option to 'true' in their binding.gyp file, like this: ``` { 'targets': [ { 'target_name': 'ernie', 'win_delay_load_hook': 'true', ... ``` Bug: https://github.com/iojs/io.js/issues/751 Bug: https://github.com/iojs/io.js/issues/965 Upstream PR: https://github.com/TooTallNate/node-gyp/pull/599 PR-URL: https://github.com/iojs/io.js/pull/1251 Reviewed-By:Rod Vagg <rod@vagg.org> PR-URL: https://github.com/iojs/io.js/pull/1266 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
Every npm version bump requires a few patches to be floated on node-gyp for io.js compatibility. These patches are found in 03d19927, 5de334c2, and da730c76. This commit squashes them into a single commit. PR-URL: https://github.com/iojs/io.js/pull/990 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Forrest L Norvell authored
PR-URL: https://github.com/iojs/io.js/pull/1573 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Roman Reiss authored
This adds a few previously undocumented option to both functions. PR-URL: https://github.com/iojs/io.js/pull/1551 Fixes: https://github.com/iojs/io.js/issues/1082 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- May 01, 2015
-
-
Fedor Indutny authored
Do not enable ClientHello parser for async SNI/OCSP. Use new OpenSSL-1.0.2's API `SSL_set_cert_cb` to pause the handshake process and load the cert/OCSP response asynchronously. Hopefuly this will make whole async SNI/OCSP process much faster and will eventually let us remove the ClientHello parser itself (which is currently used only for async session, see #1462 for the discussion of removing it). NOTE: Ported our code to `SSL_CTX_add1_chain_cert` to use `SSL_CTX_get0_chain_certs` in `CertCbDone`. Test provided for this feature. Fix: https://github.com/iojs/io.js/issues/1423 PR-URL: https://github.com/iojs/io.js/pull/1464 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Fedor Indutny authored
Dispatch requests in the implementation of the stream, not in the code creating these requests. The requests might be piled up and invoked internally in the implementation, so it should know better when it is the time to dispatch them. In fact, TLS was doing exactly this thing which led us to... Fix: https://github.com/iojs/io.js/issues/1512 PR-URL: https://github.com/iojs/io.js/pull/1563 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Ben Noordhuis authored
The resulting binary is still easy to inspect in gdb but is not as dog slow. The 'parallel' test suite, although it takes several minutes to complete, now finishes without any tests timing out. PR-URL: https://github.com/iojs/io.js/pull/1569 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Chris Dickinson authored
this creates a new internal module responsible for providing the repl created via "iojs" or "iojs -i," and adds the following options to the readline and repl subsystems: * "repl mode" - determine whether a repl is strict mode, sloppy mode, or auto-detect mode. * historySize - determine the maximum number of lines a repl will store as history. The built-in repl gains persistent history support when the NODE_REPL_HISTORY_FILE environment variable is set. This functionality is not exposed to userland repl instances. PR-URL: https://github.com/iojs/io.js/pull/1513 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Johan Bergström authored
Minor edits to current build flags and its help texts as well as grouping shared and i18n options into separate option groups. Also, validate i18n default/logic similar to how we treat other options. `--download` isn't really intl-specific but is only used for that purpose which is why it's grouped similarly. PR-URL: https://github.com/iojs/io.js/pull/1533 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Steven R. Loomis <srl@icu-project.org>
-
Roman Klauke authored
Calling ./configure --xcode creates xcode projects and a workspace for io.js. PR-URL: https://github.com/iojs/io.js/pull/1562 Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Ben Noordhuis authored
Upcoming V8 changes will make it impossible to keep supporting the smalloc module so deprecate it now and tell people to switch to typed arrays. PR-URL: https://github.com/iojs/io.js/pull/1566 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Apr 30, 2015
-
-
Fedor Indutny authored
Destroy singleUse context right after it is going out of use. Fix: https://github.com/iojs/io.js/issues/1522 PR-URL: https://github.com/iojs/io.js/pull/1529 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Fedor Indutny authored
When connecting to server with `keepAlive` turned off - make sure that the read/write buffers won't be kept in a single use SSL_CTX instance after the socket will be destroyed. Fix: https://github.com/iojs/io.js/issues/1522 PR-URL: https://github.com/iojs/io.js/pull/1529 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Fedor Indutny authored
Ensure that GC kicks in at the right times and the RSS does not blow up. Fix: https://github.com/iojs/io.js/issues/1522 PR-URL: https://github.com/iojs/io.js/pull/1529 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-