platform/core/accessibility/universal-switch.git
6 years agoRemoves unnecessary debug messages 57/169557/1
Radoslaw Cybulski [Wed, 7 Feb 2018 11:23:21 +0000 (12:23 +0100)]
Removes unnecessary debug messages

Change-Id: Iaa83742b1928a947a23e99b5a1b73df0d96d059f

6 years agoAdd licence notices and remove needless comments 16/169416/2
Lukasz Wlazly [Tue, 6 Feb 2018 10:44:23 +0000 (11:44 +0100)]
Add licence notices and remove needless comments

Change-Id: I19854ab57d780b73ccac347e2ba59a3848f05cf9

6 years agoRename TestExecutor to BatchExecutor, move definition to header 77/168977/4
Paweł Stawicki [Thu, 1 Feb 2018 12:42:11 +0000 (13:42 +0100)]
Rename TestExecutor to BatchExecutor, move definition to header

Change-Id: I77e3af59358f7ed17ec1b9475fd0da5a50e5d864

6 years agoAdd class for postponed function calling 60/169160/9
Lukasz Wlazly [Fri, 2 Feb 2018 14:04:48 +0000 (15:04 +0100)]
Add class for postponed function calling

Change-Id: Ia1165f55ed1d48908bfa70f192a7e9fb35883db5

6 years agoFixes crash, when pending connection is in progress, when quiting 65/169165/9
Radoslaw Cybulski [Fri, 2 Feb 2018 15:48:00 +0000 (16:48 +0100)]
Fixes crash, when pending connection is in progress, when quiting

Keeps track of all pending DBus requests to cancel them, when
given connection is being closed.

Change-Id: I1d8bb665fcd604013d8020ccb8ef8f5c2ab7c1e8

6 years agoFix for invalid type in debug message 94/169294/1
Lukasz Wlazly [Mon, 5 Feb 2018 14:24:24 +0000 (15:24 +0100)]
Fix for invalid type in debug message

Change-Id: I1919a9e268824432376b69a86039c089f1f94e26

6 years agoAdd return value validation in GestureActivity 51/169151/2
Lukasz Wlazly [Fri, 2 Feb 2018 12:34:51 +0000 (13:34 +0100)]
Add return value validation in GestureActivity

Because e-mod call may fail, return value is checked
and proper error message is added to log

Change-Id: I0f42d2b3f9bfdf5ec4972f91a0f30a9e3e2db8eb

6 years agoFixes incorrect failure condition in activity processing in batch mode 82/169282/1
Radoslaw Cybulski [Mon, 5 Feb 2018 11:20:36 +0000 (12:20 +0100)]
Fixes incorrect failure condition in activity processing in batch mode

Fixes situation, where activity would be prematurely judged as failed.

Change-Id: I2acbd86856643b9f5bc7cede7ab75ae76fd02f73

6 years ago[Fix] User can access US menu via touch display. 85/166085/8
Pawel Kurowski [Fri, 5 Jan 2018 19:38:56 +0000 (20:38 +0100)]
[Fix] User can access US menu via touch display.

Small inconvenience connected to this solution:
gestures must be added by timer (the choice of delay is irrelevant)

With timer, function will be queued in main loop,
and executed later than change of input region,
allowing gesture to be passed to application below Universal Switch.

Change-Id: Ib774e65fc85bbc949b6b1c1c74a8a0adca4cd77d

6 years agoWaitTTS and WaitGui structures extracted from methods 70/168570/5
Lukasz Wlazly [Mon, 29 Jan 2018 09:24:37 +0000 (10:24 +0100)]
WaitTTS and WaitGui structures extracted from methods

Change-Id: I628330a9bbec53a7890047521dfe14f6261bad43

6 years ago[FIX] Add doneCallback calling in process method 60/168760/2
Lukasz Wlazly [Tue, 30 Jan 2018 14:23:24 +0000 (15:23 +0100)]
[FIX] Add doneCallback calling in process method

Change-Id: I3cb06020dba3390a382641c421a931bbf23058cd

6 years agoFix for ecore::Timer 35/168835/2
Lukasz Wlazly [Wed, 31 Jan 2018 08:45:25 +0000 (09:45 +0100)]
Fix for ecore::Timer

1. Invalid move constructor
2. Reset with no arguments haven't always removed callback

Change-Id: Ia02dd6dd4dc02849290c07560dfa667b033fea71

6 years agoGesture activities with new e-mod API 97/168597/10
Lukasz Wlazly [Mon, 29 Jan 2018 11:50:02 +0000 (12:50 +0100)]
Gesture activities with new e-mod API

Change-Id: I182f92a7bcce7bda386974dd3467bd015d62b93c

6 years agoChange in name of class EvaluationValue 53/168553/4
Lukasz Wlazly [Mon, 29 Jan 2018 08:18:06 +0000 (09:18 +0100)]
Change in name of class EvaluationValue

