~vcs-imports/putty/master

  • Committer: Simon Tatham
  • Date: 2023-09-25 19:43:55 UTC
  • Revision ID: git-v1:6a6efd36aa846c581446afab8c48210cfa4300db
Further reorganisations of seen_disp_event().

Shortly after the previous commit I spotted another definitely missing
display update: if you send the byte 0x7F, aka 'destructive
backspace', then the display didn't update immediately.

That was two in a row, so I did an eyeball review of the whole
terminal state machine to the best of my ability. Found a couple more
borderline ones, but also, found that the entire VT52 sub-state-
machine had a blanket seen_disp_event which really _shouldn't_ have
been there, because half the VT52 sequences aren't actually display-
modifying updates.

To make this _slightly_ less error-prone, I've sunk a number of
seen_disp_update calls into subroutines that aren't the top-level
term_out(). For example, erase_lots(), scroll(), move() and
swap_screen() now all call seen_disp_update within themselves, so
their call sites don't all have to remember to.

There are probably further bugs after this upheaval, but I think it's
moving in generally the right direction.
Filename Latest Rev Last Changed Committer Comment Size
..
charset 1332 21 years ago Simon Tatham First draft of Unicode support in pterm. It's pret Diff
cmake 6041 3 years ago Simon Tatham Replace mkfiles.pl with a CMake build system. Thi Diff
contrib 940 22 years ago Jacob Nevins Grotty script to sanity-check the accelerator keys Diff
crypto 6071 2 years ago Simon Tatham Move crypto into its own subdirectory. Similarly Diff
doc 403 23 years ago Simon Tatham Initial checkin of an outline for the PuTTY user m Diff
icons 2893 17 years ago Simon Tatham Shiny new script which constructs the various icon Diff
keygen 6079 2 years ago Simon Tatham Move key-generation code into its own subdir. Inc Diff
otherbackends 6080 2 years ago Simon Tatham Move other backends into a subdirectory. This is Diff
proxy 6221 2 years ago Simon Tatham Move proxy-related source files into a subdirector Diff
ssh 6078 2 years ago Simon Tatham Move the SSH implementation into its own subdirect Diff
stubs 6269 2 years ago Simon Tatham Move some more files into subdirectories. While I Diff
terminal 6196 2 years ago Simon Tatham Start a 'terminal' source subdirectory. This cont Diff
test 5117 5 years ago Simon Tatham Rename the 'testdata' subdirectory to 'test'. I'm Diff
unicode 6634 1 year ago Simon Tatham New script to generate Unicode data tables. This Diff
unix 1055 21 years ago Simon Tatham Begin destabilisation in the wake of 0.53! This ch Diff
utils 6046 2 years ago Simon Tatham New library-style 'utils' subdirectories. Now tha Diff
windows 2219 19 years ago Simon Tatham Now that we have Subversion's file renaming abilit Diff
.gitignore 6069 2 years ago Simon Tatham Add .gitignore rules for in-tree builds. This set 1.5 KB Diff Download File
aqsync.c 4727 5 years ago Simon Tatham Build outgoing SSH agent requests in a strbuf. Th 535 bytes Diff Download File
be_list.c 6271 2 years ago Simon Tatham Merge be_*.c into one ifdef-controlled module. Th 3.1 KB Diff Download File
Buildscr 6745 6 months ago Simon Tatham New test program 'test_conf', mostly transitional. 20.9 KB Diff Download File
Buildscr.cv 6041 3 years ago Simon Tatham Replace mkfiles.pl with a CMake build system. Thi 1.3 KB Diff Download File
callback.c 5635 4 years ago Simon Tatham Add lots of missing 'static' keywords. A trawl th 3.1 KB Diff Download File
cgtest.c 6305 2 years ago Simon Tatham Richer data type for interactive prompt results. 25.5 KB Diff Download File
CHECKLST.txt 6738 7 months ago Simon Tatham CHECKLST.txt: suggest writing Windows Store blurb 11.9 KB Diff Download File
clicons.c 5797 4 years ago Simon Tatham Change vtable defs to use C99 designated initialis 402 bytes Diff Download File
CMakeLists.txt 6745 6 months ago Simon Tatham New test program 'test_conf', mostly transitional. 4.6 KB Diff Download File
cmdgen.c 6586.1.20 1 year ago Jacob Nevins cmdgen: Fix docs and usage messages. Some new cer 58.3 KB Diff Download File
cmdline.c 6674 1 year ago Simon Tatham term_get_userpass_input: support the prompts->utf8 34.3 KB Diff Download File
conf-enums.h 6753 6 months ago Simon Tatham Add ability to specify custom load and save separa 4.4 KB Diff Download File
conf.h 6755 6 months ago Simon Tatham conf.h: improve comments for a couple of options. 33.5 KB Diff Download File
config.c 6728 9 months ago Jacob Nevins Merge SSH cert UI tweak from 'pre-0.79'. 134 KB Diff Download File
console.c 6645 1 year ago Simon Tatham Handle the -batch option centrally in cmdline.c. 2.4 KB Diff Download File
console.h 6181 2 years ago Simon Tatham Mention the host name in host-key prompts. Now th 714 bytes Diff Download File
defs.h 6748 6 months ago Simon Tatham Begin moving saved-setting semantics into conf_key 9 KB Diff Download File
dialog.c 6717 10 months ago Simon Tatham dialog.c: give ctrl->fileselect.filter an opaque t 14.1 KB Diff Download File
dialog.h 6717 10 months ago Simon Tatham dialog.c: give ctrl->fileselect.filter an opaque t 29.6 KB Diff Download File
errsock.c 5797 4 years ago Simon Tatham Change vtable defs to use C99 designated initialis 1.4 KB Diff Download File
import.c 6598 1 year ago Simon Tatham Rename 'ret' variables passed from allocation to r 68.9 KB Diff Download File
LATEST.VER 6586.2.62 7 months ago Simon Tatham Update version number for 0.79 release. 5 bytes Diff Download File
ldisc.c 6673 1 year ago Simon Tatham New centralised version of local line editing. Th 12 KB Diff Download File
LICENCE 6660 1 year ago Jacob Nevins It's a new year. 1.4 KB Diff Download File
File licence.pl 6039 3 years ago Simon Tatham Separate the functions of licence.pl. Now you can 3.7 KB Diff Download File
logging.c 6727 9 months ago Jacob Nevins Merge log file name tweaks from 'pre-0.79'. 14.4 KB Diff Download File
marshal.h 6631 1 year ago Simon Tatham Make encode_utf8() output to a BinarySink. Previo 15.4 KB Diff Download File
misc.h 6714 10 months ago Simon Tatham New utility function: decode_utf8_to_wide_string. 20.6 KB Diff Download File
File mksrcarc.sh 6547 1 year ago Simon Tatham Updates to mksrcarc.sh. .dsp and .dsw files are n 1 KB Diff Download File
File mkunxarc.sh 6095 2 years ago Simon Tatham Integrate the 'doc' subdir into the CMake system. 790 bytes Diff Download File
mpint.h 6368 2 years ago Simon Tatham Utility function mp_resize. This reallocs an exis 17.8 KB Diff Download File
network.h 6543 1 year ago Simon Tatham New facility, platform_start_subprocess. We alrea 17.2 KB Diff Download File
pageant.c 6654 1 year ago Simon Tatham Formatting: fix a few mis-spaced assignments. I s 84 KB Diff Download File
pageant.h 5989 3 years ago Simon Tatham winpgnt: menu options to delete/reencrypt everythi 9.8 KB Diff Download File
pinger.c 5541 4 years ago Simon Tatham Whitespace rationalisation of entire code base. T 1.7 KB Diff Download File
pscp.c 6645 1 year ago Simon Tatham Handle the -batch option centrally in cmdline.c. 71.6 KB Diff Download File
psftp.c 6724 10 months ago Simon Tatham Merge PSFTP multiple-connections fixes from 'pre-0 85.8 KB Diff Download File
psftp.h 5638 4 years ago Simon Tatham Remove FLAG_VERBOSE. The global 'int flags' has a 8.1 KB Diff Download File
psftpcommon.c 6078 2 years ago Simon Tatham Move the SSH implementation into its own subdirect 3.1 KB Diff Download File
psocks.c 6591 1 year ago Simon Tatham New Seat method, seat_nonfatal(). This is like th 17.1 KB Diff Download File
psocks.h 6739 7 months ago Simon Tatham Remove a couple of double-typedefs. Experimenting 827 bytes Diff Download File
putty.h 6753 6 months ago Simon Tatham Add ability to specify custom load and save separa 105 KB Diff Download File
puttymem.h 6337 2 years ago Simon Tatham Update source file names in comments and docs. Co 5.3 KB Diff Download File
README 6614 1 year ago Jacob Nevins Rewrap a paragraph in README. 1.5 KB Diff Download File
File release.pl 6586 1 year ago Simon Tatham Remove FTP from release machinery. We withdrew ou 8.1 KB Diff Download File
settings.c 6754 6 months ago Simon Tatham Centralise defaults for non-saved options. These 38.9 KB Diff Download File
File sign.sh 6586.2.59 8 months ago Simon Tatham GPG key rollover. 1.4 KB Diff Download File
specials.h 6671 1 year ago Simon Tatham Move SessionSpecial definitions into their own hea 1.7 KB Diff Download File
ssh.h 6718 10 months ago Simon Tatham Make x11_get_auth_from_authfile take a Filename. 80.6 KB Diff Download File
sshcr.h 6654 1 year ago Simon Tatham Formatting: fix a few mis-spaced assignments. I s 3.2 KB Diff Download File
sshkeygen.h 6143 2 years ago Simon Tatham Side-channel-safe rewrite of the Miller-Rabin test 12.4 KB Diff Download File
sshpubk.c 6599 1 year ago Simon Tatham Remove a pointless allocation. The char buffer 'b 56.6 KB Diff Download File
sshrand.c 5827 3 years ago Simon Tatham Remove dependency of sshrand.c on SHA-512. Rather 3.4 KB Diff Download File
storage.h 6591 1 year ago Simon Tatham New Seat method, seat_nonfatal(). This is like th 5 KB Diff Download File
timing.c 5541 4 years ago Simon Tatham Whitespace rationalisation of entire code base. T 5.9 KB Diff Download File
tree234.h 6511 1 year ago Simon Tatham Formatting: remove spurious spaces in 'type * var' 7 KB Diff Download File
version.h 6041 3 years ago Simon Tatham Replace mkfiles.pl with a CMake build system. Thi 482 bytes Diff Download File
x11disp.c 6078 2 years ago Simon Tatham Move the SSH implementation into its own subdirect 5.5 KB Diff Download File