summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
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
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
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
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
Paweł Stawicki [Tue, 25 Jul 2017 13:40:33 +0000 (15:40 +0200)]
Remove SelectActivityBuilder
Change-Id: I763e4c51ee788d8bdf5ad9c8c123ddc55c8d4721
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Paweł Stawicki [Fri, 16 Jun 2017 10:43:41 +0000 (12:43 +0200)]
set app-control.operation for implicit launch request
Change-Id: I3d34099ef4d68d8d1bf4a90f56129d09d8e252f2
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
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
Lukasz [Tue, 20 Jun 2017 09:36:29 +0000 (11:36 +0200)]
Test case documentation added.
Change-Id: Ifb9902359085652310b078c502c6b8704cadf65c
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
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
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
Paweł Stawicki [Tue, 13 Jun 2017 12:52:44 +0000 (14:52 +0200)]
Unregister ecore event handler in ~AccessoriesSwitchProvider
Change-Id: I5dcd1e8a1c0c97b59555dfa998cc00bb54ebf01e
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
Paweł Stawicki [Fri, 26 May 2017 13:00:31 +0000 (15:00 +0200)]
static class contructor registration in ActivityFactory
Change-Id: I961b570d8965a748ce0453ac8f77e0475550bbaf
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
Lukasz Wlazly [Tue, 16 May 2017 13:28:19 +0000 (15:28 +0200)]
Integration tests for Configuration and SwitchManager
Change-Id: Ic52cb42766bec9b2cbc12cc83aab74c12b0e7782
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
Lukasz Wlazly [Fri, 12 May 2017 13:31:45 +0000 (15:31 +0200)]
Moving all source and headers into single directory
Change-Id: If41e36ff2bdc7bf50a89a5db86a81611cf1ae133
Lukasz Wlazly [Fri, 28 Apr 2017 09:21:55 +0000 (11:21 +0200)]
The implementation of SwitchManager constructor
Change-Id: I32b50147732a11cae46a663d2f80097be89d75f5
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
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
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
Tizen Infrastructure [Thu, 30 Mar 2017 08:49:23 +0000 (01:49 -0700)]
Initial empty repository