Change-Id: I573c53a5f2ca6ee34b08f4e50a20f4146ad0fdda

6 years agoFixes crash on Universal-Switch's shutdown 45/168445/2
Radoslaw Cybulski [Fri, 26 Jan 2018 15:38:59 +0000 (16:38 +0100)]
Fixes crash on Universal-Switch's shutdown

Change-Id: Ia1bb4f2fdb7292e2be4177d10fa91ced3e12db43

6 years ago[FIX] increment & decrement value of UIElement 58/165758/2
Pawel Kurowski [Wed, 3 Jan 2018 17:50:44 +0000 (18:50 +0100)]
[FIX] increment & decrement value of UIElement

Due to change of lambda signature from std::shared_ptr<AtspiAccessible>
to DBus::ValueOrError<std::shared_ptr<AtspiAccessible>>
addintional Null check  is requiered.

Change-Id: I5864f61740ef9ce2e255d114953aa7f20bf2f4d3

6 years agoSupport for cursor colors 99/165499/7
Pawel Kurowski [Fri, 29 Dec 2017 12:25:46 +0000 (13:25 +0100)]
Support for cursor colors

Frame will be drawn with two colors:
first is set by user in settings and second one is its inversion

Change-Id: I477731cc457f4223f03ea5aae21cb9801a4b345e

6 years agoAdds support for keyword arguments 02/168302/10
Radoslaw Cybulski [Thu, 25 Jan 2018 11:45:10 +0000 (12:45 +0100)]
Adds support for keyword arguments

Change-Id: I3f8a683fa89de7d414488f24fbb64348b78b0f4a

6 years agoCode fixes for seamless change to clang-format as formatting tool 69/168169/12
Radoslaw Cybulski [Wed, 24 Jan 2018 18:17:08 +0000 (19:17 +0100)]
Code fixes for seamless change to clang-format as formatting tool

Change-Id: Ibfef33940d69c4ad1f1ee87a1efe6ba8e4f76ee6

6 years agoSuppress warnings from Dlog.cpp 60/168160/17
Pawel Kurowski [Wed, 24 Jan 2018 14:41:40 +0000 (15:41 +0100)]
Suppress warnings from Dlog.cpp

Change-Id: I6c744605e5bdb00dc9b929fa639a9df0fae96e1d

6 years agoSplits TestExecutor constructor into functions 72/167872/31
Radoslaw Cybulski [Mon, 22 Jan 2018 12:37:25 +0000 (13:37 +0100)]
Splits TestExecutor constructor into functions

Change-Id: I81bc484b0a002434a7f1022b8ae5b8177b985f37

6 years agoAdds support for -> operator, which allows to wait for various events 45/167445/43
Radoslaw Cybulski [Wed, 17 Jan 2018 16:11:06 +0000 (17:11 +0100)]
Adds support for -> operator, which allows to wait for various events

Consider following situation (in batch mode): first you TAP on icon on
home screen and launch an application, then you want to TAP on some
icon inside the application. Now you've to wait for the application to
initialize and appear foreground. Operator -> is to solve this issue:

TAP('Phone') -> gui()

means execute left side (TAP), then wait for conditions on right side
(gui - context must change, new app appear and so on). Currently only
two conditions are supported - gui (new context, new window and so on)
and tts (screen reader did read something).

Change-Id: I72d00335c360acf97979825b73ed0c98040a0dc4

6 years agoAdds Args struct for getting all arguments unprocessed in batch mode 89/167589/38
Radoslaw Cybulski [Thu, 18 Jan 2018 07:03:44 +0000 (08:03 +0100)]
Adds Args struct for getting all arguments unprocessed in batch mode

Adds EvaluationValueFunction::Args struct. Object of this type will
hold all arguments passed to a function in unprocessed form. Functor
must only take single parameter of this type, for example

EvaluationValue func = [](EvaluationValueFunction::Args args) { ... }

Change-Id: I31c66104e70525bd86bfdc5ca86977e7263e1858

6 years agoSplits EvaluationValue class impl into various base classes 25/167425/44
Radoslaw Cybulski [Mon, 15 Jan 2018 09:14:20 +0000 (10:14 +0100)]
Splits EvaluationValue class impl into various base classes

Note, this patch requires next one (Adds Args struct for getting all
arguments unprocessed in batch mode) to work properly.

Change-Id: I4ac0f78e716e314a3079baf788858f6dbeacd0c9

6 years agoAdds debug interface for printing debug info as evaluation goes 24/167424/37
Radoslaw Cybulski [Tue, 16 Jan 2018 10:17:01 +0000 (11:17 +0100)]
Adds debug interface for printing debug info as evaluation goes

Adds debug functionality, which will allow user to print debug
information about ongoing evaluation. Mostly for crash and test failure
diagnostics.

