Niclas Hoyer
b7e36f8584
added test case for foaf+ssl client certificate
14 years ago
koichik
6f60683802
tls: x509 certificate subject parsing fail
Fixes #1568 .
14 years ago
Bert Belder
c96ef84427
Revert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"
We'll solve this problem with a .gitattributes file.
This reverts commit 27ef0b0903
.
14 years ago
Bert Belder
27ef0b0903
Make test-sync-fileread pass even when git cr/lf conversion is enabled
14 years ago
Ben Noordhuis
ac722bbed6
module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440 .
14 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
isaacs
7f0047c2d5
Close #1348 Remove require.paths
Module.globalPaths is still set to a read-only copy of the global
include paths pulled off of the NODE_PATH environment variable.
It's important to be able to inspect this, but modifying it no longer
has any effect.
14 years ago
isaacs
9b5098f509
Close #1281 Make require a public member of module
Reviewed by @felixge
14 years ago
Mathias Buus
39246f65df
Closes #1177 remove one node_modules optimization
to better support certain project structures.
14 years ago
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
Fixes #1166 .
14 years ago
isaacs
9967c369c9
AMD compatibility for node, with docs and tests
Closes #1173
Closes #1170
14 years ago
Ryan Dahl
9e26dab150
child_process.spawnNode
For making easy worker processes.
14 years ago
Ryan Dahl
296ff04cdc
Test to demonstrate #892
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
36e75b7351
Fix HTTP agent disconnection problem
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
14 years ago
Ryan Dahl
2e40328c82
Extend OpenSSL expiration dates
14 years ago
isaacs
f8defa3e09
package.json main as indexed subdir
Closes GH-686.
14 years ago
Theo Schlossnagle
01a864a29d
TLS: CRL support
Needs more tests.
14 years ago
Ryan Dahl
778fb859c6
New keys, agent1-cert.pem was expired
14 years ago
isaacs
81b4d45354
Better assert in the node_modules tests
14 years ago
isaacs
46513483cd
node_modules module lookup, +docs and test.
14 years ago
isaacs
da2f4b2dc4
support for package.json
This adds basic support for situations where there is a package.json
with a "main" field. That "main" module is used as the code that is
loaded when the package folder is required.
14 years ago
isaacs
f86ec1366f
Closes GH-619 Make require.main be the main module
14 years ago
Greg Hughes
6c32e155d3
Add ext_key_usage to getPeerCertificate
14 years ago
isaacs
6cdeb3b3fd
A module ID with a trailing slash must be a dir.
require('./foo/') should not try to load './foo.js'. It should only
look for ./foo/index.js
Closes GH-588
14 years ago
Daniel Ennis
52f93185c7
Adding support for require-like initialization of node,
so `node foo`
will load one of:
./foo.js
./foo.node
./foo/index.js
./foo/index.node
Test cases added.
Ensured no conflict with native names.
14 years ago
Ryan Dahl
907e569980
Fix expired keys
14 years ago
Ryan Dahl
5d60b06b76
Add 'make test' to test/fixtures/keys/Makefile
14 years ago
Ryan Dahl
ee5366a410
Fix CNs for agent keys; can't be the same as CA's CN
Also add makefile for easy tweaking.
14 years ago
Ryan Dahl
5b8c62f7d1
Add broken, but detailed TLS verify test
Plus a bunch of keys.
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
92789b16e5
Fix global leaks
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Oleg Efimov
c0d69a4883
GJSLint part of tests
14 years ago
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
14 years ago
Ryan Dahl
15d5378684
Add failing test for TLS server
14 years ago
Ryan Dahl
fa556a1425
Add callback to socket.write(), fix test-sendfds
14 years ago
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
isaacs
dff1b5ad10
Don't try to run extension loaders unless they're actually functions
14 years ago
Ryan Dahl
4962702e4a
Revert requireNative changes: 4e6b9b0
, d429033
, 6abbfa0
, bcad540
The REPL needs the full require(); add test for that behavior.
14 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
Herbert Vojčík
6789ab16d8
Modifying test-global to accomodate v8 inter-context 'global' protection.
15 years ago
Herbert Vojčík
2a03d5802b
Removing test-global-between-modules.
Using "global" to push data to require()d modules
not supported under NODE_MODULE_CONTEXTS=1.
15 years ago
Herbert Vojčík
2b126da395
Tests for behaviour of 'global'.
15 years ago
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
Plus, getting rid of test/common.js defining things in global.
15 years ago
Nick Stenning
0a3eff8021
Standardise module load order for native and registered file extensions.
This patch standardises the load order for modules. Highest priority is trying to load exactly the file the user specified, followed by native extensions, followed by registered extra extensions, etc.
In full, if we require('foo') having registered '.coffee' as an alternative extension, we try and load the following files in order:
foo
foo.js
foo.node
foo.coffee
foo/index.js
foo/index.node
foo/index.coffee
15 years ago
Nick Stenning
78520ba482
Don't attempt to load a directory.
This patch replaces the path.exists check for module loading with a call to
fs.statSync (or fs.stat for require.async) which ensures that it's not trying
to load a directory.
15 years ago
isaacs
d75b63bc3c
Support including modules that don't have an extension.
This way, require("/foo") will work if there is a "foo.js", or a file named
simply "foo" with no extension.
15 years ago