Niclas Hoyer
b7e36f8584
added test case for foaf+ssl client certificate
2011-09-03 00:49:37 +09:00
koichik
6f60683802
tls: x509 certificate subject parsing fail
...
Fixes #1568 .
2011-08-31 03:47:23 +09:00
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
.
2011-08-10 19:59:36 +02:00
Bert Belder
27ef0b0903
Make test-sync-fileread pass even when git cr/lf conversion is enabled
2011-08-10 04:30:31 +02:00
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 .
2011-08-04 16:52:55 +02:00
isaacs
703a1ffe52
Revert "AMD compatibility for node"
...
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
2011-07-29 11:56:38 -07:00
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.
2011-07-15 15:11:33 -07:00
isaacs
9b5098f509
Close #1281 Make require a public member of module
...
Reviewed by @felixge
2011-07-14 14:25:49 -07:00
Ryan Dahl
23b8931b62
Merge branch 'v0.4'
...
Conflicts:
src/node.js
src/node_version.h
2011-06-29 14:50:03 +02:00
Ryan Dahl
3d7d994ffc
Merge branch 'v0.4'
...
Conflicts:
doc/api/modules.markdown
test/simple/test-crypto.js
2011-06-15 14:43:37 +02:00
Mathias Buus
39246f65df
Closes #1177 remove one node_modules optimization
...
to better support certain project structures.
2011-06-14 15:32:41 -07:00
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
...
Fixes #1166 .
2011-06-14 12:50:00 +02:00
isaacs
9967c369c9
AMD compatibility for node, with docs and tests
...
Closes #1173
Closes #1170
2011-06-13 16:11:13 -07:00
Ryan Dahl
9e26dab150
child_process.spawnNode
...
For making easy worker processes.
2011-05-11 02:24:48 -07:00
Ryan Dahl
296ff04cdc
Test to demonstrate #892
2011-04-13 12:49:13 -07:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Ryan Dahl
36e75b7351
Fix HTTP agent disconnection problem
...
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
2011-03-14 14:47:41 -07:00
Ryan Dahl
2e40328c82
Extend OpenSSL expiration dates
2011-03-14 11:30:21 -07:00
isaacs
f8defa3e09
package.json main as indexed subdir
...
Closes GH-686.
2011-02-18 10:43:06 -08:00
Theo Schlossnagle
01a864a29d
TLS: CRL support
...
Needs more tests.
2011-02-10 00:49:15 -08:00
Ryan Dahl
778fb859c6
New keys, agent1-cert.pem was expired
2011-02-09 18:30:47 -08:00
isaacs
81b4d45354
Better assert in the node_modules tests
2011-02-09 14:35:08 -08:00
isaacs
46513483cd
node_modules module lookup, +docs and test.
2011-02-09 14:24:22 -08:00
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.
2011-02-07 11:00:22 -08:00
isaacs
f86ec1366f
Closes GH-619 Make require.main be the main module
2011-02-02 11:18:34 -08:00
Greg Hughes
6c32e155d3
Add ext_key_usage to getPeerCertificate
2011-01-27 14:06:40 -08:00
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
2011-01-27 14:02:43 -08:00
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.
2011-01-24 21:33:30 -08:00
Ryan Dahl
907e569980
Fix expired keys
2011-01-10 16:30:26 -08:00
Ryan Dahl
5d60b06b76
Add 'make test' to test/fixtures/keys/Makefile
2010-12-07 17:13:51 -08:00
Ryan Dahl
ee5366a410
Fix CNs for agent keys; can't be the same as CA's CN
...
Also add makefile for easy tweaking.
2010-12-07 16:36:10 -08:00
Ryan Dahl
5b8c62f7d1
Add broken, but detailed TLS verify test
...
Plus a bunch of keys.
2010-12-07 11:53:41 -08:00
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).
2010-12-05 15:42:41 -08:00
Ryan Dahl
92789b16e5
Fix global leaks
2010-12-04 16:36:21 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Oleg Efimov
c0d69a4883
GJSLint part of tests
2010-12-02 17:49:23 -08:00
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
...
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
2010-11-20 20:55:15 -08:00
Ryan Dahl
15d5378684
Add failing test for TLS server
2010-11-19 13:28:13 -08:00
Ryan Dahl
fa556a1425
Add callback to socket.write(), fix test-sendfds
2010-11-18 16:47:38 -08:00
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
2010-10-11 15:21:36 -07:00
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
2010-10-06 20:40:57 -07:00
isaacs
dff1b5ad10
Don't try to run extension loaders unless they're actually functions
2010-09-22 10:13:25 -07:00
Ryan Dahl
4962702e4a
Revert requireNative changes: 4e6b9b0
, d429033
, 6abbfa0
, bcad540
...
The REPL needs the full require(); add test for that behavior.
2010-09-19 11:22:15 -07:00
Ryan Dahl
7628905a9b
Don't use empty.js - breaks module test
2010-09-09 16:22:57 -07:00
Felix Geisendörfer
f870240dcf
Simple benchmark for node's startup time
2010-09-09 15:51:17 -07:00
Herbert Vojčík
6789ab16d8
Modifying test-global to accomodate v8 inter-context 'global' protection.
2010-09-08 10:37:26 -07:00
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.
2010-09-08 10:36:45 -07:00
Herbert Vojčík
2b126da395
Tests for behaviour of 'global'.
2010-08-18 12:08:39 -07:00
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.
2010-08-17 08:41:05 -07:00
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
2010-08-04 16:03:08 -07:00