Change-Id: I6441cf808b14aeedcfed484f9fa1ae88e21cddc0

6 years agoRefactors how current EvaluationContext is passed over 67/167267/34
Radoslaw Cybulski [Tue, 16 Jan 2018 12:23:54 +0000 (13:23 +0100)]
Refactors how current EvaluationContext is passed over

Current EvaluationContext object is no longer passed around as function
argument. Now there's global thread_local pointer to current
EvaluationContext value. Creating new EvaluationContext updates this
pointer, but only for the current thread.

Change-Id: I9ce52ddb2860a53e405da85fe0cd53a833f73d8c

6 years agoAdds basic script to launch universal-switch batch mode 52/166752/39
Radoslaw Cybulski [Thu, 11 Jan 2018 16:07:54 +0000 (17:07 +0100)]
Adds basic script to launch universal-switch batch mode

Implement your test in file batch_file put in src/batch directory.
Run run-batch.sh file, which will send files to the target device,
launch universal-switch in batch mode (must be turned off before
launching) and output to the terminal any output from the batch.

Change-Id: I5104fd75b551875f25e76c52b6b01f1640c73dab

6 years agoAdds support for comment (# character) in batch scripts 91/167591/20
Radoslaw Cybulski [Thu, 18 Jan 2018 09:55:58 +0000 (10:55 +0100)]
Adds support for comment (# character) in batch scripts

Character # begins comment, which lasts until end of line.

Change-Id: Ia6ecfcea2116eb071a6ff77174b1369204e3e850

6 years agoAdds rudimentary support for parsing dlog 51/166751/31
Radoslaw Cybulski [Thu, 11 Jan 2018 16:04:26 +0000 (17:04 +0100)]
Adds rudimentary support for parsing dlog

Adds basic functionality allowing reading and parsing dlog.
Adds wait_for_tts command, which waits for given text to be
read by screen-reader.

Change-Id: Ie9ec90898c060926d2c4a8087e81c21c570bbdda

6 years agoFixes context change with invalid atspi root object 06/166506/30
Radoslaw Cybulski [Tue, 9 Jan 2018 16:06:03 +0000 (17:06 +0100)]
Fixes context change with invalid atspi root object

Fixes calculation of visible root object (at-spi object, that is root
of all visible at-spi objects).

Change-Id: Ie8e04f395a51b798b0712f036b95314a5a458acd

6 years agoSeveral race related fixes for batch mode 34/166334/35
Radoslaw Cybulski [Tue, 9 Jan 2018 11:33:47 +0000 (12:33 +0100)]
Several race related fixes for batch mode

Fixes race in batch mode, where main thread could cleanup before
batch mode thread, which resulted in crash.
Fixes race, where timer could fire after exception happened in batch
mode and cleanup was done, crashing an application.

Change-Id: I6b2dad49f3f154841bf5e436f23f0d5e796c9b3d

6 years agoEnables Back activity and Start home screen activity in batch mode 31/166331/32
Radoslaw Cybulski [Tue, 9 Jan 2018 10:11:28 +0000 (11:11 +0100)]
Enables Back activity and Start home screen activity in batch mode

Change-Id: I7b80e5a381c84cf4e5faf51340f1a69ff8056bb5

6 years agoAdds assert function in batch mode 30/166330/31
Radoslaw Cybulski [Mon, 8 Jan 2018 12:11:08 +0000 (13:11 +0100)]
Adds assert function in batch mode

Adds assert function, which expects boolean argument.
If the argument is false, then an exception is raised and
batch mode will end with failure.

Change-Id: Id7f6114623cdff0f1962099b3b79e96066be5bf6

6 years agoAdds point construction test in batch mode 95/165895/32
Radoslaw Cybulski [Thu, 4 Jan 2018 16:56:55 +0000 (17:56 +0100)]
Adds point construction test in batch mode

Change-Id: Ia915d749c669364e84029e2fe31a343b48ff6327

6 years agoMinor refactor of getters / setters in batch mode 94/165894/33
Radoslaw Cybulski [Thu, 4 Jan 2018 16:47:28 +0000 (17:47 +0100)]
Minor refactor of getters / setters in batch mode

Change-Id: I655a6207458597db07f85474a44501799dc2e887

6 years agoFixes for invalid operator () in UserFunctionType 93/165893/31
Radoslaw Cybulski [Thu, 4 Jan 2018 15:57:31 +0000 (16:57 +0100)]
Fixes for invalid operator () in UserFunctionType

Change-Id: I62192758216b11d0ba5ac364187b3732022e9a2e

6 years agoMinor refactor in batch test 92/165892/31
Radoslaw Cybulski [Thu, 4 Jan 2018 15:55:28 +0000 (16:55 +0100)]
Minor refactor in batch test

Adds code, that catches and prints exception, when executing
test of batch mode.

Change-Id: Ief383770d574ee9aa0337fd05d6806dff47d646c

6 years agoAdds print function to batch mode 91/165891/31
Radoslaw Cybulski [Thu, 4 Jan 2018 15:50:34 +0000 (16:50 +0100)]
Adds print function to batch mode

Adds print function, which will output string to output file, if any was
given.

Change-Id: Idaad9f5db57ab108bcf4ca2da9fde7263a0b95b0

6 years agoAdds wait_for_application function to batch mode 73/165873/31
Radoslaw Cybulski [Thu, 4 Jan 2018 11:38:36 +0000 (12:38 +0100)]
Adds wait_for_application function to batch mode

Adds wait_for_application function, which waits until current context's
root's name will be equal to one given as argument. After predefined
time (3 seconds) function will raise timeout exception and fail
execution.

Change-Id: I0b1b2b51a328cf4aa6310f93867a458194207fd8

6 years agoTerminate in nicer way, when batch mode failed to start at all 72/165872/30
Radoslaw Cybulski [Thu, 4 Jan 2018 11:37:14 +0000 (12:37 +0100)]
Terminate in nicer way, when batch mode failed to start at all

Updates initialization of batch mode to terminate Universal Switch in
more friendlier way (thus avoiding crash popup), when batch mode
startup failed. For example, when failed to create output file.

Change-Id: I440754dd08a655a5cd3844947817a9a359647a66

6 years agoRefactor of EvaluationValue class 47/165047/47
Radoslaw Cybulski [Fri, 22 Dec 2017 16:09:02 +0000 (17:09 +0100)]
Refactor of EvaluationValue class

Minor refactor of EvaluationValue class in preparation to switch to
std::variant.

Change-Id: I6aac2f1f1bc61c885da405e776464385eb4a5350

6 years agoAdds Monitor class for easier thread synchronization 97/164897/53
Radoslaw Cybulski [Thu, 21 Dec 2017 12:09:51 +0000 (13:09 +0100)]
Adds Monitor class for easier thread synchronization

Adds Monitor and ValueOrExceptionMonitor classes for easier
synchronization and value passing between threads.

Change-Id: Id8374cfc60857b234c1db15dd51a8f279b0fcf97

6 years agoWraps DBus / efl interactions in try / catch blocks 06/167606/2
Radoslaw Cybulski [Thu, 18 Jan 2018 13:58:46 +0000 (14:58 +0100)]
Wraps DBus / efl interactions in try / catch blocks

Adds try / catch statements around calls, which might leak exceptions
to efl, which doesn't support it (efl is written in C).
Exceptions will be changed to error states with message.

Change-Id: I8ff483b14d9df39b179874896aba9f93ec2df103

6 years agoAdds middle_point attribute in batch mode 62/164562/43
Radoslaw Cybulski [Tue, 19 Dec 2017 16:02:39 +0000 (17:02 +0100)]
Adds middle_point attribute in batch mode

Adds middle_point attribute to atspi object, which returns middle point
of object's current screen position. Information is not cached.

Change-Id: I0d41ce4ef882be1554dadbf77ddbb2f139020caa

6 years agoAdds name attribute to UIElement in batch mode 61/164561/43
Radoslaw Cybulski [Tue, 19 Dec 2017 16:00:33 +0000 (17:00 +0100)]
Adds name attribute to UIElement in batch mode

Adds name attribute, which returns atspi object's current name.

Change-Id: Ia69f5577b3393790e767bd479f5452887985ad83

6 years agoRegisters activities as callables in batch mode 60/164560/43
Radoslaw Cybulski [Tue, 19 Dec 2017 15:58:18 +0000 (16:58 +0100)]
Registers activities as callables in batch mode

Registers all activities, which override
getRequiredNumberOfArgumentsIfAllowedInTesting function to return
required number of arguments.

Change-Id: I59d63f14d7746ff3217a324088301917645edc52

6 years agoAdds support for adding getters / setters for attributes in batch mode 59/164559/42
Radoslaw Cybulski [Tue, 19 Dec 2017 15:56:16 +0000 (16:56 +0100)]
Adds support for adding getters / setters for attributes in batch mode

Change-Id: Ifa8eb9578b7b6d7df8eeb26c81d3ae3744ee81e8

6 years agoAdds find_by_name function in batch mode 58/164558/42
Radoslaw Cybulski [Tue, 19 Dec 2017 15:54:09 +0000 (16:54 +0100)]
Adds find_by_name function in batch mode

Change-Id: I339f47651f652f8d3a674ce383dba3b279914550

6 years agoAllows finding object by name in batch mode 57/164557/39
Radoslaw Cybulski [Tue, 19 Dec 2017 15:46:04 +0000 (16:46 +0100)]
Allows finding object by name in batch mode

Adds convertion from string to UIElement, which works by searching for
a atspi object with reqested name. Must be found only one or batch mode
will fail.

Change-Id: Ie09fc2370c59e24953cdfefbe6734f19d4864f04

6 years agoTestExecutor will now throw, when unknown variable has been requested 93/167593/1
Radoslaw Cybulski [Thu, 18 Jan 2018 10:20:13 +0000 (11:20 +0100)]
TestExecutor will now throw, when unknown variable has been requested

getVariableByName will throw unknown variable exception, when asked to
retrieve a variable it doesn't know.

Change-Id: Ia1f8859e929dd2034f1e5bca13189e009fac6cb2

6 years agoAdds support for finding object based by it's position in batch mode 56/164556/36
Radoslaw Cybulski [Tue, 19 Dec 2017 15:40:13 +0000 (16:40 +0100)]
Adds support for finding object based by it's position in batch mode

Adds ability to convert from position to at-spi object.
Adds get_at_point function.

Change-Id: I755a32c6bc6a703ed699dc1363b58701296588b7

6 years agoMakes atspi roles / states available for batch processing 55/164555/36
Radoslaw Cybulski [Tue, 19 Dec 2017 15:36:36 +0000 (16:36 +0100)]
Makes atspi roles / states available for batch processing

Change-Id: Idf5671cac6faf0ebf91d8624ac6fac316aba6af5

6 years agoAdds support for executing batch file given in command line 52/164552/34
Radoslaw Cybulski [Tue, 19 Dec 2017 15:02:53 +0000 (16:02 +0100)]
Adds support for executing batch file given in command line

Change-Id: If7322e67dc39687b6d3a6eea65d60f1557dc328f

6 years agoMinor refactor of NavigationInterface 51/164551/31
Radoslaw Cybulski [Tue, 19 Dec 2017 14:58:37 +0000 (15:58 +0100)]
Minor refactor of NavigationInterface

Adds methods to receive current context element and current visible
root atspi object.
Removes dependency on Window object to retrieve screen size -
constructing Window object in batch mode was causing constant
navigation context changes.

Change-Id: I37851c7aaa8a6267060f63937b59222131b67394

6 years agoAdds missing functions to Atspi 50/164550/28
Radoslaw Cybulski [Tue, 19 Dec 2017 14:53:31 +0000 (15:53 +0100)]
Adds missing functions to Atspi

States and roles setter in Atspi::Match will now accept template based
iterators begin and end.
Adds Atspi::getScreenPosition synchronous version.

Change-Id: I35a941dc7ab5caf10bf96a594892f6102c7df352

6 years agoDBus calls will now optionally call notification callback 49/164549/26
Radoslaw Cybulski [Tue, 19 Dec 2017 14:50:34 +0000 (15:50 +0100)]
DBus calls will now optionally call notification callback

Adds support for notification callbacks to DBus wrapper. Once set
it will be called, when DBus wrapper calls any dbus function or
received a call.

Change-Id: Idcb0b777167cfef606b0d7df379406b3896234cd

6 years agoActivites usable from batch must be now marked 48/164548/22
Radoslaw Cybulski [Tue, 19 Dec 2017 14:45:48 +0000 (15:45 +0100)]
Activites usable from batch must be now marked

Activities, that are suuposed to be callable from batch test, must
override getRequiredNumberOfArgumentsIfAllowedInTesting method
and return number of expected arguments.

Change-Id: Iffeb1b4ee7576a11bf260a47e98748f422f94786

6 years agoAdds support for in operator 46/164546/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:34:12 +0000 (15:34 +0100)]
Adds support for in operator

Adds support for in operator, which returns true, if value is in given
collection. Works with vectors, sets and dicts.

Change-Id: Ied91f37e7ad1857c977cdba19074230902fc114b

6 years agoAdds support for - single value operator (negation) 45/164545/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:30:46 +0000 (15:30 +0100)]
Adds support for - single value operator (negation)

