Herbert Vojčík
3e0a8f3ad8
Common subexpression in emit.
14 years ago
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
14 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
14 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.
14 years ago
Tony Metzidis
debf389490
Catch Exceptions thrown when openssl is disabled
14 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'
14 years ago
Ryan Dahl
efdd73c8e4
Fix style in node_object_wrap.h
14 years ago
Ryan Dahl
aef0d8086b
Add lfs flags to node addon script
14 years ago
Ryan Dahl
2d09ef8541
Fix style in readline
14 years ago
Ryan Dahl
0ef8a86af2
Add SIGWINCH handler for readline
14 years ago
Ryan Dahl
678fa31136
add to todo
14 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()
14 years ago
Ryan Dahl
3a9570386a
Fix fs.realpathSync('/')
14 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.
14 years ago
Ryan Dahl
7628905a9b
Don't use empty.js - breaks module test
14 years ago
Felix Geisendörfer
f870240dcf
Simple benchmark for node's startup time
14 years ago
Ryan Dahl
5d42cc3a44
Use SetPointerInInternalField
14 years ago
Ryan Dahl
98683d285c
Merge branch 'fast-buffer'
14 years ago
Ryan Dahl
b8bfbdab48
Rename SlowBuffer in binding
14 years ago
Ryan Dahl
5bc4efe820
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
14 years ago
Ryan Dahl
380d12832c
Remove dead code
14 years ago
Ryan Dahl
efc723787a
Fix big string bug
14 years ago
Ryan Dahl
71d67dbf48
Remove fancy SlowBuffer constructor
14 years ago
Ryan Dahl
ba2e4a2306
Simplify fast buffer constructor
14 years ago
Ryan Dahl
3e9f636b64
Improve long buffer test
14 years ago
Ryan Dahl
8078ed1f86
Expose fast-buffer bug in tests
14 years ago
Ryan Dahl
ff027d571b
Update fast buffer benchmarks
14 years ago
Ryan Dahl
17ba821e60
defineProperty is slow, don't use it for fastbuffer
14 years ago
Ryan Dahl
d3fcd1c75a
Expose SlowBuffer
14 years ago
Ryan Dahl
6135941eea
Fix ByteLength hangup
14 years ago
Ryan Dahl
8b4f1e05f9
Expose Buffer.poolSize
14 years ago
Ryan Dahl
5da4faf8c7
fast buffers for crypto
14 years ago
Ryan Dahl
5f935f6c14
Fast buffers for http-parser
14 years ago
Ryan Dahl
5506f99dfa
map charsWritten to fast buffer
14 years ago
Ryan Dahl
ececd92f62
Fix base64 write for buffers
14 years ago
Ryan Dahl
1f947f7b41
remove unnecessary casts
14 years ago
Ryan Dahl
7b772f3f68
More fast buffer work
14 years ago
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
14 years ago