platform/core/accessibility/universal-switch.git
7 years agoChangeScanningMethodActivity 20/147020/4
Mariusz Wachowicz [Thu, 31 Aug 2017 12:31:08 +0000 (14:31 +0200)]
ChangeScanningMethodActivity

Add activity responsible for changing scanning method to next
available method. In order to prevent race condition between vconf key
update and scanner start form context change, delay in startAutoScanner
has been implemented

0a. SelectActivity is completed => ChangeScanningMethodActivity is invoked
0b. menu pop up disappear
0c. outer logic notice context change
1a. ChangeScanningMethod change vconf key responsible for
scanning method
1b. startAutoscanning from ScreenScannerManager is invoked
2. scanning properties cached value is
updated due to callback from vconf key change
3. context is reloaded and scanner is started with
updated scanning method

Change-Id: I8bfdf530cebd4eb5775a3c15f06502bb81873186

7 years agoRefactor in switch providers and interaction manager 08/148308/4
Lukasz Wlazly [Thu, 7 Sep 2017 08:25:08 +0000 (10:25 +0200)]
Refactor in switch providers and interaction manager

This commit:
    1. Moves functionality regarding catching ecore events from constructors
        to 'enable' and 'disable' methods in ScreenSwitchProvider and AccessoriesSwitchProvider
    2. Simplify events managing in AccessoriesSwitchProvider
    3. Changes usage of SwitchInteractionManager from singleton pattern to instance
        of template class Singleton

Change-Id: I909c30178c108346a96969ea0fc3367eb25ee5b7

7 years agoSelect activity will check UiElement atspi parameters only once 94/148094/4
Pawel Kurowski [Wed, 6 Sep 2017 18:13:58 +0000 (20:13 +0200)]
Select activity will check UiElement atspi parameters only once

Since realUiElement can't change during Select activity lifetime,
there is no need to call atspi functions each time.

Change-Id: Ia0442494592fbf7e94d6c9da1a4040612bdfd960

7 years agoBugfix: AccessoriesSwitchProvider losing key presses 92/147792/3
Paweł Stawicki [Tue, 5 Sep 2017 16:50:11 +0000 (18:50 +0200)]
Bugfix: AccessoriesSwitchProvider losing key presses

When AccessoriesSwitchProvider received keyDown, keyUp events
ocassionaly SwitchInteractionManager::minimalSwitchInteractionTimeCb timer
was not called even when minimalSwitchInteractionTime was set to 0.0f,
(interactionManager.stopInteraction(..) was called before the timer triggered)

Change-Id: I6c889ea542ccfc783a61497acbecdebeecfe1312

7 years agoAdd ChangeSoundProfileActivity class 63/147463/10
Mariusz Wachowicz [Thu, 31 Aug 2017 14:03:28 +0000 (16:03 +0200)]
Add ChangeSoundProfileActivity class

Sound profile (Sound, Vibrate, Mute) is changed by changing vconf keys
located in settings

business logic mimic logic implemented in:
https://review.tizen.org/gerrit/#/admin/projects/profile/mobile/apps/native/quickpanel
sound-profile.c @ 76 -> _set_sound_status

Change-Id: Id7eef8dbcf67d1aa44d92b0691dc41b1897c8478

7 years agoAdd name for window and popup 02/145502/5
Mariusz Wachowicz [Tue, 22 Aug 2017 13:13:19 +0000 (15:13 +0200)]
Add name for window and popup

window name added in order to satisfy navigation heuristics
IMPORTATNT: changes from this patch have to be removed after
reaching full functionality by navigation interface

Change-Id: If302cda75489f3a37e4be0ffc4d3e6ff8d62ebba

7 years agoAdd classes representing basic geometric concepts 73/147773/8
Lukasz Wlazly [Tue, 5 Sep 2017 12:56:33 +0000 (14:56 +0200)]
Add classes representing basic geometric concepts

This change provides three basic concepts:
    Point
    Size
    Rectangle

Change requires small refactor work in existing code

Change-Id: I78e16244b3607ad4281affa0045b46f8d6656465