Adds support for - operator, which allows creating negative values.
Works only integer and double.

Change-Id: I0fa06ce5982b59947e8b8cff969f2db01c809666

6 years agoAdds support for vector's / string's array set / get operators 44/164544/20
Radoslaw Cybulski [Tue, 19 Dec 2017 14:23:24 +0000 (15:23 +0100)]
Adds support for vector's / string's array set / get operators

Adds support for accessing elements by index in string / vector values.
Both single indexes and dual (range - first inclusive, second
exclusive) versions are supported. You can do v[1] to get first element
of v, v[-1] to get last element of v (negative indexes are counted from
the end) and v[1:3] to get array including first and second element,
but not third.

Change-Id: I622d1c22a30f708007f0e8d27b4d9f3d5eb51b63

6 years agoAdds support for executing parsed batch test 43/164543/19
Radoslaw Cybulski [Tue, 19 Dec 2017 13:38:51 +0000 (14:38 +0100)]
Adds support for executing parsed batch test

Change-Id: I59aa25a4142b1ed331db78a7136603ca8ea48973

6 years agoAdd parsing support for batch execution 42/164542/17
Radoslaw Cybulski [Tue, 19 Dec 2017 13:26:10 +0000 (14:26 +0100)]
Add parsing support for batch execution

Adds parser, which will parse tokens generated from lexing batch source
file. Parser will output execution tree, where every element executes
some atomic operation.

