GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

  1. 26 Apr, 2016 2 commits
  2. 25 Apr, 2016 3 commits
  3. 22 Apr, 2016 1 commit
  4. 21 Apr, 2016 3 commits
  5. 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 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.
    • 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
    • vhumpa's avatar
      findChild: Fix typo in lambda's debug name · 21396e64
      vhumpa authored
  6. 19 Apr, 2016 3 commits
  7. 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.
  8. 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.
  9. 23 Feb, 2016 3 commits
  10. 22 Feb, 2016 3 commits
  11. 12 Feb, 2016 2 commits
  12. 09 Feb, 2016 1 commit
  13. 03 Feb, 2016 1 commit
  14. 18 Jan, 2016 3 commits
  15. 15 Jan, 2016 2 commits
  16. 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 (* 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.*
  17. 26 Nov, 2015 1 commit
  18. 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.
  19. 04 Nov, 2015 5 commits