summaryrefslogtreecommitdiff
path: root/dali/internal/accessibility/bridge
AgeCommit message (Collapse)AuthorFilesLines
2024-04-12[WIP] refactor Bridgeyoungsus/refactor-a11y-bridgeYoungsun Suh25-1093/+1169
Change-Id: I308b583576ea61a1f24457679216ae7da39a900e
2024-04-123_ remove unused APIsYoungsun Suh1-8/+0
Change-Id: Ia4842be9a5b149c8d18c255febd8270062f7dba3
2024-04-122_ remove bridgeData from AccessibleYoungsun Suh3-104/+40
Change-Id: I21a8ab72c5a4daf9419b44a25de5b4850f399680
2024-04-121_ remove BridgeObejctYoungsun Suh3-477/+321
Change-Id: Ica8d1d786a4f069ab669802929ca549381c7bdaa
2024-03-14Merge "[AT-SPI] Rework intercepting key events" into devel/masterSeoyeon Kim2-28/+28
2024-03-08[AT-SPI] Associate default labels with windowsArtur Świgoń2-13/+86
Change-Id: I575f9be4d518c7b03d8bfa2419a6d1961585d5d6
2024-03-01[AT-SPI] Rework intercepting key eventsArtur Świgoń2-28/+28
- Make KeyEvent intercepting asynchronous to prevent deadlocks. - Support intercepting on windows other than the main window. Change-Id: I0f8683c82900483498479c501c0555f2cf1683d0
2024-02-01Merge "[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface." ↵kim hosang1-2/+10
into devel/master
2024-01-23Call idle functions what we might be failed to addEunki, Hong1-3/+7
Since AddIdle could be failed at ecore side, we need to call given callback synchronously, or need to print some error logs for some cases Change-Id: Iea7268071c47e998b66a57154d81aead866d5db2 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2024-01-19Merge "[ATSPI] Introduce GetMatchesInMatches API" into devel/masterwoochan lee2-0/+72
2024-01-10[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface.Hosang Kim1-2/+10
AT-SPI event is only transmitted when the D-Bus signature is siiv (so) or siiva{sv}. So fix signature of ScrollStarted and ScrollFinshed event. Change-Id: I8e0a7107f86dfee3032fcce688eb687d4abab618
2023-12-20[ATSPI] Introduce GetMatchesInMatches APIHosang Kim2-0/+72
The GetMatchesInMatches API allows users to get a list of Accessible objects that match two different MatchRule parameters. Change-Id: I2ac3dc502561b288a8d491e0392ecea8ef66e790
2023-12-18[ATSPI] Introduce GetNodeInfo interfaceWoochan Lee2-0/+66
A new interface for delivering entire information with on dbus method call. Change-Id: Ic0f7189565375ffa53e1061e584215266ac12eef
2023-11-09DBusWrapper is internal struct, don't need the adaptor flagAdunFang1-1/+2
Change-Id: Ifb390d242a40306bd0ec1ba064d2a94f57497f3c
2023-09-13Fix the failure to emit Accessibility::WindowEvent::CREATE event.Wonsik Jung2-0/+30
Fixing the failure to emit Accessibility::WindowEvent::CREATE event. This event can be sent the at-spi dbus should be enabled. So, This event can be sent when accessibility is enabled. Change-Id: I9ec22fee5d7db958c583971e6f0e48bda72f3252
2023-07-21Add new clipboardBowon Ryu1-1/+1
and remove legacy text clipboard Change-Id: If647e1588bccf039e3e920a7f00f19b2335a812b Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2023-06-27Move Clipboard to TextClipboardBowon Ryu1-2/+2
We plan to create a new Clipboard class and remove the dependency on Text and the legacy clipboard. Change-Id: I50475d80571b128b199e209ed8515c6446688e6e Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2023-05-26[AT-SPI] Add Table and TableCell interfacesArtur Świgoń5-1/+531
The purpose of these interfaces is to support Screen Reader operation with tables and grids, often in combination with the Selection interface, for example reading the row and column number when navigating a grid of items, or selecting cells / rows / columns, as specified in the UX guide. Change-Id: If61844b73421b76661d3966c8e7caba6c9202c8f
2023-05-25[AT-SPI] Allow manual control of ReadingMaterial::listChildrenCountArtur Świgoń1-2/+8
In complex UIs, where the logical number of children (i.e. not the number of Actors) is difficult to determine, because (1) the children have differing roles, or (2) the children are not direct descendants of the parent object, the best-effort calculation done by the AT-SPI bridge (for the purpose of reading "Showing %d items") will often be wrong. This patch recognizes the "item_count" attribute as a high-priority, manual setting of the number of children for the purpose of reading "Showing %d items" with the provided value. Change-Id: I2d027ea4930d7e9f63dee9fc4bb55a14caebf7b8
2023-05-11[AT-SPI] Remove State::SENSITIVE from ApplicationAccessibleArtur Świgoń1-0/+3
Change-Id: Idcf1a79e64989c650d82e1255dc2f386958a22ef
2023-04-14[AT-SPI] Add Value::GetValueText()Artur Świgoń4-5/+20
Change-Id: I2995c49d8cb590454e9cf0773bcf97955393718c
2023-03-17[AT-SPI] Prevent flooding D-Bus with PostRender eventsArtur Świgoń4-1/+18
When enabled with SetListenPostRender, the window Accessible emits countless PostRender events on D-Bus. The CoalescableMessages mechanism can be used here just like for BoundsChanged and SetOffset. This way, with this patch, the PostRender events come at a steady rate. With CoalescableMessages at least one event will still be emitted if requested, which is important for clients who may depend on there being a PostRender event on the AT-SPI bus after a particular operation -- there still is, but without the flooding. Change-Id: Iab9451d3bff7bf57007388ed641ba543d40b52c1
2023-03-15[ATSPI] Introduce SetListenPostRender interfaceWoochan Lee5-5/+26
A new interface for delivering PostRender event to atspi. Change-Id: Ic80f3637f74a0b6f99b2cbb9eb11c793c88b9e06
2023-02-13Make sure that global variables are initialized lazily.huayong.xu1-47/+49
Global variables are initialized before main function or when dali-core so is loaded firstly. This patch is to reduce loading time of dali in theory. Change-Id: If644ff61bdc27d268e913d9455bfa506bcea5892
2022-12-20Fixing static analysis bugsDavid Steele1-35/+31
Change-Id: I58dbff61812fe6e3ab2ec7cd1b5bc238b3e22f8b
2022-12-19Change DebugPriority name and Debug priorityHeeyong Song1-5/+3
Change-Id: Id902e7103cf19c156386eca4d941b16d361459d3
2022-12-16Merge "Fix gcc-11 compile error at dbus.h" into devel/masterEunki Hong1-30/+67
2022-12-15Merge "[ATSPI] Stop traversing tree immediatelly after reaching the maximum ↵Lukasz Oleksak1-0/+5
size of query result" into devel/master
2022-12-14Fix gcc-11 compile error at dbus.hEunki Hong1-30/+67
Since concat function make compile error, Make that function allow only 2-arg. Now compiler will be happy Change-Id: Iacfe08a67a88fd13f242385970ab33b1adbcc5d5 Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2022-12-13[ATSPI] Stop traversing tree immediatelly after reaching the maximum size of ↵Lukasz Oleksak1-0/+5
query result Change-Id: Ia0aa0aeea8d9f68d9df5c3ba0a91c2c68d50be60
2022-12-12[AT-SPI] Use async D-Bus call in some Socket methodsArtur Świgoń1-2/+2
Change-Id: I45c2f0ad514d47de9e3a7d389aafb488ab2366a7
2022-12-06Merge "[ATSPI] Add ScrollStarted/ScrollFinished interface" into devel/masterWonsik Jung5-0/+70
2022-11-21Add window minimize/restore/maximize event for DALiChihun Jeong2-0/+91
Change-Id: Idbc956f8b3950ea24ecb1c279afacf6fdde53e91
2022-11-10[ATSPI] Add ScrollStarted/ScrollFinished interfaceHosang Kim5-0/+70
This interface is used for scrollable object scroll started or finished. Change-Id: I14c40e2bb624020762cc2c909410c7321d99e3f7
2022-10-18Minor coverity issue fixesEunki, Hong1-5/+6
Fix some minor coverity issues that might has meanful 1. Implement missing move operation. 2. Remove float equal checks by ==, != operator. 3. unsigned int / unsigned char to uint32_t / uint8_t 4. Change missed value type (a.k.a float v = true;) Change-Id: Ib6eb901919918488f2ff7085301e73a466b98019 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2022-09-23[AT-SPI] Remove useless third-party includeEunki, Hong1-2/+0
Change-Id: I050ba4ad7e1e3e57aa5a5add2cefe6ef8678d230 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2022-08-17[AT-SPI][Text] Remove libunibreak dependency on accessibleEunki, Hong2-21/+3
libunibreak in AT-SPI only used some special case. I think we don't make it as Accessible's own API. Change-Id: Id7661320ba6d8a23ae61775642b275ef1e3a2666 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2022-08-10[AT-SPI] Do not store the window in mDefaultLabelsArtur Świgoń4-14/+12
The default label stack was often incorrect when Screen Reader was turned on dynamically, due to how window registration was handled. There is no need to store the window on the default label stack explicitly at all, because the navigation context root is also the target of the incoming D-Bus call. The broadest possible context is the window, which is the case if the navigation context stack is empty. Change-Id: I61d4f279c1c0f82c75516359db73cd941f5d0b53
2022-07-14[AT-SPI] De-duplicate serialization code for AccessibleArtur Świgoń1-30/+9
(De)serializing an Accessible is almost entirely equivalent to (de)serializing an Address, so most code can be reused. This patch also fixes a crash that would occur in libdbus when Accessible* was non-null, but its address was empty (could be the case for ProxyAccessible), yielding an invalid object path that would trigger an assertion. Change-Id: I595c42d5257edc2052d18927f5e08650efef8417
2022-07-14[AT-SPI] Reorder signature definitions in accessibility-common.hArtur Świgoń1-33/+33
The next patch will refactor the signature implementation for Accessible* so that it reuses the code from the one for Address. Change-Id: I46d3a64b8554124fc2f691c30fb9f66359a8994d
2022-07-13(AT-SPI) Created sub-folders for some of the Bridge code (for SAM score)Adeel Kazmi7-9/+9
Change-Id: Ib492379432f068a41825d4dbd8a717385fee9198
2022-07-07[AT-SPI] Allow return proxy parent of ApplicationAccessibleLukasz Oleksak1-66/+7
Change-Id: I92018a577f4f312d5aec76ae70bf78261e2dc1a0
2022-07-07[AT-SPI] Fixing reseting of delay for CoalescableMessagesLukasz Oleksak2-8/+15
Change-Id: I672b26051c84b69d5a56bcb2e4a8dd5782213578
2022-07-07[AT-SPI] Rename FilteredEvents to CoalescableMessagesArtur Świgoń4-20/+20
With the addition of accumulating (coalescing) SetOffset messages (which are D-Bus messages, not D-Bus events/signals), the name FilteredEvents becomes misleading. Change-Id: I428abd47a3a3621c843d9d3d6e5c24c57d31c302
2022-07-07[AT-SPI] Add Socket::SetOffset() and related APIsArtur Świgoń8-1/+67
These APIs allow to set an offset that is added to every GetExtents() result. The parent process calls Bridge::SetSocketOffset() which makes a D-Bus call resulting in Bridge::SetExtentsOffset() being called in the child process (widget). The widget needs this information to report its screen coordinates correctly to AT-SPI clients, and for navigation to work. BridgeComponent::GetExtents adds the value of mExtentsOffset to Component::GetExtents when reporting back to AT clients. So, in the reverse operation of GetNavigableAtPoint, the value of mExtentsOffset has to be subtracted. Change-Id: I4e563c8be1267101c355e27f6e2782f62655347f
2022-07-07[AT-SPI] SetPreferredBusName in WidgetImplTizenArtur Świgoń2-0/+25
Reserving a well-known bus name allows the widget to be discovered and embedded by the parent application without any prior information exchange (which would be impossible before establishing a connection anyway). Change-Id: I6dddcf2dda4651f3592a73bb293418512286e311
2022-07-07[AT-SPI] Add Bridge::SetPreferredBusName()Artur Świgoń4-0/+71
This API allows an application to register a string identifier as a bus name alias on the AT-SPI bus (e.g. "org.tizen.AppName") that remains constant across a series of activations and deactivations of AT-SPI, in contrast to the numeric bus name, which changes every time (e.g. ":1.23", ":1.27", ":1.31" etc.). Change-Id: Idaec55df4bcd73bc26befa5c03c3c1c9e3972781
2022-07-07[AT-SPI] Make ApplicationAccessible::GetStates() result non-emptyArtur Świgoń1-1/+8
This patch makes ApplicationAccessible::GetStates() return a bitwise OR of its children's states instead of an empty set (bitmask). Change-Id: I98400cd86e4a46fa108d18c8b8c54f340a6b9726
2022-07-07[AT-SPI] Implement Component in ApplicationAccessibleArtur Świgoń1-0/+70
When ApplicationAccessible is embedded in another process (i.e. it is a widget), then it needs to have the Component interface for its subtree to be considered during navigation (e.g. moving the highlight frame between the parent process and the embedded process). Change-Id: Id7eaae3c76061ca16448f115d99206b142cc429b
2022-07-07[AT-SPI] Implement Socket in ApplicationAccessibleArtur Świgoń1-1/+28
The ApplicationAccessible needs to expose the Socket interface in order to be embeddable in a remote process (the WidgetView). Change-Id: I1141749d8cb64038157c46a3e295abdc09c2c299