Change-Id: I028c1a49bc9513bfa836b146a9294d8b72fadf73

6 years agoAdd lexer support for batch execution 41/164541/15
Radoslaw Cybulski [Tue, 19 Dec 2017 13:12:01 +0000 (14:12 +0100)]
Add lexer support for batch execution

Adds lexer, which will lex (tokenize) batch file into tokens.

Change-Id: I2b76b12b9eafd6c135b3094b13f5156d97429ce5

6 years agoParsing arguments in main function 30/162630/20
Lukasz Wlazly [Tue, 19 Dec 2017 12:34:52 +0000 (13:34 +0100)]
Parsing arguments in main function

Adds support to parse arguments from command line in main function.
Argument passing will be used in test instrumentation.

Change-Id: I109442f16270879fb84313df08742d9a6002c54b

6 years agoAdded callback to notify, that activity and it's direct side effects are done 66/163866/8
Radoslaw Cybulski [Wed, 13 Dec 2017 18:02:33 +0000 (19:02 +0100)]
Added callback to notify, that activity and it's direct side effects are done

Added callback functionality to all activities to notify, that
activity and all it's direct side effects is done. Used mostly for
batch processing. Note, that activity might report it's done before all
side effects complete, for example in case of tapping an icon on
homescreen application might complete launching long after activity
will report being done.

