[nvda] Revision 261 - coding changes
- From: "Michael Curran" <mick@xxxxxxxxxx>
- To: <nvda@xxxxxxxxxxxxx>
- Date: Mon, 18 Dec 2006 20:20:02 +1100
Hi all,
Revision 261 is more of a coding change, no new features or major fixes.
*Moved all constants out of constants.py in to their respective related
places. For example: all the constants that come from winuser.h (for
user32.dll) are now in winUser.py and all the oleacc.h constants are in
MSAAHandler.py. Constants.py has now been deleted. This is a very major
coding change so I may have missed a few here or there. Please report any
bugs you find so they can be fixed. Even if they are really obvious.
constants.py may come back if NVDA gains more global constants. But at this
point in time, the only ones are exec constants used with
core.executeFunction, so they were placed in core.
*Fixed a few possible bugs and coding problems reported by pychecker.
*Added an 'isProtected' property to the base type NVDAObject. This property
is used to check if things like password fields should be treeted as
protected. And also changed the hasFocus method to a hasFocus property. This
is so that api.py no longer has to check states specific to MSAA. Hopefully
now no code outside an MSAA context references MSAA roles or states.
I am now going to be renaming modules such as MSAAHandler and the other MSAA
modules so that they now talk about IAccessible, rather than MSAA. After
this IAccessible2 code can start to be added in to those modules.
Note: Microsoft's MSAA implementation names MSAA's main interface as
IAccessible so it is probably best that we talk about the super set of MSAA
and IAccessible2 as IAccessible.
Mick
To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To unsubscribe from the list send a blank message to:
nvda-request@xxxxxxxxxxxxx
with 'unsubscribe' in the Subject field.
Thank you for your continued support of Nonvisual Desktop Access, an open
source free screen reader for Microsoft Windows:
http://www.kulgan.net/nvda/
Other related posts:
- » [nvda] Revision 261 - coding changes