Skip to content

Commit

Permalink
Bump version to 0.5.3, update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-v-ryabov committed Sep 25, 2015
1 parent 2aad17d commit 7a7f383
Show file tree
Hide file tree
Showing 83 changed files with 124 additions and 43 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ Recommended usage: 64-bit Python is for 64-bit applications; 32-bit Python is fo
* [HowTo's](http://pywinauto.github.io/docs/HowTo.html)
* [Code examples (gists) on gist.github.com](https://gist.github.com/vasily-v-ryabov)

### pywinauto 0.5.2 release notes (2015 September, 8)
- [x] `ListViewWrapper` interface is aligned with `TreeViewWrapper`. `GetItem()` returns a `_listview_item` object that looks like `_treeview_element` now.
- [x] Add DPI awareness API support (Win8+). It allows correct work when all fonts (globally or per monitor) are scaled at 125%, 150% etc.
- [x] Add new `Application` methods: `CPUUsage` and `WaitCPUUsageLower`.
- [x] Fix `TreeViewWrapper.Select` method when tree view is not in focus.
- [x] Fix `TabControlWrapper.Select` method in case of TCS_BUTTONS style set.
- [x] Fix `ListViewWrapper` methods: `Check` and `UnCheck`.
- [x] Fix toolbar button access by tooltip text.
### pywinauto 0.5.3 release notes (2015 September, 25)
* Better backward compatibility with pywinauto 0.4.2:
- support Unicode symbols in the `TypeKeys` method again;
- allow `SetEditText/TypeKeys` methods to take non-string arguments;
- fix taking Unicode parameters in `SetEditText/TypeKeys`.
* Fix bug in `Wait("active")`, raise a SyntaxError when waiting for an incorrect state.
* Re-consider some timings, update docs for the default values etc.
* Fix several issues with an owner-drawn menu.
* `MenuItem` method `Click` is renamed to `ClickInput` while `Click = Select` now.
* New `SetTransparency` method can make a window transparent in a specified degree.

### Supported controls
* Native Windows controls (full support through Win32 API)
Expand Down
28 changes: 28 additions & 0 deletions doc_src/HISTORY.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
Change Log
==========

0.5.3 Better Unicode support for SetEditText/TypeKeys and menu items
------------------------------------------------------------------
25-September-2015
* Better backward compatibility with pywinauto 0.4.2:

- support Unicode symbols in the ``TypeKeys`` method again;

- allow ``SetEditText/TypeKeys`` methods to take non-string arguments;

- fix taking Unicode parameters in ``SetEditText/TypeKeys``.

* Fix bug in ``Wait("active")``, raise a SyntaxError when waiting for an incorrect state.

* Re-consider some timings, update docs for the default values etc.

* Fix several issues with an owner-drawn menu.

* ``MenuItem`` method ``Click`` is renamed to ``ClickInput`` while ``Click = Select`` now.

* New ``SetTransparency`` method can make a window transparent in a specified degree.


0.5.2 Improve ListView, new methods for CPU usage, DPI awareness
------------------------------------------------------------------
07-September-2015
Expand All @@ -18,11 +40,17 @@ Change Log
* "Tools overview" section in docs.

* Fix number of bugs:

- ``TreeViewWrapper.Select`` doesn't work when the control is not in focus.

- ``TabControlWrapper.Select`` doesn't work in case of TCS_BUTTONS style set.

- ``ListViewWrapper`` methods ``Check/UnCheck`` are fixed.

- Toolbar button: incorrect access by a tooltip text.

- Warning "Cannot retrieve text length for handle" uses print() instead of actionlogger.

- ``ClientToScreen`` method doesn't return a value (modifying mutable argument is not good practice).


Expand Down
4 changes: 2 additions & 2 deletions doc_src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
# built documents.
#
# The short X.Y version.
#version = '0.5.2'
#version = '0.5.3'
# The full version, including alpha/beta/rc tags.
#release = '0.5.2'
#release = '0.5.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 1 addition & 2 deletions pywinauto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"""
from __future__ import absolute_import

__revision__ = "$Revision$"
__version__ = "0.5.2"
__version__ = "0.5.3"

from . import findwindows
WindowAmbiguousError = findwindows.WindowAmbiguousError
Expand Down
2 changes: 1 addition & 1 deletion pywinauto/docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: e84d75c4fe9d79b60ee0a66872abf832
config: 39c2f0662734f90001ecf50e7963a505
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified pywinauto/docs/HISTORY.html
Binary file not shown.
Binary file modified pywinauto/docs/HowTo.html
Binary file not shown.
Binary file modified pywinauto/docs/TODO.html
Binary file not shown.
38 changes: 33 additions & 5 deletions pywinauto/docs/_sources/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,56 @@
Change Log
==========

0.5.3 Better Unicode support for SetEditText/TypeKeys and menu items
------------------------------------------------------------------
25-September-2015
* Better backward compatibility with pywinauto 0.4.2:

- support Unicode symbols in the ``TypeKeys`` method again;

- allow ``SetEditText/TypeKeys`` methods to take non-string arguments;

- fix taking Unicode parameters in ``SetEditText/TypeKeys``.

* Fix bug in ``Wait("active")``, raise a SyntaxError when waiting for an incorrect state.

* Re-consider some timings, update docs for the default values etc.

* Fix several issues with an owner-drawn menu.

* ``MenuItem`` method ``Click`` is renamed to ``ClickInput`` while ``Click = Select`` now.

* New ``SetTransparency`` method can make a window transparent in a specified degree.


0.5.2 Improve ListView, new methods for CPU usage, DPI awareness
------------------------------------------------------------------
07-September-2015

* New Application methods: ``CPUUsage`` returns CPU usage as a percent (float number),
``WaitCPUUsageLower`` waits until connected process CPU usage is lower than
specified value (2.5% by default).
``WaitCPUUsageLower`` waits until the connected process' CPU usage is lower than
a specified value (2.5% by default).

* New class ``_listview_item`` is very similar to ``_treeview_element``.
* A new class ``_listview_item``. It is very similar to ``_treeview_element``.

* Add DPI awareness API support (Win8+). It allows correct work when all fonts
are scaled at 125%, 150% etc (globally or per monitor).

* "Tools overview" section in docs.

* Fix number of bugs:

- ``TreeViewWrapper.Select`` doesn't work when the control is not in focus.

- ``TabControlWrapper.Select`` doesn't work in case of TCS_BUTTONS style set.

- ``ListViewWrapper`` methods ``Check/UnCheck`` are fixed.
- Toolbar button: incorrect access by tooltip text.

- Toolbar button: incorrect access by a tooltip text.

- Warning "Cannot retrieve text length for handle" uses print() instead of actionlogger.
- ``ClientToScreen`` method doesn't return a value (modifying mutable argument is not a good practice).

- ``ClientToScreen`` method doesn't return a value (modifying mutable argument is not good practice).


0.5.1 Several fixes, more tests
Expand Down
Binary file modified pywinauto/docs/_sources/index.txt
Binary file not shown.
10 changes: 5 additions & 5 deletions pywinauto/docs/_sources/wait_long_operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Application methods
This method is useful for multi-threaded interfaces that allow a lazy
initialization in another thread while GUI is responsive and all controls
already exist and ready to use. So waiting for a specific window existence/state
is useless. In such case CPU usage for the whole process indicates that a task
is useless. In such case the CPU usage for the whole process indicates that a task
calculation is not finished yet.

Example: ::
Expand All @@ -34,9 +34,9 @@ These methods are available to all controls.
There is an example containing long waits: `install script for 7zip 9.20 x64
<https://gist.github.com/vasily-v-ryabov/7a04717af4584cbb840f>`_.

A ``WindowSpecification`` object doesn't necessarily relate to an existing window/control.
It's just a description namely a couple of criteria to search the window. Method ``Wait`` (if exception is not raised)
can guarantee that target control exists or even visible, enabled and/or active.
A ``WindowSpecification`` object isn't necessarily related to an existing window/control.
It's just a description namely a couple of criteria to search the window. The ``Wait`` method (if no any exception is raised)
can guarantee that the target control exists or even visible, enabled and/or active.

Functions in ``timings`` module
------------
Expand All @@ -55,7 +55,7 @@ There are also low-level methods useful for any Python code.

Identify controls
------------
The methods to help you find the needed control.
The methods to help you to find a needed control.

* PrintControlIdentifiers_
* DrawOutline_
Expand Down
Binary file modified pywinauto/docs/code/HwndWrapper.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/XMLHelpers.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/allcontrols.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/application.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/asianhotkey.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/changedtext.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/clipboard.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/code.html
Binary file not shown.
Binary file modified pywinauto/docs/code/comboboxdroppedheight.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/common_controls.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/comparetoreffont.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/findbestmatch.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/findwindows.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/fuzzydict.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/handleprops.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/leadtrailspaces.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/menuwrapper.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/miscvalues.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/missalignmen2t.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/missalignment.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/missingextrastring.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/overlapping.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.RemoteMemoryBlock.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.SendKeysCtypes.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.XMLHelpers.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.actionlogger.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.application.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.clipboard.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.controlproperties.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.controls.HwndWrapper.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.controls.common_controls.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.controls.menuwrapper.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.controls.win32_controls.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.findbestmatch.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.findwindows.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.fuzzydict.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.handleprops.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.six.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.sysinfo.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.taskbar.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.allcontrols.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.asianhotkey.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.comboboxdroppedheight.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.comparetoreffont.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.leadtrailspaces.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.miscvalues.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.missalignment.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.missingextrastring.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.overlapping.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.repeatedhotkey.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.translation.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.tests.truncation.html
Binary file not shown.
Binary file modified pywinauto/docs/code/pywinauto.timings.html
Binary file not shown.
Binary file modified pywinauto/docs/code/repeatedhotkey.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/taskbar.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/timings.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/translation.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/truncation.py.html
Binary file not shown.
Binary file modified pywinauto/docs/code/win32_controls.py.html
Binary file not shown.
Binary file modified pywinauto/docs/contents.html
Binary file not shown.
Binary file modified pywinauto/docs/controls_overview.html
Binary file not shown.
Binary file modified pywinauto/docs/credits.html
Binary file not shown.
Binary file modified pywinauto/docs/dev_notes.html
Binary file not shown.
40 changes: 32 additions & 8 deletions pywinauto/docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Index &mdash; pywinauto 0.5.2 documentation</title>
<title>Index &mdash; pywinauto 0.5.3 documentation</title>

<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -24,7 +24,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="pywinauto 0.5.2 documentation" href="contents.html" />
<link rel="top" title="pywinauto 0.5.3 documentation" href="contents.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
Expand All @@ -36,7 +36,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.2 documentation</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.3 documentation</a> &raquo;</li>
</ul>
</div>

Expand Down Expand Up @@ -176,7 +176,7 @@ <h2 id="A">A</h2>
</dt>


<dt><a href="code/pywinauto.application.html#pywinauto.application.AssertValidProcess">AssertValidProcess (class in pywinauto.application)</a>
<dt><a href="code/pywinauto.application.html#pywinauto.application.AssertValidProcess">AssertValidProcess (in module pywinauto.application)</a>
</dt>

</dl></td>
Expand Down Expand Up @@ -346,6 +346,10 @@ <h2 id="C">C</h2>
<dt><a href="code/pywinauto.controls.common_controls.html#pywinauto.controls.common_controls._treeview_element.ClickInput">(pywinauto.controls.common_controls._treeview_element method)</a>
</dt>


<dt><a href="code/pywinauto.controls.menuwrapper.html#pywinauto.controls.menuwrapper.MenuItem.ClickInput">(pywinauto.controls.menuwrapper.MenuItem method)</a>
</dt>

</dl></dd>

<dt><a href="code/pywinauto.taskbar.html#pywinauto.taskbar.ClickSystemTrayIcon">ClickSystemTrayIcon() (in module pywinauto.taskbar)</a>
Expand Down Expand Up @@ -566,6 +570,10 @@ <h2 id="E">E</h2>
</dt>


<dt><a href="code/pywinauto.controls.menuwrapper.html#pywinauto.controls.menuwrapper.ensure_accessible">ensure_accessible() (in module pywinauto.controls.menuwrapper)</a>
</dt>


<dt><a href="code/pywinauto.controls.common_controls.html#pywinauto.controls.common_controls._treeview_element.EnsureVisible">EnsureVisible() (pywinauto.controls.common_controls._treeview_element method)</a>
</dt>

Expand All @@ -579,12 +587,12 @@ <h2 id="E">E</h2>
<dt><a href="code/pywinauto.findwindows.html#pywinauto.findwindows.enum_windows">enum_windows() (in module pywinauto.findwindows)</a>
</dt>

</dl></td>
<td style="width: 33%" valign="top"><dl>

<dt><a href="code/pywinauto.six.html#pywinauto.six.Module_six_moves_urllib.error">error (pywinauto.six.Module_six_moves_urllib attribute)</a>
</dt>

</dl></td>
<td style="width: 33%" valign="top"><dl>

<dt><a href="code/pywinauto.six.html#pywinauto.six.exec_">exec_() (in module pywinauto.six)</a>
</dt>
Expand Down Expand Up @@ -724,6 +732,10 @@ <h2 id="G">G</h2>
</dt>


<dt><a href="code/pywinauto.controls.HwndWrapper.html#pywinauto.controls.HwndWrapper.HwndWrapper.GetActive">GetActive() (pywinauto.controls.HwndWrapper.HwndWrapper method)</a>
</dt>


<dt><a href="code/pywinauto.controls.common_controls.html#pywinauto.controls.common_controls.ReBarWrapper.GetBand">GetBand() (pywinauto.controls.common_controls.ReBarWrapper method)</a>
</dt>

Expand Down Expand Up @@ -1082,6 +1094,10 @@ <h2 id="I">I</h2>
</dt>


<dt><a href="code/pywinauto.controls.HwndWrapper.html#pywinauto.controls.HwndWrapper.HwndWrapper.IsActive">IsActive() (pywinauto.controls.HwndWrapper.HwndWrapper method)</a>
</dt>


<dt><a href="code/pywinauto.controls.common_controls.html#pywinauto.controls.common_controls._toolbar_button.IsCheckable">IsCheckable() (pywinauto.controls.common_controls._toolbar_button method)</a>
</dt>

Expand Down Expand Up @@ -1386,6 +1402,10 @@ <h2 id="M">M</h2>
</dt>


<dt><a href="code/pywinauto.controls.menuwrapper.html#pywinauto.controls.menuwrapper.MenuInaccessible">MenuInaccessible</a>
</dt>


<dt><a href="code/pywinauto.controls.menuwrapper.html#pywinauto.controls.menuwrapper.MenuInfo">MenuInfo (class in pywinauto.controls.menuwrapper)</a>
</dt>

Expand Down Expand Up @@ -1998,6 +2018,10 @@ <h2 id="S">S</h2>
</dt>


<dt><a href="code/pywinauto.controls.HwndWrapper.html#pywinauto.controls.HwndWrapper.HwndWrapper.SetTransparency">SetTransparency() (pywinauto.controls.HwndWrapper.HwndWrapper method)</a>
</dt>


<dt><a href="code/pywinauto.controls.common_controls.html#pywinauto.controls.common_controls.UpDownWrapper.SetValue">SetValue() (pywinauto.controls.common_controls.UpDownWrapper method)</a>
</dt>

Expand Down Expand Up @@ -2450,7 +2474,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.2 documentation</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.3 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
Binary file modified pywinauto/docs/getting_started.html
Binary file not shown.
Binary file modified pywinauto/docs/index.html
Binary file not shown.
Binary file modified pywinauto/docs/objects.inv
Binary file not shown.
10 changes: 5 additions & 5 deletions pywinauto/docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Python Module Index &mdash; pywinauto 0.5.2 documentation</title>
<title>Python Module Index &mdash; pywinauto 0.5.3 documentation</title>

<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="pywinauto 0.5.2 documentation" href="contents.html" />
<link rel="top" title="pywinauto 0.5.3 documentation" href="contents.html" />



Expand All @@ -38,7 +38,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="#" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.2 documentation</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.3 documentation</a> &raquo;</li>
</ul>
</div>

Expand Down Expand Up @@ -253,7 +253,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="#" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.2 documentation</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="contents.html">pywinauto 0.5.3 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
Loading

0 comments on commit 7a7f383

Please sign in to comment.