Change-Id: I8bec969bfbfe26097605ff030a65ba2c660c6e9a

6 years agoFix for bug in get***Interface family functions. 56/165856/3
Radoslaw Cybulski [Thu, 4 Jan 2018 10:19:25 +0000 (11:19 +0100)]
Fix for bug in get***Interface family functions.

Change-Id: I397df51c9d375cb2e39fa72579ab1f7463c76a23

6 years agoPointScanner slight refactor 94/163494/2
Radoslaw Cybulski [Mon, 11 Dec 2017 14:06:34 +0000 (15:06 +0100)]
PointScanner slight refactor

Minor refactor of point scanner to publish get at point functionality
as stand-alone static function.

Change-Id: I9db6befc71ccaf5d672c1db398470dde20fa8525

6 years agoRotateActivity 89/162989/6
Pawel Kurowski [Wed, 6 Dec 2017 18:54:41 +0000 (19:54 +0100)]
RotateActivity

Change-Id: I3605d0a2be96ef9a30b44e41236beba17d2499c6

6 years agoSupport for many different icons for menu item. 38/162838/6
Pawel Kurowski [Tue, 5 Dec 2017 13:07:07 +0000 (14:07 +0100)]
Support for many different icons for menu item.

Change-Id: I34c812d0eb98f8893487ebba9b216b846163e60a

6 years agoSupport for landscape mode. 88/162988/4
Pawel Kurowski [Wed, 6 Dec 2017 18:16:03 +0000 (19:16 +0100)]
Support for landscape mode.

Change-Id: Ib16cc0b433631d199f22589d4669374e5a123eb9

6 years agoTouchHoldThenDragActivity & TouchAndHoldActivity 48/162648/7
Pawel Kurowski [Mon, 4 Dec 2017 18:35:47 +0000 (19:35 +0100)]
TouchHoldThenDragActivity & TouchAndHoldActivity

Minor fix of CancelActivity

Change-Id: I587727c8732ce035f08f3326499e06e81e3b24c6

6 years agoGtest library is installed only with tests package 05/163105/2
Lukasz Wlazly [Thu, 7 Dec 2017 07:51:06 +0000 (08:51 +0100)]
Gtest library is installed only with tests package

Change-Id: Iaefa40d72f06a0c5967503a5cf1f9de9312f73c2

6 years agoRemove line using elm_config_all_flush 30/162830/1
Shinwoo Kim [Tue, 5 Dec 2017 12:30:17 +0000 (21:30 +0900)]
Remove line using elm_config_all_flush

The elm_config_all_flush makes all running application have same config value.
This API should be called by setting application such as elementary_config.

Change-Id: Icbf7b5d2b99798c6ce2cf8e91b45251a57e68954

6 years agoDrag functionality 41/159241/13
Radoslaw Cybulski [Tue, 7 Nov 2017 13:38:47 +0000 (14:38 +0100)]
Drag functionality

Calls e-mod-screen-reader DispatchDragEvent DBUS function.

