Herbert Vojčík
4e6b9b0992
No need to do if (internalModuleCache...), it's in requireNative.
14 years ago
Herbert Vojčík
d429033fd7
Module system moved to the bottom, where only is it needed.
(this also splits the file into upper "setup" and lower "startup" sections)
14 years ago
Herbert Vojčík
6abbfa09ff
m.id unneccessary, id is enough.
14 years ago
Herbert Vojčík
bcad5403d6
Natives having their own self-contained minimalistic module system.
The main system is built upon this, and is optional, if only natives
are used in application (eg. node-core).
Natives not loaded into own context if NODE_MODULE_CONTEXTS=1.
This have its inner logic, if natives are seen just as lazy-loaded
parts of the core.
14 years ago
Ryan Dahl
f47ad10db7
Remove a few old deprecation warnings
14 years ago
Sam Stephenson
6560ab9073
Send multiple header lines in ServerResponse#writeHead when header values are arrays
14 years ago
Ryan Dahl
6bdc42cee7
shorten some lines in events.js
14 years ago
Ryan Dahl
ae8f8e7258
Optimize emit for two arguments
14 years ago
Ryan Dahl
feea1330cc
Make a list of known globals
And fix missing var!
It would be good to get this script running at the end of every test, so we
know that modules aren't leaking either - but it will require a lot
modification of the tests so that they themselves aren't leaking globals.
14 years ago
Ryan Dahl
77fc61d539
Default value for second arg of Buffer#slice
14 years ago
Mark Nottingham
4fe3007a1a
Support for outgoing HTTP trailing headers
15 years ago
Ryan Dahl
83ff473d30
Use child_process.exec rather than sys.exec
14 years ago
isaacs
686d9f9cc6
Bug in realpath with symlinks to absolute folder paths which have children.
Found by Cliffano Subagio
http://groups.google.com/group/nodejs/browse_thread/thread/f46f093938265ac0/387e14da08c7dd7b ?
14 years ago
Ryan Dahl
61448bfc4e
Upgrade libeio
15 years ago
Peter Griess
422d3c93bc
Get rid of PHP/Rails style parameter munging.
- Handle only the most basic of query string parsing and construction.
Leave the rest (e.g. Rails/PHP behaviors) to modules higher up the
stack, like Express.
15 years ago
Tony Metzidis
debf389490
Catch Exceptions thrown when openssl is disabled
15 years ago
Tony Metzidis
5c9b9c2e70
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
15 years ago
Ryan Dahl
efdd73c8e4
Fix style in node_object_wrap.h
15 years ago
Ryan Dahl
aef0d8086b
Add lfs flags to node addon script
15 years ago
Ryan Dahl
2d09ef8541
Fix style in readline
15 years ago
Ryan Dahl
0ef8a86af2
Add SIGWINCH handler for readline
15 years ago
Ryan Dahl
678fa31136
add to todo
15 years ago
Paul Querna
9a701b0a70
Expose fingerproint from getPeerCertificate
Expose the SHA1 digest of the certificate as the fingerprint attribute in
the object returned by getPeerCertificate()
15 years ago
Ryan Dahl
3a9570386a
Fix fs.realpathSync('/')
15 years ago
isaacs
85fb47c11c
Better temporary directory handling for tests.
Add a setUp and tearDown function to the test case class, and use it to
create and remove the test/tmp directory for each test.
TODO: amend other tests.
15 years ago
Ryan Dahl
7628905a9b
Don't use empty.js - breaks module test
15 years ago
Felix Geisendörfer
f870240dcf
Simple benchmark for node's startup time
15 years ago
Ryan Dahl
5d42cc3a44
Use SetPointerInInternalField
15 years ago
Ryan Dahl
98683d285c
Merge branch 'fast-buffer'
15 years ago
Ryan Dahl
b8bfbdab48
Rename SlowBuffer in binding
15 years ago
Ryan Dahl
5bc4efe820
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
15 years ago
Ryan Dahl
380d12832c
Remove dead code
15 years ago
Ryan Dahl
efc723787a
Fix big string bug
15 years ago
Ryan Dahl
71d67dbf48
Remove fancy SlowBuffer constructor
15 years ago
Ryan Dahl
ba2e4a2306
Simplify fast buffer constructor
15 years ago
Ryan Dahl
3e9f636b64
Improve long buffer test
15 years ago
Ryan Dahl
8078ed1f86
Expose fast-buffer bug in tests
15 years ago
Ryan Dahl
ff027d571b
Update fast buffer benchmarks
15 years ago
Ryan Dahl
17ba821e60
defineProperty is slow, don't use it for fastbuffer
15 years ago
Ryan Dahl
d3fcd1c75a
Expose SlowBuffer
15 years ago
Ryan Dahl
6135941eea
Fix ByteLength hangup
15 years ago
Ryan Dahl
8b4f1e05f9
Expose Buffer.poolSize
15 years ago
Ryan Dahl
5da4faf8c7
fast buffers for crypto
15 years ago
Ryan Dahl
5f935f6c14
Fast buffers for http-parser
15 years ago
Ryan Dahl
5506f99dfa
map charsWritten to fast buffer
15 years ago
Ryan Dahl
ececd92f62
Fix base64 write for buffers
15 years ago
Ryan Dahl
1f947f7b41
remove unnecessary casts
15 years ago
Ryan Dahl
7b772f3f68
More fast buffer work
15 years ago
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
15 years ago
Tim-Smart
6ea99721f1
string.length !== Buffer.byteLength(string)
15 years ago