| 1 |
2018-11-09 Vita Humpa <[email protected]> |
| 2 |
|
| 3 |
dogtail 1.0 |
| 4 |
============== |
| 5 |
After more than five years of continuous experimentation and development, we are excited to finally release Dogtail 1.0—a Wayland-enabled version of Dogtail! How did we achieve this? It was made possible by the `gnome-ponytail-daemon`, originally crafted by Olivier Fourdan: https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon. This tool allows us to perform actions in a Wayland GNOME session in a similar way to how we have been doing so with X functions. See NEWS or README.md for more details! |
| 6 |
|
| 7 |
2018-11-09 Vita Humpa <[email protected]> |
| 8 |
|
| 9 |
dogtail 0.9.11 |
| 10 |
============== |
| 11 |
A number of fixes related mainly to python3 and bilingual nature of dogtail. |
| 12 |
Scripts (sniff and scripts/) get /usr/bin/python3 shebangs, so distros can |
| 13 |
consider splitting those to subpackage. |
| 14 |
|
| 15 |
2017-05-01 Vita Humpa <[email protected]> |
| 16 |
|
| 17 |
dogtail 0.9.10 |
| 18 |
============== |
| 19 |
|
| 20 |
There has been a good deal of fixes and improvements since last year's release. We're not really ready for 1.0 |
| 21 |
yet, which is why we release this important cumulative release as 0.9.10. We have also moved our homesite to |
| 22 |
gitlab (fedoraproject has been discontinued). For the list of changes, simply go to: |
| 23 |
https://gitlab.com/dogtail/dogtail/commits/master |
| 24 |
|
| 25 |
2016-01-18 Vita Humpa <[email protected]> |
| 26 |
|
| 27 |
dogtail 0.9.9 |
| 28 |
============= |
| 29 |
A 1.0 pre-release. Contains a big number of fixes and changes done |
| 30 |
since 0.9.0. Most important of these is framework's compatibility with |
| 31 |
Python3. We've modified the code everywhere to run with both Python 2.7 |
| 32 |
and 3.3+. This means that from now on we maintain the same codebase and |
| 33 |
are releasing the same tarball, which can be used to package both py2 and |
| 34 |
py3 installations downstream. A complete list of fixes and changes will |
| 35 |
be present here, when we release 1.0 after 0.9.9 has been thouroughly tested. |
| 36 |
|
| 37 |
Though considered a pre-release, don'worry! 0.9.9 is considered stable and |
| 38 |
have gone through some rigorious testing already. Thanks to newly extended |
| 39 |
unit-test-set, it is actually the most self-tested release so far. |
| 40 |
|
| 41 |
2014-04-16 Vita Humpa <[email protected]> |
| 42 |
|
| 43 |
dogtail 0.9.0 |
| 44 |
============= |
| 45 |
Over the last year we've made a good number of fixes, added some new features |
| 46 |
and got overall stability to the point where we can make a new 'major minor' |
| 47 |
release. With 0.9 we're finally getting only a step away from what we'd like |
| 48 |
to get done with 1.0. |
| 49 |
|
| 50 |
|
| 51 |
* Added a fix for situations when a previously crashed application |
| 52 |
still registered with at-spi blocks search ('Broken' session problem) |
| 53 |
Fixed for root.application(), root.applications() and for whenever |
| 54 |
GeneralPredicate is used (.child()). Also done for Sniff. RHBZ 972257 |
| 55 |
|
| 56 |
* Added a support for gnome-continuous build-api (#36) |
| 57 |
|
| 58 |
* Added a direct lambda support in the findChildren method, that allows |
| 59 |
using non-predicate lambdas to create search properties. These can be |
| 60 |
all pure dogtail Node properties (i.e. showing), not limiting to just |
| 61 |
pyatspi ones as is when using Predicate. |
| 62 |
|
| 63 |
* Added a GnomeShell 'helper' class into utils module allowing to work |
| 64 |
with the new top-panel application menu. |
| 65 |
|
| 66 |
* With GTK3.10+ Gdk changes, needed to tune the keyNameToKeyCode function |
| 67 |
so that it provides valid keySym in as many cases possible - with both |
| 68 |
pre-GTK3.10 as well as GTK3.11+ having the same behavior in typeText and |
| 69 |
pressKey |
| 70 |
|
| 71 |
* Sniff ui update: the info pane now stays down on resizing |
| 72 |
|
| 73 |
* Got rid of some deprecated GObject calls |
| 74 |
|
| 75 |
* Several updates to the dogtail-run-headless-next |
| 76 |
- Any kind of session can now be used in any combination with both gdm/kdm |
| 77 |
--session can be used to specify any xsession desktop file, 'kde' defaults |
| 78 |
to 'kde-plasma' too keep pre-updated compatibility; default is now the previous user session |
| 79 |
--dm - new param to pick either gdm (default) or kdm |
| 80 |
--session-binary - new param to specify any in-session binary to grab script env from |
| 81 |
- to be used with non gnome/kde session (lxde, ubuntu) |
| 82 |
- do not confuse with session execs like gnome-session and starkde, that may |
| 83 |
actually exit after session loadup; it should be everpresent (kwin, shell...) |
| 84 |
- Added a --restart switch to force restart the previously running (often left-over) session before proceeding |
| 85 |
- More logging of script execution (start/stop/PID), and some cleanups |
| 86 |
|
| 87 |
* Trap GErrors in findAllDescendants and retry if it occurs: This fixes crashes in findChildren if elements are being added/removed quickly |
| 88 |
|
| 89 |
* Unicode handling updates: |
| 90 |
- Make sure safeDecode is not skipping any strings |
| 91 |
- Don't crash when logging message contains unicode |
| 92 |
|
| 93 |
* Error Handling for Attribute Error |
| 94 |
|
| 95 |
* Fixed utils.run issue when having whitespace containing binary by |
| 96 |
using shlex shell-like parsing split. |
| 97 |
|
| 98 |
* Removed an always true if condition in i18n |
| 99 |
|
| 100 |
* Log child description when clicking. The log will now print the element description when it will be clicked |
| 101 |
|
| 102 |
* Trap TypeError in findAllDescendants: Sometimes pytaspi returns None as a Node if children are being removed too fast. |
| 103 |
We should retry search in this case |
| 104 |
|
| 105 |
* Extended the default TypingDelay from 0.075 to 0.1 seconds (helps working with certain high unicode charactes) |
| 106 |
|
| 107 |
* Fixed an bug in sniff discovered by jmolet that made sniff crash when |
| 108 |
run from /bin/sniff not /usr/bin/sniff |
| 109 |
|
| 110 |
* Generate a better script method call for labels |
| 111 |
|
| 112 |
* Fix for failing 'focus.application.node' seting |
| 113 |
|
| 114 |
* Derive all classes from object explicitely |
| 115 |
|
| 116 |
* Changed icons used in sniff that got moved to the gnome-icon-theme-legacy |
| 117 |
recently for the ones from non-legacy package. |
| 118 |
|
| 119 |
* Unified the 'isSth' vs. 'sth' properties for only 'sth' - added 'selected', but also introduced |
| 120 |
'isChecked' property for 0.7.x compatibility |
| 121 |
|
| 122 |
* Added instructions on how to enable accessibility into utils.bailBecauseA11yIsDisabled() |
| 123 |
|
| 124 |
* Added a 'retry' option to the tree.root.application() |
| 125 |
|
| 126 |
* Fixed the concurrent creation of sniff_refresh lock from both tree and procedural |
| 127 |
|
| 128 |
* Switched to use environ value to get user in config. os.getlogin breaks when run scheduled from a testing system with no terminal. |
| 129 |
|
| 130 |
* Patched the mouse related rawinput methods to prevent using negative coordinates |
| 131 |
|
| 132 |
* Updated and added more unittests |
| 133 |
|
| 134 |
2013-07-09 Vita Humpa <[email protected]> |
| 135 |
|
| 136 |
dogtail 0.8.2 |
| 137 |
============= |
| 138 |
Second update to the 0.8 series containing several fixes and improvements |
| 139 |
|
| 140 |
* Added the dogtail-run-headless-next to replace the dogtail-run-headless in future. |
| 141 |
-next, uses a diplay manager (kdm or gdm) for session management, should be used instead of older |
| 142 |
headless on systemd systems already |
| 143 |
|
| 144 |
* Unittests vastly improved and updated |
| 145 |
|
| 146 |
* Fixed a missing reset of FocusWindow to None on application refocus |
| 147 |
|
| 148 |
* Fixed the dogtail-logout to use gnome-shell instead of old gnome-panel |
| 149 |
|
| 150 |
2012-09-07 Vita Humpa <[email protected]> |
| 151 |
|
| 152 |
dogtail 0.8.1 |
| 153 |
============= |
| 154 |
A first update to the new GNOME3 / KDE4 compatible release containing several fixes: |
| 155 |
|
| 156 |
* Sniff's autorefresh made togglable, to help avoid collisions with potential |
| 157 |
running dogtail scripts. Sniff checks at startup whether some script is running |
| 158 |
and sets up the autorefresh off if it is. |
| 159 |
|
| 160 |
* Added a locking mechanism into utils that can be used to solve situations when |
| 161 |
multiple dogtail processes/thread are running (applied in tree/procedural and sniff |
| 162 |
already) |
| 163 |
|
| 164 |
* Removed the deprecated dependency on CORBA |
| 165 |
|
| 166 |
* Icons no longer use absolute pathing in sniff (thx roignac) |
| 167 |
|
| 168 |
* Deprecated .has_key() operator replaced with 'in'. |
| 169 |
|
| 170 |
* Removed .svg inside sniff's .desktop file |
| 171 |
|
| 172 |
|
| 173 |
2012-05-30 Vita Humpa <[email protected]> |
| 174 |
|
| 175 |
dogtail 0.8.0 |
| 176 |
============= |
| 177 |
Finally a big release updating dogtail after more than 2 years ! Dogtail |
| 178 |
is developed and maintained now again. |
| 179 |
|
| 180 |
Simply put, ported to be compatible with the new GNOME 3 and to work well in major |
| 181 |
GNOME 3 (GTK3) distributions. |
| 182 |
|
| 183 |
We'd like to make the 0.8.x version onward the GNOME 3 compatible branch usable |
| 184 |
for Fedora, RHEL7 and others, while keeping 0.7.x releases for fixes in older GNOME2 |
| 185 |
systems. |
| 186 |
|
| 187 |
--- What was done --- |
| 188 |
|
| 189 |
Notably, Sniff's UI needed to ported completely to GTK3, yet there are |
| 190 |
also several places in dogtail 'itself' that needed to be rewritten to go ahead |
| 191 |
with the new technologies. Those were all the modules where the old pygtk was |
| 192 |
used for various reasons (rawinput, utils, tree...). Incompatibilites were also |
| 193 |
present due to the new version of pyatspi (notably with the doAction method). |
| 194 |
|
| 195 |
Release highlights: |
| 196 |
|
| 197 |
* A great number of fixes everywhere related to GTK/GNOME/At-Spi updates |
| 198 |
|
| 199 |
* The dogtail-recorder was dropped for now, but might return in RC or 0.8.1 |
| 200 |
|
| 201 |
* Thanks to the qt-at-spi project, dogtail now works out-of-the-box for QT! |
| 202 |
|
| 203 |
* Headless supports KDE sessions |
| 204 |
|
| 205 |
* Headless working with full 3D-Accelerated GNOME session (no fallback anymore) |
| 206 |
|
| 207 |
* Highlight used in sniff completely re-written and made toggleable (of by default) |
| 208 |
|
| 209 |
* Makefile updated, 'make run' builds packages in homedir/rpmbuld now |
| 210 |
|
| 211 |
* Several examples fixed for updated gedit |
| 212 |
|
| 213 |
* Added tree.isChild() convenience method |
| 214 |
|
| 215 |
* Renamed doAction to doActionNamed due to conflict with doAction inside pyatspi namespace |
| 216 |
|
| 217 |
* Delay made configurable in absoluteMotion and relativeMotion functions |
| 218 |
|
| 219 |
* Changed at-spi activation to use DConf instead of GConf |
| 220 |
|
| 221 |
* A bit of code clean-up and modernization (using @property now etc.) |
| 222 |
|
| 223 |
2009-12-07 Zack Cerza <[email protected]> |
| 224 |
|
| 225 |
* sniff/sniff: Add a little more error checking to avoid some cases |
| 226 |
where sniff, if left running for long periods of time, would crash. |
| 227 |
|
| 228 |
2009-10-27 Zack Cerza <[email protected]> |
| 229 |
|
| 230 |
* tests/Node.py: Add tests for getting labeler/labelee. |
| 231 |
|
| 232 |
2009-10-27 Zack Cerza <[email protected]> |
| 233 |
|
| 234 |
* dogtail/tree.py: Refactor all Node properties, to clean up namespace |
| 235 |
pollution. |
| 236 |
|
| 237 |
2009-10-27 Zack Cerza <[email protected]> |
| 238 |
|
| 239 |
* dogtail/tree.py: Rewrite the Node.value property in a way that's |
| 240 |
compatible with python 2.4 while still avoiding namespace pollution. |
| 241 |
Add docstrings for the AccessibleValue-related properties. |
| 242 |
|
| 243 |
2009-10-23 Zack Cerza <[email protected]> |
| 244 |
|
| 245 |
* dogtail/tree.py: Rewrite Node.findChildren() using |
| 246 |
pyatspi.utils.findAllDescendants(). It's around 10% faster now and |
| 247 |
allows you to use any kind of predicate you wish. |
| 248 |
|
| 249 |
* tests/Node.py: Make one of the Node.findChildren() tests use |
| 250 |
non-recursive mode. |
| 251 |
|
| 252 |
2009-10-23 Zack Cerza <[email protected]> |
| 253 |
|
| 254 |
* tests/Node.py: Add another unit test for Node.findChildren(). Add |
| 255 |
docs for the rest. |
| 256 |
|
| 257 |
2009-10-23 Zack Cerza <[email protected]> |
| 258 |
|
| 259 |
* tests/Node.py: Add several unit tests for AccessibleValue-related |
| 260 |
properties, since they were all broken a long time ago without anyone |
| 261 |
noticing. |
| 262 |
|
| 263 |
* dogtail/tree.py: Fix all the AccessibleValue-related properties. |
| 264 |
|
| 265 |
2009-10-22 Zack Cerza <[email protected]> |
| 266 |
|
| 267 |
* tests/Node.py: Add another unit test for Node.findChildren(). |
| 268 |
|
| 269 |
2009-10-22 Zack Cerza <[email protected]> |
| 270 |
|
| 271 |
* tests/Node.py: Add unit test for Node.findChildren(), since I'm |
| 272 |
going to rewrite it using the more-optimized |
| 273 |
pyatspi.utils.findAllDescendants(). |
| 274 |
|
| 275 |
2009-10-20 Zack Cerza <[email protected]> |
| 276 |
|
| 277 |
* tests/procedural.py: Add more tests, make miscellaneous tweaks. |
| 278 |
|
| 279 |
* dogtail/procedural.py: Fix a bug found by unit tests. |
| 280 |
|
| 281 |
2009-10-19 Zack Cerza <[email protected]> |
| 282 |
|
| 283 |
* tests/procedural.py: Add some unit tests for the procedural |
| 284 |
interface. |
| 285 |
|
| 286 |
2009-10-19 Zack Cerza <[email protected]> |
| 287 |
|
| 288 |
* tests/Node.py: Add tests for Node.caretOffset and Node.combovalue; |
| 289 |
minor tweaks to other tests. |
| 290 |
|
| 291 |
2009-10-08 Zack Cerza <[email protected]> |
| 292 |
|
| 293 |
* setup.py, dogtail/__init__.py: Post-release version bump. |
| 294 |
|
| 295 |
2009-10-08 Zack Cerza <[email protected]> |
| 296 |
|
| 297 |
* setup.py, dogtail/__init__.py: Bump version to 0.7.0. Remove |
| 298 |
references to .svn directory. Reflect new site. |
| 299 |
|
| 300 |
2009-10-08 Zack Cerza <[email protected]> |
| 301 |
|
| 302 |
* NEWS, README: Add notes about API docs. |
| 303 |
|
| 304 |
2009-10-08 Zack Cerza <[email protected]> |
| 305 |
|
| 306 |
* NEWS: Update. |
| 307 |
|
| 308 |
2009-10-08 Zack Cerza <[email protected]> |
| 309 |
|
| 310 |
* tests/Node.py: Remove tests for Node.version. This actually comes |
| 311 |
straight from pyatspi, and is just plain not useful. It is also |
| 312 |
inconsistent. For example, on RHEL5 it gives you the gail version, |
| 313 |
while on Fedora 12 it gives you the gtk2 version. |
| 314 |
|
| 315 |
2009-10-06 Zack Cerza <[email protected]> |
| 316 |
|
| 317 |
* dogtail/__init__.py: Don't import pyatspi so early. |
| 318 |
|
| 319 |
2009-10-06 Zack Cerza <[email protected]> |
| 320 |
|
| 321 |
* dogtail/sessions.py: Make sure that binaries (at least those with |
| 322 |
absolute or relative paths specified) exist and are executable long |
| 323 |
before we try to execute them. |
| 324 |
|
| 325 |
2009-10-06 Zack Cerza <[email protected]> |
| 326 |
|
| 327 |
* recorder/dogtail-recorder: Catch LookupErrors (e.g. quitting an app) |
| 328 |
|
| 329 |
2009-09-30 Zack Cerza <[email protected]> |
| 330 |
|
| 331 |
* recorder/dogtail-recorder: Disable debug logging... again. |
| 332 |
|
| 333 |
2009-09-29 Zack Cerza <[email protected]> |
| 334 |
|
| 335 |
* sniff/sniff: Remove an unused set object. Trying to stay compatible |
| 336 |
with older pythons... |
| 337 |
|
| 338 |
2009-09-29 Zack Cerza <[email protected]> |
| 339 |
|
| 340 |
* dogtail/tree.py: Add Node.contains(), which can be used to determine |
| 341 |
if a given point onscreen lies inside a Node's extents. Also add |
| 342 |
Node.getAccessibleAtPoint(), which tries to find the Node at a given |
| 343 |
point on screen. |
| 344 |
|
| 345 |
* recorder/dogtail-recorder: Use the new Node methods to reimplement |
| 346 |
most of the click detection; the old method was too expensive and |
| 347 |
fragile. Also turn on pyatspi's caching. |
| 348 |
|
| 349 |
2009-09-24 Zack Cerza <[email protected]> |
| 350 |
|
| 351 |
* dogtail/procedural.py: Add FocusWindow class, and corresponding |
| 352 |
focus.window() API. I think eventually I want focus.window() calls to |
| 353 |
raise the window to the foreground. |
| 354 |
|
| 355 |
2009-09-23 Zack Cerza <[email protected]> |
| 356 |
|
| 357 |
* dogtail/tree.py: Fix a bug in Node.typetext(). Actually, change its |
| 358 |
behavior significantly: if we can't grab keyboard focus, fall back to |
| 359 |
inserting text via the editabletext interface at the current caret |
| 360 |
location. old behavior was to replace contents entirely, which doesn't |
| 361 |
scale at all. |
| 362 |
|
| 363 |
2009-09-11 Zack Cerza <[email protected]> |
| 364 |
|
| 365 |
* dogtail/procedural.py: Use specific Predicate subclasses where |
| 366 |
available. |
| 367 |
|
| 368 |
2009-09-11 Zack Cerza <[email protected]> |
| 369 |
|
| 370 |
* recorder/dogtail-recorder: Keyboard recording had been disabled by |
| 371 |
accident. Reenable it. |
| 372 |
|
| 373 |
2009-09-04 Zack Cerza <[email protected]> |
| 374 |
|
| 375 |
* dogtail/tree.py: Simplify Node.click(); add Node.doubleClick(). |
| 376 |
|
| 377 |
* tests/Node.py: Make GtkDemoTest.runDemo() use Node.doubleClick() |
| 378 |
instead of the activate action, since gtk-demo doesn't appear to use |
| 379 |
that action anymore. This will be backward-compatible anyway. |
| 380 |
|
| 381 |
2009-09-04 Zack Cerza <[email protected]> |
| 382 |
|
| 383 |
* tests/Node.py: Look for at-spi instead of gail in testGetVersion |
| 384 |
since Fedora no longer has a package called gail. |
| 385 |
|
| 386 |
2009-09-04 Zack Cerza <[email protected]> |
| 387 |
|
| 388 |
* INSTALL: Update. |
| 389 |
|
| 390 |
2009-09-04 Zack Cerza <[email protected]> |
| 391 |
|
| 392 |
* README: Update. |
| 393 |
|
| 394 |
2009-09-04 Zack Cerza <[email protected]> |
| 395 |
|
| 396 |
* dogtail/distro.py, dogtail/tree.py: Fix some formatting that epydoc |
| 397 |
doesn't like. |
| 398 |
|
| 399 |
2009-09-04 Zack Cerza <[email protected]> |
| 400 |
|
| 401 |
* NEWS: Update. |
| 402 |
|
| 403 |
2009-08-26 Zack Cerza <[email protected]> |
| 404 |
|
| 405 |
* scripts/dogtail-run-headless: Tweak usage output. |
| 406 |
|
| 407 |
2009-08-26 Zack Cerza <[email protected]> |
| 408 |
|
| 409 |
* scripts/dogtail-run-headless: Require a script argument to be run! |
| 410 |
|
| 411 |
2009-08-03 Zack Cerza <[email protected]> |
| 412 |
|
| 413 |
* recorder/dogtail-recorder: Refactor eventlistener (de)registration |
| 414 |
code. Also move some logEvent calls. |
| 415 |
|
| 416 |
2009-07-24 Zack Cerza <[email protected]> |
| 417 |
|
| 418 |
* examples/test-events.py: Update to pyatspi. Disable some events as |
| 419 |
they just flood the terminal. |
| 420 |
|
| 421 |
2009-05-08 Zack Cerza <[email protected]> |
| 422 |
|
| 423 |
* scripts/dogtail-logout: Work with RHEL5. |
| 424 |
|
| 425 |
2009-05-05 Zack Cerza <[email protected]> |
| 426 |
|
| 427 |
* dogtail/sessions.py: Use os.kill() instead of Popen.terminate(), |
| 428 |
since the latter doesn't exist before python 2.6... |
| 429 |
|
| 430 |
2009-05-05 Zack Cerza <[email protected]> |
| 431 |
|
| 432 |
* dogtail/sessions.py: Oops, don't close() the xinitrc object! |
| 433 |
|
| 434 |
2009-05-05 Zack Cerza <[email protected]> |
| 435 |
|
| 436 |
* dogtail/sessions.py: Let scratch files be deleted upon closing. Keep |
| 437 |
Session.xinitrcFileOBj around until its start() method is next called, |
| 438 |
so it can be read in the meantime. |
| 439 |
|
| 440 |
2009-05-05 Zack Cerza <[email protected]> |
| 441 |
|
| 442 |
* scripts/dogtail-logout: Don't use raw clicks. Also add a little more |
| 443 |
documentation. |
| 444 |
|
| 445 |
2009-05-05 Zack Cerza <[email protected]> |
| 446 |
|
| 447 |
* dogtail/sessions.py: Fix path to dogtail-logout |
| 448 |
|
| 449 |
2009-05-05 Zack Cerza <[email protected]> |
| 450 |
|
| 451 |
* dogtail/sessions.py: Remove/comment some debug output. |
| 452 |
|
| 453 |
2009-05-05 Zack Cerza <[email protected]> |
| 454 |
|
| 455 |
* dogtail/sessions.py: Make scriptCmdList an optional argument to |
| 456 |
Session.init() |
| 457 |
|
| 458 |
2009-05-01 Zack Cerza <[email protected]> |
| 459 |
|
| 460 |
* scripts/dogtail-run-headless: Fix option application. |
| 461 |
|
| 462 |
2009-05-01 Zack Cerza <[email protected]> |
| 463 |
|
| 464 |
* dogtail/sessions.py: Tweak the way we find the correct environment |
| 465 |
for the script. |
| 466 |
|
| 467 |
2009-05-01 Zack Cerza <[email protected]> |
| 468 |
|
| 469 |
* dogtail/sessions.py, scripts/dogtail-run-headless: Refactor most of |
| 470 |
dogtail.sessions. |
| 471 |
|
| 472 |
2009-04-30 Zack Cerza <[email protected]> |
| 473 |
|
| 474 |
* dogtail/sessions.py: Merge Session and GNOMESession; refactor |
| 475 |
Session; add Script. |
| 476 |
|
| 477 |
2009-04-29 Zack Cerza <[email protected]> |
| 478 |
|
| 479 |
* scripts/dogtail-logout: Add a note about the script still "working" |
| 480 |
if gnome-session doesn't end up being accessible. |
| 481 |
|
| 482 |
2009-04-29 Zack Cerza <[email protected]> |
| 483 |
|
| 484 |
* scripts/dogtail-run-headless: Give a choice of X servers. |
| 485 |
|
| 486 |
2009-04-29 Zack Cerza <[email protected]> |
| 487 |
|
| 488 |
* scripts/dogtail-logout: Add a sleep(1), something's wrong... |
| 489 |
|
| 490 |
2009-04-28 Zack Cerza <[email protected]> |
| 491 |
|
| 492 |
* scripts/dogtail-run-headless: Actually instantiate the session |
| 493 |
object. |
| 494 |
|
| 495 |
2009-04-28 Zack Cerza <[email protected]> |
| 496 |
|
| 497 |
* dogtail/sessions.py: Properly report exit code. |
| 498 |
|
| 499 |
2009-04-28 Zack Cerza <[email protected]> |
| 500 |
|
| 501 |
* scripts/dogtail-run-headless: Draft of a rewrite using |
| 502 |
dogtail.sessions |
| 503 |
|
| 504 |
2009-04-28 Zack Cerza <[email protected]> |
| 505 |
|
| 506 |
* scripts/dogtail-logout: Add a new script, dogtail-logout. This is |
| 507 |
for use with headless sessions. Currently doesn't work yet. |
| 508 |
|
| 509 |
2009-04-28 Zack Cerza <[email protected]> |
| 510 |
|
| 511 |
* dogtail/sessions.py: Add a sessions module. This will become the |
| 512 |
basis for a rewritten dogtail-run-headless. |
| 513 |
|
| 514 |
2009-03-21 Zack Cerza <[email protected]> |
| 515 |
|
| 516 |
* epydoc.conf: Add the Epydoc config file. |
| 517 |
|
| 518 |
2009-03-21 Zack Cerza <[email protected]> |
| 519 |
|
| 520 |
* Makefile: Add proper targets for generating/uploading API docs. |
| 521 |
We're using Epydoc now. |
| 522 |
|
| 523 |
2009-03-21 Zack Cerza <[email protected]> |
| 524 |
|
| 525 |
* dogtail/utils.py: If we're running under pydoc or epydoc, don't bail |
| 526 |
if accessibility is disabled. |
| 527 |
|
| 528 |
2008-12-31 Zack Cerza <[email protected]> |
| 529 |
|
| 530 |
* examples/appstartup.py: Add a new example that launches a given |
| 531 |
application, then checks to see that it started correctly by looking |
| 532 |
for a Node with the given roleName. |
| 533 |
|
| 534 |
2008-08-18 Zack Cerza <[email protected]> |
| 535 |
|
| 536 |
* examples/gedit-test-utf8-procedural-api.py: Actually, handle the |
| 537 |
file chooser's expander widget more gracefully by looking to see if it |
| 538 |
has the 'checked' state before expanding it - apparently 'checked' |
| 539 |
means it is expanded. Go figure. |
| 540 |
|
| 541 |
2008-08-18 Zack Cerza <[email protected]> |
| 542 |
|
| 543 |
* dogtail/procedural.py: Make Click.__call__() work without arguments |
| 544 |
again. |
| 545 |
|
| 546 |
2008-08-11 Zack Cerza <[email protected]> |
| 547 |
|
| 548 |
* tests/Node.py: Don't import pyatspi unnecessarily. |
| 549 |
|
| 550 |
2008-08-11 Zack Cerza <[email protected]> |
| 551 |
|
| 552 |
* dogtail/rawinput.py: Use config.actionDelay for click(). |
| 553 |
|
| 554 |
2008-08-11 Zack Cerza <[email protected]> |
| 555 |
|
| 556 |
* examples/gedit-test-utf8-procedural-api.py: Collapse the file |
| 557 |
chooser's expander widget when we're done using it. |
| 558 |
|
| 559 |
2008-08-11 Zack Cerza <[email protected]> |
| 560 |
|
| 561 |
* dogtail/tree.py: Don't log giant messages to the debug log if we're |
| 562 |
setting a Node's text to a very large value. Also, use |
| 563 |
config.actionDelay for Node.click(). |
| 564 |
|
| 565 |
2008-08-11 Zack Cerza <[email protected]> |
| 566 |
|
| 567 |
* dogtail/tc.py: Put a timestamp on TCImage's diff.png. |
| 568 |
|
| 569 |
2008-08-08 Zack Cerza <[email protected]> |
| 570 |
|
| 571 |
* dogtail/tc.py: Eliminate double slashes in TCImage.diff. Also remove |
| 572 |
do-nothing TCImage.__init__(). |
| 573 |
|
| 574 |
2008-08-08 Zack Cerza <[email protected]> |
| 575 |
|
| 576 |
* dogtail/tc.py: Rewrite TCImage to use PIL instead of ImageMagick. |
| 577 |
Update unit tests to reflect this rewrite. |
| 578 |
|
| 579 |
2008-08-08 Zack Cerza <[email protected]> |
| 580 |
|
| 581 |
* dogtail/tc.py: Make TC a new-style class. No particular reason. |
| 582 |
|
| 583 |
2008-08-08 Zack Cerza <[email protected]> |
| 584 |
|
| 585 |
* dogtail/logging.py: Make ResultsLogger log to a file no matter what. |
| 586 |
|
| 587 |
2008-07-24 Zack Cerza <[email protected]> |
| 588 |
|
| 589 |
* recorder/dogtail-recorder: Update to reflect API change in rawinput. |
| 590 |
|
| 591 |
2008-02-19 Zack Cerza <[email protected]> |
| 592 |
|
| 593 |
* dogtail/config.py: Add new parameter: checkForA11y, which defaults |
| 594 |
to True. If set to False, we assume accessibility is enabled. |
| 595 |
|
| 596 |
* dogtail/utils.py: Don't import gconf until necessary. |
| 597 |
|
| 598 |
* dogtail/tree.py, sniff/sniff: Don't check for accessibility unless |
| 599 |
config.config.checkForA11y is True. |
| 600 |
|
| 601 |
2008-02-19 Zack Cerza <[email protected]> |
| 602 |
|
| 603 |
* examples/gedit-test-utf8-procedural-api.py: Use click() instead of |
| 604 |
activate(). |
| 605 |
|
| 606 |
2008-02-19 Zack Cerza <[email protected]> |
| 607 |
|
| 608 |
* dogtail/tc.py: Add TCBool and TCNode. |
| 609 |
|
| 610 |
2008-02-19 Zack Cerza <[email protected]> |
| 611 |
|
| 612 |
* dogtail/tree.py, dogtail/dump.py: Allow tree.Node.dump() to output |
| 613 |
to a file instead of stdout. |
| 614 |
|
| 615 |
2008-02-19 Zack Cerza <[email protected]> |
| 616 |
|
| 617 |
* dogtail/utils.py: Use subprocess.Popen() instead of os.spawnvpe(). |
| 618 |
|
| 619 |
* dogtail/procedural.py: Make run() return the PID. |
| 620 |
|
| 621 |
2008-02-19 Zack Cerza <[email protected]> |
| 622 |
|
| 623 |
* dogtail/i18n.py: Add loadAllTranslationsForLanguage(). |
| 624 |
|
| 625 |
2008-02-19 Zack Cerza <[email protected]> |
| 626 |
|
| 627 |
* dogtail/distro.py: Make distribution detection code a little less |
| 628 |
ugly. Remove docstrings from the Distro subclasses. Clean up some other |
| 629 |
documentation. |
| 630 |
|
| 631 |
* dogtail/i18n.py: Don't import the distro module until we actually |
| 632 |
need it. |
| 633 |
|
| 634 |
* dogtail/logging.py: Add an optional 'newline' arg to Logger.log(), |
| 635 |
which defaults to True. Passing False will cause the logger to not |
| 636 |
print or write a newline at the end of the message. Also stop catching |
| 637 |
some IOErrors, as that made the code awkward for no good reason. |
| 638 |
|
| 639 |
2008-02-06 Zack Cerza <[email protected]> |
| 640 |
|
| 641 |
* dogtail/dump.py: Properly print Node.actions; ditch "xml" output as |
| 642 |
it was not even really a good start. |
| 643 |
|
| 644 |
* dogtail/tree.py: Strip some useless information of out |
| 645 |
Action.__str__(). |
| 646 |
|
| 647 |
2008-02-06 Zack Cerza <[email protected]> |
| 648 |
|
| 649 |
* dogtail/__init__.py: Fix inconsistent version number. |
| 650 |
|
| 651 |
2008-02-06 Zack Cerza <[email protected]> |
| 652 |
|
| 653 |
* dogtail/distro.py: Fix minor inconsistency. |
| 654 |
|
| 655 |
2008-01-31 Zack Cerza <[email protected]> |
| 656 |
|
| 657 |
* setup.py, dogtail/__init__.py: Bump version to 0.6.90. |
| 658 |
|
| 659 |
2008-01-31 Zack Cerza <[email protected]> |
| 660 |
|
| 661 |
* Makefile, MANIFEST.in: Remove mentions of debian/ and dogtail.spec. |
| 662 |
|
| 663 |
2008-01-31 Zack Cerza <[email protected]> |
| 664 |
|
| 665 |
* dogtail.spec: Remove; see Fedora CVS for the canonical spec file. |
| 666 |
|
| 667 |
2008-01-31 Zack Cerza <[email protected]> |
| 668 |
|
| 669 |
* debian/: Remove as it's so out-of-date it's probably dangerous, and |
| 670 |
Debian doesn't use it anyway. |
| 671 |
|
| 672 |
2008-01-31 Zack Cerza <[email protected]> |
| 673 |
|
| 674 |
* dogtail/rawinput.py: Refactor keyname <-> keysym conversion code. |
| 675 |
Remove unnecessary code, including the ctypes/xlib-based |
| 676 |
keyStringToKeyCode in favor of the gtk.gdk version. This completely |
| 677 |
removes the ctypes dependency. |
| 678 |
|
| 679 |
2008-01-21 Zack Cerza <[email protected]> |
| 680 |
|
| 681 |
* scripts/dogtail-run-headless: Use a real GNOME session instead of a |
| 682 |
"fake" one. |
| 683 |
|
| 684 |
2008-01-21 Zack Cerza <[email protected]> |
| 685 |
|
| 686 |
* dogtail/wrapped.py: Add dogtail.wrapped module, with superclasses |
| 687 |
for Node and Application wrappers to use in custom application |
| 688 |
wrappers. We need this because dogtail.tree.{Node,Application} are no |
| 689 |
longer wrapper classes, and thus can't be subclasses directly. |
| 690 |
|
| 691 |
2008-01-15 Zack Cerza <[email protected]> |
| 692 |
|
| 693 |
* dogtail/tree.py: Change Node.valueMin and valueMax to Node.minValue |
| 694 |
and maxValue; add minValueIncrement. |
| 695 |
|
| 696 |
2008-01-15 Zack Cerza <[email protected]> |
| 697 |
|
| 698 |
* sniff/sniff: Remove SniffModel.checkNodes() and |
| 699 |
SniffModel.addDeadNode() as we're not using them now that we have |
| 700 |
events working. While there are applications that don't have proper |
| 701 |
event support, the performance hit on constantly crawling over nodes |
| 702 |
is too large. |
| 703 |
|
| 704 |
2008-01-15 Zack Cerza <[email protected]> |
| 705 |
|
| 706 |
* sniff/sniff: Make rows in the main TreeView expand/collapse on |
| 707 |
pressing Enter. |
| 708 |
|
| 709 |
2008-01-15 Zack Cerza <[email protected]> |
| 710 |
|
| 711 |
* sniff/sniff, sniff.glade: Add a new tab to the bottom pane that |
| 712 |
lists the present states (just the ones supported by dogtail). |
| 713 |
|
| 714 |
2008-01-14 Zack Cerza <[email protected]> |
| 715 |
|
| 716 |
* sniff/sniff, sniff/sniff.glade: Make the relation buttons only |
| 717 |
visible when a target exists. Also prepare |
| 718 |
SniffController.showRelationTarget() more prepared for when we add |
| 719 |
more relations to dogtail and sniff. |
| 720 |
|
| 721 |
2008-01-14 Zack Cerza <[email protected]> |
| 722 |
|
| 723 |
* dogtail/tree.py: Fix a stupid error in the Node.dead check. |
| 724 |
|
| 725 |
2008-01-10 Zack Cerza <[email protected]> |
| 726 |
|
| 727 |
* sniff/glade, sniff/sniff: Split bottom pane into tabs: first is |
| 728 |
name, roleName, description, actions; second is (editable)text; third |
| 729 |
is relations. Currently there are only two relations: labeler and |
| 730 |
labelee. Relations in sniff are currently represented as buttons, |
| 731 |
which, when clicked, call the relation targets' blink() method. Also |
| 732 |
fix a minor bug in SniffController.setUpTable() where sometimes we |
| 733 |
would try to disconnect a signal handler multiple times. |
| 734 |
|
| 735 |
2008-01-10 Zack Cerza <[email protected]> |
| 736 |
|
| 737 |
* NEWS: Add a note about a broken unit test due to #498563. |
| 738 |
|
| 739 |
2008-01-10 Zack Cerza <[email protected]> |
| 740 |
|
| 741 |
* dogtail/tree.py: Add Node.dead property; useful if you're unsure if |
| 742 |
the accessible you're about to poke at is still valid, and don't feel |
| 743 |
like trying to catch 3 or more different exceptions. |
| 744 |
|
| 745 |
2008-01-10 Zack Cerza <[email protected]> |
| 746 |
|
| 747 |
* sniff/sniff: Call SniffController.setUpTable() inside |
| 748 |
selectionChanged() instead of buttonPress(). |
| 749 |
|
| 750 |
2008-01-10 Zack Cerza <[email protected]> |
| 751 |
|
| 752 |
* sniff/sniff: Instead of processing events synchronously, put them in |
| 753 |
a queue to be processed during an idle function. Rewrite |
| 754 |
SniffModel.getPath(). |
| 755 |
|
| 756 |
2007-12-18 Zack Cerza <[email protected]> |
| 757 |
|
| 758 |
* dogtail/logging.py: Remove IconLogger. Make Logger not create |
| 759 |
logfiles until its log() method is called. This means sniff won't be |
| 760 |
creating empty logs all the time. |
| 761 |
|
| 762 |
* dogtail/config.py: Clean up some cruft and remove IconLogger stuff. |
| 763 |
|
| 764 |
* dogtail/trayicon.py: Removed. |
| 765 |
|
| 766 |
2007-12-18 Zack Cerza <[email protected]> |
| 767 |
|
| 768 |
* sniff/sniff: Remove the 'finally' from a try-except-finally, since |
| 769 |
that would be the first time we broke compatibility with python 2.4, |
| 770 |
and it's far from worth it :) |
| 771 |
|
| 772 |
2007-12-17 Zack Cerza <[email protected]> |
| 773 |
|
| 774 |
* sniff/sniff: Overhaul sniff to use pyatspi events to be notified |
| 775 |
when a node is renamed or gains/loses children. As a result, |
| 776 |
SniffModel does not use its addDeadNode() and checkNodes() methods. |
| 777 |
Those methods have not yet been removed, however. This change will |
| 778 |
result in properly-written applications working far better than before |
| 779 |
in sniff. Improperly-written apps (e.g. Firefox, but they know this) |
| 780 |
will behave better than sniff in 0.6.1; checkNodes() was causing |
| 781 |
serious slowdowns in some cases since it's fairly heavy code that |
| 782 |
needs to be looped continuously. Since sniff now has to do a lot less |
| 783 |
work than it did ever before, it should be somewhat faster in all |
| 784 |
cases. |
| 785 |
|
| 786 |
2007-12-11 Zack Cerza <[email protected]> |
| 787 |
|
| 788 |
* sniff/sniff, sniff/glade: Add 'Set Root' and 'Unset Root' menu items |
| 789 |
to Sniff's View menu. Useful if you want to dig into a single app and |
| 790 |
want to reduce the amount of scrolling around necessary slightly. |
| 791 |
|
| 792 |
2007-12-11 Zack Cerza <[email protected]> |
| 793 |
|
| 794 |
* sniff/sniff: Improve the removal of dead nodes from SniffModel, |
| 795 |
mainly by removing the highest-level dead node in the case that an |
| 796 |
entire subtree is found to be dead. Thanks to Michal Babej for the |
| 797 |
initial patch. Closes: #503056. |
| 798 |
|
| 799 |
2007-12-10 Zack Cerza <[email protected]> |
| 800 |
|
| 801 |
* dogtail/tree.py: Make Action.__node public (i.e. rename to |
| 802 |
Action.node). |
| 803 |
|
| 804 |
2007-12-10 Zack Cerza <[email protected]> |
| 805 |
|
| 806 |
* dogtail/tree.py: Force Node._getChildren() to return an empty list |
| 807 |
if the node's parent is a hyper link. |
| 808 |
|
| 809 |
2007-12-10 Zack Cerza <[email protected]> |
| 810 |
|
| 811 |
* dogtail/tree.py: Er, fix typo in last commit. |
| 812 |
|
| 813 |
2007-12-10 Zack Cerza <[email protected]> |
| 814 |
|
| 815 |
* dogtail/tree.py: Add AccessibleValue support. Thanks to Pelya for |
| 816 |
submitting a patch before the port was merged. |
| 817 |
|
| 818 |
2007-12-10 Zack Cerza <[email protected]> |
| 819 |
|
| 820 |
* dogtail/tree.py: Fix typo. |
| 821 |
|
| 822 |
2007-12-10 Zack Cerza <[email protected]> |
| 823 |
|
| 824 |
* sniff/sniff: Show lines interconnecting TreeView rows. |
| 825 |
|
| 826 |
2007-12-10 Zack Cerza <[email protected]> |
| 827 |
|
| 828 |
* sniff/sniff: Expand the root node of the TreeView on startup. |
| 829 |
|
| 830 |
2007-12-10 Zack Cerza <[email protected]> |
| 831 |
|
| 832 |
* sniff/sniff: Move SniffModel.getNodeAttr() to SniffController, modify |
| 833 |
it to be specific to the 'name' property of a node. That function is |
| 834 |
now called nameDataFunc(). The behavior of nameDataFunc() has also |
| 835 |
been changed: instead of changing the text of the TreeView cell |
| 836 |
representing a defunct Node to '(broken node)', it now flags the row |
| 837 |
for removal by adding a reference to it to SniffModel.deadNodes. Every |
| 838 |
1000ms SniffModel will prune such rows from itself. In my tests, this |
| 839 |
caused no extra measurable increase in CPU utilization. Also, remove |
| 840 |
all columns in SniffModel other than the node column, as the rest were |
| 841 |
not being used anyway. |
| 842 |
|
| 843 |
2007-12-10 Zack Cerza <[email protected]> |
| 844 |
|
| 845 |
* sniff/sniff: Refactor sniff. Organize into 3 classes: SniffApp with |
| 846 |
methods for setting up the application; SniffModel as a subclass of |
| 847 |
gtk.TreeStore; SniffController for poking at the SniffModel and |
| 848 |
gtk.TreeView instances. |
| 849 |
|
| 850 |
2007-12-07 Zack Cerza <[email protected]> |
| 851 |
|
| 852 |
* dogtail/rawinput.py: Fall back to using a gtk.gdk.Keymap |
| 853 |
implementation of keyStringToKeyCode() if ctypes is not available. |
| 854 |
This will probably become the default implementation. |
| 855 |
|
| 856 |
2007-12-07 Zack Cerza <[email protected]> |
| 857 |
|
| 858 |
* dogtail/tree.py: Add a patch from Michal Babej to fix a python 2.4 |
| 859 |
compatibility issue. Closes: #502324. |
| 860 |
|
| 861 |
2007-12-06 Zack Cerza <[email protected]> |
| 862 |
|
| 863 |
* recorder/dogtail-recorder: Only write the script preamble once. |
| 864 |
|
| 865 |
2007-12-06 Zack Cerza <[email protected]> |
| 866 |
|
| 867 |
* sniff/sniff: Make the Close button in sniff's About dialog actually |
| 868 |
close the dialog. |
| 869 |
|
| 870 |
2007-11-30 Zack Cerza <[email protected]> |
| 871 |
|
| 872 |
* Makefile: Minor update. |
| 873 |
|
| 874 |
2007-11-30 Zack Cerza <[email protected]> |
| 875 |
|
| 876 |
* NEWS: Add a note about a broken unit test due to #498557. |
| 877 |
|
| 878 |
2007-11-30 Zack Cerza <[email protected]> |
| 879 |
|
| 880 |
* dogtail/tree.py: Port Accessible.Hypertext and Hyperlink support. |
| 881 |
tree.Link is now called LinkAnchor and is no longer a subclass of |
| 882 |
Node. The new behavior is now that when a Hypertext interface is found |
| 883 |
on a Node, that node will have one extra child Node per |
| 884 |
Hyperlink/anchor pair. The child Nodes will have a role name of 'hyper |
| 885 |
link' and the 'URL' property. Also, remove much dead code. |
| 886 |
|
| 887 |
2007-10-31 Zack Cerza <[email protected]> |
| 888 |
|
| 889 |
* dogtail/procedural.py: Add a patch from Cole Robinson to both make |
| 890 |
all focus.*() queries return a Boolean based on their success and to |
| 891 |
make the failure warning more verbose. |
| 892 |
|
| 893 |
* dogtail/config.py, dogtail/logging.py: Add a patch from Cole |
| 894 |
Robinson to allow the logging of debug information to stdout to be |
| 895 |
disabled via config.logDebugToStdOut. Still enabled by default. |
| 896 |
|
| 897 |
2007-10-22 Zack Cerza <[email protected]> |
| 898 |
|
| 899 |
* examples/gedit-test-utf8-procedural-api.py, |
| 900 |
examples/gedit-test-utf8-tree-api.py: Tweak slightly to work with the |
| 901 |
new dogtail behavior of click() using raw mouse events. |
| 902 |
|
| 903 |
2007-10-22 Zack Cerza <[email protected]> |
| 904 |
|
| 905 |
* dogtail/procedural.py: Remove all calls to time.sleep(). |
| 906 |
|
| 907 |
2007-10-22 Zack Cerza <[email protected]> |
| 908 |
|
| 909 |
* dogtail/tree.py: Add some missing doDelay()'s. Also remove a chunk |
| 910 |
of dead code. |
| 911 |
|
| 912 |
2007-10-22 Zack Cerza <[email protected]> |
| 913 |
|
| 914 |
* dogtail/errors.py, dogtail/tc.py: Fix encoding headers. |
| 915 |
|
| 916 |
2007-10-22 Zack Cerza <[email protected]> |
| 917 |
|
| 918 |
* MAINTAINERS: Updated. |
| 919 |
|
| 920 |
2007-08-29 Zack Cerza <[email protected]> |
| 921 |
|
| 922 |
* dogtail/tree.py: Update and clean up the toplevel docstring. |
| 923 |
|
| 924 |
2007-08-29 Zack Cerza <[email protected]> |
| 925 |
|
| 926 |
* dogtail/tree.py: Rewrite Node.__doc__. |
| 927 |
|
| 928 |
2007-08-29 Zack Cerza <[email protected]> |
| 929 |
|
| 930 |
* dogtail/tree.py: Remove some redundant documentation from |
| 931 |
Node.__doc__. |
| 932 |
|
| 933 |
2007-08-23 Zack Cerza <[email protected]> |
| 934 |
|
| 935 |
* dogtail/tree.py: Port the Action class over. Mainly needed to get at |
| 936 |
keybindings. |
| 937 |
|
| 938 |
2007-08-23 Zack Cerza <[email protected]> |
| 939 |
|
| 940 |
* dogtail/__init__.py: Make __init__.py import pyatspi. |
| 941 |
|
| 942 |
2007-08-23 Zack Cerza <[email protected]> |
| 943 |
|
| 944 |
* tests/Node.py: Update unit tests with API changes: Node States (from |
| 945 |
the old stateSet) are accessed directly, e.g. node.sensitive; |
| 946 |
read-only attributes now raise AttributeError instead of |
| 947 |
ReadOnlyError; atspi.SpiException has been replaced by |
| 948 |
CORBA.COMM_FAILURE. |
| 949 |
|
| 950 |
* dogtail/tree.py: Replace ReadOnlyError with AttributeError. Also |
| 951 |
make Node.doAction() raise NotSensitiveError if necessary. |
| 952 |
|
| 953 |
2007-08-23 Zack Cerza <[email protected]> |
| 954 |
|
| 955 |
* dogtail/tree.py: Fix Application.window() to not try to initialize |
| 956 |
the Window class. |
| 957 |
|
| 958 |
2007-08-10 Zack Cerza <[email protected]> |
| 959 |
|
| 960 |
* dogtail/tree.py: Port setting of Node.combovalue and additionally |
| 961 |
allow retrieval of the value. |
| 962 |
|
| 963 |
2007-08-10 Zack Cerza <[email protected]> |
| 964 |
|
| 965 |
* dogtail/tree.py: Port Node.caretOffset. |
| 966 |
|
| 967 |
2007-08-10 Zack Cerza <[email protected]> |
| 968 |
|
| 969 |
* dogtail/tree.py: Add most of the rest of the checks from the old |
| 970 |
Node.children into the new one, i.e. children limits and null-child |
| 971 |
filtering. Also, when filtering null children, warn if |
| 972 |
config.debugSearching is True. |
| 973 |
|
| 974 |
2007-07-27 Zack Cerza <[email protected]> |
| 975 |
|
| 976 |
* sniff/sniff: Handle broken nodes more gracefully. |
| 977 |
|
| 978 |
2007-07-27 Zack Cerza <[email protected]> |
| 979 |
|
| 980 |
* recorder/dogtail-recorder: Minor change in how we keep track of |
| 981 |
keyboard press/release events. |
| 982 |
|
| 983 |
2007-07-26 Zack Cerza <[email protected]> |
| 984 |
|
| 985 |
* recorder/dogtail-recorder: Port dogtail-recorder to pyatspi. Remove |
| 986 |
some dead code. Add lots of comments. The keyboard modifier processing |
| 987 |
had to be rewritten. As a bonus, things like <Shift><Home> should |
| 988 |
actually get noticed now. Also, the madness that was FakeNode is no |
| 989 |
more. |
| 990 |
|
| 991 |
2007-07-25 Zack Cerza <[email protected]> |
| 992 |
|
| 993 |
* dogtail/i18n.py: Fix duplicate checking in |
| 994 |
loadTranslationsFromPackageMoFiles(). Closes: #452232. |
| 995 |
|
| 996 |
2007-06-22 Zack Cerza <[email protected]> |
| 997 |
|
| 998 |
* dogtail/dump.py: Remove SIGINT handler. |
| 999 |
|
| 1000 |
2007-06-22 Zack Cerza <[email protected]> |
| 1001 |
|
| 1002 |
* dogtail/tree.py: Port Selection stuff to pyatspi and convert to use |
| 1003 |
normal instance methods and properties. |
| 1004 |
|
| 1005 |
2007-06-20 Zack Cerza <[email protected]> |
| 1006 |
|
| 1007 |
* examples/no-help-at-all.py: Add patch from Jan Hutař to use |
| 1008 |
cgi.escape() where necessary. |
| 1009 |
|
| 1010 |
2007-06-20 Zack Cerza <[email protected]> |
| 1011 |
|
| 1012 |
* examples/filechooser-stress-test.py: Add patch from Jan Hutař to add |
| 1013 |
i18n support. |
| 1014 |
|
| 1015 |
2007-05-31 Zack Cerza <[email protected]> |
| 1016 |
|
| 1017 |
* dogtail/tree.py: Fix a minor bug in Node._fastFindChild() that |
| 1018 |
caused a non-recursive search to halt completely if a null child was |
| 1019 |
encountered. |
| 1020 |
|
| 1021 |
2007-05-30 Zack Cerza <[email protected]> |
| 1022 |
|
| 1023 |
* dogtail/tree.py: Move some documentation into the new properties. |
| 1024 |
Remove some unhelpful documentation. Further clean up bits of |
| 1025 |
documentation here and there. Note: not done with docs yet :) |
| 1026 |
|
| 1027 |
2007-05-29 Zack Cerza <[email protected]> |
| 1028 |
|
| 1029 |
* dogtail/tree.py: Remove actual search code from Node.findChild() and |
| 1030 |
use pyatspi.utils.findDescendent, via a new Node._fastFindChild() |
| 1031 |
function. |
| 1032 |
|
| 1033 |
2007-05-29 Zack Cerza <[email protected]> |
| 1034 |
|
| 1035 |
* dogtail/predicate.py: Turn all predicates' satisfiedByNode() functions |
| 1036 |
into pseudo-staticmethods, so we can pass those methods directly to the |
| 1037 |
search methods in pyatspi.utils. |
| 1038 |
|
| 1039 |
2007-05-25 Zack Cerza <[email protected]> |
| 1040 |
|
| 1041 |
* sniff/sniff: Port Sniff to pyatspi. It should all work now, but |
| 1042 |
there could be a bug or two. |
| 1043 |
|
| 1044 |
2007-05-25 Zack Cerza <[email protected]> |
| 1045 |
|
| 1046 |
* dogtail/tree.py: Begin port from pyspi to pyatspi. Disable __init__, |
| 1047 |
__getattr__, __setattr__, __str__ while their functionality is ported. |
| 1048 |
Attributes that were accessed via __[gs]attr__ are now declared as |
| 1049 |
properties, to make the code easier to read and document. |
| 1050 |
|
| 1051 |
2007-05-25 Zack Cerza <[email protected]> |
| 1052 |
|
| 1053 |
* dogtail/logging.py: Actually obey config.logDebugToFile. |
| 1054 |
|
| 1055 |
* dogtail/config.py: Implement runtime changing of logDebugToFile. |
| 1056 |
|
| 1057 |
2007-05-25 Zack Cerza <[email protected]> |
| 1058 |
|
| 1059 |
* dogtail/config.py: Fix logic in first unit test. |
| 1060 |
|
| 1061 |
2007-05-16 Zack Cerza <[email protected]> |
| 1062 |
|
| 1063 |
* dogtail/rawinput.py: Port from pyspi to pyatspi. Use ctypes and Xlib |
| 1064 |
to do the keystring -> keycode keycode conversion. |
| 1065 |
|
| 1066 |
2007-05-11 Zack Cerza <[email protected]> |
| 1067 |
|
| 1068 |
* dogtail/tree.py, recorder/dogtail-recorder, |
| 1069 |
scripts/dogtail-run-headless, sniff/sniff: Replace 'except:' with |
| 1070 |
'except: Exception', since we don't want KeyboardInterrupt and |
| 1071 |
SystemExit to be ignored in any of those cases. See: |
| 1072 |
http://www.python.org/dev/peps/pep-0352/. Also catch only ImportError |
| 1073 |
in once case inside of dogtail-recorder. |
| 1074 |
|
| 1075 |
2007-05-03 Zack Cerza <[email protected]> |
| 1076 |
|
| 1077 |
* sniff/sniff: Add patch from Michal Babej to correctly reset the |
| 1078 |
actions label when a Node with no actions is selected. Closes: |
| 1079 |
#432999. |
| 1080 |
|
| 1081 |
2007-03-16 Zack Cerza <[email protected]> |
| 1082 |
|
| 1083 |
* setup.py: Add patch from Fernando Herrera to fix building from a |
| 1084 |
subversion checkout. Closes: #418923. |
| 1085 |
|
| 1086 |
2007-02-20 Zack Cerza <[email protected]> |
| 1087 |
|
| 1088 |
* dogtail/predicate.py: Add unit tests for all predicates. |
| 1089 |
|
| 1090 |
2007-02-13 Zack Cerza <[email protected]> |
| 1091 |
|
| 1092 |
* dogtail/tree.py: Add patch from Michal Babej to fix |
| 1093 |
Node.childLabelled(). |
| 1094 |
|
| 1095 |
2007-02-09 Zack Cerza <[email protected]> |
| 1096 |
|
| 1097 |
* examples/no-help-at-all.py: Add patch from Michal Babej to use |
| 1098 |
cgi.escape() to escape content for SGML. |
| 1099 |
|
| 1100 |
2007-02-09 Zack Cerza <[email protected]> |
| 1101 |
|
| 1102 |
* dogtail/tc.py: Add patch from Michal Babej that removes some |
| 1103 |
confusion in TCImage.compare(), and also fixes a unit test. |
| 1104 |
|
| 1105 |
2007-02-08 Daniel Drake <[email protected]> |
| 1106 |
|
| 1107 |
* dogtail/tree.py: Fix wrong logic in Node.selectedChildren |
| 1108 |
implementation |
| 1109 |
|
| 1110 |
2007-02-08 Zack Cerza <[email protected]> |
| 1111 |
|
| 1112 |
* dogtail/utils.py: Make isA11yEnabled() look at $GTK_MODULES, too. |
| 1113 |
|
| 1114 |
2006-11-28 Zack Cerza <[email protected]> |
| 1115 |
|
| 1116 |
* dogtail/config.py: When creating the default directories for logs, |
| 1117 |
etc. (/tmp/dogtail/*), create them world-writable so that they may be |
| 1118 |
shared by multiple users. |
| 1119 |
|
| 1120 |
2006-11-22 Zack Cerza <[email protected]> |
| 1121 |
|
| 1122 |
* dogtail/config.py: Add parameter 'childrenLimit', which is an integer |
| 1123 |
representing how many children of a Node instance to return at maximum. |
| 1124 |
The default is 100. |
| 1125 |
|
| 1126 |
* dogtail/tree.py: Only return config.childrenLimit children. Log a |
| 1127 |
warning to the debug logger the first time the list is clipped, but |
| 1128 |
remain silent on subsequent occurences. |
| 1129 |
|
| 1130 |
2006-11-17 Zack Cerza <[email protected]> |
| 1131 |
|
| 1132 |
* examples/test-events.py: Make sure dogtail.tree is imported. Closes: |
| 1133 |
#374898. Also add warning that the script is outdated, may do evil, and |
| 1134 |
will probably be removed soon. |
| 1135 |
|
| 1136 |
2006-11-15 David Malcolm <[email protected]> |
| 1137 |
|
| 1138 |
* dogtail/tree.py: ensure that a Node and a Link's children attribute |
| 1139 |
always is a list and hence iteratable (previously returned None for |
| 1140 |
Link instances and for Node instances that had __hideChildren set); |
| 1141 |
similar fix for the Node.findChildren method |
| 1142 |
|
| 1143 |
2006-10-23 Zack Cerza <[email protected]> |
| 1144 |
|
| 1145 |
* dogtail/procedural.py: Make run() insert a space while concatenating |
| 1146 |
the binary name and arguments to pass. Closes: #364553. |
| 1147 |
|
| 1148 |
2006-10-23 Zack Cerza <[email protected]> |
| 1149 |
|
| 1150 |
* setup.py, dogtail/__init__.py, NEWS: Post-release version bump. |
| 1151 |
|
| 1152 |
2006-10-13 Zack Cerza <[email protected]> |
| 1153 |
|
| 1154 |
* Released 0.6.1. |
| 1155 |
|
| 1156 |
2006-10-13 Zack Cerza <[email protected]> |
| 1157 |
|
| 1158 |
* NEWS: Update. |
| 1159 |
|
| 1160 |
2006-10-13 Zack Cerza <[email protected]> |
| 1161 |
|
| 1162 |
* examples/data/GNOME-Street1.png, examples/data/GNOME-Street.png, |
| 1163 |
examples/data/g-star1.png, examples/data/g-star.png: Remove and |
| 1164 |
replace with far smaller test images. |
| 1165 |
|
| 1166 |
* examples/data/10b.png, examples/data/10w.png, examples/data/20b.png, |
| 1167 |
examples/data/20w.png: Add, to replace older, larger test images. |
| 1168 |
|
| 1169 |
* dogtail/tc.py: Update to reflect the change in test images. |
| 1170 |
|
| 1171 |
2006-10-12 Zack Cerza <[email protected]> |
| 1172 |
|
| 1173 |
* recorder/dogtail-recorder: Keep track of which 'frame' (window) the |
| 1174 |
widget we're poking is under. If necessary, write out 'focus.frame()' |
| 1175 |
lines for that frame. This should keep us from getting confused about |
| 1176 |
which non-dialog window of a given application we care about. |
| 1177 |
|
| 1178 |
2006-10-12 Zack Cerza <[email protected]> |
| 1179 |
|
| 1180 |
* recorder/dogtail-recorder: Be consistent about what name we use for |
| 1181 |
the recorder internally. |
| 1182 |
|
| 1183 |
2006-10-11 Zack Cerza <[email protected]> |
| 1184 |
|
| 1185 |
* NEWS: Update with changes since 0.6.0. |
| 1186 |
|
| 1187 |
2006-10-11 Zack Cerza <[email protected]> |
| 1188 |
|
| 1189 |
* dogtail/rawinput.py: Make typeText('foo\nbar') work again. |
| 1190 |
|
| 1191 |
2006-10-10 Zack Cerza <[email protected]> |
| 1192 |
|
| 1193 |
* dogtail/distro.py: Fix up Solaris detection so that an /etc/release |
| 1194 |
that does not contain 'Solaris' doesn't prevent the exception from |
| 1195 |
being raised. |
| 1196 |
|
| 1197 |
2006-10-10 Zack Cerza <[email protected]> |
| 1198 |
|
| 1199 |
* recorder/dogtail-recorder: Re-add Dave Malcolm's patch to add syntax |
| 1200 |
hilighting to the script view, which was accidentally dropped. Closes: |
| 1201 |
#345374. |
| 1202 |
|
| 1203 |
2006-10-10 Zack Cerza <[email protected]> |
| 1204 |
|
| 1205 |
* dogtail/distro.py: Add patch from Brian Cameron to detect Solaris. |
| 1206 |
Closes: #360479. Also, check for Fedora before checking for Red Hat. |
| 1207 |
|
| 1208 |
2006-10-10 Zack Cerza <[email protected]> |
| 1209 |
|
| 1210 |
* dogtail/i18n.py: Make TranslatableString.matchedBy() check for |
| 1211 |
equality before trying to match via regular expression. This will |
| 1212 |
ensure that traditional, exact-string searches will work regardless of |
| 1213 |
the presence of any regexy-looking characters. Additionaly escape '(' |
| 1214 |
and ')', since grouping will never need to be used in this context. |
| 1215 |
Closes: #348891. |
| 1216 |
|
| 1217 |
2006-10-02 Zack Cerza <[email protected]> |
| 1218 |
|
| 1219 |
* dogtail/utils.py: Fix 'Technolofy' typo :) |
| 1220 |
|
| 1221 |
2006-09-27 Zack Cerza <[email protected]> |
| 1222 |
|
| 1223 |
* recorder/dogtail-recorder: Add support for recording right clicks. |
| 1224 |
It mostly works, but I'm seeing some inconsistency regarding what gets |
| 1225 |
focus when a right-click event occurs. For example, when a nautilus |
| 1226 |
icon seems to retain focus only about half the times it is |
| 1227 |
right-clicked; the other half, the context menu receives the focus. |
| 1228 |
Obviously, when that happens, the recorder records the wrong event. |
| 1229 |
|
| 1230 |
2006-09-26 Zack Cerza <[email protected]> |
| 1231 |
|
| 1232 |
* recorder/dogtail-recorder, sniff/sniff: Stop whining if the glade |
| 1233 |
file isn't in the current directory. |
| 1234 |
|
| 1235 |
2006-09-26 Zack Cerza <[email protected]> |
| 1236 |
|
| 1237 |
* recorder/dogtail-recorder, recorder/recorder.glade: Implement script |
| 1238 |
playback using python's threading module. |
| 1239 |
|
| 1240 |
2006-09-26 Zack Cerza <[email protected]> |
| 1241 |
|
| 1242 |
* dogtail/procedural.py: Make type() and keyCombo() fall back to their |
| 1243 |
corresponding function in rawinput if focus.widget.node == None. |
| 1244 |
|
| 1245 |
2006-09-26 Zack Cerza <[email protected]> |
| 1246 |
|
| 1247 |
* recorder/dogtail-recorder, recorder/recorder.glade: Remove Quit button |
| 1248 |
and add Play button. The Play button isn't fully implemented yet. |
| 1249 |
|
| 1250 |
2006-09-26 Zack Cerza <[email protected]> |
| 1251 |
|
| 1252 |
* recorder/dogtail-recorder, recorder/recorder.glade: Remove combo box |
| 1253 |
since OOScriptWriter needs fixing. Also remove the expander since a |
| 1254 |
GTK bug was keeping it from expanding properly. |
| 1255 |
|
| 1256 |
2006-09-22 Zack Cerza <[email protected]> |
| 1257 |
|
| 1258 |
* dogtail/rawinput.py: Make pressKey(), which is used by typeText(), |
| 1259 |
use UniCharToKeySym(). Now typeText('foo, bar; baz!?!') works again. |
| 1260 |
|
| 1261 |
2006-09-21 Zack Cerza <[email protected]> |
| 1262 |
|
| 1263 |
* examples/filechooser-stress-test.py: Apply a patch from Michal Babej |
| 1264 |
to correctly look for the u'Open files\u2026' dialog. |
| 1265 |
|
| 1266 |
* examples/no-help-at-all.py: Apply a patch from Michal Babej fail |
| 1267 |
gracefully if no argument was supplied, and also to start the |
| 1268 |
requested app if it is not running. |
| 1269 |
|
| 1270 |
2006-09-21 Zack Cerza <[email protected]> |
| 1271 |
|
| 1272 |
* dogtail/logging.py: Refactor logging mechanism. DebugLogger is now |
| 1273 |
just Logger, and LogWriter is now a Logger subclass called |
| 1274 |
ResultsLogger. Logger can (and will by default) write its output to a |
| 1275 |
file in config.logDir. To disable the logging of debug information to |
| 1276 |
a file, set config.logDebugToFile to False. ResultsLogger now also |
| 1277 |
prints its results to standard out. |
| 1278 |
|
| 1279 |
* dogtail/distro.py, dogtail/tree.py, dogtail/utils.py: |
| 1280 |
Replace all print statements with calls to the debug logger. |
| 1281 |
|
| 1282 |
* dogtail/tc.py: Update to reflect changes in dogtail.logging. |
| 1283 |
|
| 1284 |
* dogtail/procedural.py: Don't raise a FocusError if |
| 1285 |
config.fatalErrors is False. Instead, spit a warning out via |
| 1286 |
dogtail.errors.warn(), which relays to the debug logger. |
| 1287 |
|
| 1288 |
* dogtail/errors.py: Add warn(), which is the mechanism by which an |
| 1289 |
exception is replaced by a warning if config.fatalErrors is False. |
| 1290 |
Uses dogtail.logging.debugLogger, which is a dogtail.logging.Logger |
| 1291 |
instance. |
| 1292 |
|
| 1293 |
* dogtail/config.py: Add two new parameters: 'fatalErrors', which |
| 1294 |
specifies whether errors encountered while using dogtail.procedural |
| 1295 |
should be considered fatal; and 'logDebugToFile', which specifies |
| 1296 |
whether to write debug output to a file. They default to False and |
| 1297 |
True, respectively. |
| 1298 |
|
| 1299 |
* dogtail/predicate.py: Give debugNames to all the Predicates that |
| 1300 |
were missing them. |
| 1301 |
|
| 1302 |
* dogtail/i18n.py: Don't spam warnings and probably-useless tracebacks |
| 1303 |
when a broken app spews fake UTF-8. |
| 1304 |
|
| 1305 |
* dogtail/__init__.py: Post-release version bump. Add the errors |
| 1306 |
module to __all__. |
| 1307 |
|
| 1308 |
* NEWS, setup.py: Post-release version bump. |
| 1309 |
|
| 1310 |
2006-09-13 Zack Cerza <[email protected]> |
| 1311 |
|
| 1312 |
Released 0.6.0. |
| 1313 |
|
| 1314 |
2006-09-13 Zack Cerza <[email protected]> |
| 1315 |
|
| 1316 |
* README: Update. |
| 1317 |
|
| 1318 |
* setup.py, dogtail/__init__.py: Bump version numbers. |
| 1319 |
|
| 1320 |
2006-09-13 Zack Cerza <[email protected]> |
| 1321 |
|
| 1322 |
* MANIFEST.in: Remove debian directory from tarball. |
| 1323 |
|
| 1324 |
* setup.py: Remove references to dogtail.apps.wrappers. |
| 1325 |
|
| 1326 |
2006-09-13 David Malcolm <[email protected]> |
| 1327 |
|
| 1328 |
* examples/rhythmbox-test.py: removed |
| 1329 |
|
| 1330 |
* examples/nautilus-test-icon-view-collage.py: removed (moved to |
| 1331 |
dogtail-tests/nautilus) |
| 1332 |
|
| 1333 |
* examples/google-search.py: removed (moved to dogtail-tests/epiphany) |
| 1334 |
|
| 1335 |
* examples/gnome-panel-test-starting-every-app.py: removed (moved to |
| 1336 |
dogtail-tests/gnome-panel) |
| 1337 |
|
| 1338 |
* examples/gcalctool-test-fibonacci.py: removed (moved to |
| 1339 |
dogtail-tests/gcalctool) |
| 1340 |
|
| 1341 |
* examples/firefox-test-browsing-local-html-file.py: removed |
| 1342 |
|
| 1343 |
* examples/evolution-test-switching-components.py: |
| 1344 |
* examples/data/CAN-2005-0806.mbox: |
| 1345 |
* examples/evolution-test-survives-email-CAN-2005-0806.py: |
| 1346 |
* examples/evolution-test-sending-email.py: |
| 1347 |
* examples/evolution-test-first-time-wizard.py: |
| 1348 |
* examples/evolution-test-configuring-imap-smtp.py: |
| 1349 |
* examples/evolution-test-configuring-exchange.py: |
| 1350 |
* examples/evolution-test-composing-html.py: removed (moved to |
| 1351 |
dogtail-tests/evolution) |
| 1352 |
|
| 1353 |
* examples/crack.py: removed (never worked) |
| 1354 |
|
| 1355 |
* examples/abiword-test.py: removed (moved to dogtail-tests/abiword) |
| 1356 |
|
| 1357 |
2006-09-13 David Malcolm <[email protected]> |
| 1358 |
|
| 1359 |
* dogtail/apps: remove entire subdirectory structure: what remained is now in |
| 1360 |
GNOME CVS inside dogtail-tests/appwrappers |
| 1361 |
|
| 1362 |
2006-09-13 David Malcolm <[email protected]> |
| 1363 |
|
| 1364 |
* dogtail/apps/wrappers/kicker.py: remove |
| 1365 |
|
| 1366 |
* dogtail/apps/wrappers/konqueror.py: remove |
| 1367 |
|
| 1368 |
* dogtail/apps/wrappers/mozilla.py: remove |
| 1369 |
|
| 1370 |
* dogtail/apps/wrappers/epiphany.py, |
| 1371 |
* dogtail/apps/wrappers/evolution.py, |
| 1372 |
* dogtail/apps/wrappers/gnomepanel.py, |
| 1373 |
* dogtail/apps/wrappers/gnomepanel.py, |
| 1374 |
* dogtail/apps/wrappers/yelp.py, |
| 1375 |
* dogtail/apps/wrappers/nautilus.py: remove reference to categories |
| 1376 |
|
| 1377 |
* dogtail/apps/categories.py: remove |
| 1378 |
|
| 1379 |
* dogtail/apps/__init__.py: remove categories |
| 1380 |
|
| 1381 |
2006-09-13 Zack Cerza <[email protected]> |
| 1382 |
|
| 1383 |
* NEWS: Update. |
| 1384 |
|
| 1385 |
2006-09-11 Zack Cerza <[email protected]> |
| 1386 |
|
| 1387 |
* recorder/dogtail-recorder: Replace newlines in node.name values with |
| 1388 |
an escaped '\n' in ProceduralScriptWriter.recordClick(). Remove a debug |
| 1389 |
statement in EventRecorder.onKeyPress(). |
| 1390 |
|
| 1391 |
2006-09-11 David Malcolm <[email protected]> |
| 1392 |
|
| 1393 |
* dogtail/apps/wrappers/yelp.py, dogtail/apps/wrappers/mozilla.py, |
| 1394 |
* dogtail/apps/wrappers/gnomepanel.py: rename self.version in each app |
| 1395 |
wrapper to avoid a naming collision with the synthesized Tree.version |
| 1396 |
attribute. |
| 1397 |
|
| 1398 |
2006-09-11 Zack Cerza <[email protected]> |
| 1399 |
|
| 1400 |
* sniff/sniff, recorder/dogtail-recorder: Add patch from Tim Lee so |
| 1401 |
sniff and dogtail-recorder can find glade files even if they're not |
| 1402 |
installed into the /usr prefix. Closes: #353719, #353731. |
| 1403 |
|
| 1404 |
2006-09-11 Zack Cerza <[email protected]> |
| 1405 |
|
| 1406 |
* dogtail/utils.py, sniff/sniff, recorder/dogtail-recorder, |
| 1407 |
dogtail/tree.py: Add utility functions to check whether accessibility |
| 1408 |
is enabled via GConf, and either present a dialog asking to enable it |
| 1409 |
(for sniff & dogtail-recorder) or just bail (for scripts). |
| 1410 |
|
| 1411 |
2006-09-07 Zack Cerza <[email protected]> |
| 1412 |
|
| 1413 |
* recorder/dogtail-recorder: Make sure the recorder can't record |
| 1414 |
itself. Also remove some old comments. |
| 1415 |
|
| 1416 |
2006-09-07 Zack Cerza <[email protected]> |
| 1417 |
|
| 1418 |
* dogtail/i18n.py: Also use safeDecode() instead of calling any |
| 1419 |
string's encode() method directly. Now i18n.py should work exclusively |
| 1420 |
with Unicode internally, and the safe conversion means that dogtail |
| 1421 |
should never crash because of an invalid Unicode string ever again. |
| 1422 |
|
| 1423 |
2006-09-07 Zack Cerza <[email protected]> |
| 1424 |
|
| 1425 |
* dogtail/i18n.py: Add safeDecode(), a function based on the fix |
| 1426 |
committed on 2006-08-22. Use it instead of calling any string's |
| 1427 |
decode() method directly. Closes: #354515. |
| 1428 |
|
| 1429 |
2006-09-07 Zack Cerza <[email protected]> |
| 1430 |
|
| 1431 |
* scripts/dogtail-run-headless: Fix syntax error, and look for |
| 1432 |
gnome-settings-daemon in /usr/libexec before $PATH. Closes: #354518. |
| 1433 |
|
| 1434 |
2006-09-07 Zack Cerza <[email protected]> |
| 1435 |
|
| 1436 |
* dogtail/utils.py: Rewrite screenshot() to use GDK instead of |
| 1437 |
ImageMagick. |
| 1438 |
|
| 1439 |
2006-09-06 Zack Cerza <[email protected]> |
| 1440 |
|
| 1441 |
* dogtail/distro.py: Add patch from Tim Lee to fix up SuSe support. |
| 1442 |
Closes: #353601. |
| 1443 |
|
| 1444 |
2006-09-05 Zack Cerza <[email protected]> |
| 1445 |
|
| 1446 |
* dogtail/logging.py: Don't use an IconLogger by default. |
| 1447 |
|
| 1448 |
* dogtail/config.py: Add useIconLogger setting, which defaults to |
| 1449 |
False. Setting it to True enables the IconLogger immediately. Add |
| 1450 |
documentation and a unit test to that effect. |
| 1451 |
|
| 1452 |
2006-08-28 Zack Cerza <[email protected]> |
| 1453 |
|
| 1454 |
* dogtail/tree.py: Ignore any SpiException, only when trying to access |
| 1455 |
root.children. This is so people using broken applications while |
| 1456 |
trying to test non-broken applications don't have to suffer. |
| 1457 |
|
| 1458 |
2006-08-25 Zack Cerza <[email protected]> |
| 1459 |
|
| 1460 |
* dogtail/tree.py: Add patch from Chris Lee to add the 'checked' Node |
| 1461 |
attribute, which indicates whether the Node is a check box that is |
| 1462 |
currently checked. |
| 1463 |
|
| 1464 |
2006-08-23 Zack Cerza <[email protected]> |
| 1465 |
|
| 1466 |
* dogtail/config.py: Add parameter 'typingDelay', defaulting to 0.075. |
| 1467 |
|
| 1468 |
* dogtail/rawinput.py: Make typeText() use pressKey(). Add |
| 1469 |
keySymAliases for '\t' and '\n'. |
| 1470 |
|
| 1471 |
2006-08-23 Zack Cerza <[email protected]> |
| 1472 |
|
| 1473 |
* setup.py, MANIFEST.in: Remove mentions of textinput.glade. |
| 1474 |
|
| 1475 |
2006-08-22 Zack Cerza <[email protected]> |
| 1476 |
|
| 1477 |
* recorder/dogtail-recorder: Remove the text input UI. Implement actual |
| 1478 |
keystroke recording. Add support for the ProceduralScriptWriter to |
| 1479 |
write out script calls. The OOScriptWriter is unsupported at this time. |
| 1480 |
Also, make exceptions occuring inside AT-SPI-registered callbacks more |
| 1481 |
informative by printing their tracebacks before they're lost in the |
| 1482 |
marshaling process. |
| 1483 |
|
| 1484 |
* recorder/recorder.glade: Remove 'Input Text' button. |
| 1485 |
|
| 1486 |
* recorder/textinput.glade: Remove glade file for text input UI. |
| 1487 |
|
| 1488 |
2006-08-22 Zack Cerza <[email protected]> |
| 1489 |
|
| 1490 |
* dogtail/procedural.py: Add type(), which for now just calls |
| 1491 |
focus.widget.node.typeText(). Add keyCombo(), which for now just calls |
| 1492 |
focus.widget.node.keyCombo(). |
| 1493 |
|
| 1494 |
2006-08-22 Zack Cerza <[email protected]> |
| 1495 |
|
| 1496 |
* dogtail/tree.py: Add new Node attributes: 'focusable' and 'focused'. |
| 1497 |
Both are read-only Boolean values. 'focusable' indicates whether the |
| 1498 |
Node is able of taking keyboard focus. 'focused' indicates whether the |
| 1499 |
Node currently has keyboard focus. Remove Node.rawType() and move its |
| 1500 |
functionality to Node.typeText(). In Node.typeText(), if the node is |
| 1501 |
focusable and not focused, try to grab its focus with Node.grabFocus |
| 1502 |
before using rawtype.typeText() to do the typing. If the node is not |
| 1503 |
focusable, just append the string to the node's 'text' property. Add |
| 1504 |
Node.keyCombo(), which does a similar thing but cannot have a fallback |
| 1505 |
mechanism. |
| 1506 |
|
| 1507 |
2006-08-22 Zack Cerza <[email protected]> |
| 1508 |
|
| 1509 |
* dogtail/rawinput.py: Add keyCombo(), which takes a string in the same |
| 1510 |
format of gtk.accelerator_parse(), e.g. "<Control><Alt>Delete" and |
| 1511 |
generates the appropriate keyboard events to simulate the user pressing |
| 1512 |
that combination. Add __buildKeyStringsDict(), which essentially |
| 1513 |
generates an inverted version of the keySyms dict. Add |
| 1514 |
keySymToUniChar(), which takes a keysym and returns the corresponding |
| 1515 |
Unicode character, if one exists. Add uniCharToKeySym(), which does the |
| 1516 |
reverse. Also add a few more keysym aliases to the keySymAliases dict. |
| 1517 |
|
| 1518 |
2006-08-22 Zack Cerza <[email protected]> |
| 1519 |
|
| 1520 |
* dogtail/i18n.py: If we encounter a UnicodeDecodeError because of an |
| 1521 |
invalid string, print the exception plus a warning explanation, and |
| 1522 |
contintue by decoding the string and replacing invalid characters with |
| 1523 |
question marks. |
| 1524 |
|
| 1525 |
2006-08-21 Zack Cerza <[email protected]> |
| 1526 |
|
| 1527 |
* recorder/dogtail-recorder.desktop: Move to the 'Programming' |
| 1528 |
category in the menu. |
| 1529 |
|
| 1530 |
* sniff/sniff.desktop: Move to the 'Programming' category in the menu. |
| 1531 |
|
| 1532 |
2006-08-11 Zack Cerza <[email protected]> |
| 1533 |
|
| 1534 |
* scripts/dogtail-run-headless: Use the python GConf bindings. |
| 1535 |
|
| 1536 |
2006-08-11 Zack Cerza <[email protected]> |
| 1537 |
|
| 1538 |
* NEWS, setup.py, dogtail/__init__.py, dogtail/apps/__init__.py, |
| 1539 |
dogtail/apps/wrappers/__init__.py: Post-release version bump. |
| 1540 |
|
| 1541 |
2006-08-01 Zack Cerza <[email protected]> |
| 1542 |
|
| 1543 |
Released 0.5.2. |
| 1544 |
|
| 1545 |
2006-08-01 Zack Cerza <[email protected]> |
| 1546 |
|
| 1547 |
* NEWS: Update. |
| 1548 |
|
| 1549 |
2006-08-01 Zack Cerza <[email protected]> |
| 1550 |
|
| 1551 |
* tests/Node.py: Put a time.sleep() in GtkDemoTest.tearDown() to let |
| 1552 |
gtk-demo actually die before launching another. AT-SPI seems to really |
| 1553 |
disapprove of the speed at which it was being hammered. |
| 1554 |
|
| 1555 |
2006-08-01 Zack Cerza <[email protected]> |
| 1556 |
|
| 1557 |
* NEWS: Update. |
| 1558 |
|
| 1559 |
2006-07-31 Zack Cerza <[email protected]> |
| 1560 |
|
| 1561 |
* dogtail/config.py, dogtail/tree.py: Remove shebang lines. |
| 1562 |
|
| 1563 |
2006-07-28 David Malcolm <[email protected]> |
| 1564 |
|
| 1565 |
* Makefile: add a working default target ('all') and an install target, |
| 1566 |
so that it builds within jhbuild (Fixes: #318535) |
| 1567 |
|
| 1568 |
2006-07-27 David Malcolm <[email protected]> |
| 1569 |
|
| 1570 |
* tests/Node.py: added TestExceptions: ensure that when an app dies, |
| 1571 |
attempts to contact it result in an exception being raised (even more |
| 1572 |
final part of bg #318135) |
| 1573 |
|
| 1574 |
2006-07-27 David Malcolm <[email protected]> |
| 1575 |
|
| 1576 |
* sniff/sniff: handle broken communication with nodes (e.g. for a |
| 1577 |
crashed app) by displaying "broken node" and an error icon (hopefully |
| 1578 |
the final part of bug #318135) |
| 1579 |
|
| 1580 |
2006-07-24 Zack Cerza <[email protected]> |
| 1581 |
|
| 1582 |
* dogtail/rawinput.py: Use gtk.kesyms to look up keysyms. Retain |
| 1583 |
compatibility with old names via a keySymAliases dict. Also, use only |
| 1584 |
one atspi.EventGenerator. |
| 1585 |
|
| 1586 |
2006-07-21 Zack Cerza <[email protected]> |
| 1587 |
|
| 1588 |
* dogtail/utils.py: Set GTK_MODULES='gail:atk-bridge' in run() before |
| 1589 |
executing the app, to make sure it is accessible. It seems most |
| 1590 |
non-GNOME apps need this set. |
| 1591 |
|
| 1592 |
2006-07-21 Zack Cerza <[email protected]> |
| 1593 |
|
| 1594 |
* recorder/dogtail-recorder: Add a UI for setting the text property of |
| 1595 |
a Node instance. While recording, you click 'Input Text', and a dialog |
| 1596 |
pops up. Click the node whose text you want to set, then type the text |
| 1597 |
into the dialog and press OK. The recorder sets the node's text, then |
| 1598 |
writes out lines in the script to do the same. |
| 1599 |
|
| 1600 |
* recorder/recorder.glade: Add 'Input Text' button. |
| 1601 |
|
| 1602 |
* recorder/textinput.glade: Add new glade file: the text input dialog. |
| 1603 |
|
| 1604 |
* MANIFEST.in: Add textinput.glade to tarball. |
| 1605 |
|
| 1606 |
* setup.py: Add textinput.glade to packages. |
| 1607 |
|
| 1608 |
2006-07-19 Zack Cerza <[email protected]> |
| 1609 |
|
| 1610 |
* recorder/dogtail-recorder: Initialize EventRecorder.listeners to an |
| 1611 |
empty list, to fix a traceback when the user tries to quit the |
| 1612 |
recorder without actually recording anything. |
| 1613 |
|
| 1614 |
2006-07-14 Zack Cerza <[email protected]> |
| 1615 |
|
| 1616 |
* recorder/dogtail-recorder: Make the script TextView editable at |
| 1617 |
all times, so the user can add comments and the like while recording. |
| 1618 |
|
| 1619 |
2006-07-14 Zack Cerza <[email protected]> |
| 1620 |
|
| 1621 |
* examples/gedit-test-utf8-tree-api.py: Add patch from Len DiMaggio |
| 1622 |
to fix this script. Also make the script search for u'Save As\u2026' |
| 1623 |
in addition to 'Save As...' for the dialog title. Closes: #340734. |
| 1624 |
|
| 1625 |
2006-07-14 Zack Cerza <[email protected]> |
| 1626 |
|
| 1627 |
* dogtail.spec: Forward-port a fix from the Fedora Extras specfile, |
| 1628 |
fixing a broken call to desktop-file-install. Closes: #347322. |
| 1629 |
|
| 1630 |
2006-07-13 Zack Cerza <[email protected]> |
| 1631 |
|
| 1632 |
* scripts/dogtail-run-headless: Rewrite the script in Python. It now |
| 1633 |
accepts command line options to specify what session is to be used. |
| 1634 |
Currently those are: '--gnome' or '-g' for the old minimal GNOME |
| 1635 |
session, and '--none' or '-n' for just metacity. The script also has |
| 1636 |
a usage statement and helpful error messages. In general it's more |
| 1637 |
featureful, robust and easy to use. Closes: #344902. |
| 1638 |
|
| 1639 |
* scripts/dogtail-detect-session: Also exit normally if any apps are |
| 1640 |
found at all. |
| 1641 |
|
| 1642 |
2006-06-30 David Malcolm <[email protected]> |
| 1643 |
|
| 1644 |
* tests/Node.py: add unit test for getting bogus attributes of a Node; |
| 1645 |
document many of the existing unit tests; add unit tests for writing to |
| 1646 |
a read-only attribute of Node; fix some typos in the names of the unit |
| 1647 |
tests; check that Node.extents has non-zero size, and that Node.size is |
| 1648 |
non-zero |
| 1649 |
|
| 1650 |
* dogtail/tree.py: make attempts to write to a read-only attribute of |
| 1651 |
Node raise a ReadOnlyError, rather than fall through to an |
| 1652 |
AttributeError; remove the old stubbed unit test from the tail of the |
| 1653 |
file |
| 1654 |
|
| 1655 |
2006-06-29 Zack Cerza <[email protected]> |
| 1656 |
|
| 1657 |
* dogtail/procedural.py: Add warning not to read without understanding |
| 1658 |
the API. |
| 1659 |
|
| 1660 |
2006-06-27 David Malcolm <[email protected]> |
| 1661 |
|
| 1662 |
* recorder/dogtail-recorder: use GtkSourceView if available to get |
| 1663 |
syntax-highlighting. Closes: #345374. |
| 1664 |
|
| 1665 |
* tests/Node.py: new file: unit tests for the dogtail.Node class. |
| 1666 |
|
| 1667 |
* tests: new subdirectory, to hold unit tests for Dogtail itself |
| 1668 |
|
| 1669 |
2006-06-27 Zack Cerza <[email protected]> |
| 1670 |
|
| 1671 |
* dogtail/tree.py: Make SearchError a proper Exception subclass. |
| 1672 |
|
| 1673 |
* dogtail/procedural.py: Prepare module for support for accepting |
| 1674 |
regular expressions as 'name' arguments. Use the IsAnApplicationNamed |
| 1675 |
predicate in FocusApplication. Remove unused 'description' arguments. |
| 1676 |
|
| 1677 |
* dogtail/i18n.py: Add regular expression support to |
| 1678 |
TranslatableString.matchedBy(). This means that any 'name' argument |
| 1679 |
supports regular expression matching, by virtue of the fact that all |
| 1680 |
Predicate subclasses uses TranslatableString.matchedBy() for 'name' |
| 1681 |
arguments. |
| 1682 |
|
| 1683 |
2006-06-16 Zack Cerza <[email protected]> |
| 1684 |
|
| 1685 |
* dogtail/tree.py: Add patch from Dave Malcolm to work around the |
| 1686 |
problem where pyspi would essentially just stop working, until the |
| 1687 |
user logged out and back in. Closes: #321273. |
| 1688 |
|
| 1689 |
2006-06-15 Zack Cerza <[email protected]> |
| 1690 |
|
| 1691 |
* dogtail/config.py: Fix help(dogtail.config.config). Fix outdated |
| 1692 |
documentation for dogtail.config.config by reorganizing and documenting |
| 1693 |
accidentally-undocumented parameters. |
| 1694 |
|
| 1695 |
2006-06-02 Zack Cerza <[email protected]> |
| 1696 |
|
| 1697 |
* dogtail/config.py: Fix unit test that was broken by a commit from |
| 1698 |
2005-11-01, which made config.ensureSensitivity default to True. The |
| 1699 |
unit test wasn't updated in that commit. The unit test now doesn't |
| 1700 |
assume what the default is, and uses the value obtained from |
| 1701 |
config.defaults. Thanks to Len DiMaggio for reporting. Closes: #342028. |
| 1702 |
|
| 1703 |
2006-05-01 Zack Cerza <[email protected]> |
| 1704 |
|
| 1705 |
* recorder/recorder.glade: Remove the 'Stop' button, and add a 'Clear' |
| 1706 |
button. |
| 1707 |
|
| 1708 |
* recorder/dogtail-recorder: Make the 'Record' button turn into a |
| 1709 |
'Stop' button after it is pressed, and vice versa. Add |
| 1710 |
toggleRecording() to RecorderGUI and remove startRecording(). Make |
| 1711 |
RecorderGUI.quit() stop the recording before it calls gtk.main_quit(). |
| 1712 |
|
| 1713 |
2006-04-17 Zack Cerza <[email protected]> |
| 1714 |
|
| 1715 |
* recorder/dogtail-recorder: Make ProceduralScriptWriter.recordClick() |
| 1716 |
write out correct calls for Node instances that don't have |
| 1717 |
action['click'] and instead need, for example, 'activate'. If other |
| 1718 |
actions aren't available, use the node's select(). If that doesn't |
| 1719 |
work, do a click(raw=True), to spoof raw mouse input. Also, remove |
| 1720 |
some old AttributeError handlers from FakeNode.__init__(). Also, make |
| 1721 |
EventRecorder stop listening to window:create events, since those are |
| 1722 |
just thrown away. Also, refactor and rewrite |
| 1723 |
EventRecorder.onMouseButton() to be much more accurate in detecting |
| 1724 |
clicks. Reporting the wrong nodes happens far less often, now. There |
| 1725 |
is still the problem of clicks getting dropped when the mouse button |
| 1726 |
isn't help down for, say, 200ms. Clicks on toolbar buttons tend to get |
| 1727 |
dropped too. But there are no more false clicks, e.g. clicking on a |
| 1728 |
non-accessible application still recorded a (bogus) action. Also, make |
| 1729 |
clicking on table cells work properly, working around the fact that |
| 1730 |
mouse:button events are always reported by the table and not the cell, |
| 1731 |
by finding the smallest child of the table whose extents the event |
| 1732 |
occured inside. |
| 1733 |
|
| 1734 |
* dogtail/procedural.py: Add Select, an Action subclass that doesn't |
| 1735 |
deal with actions. It lets us have select() and deselect() calls. The |
| 1736 |
former is how page tabs are activated. |
| 1737 |
|
| 1738 |
2006-04-17 Zack Cerza <[email protected]> |
| 1739 |
|
| 1740 |
* sniff/sniff: Restore sane default window size. |
| 1741 |
|
| 1742 |
2006-04-17 Zack Cerza <[email protected]> |
| 1743 |
|
| 1744 |
* dogtail/tree.py: Fix Node.size by using the values from |
| 1745 |
Node.__accessible.getExtents() instead of .getSize(). |
| 1746 |
|
| 1747 |
2006-04-13 Zack Cerza <[email protected]> |
| 1748 |
|
| 1749 |
* dogtail/tree.py: Change the way Node reports that attributes |
| 1750 |
provided by specialized Accessible interface extensions do not apply. |
| 1751 |
For example, for some instance 'foo', trying to access 'foo.text' when |
| 1752 |
the AccessibleText interface is not available for that node will now |
| 1753 |
return None instead of raising an AttributeError (if it were |
| 1754 |
available, and the text was zero-length, it would have returned ''). |
| 1755 |
Trying to access 'foo.children' will return [] instead of raising an |
| 1756 |
AttributeError. The reason for this change is that these conditions |
| 1757 |
are not "exceptional". Trying to access |
| 1758 |
'foo.thisIsANonexistentAttribute' would be exceptional. Also, add a |
| 1759 |
ReadOnlyError exception which is raised when, for example, someone |
| 1760 |
tries to set 'foo.text' when 'foo' does not have an |
| 1761 |
AccessibleEditableText implementation. |
| 1762 |
|
| 1763 |
* sniff/sniff: Update Sniff to reflect the removal of most of Node's |
| 1764 |
AttributeErrors. |
| 1765 |
|
| 1766 |
* sniff/sniff.glade: Use a GtkWindow instead of a GnomeApp. The latter |
| 1767 |
was unnecessary and forced us to use widgets we didn't want. |
| 1768 |
|
| 1769 |
2006-04-11 Zack Cerza <[email protected]> |
| 1770 |
|
| 1771 |
* recorder/dogtail-recorder: Scroll to the end of the TextView after |
| 1772 |
inserting a new line, so you can watch the script as it's written. |
| 1773 |
|
| 1774 |
2006-04-11 Zack Cerza <[email protected]> |
| 1775 |
|
| 1776 |
* recorder/dogtail-recorder, recorder/recorder.glade: Add ComboBox to |
| 1777 |
allow selection of ScriptWriter. Make ProceduralScriptWriter default. |
| 1778 |
Remove those assertions, because they were evil. |
| 1779 |
|
| 1780 |
2006-04-11 Zack Cerza <[email protected]> |
| 1781 |
|
| 1782 |
* recorder/dogtail-recorder: Implement ProceduralScriptWriter class. |
| 1783 |
It implements recordClick() just like OOScriptWriter, but it also has |
| 1784 |
the special method findAncestor(), for deciding whether the script |
| 1785 |
will need to do a focus.application() or focus.dialog(). For this, I |
| 1786 |
needed to implement a FakeNode.__cmp__(). It only compares the name, |
| 1787 |
roleName and description of the FakeNode instances. Bother me if you |
| 1788 |
need it to compare more attributes for it to work. Make |
| 1789 |
ProceduralScriptWriter the default ScriptWriter for now. Also, add a |
| 1790 |
couple assertions in various methods to make sure the node parameter |
| 1791 |
is never None. |
| 1792 |
|
| 1793 |
2006-04-04 Zack Cerza <[email protected]> |
| 1794 |
|
| 1795 |
* setup.py, dogtail/__init__.py, dogtail/config.py, dogtail/distro.py, |
| 1796 |
dogtail/dump.py, dogtail/errors.py, dogtail/i18n.py, |
| 1797 |
dogtail/logging.py, dogtail/path.py, dogtail/predicate.py, |
| 1798 |
dogtail/procedural.py, dogtail/rawinput.py, dogtail/tc.py, |
| 1799 |
dogtail/trayicon.py, dogtail/tree.py, dogtail/utils.py, |
| 1800 |
dogtail/version.py, dogtail/apps/categories.py, |
| 1801 |
dogtail/apps/wrappers/__init__.py, dogtail/apps/wrappers/epiphany.py, |
| 1802 |
dogtail/apps/wrappers/evolution.py, |
| 1803 |
dogtail/apps/wrappers/gcalctool.py, dogtail/apps/wrappers/gedit.py, |
| 1804 |
dogtail/apps/wrappers/gnomepanel.py, dogtail/apps/wrappers/kicker.py, |
| 1805 |
dogtail/apps/wrappers/konqueror.py, dogtail/apps/wrappers/mozilla.py, |
| 1806 |
dogtail/apps/wrappers/nautilus.py, dogtail/apps/wrappers/yelp.py, |
| 1807 |
examples/abiword-test.py, examples/crack.py, |
| 1808 |
examples/evolution-test-switching-components.py, |
| 1809 |
examples/filechooser-stress-test.py, |
| 1810 |
examples/gcalctool-test-fibonacci.py, |
| 1811 |
examples/gedit-test-utf8-procedural-api.py, |
| 1812 |
examples/gedit-test-utf8-tree-api.py, |
| 1813 |
examples/gnome-panel-test-starting-every-app.py, |
| 1814 |
examples/google-search.py, examples/i18n-test.py, |
| 1815 |
examples/nautilus-test-icon-view-collage.py, |
| 1816 |
examples/no-help-at-all.py, examples/rhythmbox-test.py, |
| 1817 |
examples/test-events.py, recorder/dogtail-recorder, sniff/sniff: |
| 1818 |
Convert everything to use 4 spaces for indentation, instead of tabs. |
| 1819 |
|
| 1820 |
* HACKING: Remove all the notes about forcing editors to use tabs for |
| 1821 |
indentation. Closes: #318833. |
| 1822 |
|
| 1823 |
2006-04-04 Zack Cerza <[email protected]> |
| 1824 |
|
| 1825 |
* sniff/sniff.desktop: Move to the 'Accessories' category in the menu. |
| 1826 |
|
| 1827 |
2006-04-04 Zack Cerza <[email protected]> |
| 1828 |
|
| 1829 |
* recorder/dogtail-recorder.desktop: Add desktop file for |
| 1830 |
dogtail-recorder. |
| 1831 |
|
| 1832 |
* MANIFEST.in, setup.py: Ship and install dogtail-recorder.desktop. |
| 1833 |
|
| 1834 |
2006-04-04 Zack Cerza <[email protected]> |
| 1835 |
|
| 1836 |
* recorder/recorder.glade: Add gtk.Expander and gtk.TextView |
| 1837 |
to allow viewing and editing a script. Note that when the Expander is |
| 1838 |
collapsed, the main window doesn't shrink back to its original size. |
| 1839 |
This is a bug. |
| 1840 |
|
| 1841 |
* recorder/dogtail-recorder: Make ScriptWriters either store |
| 1842 |
the script in a normal Python string, or a gtk.TextView if it's |
| 1843 |
available. Continue to print the script to standard out, for |
| 1844 |
debugging. Implement saving scripts via the GUI, automatically |
| 1845 |
appending a '.py' to the filename if necessary. Also, add some basic |
| 1846 |
docstrings to some OOScriptWriter methods (mostly to note that the |
| 1847 |
keyboard stuff doesn't work yet). |
| 1848 |
|
| 1849 |
2006-03-31 Zack Cerza <[email protected]> |
| 1850 |
|
| 1851 |
* dogtail/tree.py: Added support for AccessibleSelection to Node, via |
| 1852 |
Node.{de,}select(), Node.{de,}selectAll(), Node.isSelected, |
| 1853 |
Node.selectedChildren and Node.indexInParent.. Thanks to Peter |
| 1854 |
Johanson and Jose Dapena Paz. Closes: #336562. |
| 1855 |
|
| 1856 |
2006-03-28 Zack Cerza <[email protected]> |
| 1857 |
|
| 1858 |
* MANIFEST.in: Add the new recorder files to the tarball. |
| 1859 |
|
| 1860 |
* setup.py: Add the new recorder files to packages. |
| 1861 |
|
| 1862 |
2006-03-28 Zack Cerza <[email protected]> |
| 1863 |
|
| 1864 |
* recorder/dogtail-recorder: Add GUI with Record, Stop, Save and Quit |
| 1865 |
buttons. Add new methods to EventRecorder: startRecording() and |
| 1866 |
stopRecording(), and move all the event listener (de)registration and |
| 1867 |
and AT-SPI event loop handling into those methods. Remove hack that |
| 1868 |
killed the recorder when an Edit menu was clicked, since there is a |
| 1869 |
working Stop button. This requires today's pyspi HEAD. |
| 1870 |
|
| 1871 |
* recorder/recorder.glade: Add Glade file for dogtail-recorder. |
| 1872 |
|
| 1873 |
2006-03-28 Zack Cerza <[email protected]> |
| 1874 |
|
| 1875 |
* examples/recorder.py: Move to recorder/dogtail-recorder. |
| 1876 |
|
| 1877 |
* recorder/dogtail-recorder: Move from examples/recorder.py. |
| 1878 |
|
| 1879 |
2006-03-28 Zack Cerza <[email protected]> |
| 1880 |
|
| 1881 |
* examples/recorder.py: Remove the Writer class and move its only |
| 1882 |
method to the ScriptWriter class. Create a a subclass of |
| 1883 |
dogtail.tree.node, called FakeNode, which can wrap a Node instance and |
| 1884 |
store certain attributes of it, so AT-SPI calls are not used when |
| 1885 |
reading them. This was necessary because events are useless if they |
| 1886 |
are received after their source has been destroyed. For example, by |
| 1887 |
storing recorder.lastFocusedNode as a FakeNode instead of a Node, if a |
| 1888 |
Close button in a dialog is clicked we will still have all the |
| 1889 |
information we need to record the event. So, make |
| 1890 |
EventRecorder.on{Focus,Select}() store self.last{Focus,Select}edNode |
| 1891 |
as FakeNodes. Also, make EventRecorder.onMouseButton() properly dance |
| 1892 |
around dogtail.tree's handling of attributes. This will have to be |
| 1893 |
fixed in the nearish future, though. |
| 1894 |
|
| 1895 |
2006-03-21 Zack Cerza <[email protected]> |
| 1896 |
|
| 1897 |
* examples/recorder.py: s/Focussed/Focused/g. Add lastSelectedNode |
| 1898 |
callbacks and event listener registration. s/MouseClick/MouseButton/g. |
| 1899 |
Keep track of lastPressedNode and lastReleasedNode. Add code to try to |
| 1900 |
detect the "real" source nodes by checking the X and Y coordinates of |
| 1901 |
lastFocusedNode and lastSelectedNode. Add a way to exit the recorder - |
| 1902 |
currently, clicking on an Edit menu will do it. When the |
| 1903 |
OOScriptWriter is initialized, make it spit out "from dogtail.tree |
| 1904 |
import *". |
| 1905 |
|
| 1906 |
2006-03-21 Zack Cerza <[email protected]> |
| 1907 |
|
| 1908 |
* dogtail/predicate.py: Remove extra quotes from all the script |
| 1909 |
generation code. |
| 1910 |
|
| 1911 |
2006-03-21 Zack Cerza <[email protected]> |
| 1912 |
|
| 1913 |
* dogtail/__init__.py, dogtail/apps/__init__.py, |
| 1914 |
dogtail/apps/wrappers/__init__.py, setup.py, NEWS: Post-release |
| 1915 |
version bump. |
| 1916 |
|
| 1917 |
2006-03-14 Zack Cerza <[email protected]> |
| 1918 |
|
| 1919 |
Released 0.5.1. |
| 1920 |
|
| 1921 |
2006-03-14 Zack Cerza <[email protected]> |
| 1922 |
|
| 1923 |
* examples/recorder.py: Store each EventListener in a list instead of |
| 1924 |
initializing it and throwing it away. Add the beginnings of a |
| 1925 |
OOScriptWriter.recordKey() method - for when pyspi's DeviceListener |
| 1926 |
works properly. |
| 1927 |
|
| 1928 |
* NEWS: Updated. |
| 1929 |
|
| 1930 |
2006-03-14 Zack Cerza <[email protected]> |
| 1931 |
|
| 1932 |
* dogtail/i18n.py, dogtail/rawinput.py, dogtail/i18n.py, |
| 1933 |
dogtail/rawinput.py, dogtail/logging.py, dogtail/utils.py, |
| 1934 |
dogtail/path.py: Remove '#!/usr/bin/env python' headers to fix rpmlint |
| 1935 |
warnings. The rest apparently can keep them, since they have unit |
| 1936 |
tests. Add UTF-8 encoding headers. |
| 1937 |
|
| 1938 |
2006-02-28 Zack Cerza <[email protected]> |
| 1939 |
|
| 1940 |
* dogtail/predicate.py: Fix makeCamel() to deal with |
| 1941 |
TranslatableString instances properly by calling str() on the |
| 1942 |
parameter as a safeguard. |
| 1943 |
|
| 1944 |
2006-02-24 Zack Cerza <[email protected]> |
| 1945 |
|
| 1946 |
* setup.py, dogtail/__init__.py, dogtail/apps/__init__.py, |
| 1947 |
dogtail/apps/wrappers/__init__.py: Belated post-release version bump. |
| 1948 |
|
| 1949 |
2006-02-24 Zack Cerza <[email protected]> |
| 1950 |
|
| 1951 |
* dogtail/distro.py, dogtail/i18n.py, dogtail/logging.py, |
| 1952 |
dogtail/tc.py, dogtail/trayicon.py, dogtail/tree.py, |
| 1953 |
dogtail/apps/wrappers/evolution.py: s/ / /g. This will make it easier |
| 1954 |
to convert to four-space indentation, since that's all the rage these |
| 1955 |
days. |
| 1956 |
|
| 1957 |
* dogtail/apps/wrappers/nautilus.py: Fix up indentation; was mixing |
| 1958 |
tabs and spaces. |
| 1959 |
|
| 1960 |
2006-02-24 Zack Cerza <[email protected]> |
| 1961 |
|
| 1962 |
* dogtail/procedural.py: Tweak the FocusWidget and FocusDialog |
| 1963 |
algorithms so that they store the predicate instance. That way, we can |
| 1964 |
give more meaningful FocusErrors by passing the predicate's debugName. |
| 1965 |
|
| 1966 |
2006-02-14 Zack Cerza <[email protected]> |
| 1967 |
|
| 1968 |
* Makefile: Split 'rpm' target into 'rpm_prep' and 'rpm'. Add a new |
| 1969 |
target, 'srpm', to build just a source RPM. Make it ignore |
| 1970 |
BuildRequires. Make 'rpm' target only build binary RPMs. Don't make |
| 1971 |
the 'tarball' target depend on the 'clean' target. |
| 1972 |
|
| 1973 |
2006-02-07 Zack Cerza <[email protected]> |
| 1974 |
|
| 1975 |
Released 0.5.0. |
| 1976 |
|
| 1977 |
2006-02-07 Zack Cerza <[email protected]> |
| 1978 |
|
| 1979 |
* README: Add pointed to gedit-procedural example, and note that it's |
| 1980 |
the most frequently updated. |
| 1981 |
|
| 1982 |
2006-02-03 Zack Cerza <[email protected]> |
| 1983 |
|
| 1984 |
* sniff/sniff: Add some error checking to getSelectedNode(), to get |
| 1985 |
rid of a (harmless, but scary) traceback on startup. |
| 1986 |
|
| 1987 |
2006-02-03 Zack Cerza <[email protected]> |
| 1988 |
|
| 1989 |
* dogtail/logging.py: Update to use new icon path. |
| 1990 |
|
| 1991 |
2006-02-03 Zack Cerza <[email protected]> |
| 1992 |
|
| 1993 |
* setup.py, sniff/sniff: Move sniff's application icons from |
| 1994 |
/usr/share/pixmaps/ into /usr/share/hicolor/*/apps/. |
| 1995 |
|
| 1996 |
* setup.cfg: Remove. |
| 1997 |
|
| 1998 |
2006-02-03 Zack Cerza <[email protected]> |
| 1999 |
|
| 2000 |
* README: Add README file. It's a start. |
| 2001 |
|
| 2002 |
2006-01-31 Zack Cerza <[email protected]> |
| 2003 |
|
| 2004 |
* dogtail/i18n.py, dogtail/predicate.py dogtail/trayicon.py: Be much |
| 2005 |
more intelligent about encodings. This should really, truly fix the |
| 2006 |
last remaining blocker on the automatic runtime translation feature. |
| 2007 |
Closes: 328652. |
| 2008 |
|
| 2009 |
2006-01-31 Zack Cerza <[email protected]> |
| 2010 |
|
| 2011 |
* dogtail/i18n.py: Generalize language detection. |
| 2012 |
|
| 2013 |
2006-01-31 Zack Cerza <[email protected]> |
| 2014 |
|
| 2015 |
* dogtail/apps/wrappers/epiphany.py: Update to new Action API. |
| 2016 |
|
| 2017 |
2006-01-27 Zack Cerza <[email protected]> |
| 2018 |
|
| 2019 |
* dogtail/i18n.py: Comment out some super-verbose debug statements. |
| 2020 |
|
| 2021 |
* examples/gedit-test-utf8-procedural-api.py: Use a proper Unicode |
| 2022 |
ellipsis. |
| 2023 |
|
| 2024 |
2006-01-27 Zack Cerza <[email protected]> |
| 2025 |
|
| 2026 |
* dogtail/i18n.py: Make sure we filter the list of mo-files so that |
| 2027 |
we only get the ones in the target language. |
| 2028 |
|
| 2029 |
2006-01-26 Zack Cerza <[email protected]> |
| 2030 |
|
| 2031 |
* dogtail/i18n.py: Fix automatic runtime translation. Stop using |
| 2032 |
gettext.dgettext(), and instead use the gettext.GNUTranslations class |
| 2033 |
and its member function, ugettext(). This ensures that we always get |
| 2034 |
Unicode back. As a consequence, stop caring about "domains" and just |
| 2035 |
deal with mo-files. Remove getTranslationDomainsForPackage(). Closes: |
| 2036 |
#328652. Also, fix isMoFile()'s regexp matching. |
| 2037 |
|
| 2038 |
2006-01-24 Zack Cerza <[email protected]> |
| 2039 |
|
| 2040 |
* dogtail/tree.py: Comment out the warning about missing wnck |
| 2041 |
bindings, since the functionality is nonworking anyway. |
| 2042 |
|
| 2043 |
* NEWS: Add note about the last change to dogtail.tree. |
| 2044 |
|
| 2045 |
2006-01-17 Zack Cerza <[email protected]> |
| 2046 |
|
| 2047 |
* examples/gedit-test-utf8-procedural-api.py: Use codecs.open() |
| 2048 |
instead of open() for reading the UTF-8 files. open() apparently |
| 2049 |
ignores encoding issues, and codecs.open() allows us to specify the |
| 2050 |
encoding of the file. Add comments to that effect. |
| 2051 |
|
| 2052 |
* dogtail/tc.py: Make a note in TC.compare()'s docstring that |
| 2053 |
codecs.open() must be used to open any non-ASCII files that are |
| 2054 |
intended to be compared using that function. |
| 2055 |
|
| 2056 |
2006-01-17 Zack Cerza <[email protected]> |
| 2057 |
|
| 2058 |
* dogtail/utils.py: Make screenshot() raise a DependencyNotFoundError |
| 2059 |
if ImageMagick is not installed. |
| 2060 |
|
| 2061 |
* NEWS: Add note about the last change to screenshot(). |
| 2062 |
|
| 2063 |
2006-01-17 Zack Cerza <[email protected]> |
| 2064 |
|
| 2065 |
* NEWS: Add notes about dogtail.errors and the change to TCImage. |
| 2066 |
|
| 2067 |
2006-01-17 Zack Cerza <[email protected]> |
| 2068 |
|
| 2069 |
* dogtail/errors.py: Add errors.py, a module for generalized |
| 2070 |
exceptions, i.e. its first exception: DependencyNotFoundError. Other |
| 2071 |
exceptions such as distro.PackageNotFoundError and |
| 2072 |
procedural.FocusError probably do not belong here. |
| 2073 |
|
| 2074 |
* dogtail/tc.py: Give a better error message if TCImage is |
| 2075 |
instantiated while ImageMagick is not installed, by raising a |
| 2076 |
DependencyNotFoundError. |
| 2077 |
|
| 2078 |
* examples/gedit-test-utf8-procedural-api.py: Remove unncessary |
| 2079 |
TCImage instantiation. Also, be aware that the naming of the "Save as" |
| 2080 |
dialog changed slightly. Try both strings. |
| 2081 |
|
| 2082 |
2006-01-13 Zack Cerza <[email protected]> |
| 2083 |
|
| 2084 |
* setup.py: Change author_email to [email protected]. |
| 2085 |
|
| 2086 |
2006-01-13 Zack Cerza <[email protected]> |
| 2087 |
|
| 2088 |
* setup.py, dogtail/__init__.py, dogtail/apps/__init__.py, |
| 2089 |
dogtail/apps/wrappers/__init__.py: Bump version numbers. |
| 2090 |
|
| 2091 |
2006-01-13 Zack Cerza <[email protected]> |
| 2092 |
|
| 2093 |
* MANIFEST.in: Add NEWS file to tarball. |
| 2094 |
|
| 2095 |
2006-01-05 Zack Cerza <[email protected]> |
| 2096 |
|
| 2097 |
* NEWS: Update with changes since 0.4.3. |
| 2098 |
|
| 2099 |
2006-01-04 Zack Cerza <[email protected]> |
| 2100 |
|
| 2101 |
* examples/gedit-test-utf8-procedural-api.py: Add comment about how to |
| 2102 |
turn on automatic translation. |
| 2103 |
|
| 2104 |
2005-12-01 Zack Cerza <[email protected]> |
| 2105 |
|
| 2106 |
* sniff/sniff: Update to the new Action API. |
| 2107 |
|
| 2108 |
2005-12-01 Zack Cerza <[email protected]> |
| 2109 |
|
| 2110 |
* dogtail/tree.py: Add patch from David Malcolm to add a single |
| 2111 |
shortcut method for Node.doAction('click') - simply Node.click() as a |
| 2112 |
compromise. Closes: #321196. |
| 2113 |
|
| 2114 |
2005-11-27 Zack Cerza <[email protected]> |
| 2115 |
|
| 2116 |
* dogtail/utils.py: Remove spurious print statement from screenshot(). |
| 2117 |
|
| 2118 |
2005-11-27 Zack Cerza <[email protected]> |
| 2119 |
|
| 2120 |
* NEWS: Reformat to make more readable. |
| 2121 |
|
| 2122 |
2005-11-27 Zack Cerza <[email protected]> |
| 2123 |
|
| 2124 |
* dogtail/tree.py: Re-add helper methods that were removed on 11-08. |
| 2125 |
Change Action API from "Node.actionName()" to |
| 2126 |
"Node.doAction(actionName)" for an action whose name is 'actionName'. |
| 2127 |
|
| 2128 |
* dogtail/procedural.py: Update to new Action API. |
| 2129 |
|
| 2130 |
2005-11-22 Zack Cerza <[email protected]> |
| 2131 |
|
| 2132 |
* debian/control: Fix typo. Thanks to Alex Roitman for reminding me |
| 2133 |
to commit this. Closes: #322169. |
| 2134 |
|
| 2135 |
2005-11-22 Zack Cerza <[email protected]> |
| 2136 |
|
| 2137 |
* dogtail/tc.py: Make TCImage.compare() work around a change in |
| 2138 |
ImageMagick that broke the method, by comparing its version string |
| 2139 |
against the one at which it changed. Closes: #321431. |
| 2140 |
|
| 2141 |
2005-11-18 Zack Cerza <[email protected]> |
| 2142 |
|
| 2143 |
* dogtail/config.py: Add config parameter 'blinkOnActions'. The |
| 2144 |
parameter defaults to False. Set it to True to watch your scripts |
| 2145 |
blinken die lichten! |
| 2146 |
|
| 2147 |
* dogtail/tree.py: Make Action.do() call blink() on the associated |
| 2148 |
node. |
| 2149 |
|
| 2150 |
2005-11-18 Zack Cerza <[email protected]> |
| 2151 |
|
| 2152 |
* dogtail/utils.py: Add Blinker class from sniff/sniff, which, upon |
| 2153 |
initialization, blinks a rectangular shape onscreen. |
| 2154 |
|
| 2155 |
* dogtail/tree.py: Add Node.blink(), which blinks a rectangle around |
| 2156 |
the node's extents (if it has extents). This is intended to help |
| 2157 |
debugging situations where, during script writing, the node found in a |
| 2158 |
search is not what was expeced. |
| 2159 |
|
| 2160 |
* sniff/sniff: Remove Blinker class and blinkExtents(). Make |
| 2161 |
selectionChanged() just call node.blink(). |
| 2162 |
|
| 2163 |
2005-11-18 Zack Cerza <[email protected]> |
| 2164 |
|
| 2165 |
* sniff/sniff: Move blink interval constant into Blinker class. Make |
| 2166 |
Blinker.__init__()'s count argument optional, defaulting to 2. |
| 2167 |
|
| 2168 |
2005-11-17 Zack Cerza <[email protected]> |
| 2169 |
|
| 2170 |
* dogtail/tree.py: Add Hyperlink and Hypertext support via the Link |
| 2171 |
class (subclass of Node). Link objects have a roleName of 'hyper link' |
| 2172 |
and a 'jump' action in Epiphany - I haven't tested Firefox yet. |
| 2173 |
|
| 2174 |
2005-11-17 Zack Cerza <[email protected]> |
| 2175 |
|
| 2176 |
* dogtail/tree.py: Add debug logging to Node.rawClick() and |
| 2177 |
Node.rawType(). |
| 2178 |
|
| 2179 |
2005-11-17 David Malcolm <[email protected]> |
| 2180 |
|
| 2181 |
* sniff/sniff: reduce it to a single blink (2 calls of the callback) |
| 2182 |
rather than two blinks (4 calls) to avoid visual confusion when |
| 2183 |
rapidly changing the selection. |
| 2184 |
|
| 2185 |
2005-11-17 David Malcolm <[email protected]> |
| 2186 |
|
| 2187 |
* sniff/sniff: implement a selectionChanged callback for the tree |
| 2188 |
view; use it to make the extents of the selected node blink, porting |
| 2189 |
code from at-poke's src/poke.c (though without the grabs that uses). |
| 2190 |
Closes: #321655 |
| 2191 |
|
| 2192 |
2005-11-17 David Malcolm <[email protected]> |
| 2193 |
|
| 2194 |
* sniff/sniff: remove the unused "populate" function |
| 2195 |
|
| 2196 |
2005-11-16 Zack Cerza <[email protected]> |
| 2197 |
|
| 2198 |
* sniff/sniff: Properly catch an AttributeError where an |
| 2199 |
AssertionError was previously expected. Closes: #321564:. |
| 2200 |
|
| 2201 |
2005-11-16 Zack Cerza <[email protected]> |
| 2202 |
|
| 2203 |
* dogtail/procedural.py: Make FocusDialog.__call__() pass |
| 2204 |
recursive=False to FocusApplication.node.findChild(). Closes: #321624. |
| 2205 |
|
| 2206 |
2005-11-15 Zack Cerza <[email protected]> |
| 2207 |
|
| 2208 |
* dogtail/logging.py: Make LogWriter print the name of the logfile |
| 2209 |
just before it creates it. |
| 2210 |
|
| 2211 |
2005-11-15 Zack Cerza <[email protected]> |
| 2212 |
|
| 2213 |
* dogtail/logging.py: Fix TimeStamp.zeroPad() by defaulting to |
| 2214 |
width=2. Fix TimeStamp.fileStamp() by renaming 'long' argument to |
| 2215 |
'addTime'. |
| 2216 |
|
| 2217 |
2005-11-14 Zack Cerza <[email protected]> |
| 2218 |
|
| 2219 |
* dogtail/procedural.py: Use {get,set}attr() inside |
| 2220 |
FocusBase.__{get,set}attr__() instead of |
| 2221 |
FocusBase.node.__{get,set}attr__(), in order to composite attributes |
| 2222 |
that aren't dynamically generated. |
| 2223 |
|
| 2224 |
2005-11-14 Zack Cerza <[email protected]> |
| 2225 |
|
| 2226 |
* dogtail/procedural.py: Fix compositing of Node properties into |
| 2227 |
FocusBase subclasses. |
| 2228 |
|
| 2229 |
2005-11-14 Zack Cerza <[email protected]> |
| 2230 |
|
| 2231 |
* dogtail/procedural.py: Fix focusing. There are supposed to be three |
| 2232 |
different focus 'slots': application, dialog, and widget. Previously |
| 2233 |
Actions were not operating on the same nodes as FocusWidget as |
| 2234 |
intended. Also remove a couple print statements left over from |
| 2235 |
previous debugging. |
| 2236 |
|
| 2237 |
2005-11-14 Zack Cerza <[email protected]> |
| 2238 |
|
| 2239 |
* dogtail/rawinput.py: rewrite pressKey() to take as an argument the |
| 2240 |
English key name as seen on the keyboard, look its keysym up via a |
| 2241 |
dict, and pass that value to AT-SPI to synthesize the event. This |
| 2242 |
means each key will have to be added to the keySyms dict explicitly, |
| 2243 |
but I think it's worth it for the API to make sense and be portable. |
| 2244 |
Add docstrings to pressKey() and typeText(). |
| 2245 |
|
| 2246 |
2005-11-10 Zack Cerza <[email protected]> |
| 2247 |
|
| 2248 |
* dogtail/logging.py: Fix TimeStamper.zeroPad()'s padding, and note in |
| 2249 |
its docstring that it will not truncate. |
| 2250 |
|
| 2251 |
2005-11-10 Zack Cerza <[email protected]> |
| 2252 |
|
| 2253 |
* dogtail/predicate.py, dogtail/rawinput.py: Clean up imports. |
| 2254 |
|
| 2255 |
2005-11-10 Zack Cerza <[email protected]> |
| 2256 |
|
| 2257 |
* dogtail/rawinput.py: Add typeText() and pressKey(). For now |
| 2258 |
pressKey() takes an integer keycode argument, but I'd like to enable |
| 2259 |
something like "pressKey('Return')" in the future. |
| 2260 |
|
| 2261 |
* dogtail/tree.py: Make Node.grabFocus() get added to the object in |
| 2262 |
Node.__init__(), but only of the node wraps a Component. Also add |
| 2263 |
Node.rawClick() and Node.rawType(). |
| 2264 |
|
| 2265 |
* dogtail/procedural.py: Implement click(raw=True). |
| 2266 |
|
| 2267 |
2005-11-10 Zack Cerza <[email protected]> |
| 2268 |
|
| 2269 |
* dogtail/procedural.py: Make FocusWidget.__call__() actually raise a |
| 2270 |
FocusError if it can't find what it's looking for. |
| 2271 |
|
| 2272 |
2005-11-10 Zack Cerza <[email protected]> |
| 2273 |
|
| 2274 |
* dogtail/procedural.py: Add menu(), Focus.frame(), Focus.window(). |
| 2275 |
|
| 2276 |
2005-11-10 Zack Cerza <[email protected]> |
| 2277 |
|
| 2278 |
* dogtail/tree.py: Add Node.position, Node.size, and Node.grabFocus() |
| 2279 |
for those Nodes wrapping an AccessibleComponent. |
| 2280 |
|
| 2281 |
2005-11-10 Zack Cerza <[email protected]> |
| 2282 |
|
| 2283 |
* dogtail/tc.py: Don't initialize TC's self.{baseline,undertest,result} so |
| 2284 |
that TC.compare() defaults to failing. Make sure to assign |
| 2285 |
self.{baseline,undertest} to the value of the arguments passed to |
| 2286 |
compare(). Fix several unit tests to specify their strings as being |
| 2287 |
Unicode-encoded. Strings comparisons now fail properly. Thanks to |
| 2288 |
Muktha Narayan for reporting the bug and attaching a proposed patch. |
| 2289 |
Closes: #321151. |
| 2290 |
|
| 2291 |
2005-11-10 Zack Cerza <[email protected]> |
| 2292 |
|
| 2293 |
* dogtail/tc.py: s@scripts/pound@examples/data@g to reflect the |
| 2294 |
directory naming that occured a while back. |
| 2295 |
|
| 2296 |
2005-11-08 Zack Cerza <[email protected]> |
| 2297 |
|
| 2298 |
* dogtail/tree.py: Fix bogus logic in Node.__getattr__() where if, for |
| 2299 |
example, a Node had multiple actions such that |
| 2300 |
node.actions[0].name == 'activate' and node.actions[1].name == 'menu', |
| 2301 |
calling node.menu() would fail. |
| 2302 |
|
| 2303 |
2005-11-08 Zack Cerza <[email protected]> |
| 2304 |
|
| 2305 |
* dogtail/tree.py: Remove "various wrapper/helper search methods": |
| 2306 |
Node.{child, menu, menuItem, textentry, button, childLabelled, |
| 2307 |
childNamed, tab}(). Node.menu() conflicted with the other Node.menu(), |
| 2308 |
which is needed to execute the AccessibleAction's 'menu' action. |
| 2309 |
|
| 2310 |
2005-11-08 Zack Cerza <[email protected]> |
| 2311 |
|
| 2312 |
* dogtail/procedural.py: Fix "maximum recursion depth exceeded" error |
| 2313 |
in FocusBase.__getattr__() when 'help(dogtail.procedural)' is called |
| 2314 |
right after 'import dogtail.procedural'. |
| 2315 |
|
| 2316 |
2005-11-08 Zack Cerza <[email protected]> |
| 2317 |
|
| 2318 |
* Makefile: Build RPMs as a normal user. Thanks again to Bastien |
| 2319 |
Nocera for the patch! Closes: #320983. |
| 2320 |
|
| 2321 |
2005-11-08 Zack Cerza <[email protected]> |
| 2322 |
|
| 2323 |
* dogtail.spec: Make __os_install_post macro one line to fix building |
| 2324 |
RPMs on RHEL4 and earlier. Thanks to Bastien Nocera for the patch. |
| 2325 |
Closes: #320978. |
| 2326 |
|
| 2327 |
2005-11-03 Zack Cerza <[email protected]> |
| 2328 |
|
| 2329 |
* dogtail/distro.py: Add PackageDb.getMoFiles(), returning (mostly) |
| 2330 |
all the .mo files in the distro, optionally for just one locale. Move |
| 2331 |
all PackageDb subclasses into the top level of the module, and prefix |
| 2332 |
their names with a '_' so it is possible to subclass them. Add |
| 2333 |
UbuntuAptPackageDb to make it possible for getMoFiles() to search in |
| 2334 |
/usr/share/locale and /usr/share/locale-langpack. Add JHBuild class, a |
| 2335 |
subclass of Distro, and JhBuildPackageDB class, a subclass of |
| 2336 |
PackageDb. JhBuildPackageDB.getFiles() and |
| 2337 |
JhBuildPackageDB.getVersion() are not implemented yet, as I haven't |
| 2338 |
figured out just how they should work yet. |
| 2339 |
|
| 2340 |
2005-11-03 Zack Cerza <[email protected]> |
| 2341 |
|
| 2342 |
* dogtail/distro.py: Make AptPackageDb only call apt_pkg.GetCache() |
| 2343 |
once and save the cache object, to save time in the case where |
| 2344 |
multiple calls to getVersion() or getDependencies() need to be made. |
| 2345 |
|
| 2346 |
2005-11-03 Zack Cerza <[email protected]> |
| 2347 |
|
| 2348 |
* dogtail/distro.py: Move *PackageDb class declarations and |
| 2349 |
instantiations into their Distro classes' __init__() methods. Remove |
| 2350 |
all __make*PackageDb() functions. Make dogtail.distro.packageDb a |
| 2351 |
reference to dogtail.distro.distro.packageDb, where the second |
| 2352 |
'distro' is the Distro subclass instance to preserve the API. |
| 2353 |
|
| 2354 |
2005-11-02 Zack Cerza <[email protected]> |
| 2355 |
|
| 2356 |
* dogtail.spec: Bump version number. |
| 2357 |
|
| 2358 |
2005-11-02 Zack Cerza <[email protected]> |
| 2359 |
|
| 2360 |
* scripts/dogtail-run-headless: Save the value of the GConf key |
| 2361 |
/desktop/gnome/interface/accessibility, then set it to true before |
| 2362 |
running the test. After the test is run, restore the old value. |
| 2363 |
Closes: #320548. |
| 2364 |
|
| 2365 |
2005-11-02 Zack Cerza <[email protected]> |
| 2366 |
|
| 2367 |
* scripts/dogtail-run-headless: Preserve the return code of the script |
| 2368 |
being exectued. Closes: #320535. |
| 2369 |
|
| 2370 |
2005-11-01 David Malcolm <[email protected]> |
| 2371 |
|
| 2372 |
* dogtail/apps/wrappers/evolution.py: added setBogusGConfAccountData() |
| 2373 |
function as a way of bypassing the first-time wizard |
| 2374 |
|
| 2375 |
2005-11-01 Zack Cerza <[email protected]> |
| 2376 |
|
| 2377 |
* dogtail/config.py: Make config.ensureSensitivity False by default. |
| 2378 |
|
| 2379 |
* dogtail/tree.py: Make Action.do() spit out a warning if the Node |
| 2380 |
instance is not sensitive and config.ensureSensitivity is False. |
| 2381 |
|
| 2382 |
2005-11-01 Zack Cerza <[email protected]> |
| 2383 |
|
| 2384 |
* dogtail/tree.py: Implement a proper NotSensitiveError exception. |
| 2385 |
Make Action.do() raise it instead of a string literal when the |
| 2386 |
action's Node instance is not sensitive, and config.ensureSensitivity |
| 2387 |
is True. |
| 2388 |
|
| 2389 |
2005-11-01 Zack Cerza <[email protected]> |
| 2390 |
|
| 2391 |
* dogtail/logging.py: Change format of TimeStamp.fileStamp() to |
| 2392 |
filename_YYYYMMDD-hhmmss or just filename_YYYYMMDD, controlled by the |
| 2393 |
new optional argument 'long'. Fix docstrings of TimeStamp.fileStamp() |
| 2394 |
and TimeStamp.entryStamp(). |
| 2395 |
|
| 2396 |
* dogtail/utils.py: Rewrite most of screenshot(), and add assertions |
| 2397 |
that config.scratchDir exists before the screenshot is taken, and that |
| 2398 |
the screenshot file exists before the function returns. Generate |
| 2399 |
screenshot filenames using logging.TimeStamp.entryStamp() by default. |
| 2400 |
A call like "screenshot(file='foo') will name the file |
| 2401 |
'foo_YYYYMMDD-hhmmss.png', but the timestamping can be disabled with a |
| 2402 |
call like "screenshot(file='foo', timeStamp=False)", naming the file |
| 2403 |
just 'foo.png'. Additionally, the file argument may specify an |
| 2404 |
extension, e.g. 'foo.png' or 'foo.jpg'. Make screenshot() return the |
| 2405 |
full path to the screenshot taken. Clarify screenshot()'s docstring. |
| 2406 |
|
| 2407 |
2005-10-31 Zack Cerza <[email protected]> |
| 2408 |
|
| 2409 |
* dogtail/i18n.py: Add URL to bug filed at bugzilla.redhat.com to the |
| 2410 |
note about popt making gettext.dgettext() bail. |
| 2411 |
|
| 2412 |
2005-10-31 Zack Cerza <[email protected]> |
| 2413 |
|
| 2414 |
* dogtail/distro.py: Add an Ubuntu subclass of Debian, since Ubuntu in |
| 2415 |
some cases does things wildly different. For a good example, see |
| 2416 |
dogtail/i18n.py. |
| 2417 |
|
| 2418 |
* dogtail/i18n.py: Make automatic translation work on Ubuntu with a |
| 2419 |
special-case: If a script needing automatic translation is running on |
| 2420 |
Ubuntu, look for translations in the language-pack-gnome-$LANGUAGE |
| 2421 |
package before the actual package under test. Note that this makes |
| 2422 |
automatic translation significantly slower. Also, remove the |
| 2423 |
'dogtail' prefix from references to dogtail.config and dogtail.distro. |
| 2424 |
|
| 2425 |
2005-10-31 Zack Cerza <[email protected]> |
| 2426 |
|
| 2427 |
* dogtail/tree.py: Only be verbose about setting a Node.text attribute |
| 2428 |
if config.debugSearching is turned on. |
| 2429 |
|
| 2430 |
2005-10-31 Zack Cerza <[email protected]> |
| 2431 |
|
| 2432 |
* examples/gedit-test-utf8-procedural-api.py: Add automatic |
| 2433 |
translation support (it's a one-liner!). Don't set $LANG from inside |
| 2434 |
the script. Add a line for config.debugTranslation, but comment both |
| 2435 |
debug lines out. |
| 2436 |
|
| 2437 |
2005-10-28 Zack Cerza <[email protected]> |
| 2438 |
|
| 2439 |
* dogtail/distro.py: Implement proper Exceptions PackageNotFoundError |
| 2440 |
and DistributionNotSupportedError. |
| 2441 |
|
| 2442 |
2005-10-28 Zack Cerza <[email protected]> |
| 2443 |
|
| 2444 |
* dogtail/distro.py: Implement getFiles() and getDependencies() in |
| 2445 |
AptPackageDb. |
| 2446 |
|
| 2447 |
2005-10-28 David Malcolm <[email protected]> |
| 2448 |
|
| 2449 |
* dogtail/i18n.py: New file, providing i18n facilities. |
| 2450 |
|
| 2451 |
* dogtail/config.py: Add debugTranslation boolean |
| 2452 |
|
| 2453 |
* examples/i18n-test.py: New example, demonstrating the i18n hooks |
| 2454 |
|
| 2455 |
* dogtail/tree.py: Add a getUserVisibleStrings() method to Node |
| 2456 |
|
| 2457 |
* dogtail/predicate.py: Rewrite all string matching within predicates to |
| 2458 |
use the dogtail.i18n.TranslatableString class, and rewriting as |
| 2459 |
necessary. |
| 2460 |
|
| 2461 |
* dogtail/apps/wrappers/evolution.py: Use the evolution-connector |
| 2462 |
package's translations by default. |
| 2463 |
|
| 2464 |
* examples/evolution-test-switching-components.py: Use the evolution |
| 2465 |
package's translations |
| 2466 |
|
| 2467 |
2005-10-28 David Malcolm <[email protected]> |
| 2468 |
|
| 2469 |
* dogtail/distro.py: Use correct exceptions for unimplemented functions. |
| 2470 |
Add getFiles and getDependencies methods to PackageDb; implement them |
| 2471 |
for RpmPackageDb. Fix the PATCH_MESSAGE to give the mailing list |
| 2472 |
address. |
| 2473 |
|
| 2474 |
2005-10-27 Zack Cerza <[email protected]> |
| 2475 |
|
| 2476 |
* dogtail/config.py: Rewrite. Rename the Config class to _Config, and |
| 2477 |
provide a singleton instance named config. It is no longer necessary |
| 2478 |
to instantiate a _Config instance in any script, whereas previously it |
| 2479 |
was necessary to do so if any values needed to be changed. Also rename |
| 2480 |
logdir to logDir, scratch to scratchDir, and data to dataDir. When the |
| 2481 |
*Dir values are changed, the new directory is created instantly if it |
| 2482 |
does not exist. NOTE: this is an API change. Updating any scripts |
| 2483 |
should be as simple as replacing 'Config' with 'config', 'logdir' with |
| 2484 |
'logDir', 'scratch' with 'scratchDir', 'data' with 'dataDir' and |
| 2485 |
removing any instantiations of the old Config class. Also, the old way |
| 2486 |
of loading configuration values from a file is no longer supported. |
| 2487 |
The current preferred method is to create a Python file that contains |
| 2488 |
something like: "from dogtail.config import config; config.logDir = |
| 2489 |
'../logs/'; config.debugSearching = True" and then import that file |
| 2490 |
from whatever scripts need it. |
| 2491 |
|
| 2492 |
* dogtail/logging.py, dogtail/tc.py, dogtail/tree.py, |
| 2493 |
examples/firefox-test-browsing-local-html-file.py, |
| 2494 |
examples/gcalctool-test-fibonacci.py, |
| 2495 |
examples/gedit-test-utf8-procedural-api.py, |
| 2496 |
examples/gnome-panel-test-starting-every-app.py, |
| 2497 |
examples/google-search.py, |
| 2498 |
examples/nautilus-test-icon-view-collage.py, examples/data/sample.cfg: |
| 2499 |
Update to new config API. |
| 2500 |
|
| 2501 |
* dogtail/procedural.py: Update to new config API. Also, change "def |
| 2502 |
run(application, arguments = None, appName = None):" to "def |
| 2503 |
run(application, arguments = '', appName = ''):". |
| 2504 |
|
| 2505 |
* dogtail/utils.py: Update to new config API. Also, make run()'s appName |
| 2506 |
argument default to "''" instead of "None", just like |
| 2507 |
dogtail.procedural.run(). Also, make run() use doDelay() instead of |
| 2508 |
sleep() to get logging for free via the config.config.debugSearching |
| 2509 |
option. |
| 2510 |
|
| 2511 |
2005-10-24 Zack Cerza <[email protected]> |
| 2512 |
|
| 2513 |
* dogtail/utils.py: Don't break if a filename is passed to |
| 2514 |
screenshot(). |
| 2515 |
|
| 2516 |
2005-10-24 Zack Cerza <[email protected]> |
| 2517 |
|
| 2518 |
* dogtail/__init__.py, dogtail/apps/__init__.py, |
| 2519 |
dogtail/apps/wrappers/__init__.py, setup.py: Post-release version |
| 2520 |
bump. |
| 2521 |
|
| 2522 |
2005-10-24 Zack Cerza <[email protected]> |
| 2523 |
|
| 2524 |
Released 0.4.3. |
| 2525 |
|
| 2526 |
2005-10-24 Zack Cerza <[email protected]> |
| 2527 |
|
| 2528 |
* NEWS: Created with major changes since 0.4.2. |
| 2529 |
|
| 2530 |
* dogtail/__init__.py, dogtail/apps/__init__.py, |
| 2531 |
dogtail/apps/wrappers/__init__.py, setup.py: Bump version numbers. |
| 2532 |
|
| 2533 |
* dogtail.spec, debian/changelog: Add changelog entries for 0.4.3. |
| 2534 |
|
| 2535 |
2005-10-24 Zack Cerza <[email protected]> |
| 2536 |
|
| 2537 |
* icons/dogtail-head-48.png, icons/dogtail-head.svg, |
| 2538 |
icons/dogtail-tail-48.png, icons/dogtail-tail.svg: Add icons. |
| 2539 |
|
| 2540 |
* MANIFEST.in, setup.py: Add new icons to distribution. |
| 2541 |
|
| 2542 |
* dogtail/logging.py: Make IconLogger use the dogtail-tail icon. |
| 2543 |
|
| 2544 |
* sniff/sniff: Use the dogtail-head icon for the application. Use the |
| 2545 |
theme's desktop icon for the root node in the TreeView. If the then |
| 2546 |
has an icon for any application displayed in the TreeView, use it. |
| 2547 |
|
| 2548 |
* sniff/sniff.desktop: Use the dogtail-head icon in the menu. |
| 2549 |
|
| 2550 |
* dogtail/trayicon.py: Fix typo. |
| 2551 |
|
| 2552 |
2005-10-24 Zack Cerza <[email protected]> |
| 2553 |
|
| 2554 |
* dogtail/procedural.py: Implement the FocusError exception properly. |
| 2555 |
|
| 2556 |
2005-10-21 Zack Cerza <[email protected]> |
| 2557 |
|
| 2558 |
* dogtail/trayicon.py: Instead of totally bailing out if Python is |
| 2559 |
older than 2.4, just make TrayIcon useless, as is currently the case |
| 2560 |
if TrayIcon._runZenity() fails. What should really happen is for |
| 2561 |
TrayIcon to actually work under older Python versions, I think. |
| 2562 |
|
| 2563 |
2005-10-20 Zack Cerza <[email protected]> |
| 2564 |
|
| 2565 |
* dogtail/apps/wrappers/epiphany.py: Use the package name |
| 2566 |
'epiphany-browser' on Debian-based distributions. Thanks to Andrew |
| 2567 |
Beresford for the patch. |
| 2568 |
|
| 2569 |
2005-10-19 Zack Cerza <[email protected]> |
| 2570 |
|
| 2571 |
* dogtail.spec, setup.py, debian/changelog, debian/copyright: Correct |
| 2572 |
website URL. |
| 2573 |
|
| 2574 |
2005-10-19 Zack Cerza <[email protected]> |
| 2575 |
|
| 2576 |
* sniff/icons: Create directory. |
| 2577 |
|
| 2578 |
* sniff/*.xpm, sniff/icons/*.xpm: Move icons. |
| 2579 |
|
| 2580 |
* MANIFEST.in, setup.py, sniff/sniff: Update the icon locations. |
| 2581 |
|
| 2582 |
2005-10-19 Zack Cerza <[email protected]> |
| 2583 |
|
| 2584 |
* MANIFEST.in: Add sniff/*.xpm. |
| 2585 |
|
| 2586 |
2005-10-19 Zack Cerza <[email protected]> |
| 2587 |
|
| 2588 |
* dogtail/procedural.py: Add table() and tableCell() to Action and |
| 2589 |
FocusWidget. Allow run() to use utils.run()'s optional 'appName' |
| 2590 |
argument, for cases where the application's name is different from the |
| 2591 |
binary's name. |
| 2592 |
|
| 2593 |
2005-10-17 David Malcolm <[email protected]> |
| 2594 |
|
| 2595 |
* dogtail/apps/wrappers/yelp.py: new file, wrapper for Yelp. |
| 2596 |
|
| 2597 |
2005-10-17 David Malcolm <[email protected]> |
| 2598 |
|
| 2599 |
* dogtail/apps/wrappers/predicate.py: add IsATabNamed class |
| 2600 |
|
| 2601 |
* dogtail/tree.py: add Node.tab() method |
| 2602 |
|
| 2603 |
* dogtail/apps/wrappers/evolution.py: add Evolution.createMeeting() |
| 2604 |
method; add AppointmentWindow and MeetingWindow subclasses |
| 2605 |
|
| 2606 |
2005-10-14 David Malcolm <[email protected]> |
| 2607 |
|
| 2608 |
* dogtail/apps/wrappers/evolution.py: Refactor createAccount, add |
| 2609 |
functions to run the first-time wizard (sharing code with account |
| 2610 |
creation). Add a blowAwayEvolution function |
| 2611 |
|
| 2612 |
* examples/evolution-test-first-time-wizard.py: New example, testing |
| 2613 |
the above. Blows away your evolution configuration, so use with |
| 2614 |
caution... |
| 2615 |
|
| 2616 |
2005-10-14 David Malcolm <[email protected]> |
| 2617 |
|
| 2618 |
* dogtail/apps/wrappers/evolution.py: Fix wrapper so that it does not |
| 2619 |
require a window, in preparation for wrapping the first-time assistant. |
| 2620 |
|
| 2621 |
2005-10-13 Zack Cerza <[email protected]> |
| 2622 |
|
| 2623 |
* dogtail/trayicon.py: Added from jhbuild's jhbuild/utils/. |
| 2624 |
|
| 2625 |
* dogtail/logging.py: Add IconLogger class, a stripped-down version of |
| 2626 |
jhbuild's TerminalBuildScript in jhbuild/frontends/terminal.py. Modify |
| 2627 |
the DebugLogger class to additionally write messages to the |
| 2628 |
IconLogger's tooltip. If zenity is not installed or not working |
| 2629 |
properly, the DebugLogger should work exactly as before. |
| 2630 |
|
| 2631 |
2005-10-13 David Malcolm <[email protected]> |
| 2632 |
|
| 2633 |
* examples/no-help-at-all.py: script which generates parodies of bad |
| 2634 |
end-user documentation by simply converting reading the UI back in |
| 2635 |
DocBook form. |
| 2636 |
|
| 2637 |
2005-10-12 David Malcolm <[email protected]> |
| 2638 |
|
| 2639 |
* dogtail/apps/wrappers/gedit.py: Initial version, taken from Paolo |
| 2640 |
Borelli's home page. |
| 2641 |
|
| 2642 |
2005-10-11 David Malcolm <[email protected]> |
| 2643 |
|
| 2644 |
* dogtail/tree.py: Replaced a stray reference to "Search" with |
| 2645 |
"Predicate" |
| 2646 |
|
| 2647 |
2005-10-11 Zack Cerza <[email protected]> |
| 2648 |
|
| 2649 |
* dogtail/procedural.py: rename open() to openItem() to avoid |
| 2650 |
namespace collision. |
| 2651 |
|
| 2652 |
* scripts/dogtail-run-headless: Ignore errors when restoring |
| 2653 |
~/.xinitrc. If there was no previous ~/.xinitrc, make sure the |
| 2654 |
temporary one isn't left behind. Increase hardcoded sleep delay. |
| 2655 |
|
| 2656 |
2005-10-11 Zack Cerza <[email protected]> |
| 2657 |
|
| 2658 |
* MANIFEST.in: Add scripts/ to tarball distribution. |
| 2659 |
|
| 2660 |
* setup.py: Install scripts/* . |
| 2661 |
|
| 2662 |
* setup.cfg: Add xorg-x11-Xvfb to requires for RPMs. |
| 2663 |
|
| 2664 |
* Makefile: Make 'deb' target run 'fakeroot debian/rules clean' before |
| 2665 |
building a package. |
| 2666 |
|
| 2667 |
* debian/control: Add xvfb to Recommends for debs. |
| 2668 |
|
| 2669 |
2005-10-11 Zack Cerza <[email protected]> |
| 2670 |
|
| 2671 |
* scripts/dogtail-run-headless: Correct typo. |
| 2672 |
|
| 2673 |
2005-10-11 Zack Cerza <[email protected]> |
| 2674 |
|
| 2675 |
* scripts/dogtail-run-headless: Restore the original ~/.xinitrc after |
| 2676 |
the X server terminates. |
| 2677 |
|
| 2678 |
2005-10-11 Zack Cerza <[email protected]> |
| 2679 |
|
| 2680 |
* dogtail/procedural.py: Add focus.desktop (just a copy of tree.root). |
| 2681 |
Later, I'll probably want to replace it with a FocusDesktop instance, |
| 2682 |
but for now it's really just to make FocusApplication not break as |
| 2683 |
horribly when there are no applications running. |
| 2684 |
|
| 2685 |
* scripts/: Created to hold scripts to be installed into /usr/bin/. |
| 2686 |
|
| 2687 |
* scripts/dogtail-detect-session: Add a script to detect if an |
| 2688 |
accessibility-enabled session is currently running. Right now it |
| 2689 |
obviously only looks for a GNOME session, but KDE support can be added |
| 2690 |
when available. |
| 2691 |
|
| 2692 |
* scripts/dogtail-run-headless: Add a script to run a given dogtail |
| 2693 |
script in a headless setup. Currently launches a minimalistic GNOME |
| 2694 |
"session" under Xvfb, calls dogtail-detect-session, and if a session |
| 2695 |
is detected, executes the dogtail script. Once the script terminates, |
| 2696 |
so does the X server - Boom! Closes: #318537 |
| 2697 |
|
| 2698 |
2005-10-11 Zack Cerza <[email protected]> |
| 2699 |
|
| 2700 |
* dogtail/procedural.py: Add Focus.icon(). Add open() for opening |
| 2701 |
icons on nautilus' desktop. |
| 2702 |
|
| 2703 |
2005-10-10 David Malcolm <[email protected]> |
| 2704 |
|
| 2705 |
* sniff/sniff: Move initial expansion from main to resetModel, so that |
| 2706 |
we get the sane one-deep expansion on a Refresh, as well as when sniff |
| 2707 |
starts. |
| 2708 |
|
| 2709 |
2005-10-10 Zack Cerza <[email protected]> |
| 2710 |
|
| 2711 |
* examples/filechooser-stress-test.py: Port to procedural API. |
| 2712 |
|
| 2713 |
2005-10-10 David Malcolm <[email protected]> |
| 2714 |
|
| 2715 |
* examples/filechooser-stress-test.py: New file: repeatedly open and |
| 2716 |
close the filechooser, for testing perfomance/profiling |
| 2717 |
|
| 2718 |
2005-10-09 David Malcolm <[email protected]> |
| 2719 |
|
| 2720 |
* examples/gcalctool-test-fibonacci.py: New file: another test |
| 2721 |
example. Drives gcalctool to calculate the Fibonacci series. |
| 2722 |
|
| 2723 |
* dogtail/apps/wrappers/gcalctool.py: New file: wrapper to help when |
| 2724 |
writing gcalctool tests |
| 2725 |
|
| 2726 |
2005-10-09 Zack Cerza <[email protected]> |
| 2727 |
|
| 2728 |
* setup.py: Include sniff/*.xpm in the distribution. |
| 2729 |
|
| 2730 |
* sniff/sniff: modify loadIcon() to first search the current |
| 2731 |
directory, then /usr/share/dogtail/icons. If distributions need to put |
| 2732 |
them elsewhere, we can certainly accommodate them. |
| 2733 |
|
| 2734 |
2005-10-09 Zack Cerza <[email protected]> |
| 2735 |
|
| 2736 |
* dogtail/tree.py: Revert API change - rename Action.doThisAction() to |
| 2737 |
Action.do(). Add documentation in Node.__getattr__(), the only place |
| 2738 |
it is used, to make it clear what is happening. |
| 2739 |
|
| 2740 |
2005-10-09 Zack Cerza <[email protected]> |
| 2741 |
|
| 2742 |
* sniff/sniff.glade: Give the TreeView default focus. |
| 2743 |
Really remove the Edit menu. |
| 2744 |
|
| 2745 |
2005-10-09 Zack Cerza <[email protected]> |
| 2746 |
|
| 2747 |
* sniff/sniff: Add Dave as an author. |
| 2748 |
Correct the website URL and remove the License button in the About box. |
| 2749 |
Remove 'Role name and 'Description' fields from the TreeView. |
| 2750 |
Change the packing on the TreeView to disable expanding. |
| 2751 |
Stop importing pdb without using it. |
| 2752 |
|
| 2753 |
* sniff/sniff.glade: Change the 'Snoop' menu item name to 'Sniff' - |
| 2754 |
sniff used to be called snoop. |
| 2755 |
Add keyboard shortcuts to all menu items. |
| 2756 |
Remove Edit menu. |
| 2757 |
|
| 2758 |
2005-10-09 David Malcolm <[email protected]> |
| 2759 |
|
| 2760 |
* dogtail/tree.py: added role attribute to Node (forgot to commit this |
| 2761 |
earlier) |
| 2762 |
|
| 2763 |
2005-10-09 David Malcolm <[email protected]> |
| 2764 |
|
| 2765 |
* sniff/button.xpm, sniff/checkbutton.xpm, sniff/checkmenuitem.xpm, |
| 2766 |
sniff/colorselection.xpm, sniff/combo.xpm, sniff/dialog.xpm, |
| 2767 |
sniff/image.xpm, sniff/label.xpm, sniff/menubar.xpm, |
| 2768 |
sniff/menuitem.xpm, sniff/notebook.xpm, sniff/scrolledwindow.xpm, |
| 2769 |
sniff/spinbutton.xpm, sniff/statusbar.xpm, sniff/table.xpm, |
| 2770 |
sniff/text.xpm, sniff/toolbar.xpm, sniff/tree.xpm, sniff/treeitem.xpm, |
| 2771 |
sniff/unknown.xpm, sniff/viewport.xpm, sniff/vscrollbar.xpm, |
| 2772 |
sniff/vseparator.xpm, sniff/window.xpm: Add icons, copied from at-poke |
| 2773 |
|
| 2774 |
* sniff/sniff: add constants to represent the tree model columns; use |
| 2775 |
icons for nodes, based on code in at-poke. Requires up-to-date pyspi |
| 2776 |
(for the role attribute) |
| 2777 |
|
| 2778 |
2005-10-08 David Malcolm <[email protected]> |
| 2779 |
|
| 2780 |
* examples/recorder.py: Fix the imports so this works again. |
| 2781 |
|
| 2782 |
2005-10-08 David Malcolm <[email protected]> |
| 2783 |
|
| 2784 |
* examples/evolution-test-switching-components.py: New example which |
| 2785 |
repeatedly cycles through Evolution's components. |
| 2786 |
|
| 2787 |
2005-10-08 Zack Cerza <[email protected]> |
| 2788 |
|
| 2789 |
* sniff/sniff: Expand the root node of the TreeView on startup. |
| 2790 |
|
| 2791 |
2005-10-08 Zack Cerza <[email protected]> |
| 2792 |
|
| 2793 |
* dogtail.spec: Added, from Jeremy Katz. |
| 2794 |
|
| 2795 |
* MANIFEST.in: Add dogtail.spec. |
| 2796 |
|
| 2797 |
* Makefile: Rework 'rpm' target to call the 'tarball' target first, |
| 2798 |
then build the rpm using dogtail.spec, using sudo if necessary. Also, |
| 2799 |
make the 'tarball' target call the 'clean' target. |
| 2800 |
|
| 2801 |
2005-10-08 Zack Cerza <[email protected]> |
| 2802 |
|
| 2803 |
* examples/google-search.py: Fix call to findChildren(). Fix reference |
| 2804 |
to predicate.GenericPredicate. |
| 2805 |
|
| 2806 |
2005-10-08 Zack Cerza <[email protected]> |
| 2807 |
* examples/firefox-test-browsing-local-html-file.py, |
| 2808 |
examples/gnome-panel-test-starting-every-app.py, |
| 2809 |
examples/google-search.py, |
| 2810 |
examples/nautilus-test-icon-view-collage.py: |
| 2811 |
s/dogtail\.Config/dogtail.config.Config/ |
| 2812 |
|
| 2813 |
2005-10-17 Zack Cerza <[email protected]> |
| 2814 |
|
| 2815 |
* dogtail/distro.py: Add patch from Tim Gerla, adding Conary |
| 2816 |
support. Closes: #318224 |
| 2817 |
|
| 2818 |
2005-10-07 Zack Cerza <[email protected]> |
| 2819 |
|
| 2820 |
* dogtail/distro.py: Add patch from Brent Smith, adding Gentoo |
| 2821 |
support. Closes: #318225 |
| 2822 |
|
| 2823 |
2005-10-07 Zack Cerza <[email protected]> |
| 2824 |
|
| 2825 |
* ChangeLog: Add history since import, tweak formatting. Also add |
| 2826 |
commit times (maybe we don't actually want them though, I'm not sure I |
| 2827 |
care). |
| 2828 |
|
| 2829 |
2005-10-07 David Malcolm <[email protected]> |
| 2830 |
|
| 2831 |
* examples/gedit-test-utf8-tree-api.py: Fix the example against |
| 2832 |
changes to the API. |
| 2833 |
|
| 2834 |
2005-10-07 David Malcolm <[email protected]> |
| 2835 |
|
| 2836 |
* dogtail/tree.py: Provide a better warning for when import wnck |
| 2837 |
fails (it's a warning, not an error). Make Root.application() return |
| 2838 |
an Application instance, rather than a mere Node. |
| 2839 |
|
| 2840 |
* ChangeLog: Created. |
| 2841 |
|
| 2842 |
2005-10-07 Zack Cerza <[email protected]> |
| 2843 |
|
| 2844 |
* dogtail/distro.py: Minor indentation fix. |
| 2845 |
|
| 2846 |
2005-10-06 Zack Cerza <[email protected]> |
| 2847 |
|
| 2848 |
Released 0.4.2. |
| 2849 |
|
| 2850 |
2005-10-06 Zack Cerza <[email protected]> |
| 2851 |
|
| 2852 |
* setup.py, debian/changelog, dogtail/__init__.py, |
| 2853 |
dogtail/apps/__init__.py, dogtail/apps/wrappers/__init__.py: |
| 2854 |
Bump version numbers. |
| 2855 |
|
| 2856 |
2005-10-06 Zack Cerza <[email protected]> |
| 2857 |
|
| 2858 |
* MANIFEST.in: add MANIFEST.in. (Why do I have to do this again?) |
| 2859 |
* setup.py: Add more examples and example data to distribution. |
| 2860 |
* Makefile: Add 'tarball' target. Fix 'deb' target. |
| 2861 |
|
| 2862 |
2005-10-06 Zack Cerza <[email protected]> |
| 2863 |
|
| 2864 |
Released 0.4.1. |
| 2865 |
|
| 2866 |
2005-10-06 Zack Cerza <[email protected]> |
| 2867 |
|
| 2868 |
* setup.py, debian/changelog, dogtail/__init__.py, |
| 2869 |
dogtail/apps/__init__.py, dogtail/apps/wrappers/__init__.py: |
| 2870 |
Bump version numbers. |
| 2871 |
|
| 2872 |
* MANIFEST.in: Add missing files. |
| 2873 |
|
| 2874 |
2005-10-06 Zack Cerza <[email protected]> |
| 2875 |
|
| 2876 |
Released 0.4.0. |
| 2877 |
|
| 2878 |
2005-10-06 Zack Cerza <[email protected]> |
| 2879 |
|
| 2880 |
* setup.py, debian/changelog, dogtail/__init__.py, |
| 2881 |
dogtail/apps/__init__.py, dogtail/apps/wrappers/__init__.py: Minor |
| 2882 |
corrections to version numbers. |
| 2883 |
|
| 2884 |
2005-10-06 Zack Cerza <[email protected]> |
| 2885 |
|
| 2886 |
* dogtail/utils.py: Make screenshot() log the filename of the |
| 2887 |
screenshot via the debug logger. |
| 2888 |
|
| 2889 |
2005-10-06 Zack Cerza <[email protected]> |
| 2890 |
|
| 2891 |
* dogtail/logging.py: Add TimeStamp.zeroPad() to pad integers with |
| 2892 |
zeroes to a specified width. Make TimeStamp.{file,entry}Stamp use the |
| 2893 |
new zeroPad() function. |
| 2894 |
|
| 2895 |
2005-10-05 Zack Cerza <[email protected]> |
| 2896 |
|
| 2897 |
* MAINTAINERS: Created. |
| 2898 |
|
| 2899 |
2005-10-05 Zack Cerza <[email protected]> |
| 2900 |
|
| 2901 |
* COPYING, HACKING, INSTALL, MANIFEST.in, Makefile, setup.cfg, |
| 2902 |
setup.py, debian/changelog, debian/compat, debian/control, |
| 2903 |
debian/copyright, debian/python-dogtail.install, debian/rules, |
| 2904 |
dogtail/__init__.py, dogtail/config.py, dogtail/distro.py, |
| 2905 |
dogtail/dump.py, dogtail/path.py, dogtail/predicate.py, |
| 2906 |
dogtail/procedural.py, dogtail/rawinput.py, dogtail/tree.py, |
| 2907 |
dogtail/utils.py, dogtail/version.py, dogtail/logging.py, |
| 2908 |
dogtail/tc.py, dogtail/apps/__init__.py, |
| 2909 |
dogtail/apps/categories.py, dogtail/apps/wrappers/__init__.py, |
| 2910 |
dogtail/apps/wrappers/epiphany.py, |
| 2911 |
dogtail/apps/wrappers/evolution.py, |
| 2912 |
dogtail/apps/wrappers/gnomepanel.py, |
| 2913 |
dogtail/apps/wrappers/kicker.py, |
| 2914 |
dogtail/apps/wrappers/konqueror.py, |
| 2915 |
dogtail/apps/wrappers/mozilla.py, |
| 2916 |
dogtail/apps/wrappers/nautilus.py, examples/COPYING, |
| 2917 |
examples/abiword-test.py, examples/crack.py, |
| 2918 |
examples/evolution-test-composing-html.py, |
| 2919 |
examples/evolution-test-configuring-exchange.py, |
| 2920 |
examples/evolution-test-configuring-imap-smtp.py, |
| 2921 |
examples/evolution-test-sending-email.py, |
| 2922 |
examples/evolution-test-survives-email-CAN-2005-0806.py, |
| 2923 |
examples/firefox-test-browsing-local-html-file.py, |
| 2924 |
examples/gedit-test-utf8-procedural-api.py, |
| 2925 |
examples/gedit-test-utf8-tree-api.py, |
| 2926 |
examples/gnome-panel-test-starting-every-app.py, |
| 2927 |
examples/google-search.py, |
| 2928 |
examples/nautilus-test-icon-view-collage.py, |
| 2929 |
examples/recorder.py, examples/rhythmbox-test.py, |
| 2930 |
examples/test-events.py, examples/data/UTF-8-demo.txt, |
| 2931 |
examples/data/sample.cfg, sniff/sniff, sniff/sniff.desktop, |
| 2932 |
sniff/sniff.glade, examples/data/CAN-2005-0806.mbox, |
| 2933 |
examples/data/g-star.png, examples/data/g-star1.png, |
| 2934 |
examples/data/GNOME-Street.png, examples/data/GNOME-Street1.png: |
| 2935 |
Initial Import |