dogtail 2.0.dev2__tar.gz → 2.0.dev4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/.gitlab-ci.yml +3 -1
  2. dogtail-2.0.dev2/ChangeLog → dogtail-2.0.dev4/CHANGES +29 -1
  3. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/NEWS +15 -9
  4. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/PKG-INFO +18 -3
  5. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/README.md +17 -2
  6. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/predicate.py +6 -6
  7. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/tree.py +21 -0
  8. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/PKG-INFO +18 -3
  9. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/SOURCES.txt +1 -1
  10. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/.fmf/version +0 -0
  11. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/.gitignore +0 -0
  12. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/.packit.yaml +0 -0
  13. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/.vscode/settings.json +0 -0
  14. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/COPYING +0 -0
  15. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/MAINTAINERS +0 -0
  16. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/Makefile +0 -0
  17. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/configure +0 -0
  18. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/__init__.py +0 -0
  19. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/__init__.py +0 -0
  20. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_actions.py +0 -0
  21. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_component.py +0 -0
  22. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_editable_text.py +0 -0
  23. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_hypertext.py +0 -0
  24. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_image.py +0 -0
  25. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_object.py +0 -0
  26. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_root.py +0 -0
  27. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_selection.py +0 -0
  28. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_state.py +0 -0
  29. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_table.py +0 -0
  30. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_table_cell.py +0 -0
  31. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_text.py +0 -0
  32. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_utilities.py +0 -0
  33. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/accessibles/accessible_value.py +0 -0
  34. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/config.ini +0 -0
  35. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/config.py +0 -0
  36. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/distro.py +0 -0
  37. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/dump.py +0 -0
  38. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/errors.py +0 -0
  39. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/logging.py +0 -0
  40. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/ponytail_helper.py +0 -0
  41. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/rawinput.py +0 -0
  42. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/scripts/__init__.py +0 -0
  43. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/scripts/dogtail_create_config.py +0 -0
  44. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/scripts/dogtail_get_config.py +0 -0
  45. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/scripts/dogtail_headless.py +0 -0
  46. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/utils.py +0 -0
  47. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail/version.py +0 -0
  48. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/dependency_links.txt +0 -0
  49. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/entry_points.txt +0 -0
  50. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/requires.txt +0 -0
  51. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.egg-info/top_level.txt +0 -0
  52. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/dogtail.spec +0 -0
  53. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/epydoc.conf +0 -0
  54. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/examples/atspi_events_listener_script.py +0 -0
  55. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/examples/data/UTF-8-demo.txt +0 -0
  56. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/examples/gnome_shell_stress_test_tree_api.py +0 -0
  57. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/examples/text_editor_utf8_tree_api.py +0 -0
  58. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/icons/dogtail-head-48.png +0 -0
  59. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/icons/dogtail-head.svg +0 -0
  60. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/icons/dogtail-tail-48.png +0 -0
  61. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/icons/dogtail-tail.svg +0 -0
  62. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/pyproject.toml +0 -0
  63. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/setup.cfg +0 -0
  64. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/__init__.py +0 -0
  65. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/main.fmf +0 -0
  66. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_config.py +0 -0
  67. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_gtk_demo.py +0 -0
  68. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_predicate.py +0 -0
  69. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput.py +0 -0
  70. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput_drag.py +0 -0
  71. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput_keyboard_gtk3.py +0 -0
  72. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput_keyboard_gtk4.py +0 -0
  73. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput_mouse_buttons_gtk3.py +0 -0
  74. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_rawinput_mouse_buttons_gtk4.py +0 -0
  75. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_gtk3.py +0 -0
  76. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_gtk4.py +0 -0
  77. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_search_gtk3.py +0 -0
  78. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_search_gtk4.py +0 -0
  79. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_selection_gtk3.py +0 -0
  80. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_selection_gtk4.py +0 -0
  81. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_states_gtk3.py +0 -0
  82. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_states_gtk4.py +0 -0
  83. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_string_representation_gtk3.py +0 -0
  84. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_string_representation_gtk4.py +0 -0
  85. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_value_gtk3.py +0 -0
  86. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_tree_value_gtk4.py +0 -0
  87. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_utils_accessibility.py +0 -0
  88. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_utils_delay.py +0 -0
  89. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_utils_lock.py +0 -0
  90. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_utils_run_gtk3.py +0 -0
  91. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_utils_run_gtk4.py +0 -0
  92. {dogtail-2.0.dev2 → dogtail-2.0.dev4}/tests/test_version.py +0 -0
