Bert Belder
9a9edb0e8e
Performance-killing bug workaround for V8 on mingw
When V8 on mingw generates a _compiled_ call stub for an external api callback, it fucks up the stack.
It doesn't set the stack pointers properly. Could be due to subtly different calling conventions?
This patch disables the simple_api_call optimization. It hurts performance.
14 years ago
Bert Belder
3216f08b6d
Ignore eclipse project files
14 years ago
Bert Belder
1d0193a733
Wafadmin: don't even think about using msvc
14 years ago
Bert Belder
f37cc8720b
On windows, link with Winsock and WinMM
14 years ago
Bert Belder
6f08fdbcca
Backslashes in paths wreak havoc
14 years ago
Bert Belder
d56e1a3fcd
No -rdynamic and -pthread flags when building with mingw
14 years ago
Bert Belder
276b0b174e
Always use statically linked c-ares on windows; fix build
On win32 CARES is always static, so we can call internal functions like ares_inet_pton et al.
CARES_STATICLIB must be defined or gcc will try to make DLL stub calls
14 years ago
Bert Belder
3947269f97
Mingw32 has no inet_pton/inet_ntop; import them from c-ares (hack)
14 years ago
Bert Belder
d7de459b80
Use ares_socket_t instead of int for sockets
14 years ago
Bert Belder
6e54f416ad
Fix header files for node_cares.cc
14 years ago
Bert Belder
1937c5e3c1
On windows, there's no support (yet) for chown and symlink functions
14 years ago
Bert Belder
51c6867280
On windows, stat() doesn't give you block (size) info
14 years ago
Bert Belder
f9a74a2327
On windows, mkdir() doesn't take a mode parameter
14 years ago
Bert Belder
8fc3bac868
Fix fsync/fdatasync for windows
14 years ago
Bert Belder
fae7b81589
On windows use eio__pread and eio__pwrite (hack)
14 years ago
Bert Belder
c7f0341d88
Include windows.h in node_file.cc
14 years ago
Bert Belder
a85a776268
Most of node_net is not yet available on windows
14 years ago
Bert Belder
7a1917d86f
Make SetNonBlock and SetSockFlags work on mingw
14 years ago
Bert Belder
cbf73fcccd
Fix headers for node_net.cc
14 years ago
Bert Belder
cd921c2c62
S_IFLNK, S_IFSOCK and SIGCHLD are not available on windows
14 years ago
Bert Belder
81b26dc555
Stat watchers don't work on windows yet
14 years ago
Bert Belder
b4510d57dc
There is no child process support for windows yet
14 years ago
Bert Belder
6d1af51de6
Fix header files for node_buffer.cc
14 years ago
Bert Belder
30bab52741
Disable node.cc functions that are not supported on windows
14 years ago
Bert Belder
dcc3508890
There's no SIGCHLD on windows
14 years ago
Bert Belder
4a42e408d2
Properly intialize winsock
14 years ago
Bert Belder
a177d60e2b
Fix headers for node.cc
14 years ago
Bert Belder
ae8906e7d1
Add errno.h to platform_win32.cc
14 years ago
Bert Belder
518fa2e29a
node_stdio stub for windows
14 years ago
Bert Belder
b85c4c445b
Macros for warning about unimplemented APIs
14 years ago
Bert Belder
8a3132a406
Avoid WCHAR string conversion warning
14 years ago
Bert Belder
0b54514a86
`errno` is reserved; use `errorno`
14 years ago
Bert Belder
63bff5434d
No implementation for OS::GetExecutablePath and OS::GetMemory yet
14 years ago
Bert Belder
e98a06d90f
Make winapi_perror public
14 years ago
Bert Belder
dae9752973
Stub out platform_win32.h
14 years ago
Bert Belder
62af617f84
Dynamically link with pthreads-w32
Adds some explanation what would need to be done to link pthreads statically
14 years ago
Bert Belder
13699c1b33
V8: Don't attempt to build w/ snapshot, doesn't seem to work on mingw32
14 years ago
Bert Belder
2463dbb3fd
Fix v8 build on mingw32
14 years ago
Jeremy Martin
6f726cf8c7
url.parse(url, true) defaults query field to {}
14 years ago
Ryan Dahl
8db0bbe0dc
Add callback to CryptoStream.write
14 years ago
Ryan Dahl
fca713eba4
Add doc for Buffer.isBuffer
14 years ago
Ryan Dahl
41d73e02a2
cleartext.socket always exists
14 years ago
Ryan Dahl
bb27885251
TLS: check we're not disconnected before Cleartext blow
14 years ago
Ryan Dahl
3cf2cbf904
Parse issuer and subject from CryptoStream.getPeerCertificate
14 years ago
Ryan Dahl
24aded078f
Add optional filters to stream.pipe()
14 years ago
Ryan Dahl
a8f666ebb8
Now working on v0.3.3-pre
14 years ago
Ryan Dahl
4bb914bde9
Bump version to v0.3.2
14 years ago
Ryan Dahl
d1f36accbf
Remove toJSON usage - it was removed from V8
14 years ago
Ryan Dahl
7d425a0a16
Upgrade V8 to 3.0.3
14 years ago
Brian White
9eaf2329e7
Fix compilation on OpenBSD and FreeBSD
While it compiles fine on FreeBSD, at least on amd64 node dies with:
"CALL_AND_RETRY_0 allocation failed - process out of memory"
14 years ago