|
| 1 | +# Version 0.2.0 (2015-11-13) |
| 2 | + |
| 3 | +No changes to the API, but many small changes to the implementation. The big |
| 4 | +changes include: |
| 5 | + |
| 6 | + * Support for 64-bit Cygwin and MSYS2 |
| 7 | + * Support for Windows 10 |
| 8 | + * Better Unicode support (especially East Asian languages) |
| 9 | + |
| 10 | +Details: |
| 11 | + |
| 12 | + * The `configure` script recognizes 64-bit Cygwin and MSYS2 environments and |
| 13 | + selects the appropriate compiler. |
| 14 | + * winpty works much better with the upgraded console in Windows 10. The |
| 15 | + `conhost.exe` hang can still occur, but only with certain programs, and |
| 16 | + is much less likely to occur. With the new console, use Mark instead of |
| 17 | + SelectAll, for better performance. |
| 18 | + [#31](https://github.com/rprichard/winpty/issues/31) |
| 19 | + [#30](https://github.com/rprichard/winpty/issues/30) |
| 20 | + [#53](https://github.com/rprichard/winpty/issues/53) |
| 21 | + * The UNIX adapter now calls `setlocale(LC_ALL, "")` to set the locale. |
| 22 | + * Improved Unicode support. When a console is started with an East Asian code |
| 23 | + page, winpty now chooses an East Asian font rather than Consolas / Lucida |
| 24 | + Console. Selecting the right font helps synchronize character widths |
| 25 | + between the console and terminal. (It's not perfect, though.) |
| 26 | + [#41](https://github.com/rprichard/winpty/issues/41) |
| 27 | + * winpty now more-or-less works with programs that change the screen buffer |
| 28 | + or resize the original screen buffer. If the screen buffer height changes, |
| 29 | + winpty switches to a "direct mode", where it makes no effort to track |
| 30 | + scrolling. In direct mode, it merely syncs snapshots of the console to the |
| 31 | + terminal. Caveats: |
| 32 | + * Changing the screen buffer (i.e. `SetConsoleActiveScreenBuffer`) |
| 33 | + breaks winpty on Windows 7. This problem can eventually be mitigated, |
| 34 | + but never completely fixed, due to Windows 7 bugginess. |
| 35 | + * Resizing the original screen buffer can hang `conhost.exe` on Windows 10. |
| 36 | + Enabling the legacy console is a workaround. |
| 37 | + * If a program changes the screen buffer and then exits, relying on the OS |
| 38 | + to restore the original screen buffer, that restoration probably will not |
| 39 | + happen with winpty. winpty's behavior can probably be improved here. |
| 40 | + * Improved color handling: |
| 41 | + * DkGray-on-Black text was previously hiddenly completely. Now it is |
| 42 | + output as DkGray, with a fallback to LtGray on terminals that don't |
| 43 | + recognize the intense colors. |
| 44 | + [#39](https://github.com/rprichard/winpty/issues/39). |
| 45 | + * The console is always initialized to LtGray-on-Black, regardless of the |
| 46 | + user setting, which matches the console color heuristic, which translates |
| 47 | + LtGray-on-Black to "reset SGR parameters." |
| 48 | + * Shift-Tab is recognized correctly now. |
| 49 | + [#19](https://github.com/rprichard/winpty/issues/19) |
| 50 | + * Add a `--version` argument to `winpty-agent.exe` and the UNIX adapter. The |
| 51 | + argument reports the nominal version (i.e. the `VERSION.txt`) file, with a |
| 52 | + "VERSION_SUFFIX" appended (defaulted to `-dev`), and a git commit hash, if |
| 53 | + the `git` command successfully reports a hash during the build. The `git` |
| 54 | + command is invoked by either `make` or `gyp`. |
| 55 | + * The agent now combines `ReadConsoleOutputW` calls when it polls the console |
| 56 | + buffer for changes, which may slightly reduce its CPU overhead. |
| 57 | + [#44](https://github.com/rprichard/winpty/issues/44). |
| 58 | + * A `gyp` file is added to help compile with MSVC. |
| 59 | + * The code can now be compiled as C++11 code, though it isn't by default. |
| 60 | + [bde8922e08](https://github.com/rprichard/winpty/commit/bde8922e08c3638e01ecc7b581b676c314163e3c) |
| 61 | + * If winpty can't create a new window station, it charges ahead rather than |
| 62 | + aborting. This situation might happen if winpty were started from an SSH |
| 63 | + session. |
| 64 | + * Debugging improvements: |
| 65 | + * `WINPTYDBG` is renamed to `WINPTY_DEBUG`, and a new `WINPTY_SHOW_CONSOLE` |
| 66 | + variable keeps the underlying console visible. |
| 67 | + * A `winpty-debugserver.exe` program is built and shipped by default. It |
| 68 | + collects the trace output enabled with `WINPTY_DEBUG`. |
| 69 | + * The `Makefile` build of winpty now compiles `winpty-agent.exe` and |
| 70 | + `winpty.dll` with -O2. |
| 71 | + |
| 72 | +# Version 0.1.1 (2012-07-28) |
| 73 | + |
| 74 | +Minor bugfix release. |
| 75 | + |
| 76 | +# Version 0.1 (2012-04-17) |
| 77 | + |
| 78 | +Initial release. |
0 commit comments