7 years agoFix translation for select activity 87/147787/3
Mariusz Wachowicz [Tue, 5 Sep 2017 14:33:47 +0000 (16:33 +0200)]
Fix translation for select activity

Change-Id: Id169de3bcd6cec5491989759e645f1d67ba72a85

7 years agoAdd auto scan enabling and disabling activity 86/147786/5
Mariusz Wachowicz [Tue, 5 Sep 2017 09:12:02 +0000 (11:12 +0200)]
Add auto scan enabling and disabling activity

class changes bool key responsible for auto scan

Change-Id: Ib2bcc5c12c1bddd32f53621e9444fe134ac53f5c

7 years agoAdd bindable activity types 10/147510/5
Paweł Stawicki [Mon, 4 Sep 2017 17:02:57 +0000 (19:02 +0200)]
Add bindable activity types

Bindable activities is a sub-set of activities that can be mapped and triggered directly by switch.
It is used in Settings app in "add/update switch configuration" use case.
Not all activities are bindable, some of them can be triggered only via activity popup menu.

Change-Id: I45f4f625ca5cf0508fd5ca2122692ce9c1714066

7 years agoFix redefinition of VCONF_KEY_FEEDBACK_VOICE_ENABLED 36/147736/1
Pawel Kurowski [Tue, 5 Sep 2017 10:34:28 +0000 (12:34 +0200)]
Fix redefinition of VCONF_KEY_FEEDBACK_VOICE_ENABLED

Change-Id: I8241ebaefd0fdab3d10a5d0d076eac0993a1eba9

7 years agoSynchronize vconf keys with settings 02/147502/3
Pawel Kurowski [Mon, 4 Sep 2017 13:47:40 +0000 (15:47 +0200)]
Synchronize vconf keys with settings

requires:
https://review.tizen.org/gerrit/#/c/147503/

Change-Id: I2d842fc4255b72d952ed4e2b919617893fd7c88b

7 years agoRegistrate callbacks for _ENABLED vconf keys 11/147211/3
Pawel Kurowski [Fri, 1 Sep 2017 11:08:42 +0000 (13:08 +0200)]
Registrate callbacks for _ENABLED vconf keys

According to settings, data stored in vconf as _VALUE should not be used,
when user set them as disabled.

Change-Id: I002306003266ee9b3e22ef78e001a2149f383df6

7 years agoAdd runTests.sh to utils 85/147485/2
Paweł Stawicki [Mon, 4 Sep 2017 12:01:53 +0000 (14:01 +0200)]
Add runTests.sh to utils

Change-Id: I766286b21d27c7bdeab4a141ace63a74942747df

7 years agoFix bug in Optional copy / move constructor 48/147248/2
Radoslaw Cybulski [Fri, 1 Sep 2017 14:13:57 +0000 (16:13 +0200)]
Fix bug in Optional copy / move constructor

Both copy and move constructor of Optional would unconditionally
copy content of it's value, when in uninitialized state. Thus
copy / move constructor of type A would be called with garbage
data and probably crash.

Change-Id: Iacbd82c68b64698e51dccf7307cb615be4103852

7 years agoResizing of scanning area on signal 'ContextChanged' 41/146441/12
Mariusz Wachowicz [Mon, 21 Aug 2017 14:08:26 +0000 (16:08 +0200)]
Resizing of scanning area on signal 'ContextChanged'

feature will be used in keyboard point scanning
and voice capture UI

Change-Id: Ie733eb0d75634c7973a277d52a1e7a7c16f2dc05

7 years agoenable/disable atspi on active/passive mode 29/146829/4
Paweł Stawicki [Wed, 30 Aug 2017 17:30:22 +0000 (19:30 +0200)]
enable/disable atspi on active/passive mode

In passive mode (when universal-switch only runs a configruation api)
atspi will be turned off.

Change-Id: I27fa0c26dea9fccad8803896fefc745c35f3bf27

7 years agoadds sound volume control via vconf keys 57/146057/6
Mariusz Wachowicz [Thu, 24 Aug 2017 11:36:57 +0000 (13:36 +0200)]
adds sound volume control via vconf keys

