Commit Graph

1935 Commits (e0d6f14b221423be41d5821993316d70e3e4e709)

Author SHA1 Message Date
Ryan Dahl 125b868e06 Add message tests 2010-06-18 18:14:06 -07:00
Micheil Smith 70c3e661b8 test-child-process-custom-fds to cleanup after running 2010-06-18 10:39:17 -07:00
Micheil Smith e0d30b545a Renaming tcp tests to net tests 2010-06-18 10:34:56 -07:00
Micheil Smith 3f48276bf9 Coding style changes, added tests in for the md5, sha256, etc methods 2010-06-18 10:21:38 -07:00
Ryan Dahl 9bd3942f70 Add platform_none for cygwin build 2010-06-18 09:46:18 -07:00
Ryan Dahl 84c10265db Fix platform_linux.cc, missing include 2010-06-17 18:36:31 -07:00
Ryan Dahl 01a8d270cf Add platform files, move getmem to node::OS class. 2010-06-17 18:23:43 -07:00
Ryan Dahl 964ed9739b Fix text about threads on homepage 2010-06-17 15:38:02 -07:00
Ryan Dahl 1c6671aa67 Upgrade V8 to 2.2.18 2010-06-16 11:46:01 -07:00
Peter Griess 187f191558 Support 'upgrade' event in HTTP client.
- Add a unit test for client HTTP upgrade.
- Move around unit tests for server HTTP upgrade.
2010-06-16 11:27:56 -07:00
Ryan Dahl cbf2a2233e Add callback to dgramSocket.send() 2010-06-16 11:03:34 -07:00
David Siegel 81ad8106dc Add UDP broadcast support 2010-06-16 10:45:16 -07:00
Ryan Dahl cf86527a28 Fix writeFile(buffer) test 2010-06-16 10:28:46 -07:00
Micheil Smith b05daaaf69 Adding path.existsSync (with tests.) 2010-06-16 10:26:11 -07:00
isaacs 73f207fe59 Throw exceptions, not strings 2010-06-16 10:11:08 -07:00
Aaron Heckmann 1d088fb906 fs.writeFile accepts Buffers 2010-06-15 23:58:32 -07:00
Ryan Dahl c2e2479cc5 Fix Linux build 2010-06-15 20:04:29 -07:00
Peter Dekkers e48f0d1dd9 Fixed incorrect mask for determining fs.Stats types 2010-06-15 19:52:37 -07:00
isaacs 4ce100fa62 A replacement for decodeURIComponent that doesn't throw.
And add a few more tests.
2010-06-15 19:28:09 -07:00
Ryan Dahl ed5f4f3a44 RootCaCerts shouldn't be global 2010-06-15 18:29:45 -07:00
Ryan Dahl 6bed15e074 Refactor: Utf8Decoder -> StringDecoder
Instead of just decoding Utf8, this will proxy requests to buffer.toString()
for other encodings. This makes for a simpler interface.
2010-06-15 18:19:27 -07:00
Peter Griess 4b48042c17 Wrap FD in closure before emitting from Stream.
- Without this, recvMsg can be invoked before the event emitter gets a
  chance to run. In this case, recvMsg.fd will be overwritten and the
  original caller can end up emitting null.
2010-06-15 15:10:30 -07:00
Ryan Dahl bc76624ec7 Upgrade V8 to 2.2.17 2010-06-15 14:52:00 -07:00
Ben Lowery f3cd7bbe77 Coerce each argument to a String before attempting to print it via sys.print 2010-06-15 14:44:09 -07:00
Ryan Dahl 459440842f More lint on node_crypto 2010-06-15 13:36:01 -07:00
Ryan Dahl 9854216d36 Fix a bunch of memory leaks in node_crypto 2010-06-15 13:31:59 -07:00
Ryan Dahl 5bc00abed7 Lint node_crypto.cc 2010-06-15 13:16:20 -07:00
Ryan Dahl 5f88097eb4 Remove unused code from node_crypto 2010-06-15 12:41:14 -07:00
Ryan Dahl 14414f81f3 Soft deprecation of 'listening' event.
Add callback param to listen() instead
2010-06-15 12:38:25 -07:00
Peter Griess c9dde726c6 Test case for net.Server.listenFD() 2010-06-15 11:44:33 -07:00
isaacs 1ffdad010b Expose the FD numbers for stdin and stderr on process.binding("stdio") 2010-06-14 15:10:00 -07:00
Ryan Dahl d6072766ed Fix memory leak in hash.update() 2010-06-14 14:38:40 -07:00
Ryan Dahl 009b4569b3 Merge Hash.init() function into JS constructor 2010-06-14 13:10:23 -07:00
Felix Geisendörfer 5f3906b65e Fix: fs.writeFile could not handle utf8 2010-06-14 10:58:17 -07:00
Paul Querna 02da5ed4a1 Implement datagram sockets
- Adds new dgram module, for all data-gram type transports
- Supports both UDP client and servers
- Supports Unix Daemon sockets in DGRAM mode too (think syslog)
- Uses a shared Buffer and slices that as needed to be reasonably
  performant.
- One supplied test program so far, test-dgram-pingpong
- Passes test cases on osx 10.6 and ubuntu 9.10u
2010-06-12 02:41:45 -07:00
isaacs e65e6039a8 Fix #169. Expose require members in the repl.
This fixes #169 by putting the require members onto the cwdRequire function
which is exposed to the repl scope.
2010-06-11 14:04:58 -07:00
Brian McKenna 431e72cbe8 Make addon building work for Cygwin. 2010-06-11 13:25:03 -07:00
isaacs 94be898fbc Remove "uri" module.
The deprecation warning was broken, so clearly no one is using this thing.
2010-06-11 13:19:50 -07:00
Ryan Dahl 4e80587cbe Add Orlando to changelog 2010-06-11 13:16:08 -07:00
Ryan Dahl 10d8adb089 bump version 2010-06-11 12:58:14 -07:00
Ryan Dahl 9c85357846 Upgrade C-Ares to 1.7.3 2010-06-11 12:48:58 -07:00
Ryan Dahl d127d15d1b License file maintenance.
- reference to OpenSSL
- note about http-parser
2010-06-11 12:48:25 -07:00
Matt Ranney cbd1f1481c Remove setTimeout from initial example and description. 2010-06-10 23:55:46 -07:00
Ryan Dahl fe89caba2e Improve fs.write tests 2010-06-10 15:17:46 -07:00
Ryan Dahl 0e390d69a8 Don't use bzero 2010-06-10 07:58:24 -07:00
Jérémy Lal ce347124e6 The underscores are not meant to emphasize. Escape them. 2010-06-10 07:15:27 -07:00
Raffaele Sena b3b81d67ff Port to cygwin 2010-06-09 15:08:46 -07:00
Ryan Dahl cd232a9cce Upgrade V8 to 2.2.16 2010-06-09 10:09:37 -07:00
Matt Ranney cec775a0de Web site example fixes. 2010-06-09 00:52:28 -07:00
Ryan Dahl 0bb47b6c97 Upgrade V8 to 2.2.15 2010-06-09 00:52:06 -07:00