Skip to content
  1. Apr 10, 2024
  2. Feb 06, 2024
  3. Jan 25, 2024
    • Eli Schwartz's avatar
      use portable "command -v" to detect installed programs · e56b39df
      Eli Schwartz authored
      The "which" utility is not guaranteed to be installed either, and if it
      is, its behavior is not portable either. This means that when various
      programs are installed, the `which` check will report a fatal error
      because the which tool did not exist and the shell returned a nonzero
      status when attempting to fork+exec. If it did exist, it might not be an
      implementation of `which` that returns nonzero when commands do not
      exist.
      
      The general scripting suggestion is to use the "command -v" shell
      builtin; this is required to exist in all POSIX 2008 compliant shells,
      and is thus guaranteed to work everywhere.
      
      For some in-depth discussions on the topic, see:
      - https://mywiki.wooledge.org/BashFAQ/081
      - https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then/85250#85250
      
      Examples of open-source shells likely to be installed as /bin/sh on
      Linux, which implement the 15-year-old standard: ash, bash, busybox,
      dash, ksh, mksh and zsh.
      
      Seve...
      e56b39df
  4. Jan 06, 2024
  5. Dec 22, 2023
  6. Dec 06, 2022
  7. Dec 05, 2022
  8. Oct 03, 2022
  9. Oct 02, 2022
  10. Sep 21, 2022
  11. Aug 06, 2022
  12. Aug 04, 2022
  13. Jul 02, 2022
  14. Dec 08, 2021
  15. Nov 08, 2021
  16. Nov 05, 2021
  17. Oct 22, 2021
  18. Oct 20, 2021
    • Michael Weghorn's avatar
      Make Selection#clearSelection work · 5e96a16d
      Michael Weghorn authored
      Call the corresponding 'Atspi.Selection' method.
      
      Forwarding to 'Atspi.Text' instead looks like that might
      have been a copy-paste error and e.g. resulted in
      
          AttributeError: type object 'Text' has no attribute 'clear_selection'
      
      when calling
      
         sel.clearSelection()
      
      on a 'pyatspi.selection.Selection' object in Accerciser's
      IPython console.
      5e96a16d
  19. Sep 27, 2021
  20. Mar 13, 2021
  21. Mar 10, 2021
  22. Mar 09, 2021
    • Mike Gorse's avatar
      getPath: bail out if we don't find the root accessible · 42d05342
      Mike Gorse authored
      In theory, we should always be able to reach the root accessible by querying
      an object's parent, querying that object's parent, and so on. Nevertheless,
      we want to be sure we don't hang, so bail out if this fails within a
      reasonable number of attempts.
      
      Fixes #6
      42d05342
  23. Sep 12, 2020
  24. Aug 08, 2020
  25. Jun 11, 2020
  26. Jun 10, 2020
  27. May 05, 2020
  28. Apr 29, 2020
  29. Apr 25, 2020
  30. Apr 11, 2020
  31. Mar 07, 2020
  32. Jan 18, 2020