Fix svace issue : Need to check Property::Value.Get() return It is possible that user set invalid value type. If then, we need to skip given value setter. Change-Id: I8bc339f30b969c049a0b07bda152c4d24593bb48 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(A11y) Let we make some way to do not create new Accessible Add some API that we will not create new Accessible() object anymore. It will be useful when we ignore some Disposed view's accessible action. Change-Id: I6186f95eacf3c7d3cdb9c4ff9543edc019096552 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Fix build error for toolchain upgrade model-loader.cpp [ 61s] /home/abuild/rpmbuild/BUILD/dali2-toolkit-2.2.33/dali-scene3d/public-api/loader/model-loader.cpp:136:72: error: moving a temporary object prevents copy elision [-Werror=pessimizing-move] [ 61s] 136 | Dali::Scene3D::Loader::ResourceRefCounts resourceRefCount = std::move(mLoadResult.mResources.CreateRefCounter()); [ 61s] | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I0d4f08938e9f96918ba7407aacd59f7975fde264
[AT-SPI] Remove SetAccessibilityConstructor() This function is replaced by a new Control virtual method, CreateAccessibleObject(), which allows to achieve the same goal using less eccentric syntax. A slight reduction in memory usage is also expected, thanks to the fact that there is now no need to store a 'mAccessibilityConstructor' functor in every Control::Impl instance. Change-Id: I6399a6ca9acefb1648086b17d154541535f6bd2d
[AT-SPI] Require ControlAccessible for Control This change narrows down the type used in GetAccessibilityObject() and SetAccessibilityConstructor() from Accessible to ControlAccessible. It has always been the case that a Control is represented by either a ControlAccessible or a more derived type, and this fact is now reaffirmed in the API. Change-Id: Iae5f87845d951ac9affe2eb8589ec4aa3ea274e6
[AT-SPI] Rename AccessibleImpl to <Control>Accessible This change finishes establishing the new naming convention for Accessible objects, which now mirror the names of DALi/NUI classes, e.g. ActorAccessible, ControlAccessible (previously AccessibleImpl), NUIViewAccessible (previously AccessibleImpl_NUI), and now <Control>::AccessibleImpl becomes <Control>::<Control>Accessible. Change-Id: I8ba65736da4527d19107cee877541f776ba017ca
[AT-SPI] Synchronize with AT-SPI cleanup in dali-adaptor A related dali-adaptor change adds const-correctness and introduces a new, more coherent naming convention for Accessible objects. The name ControlAccessible now matches ApplicationAccessible, ProxyAccessible etc. and the upcoming ActorAccessible. Change-Id: I63a6887e1c291fbfb475fd8c2384126a31981d6b
Update ATSPI code according to DALi coding rule - Updated accessibility and bridge code, such as description or coding style. - Changed 'Caret' to 'Cursor' for dali text style. The patches below should be applied together. https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/260281/ https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/260322/ Change-Id: Id29163ab035efdcea6a06314bfcbf2826b2f09f2 Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
[AT-SPI] Use WeakHandle<Actor> in Accessible objects This breaks a strong reference cycle between Control::Impl, Actor, and AccessibleImpl. AccessibleImpl objects are stored as a std::unique_ptr in Control::Impl, so they do not need a strong actor handle. Change-Id: Iadf366dde0fe9cf1ca41128b027bc8add0717b39
[AT-SPI] Emit ObjectPropertyChangeEvent::VALUE While this could be done inside SetProperty handlers, it would not yield the desired effect, since the implementation often updates values directly, not via a SetProperty call. Change-Id: I2fed4b2d8ee7384bc5484c9af50d4b62a506a23a
[AT-SPI] Move setting highlightability property for controls to inheriting classes * Giving highlightable state explicitly for particular control by its developer is more reasonable than giving this state for all controls by default. * Such approach allows for better control over UI elements highlightability. We avoid highlighting containers like layouts, etc. Change-Id: Ifc1b5e268c2bd02c17498d0dba619771c5d5b00d