Requires patch https://review.tizen.org/gerrit/#/c/159676

Change-Id: Ibfbcbcee05621c1a0f7558e0acab8136317e08d5

6 years agoMove to left/right page using custom swipe. 16/161316/18
Pawel Kurowski [Wed, 22 Nov 2017 18:50:12 +0000 (19:50 +0100)]
Move to left/right page using custom swipe.

Change-Id: I853ce733009ffbafb9ccccea75a64c9bae3eb682

6 years agoAdd support for homescreen, and keyboard menu. 20/161820/3
Pawel Kurowski [Mon, 27 Nov 2017 15:21:08 +0000 (16:21 +0100)]
Add support for homescreen, and keyboard menu.

Change-Id: I268b906b82b56267e63f53a3b08805ddb36b3bdf

6 years agoKeyboard handling in row scanner 03/161503/21
Radoslaw Cybulski [Thu, 23 Nov 2017 17:05:11 +0000 (18:05 +0100)]
Keyboard handling in row scanner

Minor refactor for row scanner / point scanner and navigation subsystem.
Now navigable elements are put in tree, without further distinction between
rows and items. Every tree level has it's own scanning direction (horizontal
or vertical). New navigation allows easy merging different trees together,
for example embedding keyboard or running more, than one application on screen,

Change-Id: I29a30f44c4d0f3eee2aa49f05facff65787364dd

6 years agoSound (SoundFeedback) class refactor 83/161683/4
Pawel Kurowski [Fri, 24 Nov 2017 19:44:20 +0000 (20:44 +0100)]
Sound (SoundFeedback) class refactor

sound object will be released in passive mode.

Change-Id: I101cba28f0df5accd25cab669984f45fbe311bc9

6 years agoFix regresion in TextToSpeech 82/161682/2
Pawel Kurowski [Fri, 24 Nov 2017 17:15:57 +0000 (18:15 +0100)]
Fix regresion in TextToSpeech

Change-Id: I884c2ff6dce0f7ad1ac6169c738e2c4ca31d1cc2

6 years agoRemove eldbus.hpp and refactor all it's uses 21/160921/1
Radoslaw Cybulski [Mon, 20 Nov 2017 16:36:59 +0000 (17:36 +0100)]
Remove eldbus.hpp and refactor all it's uses

All previous uses of eldbus.hpp functionality has been rewritten
to use new DBus.hpp wrapper.

Change-Id: I9a8457f7ba131cb382bf8c2f107dba9fb7a5d13c

6 years agoRowScanner ereses frame as soon as scanning is completed. 48/159548/4
Pawel Kurowski [Thu, 9 Nov 2017 14:35:31 +0000 (15:35 +0100)]
RowScanner ereses frame as soon as scanning is completed.

Minor fix: removed unnecessary sound feedback in RowScanner

Change-Id: I4e5d63bb8e9f8977f9cf36b0977c60b57a6351e7

6 years agoUniversal Switch will stay in passive mode when screen is turned off 92/160692/7
Pawel Kurowski [Fri, 17 Nov 2017 14:00:14 +0000 (15:00 +0100)]
Universal Switch will stay in passive mode when screen is turned off

Change-Id: I4415574ac73a98267d851d0c054dd0d5613b1727

6 years agoAdd project name to doxygen 15/160715/2
Paweł Stawicki [Fri, 17 Nov 2017 14:59:11 +0000 (15:59 +0100)]
Add project name to doxygen

Change-Id: I170ac777c9203a9a23710ec112d0a872c1f55624

6 years agoDocumentation for Atspi wrapper, minor refactor of Atspi.hpp 75/160675/4
Radoslaw Cybulski [Fri, 17 Nov 2017 11:18:42 +0000 (12:18 +0100)]
Documentation for Atspi wrapper, minor refactor of Atspi.hpp

Change-Id: I88a8e3439c5e6d2d0aaf50f16d3d511a979f23d9

6 years agoAdd examples to VConfInterface documentation 89/160689/2
Paweł Stawicki [Fri, 17 Nov 2017 13:25:34 +0000 (14:25 +0100)]
Add examples to VConfInterface documentation

Change-Id: I6d9dd00a0b4100ed1af562ed82cebfacd99267e2

6 years agoAdd documentation for Optional class 18/160518/2
Radoslaw Cybulski [Thu, 16 Nov 2017 11:52:26 +0000 (12:52 +0100)]
Add documentation for Optional class

Change-Id: I3b651d9b161a4d1deabcb630b78d9e1c9f4fe9e8

6 years agoAdd documentation for DBus namespace and all functionality 36/160536/6
Radoslaw Cybulski [Thu, 16 Nov 2017 15:45:25 +0000 (16:45 +0100)]
Add documentation for DBus namespace and all functionality

Change-Id: If0d9262bde31c90fac8063c22869e45eb0fcfe9a