Change-Id: Ia0f4fc09d135e1c95178c6b8c175ed5d61fa044d

7 years agoAdd passive/active mode to universal-switch 72/146272/6
Paweł Stawicki [Fri, 25 Aug 2017 13:20:16 +0000 (15:20 +0200)]
Add passive/active mode to universal-switch

Change-Id: Ib724da281dff0269fc7c63965a5bf930a5b26a3d

7 years agoAdd captureSwitch to DBusInterface 66/144966/6
Paweł Stawicki [Fri, 18 Aug 2017 17:16:15 +0000 (19:16 +0200)]
Add captureSwitch to DBusInterface

Change-Id: I34ac8777c45703642154908a9448c9f5831a814d

7 years agoVConf keys moved to one file 23/145523/9
Mariusz Wachowicz [Tue, 22 Aug 2017 14:20:26 +0000 (16:20 +0200)]
VConf keys moved to one file

Change-Id: Ic9d35221d7cc8ca745860ada250c3fb0c6b1e953

7 years agobug fix on context change 58/146058/1
Mariusz Wachowicz [Thu, 24 Aug 2017 16:27:38 +0000 (18:27 +0200)]
bug fix on context change

solves bug:
in case of not receiving context changed signal
allows use of default vconf scanning method
before: allowed was only PointScanner

Change-Id: I0f0e1d01cf733c93519994c8b66389aeced88001

7 years agoUpgrade of language standard to c++14 77/145977/3
Lukasz Wlazly [Thu, 24 Aug 2017 09:36:02 +0000 (11:36 +0200)]
Upgrade of language standard to c++14

C++14 features enabled

Change-Id: Ia8269ce6fa985194c0bc445c82cfb3f9d347ee30

7 years agoclass Window use singleton template 82/145682/2
Mariusz Wachowicz [Wed, 23 Aug 2017 08:56:53 +0000 (10:56 +0200)]
class Window use singleton template

Change-Id: Iadc820dfdda4df7756f0b9d622a2ef0d6c82f909

7 years agoadd sounds during scanning via RowScanner 61/144361/7
Mariusz Wachowicz [Thu, 10 Aug 2017 12:19:30 +0000 (14:19 +0200)]
add sounds during scanning via RowScanner

sound is played after context change and
after iteration to next element during traverse

Change-Id: Ie92ac393e3b2bafb8ef7350866bfa40d540a40a2

7 years agoclass Singleton refactored 62/144962/9
Mariusz Wachowicz [Fri, 18 Aug 2017 12:18:25 +0000 (14:18 +0200)]
class Singleton refactored

solves static initialization order fiasco

Change-Id: I909cd25305f8660ac3548126ebf65eec2d0421e5

7 years agoShowing popup when accessory was disconnected 25/144725/8
Lukasz Wlazly [Thu, 17 Aug 2017 08:38:23 +0000 (10:38 +0200)]
Showing popup when accessory was disconnected

If exists mapping between accessory and switch popup message
with proper statement is being shown.

Change-Id: I8ae3dc3f80703793898c301e9829900ab7b0f069

7 years agoAdd localized name/description to CameraSwitchProviders switches 52/143852/5
Paweł Stawicki [Fri, 11 Aug 2017 13:24:42 +0000 (15:24 +0200)]
Add localized name/description to CameraSwitchProviders switches

Change-Id: Id22442a8c459345c877a390e4d3b8be4afb4358a

7 years agosupport changing of scanning area size in PointScanner 69/142569/4
Mariusz Wachowicz [Fri, 4 Aug 2017 08:47:50 +0000 (10:47 +0200)]
support changing of scanning area size in PointScanner

patch adds methods allowing controll
of scanning area dimensions in PointScanner

TODO: add callback for changed area dimensions
caused for example by keyboard appearance

TODO: support change of screen orientation

Change-Id: I5abd21c201cbdd6ab2c0e40a70dec4616739658c

