summaryrefslogtreecommitdiff
path: root/node.gyp
Commit message (Collapse)AuthorAgeFilesLines
...
* | src: add libuv bindings moduleBen Noordhuis2013-07-201-0/+1
| | | | | | | | | | | | | | Exports: * all UV_E* error codes * a uv_err_name() binding
* | smalloc: create separate moduleTrevor Norris2013-07-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It will be confusing if later on we add Buffer#dispose(), and smalloc is its own cpp api anyways. So instead create a new require('smalloc') to expose the previous Buffer.alloc/dispose methods, and expose copyOnto and kMaxLength as well. Other changes: * Added documentation and additional tests. * smalloc::CopyOnto has changed from using assert() to throwing errors on bad argument values because it is not exposed to the user. * Minor style fixes.
* | configure: fix the --without-ssl optionNathan Rajlich2013-07-091-2/+2
| | | | | | | | Closes #5807.
* | lib, src: upgrade after v8 api changeBen Noordhuis2013-07-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a big commit that touches just about every file in the src/ directory. The V8 API has changed in significant ways. The most important changes are: * Binding functions take a const v8::FunctionCallbackInfo<T>& argument rather than a const v8::Arguments& argument. * Binding functions return void rather than v8::Handle<v8::Value>. The return value is returned with the args.GetReturnValue().Set() family of functions. * v8::Persistent<T> no longer derives from v8::Handle<T> and no longer allows you to directly dereference the object that the persistent handle points to. This means that the common pattern of caching oft-used JS values in a persistent handle no longer quite works, you first need to reconstruct a v8::Local<T> from the persistent handle with the Local<T>::New(isolate, persistent) factory method. A handful of (internal) convenience classes and functions have been added to make dealing with the new API a little easier. The most visible one is node::Cached<T>, which wraps a v8::Persistent<T> with some template sugar. It can hold arbitrary types but so far it's exclusively used for v8::Strings (which was by far the most commonly cached handle type.)
* | slab_allocator: remove SlabAllocatorTrevor Norris2013-07-031-2/+0
| | | | | | | | | | | | | | | | | | Now that Buffer instantiation has improved, the SlabAllocator is an unnecessary layer of complexity preventing further performance optimizations. Currently there is a small performance loss with very small stream requests, but this will soon be addressed.
* | smalloc: initial implementationTrevor Norris2013-06-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | smalloc is a simple utility for quickly allocating external memory onto js objects. This will be used to centralize how memory is managed in node, and will become the backer for Buffers. So in the future crypto's SlabBuffer, stream's SlabAllocator will be removed. Note on the js API: because no arguments are optional the order of arguments have been placed to match their cc counterparts as closely as possible.
* | tls: introduce TLSSocket based on tls_wrap bindingFedor Indutny2013-06-161-0/+2
| | | | | | | | | | | | | | | | Split `tls.js` into `_tls_legacy.js`, containing legacy `createSecurePair` API, and `_tls_wrap.js` containing new code based on `tls_wrap` binding. Remove tests that are no longer useful/valid.
* | tls_wrap: embed TLS encryption into streamwrapFedor Indutny2013-06-161-1/+6
| |
* | process: abstract out HandleToStreamFedor Indutny2013-06-151-0/+1
| | | | | | | | | | Originally contributed by @tjfontaine, but modified to be faster and more generic.
* | src: replace ngx-queue.h with queue.hBen Noordhuis2013-06-041-1/+1
| | | | | | | | No functional changes, just one less entry in the LICENSE file.
* | dtrace: unify dtrace and systemtap interfacesTimothy J Fontaine2013-05-221-21/+1
| |
* | Merge remote-tracking branch 'ry/v0.10' into masterisaacs2013-05-171-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog deps/uv/ChangeLog deps/uv/config-unix.mk deps/uv/src/unix/stream.c deps/uv/src/version.c deps/uv/uv.gyp src/node.cc src/node_buffer.cc src/node_crypto.cc src/node_version.h src/stream_wrap.cc src/stream_wrap.h
| * src: Add StringBytes static util classisaacs2013-05-141-0/+2
| | | | | | | | | | | | | | | | | | Four functions: - StringBytes::StorageSize() - StringBytes::Size() - StringBytes::Write() - StringBytes::Encode()
| * Revert "crypto: use better memory BIO implementation"Ben Noordhuis2013-04-101-2/+1
| | | | | | | | | | | | | | | | | | | | This change shouldn't have landed in the stable branch. It's a feature, not a bug fix. This reverts commit 58f93ffc4a23aa7240808288acf8cf9f3022abea. This reverts commit 8c8ebe49b62c47b0ac87d697d0bc3515604667c3. This reverts commit ba0f7b8066cb4dc8cb3cd4931e52aa94af40a709. This reverts commit 21f3c5c3670861436392f30da2033cccbc137309.
* | dtrace: enable uv's probes if enabledTimothy J Fontaine2013-05-151-3/+4
| |
* | vm: add support for timeout argumentAndrew Paprocki2013-04-291-0/+2
| | | | | | | | | | | | | | | | Add a watchdog class which executes a timer in a separate event loop in a separate thread that will terminate v8 execution if it expires. Add timeout argument to functions in vm module which use the watchdog if a non-zero timeout is specified.
* | build: libv8_base.a is now libv8_base.<arch>.aTimothy J Fontaine2013-04-181-1/+1
| | | | | | | | This fixes generating the v8 contstants for dtrace on smartos
* | http: split Client into _http_client.jsTimothy J Fontaine2013-04-171-0/+1
| |
* | http: move Server and ServerResponse outTimothy J Fontaine2013-04-171-0/+1
| |
* | http: move OutgoingMessage into it's own fileTimothy J Fontaine2013-04-171-0/+1
| |
* | http: move parsers into _http_common.jsTimothy J Fontaine2013-04-171-0/+1
| |
* | http: move IncomingMessage into its own fileTimothy J Fontaine2013-04-171-0/+1
| |
* | http: split Agent into its own fileTimothy J Fontaine2013-04-171-0/+1
| |
* | Merge remote-tracking branch 'ry/v0.10'isaacs2013-04-051-1/+2
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog deps/v8/src/json-parser.h lib/crypto.js src/node_version.h
| * crypto: use better memory BIO implementationFedor Indutny2013-04-051-1/+2
| |
| * build: allow building with dtrace on osxDave Pacheco2013-04-031-9/+25
| |
* | build: depend on v8 postmortem-metadata if enabledPaddy Byers2013-04-041-0/+3
| |
* | build: allow building with dtrace on osxDave Pacheco2013-03-301-9/+25
|/
* Revert "sunos: unbreak build after v8 downgrade"Fedor Indutny2013-02-261-10/+16
| | | | This reverts commit f80f3c5f62a3955636c1af1872ef9539a0b01cb0.
* sunos: unbreak build after v8 downgradeBen Noordhuis2013-02-261-16/+10
| | | | | | | | | | | | | | | | | | | Commit 3d67f89 ("fix generation of v8 constants on freebsd") is an unfortunate victim of this rollback. Revert "dtrace: fix generation of v8 constants on freebsd" Revert "dtrace: More style" Revert "dtrace: Make D style more D-ish" Revert "dtrace: x64 ustack helper" Revert "dtrace: fix style in ustack helper" Revert "dtrace: SeqAsciiString was renamed to SeqOneByteString in v8" This reverts commit 3d67f895521cf905922d20af9b03e5c73c363868. This reverts commit 321b8eec08d445d60a4149bfa71959936fc189c6. This reverts commit 38df9d51a229e1d74b2d1c2835353f07c784cfc3. This reverts commit f9afb3f01002e5667a0df80ee784af0dfe2305c2. This reverts commit 13296e4b13b5ed192c4faa6501f3efec2ded8ac1. This reverts commit 3b715edda97c8edfd95cc1fb8d31f92cef6bcc52.
* buffer: floating point read/write improvementsTrevor Norris2013-01-161-1/+0
| | | | | | | | | | | | | | | Improvements: * floating point operations are approx 4x's faster * Now write quiet NaN's * all read/write on floating point now done in C, so no more need for lib/buffer_ieee754.js * float values have more accurate min/max value checks * add additional benchmarks for buffers read/write * created benchmark/_bench_timer.js which is a simple library that can be included into any benchmark and provides an intelligent tracker for sync and async tests * add benchmarks for DataView set methods * add checks and tests to make sure offset is greater than 0
* dtrace: x64 ustack helperFedor Indutny2013-01-071-10/+16
|
* windows: improve Visual Studio Express build supportScott Blomquist2013-01-031-13/+13
| | | | | | | * Moved generated files to a clearer directory. * Improved detection logic for ctrpp.exe tool. Closes #4482
* build: allow to specify custom tagsMaciej MaƂecki2012-12-211-0/+1
| | | | | | | | | | | | When building custom `node` versions (e.g., floating features/fixes from different versions) it's often useful to specify a custom tag which easily identifies build when invoking `node -v`. Introduce a way to specify this tag in `node_version.h` file or by running `./configure --tag="<tag>"`. Insert it right after the patch version (and before `-pre`, if build is not a release). Closes #4452.
* Ease building with VS Express by checking in generated files.Scott Blomquist2012-12-211-12/+16
|
* Revert "build: enable DEAD_CODE_STRIPPING on OS X"Fedor Indutny2012-12-171-3/+0
| | | | | | This reverts commit 02dffb063e423688557e2f8004eb817d7626bf41. DEAD_CODE_STRIPPING is stripping out CRYPTO_set_add_lock_callback symbol on which some addons are relying.
* streams2: The new stream base classesisaacs2012-12-131-0/+5
|
* windows: add tracing with performance countersScott Blomquist2012-11-211-20/+44
| | | | Patch by Henry Rawas and Scott Blomquist.
* build: make python executable configurableBen Noordhuis2012-11-201-2/+2
| | | | | | Upstreamed in https://codereview.chromium.org/11418101/ Fixes #4287.
* build: allow linking against system libuvStephen Gallagher2012-11-161-1/+5
|
* build: enable DEAD_CODE_STRIPPING on OS XTimothy J Fontaine2012-11-061-0/+3
|
* build: allow linking against system c-aresStephen Gallagher2012-11-061-1/+5
|
* build: allow linking against system http_parserStephen Gallagher2012-11-061-1/+5
|
* tracing: add systemtap supportJan Wynholds2012-11-011-2/+31
|
* windows: correct outputs list in "node_etw" gyp targetScott Blomquist2012-10-291-2/+5
| | | | | | | | | The gyp target node_etw didn't list its output dependencies. This was causing virgin builds to fail with a "failed to open file for write" error. With this corrected outputs list, gyp reliably pre-creates required output directories.
* deps: upgrade libuv to 47b2cd3Ben Noordhuis2012-10-111-1/+1
|
* windows: fix typo in node.gypBert Belder2012-09-251-1/+1
|
* build: set `process.platform` to "sunos" on SunOSNathan Rajlich2012-08-291-0/+8
| | | | | | | gyp sets it to "solaris" by default, but versions of node v0.6.x and older would report "sunos". Let's keep things consistent. Fixes #3944.
* Remove node_io_watcherBert Belder2012-08-211-3/+0
|
* process: use uv_signal instead of ev_signalBert Belder2012-08-211-1/+1
|