@@ -17,7 +17,7 @@ lint_code:
17
17
  script:
18
18
  - pip install ruff
19
19
  - ruff check .
20
- - python -m compileall dogtail/ scripts/
20
+ - python -m compileall dogtail/
21
21
  only:
22
22
  - tags
23
23
  - branches
@@ -101,3 +101,5 @@ publish-index:
101
101
  paths:
102
102
  - dist
103
103
  when: always
104
+ # Maybe lets only do this manually, not sure if this is needed for every commit.
105
+ when: manual
@@ -1,6 +1,34 @@
1
+ 2024-10-29 Michal Odehnal <modehnal@redhat.com>
2
+
3
+ dogtail 2.0.dev2
4
+ ================
5
+ Tracked in Issue #29
6
+ Remove obsolete and legacy code that I have not observed in usage for many years while working with dogtail and automation in general.
7
+ Improve Wayland support, iron out some wrinkles in very specific corner cases.
8
+ Improving code structure and moving specific parts to its own files to improve readability in high level Node.
9
+ Remove all pyatspi2 usage, switching to only Atspi usage.
10
+ Adding accessibility classes, which were heavily inspired by Orca.
11
+ Logging was rewritten to be more useful.
12
+ The ponytail handling was rewritten and added to its own file, so it is not implemented in several files.
13
+ Printing Accessibility Structure Representation with dump and tree was improved in readability and efficiency.
14
+ Configuration handling was improved and ability to have config file per project was added.
15
+ Changing casing to snake_case, but still have backwards compatibility to camelCase.
16
+ Custom keys and values - users can define their own config values in .ini file.
17
+ Type checking: users will get ValueError when trying to set e.g. bool to value defined as float in config.ini.
18
+ Unittests were rewritten and their execution have been validated with testing-farm. These will now execute before every MR.
19
+ Examples were updated.
20
+ Removing Sniff, I will not release dogtail with Sniff in a broken state. It is not working well under Wayland and effort to rewrite it would be great. If someone is willing to rewrite it and improve it I will accept MR with it. Until then there are better tools that fullfil the same role.
21
+ Preparation for Newton was added to Accessible classes, currently switched off.
22
+ Preparation for documentation is also present as docstring in class methods, but not executed upon yet. For now one of my colleagues said he will take a look, if not, I will do it myself later.
23
+ README file was updated with up to date information.
24
+ Released version 2.0.dev2 to pypi which is ready to be used by wider audience.
25
+ Metadata updated where possible.
26
+ The dogtail.spec and Makefile remain mostly untouched. I have never used those, adapting those should come from someone more knowledgeable.
27
+
28
+
1
29
  2024-12-31 Michal Odehnal <modehnal@redhat.com>
2
30
 
3
- dogtail 2.0
31
+ dogtail 2.x
4
32
  ===========
5
33
  See the NEWS file for all changes.
6
34
 
@@ -1,19 +1,25 @@
1
1
  dogtail-2.0
2
2
  ===========
3
3
 
4
- - Remove obsolete and legacy code that was never used in my several years of heavy dogtail usage.
4
+ - Tracked in Issue #29
5
+ - Remove obsolete and legacy code that I have not observed in usage for several years, working with dogtail and automation in general.
6
+ - Improve Wayland support, iron out some wrinkles in very specific corner cases.
5
7
  - Improving code structure and moving specific parts to its own files to improve readability in high level Node.