7 years agorefactor UIElement.cpp 88/144388/3
Mariusz Wachowicz [Wed, 16 Aug 2017 10:56:51 +0000 (12:56 +0200)]
refactor UIElement.cpp

refactors activate method in class UIElement

Change-Id: I0f64f8dab2177e855d09e48b7c04cfece5ca3cd9

7 years agorefactor CMakeList files 10/144310/4
Mariusz Wachowicz [Wed, 16 Aug 2017 07:57:08 +0000 (09:57 +0200)]
refactor CMakeList files

files added automatically

Change-Id: I4ebcc072147593b19981608409c4390fd70ca27b

7 years agomanifest installation 05/144605/1
Mariusz Wachowicz [Thu, 17 Aug 2017 08:07:34 +0000 (10:07 +0200)]
manifest installation

manifest files are also installed during
installation of .rpm files

Change-Id: Ie11283cf206fc4276ae54aec3e1b816ee42f6527

7 years agoTapActivity 07/137407/3
Mariusz Wachowicz [Wed, 5 Jul 2017 13:46:28 +0000 (15:46 +0200)]
TapActivity

Change-Id: Ia57c458a7eea8b1dc012a63026e20c5f0e1d4129

7 years agoRowScanner 79/136179/38
Mariusz Wachowicz [Mon, 26 Jun 2017 06:45:13 +0000 (08:45 +0200)]
RowScanner

RowScanner use communication via NavigationInterface to Navigator Shared Library

Note: function setLocalScanningMethod was deleted, functionality for forcing scanning method will be implemented via context changed callback

Requires:
1. (at-spi2-core) https://review.tizen.org/gerrit/143845
2. (e-mod-tizen-screen-reader) https://review.tizen.org/gerrit/143623/
3. (elementary) https://review.tizen.org/gerrit/143847
4. (screen-reader started) https://review.tizen.org/gerrit/143846

Change-Id: I15f26ac3e75e7dc5c389981e6aca5905bbac6098

7 years agoPreparing of CameraSwitchProvider with constructor only 79/143779/4
Lukasz Wlazly [Fri, 11 Aug 2017 08:28:01 +0000 (10:28 +0200)]
Preparing of CameraSwitchProvider with constructor only

Change-Id: Ibd721691f760828b432fe3c31e092621ef873e4e

7 years agoDBusInterface add/update SwitchConfigurationItem interface fix 95/143795/3
Paweł Stawicki [Fri, 11 Aug 2017 09:14:52 +0000 (11:14 +0200)]
DBusInterface add/update SwitchConfigurationItem interface fix

Change-Id: Id65e21cb84b2b669b33b365182c2a70aa43b2d93

7 years agoNavigationInterface 53/141753/10
Mariusz Wachowicz [Tue, 1 Aug 2017 09:12:55 +0000 (11:12 +0200)]
NavigationInterface

implement NavigationInterface required for RowScanner

