Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (45 sloc) 2.599 kb
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
1 - Implement setenv / unsetenv
2
3 - Implement other stuff missing in node.cc/process
4 Like setuid, setgid, kill etc.
5
e85733a @piscisaureus Update TODO.w32
piscisaureus authored
6 - Implement missing `net` methods
7 A pressing issue is: how do we work with windows api functions that are not utf8 aware?
8 E.g. getaddrinfo() is ansi-only; GetAddrInfoW is utf16-only. Can we get utf16 straight out of v8?
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
9
10 - Child processes
11
12 - Stdio (make TTY's / repl / readline work)
e85733a @piscisaureus Update TODO.w32
piscisaureus authored
13 This will be hard: there is no ANSI escape code support in windows.
14 Select() doesn't work on TTYs -- use a dedicated `getchar()` thread
15 that relays everything to an internal socket?
16 Also verify writeError and isStdoutBlocking correctness.
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
17
e047ec3 @piscisaureus Update TODO.win32
piscisaureus authored
18 - Think about exposing the platform through the process object
19 It sucks but it may be necessary to know which platfom you're running on, e.g.
20 you can't do spawn('grep') on windows (unless there's msys).
21 Something like process.os or process.platform?
22
23 - Skip/fix tests that can never pass on windows
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
24
25 - Find a solution for fs.symlink / fs.lstat / fs.chown
26 Windows has different symlink types: file symlinks (vista+), directory symlinks (vista+), junction points (xp+)
27
28 - Handle _open_osfhandle failures
29 E.g. currently we're using the construct _open_osfhandle(socket/open/accept(...)).
30 Now socket() can fail by itself and _open_osfhandle can fail by itself too.
31 If socket() fails it returns -1 so _open_osfhandle fails as well, but and we'll always return/throw EBADF.
32 If _open_osfhandle fails but socket doesn't, a stray handle is left open. It should be fixed.
33
34 - Check error number mappings.
35 Winsock errnos are different.
36
e047ec3 @piscisaureus Update TODO.win32
piscisaureus authored
37 - Think about `make install`
38
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
39 - Extensions
40 Should be DLLs on windows.
41
42 - Link pthreads-w32 statically by default
43
44 - Make (open?)SSL work
45
46 - Support using shared libs (libeio, v8, c-ares)
47 Need to link with with a stub library. Libraries should use `dllexport`, headers must have `dllimport`.
48
49 - V8: push MING32 build fixes upstream
50
51 - Work with the V8 team to get the stack corruption bug fixed
52
53 - Work around missing pread/pwrite more elegantly
54 Currently it's exported from libeio, while it wasn't intended to be exported.
55 The libeio workaround implementation sucks, it uses a global mutex.
56
57 - Work around missing inet_pton/inet_ntop more elegantly
58 Currently it's exported from from c-ares, while it wasn't intended to be exported.
59 It prevents linking c-ares dynamically.
60
61 - See what libev/libeio changes can be pushed upstream
62
e047ec3 @piscisaureus Update TODO.win32
piscisaureus authored
63 - 64-bit build
64 Should be possible with MinGW-w64, it's pretty good.
65
0580f9a @piscisaureus Add todo file for windows port
piscisaureus authored
66 - ... much more probably
Something went wrong with that request. Please try again.