Commit Graph

413 Commits

Author SHA1 Message Date
Michael Herrmann
6f506eadc8 Updated version number to 0.4.2 and re-generated the documentation. 2013-09-16 11:38:49 +02:00
Michael Herrmann
6f0f0304ff Small stability improvement for HwndWrapper#WindowText(). This avoids exceptions of the form
Traceback (most recent call last):
	  File "pywinauto\controls\HwndWrapper.pyc", line 262, in WindowText
	  File "pywinauto\handleprops.pyc", line 58, in text
	  File "ctypes\__init__.pyc", line 310, in create_unicode_buffer
	ValueError: Array length must be >= 0, not -5880895
2013-09-16 11:24:35 +02:00
Michael Herrmann
0a1d2475a6 Implemented HwndWrapper#__ne__ to be consistent with HwndWrapper#__eq__. hwnd1 != hwnd2 and not hwnd1 == hwnd2 now yield the same results. 2013-03-01 11:57:45 +01:00
Michael Herrmann
b896fa51f2 Fixed a bug that made calling TypeKeys('{}}') raise a 'RuntimeError: Unknown code:' instead of typing the key '}'. This bug is also documented in Issue #10 on Google Code. 2012-08-06 12:41:06 +02:00
markm
f0cb6d884b Very latest docs (dev) 2011-01-28 16:31:04 +08:00
markm
f9e97662dc Some minor doc string changes. 2011-01-28 16:30:39 +08:00
markm
889bd31bc1 Remove a tab from teh source 2010-12-20 18:22:31 +09:00
markm
119e95deda Synchronize testing module with BetterBatch one - and integrate Coverage reporting 2010-12-20 18:20:51 +09:00
markm
677f9dbbfb Make the path of Controls_spy more generic (it is still relatively hardcoded though :) )
Some small re-ordering of imports
2010-12-20 18:20:28 +09:00
markm
4805ede871 Strip trailing whitespace 2010-12-20 17:46:04 +09:00
markm
09985bcaad Bump the revision number for the next release 2010-12-20 17:39:00 +09:00
markm
b873049bb2 Various improvements to the documentation of the pywinauto.application module (hide deprecated methods, improve documentation text & formatting) 2010-12-20 17:38:46 +09:00
markm
89d00808e5 re-built docs 2010-12-19 17:56:00 +09:00
markm
1633bf4acb Add the compiled docs to the repository 2010-12-19 17:51:26 +09:00
markm
e54edace88 * Deprecate WindowSpecification.Window_() and replace with WindowSpecification.ChildWindow() 2010-04-03 10:11:35 +00:00
markm
d26845c9be * Bump the version number 2010-04-03 10:06:10 +00:00
markm
db7c336c50 * Fix how Images are saved to XML. It was broken due to changes in PIL that I had not followed. Now use a safer method based off available attributes. 2010-04-03 08:27:32 +00:00
markm
da906faa43 * Various test fixes 2010-04-03 08:26:32 +00:00
markm
a901d2347c * Apply the fix from Hui Liu to the main Wait functions. This ensures that time.sleep() will never be called with a negative value. 2010-04-03 08:25:30 +00:00
markm
4227933e73 * Small change to the order of blocks in CaptureAsImage 2010-04-03 08:24:15 +00:00
markm
20c5878181 * Increase the timeout for the kill method when trying to close Windows
* Handle the timeout error (silently ignore it)
2010-04-03 08:12:53 +00:00
markm
3cb7906ed4 * CloseClick may raise a timings.TimeoutError if the control is still there after the timeout expires. 2010-04-03 06:01:01 +00:00
markm
3ea0a81fa4 * Use timings.WaitUntil rather than calculating the wait within the CloseClick() and Close() methods (thanks to Hui Liu) for pointing out an error in the way sleep times were being calculated which could cause it to wait forever. 2010-04-03 05:58:59 +00:00
markm
db443e82d3 * Simplify slightly the code within the Wait method. There are no functional changes. 2010-04-03 05:55:40 +00:00
markm
a954d194df * My references to PIL.ImageGrab were incorrect, PIL add's it's module directly to the module path, so it should just be referenced by ImageGrab and not PIL.ImageGrab
* Use AttachThreadInput + PostMessage rather than SendMessageTimeout to post message clicks.
2010-02-23 12:57:34 +00:00
markm
69561c8997 * Use 'SendMessageTimeout' to get the text of a window. (SendMessage will hang if the application is not processing messages) 2010-02-23 12:51:28 +00:00
markm
0af4d0c0e4 * add the EmptyClipboard() function as requested by tocer (http://sourceforge.net/users/tocer/) in SourceForge issue 2937981. 2010-02-23 12:27:00 +00:00
markm
6699d0fb02 * Add WindowSpecification and Application as attributes of pywinauto (so application should not need to be imported) 2010-02-10 22:44:00 +00:00
markm
ba32cdb3be * Remove code that is no longer used (RecordMatch function). 2010-02-10 22:42:49 +00:00
markm
e8312d7823 * Remove app from constructor of WindowSpecification 2010-02-10 22:38:56 +00:00
markm
22552d7087 * Better handle dir() calls on Application or WindowSpecification objects (which would otherwise hang for a while as these classes would search for windows like __members__, __methods__ and __bases__). The code now checks for any attribute that starts with __ and ends with __. 2010-02-10 22:33:50 +00:00
markm
12e30e422e * Strip all trailing whitespace and split some long lines 2010-02-10 22:31:26 +00:00
markm
4430620e07 * Speed up dir() calls on Application and WindowSpecification isntances (by raising AttributeError for __method__ and __member__ attribute checks. 2010-02-03 00:27:08 +00:00
markm
afe3ca0070 * Remove requirement for an app instance when working with a WindowSpecification object. This allows WindowSpecification to be useful even when not using application.py
* Remove other dead code relating to the use of app in WindowSpecification.
2010-02-02 13:13:57 +00:00
markm
a1fe33e6b0 * Add check that at least one window could be found in top_window_() 2010-02-01 12:30:21 +00:00
markm
fd1730866b * Add support for cygwin (cdll instead of windll) 2010-02-01 12:28:42 +00:00
markm
7dff7b42ec * Partial support for Ansi based ListView items (i.e. VB6 controls) 2010-02-01 12:24:54 +00:00
markm
10098791cb * Tagging as 0.3.9 2009-11-27 13:55:00 +00:00
markm
1182ed93f5 * Get around font settings in Notepad, and set them back afterwards (makes the tests less brittle) 2009-11-27 13:25:37 +00:00
markm
dc3fe598d6 * Fix the import of SendKeysCtypes 2009-11-21 13:29:25 +00:00
markm
5ccdee1a66 * Improve the tests slightly for sendkeysCtypes. 2009-11-21 13:28:52 +00:00
markm
4cf4c535b0 * Fixed two off-by-one errors in the ItemData tests (I had expect that - just wanted it to fail first :) - Yeah - Right) 2009-11-21 13:28:03 +00:00
markm
9f37e37a26 * Handle newlines correctly 2009-11-21 13:06:57 +00:00
markm
cb7e5ab06c * renamed with updated SendKeysUpdated 2009-11-21 11:40:00 +00:00
markm
cf4b41859a * Replacement for Sendkeys that can handle Unicode characters and does not require any compilation 2009-11-21 11:37:26 +00:00
markm
c29dd495e9 * Use SendKeysCtypes instead of sendkeys
* Allow overriding of the WrapperObject used in a class. Previously it was not possible to force a particular class by using (for example) TreeViewWrapper(returnedWrapper.handle).
 * Print out a message if someone tries to use HwndWrapper.CaptureAsImage() when PIL is not installed.
 * Even when the mouse buttons are swapped send the correct mouse button for ClickInput() and RightClickInput() (i.e. a right click will alway be a right click even if the mouse buttons are swapped, i.e. it will often bring up a context menu)
2009-11-21 11:15:32 +00:00
markm
595a032e07 * Improved error message from ComboBoxWrapper/ListBoxWrapper._get_item_index() when the item is not there
* Added support for testing with reference controls to RunTests()
2009-11-21 11:03:28 +00:00
markm
e391f98468 * Added missing file 2009-11-21 10:46:55 +00:00
markm
70e9fe7d33 * Added what I hope are the delphi TreeView and ListView classes 2009-11-21 10:00:59 +00:00
markm
510003876d * fix a typo of "false" to "False" 2009-11-21 08:11:04 +00:00