requirements:
1. screen-reader (https://review.tizen.org/gerrit/#/c/142317/)
2. at-spi2-core (https://review.tizen.org/gerrit/#/c/143553/)

Change-Id: Ida0c358764b32160ed43ab7d723b8cd725c035cc

7 years agoRunning universal-switch-tests as regular tizen application 98/143098/6
Lukasz Wlazly [Tue, 8 Aug 2017 09:36:44 +0000 (11:36 +0200)]
Running universal-switch-tests as regular tizen application

1. All tests has been moved to separated rpm package
2. Tests has been divided into two groups:
    - tests without UI elements: they are being run as particular binary files
    - tests with UI elements: they are being run from org.tizen.universal-switch-tests application
3. FooTest will be replaced as soon as suitable test appears

Change-Id: Ie25fa1ad209e9ea905316925950bb1a7360bcb18

7 years agoMenu Builder now skips disabled items 33/143133/3
Pawel Kurowski [Tue, 8 Aug 2017 18:44:32 +0000 (20:44 +0200)]
Menu Builder now skips disabled items

Item can be disabled by vconf value.
Also, depending on vconf, special main menu can be reduced to normal.

Change-Id: Ifcbbd7bf74961485dfa15fc8cbf485d233ba526f

7 years agoSelectActivity 63/135663/26
Pawel Kurowski [Thu, 20 Jul 2017 14:47:01 +0000 (16:47 +0200)]
SelectActivity

Change-Id: I81449851b7a9012ba4efbc894f9fb3f11de58b9f

7 years agoFix in SwitchInteractionManager 18/141818/1
Lukasz Wlazly [Tue, 1 Aug 2017 11:59:39 +0000 (13:59 +0200)]
Fix in SwitchInteractionManager

This patch restores proper behavior in ScreenSwitchProvider when used manually.
The way tests are executed has been changed: key released is added to event loop
by timer with small delay

Change-Id: I9aeebcb2b6c05816389fd00e82bd2927c3520a21

7 years agoFix for ConfigurationTests and ActivityProcessingTests suits 14/141414/3
Lukasz Wlazly [Fri, 28 Jul 2017 10:19:11 +0000 (12:19 +0200)]
Fix for ConfigurationTests and ActivityProcessingTests suits

Architecture changes required modifications of way the integration tests are executed.

This patch:
    1. changes default values of properties in SwitchInteractionManager
    2. overrides 'detach' method of Subject in CompositeSwitchProvider
    3. adds some nullptr verifications
    4. introduces invokation of ecore main loop to tests what enables using ecore timers during them

Change-Id: Id2fbbba163117bf9c415639d96223c5f758182a5

7 years agoSingleton class refactor 65/140965/2
Lukasz Wlazly [Thu, 27 Jul 2017 08:49:32 +0000 (10:49 +0200)]
Singleton class refactor

Aim of this commits is to clarify ambiguities regarding usage of template classes:
SingletonBase, Singleton and MockableSingleton. Needless class has been removed.

Change-Id: I49baeb84b13a9ca7af0eea48c29b355fce6fe40c

7 years agoSwitchProvider refactor 50/140750/4
Lukasz Wlazly [Wed, 26 Jul 2017 07:35:55 +0000 (09:35 +0200)]
SwitchProvider refactor

This patch contains two refactor works:
1. SwitchCollection has been moved to base class, thus implementation of findAllSwitches
    and findSwitchById can be provided in base class now
2. Callback functions in ScreenSwitchProvider are now minimalistic
3. Change in SwitchInteractionManager: any new interaction from any provider during currently proceeded stops the old one

Change-Id: I2966cafe81ecb735a55237efad62b155adce2a71

7 years agoBug fixing and refactor 87/140287/9
Lukasz Wlazly [Mon, 24 Jul 2017 10:04:03 +0000 (12:04 +0200)]
Bug fixing and refactor

1. AccessoriesSwitchProvider is not processing hardware back button
2. Memory faults on empty switches removed
3. Keys unmapped to switches can stop previous switch interaction
4. SwitchConfigurationItem enable additional constructor for lambda functions

Change-Id: I2085c7e0926188b5f4315af19b2765205e698833

7 years agoRemove SelectActivityBuilder 05/140605/1
Paweł Stawicki [Tue, 25 Jul 2017 13:40:33 +0000 (15:40 +0200)]
Remove SelectActivityBuilder

Change-Id: I763e4c51ee788d8bdf5ad9c8c123ddc55c8d4721

7 years agoAdd DBusInterface 23/139823/8
Paweł Stawicki [Wed, 19 Jul 2017 10:51:48 +0000 (12:51 +0200)]
Add DBusInterface

Tests on target:
su - owner
busctl --user
busctl --user tree org.tizen.UniversalSwitch
busctl --user introspect org.tizen.UniversalSwitch /org/tizen/UniversalSwitch

busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch getAllActivityTypes
busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch getAllSwitchProviders
busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch getAllSwitchConfigurationItems
busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch getAllSwitchesByProviderId s "AccessoriesSwitchProvider"

busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch addSwitchConfigurationItem sss "switchId1" "my name" "SELECT"
busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch updateSwitchConfigurationItem sss "switchId1" "my name2" "SELECT"
busctl --user call org.tizen.UniversalSwitch /org/tizen/UniversalSwitch org.tizen.UniversalSwitch removeSwitchConfigurationItem s "switchId1"

Change-Id: Ic0349ac2cb5787df3fd90bdb4737e031d49b652f

7 years agoImplementation of ScreenSwitchProvider 09/138909/12
Lukasz Wlazly [Thu, 13 Jul 2017 14:03:02 +0000 (16:03 +0200)]
Implementation of ScreenSwitchProvider

This patch also moves responsibility of notifying Switch observers to base class SwitchProvider
and adds mechanism of timers depending on vconf configuration.

Values saved in vconf are:
    1. minimal time of interaction required to process switch
    2. interval between switch interactions
    3. auto repetition time

After acceptance of general idea suitable tests will be provided.

Change-Id: If7f92c442a3cc41e1019cd6e06555d8d0b3fc918

7 years agoRename Atspi namespace to atspi to distinguish classes from namespaces 30/139830/3
Paweł Stawicki [Thu, 20 Jul 2017 14:34:40 +0000 (16:34 +0200)]
Rename Atspi namespace to atspi to distinguish classes from namespaces

Change-Id: I871fbeffc4835e88a53166c7e3e41be179ba81b9

7 years agoUniversalSwitch application context 69/139169/5
Mariusz Wachowicz [Mon, 17 Jul 2017 15:39:25 +0000 (17:39 +0200)]
UniversalSwitch application context

adds UniversalSwitch singleton class for handles management
AcceptScanningActivity has to be removed after integration with SelectActivity

Change-Id: I2669a6b184fde85bd7df1661eb4bf8b5335015cf

7 years agoAtspi & Optional 98/137998/8
Mariusz Wachowicz [Mon, 10 Jul 2017 11:08:39 +0000 (13:08 +0200)]
Atspi & Optional

adds Optional similar to Optional in C++17

Change-Id: I5ff35f2838de4bbc01738b2fe02f4e755ce54aca

7 years agoMenuBuilder implementation 90/137790/12
Pawel Kurowski [Fri, 7 Jul 2017 18:26:51 +0000 (20:26 +0200)]
MenuBuilder implementation

MenuMap singleton provides find() function, that returns vector of items in each menu.
Universal switch now uses gettext () to display the correct language.

Change-Id: Ic33ca858a3845512c3350b77a2507f700d0a9746

7 years agoAdd "_without_tests" option to gbs build system 03/138003/3
Paweł Stawicki [Mon, 10 Jul 2017 17:59:11 +0000 (19:59 +0200)]
Add "_without_tests" option to gbs build system

running gbs build without tests:
gbs  build -A armv7l -P public_4.0_mobile-tm1 --include-all --define "jobs 2" --define "_without_tests 1"

Change-Id: I5027275dad269f3383440765bd1d58b4a9be512f

7 years agoVconfImpl: Allow register and unregister callbacks during callback call 81/137781/3
Paweł Stawicki [Mon, 10 Jul 2017 10:20:30 +0000 (12:20 +0200)]
VconfImpl: Allow register and unregister callbacks during callback call

Change-Id: I999ef9e371901045ce0ee77f39a5a4067fe92451

7 years agosmall refactor 39/137939/2
Mariusz Wachowicz [Mon, 10 Jul 2017 10:09:04 +0000 (12:09 +0200)]
small refactor

replicated function in UIActivity removed
vector in SwitchManaged changed to stack for better understanding

Change-Id: If5a12e511279de5a81101031ec3b93b97070d458

7 years agoArchitecture change 68/135968/8
Lukasz Wlazly [Tue, 27 Jun 2017 13:55:13 +0000 (15:55 +0200)]
Architecture change

Dispatchers have been replaced with self-processing activities.
Activity change request and activity stacking has been added.

Change-Id: Id637d8e44c5102e783a2295897aab4d5badd7837

7 years agoTwoStepPrepareActivity added to remove impact of Activity implementation on Configura... 10/137410/2
Paweł Stawicki [Wed, 5 Jul 2017 15:48:39 +0000 (17:48 +0200)]
TwoStepPrepareActivity added to remove impact of Activity implementation on Configuration and ActivityDispatching tests

Change-Id: Ic054df9cae43a1244ea60b2d75d995817b60bac3

7 years agoBugfix tests: rpath added to make universal-switch a shared library 08/137408/2
Paweł Stawicki [Wed, 5 Jul 2017 14:41:04 +0000 (16:41 +0200)]
Bugfix tests: rpath added to make universal-switch a shared library

Change-Id: Ibe93abe150dbeaa87a4e8c0273653b17b160a9a3

7 years agoAdd VConfSingleton. Integration tests moved into a separate rpm. 70/136670/8
Paweł Stawicki [Fri, 30 Jun 2017 18:20:54 +0000 (20:20 +0200)]
Add VConfSingleton. Integration tests moved into a separate rpm.

Change-Id: Ibe015dbd44bfd4c96aceaf155aae70e7cbe56af5

7 years agoSingleton and MockableSingleton 08/135808/4
Mariusz Wachowicz [Mon, 26 Jun 2017 14:27:13 +0000 (16:27 +0200)]
Singleton and MockableSingleton

provide 2 new classes
MocableSingleton allow global access to DefaultImplementation with specific Interface
however it is possible to override DefaultImplementation

Change-Id: I72903e314baf83939f18b1a8d440e14d5936ff9a

7 years agoset app-control.operation for implicit launch request 08/132808/4
Paweł Stawicki [Fri, 16 Jun 2017 10:43:41 +0000 (12:43 +0200)]
set app-control.operation for implicit launch request

Change-Id: I3d34099ef4d68d8d1bf4a90f56129d09d8e252f2

7 years agoPointScanner & ScreenScannerManager 88/131988/14
Mariusz Wachowicz [Tue, 23 May 2017 12:40:23 +0000 (14:40 +0200)]
PointScanner & ScreenScannerManager

provide information about selected position on screen
TODO: tests do not pass due to problems with vconf configuration in test environment

Change-Id: Ic5709b18806602d84028d4a56d8d9f832af6d182

7 years agoWrapper class for elm_window object 83/135283/11
Lukasz Wlazly [Tue, 20 Jun 2017 08:43:48 +0000 (10:43 +0200)]
Wrapper class for elm_window object

Provided class is singleton with lazy initialization.
It can catch all gestures or pass them to the application below

Change-Id: Ic8bd7ca899b8f557a0d03db2ab0e7f1d7e1d5d09

7 years agoTest case documentation added. 34/134934/2
Lukasz [Tue, 20 Jun 2017 09:36:29 +0000 (11:36 +0200)]
Test case documentation added.

Change-Id: Ifb9902359085652310b078c502c6b8704cadf65c

7 years agoDefault scanning method 60/134960/2
Lukasz Wlazly [Tue, 20 Jun 2017 10:39:35 +0000 (12:39 +0200)]
Default scanning method

This commit prevent from undefined state of scanningMethod

Change-Id: Ib008b89c263d988d2913bd4654a8fcfcf15ac38c

7 years agoUnnecessary class removed 19/134419/2
Lukasz Wlazly [Fri, 16 Jun 2017 09:12:50 +0000 (11:12 +0200)]
Unnecessary class removed

After design change ActivityObserver class occured useless

Change-Id: I0bb9457deeb48115cd8cc93beeb8e5b68d2269b8

7 years agobugfix: double memory free 37/134037/1
Paweł Stawicki [Wed, 14 Jun 2017 09:19:04 +0000 (11:19 +0200)]
bugfix: double memory free

bugfix for commit: 42d67aefe5376273d4461d7ccf4071156c72baec
"Move ecore_init,ecore_shutdown to main function"

Change-Id: Ia272e0274b3a838b1eacadef0b17bd2dd7619a4a

7 years agoUnregister ecore event handler in ~AccessoriesSwitchProvider 35/133835/2
Paweł Stawicki [Tue, 13 Jun 2017 12:52:44 +0000 (14:52 +0200)]
Unregister ecore event handler in ~AccessoriesSwitchProvider

Change-Id: I5dcd1e8a1c0c97b59555dfa998cc00bb54ebf01e

7 years agoMove ecore_init,ecore_shutdown to main function 30/133830/2
Paweł Stawicki [Tue, 13 Jun 2017 12:20:52 +0000 (14:20 +0200)]
Move ecore_init,ecore_shutdown to main function

Workaround for errors generated by multiple ecore_init calls,
issue doesn't exist from efl 1.18.

Change-Id: I6f6925b5c31bd149c5103c47d030bdb2ddd9b75c

7 years agostatic class contructor registration in ActivityFactory 57/131357/2
Paweł Stawicki [Fri, 26 May 2017 13:00:31 +0000 (15:00 +0200)]
static class contructor registration in ActivityFactory

Change-Id: I961b570d8965a748ce0453ac8f77e0475550bbaf

7 years agoChanging the way that activities are being built 18/130718/6
Lukasz Wlazly [Mon, 22 May 2017 13:03:55 +0000 (15:03 +0200)]
Changing the way that activities are being built

Provided tests currently fails. Patch https://review.tizen.org/gerrit/#/c/131357/ fix this problem.

Change-Id: I265113e244fc2db397ead0e1d4e8d6db6c0b2fa2

7 years agoIntegration tests for Configuration and SwitchManager 95/129695/8
Lukasz Wlazly [Tue, 16 May 2017 13:28:19 +0000 (15:28 +0200)]
Integration tests for Configuration and SwitchManager

Change-Id: Ic52cb42766bec9b2cbc12cc83aab74c12b0e7782

7 years agoConfigurationItem refactor 38/129438/3
Lukasz Wlazly [Fri, 12 May 2017 14:17:28 +0000 (16:17 +0200)]
ConfigurationItem refactor

Renaming ConfigurationItem class with associated refactor of SQLiteConfiguration and QueryBuilder

Change-Id: Idfcc407784db957b9b76bda29750436c95f571ad

7 years agoMoving all source and headers into single directory 54/129054/2
Lukasz Wlazly [Fri, 12 May 2017 13:31:45 +0000 (15:31 +0200)]
Moving all source and headers into single directory

Change-Id: If41e36ff2bdc7bf50a89a5db86a81611cf1ae133

7 years agoThe implementation of SwitchManager constructor 39/127939/5
Lukasz Wlazly [Fri, 28 Apr 2017 09:21:55 +0000 (11:21 +0200)]
The implementation of SwitchManager constructor

Change-Id: I32b50147732a11cae46a663d2f80097be89d75f5

7 years agoGoogle Test framework added 00/128100/2
Lukasz Wlazly [Fri, 5 May 2017 10:10:26 +0000 (12:10 +0200)]
Google Test framework added

Repository contains one example test to show that framework work correctly.
This test will be removed when legit tests appear in repository.

Change-Id: I2c02bb6ec1a6ef0563eeffb1fb5b6adc0e2543e3

7 years agoAdding macros for convenient dlog usage. 05/128105/2
Lukasz Wlazly [Fri, 5 May 2017 11:48:08 +0000 (13:48 +0200)]
Adding macros for convenient dlog usage.

Added code was based on screen-reader file "logger.h". Unnecessary lines have been removed

Change-Id: I26e4ca6d88b006050e8c270794607369ea8f70c6

7 years agoApplication structure and basic implementation of particular modules 30/127130/8
Lukasz Wlazly [Tue, 18 Apr 2017 08:20:26 +0000 (10:20 +0200)]
Application structure and basic implementation of particular modules

This patch contains two previous commits: https://review.tizen.org/gerrit/#/c/125900/ and https://review.tizen.org/gerrit/#/c/125659/
Those two patches will be abandoned after acceptance of this one.

Change-Id: I77870faed8704f635b7b2065a6c885ff529f6211

7 years agoInitial empty repository master
Tizen Infrastructure [Thu, 30 Mar 2017 08:49:23 +0000 (01:49 -0700)]
Initial empty repository