6 years agoAdd documentation for scanners 09/153009/12
Mariusz Wachowicz [Wed, 27 Sep 2017 08:58:11 +0000 (10:58 +0200)]
Add documentation for scanners

Change-Id: I3912df2d834c592d6286b5b0c19d86dbcf7a7f25

6 years agoAlways on display 44/160344/7
Pawel Kurowski [Wed, 15 Nov 2017 12:14:26 +0000 (13:14 +0100)]
Always on display

Screen won't be dimmed when Universal Switch window exist.

Asumption:
Window Manager handles EFL_UTIL_SCREEN_MODE_ALWAYS_ON properly

Change-Id: I5de38f8e9a194b847a183979a170ad8bf6e7f1a9

6 years agoAdd ChangeVolumeActivity template, and fix AppControlActivity 42/160142/14
Pawel Kurowski [Tue, 14 Nov 2017 14:03:09 +0000 (15:03 +0100)]
Add ChangeVolumeActivity template, and fix AppControlActivity

remove static_cast to DerivedType in AppControlActivity template

Using template allows to delete RETURN_DEFAULT_SOUND_TYPE_ON_ERROR macro

Change-Id: Icc4b8b184345da9c4dbbd271cb6f303be55f062e

6 years agoCommon macros definitions in utils.hpp 41/160141/9
Pawel Kurowski [Tue, 14 Nov 2017 13:43:07 +0000 (14:43 +0100)]
Common macros definitions in utils.hpp

PRINT_ERROR_IF
RETURN_IF
RETURN_DEFAULT_IF

Change-Id: Ibd904bd39d2d900e00c0b0b9f6264148d346a948

6 years agoAtspi: change EXIT_IF_NULLPTR to RETURN_EMPTY_ON_NULLPTR 11/160111/3
Shinwoo Kim [Tue, 14 Nov 2017 11:25:05 +0000 (20:25 +0900)]
Atspi: change EXIT_IF_NULLPTR to RETURN_EMPTY_ON_NULLPTR

There is a RETURN_ON_NULLPTR macro, so RETURN_EMPTY_ON_NULLPTR would be better
than EXIT_IF_NULLPTR. This kind of macro should be located separated part.

Change-Id: Ied5620f3c75f928aa7c5b97085813bed8541aabd

6 years agoFlora licence changed into Apache-2.0 licence 32/160332/2
Lukasz Wlazly [Wed, 15 Nov 2017 10:54:26 +0000 (11:54 +0100)]
Flora licence changed into Apache-2.0 licence

Licence was placed in every header file

Change-Id: I3f48e9738f2d44406283b3bcacd61430caf95346

6 years agoChangeScanningDirectionActivity 98/159698/6
Pawel Kurowski [Fri, 10 Nov 2017 19:08:56 +0000 (20:08 +0100)]
ChangeScanningDirectionActivity

Change-Id: If9d4424d0e82b7732ac618849dc708736c6ad393

6 years agoRemove unused methods 30/160030/4
Lukasz Wlazly [Tue, 14 Nov 2017 07:29:28 +0000 (08:29 +0100)]
Remove unused methods

Change-Id: Ied233d41931183fdbc35dcccb00ac0c420e9a905

6 years agoFix in licence text 39/160039/2
Lukasz Wlazly [Tue, 14 Nov 2017 08:06:17 +0000 (09:06 +0100)]
Fix in licence text

Change-Id: I1eac948fdd969535b1e8ae9c22a67411158cd468

6 years agoSelection mode in Editing text 81/159681/2
Pawel Kurowski [Fri, 10 Nov 2017 11:56:13 +0000 (12:56 +0100)]
Selection mode in Editing text

Change-Id: I578b76666fa51e6ea89cebcc10bb2cebdba63076

6 years agoNextGranularityUnitActivity & PrevGranularityUnitActivity 10/159510/6
Pawel Kurowski [Thu, 9 Nov 2017 09:59:00 +0000 (10:59 +0100)]
NextGranularityUnitActivity & PrevGranularityUnitActivity

Change-Id: I43875cf5d7f4f96d6af2b20289e09b2dad47d566

6 years ago[FIX] Scroll Activities are not bindable 47/159547/1
Pawel Kurowski [Thu, 9 Nov 2017 14:20:57 +0000 (15:20 +0100)]
[FIX] Scroll Activities are not bindable

Change-Id: Ib7d6f83b16fa44eba79b0bf615e528b8493058f8

6 years agoMenu gestures divided into scrollable, and non scrollable versions. 82/158882/4
Pawel Kurowski [Fri, 3 Nov 2017 17:04:59 +0000 (18:04 +0100)]
Menu gestures divided into scrollable, and non scrollable versions.

Change-Id: I8768534f180ef7df0e4fdb1abe46e143989074ce