| 1 |
X11::GUITest ($Id: Changes 249 2026-08-15 18:43:40Z ctrondlp $) |
| 2 |
|
| 3 |
This is the list of module changes between revisions. |
| 4 |
-------------------------------------------------------------------- |
| 5 |
|
| 6 |
0.29 Sat Aug 15 2026 |
| 7 |
|
| 8 |
- Fix MoveMouseAbs() always reporting success regardless of whether the |
| 9 |
underlying XTestFakeMotionEvent() call actually succeeded. |
| 10 |
|
| 11 |
- Portability: Makefile.PL now locates X11/XTest via pkg-config or a real |
| 12 |
compile+link probe instead of guessing from a fixed directory list; |
| 13 |
extended fallback paths for Solaris, HP-UX, AIX, and NetBSD. |
| 14 |
|
| 15 |
- Portability: <strings.h> is now included for strcasecmp(), which isn't |
| 16 |
guaranteed to be declared by <string.h> outside of glibc. |
| 17 |
|
| 18 |
- Portability: guard against a NULL _NET_WM_NAME property value in |
| 19 |
GetWindowName(). |
| 20 |
|
| 21 |
- Portability (x11guirecord): GCC-only warning flags no longer break the |
| 22 |
build on Solaris/AIX/HP-UX vendor compilers; X11 is now located via |
| 23 |
AC_PATH_XTRA instead of hardcoded paths; popt is now probed for with a |
| 24 |
clear configure-time error if missing; GNU gettext (not native on |
| 25 |
AIX/HP-UX) is now an optional dependency instead of a hard requirement. |
| 26 |
|
| 27 |
- Fix a latent buffer-overflow risk in x11guirecord's script_file.c |
| 28 |
(vsprintf -> vsnprintf). |
| 29 |
|
| 30 |
- Fix a latent buffer-overflow risk in x11guirecord's ProcessEvent(), |
| 31 |
where a long keysym name (e.g. an XF86 media key) could in principle |
| 32 |
grow the key-accumulation buffer past its fixed size; key/modifier |
| 33 |
text is now assembled as one unit and the buffer is flushed first if |
| 34 |
it wouldn't otherwise fit, rather than appended to unconditionally. |
| 35 |
|
| 36 |
- Fix several signed/unsigned comparison mismatches in x11guirecord; |
| 37 |
record_event.h's "data" field was declared int, too narrow to safely |
| 38 |
hold a KeySym on any platform without risking truncation. |
| 39 |
|
| 40 |
- Fix the recorder's locale directory being hardcoded to /usr/share/locale |
| 41 |
regardless of --prefix. |
| 42 |
|
| 43 |
- Removed an unused <X11/Xlocale.h> include. |
| 44 |
|
| 45 |
- Documentation: noted the recorder's XRECORD extension and build-time |
| 46 |
dependencies (autoconf, automake, popt, X11 dev headers); documented how |
| 47 |
to opt into the X11_GUITEST_USING_XINERAMA build; added a note on |
| 48 |
XWayland/Wayland compatibility; fixed a stale 'docs/Changes' reference. |
| 49 |
|
| 50 |
- Updated copyright years. |
| 51 |
|
| 52 |
- Documentation updates. |
| 53 |
|
| 54 |
0.28 Mon Mar 17 2014 07:15 |
| 55 |
|
| 56 |
- Fix RT #75728: X11-GUITest: Build Dependencies: libxt-dev and libxtst-dev |
| 57 |
|
| 58 |
- Applied RT #88194: Correct minor typo and remove a link dependency |
| 59 |
|
| 60 |
- Support for RT #69960: GetWindowPid() and GetWindowsFromPid() |
| 61 |
|
| 62 |
- Fix RT #84053, #93677: With newer Perl (5.14), modules should include $Config{ccflags} |
| 63 |
when also specifying their own |
| 64 |
|
| 65 |
- Minor updates to file preambles, comments |
| 66 |
|
| 67 |
- Updated for RT #93668 - Updated license file |
| 68 |
|
| 69 |
- Updates for RT #93667 - For `make test`, support environments that may have 0 client |
| 70 |
windows (xvfb-run) |
| 71 |
|
| 72 |
- Various documentation updates |
| 73 |
|
| 74 |
0.27 Wed Feb 05 2013 00:01 |
| 75 |
|
| 76 |
- Move some files to the project root dir. |
| 77 |
|
| 78 |
- Fix RT #79751: Build on OpenBSD AMD64 failed |
| 79 |
|
| 80 |
- Add repository and license info |
| 81 |
|
| 82 |
0.26 Sat Feb 02 2013 14:20 |
| 83 |
|
| 84 |
- Replace legacy XKeycodeToKeysym calls |
| 85 |
|
| 86 |
. Fix typo DOW to DOWN |
| 87 |
|
| 88 |
- Add supoprt fot AltGr and right Control and Shift |
| 89 |
|
| 90 |
- Enhanced GetWindowName() to check _NET_WM_NAME for text. |
| 91 |
|
| 92 |
0.25 Sat May 21 2011 09:00 |
| 93 |
|
| 94 |
- Added IsWindowCursor() function to determine if a window |
| 95 |
has the specified cursor. |
| 96 |
|
| 97 |
- Various recorder enhancements. |
| 98 |
|
| 99 |
- Added -d (delaythreshold) option to recorder. Allows for inclusion |
| 100 |
of more/less granular event delays. |
| 101 |
|
| 102 |
- Added WaitSeconds() function, perhaps a little more intuitive then select. |
| 103 |
|
| 104 |
- Support for mouse wheel scrolling, using M_DOWN and M_UP |
| 105 |
constants. |
| 106 |
|
| 107 |
0.24 Sun May 01 2011 16:50 |
| 108 |
|
| 109 |
- Reorganized source code and POD. |
| 110 |
|
| 111 |
- Updated x11guirecord build to use autotools. |
| 112 |
|
| 113 |
- Backend support added for internationalization. |
| 114 |
|
| 115 |
- Alternate document formats is now an optional build step for |
| 116 |
maintainer. |
| 117 |
|
| 118 |
0.23 Sun Apr 24 2011 22:30 |
| 119 |
|
| 120 |
- Added support for recording using x11guirecord utility. |
| 121 |
|
| 122 |
- Updated behavior of QuoteStringForSendKeys function in handling |
| 123 |
zeros. |
| 124 |
|
| 125 |
- Added alias QSfSK() to QuoteStringForSendKeys() function. |
| 126 |
|
| 127 |
0.22 Thu Jan 06 2011 20:00 |
| 128 |
|
| 129 |
- Example script eg/FindControlVisually.pl added to help demonstrate |
| 130 |
finding controls/widgets on screen using a baseline image. |
| 131 |
|
| 132 |
- Applied Thorsten H's AltGr keyboard modifier support. This |
| 133 |
applies to international (German, etc.) languages. |
| 134 |
|
| 135 |
- Minor compiler warning fix. |
| 136 |
|
| 137 |
- Skip building/testing if we're in AUTOMATED_TESTING (smoke testing) |
| 138 |
and DISPLAY isn't setup. Alleviate bogus test reports in this case. |
| 139 |
|
| 140 |
0.21 Sat May 06 2006 10:24 |
| 141 |
|
| 142 |
- Implemented Nelson Caro's patch 1.1 dealing mostly |
| 143 |
with Makefile.PL enhancements concerning older versions |
| 144 |
of Perl. |
| 145 |
|
| 146 |
- Implemented Nelson Caro's patch 1.2 dealing |
| 147 |
with efficiency improvements, and fault handling. Also, |
| 148 |
GetWindowPos() now returns the border width of a window. |
| 149 |
|
| 150 |
- Implemented Nelson Caro's patch 1.3; which improves |
| 151 |
GetWindowFromPoint() in dealing with correct window border |
| 152 |
width. Also, FindWindowLike now handles invalid windows better. |
| 153 |
|
| 154 |
- Applied patches cpan #13682(XK_Meta_L fallback) and |
| 155 |
cpan #13684 (StartApp) from Alexey Tourbin. Compiler define |
| 156 |
X11_GUITEST_ALT_L_FALLBACK_META_L enabled by default. |
| 157 |
|
| 158 |
- Added special # modifier for Meta_Left. This modifier can be |
| 159 |
used like the existing ones (Alt=%, Control=^, etc.). |
| 160 |
|
| 161 |
- Applied Nelson's updates to test.t. Helps to eleviate X server |
| 162 |
jams when using Exceed, for MS Windows. Also testing GetMousePos() |
| 163 |
in list context. |
| 164 |
|
| 165 |
- Applied Nelson's patch to support multi-screen operation in various |
| 166 |
functions. Certain functions now include an additional parameter to specify |
| 167 |
the screen number. |
| 168 |
|
| 169 |
- Corrected incompatibility between Xinerama and the XTest extension. Compile |
| 170 |
with X11_GUITEST_USING_XINERAMA defined. See Makefile.PL for details. |
| 171 |
|
| 172 |
0.20 Sat Feb 14 2004 09:43 |
| 173 |
|
| 174 |
- Now linking to Xext when building to support |
| 175 |
HP-UX 11 and possibly other OSs. |
| 176 |
|
| 177 |
- Added links into the documentation to the various |
| 178 |
project distribution sites. |
| 179 |
|
| 180 |
- test.t checks are now skipped if X Windows isn't |
| 181 |
running. An appropriate warning message accompanies |
| 182 |
this. |
| 183 |
|
| 184 |
0.19 Sat Dec 13 2003 11:28 |
| 185 |
|
| 186 |
- Added FindWindowLike.pl example script. |
| 187 |
|
| 188 |
- Fixed a SendKeys bug spotted on RedHat 7.3 |
| 189 |
systems. |
| 190 |
|
| 191 |
- Added eg/templates/ScriptTemplate.pl for the |
| 192 |
purpose of constructing future example scripts. |
| 193 |
|
| 194 |
- Enhanced to help support Perl v5.5.3 (older; doesn't |
| 195 |
have newSVuv defined). |
| 196 |
|
| 197 |
- Various enhancements to the documentation. |
| 198 |
|
| 199 |
- Updated copyrights for new year. |
| 200 |
|
| 201 |
0.18 Sun Sep 28 2003 17:45 |
| 202 |
|
| 203 |
- Added GetWindowFromPoint function. |
| 204 |
|
| 205 |
- Added GetParentWindow function. |
| 206 |
|
| 207 |
- Should now compile/link properly on Solaris systems. |
| 208 |
|
| 209 |
0.17 Sat Sep 06 2003 09:23 |
| 210 |
|
| 211 |
- Corrected < and > key mappings. |
| 212 |
|
| 213 |
- Minor speed enhancements |
| 214 |
|
| 215 |
- Rearranged documentation sections. |
| 216 |
|
| 217 |
- Enabled optimizations and all warnings in |
| 218 |
Makefile.PL |
| 219 |
|
| 220 |
0.16 Sun Aug 03 2003 15:00 |
| 221 |
|
| 222 |
- Added PressMouseButton, ReleaseMouseButton. |
| 223 |
|
| 224 |
- Added WebBrowser_1.pl example script. |
| 225 |
|
| 226 |
- Added more SendKeys examples, i.e. Ctrl-Shift-l |
| 227 |
|
| 228 |
- Added SetWindowName function. |
| 229 |
|
| 230 |
- Added documentation for DISPLAY environment |
| 231 |
variable alteration for the purpose of interacting |
| 232 |
with applications on remote X servers. |
| 233 |
|
| 234 |
- test.t modified to accommodate scenarios when |
| 235 |
there are no windows present that have a WM_NAME |
| 236 |
property set. |
| 237 |
|
| 238 |
- Other minor documentation enhancements. |
| 239 |
|
| 240 |
0.15 Sat Jun 28 2003 17:45 |
| 241 |
|
| 242 |
- Quote string function will now handle data |
| 243 |
present after any embedded newline characters. |
| 244 |
|
| 245 |
- Enhanced TextEditor_1.pl example. |
| 246 |
|
| 247 |
- Added additional checks in test.t |
| 248 |
|
| 249 |
- Pristinized the typemap. |
| 250 |
|
| 251 |
- Misc. code/documentation enhancements. |
| 252 |
|
| 253 |
- Removed docs/Packaging file. Note: Now using |
| 254 |
`make tardist` to generate new module builds. |
| 255 |
|
| 256 |
- Removed MakeDocs.sh.. Now handled in Makefile.PL |
| 257 |
|
| 258 |
- Added a note that goes into man page concerning other |
| 259 |
documentation. |
| 260 |
|
| 261 |
- For those websites that grab only the POD from |
| 262 |
GUITest.pm, I've added a note into the documentation |
| 263 |
intended to relay that there is more then just that |
| 264 |
available for documentation. |
| 265 |
|
| 266 |
- Added LSH (Shift_L), RSH (Shift_R), LCT (Control_L), |
| 267 |
RCT (Control_R), LAL (Alt_L), RAL (Alt_R) abbreviated |
| 268 |
key names. |
| 269 |
|
| 270 |
- Added PressKey and ReleaseKey per suggestion. Also |
| 271 |
included PressReleaseKey. |
| 272 |
|
| 273 |
0.14 Sun May 18 2003 11:53 |
| 274 |
|
| 275 |
- Documentation updates |
| 276 |
|
| 277 |
- Official support for FreeBSD 5.0 |
| 278 |
|
| 279 |
0.13 Sun Mar 30 2003 19:32 |
| 280 |
|
| 281 |
- Enhanced and reenabled man3 POD generation. |
| 282 |
|
| 283 |
- Added WaitWindowClose |
| 284 |
|
| 285 |
- Added TextEditor_1.pl example script. |
| 286 |
|
| 287 |
- Documentation updates |
| 288 |
|
| 289 |
0.12 Fri Mar 21 2003 02:35 |
| 290 |
|
| 291 |
- Added IsKeyPressed |
| 292 |
|
| 293 |
- Added logical mouse button Ids to :CONST export tag: |
| 294 |
M_BTN1 - M_BTN5 |
| 295 |
|
| 296 |
- Added IsMouseButtonPressed |
| 297 |
|
| 298 |
- Updated documentation |
| 299 |
|
| 300 |
- Added QuoteStringForSendKeys |
| 301 |
|
| 302 |
- Disabled man3 POD generation in Makefile.PL until I |
| 303 |
find a pristine method of generating one manual |
| 304 |
page from the PM and XS file. Currently I'm using |
| 305 |
MakeDocs.sh to construct the core text/html |
| 306 |
documentation. |
| 307 |
|
| 308 |
0.11 Sun Mar 09 2003 16:01 |
| 309 |
|
| 310 |
- Fixed aliased {PGU} and {PGD} keys. |
| 311 |
|
| 312 |
- Added GetMousePos, IsChild functions. |
| 313 |
|
| 314 |
- Now packaging as X11-GUITest-[VERSION].tar.gz versus |
| 315 |
x11guitest-[VERSION].tar.gz |
| 316 |
|
| 317 |
- Made enhancements to the documentation. |
| 318 |
|
| 319 |
0.10 Tue Mar 05 2003 18:00 |
| 320 |
|
| 321 |
- Initial Release. |