2010-11-26 02:10:04 +01:00
|
|
|
- Implement setenv / unsetenv
|
|
|
|
|
|
|
|
- Implement other stuff missing in node.cc/process
|
2010-11-26 18:40:23 +01:00
|
|
|
Like getuid, getgid, setgid, kill etc.
|
2010-11-26 02:10:04 +01:00
|
|
|
|
2011-01-21 03:54:30 +01:00
|
|
|
- Better `net` support
|
|
|
|
* getaddrinfo
|
2011-02-04 23:21:00 +01:00
|
|
|
* setMulticastTTL, setMembership, setLoopback
|
2011-01-21 03:54:30 +01:00
|
|
|
* pipe, socketpair
|
|
|
|
* A named pipe should be provided when a unix socket is requested.
|
|
|
|
* SendMsg and RecvMsg should be supported with named pipes.
|
2010-12-20 23:32:04 +01:00
|
|
|
|
|
|
|
- New libev backend
|
|
|
|
The current libev backend supports sockets only. This complicates stuff like
|
|
|
|
child processes, stdio. Best would be if node_net switched from exposing
|
|
|
|
readyness notifications to using completion notifications, so on windows we
|
|
|
|
could use IOCP for sockets. Experts tell me that is really the fastest way
|
|
|
|
to work with sockets on windows.
|
2010-11-26 02:10:04 +01:00
|
|
|
|
2010-12-03 01:44:09 +01:00
|
|
|
- Child process issues
|
|
|
|
* Communication between parent and child is slow; it uses a socketpair
|
|
|
|
where a pipe would be much faster. Replace it by a pipe when there
|
|
|
|
is a libev backend that supports waiting for a pipe.
|
|
|
|
* When a child process spawns the pid is not available straightaway.
|
|
|
|
On linux the pid is available immediately because fork() doesn't
|
|
|
|
block; on windows a libeio thread is used to call CreateProcess.
|
|
|
|
So this can't really be fixed, but it could be worked around by adding a
|
2010-12-20 23:32:04 +01:00
|
|
|
'spawn' or 'pid' event.
|
2010-12-03 01:44:09 +01:00
|
|
|
* passing socket custom_fds is not supported
|
|
|
|
* child_process.exec() only works on systems with msys installed.
|
|
|
|
It's because it relies on the 'sh' shell. The default windows shell
|
|
|
|
is 'cmd' and it works a little differently. Maybe add an option to
|
|
|
|
specify the shell to exec()?
|
2010-11-26 02:10:04 +01:00
|
|
|
|
2011-01-19 04:14:42 +01:00
|
|
|
- Make colorful util.inspect work on windows.
|
|
|
|
|
|
|
|
- Stdio: support passing sockets between master/child process
|
|
|
|
Normal windows applications wouldn't like this, but it can be useful for
|
|
|
|
communication between node processes. This requires
|
|
|
|
stdio.isStdinBlocking/isStdoutBlocking to be smarter.
|
2010-11-26 02:10:04 +01:00
|
|
|
|
2010-11-26 04:22:22 +01:00
|
|
|
- Skip/fix tests that can never pass on windows
|
2010-11-26 02:10:04 +01:00
|
|
|
|
|
|
|
- Find a solution for fs.symlink / fs.lstat / fs.chown
|
2010-12-20 23:32:04 +01:00
|
|
|
Windows has different symlink types: file symlinks (vista+),
|
|
|
|
directory symlinks (vista+), junction points (xp+)
|
2010-11-26 02:10:04 +01:00
|
|
|
|
|
|
|
- Handle _open_osfhandle failures
|
|
|
|
E.g. currently we're using the construct _open_osfhandle(socket/open/accept(...)).
|
|
|
|
Now socket() can fail by itself and _open_osfhandle can fail by itself too.
|
|
|
|
If socket() fails it returns -1 so _open_osfhandle fails as well, but and we'll always return/throw EBADF.
|
|
|
|
If _open_osfhandle fails but socket doesn't, a stray handle is left open. It should be fixed.
|
|
|
|
|
2010-11-26 04:22:22 +01:00
|
|
|
- Think about `make install`
|
|
|
|
|
2010-11-26 02:10:04 +01:00
|
|
|
- Extensions
|
|
|
|
Should be DLLs on windows.
|
|
|
|
|
|
|
|
- Link pthreads-w32 statically by default
|
|
|
|
|
2010-11-26 18:40:23 +01:00
|
|
|
- Link Mingw libraries statically by default
|
|
|
|
Like libstdc++.dll, more maybe.
|
|
|
|
Microsoft libs are always there, no static linkage required (e.g. msvcrt, winsock2).
|
|
|
|
|
2010-11-26 02:10:04 +01:00
|
|
|
- Make (open?)SSL work
|
|
|
|
|
|
|
|
- Support using shared libs (libeio, v8, c-ares)
|
2010-12-20 23:32:04 +01:00
|
|
|
Need to link with with a stub library. Libraries should use `dllexport`,
|
|
|
|
headers must have `dllimport`.
|
2010-11-26 02:10:04 +01:00
|
|
|
|
2010-11-28 04:06:57 +01:00
|
|
|
- V8: push MINGW32 build fixes upstream
|
2010-11-26 02:10:04 +01:00
|
|
|
|
|
|
|
- Work around missing pread/pwrite more elegantly
|
|
|
|
Currently it's exported from libeio, while it wasn't intended to be exported.
|
|
|
|
The libeio workaround implementation sucks, it uses a global mutex.
|
2010-11-28 04:06:57 +01:00
|
|
|
It should be possible to implement pread and pwrite using winapi's ReadFile/Writefile
|
|
|
|
directly, passing an OVERLAPPED structure while not associating with an completion port.
|
2010-11-26 02:10:04 +01:00
|
|
|
|
|
|
|
- Work around missing inet_pton/inet_ntop more elegantly
|
|
|
|
Currently it's exported from from c-ares, while it wasn't intended to be exported.
|
|
|
|
It prevents linking c-ares dynamically.
|
|
|
|
|
|
|
|
- See what libev/libeio changes can be pushed upstream
|
|
|
|
|
2010-11-26 04:22:22 +01:00
|
|
|
- 64-bit build
|
|
|
|
Should be possible with MinGW-w64, it's pretty good.
|
|
|
|
|
2010-11-26 02:10:04 +01:00
|
|
|
- ... much more probably
|