Alex Henrie
53724c2eb6
uiautomationcore/tests: Use CRT allocation functions.
2024-01-18 18:08:48 +01:00
Alistair Leslie-Hughes
354b11cd9d
uiautomationcore: Remove DECLSPEC_HIDDEN usage.
2023-11-08 10:05:57 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
c432eac726
makefiles: Always use the global SOURCES variable for .idl files.
2023-11-01 22:43:50 +01:00
Connor McAdams
d81256e7b6
uiautomationcore: Return TRUE from UiaClientsAreListening().
...
This function always returns TRUE on Windows 7 and above, and now that we
have stubs for all the event raising functions there should be no harm
in doing the same.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-30 14:25:54 +01:00
Connor McAdams
0cbca47dae
uiautomationcore: Don't set HRESULT when attempting to advise currently focused HUIANODE.
...
create_uia_node_from_hwnd() is expected to fail if the HWND doesn't have
a native serverside provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-30 14:25:52 +01:00
Connor McAdams
4ed0a49618
uiautomationcore: Don't return failure from ::GetEmbeddedFragmentRoots stub on the default BaseHwnd provider.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-30 14:25:52 +01:00
Connor McAdams
a35c77fd33
uiautomationcore: Implement IRawElementProviderFragment::GetEmbeddedFragmentRoots for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-30 14:25:51 +01:00
Connor McAdams
4863992e84
uiautomationcore: Don't return failure from ::get_FragmentRoot stub on the default BaseHwnd provider.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-20 22:31:12 +02:00
Connor McAdams
362ea302b9
uiautomationcore/tests: Fix test failure on Win10v1709.
...
Win10v1709 doesn't respond to EVENT_OBJECT_DESTROY for COM focus event
handlers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55807
2023-10-20 22:31:12 +02:00
Connor McAdams
b22a06281a
uiautomationcore: Only print FIXME messages for missing default clientside providers once.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-20 22:31:12 +02:00
Connor McAdams
29d8c3828f
uiautomationcore: Remove accidentally leftover FIXME.
...
The MSAA to UIA event bridge is now partially implemented.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-20 22:31:12 +02:00
Connor McAdams
27aed609c6
uiautomationcore: Implement IUIAutomationElement::get_CachedBoundingRectangle.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
f9f59d109f
uiautomationcore: Implement IUIAutomationElement::get_CachedName.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
e9e009b723
uiautomationcore: Implement IUIAutomationElement::get_CachedIsKeyboardFocusable.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
118b74f82f
uiautomationcore: Implement IUIAutomationElement::get_CachedHasKeyboardFocus.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
15f098c34e
uiautomationcore: Implement IUIAutomationElement::get_CachedControlType.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
6d0047ad66
uiautomationcore/tests: Add tests for cached value helper functions in the COM API.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams
cc75dbd315
uiautomationcore: Add support for translating EVENT_OBJECT_FOCUS for native MSAA IAccessibles.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-16 11:15:38 +02:00
Connor McAdams
f26d470920
uiautomationcore: Potentially raise focus event on the currently focused serverside provider in response to EVENT_OBJECT_FOCUS.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-16 11:15:38 +02:00
Connor McAdams
2be7de9898
uiautomationcore: Potentially raise focus event for serverside providers in response to EVENT_OBJECT_FOCUS.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-16 11:15:38 +02:00
Connor McAdams
5a987d48b2
uiautomationcore/tests: Add tests for COM API EVENT_OBJECT_FOCUS translation.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-16 11:15:38 +02:00
Connor McAdams
0592872161
uiautomationcore: Release node lresult upon failure to allocate a node in uia_node_from_lresult().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-16 11:15:38 +02:00
Connor McAdams
4569157b28
uiautomationcore: Use EVENT_OBJECT_DESTROY to remove HWNDs from the COM API focus change HWND map.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams
a275834bdd
uiautomationcore: Use EVENT_OBJECT_FOCUS to advise HWND providers of focus change events in the COM API.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams
6b972a68b8
uiautomationcore: Query EVENT_OBJECT_FOCUS HWND for a serverside provider if there is a registered focus change event handler.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams
7886e4d08b
uiautomationcore/tests: Add tests for IUIAutomationFocusChangedEventHandler event advisement behavior.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams
3f4f116dc5
uiautomationcore: Use EVENT_OBJECT_SHOW to advise providers of events being listened for in the COM API.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-04 19:06:14 +02:00
Connor McAdams
c21bc70af8
uiautomationcore: Separate checking if a node is within the scope of a registered event from event invocation.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-04 19:06:13 +02:00
Connor McAdams
6666670929
uiautomationcore: Add support for passing WinEvents to the COM API.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-04 19:06:13 +02:00
Connor McAdams
f420b65a82
uiautomationcore/tests: Add tests for COM event handler event advisement.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-04 19:06:13 +02:00
Connor McAdams
60ff77754a
uiautomationcore: Add support for raising events passed to our IProxyProviderWinEventSink interface.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:31 +02:00
Connor McAdams
7aaf77a514
uiautomationcore: Pass WinEvent data to IProxyProviderWinEventHandler::RespondToWinEvent.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
0254db3492
uiautomationcore: Add support for marking the root IAccessible as known on non-root IAccessibles upon proxy provider creation.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
a2bf252c4b
uiautomationcore: Add support for ignoring ProviderOptions_UseComThreading when creating an HUIANODE.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
01d9a5ea2b
uiautomationcore: Create HUIANODE for WinEvents that should invoke IProxyProviderWinEventHandler::RespondToWinEvent.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
bc063b67ab
uiautomationcore: Check if we should try to invoke IProxyProviderWinEventHandler::RespondToWinEvent for registered UIA events.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
b9cf4e9896
uiautomationcore: Introduce uia_event_for_each function for iterating through registered events.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
75b4419478
uiautomationcore/tests: Add another test for IProxyProviderWinEventHandler child HWND scope checking.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-02 21:56:30 +02:00
Connor McAdams
fded7c1d71
uiautomationcore: Make sure event thread is started when listening for WinEvents.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-25 21:47:49 +02:00
Connor McAdams
81caccbf84
uiautomationcore: Track HWNDs that need WinEvent translation.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-25 21:47:49 +02:00
Connor McAdams
2a2c4cd7b9
uiautomationcore: Add WinEvent hook on the UIA event thread.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-25 21:47:48 +02:00
Connor McAdams
336503f3c9
uiautomationcore: Check providers for an IProxyProviderWinEventHandler interface when attaching events.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-25 21:47:48 +02:00
Connor McAdams
87af89cb3b
uiautomationcore/tests: Add tests for IProxyProviderWinEventHandler based MSAA to UIA event bridging.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-25 21:47:48 +02:00
Connor McAdams
05b4619d88
uiautomationcore: Handle EVENT_SYSTEM_ALERT in IProxyProviderWinEventHandler::RespondToWinEvent() for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-20 22:15:30 +02:00
Connor McAdams
c22bd318b3
uiautomationcore: Add stub IProxyProviderWinEventHandler implementation for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-20 22:15:30 +02:00
Connor McAdams
c7e976f819
uiautomationcore: Implement IRawElementProviderFragmentRoot::GetFocus for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-20 22:15:30 +02:00
Connor McAdams
ef1d5a0e0a
uiautomationcore: Pass through failure HRESULTS on MSAA accState based property IDs for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-20 22:15:30 +02:00
Connor McAdams
08f3de268a
uiautomationcore/tests: Increase wait timeout for cross-process event with navigation.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-20 22:15:30 +02:00
Connor McAdams
46b78c5d6d
uiautomationcore: Don't return oleacc proxy IAccessibles from GetIAccessible for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-19 21:32:36 +02:00