simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Nov 11 17:30:12 GMT 2022


TL;DR:
  854d78ee Fix build failure on Visual Studio.
  3cfbd3df Support xterm any-event mouse tracking

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2022-11-11 17:30:12

commit 854d78eef30abe46aa0885f75ee1f523175736e6
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=854d78eef30abe46aa0885f75ee1f523175736e6;hp=d3e186e81b1d30c8b0c42ac98ef0a2e15a4838ec
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Nov 11 12:41:04 2022 +0000

    Fix build failure on Visual Studio.
    
    Unlike clang, VS didn't like me using the value of one 'static const'
    integer variable to compute the value of another, and complained
    'initializer is not a constant'. Replaced all those variables with an
    enum, which should also more reliably ensure that even an
    unsophisticated compiler doesn't actually reserve data-section space
    for them.

 utils/unicode-norm.c | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit 3cfbd3df0f0e07282f3a45ccb58fa1df1ce08606
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=3cfbd3df0f0e07282f3a45ccb58fa1df1ce08606;hp=854d78eef30abe46aa0885f75ee1f523175736e6
Author: Ben Jackson <ben.jackson at fidessa.com>
Date:   Fri Dec 20 13:56:58 2019 +0000

    Support xterm any-event mouse tracking
    
    From https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Any-event-tracking:
    
        Any-event mode is the same as button-event mode, except that all motion
        events are reported, even if no mouse button is down.  It is enabled by
        specifying 1003 to DECSET.
    
    Normally the front ends only report mouse events when buttons are
    pressed, so we introduce a MA_MOVE event with MBT_NOTHING set to
    indicate such a mouse movement.

 putty.h             |  2 +-
 terminal/terminal.c | 34 +++++++++++++++++++++++++++++++++-
 terminal/terminal.h |  2 ++
 unix/window.c       | 10 +++++++---
 windows/window.c    |  5 +++++
 5 files changed, 48 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list