Commit Graph

139 Commits

Author SHA1 Message Date
Piotr Caban aa63f9c940 oleacc: Remove WINAPI from accessible_create internal type.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Piotr Caban 82b8b361d2 oleacc: Introduce helper for checking accessibility object hwnd.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Piotr Caban 3e3a2be891 oleacc: Add Window_OleWindow_GetWindow implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams 1a3db363c6 oleacc: Add Client_get_accFocus tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams 57895ed8ae oleacc: Add Client_get_accFocus implementation.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams c33618ffdd oleacc: Add tests for AccessibleObjectFromEvent.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Connor Mcadams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Connor McAdams 966e6283db oleacc: Add STATE_SYSTEM_FOCUSED test for default client object.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Connor McAdams fdbb46faf2 oleacc: Check proper GUI thread for window focus.
Check for window focus against the current foreground window's thread
GUI data rather than the currently executing thread's GUI data.

Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Connor McAdams 602a36a253 oleacc: Implement AccessibleObjectFromEvent.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-30 22:49:58 +02:00
Francois Gouget 0c3bb47589 oleacc/tests: Fix the window name and keyboard shortcut tests.
Unlike button names and static messages, window titles don't contain
keyboard shortcuts so they should be returned as is.
Windows did not make any distinction between these cases before
Windows 10 1607.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 20:47:43 +01:00
Nikolay Sivov da4dc79db9 oleacc/tests: Use wide string constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 10:44:05 +02:00
Nikolay Sivov 5828516089 oleacc: Use wide string constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 10:44:04 +02:00
Francois Gouget a909baeb4e tests: Report all errors when failing to wait for a child process.
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Alexandre Julliard 0ed304e990 oleacc: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:41:13 +02:00
Alexandre Julliard 749243b869 oleacc/tests: Preserve the full 64 bits of the LRESULT value.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Michael Stefaniuc 29503f2464 oleacc: Avoid using the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:12:51 +01:00
Michael Stefaniuc 3a61d1d51e oleacc: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-19 08:07:03 +02:00
Michael Stefaniuc 1144f09229 oleacc/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Michael Stefaniuc f9e47ff5e0 oleacc: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 10:34:44 +01:00
Gerald Pfeifer 92f9dd1942 oleacc: Avoid two cases of shift overflow. 2015-09-14 16:47:53 +09:00
Nikolay Sivov 40a311c821 oleacc: Added proxies for oleacc.idl. 2015-05-05 18:53:52 +09:00
Piotr Caban cc737bd460 oleacc: Added AccessibleChildren tests. 2015-03-23 16:23:19 +09:00
Piotr Caban 88b5b6a51e oleacc: Added AccessibleChildren implementation. 2015-03-23 16:23:12 +09:00
Piotr Caban 15e13220f1 oleacc: Added client IEnumVARIANT tests. 2015-03-23 16:23:05 +09:00
Piotr Caban 8c4a3f9fac oleacc: Added client IEnumVARIANT::{Reset,Skip,Next} implementation. 2015-03-23 16:22:58 +09:00
Piotr Caban ee144b66ab oleacc: Added window IEnumVARIANT stub. 2015-03-23 16:22:50 +09:00
Piotr Caban 843f463d2e oleacc: Added client IEnumVARIANT stub. 2015-03-23 16:22:44 +09:00
Piotr Caban 89721ba40d oleacc: Added Client_get_accChild implementation. 2015-03-23 16:22:38 +09:00
Marcus Meissner 9ad8aff7e1 oleacc: Free the mapping on error (Coverity). 2014-12-01 11:00:18 +01:00
Piotr Caban 964ab4b6f2 oleacc: Fix allocation error handling in ObjectFromLresult. 2014-10-06 17:36:46 +02:00
Jacek Caban c5af3d912b oleacc: Added CAccPropServices stub implementation. 2014-09-16 09:33:53 +02:00
Jacek Caban f7733d651c oleacc: Added DllRegisterServer and DllUnregisterServer implementations. 2014-09-11 16:55:31 +02:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Piotr Caban e73bbd0c81 oleacc: Prepare CreateStdAccessibleObject to support class specific accessibility objects. 2014-05-16 17:08:14 +02:00
Piotr Caban 76302af67e oleacc: Add IID_IAccessible, IID_IAccessibleHandler and LIBID_Accessibility exports. 2014-05-16 17:08:13 +02:00
Piotr Caban 6bd87c6bdb oleacc: Add WindowFromAccessibleObject implementation. 2014-05-15 19:05:23 +02:00
Piotr Caban 25312a10d3 oleacc: Add IOleWindow::GetWindow implementation in default client accessible object. 2014-05-15 19:05:19 +02:00
Piotr Caban 69ab9da0da oleacc: Add IOleWindow interface stub to default window accessible object. 2014-05-15 19:05:17 +02:00
Piotr Caban 8c808f3ee9 oleacc: Add IOleWindow interface stub to default client accessible object. 2014-05-15 19:05:15 +02:00
Piotr Caban 94b721000a oleacc: Disable tests on old oleacc. 2014-05-15 19:05:12 +02:00
Piotr Caban dccc4283a7 oleacc: Don't return partial data in GetRoleTextA if buffer is too small. 2014-05-15 19:05:10 +02:00
Piotr Caban 1f6ade45c1 oleacc: Modify output buffer on incorrect role in GetRoleTextA. 2014-05-15 19:05:08 +02:00
Frédéric Delanoy d1dbc024b5 oleacc: Add message context for object state string resources. 2014-05-15 17:22:29 +02:00
Piotr Caban 5f51dda7ee oleacc: Add GetStateText implementation. 2014-05-14 17:28:07 +02:00
Piotr Caban 7a0fd9cfe2 oleacc: Add Client_accLocation implementation. 2014-05-12 19:30:11 +02:00
Piotr Caban 40bdbda825 oleacc: Add Client_get_accParent implementation. 2014-05-09 14:25:46 +02:00
Piotr Caban e99dc1aced oleacc: Add Client_accHitTest implementation. 2014-05-09 14:25:44 +02:00
Piotr Caban 6474f8c1df oleacc: Add default window accessible object stub. 2014-05-09 14:25:42 +02:00
Piotr Caban d8467aee74 oleacc: Add GetProcessHandleFromHwnd implementation. 2014-05-05 12:17:46 +02:00