6
- - Remove all pyatspi2 usage and switch to only Atspi usage.
7
- - Introduction of accessibility classes, which were heavily inspired by Orca to solve problems with Accessibility when required.
8
- - Logging was remade to be more useful.
9
- - Ponytail now has its own file, so it is not sprinkled all over the code.
10
- - Dumping Accessibility Structure Representation with dump and tree was improved.
11
- - Config file was improved and ability to have a config file specific for a project was added.
8
+ - Remove all pyatspi2 usage, switching to only Atspi usage.
9
+ - Adding accessibility classes, which were heavily inspired by Orca.
10
+ - Logging was rewritten to be more useful.
11
+ - The ponytail handling was rewritten and added to its own file, so it is not implemented in several files.
12
+ - Printing Accessibility Structure Representation with dump and tree was improved in readability and efficiency.
13
+ - Configuration handling was improved and ability to have config file per project was added.
12
14
  - Changing casing to snake_case, but still have backwards compatibility to camelCase.
13
15
  - Custom keys and values - users can define their own config values in .ini file.
14
16
  - Type checking: users will get ValueError when trying to set e.g. bool to value defined as float in config.ini.
15
- - Release to pypi.
16
-
17
+ - Unittests were rewritten and their execution have been validated with testing-farm. These will now execute before every MR.
18
+ - Examples were updated.
19
+ - Removing Sniff, I will not release dogtail with Sniff in a broken state. It is not working well under Wayland and effort to rewrite it would be great. If someone is willing to rewrite it and improve it I will accept MR with it. Until then there are better tools that fullfil the same role.
20
+ - Preparation for Newton was added to Accessible classes, currently switched off.
21
+ - Preparation for documentation is also present as docstring in class methods, but not executed upon yet. For now one of my colleagues said he will take a look, if not, I will do it myself later.
22
+ - README file was updated with up to date information.
17
23
 
18
24
 
19
25
  dogtail 1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dogtail
3
- Version: 2.0.dev2
3
+ Version: 2.0.dev4
4
4
  Summary: GUI test tool and automation framework that uses Accessibility (AT-SPI) technologies to communicate with desktop applications.
5
5
  Author-email: Zack Cerza <zcerza@redhat.com>, Ed Rousseau <rousseau@redhat.com>, David Malcolm <dmalcolm@redhat.com>, Vitezslav Humpa <vhumpa@redhat.com>, Michal Odehnal <modehnal@redhat.com>
6
6
  License-Expression: GPL-2.0
@@ -23,7 +23,6 @@ Other than that, dogtail should work with any desktop environment that still run
23
23
 
24
24
  # News
25
25
 
26
-
27
26
  ## Release of dogtail-2.x
28
27
 
29
28
  Detailed information can be found in issue https://gitlab.com/dogtail/dogtail/-/issues/29.
@@ -122,10 +121,11 @@ Disabling Shadows in GTK4:
122
121
 
123
122
  To disable window shadows, add the following CSS to your GTK4 configuration (`~/.config/gtk-4.0/gtk.css`):
124
123
 
124
+ ```
125
125
  window, .popover, .tooltip {
126
126
  box-shadow: none;
127
127
  }
128
-
128
+ ```
129
129
 
130
130
  # Using
131
131
 
