1. 05 May, 2016 1 commit
  2. 26 Apr, 2016 2 commits
  3. 25 Apr, 2016 3 commits
  4. 22 Apr, 2016 1 commit
  5. 21 Apr, 2016 3 commits
  6. 20 Apr, 2016 3 commits
    • vhumpa's avatar
      Discovered py2 unicode pain within Tree and elsewhere, if we get unicode characters · 8a9a8c17
      vhumpa authored
      from at-spi and are (now) using the __future unicode_character import.
      
      We're using __future, but that only makes directly declared strings unicode.
      Then we get say Node.name as plain str in py2. Should it contain unicode char,
      for example '…' an attempt to cat with declared strings that are unicode
      (and cannot be otherwise thanks to __future), we're doomed.
      
      Attempted solution: doing plain str() while we use __future seems to make things
      click as long as all parts of the concat are str(). Not absolutely sure why - but
      on the good side, works the same in both python versions without having to do
      .decode() on str strings and having to catch exception for python3.
      
      Sideline: unicode and py2 with py3 - lot's of pain.
      8a9a8c17
    • vhumpa's avatar
      Merge branch 'fastfindlambda' into 'master' · 64b28eb6
      vhumpa authored
      findChild: Allow to use lambdas as well as predicates
      
      Like in findChildren, however with findChild the tree is searched only
      until first satisfying node is found - thus better on performance in
      most cases. findChild also provides some basic logging and throws exception
      on failure. @all 
      
      findChild also has the 'retry' option, so we can now do 'retry=True'
      searches with lambdas too (it's default).
      
      + Added a test
      
      See merge request !4
      64b28eb6
    • vhumpa's avatar
      findChild: Fix typo in lambda's debug name · 21396e64
      vhumpa authored
      21396e64
  7. 19 Apr, 2016 3 commits
  8. 18 Apr, 2016 1 commit
    • vhumpa's avatar
      Improved the utils.Lock by using onexit + better sniff locks handling. · c8c07a18
      vhumpa authored
      Fixes to occasional warning on exit caused by garbage collection when
      __del__ was invoked and 'os' already destroyed.
      
      Anyone uses lock, can combine unlockOnExit with .unlock() as needed.
      
      We provide warning to users to not run scripts and sniff simultaneously.
      c8c07a18
  9. 12 Apr, 2016 1 commit
    • anonym's avatar
      Add support for only searching among 'showing' nodes. · 37a3863f
      anonym authored
      Here 'showing' refers to pyatspi.STATE_SHOWING, i.e. whether a node is
      shown to the end-user or not. Quite often we are only interested in
      such nodes, at least when dogtail is used to interact with an
      application (e.g. clicking something that isn't there won't
      work). Most importantly, this greatly simplifies situations where the
      'shown' element we are looking for is hard to exactly pinpoint since
      it lacks properties to distinguish it from some not 'shown' elements,
      which is quite common when nodes lack names.
      
      Therefore we add a `showingOnly` boolean flag to all Node search
      methods. The default will be to not do this, for backwards
      compatibility, but the default is configurable via a new
      `searchShowingOnly` config option.
      37a3863f
  10. 23 Feb, 2016 3 commits
  11. 22 Feb, 2016 3 commits
  12. 12 Feb, 2016 2 commits
  13. 09 Feb, 2016 1 commit
  14. 03 Feb, 2016 1 commit
  15. 18 Jan, 2016 3 commits
  16. 15 Jan, 2016 2 commits
  17. 14 Jan, 2016 1 commit
    • vhumpa's avatar
      A big squash of commits from python3 and dogtail-bilingual branches. · 36b6873e
      vhumpa authored
      Making dogtail code perform both with Python2.7 and Python3.
      Biggest thanks comes to *Martin Simon (msimon@redhat.com)* for going through
      the entire framework and writing many new unittests for yet uncovered modules
      
      Please, see the content of python3 branch for the individual commits done
      by respective authors on the paralel version of dogtail.
      
      *From now on, we have a single codebase for both major version of Python.*
      36b6873e
  18. 26 Nov, 2015 1 commit
  19. 13 Nov, 2015 1 commit
    • Martin Simon's avatar
      Added two new functions to do a motion with trajectories · fe394e28
      Martin Simon authored
      A new functions to do drag and absolute motiuon with trajectories were added. The 'trajectory' means that the absolute motion is developed from several partial movements to simulate the motion properly. This also enables reation of some widgets which are less sensitive to motion and the motion needs cast longer.
      fe394e28
  20. 04 Nov, 2015 4 commits