Commit cbf6b88
This is a squash of Thomas Dickey's commits in PR 1.
originally 2018-04-04
* tests/da.py:
works for me (I fixed that in January 2015 from report by Nachman)
* tests/decrqss.py, tests/decera.py, tests/decsera.py, tests/decic.py, tests/decdc.py, tests/xterm_winops.py:
works for me
originally 2018-04-05
* tests/decset.py: works for me
* tests/decscl.py: works for me (DECSCL except for the "expected" RIS)
* tests/deccra.py: works for me - but his expected value was wrong
originally 2018-04-06
* tests/decset.py, tests/rep.py: fixed:332
originally 2018-04-08
* tests/xterm_winops.py:
try to restore screen between maximizing (would need a composite test too)
* esccmd.py: another code
* tests/xterm_winops.py:
try adding timing fixes (doesn't seem to help, but doesn't hurt)
* tests/xterm_winops.py:
hmm - no progress, but I see that some "Passes" are due to starting from
a maximized state.
* tests/xterm_winops.py: still 3 (problem with iconify/deiconfy?)
* tests/xterm_winops.py: 3...
* tests/xterm_winops.py: 4...
* tests/xterm_winops.py: 5...
* tests/xterm_winops.py: 6...
* tests/xterm_winops.py:
partial repair for fvwm - down to 7 failures (no change for XQuartz)
* escutil.py: add functions for new xterm controls
* esccmd.py: add codes for new xterm controls
* tests/xterm_winops.py:
partly improved: I found that XQuartz is ignoring the maximize horz/vert
calls though it honors fullscreen. When switching to fvwm session, I
get a bunch of regressions due to confusing pixels and chars. Check this
in, to focus on those...
* tests/xterm_winops.py: another bogus test
* tests/xterm_winops.py: 2 bogus tests fixed.
* tests/xterm_winops.py: explain
* tests/xterm_winops.py: fixed test
* tests/ris.py: fix
* tests/decset.py: corrected test
* tests/save_restore_cursor.py: xterm #328 has fix for wraptest -
originally 2018-04-09
* tests/decdc.py: perhaps he needs a better test...
* tests/decfi.py, tests/decbi.py: clarified
* tests/cht.py: test was wrong - fix
* tests/bs.py: align with xterm #332
* tests/dl.py: fixed
* esc.py: add BEL, so I can send it in a test to pinpoint trace
* tests/xterm_winops.py: comment-out - some fail, will revisit
* tests/sd.py: works now :-)
* tests/ich.py: works for me
originally 2018-04-10
* tests/decrqm.py, esccmd.py: drop DECVSSM
* escutil.py: *** empty log message ***
* tests/decdsr.py: levels
* escutil.py: fix his typo
* tests/decscl.py, tests/decrqss.py: levels
* esccmd.py:
DECRQSS not found in vt320 manual (which is PDF only - no searching)
* tests/decrqm.py, tests/vt.py, tests/vpr.py, tests/vpa.py, tests/su.py, tests/sos.py, tests/sm.py, tests/ris.py, esccmd.py, tests/s8c1t.py, tests/sd.py, tests/rm.py, tests/ri.py, tests/rep.py, tests/pm.py, tests/nel.py, tests/lf.py, tests/ind.py, tests/il.py, tests/ich.py, tests/hvp.py, tests/hpr.py, tests/hpa.py, tests/el.py, tests/ff.py, tests/ed.py, tests/ech.py, tests/dl.py, tests/decstbm.py, tests/decstr.py:
levels
* tests/decset.py, tests/decsera.py: levelsdecsel.py
* tests/decsel.py, tests/decsed.py, tests/decscl.py, tests/decaln.py, tests/dcs.py, tests/apc.py, tests/dch.py, tests/cup.py, tests/cuf.py:
levels
* tests/cub.py, tests/cr.py, tests/cpl.py, tests/cnl.py, tests/cbt.py, tests/cht.py, tests/cha.py, tests/bs.py:
level
* tests/save_restore_cursor.py: check levels
* tests/decrqm.py: filter out some of the "known bug" DECRQM
* escutil.py, esccmd.py: better
* escutil.py: better.
* escutil.py: can't do DECRQCRA in a vt100...
* tests/da.py, tests/decrqss.py: trim
* tests/decrqss.py: better
* tests/da.py: first cut/workable DA response
originally 2018-04-11
* tests/deccra.py, tests/decdc.py, tests/decera.py, tests/decic.py, tests/decscl.py, tests/decset.py, tests/rep.py:
not-xterm
* tests/xterm_winops.py:
python functions need parenthese - George pointed that out, and pylint too
* tests/da2.py: match xterm's default behavior
originally 2018-04-12
* escio.py, tests/dl.py, tests/hpa.py, tests/hvp.py, tests/ich.py, tests/sd.py, tests/ff.py, tests/ech.py, tests/ed.py, tests/el.py, tests/lf.py, tests/reset_color.py, tests/reset_special_color.py, tests/tbc.py, tests/vpa.py, tests/vpr.py, tests/decset.py, tests/decstbm.py, tests/decstr.py, tests/decscl.py, tests/decsed.py, tests/decsel.py, tests/decdsr.py, tests/decera.py, tests/decfi.py, tests/decfra.py, tests/decic.py, tests/decid.py, tests/decrqm.py, tests/decrqss.py, tests/il.py, tests/ris.py, tests/rm.py, tests/s8c1t.py, tests/sm_title.py, tests/vt.py, tests/xterm_winops.py, tests/rep.py, tests/su.py, tests/decbi.py, tests/deccra.py, tests/decdc.py, tests/dcs.py, tests/decaln.py, tests/dch.py, tests/cub.py, tests/cuf.py, tests/cup.py, tests/da2.py, tests/cr.py, tests/cha.py, tests/change_special_color.py, tests/change_dynamic_color.py, tests/change_color.py, tests/cbt.py, tests/bs.py, tests/ansirc.py, escutil.py, esclog.py, esc.py:
pylint-fixes
originally 2018-04-14
* tests/save_restore_cursor.py: tidy
* tests/decbi.py: use double-quotes for docstring
* tests/decfi.py, tests/decdc.py: docstring
* tests/decbi.py: comments vs docstring
* tests/decset.py: remove obsolete comment
* tests/xterm_winops.py: remove redundant reset
* tests/ris.py, tests/decset.py, tests/rep.py, tests/sd.py:
remove comment vs xterm
* tests/decset.py: no blank before docstring
* tests/decdsr.py: fix a symbol conflict
originally 2018-04-15
* tests/xterm_winops.py:
Nachman's objecting to use of char-sizes when he asked for pixels.
Start refactoring by using an if-statement to restore his original
version (except for a couple of cases where the naming wasn't consistent,
including one where the name was incorrect - seen with pylint).
originally 2018-04-17
* tests/cht.py: document test_CHT_IgnoresScrollingRegion
* tests/bs.py: explain reverse-wrap versus margins
* tests/xterm_winops.py: fix per Nachman comment:
- Move the call to unmaximize before the assertion to improve the odds of it happening in:
* test_XtermWinops_MaximizeWindow_Horizontally
* test_XtermWinops_MaximizeWindow_Vertically
* escutil.py: change commented-out LogInfo to a LogDebug
* tests/xterm_winops.py: fix per Nachman comment:
- In test_XtermWinops_MaximizeWindow_HorizontallyAndVertically,
move esccmd.XTERM_WINOPS(esccmd.WINOP_MAXIMIZE, esccmd.WINOP_MAXIMIZE_EXIT)
to before the assertions. If they fail the window will be stuck maximized.
originally 2018-04-18
* tests/xterm_winops.py:
factor out average_width() and average_height(), fix whitespace per pylint
* tests/xterm_winops.py:
use absolute difference in some assert's for consistency, per Nachman comment
* tests/sd.py:
cite relevant standard for module docstring, fix whitespace per pylint
* tests/save_restore_cursor.py:
add docstring to test_SaveRestoreCursor_AltVsMain and
test_SaveRestoreCursor_Wrap, and fix whitespace per pylint
* tests/ris.py:
add docstring to test_RIS_ResetDECCOLM, fix whitespace per pylint
* tests/rep.py, tests/decfi.py, tests/decdc.py:
cite relevant standard for module docstring, fix whitespace per pylint
* tests/decdc.py:
quote the relevant standard for test_DECDC_IsNoOpWhenCursorBeginsOutsideScrollRegion
* tests/decbi.py:
cite relevant standard for test_DECBI_LeftOfMargin and test_DECBI_WholeScreenScrolls
originally 2018-04-20
* tests/xterm_winops.py:
the remaining failed-test was due to inconsistent max_error value.
* tests/xterm_winops.py:
add/use delayAfterMove, delayAfterIcon, delayAfterResize, making all but
the 2-way maximize work consistently with icewm
originally 2018-04-21
* tests/xterm_winops.py:
use checkActualPixelSize() for the remaining xterm-resizing tests involving
resizing by pixels
* tests/xterm_winops.py:
refactor test_XtermWinops_ResizePixels_BothParameters() using new function
checkActualPixelSize()
* escutil.py: add GetFrameSizePixels()
* escutil.py: cache the char/screen sizes, fix whitespace per pylint
originally 2018-04-22
* tests/xterm_winops.py: factor out check_for_shrinkage()
* tests/xterm_winops.py: factor out check_any_size
* tests/xterm_winops.py: factor out check_actual_size_chars()
* tests/xterm_winops.py:
reduce delays, corrected a label on informational log
originally 2018-04-23
* tests/xterm_winops.py:
tighten pixel error-limit to 1 cell; seems to work with quartz-wm
* escutil.py:
add/use can_query_shell_size(), which will allow tightening the error-limits
for xterm's window operations
* escutil.py, tests/xterm_winops.py:
change level of new debug-log calls
* tests/xterm_winops.py:
reducing delay after iconify caused a test-failure - undo that one.
* tests/decdsr.py, tests/deccra.py, tests/decbi.py, tests/decaln.py, tests/dch.py, tests/da.py, tests/cup.py, tests/cr.py, tests/cha.py, tests/change_special_color.py, tests/apc.py, esctypes.py, esctest.py, escio.py, esccmd.py, escargs.py:
fix whitespace per pylint
originally 2018-04-24
* tests/sm_title.py, tests/__init__.py, tests/ed.py, tests/deccra.py, tests/vpr.py, tests/vt.py, tests/su.py, tests/sos.py, tests/nel.py, tests/pm.py, tests/ri.py, tests/rm.py, tests/s8c1t.py, tests/sm.py, tests/il.py, tests/ind.py, tests/lf.py, tests/fill_rectangle.py, tests/hpr.py, tests/hvp.py, tests/ich.py, tests/ff.py, tests/el.py, tests/ech.py, tests/dl.py, tests/decstr.py, tests/decstbm.py, tests/decset.py, tests/decsera.py, tests/decic.py, tests/decsel.py, tests/decsed.py, tests/decscl.py, tests/decrqm.py:
fix whitespace per pylint
* tests/xterm_winops.py:
add documentation for the utility functions used for xterm-tests
* README.txt:
the section on xterm configuration options was incomplete. Adapted from
cfg-esctest/cfg-esctest-wide scripts.
* README.txt:
cite DEC standards documentation, which is used in xterm versus the
programmer reference manuals which give insight into differences between
terminal models but are not authoritative. Also mention an old bug-fix.
originally 2018-04-25
* tests/xterm_winops.py, escutil.py: stylistic change per Nachman
* tests/ris.py:
trim comment for iTerm2 vs ALTBUF, overlooked change in master by Nachman
* tests/decset.py:
remove an overlooked/obsolete comment for test_DECSET_DECLRMM()
* escutil.py:
if the terminal is not xterm, GetScreenSizePixels() will just return a
fixed size, suggested by Nachman
* escutil.py: stylistic change per Nachman
George's modifications prior to commit:
* Update README to conform to formatting style.
* Remove --disable-xterm-checksum-bug since xterm has been fixed1 parent 45b19a1 commit cbf6b88
81 files changed
Lines changed: 2150 additions & 1378 deletions
File tree
- esctest
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
| |||
20 | 31 | | |
21 | 32 | | |
22 | 33 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
26 | 57 | | |
27 | 58 | | |
28 | 59 | | |
| |||
55 | 86 | | |
56 | 87 | | |
57 | 88 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 89 | | |
64 | 90 | | |
65 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
38 | | - | |
| 35 | + | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | | - | |
| 50 | + | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| |||
0 commit comments