@@ -168,6 +168,21 @@ API Documentation:
168
168
  We have deprecated our mailing lists as well as IRC channel. Please use our GitLab for issues and merge requests! (Or possibly https://github.com/vhumpa/dogtail perhaps for your pull requests should you prefer to use github, but gitlab.com is preferred)
169
169
 
170
170
 
171
+ # Contributing
172
+
173
+ - **Bug Reports**: If you find a bug, check if an [issue](https://gitlab.com/dogtail/dogtail/issues) already exists. If not, please open one with a clear description and steps to reproduce it.
174
+
175
+ - **Feature Ideas**: Have a great idea? Open an [issue](https://gitlab.com/dogtail/dogtail/issues) to discuss it. This helps us align on the goal before you write any code.
176
+
177
+ - **Ready to Help**? Look for existing [issues](https://gitlab.com/dogtail/dogtail/issues). If you see one you'd like to work on, just leave a comment to let us know!
178
+
179
+ There are a few ways I would like to preserve the readability of the code.
180
+
181
+ - For functions and methods, use docstring to explain what it does, this way we can be sure it gets in the documentation.
182
+ - Use correct casing for classes, methods and variables. Most of the code base uses *snake_case*.
183
+ - Use full names for variables where possible. Single letter variables are not acceptable.
184
+ - Comments are sentences, they start with a capital letter and end with a dot.
185
+
171
186
  # Version dogtail-1.x
172
187
 
173
188
  The [dogtail-1.x](https://gitlab.com/dogtail/dogtail/-/tree/dogtail-1.x) is still available and if required will be updated and new versions will be released.
@@ -9,7 +9,6 @@ Other than that, dogtail should work with any desktop environment that still run
9
9
 
10
10
  # News
11
11
 
12
-
13
12
  ## Release of dogtail-2.x
14
13
 
15
14
  Detailed information can be found in issue https://gitlab.com/dogtail/dogtail/-/issues/29.
@@ -108,10 +107,11 @@ Disabling Shadows in GTK4:
108
107
 
109
108
  To disable window shadows, add the following CSS to your GTK4 configuration (`~/.config/gtk-4.0/gtk.css`):
110
109
 
110
+ ```
111
111
  window, .popover, .tooltip {
112
112
  box-shadow: none;
113
113
  }
114
-
114
+ ```
115
115
 
116
116
  # Using
117
117
 
@@ -154,6 +154,21 @@ API Documentation:
154
154
  We have deprecated our mailing lists as well as IRC channel. Please use our GitLab for issues and merge requests! (Or possibly https://github.com/vhumpa/dogtail perhaps for your pull requests should you prefer to use github, but gitlab.com is preferred)
155
155
 
156
156
 
157
+ # Contributing
158
+
159
+ - **Bug Reports**: If you find a bug, check if an [issue](https://gitlab.com/dogtail/dogtail/issues) already exists. If not, please open one with a clear description and steps to reproduce it.
160
+
161
+ - **Feature Ideas**: Have a great idea? Open an [issue](https://gitlab.com/dogtail/dogtail/issues) to discuss it. This helps us align on the goal before you write any code.
162
+
163
+ - **Ready to Help**? Look for existing [issues](https://gitlab.com/dogtail/dogtail/issues). If you see one you'd like to work on, just leave a comment to let us know!
164
+
165
+ There are a few ways I would like to preserve the readability of the code.
166
+
167
+ - For functions and methods, use docstring to explain what it does, this way we can be sure it gets in the documentation.
168
+ - Use correct casing for classes, methods and variables. Most of the code base uses *snake_case*.
169
+ - Use full names for variables where possible. Single letter variables are not acceptable.
170
+ - Comments are sentences, they start with a capital letter and end with a dot.
171
+
157
172
  # Version dogtail-1.x
158
173
 
159
174
  The [dogtail-1.x](https://gitlab.com/dogtail/dogtail/-/tree/dogtail-1.x) is still available and if required will be updated and new versions will be released.
@@ -148,12 +148,12 @@ class GenericPredicate:
148
148
  """
149
149
 
150
150
  string_to_represent_object = ""
151
- string_to_represent_object += f"name:'{self.name if self.name else 'None'}' "
152
- string_to_represent_object += f"role_name:'{self.role_name if self.role_name else 'None'}' "
153
- string_to_represent_object += f"description:'{self.description if self.description else 'None'}' "
154
- string_to_represent_object += f"label:'{self.label if self.label else 'None'}' "
155
- string_to_represent_object += f"id:'{self.identifier if self.identifier else 'None'}' "
156
- string_to_represent_object += f"showing_only:'{self.showing_only if self.showing_only else 'None'}'"
151
+ string_to_represent_object += f"name:'{repr(self.name)}' "
152
+ string_to_represent_object += f"role_name:'{repr(self.role_name)}' "
153
+ string_to_represent_object += f"description:'{repr(self.description)}' "
154
+ string_to_represent_object += f"label:'{repr(self.label)}' "
155
+ string_to_represent_object += f"id:'{repr(self.identifier)}' "
156
+ string_to_represent_object += f"showing_only:'{repr(self.showing_only)}'"
157
157
  return string_to_represent_object
158
158
 
159
159
 
@@ -2428,6 +2428,15 @@ class Node(object):
2428
2428
  showing_only=showingOnly
2429
2429
  )
2430
2430
 
2431
+
2432
+ def findAncestor(self, predicate, retry=True): # pylint: disable=invalid-name
2433
+ """
2434
+ For backwards compatibility reasons. Wrapper for self.find_ancestor.
2435
+ """
2436
+
2437
+ return self.find_ancestor(predicate, retry=retry)
2438
+
2439
+
2431
2440
  def findChild(self, predicate, retry=True): # pylint: disable=invalid-name
2432
2441
  """
2433
2442
  For backwards compatibility reasons. Wrapper for self.find_child.
@@ -2587,3 +2596,15 @@ try:
2587
2596
  except AttributeError:
2588
2597
  # Might be already deleted.
2589
2598
  pass
2599
+
2600
+ try:
2601
+ del Atspi.Accessible.description
2602
+ except AttributeError:
2603
+ # Might be already deleted.
2604
+ pass
2605
+
2606
+ try:
2607
+ del Atspi.Accessible.attributes
2608
+ except AttributeError:
2609
+ # Might be already deleted.
2610
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dogtail
3
- Version: 2.0.dev2
3
+ Version: 2.0.dev4
4
4
  Summary: GUI test tool and automation framework that uses Accessibility (AT-SPI) technologies to communicate with desktop applications.
5
5
  Author-email: Zack Cerza <zcerza@redhat.com>, Ed Rousseau <rousseau@redhat.com>, David Malcolm <dmalcolm@redhat.com>, Vitezslav Humpa <vhumpa@redhat.com>, Michal Odehnal <modehnal@redhat.com>
6
6
  License-Expression: GPL-2.0
@@ -23,7 +23,6 @@ Other than that, dogtail should work with any desktop environment that still run
23
23
 
24
24
  # News
25
25
 
26
-
27
26
  ## Release of dogtail-2.x
28
27
 
29
28
  Detailed information can be found in issue https://gitlab.com/dogtail/dogtail/-/issues/29.
@@ -122,10 +121,11 @@ Disabling Shadows in GTK4:
122
121
 
123
122
  To disable window shadows, add the following CSS to your GTK4 configuration (`~/.config/gtk-4.0/gtk.css`):
124
123
 
124
+ ```
125
125
  window, .popover, .tooltip {
126
126
  box-shadow: none;
127
127
  }
128
-
128
+ ```
129
129
 
130
130
  # Using
131
131
 
@@ -168,6 +168,21 @@ API Documentation:
168
168
  We have deprecated our mailing lists as well as IRC channel. Please use our GitLab for issues and merge requests! (Or possibly https://github.com/vhumpa/dogtail perhaps for your pull requests should you prefer to use github, but gitlab.com is preferred)
169
169
 
170
170
 
171
+ # Contributing
172
+
173
+ - **Bug Reports**: If you find a bug, check if an [issue](https://gitlab.com/dogtail/dogtail/issues) already exists. If not, please open one with a clear description and steps to reproduce it.
174
+
175
+ - **Feature Ideas**: Have a great idea? Open an [issue](https://gitlab.com/dogtail/dogtail/issues) to discuss it. This helps us align on the goal before you write any code.
176
+
177
+ - **Ready to Help**? Look for existing [issues](https://gitlab.com/dogtail/dogtail/issues). If you see one you'd like to work on, just leave a comment to let us know!
178
+
179
+ There are a few ways I would like to preserve the readability of the code.
180
+
181
+ - For functions and methods, use docstring to explain what it does, this way we can be sure it gets in the documentation.
182
+ - Use correct casing for classes, methods and variables. Most of the code base uses *snake_case*.
183
+ - Use full names for variables where possible. Single letter variables are not acceptable.
184
+ - Comments are sentences, they start with a capital letter and end with a dot.
185
+
171
186
  # Version dogtail-1.x
172
187
 
173
188
  The [dogtail-1.x](https://gitlab.com/dogtail/dogtail/-/tree/dogtail-1.x) is still available and if required will be updated and new versions will be released.
@@ -1,8 +1,8 @@
1
1
  .gitignore
2
2
  .gitlab-ci.yml
3
3
  .packit.yaml
4
+ CHANGES
4
5
  COPYING
5
- ChangeLog
6
6
  MAINTAINERS
7
7
  Makefile
8
8
  NEWS
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes