profile/mobile/apps/native/clock.git
4 years agoResolved App Launch issue for IoT profile 11/224611/4 tizen tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_8.0 submit/tizen/20200219.092401 submit/tizen_6.0/20201029.205504 submit/tizen_6.0_hotfix/20201102.192904 submit/tizen_6.0_hotfix/20201103.115104 submit/tizen_6.5/20211028.164201 submit/tizen_6.5/20211029.123901 tizen_6.0_src.m2_release tizen_6.5_src.m2_release tizen_8.0_m2_release
allu.k [Wed, 12 Feb 2020 03:25:10 +0000 (08:55 +0530)]
Resolved App Launch issue for IoT profile
and build error on Tizen-studio

Change-Id: Ic0d24c2babf413b4c0e6913a0a337180f6a48a24

6 years agoRevert "fix build break due to ABI break in EFL 1.20" 49/183549/1 tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_wearable_hotfix submit/tizen/20180706.102639 submit/tizen/20200205.120137 submit/tizen_5.0/20181101.000008 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185109 submit/tizen_5.5_mobile_hotfix/20201125.191001 submit/tizen_5.5_mobile_hotfix/20201126.134001 submit/tizen_5.5_mobile_hotfix/20201126.140801 submit/tizen_5.5_wearable_hotfix/20201026.184309 tizen_5.5_src.m2_release
Lukasz Stanislawski [Fri, 6 Jul 2018 08:53:32 +0000 (10:53 +0200)]
Revert "fix build break due to ABI break in EFL 1.20"

This reverts commit 0756b32486a0f6e668944b06d8184fb1fe739212.

The ABI break which was fixed in 0756b32486a0f6e668944b06d8184fb1fe739212
was eventually revered by EFL team.

Change-Id: I0508f92aec59c5d75017528ddd235f67a26981b9

6 years agofix build break due to ABI break in EFL 1.20 45/177645/1 submit/tizen/20180502.124439 submit/tizen/20180502.143030
Lukasz Stanislawski [Wed, 2 May 2018 10:14:04 +0000 (12:14 +0200)]
fix build break due to ABI break in EFL 1.20

The homogenous field in Elm_Gen_Item_Class has been
moved to the end of the structure.

Change-Id: Ie471fa6feac10fddf36426eb75bb80bd190b98ed

6 years agofix build break after EFL upgrade to 1.20 44/177644/1
Lukasz Stanislawski [Wed, 2 May 2018 10:13:25 +0000 (12:13 +0200)]
fix build break after EFL upgrade to 1.20

The Efl_Datetime_Time struct is not available anymore, it
was replaced by Efl_Time struct.

Change-Id: I8500190df618a093fbbf1a6e2e7efad5ec803465

6 years agoAlarmListPresenter: refactor map usage 23/161623/2
Lukasz Stanislawski [Fri, 24 Nov 2017 10:17:39 +0000 (11:17 +0100)]
AlarmListPresenter: refactor map usage

Add two separate function to avoid code duplication.

Change-Id: I865683d5c91d7363d23dacaacf0ce4dc6c0640f6

6 years agouse functions instead of RingTimeout and RingNewAlarm events 01/161601/2
Lukasz Stanislawski [Fri, 24 Nov 2017 08:18:36 +0000 (09:18 +0100)]
use functions instead of RingTimeout and RingNewAlarm events

Add two methods to RingPresenter which are called by RingController.

Change-Id: If0ae0f925f920dde00b230efc295a61b54326c52

6 years agoUse explicit navigation functions instead of events 00/161600/3
Lukasz Stanislawski [Fri, 24 Nov 2017 07:11:51 +0000 (08:11 +0100)]
Use explicit navigation functions instead of events

Change-Id: Ib629f0934acaf84c1d82235c757ab00ba1217108

6 years ago[MainController] Initialize properties with nullptr 24/160524/1
Kamil Lipiszko [Thu, 16 Nov 2017 12:39:09 +0000 (13:39 +0100)]
[MainController] Initialize properties with nullptr

SVACE warning fix

Change-Id: I760177736c5c07c95f5eb952bb1d223d9048049a

7 years agoUnify Presenter constructors 27/158727/4
Lukasz Stanislawski [Thu, 2 Nov 2017 15:53:43 +0000 (16:53 +0100)]
Unify Presenter constructors

Unify parameters types and their order. Rename some fields for
better readability.

Change-Id: Icbe3f394d78368e38619a54ebdf504695bea5ca3

7 years agotime: Fix Difference function 25/158725/1
Lukasz Stanislawski [Thu, 2 Nov 2017 14:33:08 +0000 (15:33 +0100)]
time: Fix Difference function

Change-Id: I328176dfebcd96c43ced79747c5a11f8078fb67d

7 years agoClock: handle APP_CONTROL_OPERATION_MAIN 24/158724/1
Lukasz Stanislawski [Thu, 2 Nov 2017 12:38:50 +0000 (13:38 +0100)]
Clock: handle APP_CONTROL_OPERATION_MAIN

Change-Id: I0a9c57287a0cdc15e9c7c408fa023810d51bbf1b

7 years agoDo not show clock main UI on alarm trigger 87/158387/2
Lukasz Stanislawski [Tue, 31 Oct 2017 12:02:33 +0000 (13:02 +0100)]
Do not show clock main UI on alarm trigger

When alarm was triggered clock shows RingView and additionaly
creates MainView that was displayed under RingView.

This patch removes creation of MainView in situations other then
clicking on Clock icon on homescreen.

Change-Id: Ib75e569c0920a8b860042ff9cc5f950ea0542d33

7 years agoTime: change internal time representation 33/146433/2
Lukasz Stanislawski [Mon, 28 Aug 2017 11:04:52 +0000 (13:04 +0200)]
Time: change internal time representation

Change internal time reperesentation from double to uint64_t.
The double type was chosen to be compatilbe with i18n library.
However, Clock use case requires frequent comprarisons of times up
to millisecond precision, which requires expensive floating point
operations to be made.

Change-Id: Ifdaa27f2c5c9675109fadabfe64705575f1ce3e8

7 years ago[TimerView] Disable menu buttons while ringing 79/158279/2
Kamil Lipiszko [Mon, 30 Oct 2017 15:37:51 +0000 (16:37 +0100)]
[TimerView] Disable menu buttons while ringing

Disables menu buttons when ring view is visible to prevent setting
another timer's alarm while current is still ringing.

Change-Id: I976625b05a25f35a23a4cfcf297002279a56105d

7 years ago[RingView] Ring view crash fix 60/158260/1
Kamil Lipiszko [Mon, 30 Oct 2017 12:43:19 +0000 (13:43 +0100)]
[RingView] Ring view crash fix

Commit fixes ring view crash when timer's ring is already ringing
and meanwhile another one shows up.

Change-Id: I5cc0859bc015b03abfe6fb4bb6f5ca1c9cea11c2

7 years ago[Timer] Remove overriding Counter class methods 62/158062/2
Kamil Lipiszko [Fri, 27 Oct 2017 12:16:21 +0000 (14:16 +0200)]
[Timer] Remove overriding Counter class methods

Replaces all private time properties with duration provided by
parent Counter class.

Change-Id: Ib5f2e1a880796a9d769246ce8e3504d7097dca59

7 years agoFix CPPTest issues 07/157807/2
Lukasz Stanislawski [Thu, 26 Oct 2017 09:04:17 +0000 (11:04 +0200)]
Fix CPPTest issues

Change-Id: Id7087449417c9d1dd9c2c45890dbb32d67f400fc

7 years agoFix SVACE issues. 29/157629/3
Lukasz Stanislawski [Wed, 25 Oct 2017 10:55:34 +0000 (12:55 +0200)]
Fix SVACE issues.

Change-Id: I263962f81677cfea40130a6d4dad54a362f57cd3

7 years agoMainView: Fix possible null-pointer dereference 19/157619/1
Lukasz Stanislawski [Wed, 25 Oct 2017 09:56:33 +0000 (11:56 +0200)]
MainView: Fix possible null-pointer dereference

Fix issue spotted by SVACE analysis.
Simplify code by applying small refactoring that will additionally
handle possible null-pointer dereference.

Change-Id: I5d0b871f1e2ee8acba6b7819c781a49b7ad00f7b

7 years ago[Refactor] Coding rule fixes 01/149501/1
Kamil Lipiszko [Tue, 12 Sep 2017 09:48:15 +0000 (11:48 +0200)]
[Refactor] Coding rule fixes

Change-Id: Iff9fd2e469bb08bb471351694fc7574a1bab89c5

7 years ago[EditAlarmView] Update date on user time change 44/145944/10 submit/tizen/20170825.140154 submit/tizen/20170912.085229
Kamil Lipiszko [Thu, 24 Aug 2017 08:18:10 +0000 (10:18 +0200)]
[EditAlarmView] Update date on user time change

This patch validates time set in datetime widget. If set time already
passed and date is not valid anymore, it changes to the nearest upcoming
hour.

Change-Id: Ic02e64f6303426b85c651173a3103618e476c6ea

7 years agoTime: change compare operation behaviour 41/145741/2
Lukasz Stanislawski [Wed, 23 Aug 2017 12:07:52 +0000 (14:07 +0200)]
Time: change compare operation behaviour

Now compare with millisecond precision
Additionally fix bug with setting millisecond value in Time constructor

Change-Id: If8503f4b2291ce161f775ea5903f5d0adf31aa38

7 years ago[EditAlarmView] Disable items if needed on view creation 76/143576/1 submit/tizen/20170811.114751
Kamil Lipiszko [Thu, 10 Aug 2017 11:12:05 +0000 (13:12 +0200)]
[EditAlarmView] Disable items if needed on view creation

Currently if alarm's type is set to vibrate only and it is clicked
for editing, genlist items that should be disabled aren't. This
patch fixes this issue.

Change-Id: Ibf1f0d9b40863279c728fdfc80f6dbb25ae5ed85

7 years ago[Ring] Play feedback and sound as it is set in alarm 61/143561/2
Kamil Lipiszko [Thu, 10 Aug 2017 10:09:36 +0000 (12:09 +0200)]
[Ring] Play feedback and sound as it is set in alarm

Currently alarm plays sound and vibrates even if it was not set
in edit/create alarm view. This patch fixes this issue.

Change-Id: Ie2f919084a87c062144b61776db0d25255e6542d

7 years ago[EditAlarmView] Dim volume item icon on vibration only 28/143528/2
Kamil Lipiszko [Thu, 10 Aug 2017 08:30:41 +0000 (10:30 +0200)]
[EditAlarmView] Dim volume item icon on vibration only

Change-Id: I01dd5f0c369878b61cb37a808eae0510c4d85a4f

7 years ago[WorldClock] Show select all checkbox on delete view 20/143520/1
Kamil Lipiszko [Thu, 10 Aug 2017 07:48:52 +0000 (09:48 +0200)]
[WorldClock] Show select all checkbox on delete view

This patch fixes displaying issue of switch in detele city list item.
Additionally aligns switch widget in delete alarm and city item so it is
in the same line as select all switch.

Change-Id: Idebf862dc257b8cdcac42b3863e1ff437fe0b930

7 years ago[Edje] Add sound effect on custom buttons click 64/142764/1 submit/tizen/20170807.080914
Kamil Lipiszko [Mon, 7 Aug 2017 07:57:23 +0000 (09:57 +0200)]
[Edje] Add sound effect on custom buttons click

Change-Id: Id86efc67ff302ea39dd777d7af1f007a68c66eb5

7 years ago[AlarmListView] Date picker feature. 06/142106/8 submit/tizen/20170807.062126 submit/tizen/20170807.062634
Kamil Lipiszko [Wed, 2 Aug 2017 12:16:28 +0000 (14:16 +0200)]
[AlarmListView] Date picker feature.

Enable to create alarm that is called only once at the selected date.

Change-Id: I24358e8b8d8bd2729deba1475569e4766aa319bf

7 years agoUpdate translations for new "DatePicker" feature 54/141254/1
Lukasz Stanislawski [Sat, 29 Jul 2017 07:32:11 +0000 (09:32 +0200)]
Update translations for new "DatePicker" feature

Change-Id: Ief105d296bed8311ae4dd678b721e64a315e257e

7 years agoDeleteAlarmView: fix double click issue 34/141134/5
Lukasz Stanislawski [Fri, 28 Jul 2017 08:02:17 +0000 (10:02 +0200)]
DeleteAlarmView: fix double click issue

Change-Id: I02ce0497fc43e31d85eaf97acfa8d58944a974a6

7 years agoAlarmListView: update item properly 15/141115/3
Lukasz Stanislawski [Fri, 28 Jul 2017 07:31:52 +0000 (09:31 +0200)]
AlarmListView: update item properly

Change-Id: Ice0b8bd3b6996af6e8fe9c2181f5de3bc3c4c878

7 years agoAlarmView,WeekFlagsView: use locale settings for ordering 24/141024/3
Lukasz Stanislawski [Thu, 27 Jul 2017 14:52:28 +0000 (16:52 +0200)]
AlarmView,WeekFlagsView: use locale settings for ordering

Use SystemSettings::GetFirstDayOfWeek to implement proper order
of WeekFlags which depends on platforms locale settings.

Change-Id: I9b20c1f687419e52c9ef3dac18f200f2d384cf9a

7 years agoSystemSettings: add FirstDayOfWeek attribute 20/141020/3
Lukasz Stanislawski [Thu, 27 Jul 2017 13:58:30 +0000 (15:58 +0200)]
SystemSettings: add FirstDayOfWeek attribute

FirstDayOfWeek will be used to implement sorting of week flags
on alarm list page and week flags edition page.

Change-Id: I2f263d60ef537f844d22677723396b648cb42ec3

7 years agoAlarmListView: show yellow button when snoozed 72/140972/2
Lukasz Stanislawski [Sun, 23 Jul 2017 11:00:07 +0000 (13:00 +0200)]
AlarmListView: show yellow button when snoozed

Add notifications of state changes for Alarm objects.

Change-Id: I3156261944de2b220c37541feb2831b422dcab7c

7 years ago[TimerView] Timer align fix 84/140784/2
Kamil Lipiszko [Wed, 26 Jul 2017 09:08:06 +0000 (11:08 +0200)]
[TimerView] Timer align fix

In GUI there is no padding between main view and buttons background
anymore so it might be removed. Now the counter is aligned center.

Change-Id: Id8807739d5d268341fa81c1d327516f202305336

7 years ago[WorldClockMap] Change timezone area color. 24/140524/2
Kamil Lipiszko [Tue, 25 Jul 2017 08:16:58 +0000 (10:16 +0200)]
[WorldClockMap] Change timezone area color.

Change-Id: I22d9b44ea88b3959cf934878cb758492242fb0cb

7 years ago[AlarmListView] Properly align ampm label 40/140340/2
Kamil Lipiszko [Mon, 24 Jul 2017 14:23:36 +0000 (16:23 +0200)]
[AlarmListView] Properly align ampm label

Change-Id: I160a975d61673ede6333cbcf6c570e233f31c33b

7 years ago[AlarmListView] Repeat icon alignment fix. 38/140338/1
Kamil Lipiszko [Mon, 24 Jul 2017 13:49:33 +0000 (15:49 +0200)]
[AlarmListView] Repeat icon alignment fix.

Due to GUI guideline repeat icon should be aligned bottom.

Change-Id: I42ba9ac7a4047cfd7d9ac90709b8d72d788c7c84

7 years agoWorldClock: adjust map button colors 41/140241/1
Lukasz Stanislawski [Sun, 23 Jul 2017 09:32:45 +0000 (11:32 +0200)]
WorldClock: adjust map button colors

Change-Id: I5d048e8dde12b71da4d9b7e8079482dbb1ac1748

7 years agoadjust used colors to match new guideline 39/140239/1
Lukasz Stanislawski [Sun, 23 Jul 2017 09:22:26 +0000 (11:22 +0200)]
adjust used colors to match new guideline

Change-Id: Ia27e6fe35b3ce4da6400047d90d2475c140667c9

7 years agoEditAlarmView: update icons 35/140235/1
Lukasz Stanislawski [Sun, 23 Jul 2017 08:37:13 +0000 (10:37 +0200)]
EditAlarmView: update icons

Change-Id: I208aec6b544d6c80d38f6f88b35319e249d98d69

7 years agoAlarm: fix item list appearance 34/140234/1
Lukasz Stanislawski [Sun, 23 Jul 2017 08:20:34 +0000 (10:20 +0200)]
Alarm: fix item list appearance

Change position of am/pm label. Adjust fonts to match new guide.
Use system-defined style for "select all" item.

Change-Id: I51e1db323729624853a0c17fc04bdf9048b49f75

7 years agoAlarm: change font size 32/140232/1
Lukasz Stanislawski [Fri, 21 Jul 2017 14:14:37 +0000 (16:14 +0200)]
Alarm: change font size

Change-Id: Ia0fee12f89d1c65b22d02679e00fda316479a5fc

7 years agoEditAlarmView: allow change snooze on item click 31/140231/1
Lukasz Stanislawski [Fri, 21 Jul 2017 13:38:34 +0000 (15:38 +0200)]
EditAlarmView: allow change snooze on item click

Clicking on "snooze" item did not change value of snooze.
Path adds handling of item clicking and additionally
removed double-click sound issue which happened on clicking
snooze radio button.

Change-Id: I45b3582cd7bc7163a9eb55ed388ae744ea5533a6

7 years agoWorldclock: add ellipsis support 28/140228/1
Lukasz Stanislawski [Fri, 21 Jul 2017 13:17:19 +0000 (15:17 +0200)]
Worldclock: add ellipsis support

Change-Id: I1fd5da1f789cc4e5a60eb6cb8810e9d8869f6587

7 years agoAlarm: expand week text 26/140226/1
Lukasz Stanislawski [Fri, 21 Jul 2017 13:07:42 +0000 (15:07 +0200)]
Alarm: expand week text

The Tizen do not provide expanded fonts, so spread text
by adding space between letters. Additionally change colors
to fit guideline.

Change-Id: I6648decf5b521b608f43cace8e0e79c3116e2a8c

7 years agoDeleteAlarmPresenter: change sort order 23/140223/1
Lukasz Stanislawski [Thu, 20 Jul 2017 17:56:34 +0000 (19:56 +0200)]
DeleteAlarmPresenter: change sort order

Change-Id: I4f206266432884601060ba6d0d6fa2ac725db31e

7 years agoDeleteAlarmView: clean up selection logic 22/140222/1
Lukasz Stanislawski [Thu, 20 Jul 2017 16:06:45 +0000 (18:06 +0200)]
DeleteAlarmView: clean up selection logic

Make checkboxes not focusable as it may trigger genlist auto
scroll.

Change-Id: I7de64129b1be85d5b96e4c6542ce52ffaca6e134

7 years agoAlarmListView: do not recreate nocontent layout 21/140221/1
Lukasz Stanislawski [Thu, 20 Jul 2017 15:45:59 +0000 (17:45 +0200)]
AlarmListView: do not recreate nocontent layout

Change-Id: Id145b63f0b074856fe66f0e3fc63135827e81ae7

7 years agoWorldClock: user default "nocontents" layout 20/140220/1
Lukasz Stanislawski [Thu, 20 Jul 2017 15:28:55 +0000 (17:28 +0200)]
WorldClock: user default "nocontents" layout

WorlcClock was using application defined layout theme
for displaying "no content" information to user.
Tizen default theme provides one by default, so use
it instead custom one.

Change-Id: Iec1e1cf6897213a41309ef0876721cd6fcafd31a

7 years agoAlarmListView: use default "nocontents" layout 18/140218/1
Lukasz Stanislawski [Thu, 20 Jul 2017 14:19:22 +0000 (16:19 +0200)]
AlarmListView: use default "nocontents" layout

AlarmListView was using application defined layout theme
for displaying "no content" information to user.
Tizen default theme provides one by default, so use
it instead custom one.

Change-Id: Ib5a8ded92e6f8c5958334b3792a9b75943a45ad9

7 years agorename AlarmView and AlarmPresnter classes 05/140205/1
Lukasz Stanislawski [Thu, 20 Jul 2017 13:00:36 +0000 (15:00 +0200)]
rename AlarmView and AlarmPresnter classes

Those names should describe more the class purpose.
In both cases classes are managing list of alarms, so
new names will be:

AlarmView -> AlarmListView
AlarmPresenter -> AlarmListPresenter

Change-Id: Idedb0e496c96e6b58a397cbbf697f39fc22c1939

7 years agoworldclock: fix linking issue with malloc 92/138192/2 submit/tizen/20170717.135244
Lukasz Stanislawski [Tue, 11 Jul 2017 10:48:45 +0000 (12:48 +0200)]
worldclock: fix linking issue with malloc

The Worldclock was using 'malloc' to construct Edje_Message_Int_Set struct.
This leads to problems on Tizen SDK 4.0 build, when during linking
'malloc' symbol was resolved not from glibc, but from libchromium-ewk.so.

This lead to crash when trying to use chromium's malloc.

Due to way how SDK build system works, I cannot remove libchromium from link options.
Instead I removed all usage of malloc in code.

Additionally add static to internal function

Change-Id: I87d188b959dfdedd175986ac102b46db062964a9

7 years agofix build warnings 91/138191/1
Lukasz Stanislawski [Tue, 11 Jul 2017 07:20:24 +0000 (09:20 +0200)]
fix build warnings

Change-Id: Ic90e7ee75ea4dadab5268c3529c8d37cfcbeafc2

7 years agoconvert project to Tizen 4.0 90/138190/1
Lukasz Stanislawski [Tue, 11 Jul 2017 07:16:41 +0000 (09:16 +0200)]
convert project to Tizen 4.0

Change-Id: Ida320bfa2c9a532d2236a46039c2dabaca45895f

7 years agoUtils: perform additional null check 85/132685/1
Lukasz Stanislawski [Wed, 7 Jun 2017 06:41:40 +0000 (08:41 +0200)]
Utils: perform additional null check

Perform additional null check, since app_get_* methods may
return null.
Issue was spotted by using fault sanitizer tool.

Change-Id: I61f4e2ad1544d2d9db3ddd04b581dd001dd5950b

7 years ago[WorldClockMap] Recalculate map shadow 18/128318/3 submit/tizen/20170511.090426 submit/tizen/20170512.063522 submit/tizen/20170607.055817 submit/tizen_4.0/20170811.094300 tizen_4.0.m1_release
Kamil Lipiszko [Mon, 8 May 2017 14:30:49 +0000 (16:30 +0200)]
[WorldClockMap] Recalculate map shadow

Whenever scroller's size changes, the shadow should be recalculated
to the new scroller size. Earlier at the beginning if scroller's
width was smaller than real size of the view, the line and shadow
were blured and couldn't be recalculated until next day.

Change-Id: I668476e8fb837187d078292b75480b0d4334f95e

7 years ago[MainController] Create not visible pages in idle state. 55/128355/3
Kamil Lipiszko [Tue, 9 May 2017 11:06:45 +0000 (13:06 +0200)]
[MainController] Create not visible pages in idle state.

Create pages that are not visible at launch in idle state
or on user's toolbar item click.

Change-Id: I21f4fbcbdb76c7f82bf2a138b790b65b45b1377d

7 years agoMerge "add LICENSE_BSD" into tizen
YoungHun Cho [Thu, 11 May 2017 07:12:54 +0000 (07:12 +0000)]
Merge "add LICENSE_BSD" into tizen

7 years agoadd LICENSE_BSD 27/128727/1
YoungHun Cho [Thu, 11 May 2017 07:10:39 +0000 (16:10 +0900)]
add LICENSE_BSD

Change-Id: Iac0b06abff7313e45427774e914a75c02ccc20f4

7 years ago[ReorderView] Item reorder bug fix 21/128521/1
Kamil Lipiszko [Wed, 10 May 2017 08:56:37 +0000 (10:56 +0200)]
[ReorderView] Item reorder bug fix

[OAPRNA-142] Elementary on item update removes it and creates new
one. Because of that geastures on item's image were setting reorder
status wrong and making item hang over the genlist because of avoided
mouse,down event. This patch fixes this both issues disabling item
updates during reorder.

Change-Id: I4f7d89b38794db0428046b6a244236d510f2f009

7 years ago[Notifier] Initialize notifier in idle state 54/127454/4
Kamil Lipiszko [Thu, 27 Apr 2017 09:16:09 +0000 (11:16 +0200)]
[Notifier] Initialize notifier in idle state

The creation of the app due to moving notifier's
initialization into the idle state makes it up to
400 ms less to finish.

Change-Id: I8773e9f43e6d3b5df27fd2fd99164ddb9bb19978

7 years agoutils: remove deprecated function 70/127670/1
Lukasz Stanislawski [Fri, 28 Apr 2017 08:13:03 +0000 (10:13 +0200)]
utils: remove deprecated function

Change-Id: I62f86cbd0ebf0a06c10cf0d44f3f97018dbeb5d1

7 years agolicense fix 12/127512/1
Lukasz Stanislawski [Thu, 27 Apr 2017 13:35:15 +0000 (15:35 +0200)]
license fix

Change-Id: I4cf5f4450995f58c2f98a1518a326b8e81994154

7 years agoWorldclock: add location exists popup translations. 93/126993/1 submit/tizen/20170427.095058
Lukasz Stanislawski [Tue, 25 Apr 2017 12:38:51 +0000 (14:38 +0200)]
Worldclock: add location exists popup translations.

Change translation according to UI designer comments.
Translations updated.

Change-Id: I185fbbe62be778a91ec80facae93c34ad0de389b

7 years ago[Ring] Repeat vibration on ringing. 79/126679/3
Kamil Lipiszko [Mon, 24 Apr 2017 14:39:11 +0000 (16:39 +0200)]
[Ring] Repeat vibration on ringing.

Make loop that repeats vibration during alarm ring, however in
my opinion this should be supported by feedback library as it is
in player where the loop is set with player_set_loop and the
external app solves the sound length and its repeating period.
Right now the loop repeats every 2.5 sec.

Change-Id: I45c3feb004721e17df9d44afeaf98d9e111f4bd9

7 years ago[edc] Fix edc runtime errors. 70/126670/1
Kamil Lipiszko [Mon, 24 Apr 2017 14:14:58 +0000 (16:14 +0200)]
[edc] Fix edc runtime errors.

Fix misspelling and missing description that caused showing up
errors. Replaced ":" with "." in lap time counter.

Change-Id: I057ad31907c881676a048879a02f23f9ed91ed1f

7 years ago[edc] Fix missing elipsis warnings 68/126668/1
Kamil Lipiszko [Mon, 24 Apr 2017 13:49:13 +0000 (15:49 +0200)]
[edc] Fix missing elipsis warnings

This patch removes warnings related with missing elipsis: -1; value
set in edc files during building process.

Change-Id: I2b5ce911852f6d4ea75e2d6f2ac024f9a69a348f

7 years agoMerge "WorldClock: add menu translation" into tizen
Kamil Lipiszko [Fri, 21 Apr 2017 13:25:35 +0000 (06:25 -0700)]
Merge "WorldClock: add menu translation" into tizen

7 years ago[Utils] Create SystemSettings class 51/126151/4
Kamil Lipiszko [Thu, 20 Apr 2017 08:37:46 +0000 (10:37 +0200)]
[Utils] Create SystemSettings class

SystemSettings class handles incoming changes in system such as
prefered time change or language change and fires events on
above appearance.

Change-Id: I8d0742dfa03fa7e11c9b738fae65487394deba2d

7 years agoWorldClock: add menu translation 64/125964/1
Lukasz Stanislawski [Wed, 19 Apr 2017 07:52:47 +0000 (09:52 +0200)]
WorldClock: add menu translation

Change-Id: Ieb273628e476dbd2b97fb27ae4038cdce3f140b7

7 years agoShow 'repeat' icon in alarm 86/123886/2
Lukasz Stanislawski [Thu, 6 Apr 2017 13:57:20 +0000 (15:57 +0200)]
Show 'repeat' icon in alarm

Now the repeat icon appears if any of week flags are set.

Change-Id: I2cbe1097433501ec5aa02336839d3a8186d2dda6

7 years agoupdate translations 47/122847/4 submit/tizen/20170405.075035 submit/tizen/20170405.142830 submit/tizen/20170406.090254 submit/tizen/20170406.135748
Lukasz Stanislawski [Mon, 3 Apr 2017 07:16:03 +0000 (09:16 +0200)]
update translations

Patch contains essential changes fix up translations in clock.
Some key names has been changed according to STMS system content.

The major changes refers to:
1. Add auto-update of Time locale
2. Translate on-letter acronym on alarm list.
3. Fix some hardcoded string in WorldClock and AlarmEdit
4. Change accessiiblity translations

Change-Id: I3992d7cc281b0dc30d49e0d60e2a4dcb7e8d138f

7 years ago[WorldclockView] Read delete/reorder list item as one object 06/120906/4 submit/tizen/20170330.115133
Kamil Lipiszko [Fri, 24 Mar 2017 14:56:26 +0000 (15:56 +0100)]
[WorldclockView] Read delete/reorder list item as one object

Previously label of time and meridiem were created on their own
and pushed into the swallow part of the items layout. It caused
screen reader frame focus at the beginning on the whole item,
next on the checkbox and again on the time label and am/mp label.
This kind of behaviour was missleading and I've moved those labels
into edc textblocks the same way as did it in worldclock view in
location list.

Change-Id: I235da09066f85895ae0db5f1b69168169883fa81

7 years ago[Timer TTS] Add screen reader support in timer view 93/120393/7
Kamil Lipiszko [Wed, 22 Mar 2017 15:54:47 +0000 (16:54 +0100)]
[Timer TTS] Add screen reader support in timer view

Change-Id: I35099837c7e40912a95be432be428d3de49c5b33
Conflicts:
clock/src/View/TimerView.cpp

7 years ago[TimerView] Refactor selector button longpress implementation 85/121585/3
Kamil Lipiszko [Tue, 28 Mar 2017 09:08:50 +0000 (11:08 +0200)]
[TimerView] Refactor selector button longpress implementation

Change-Id: I5adcbeeb19918db889087911a4917e0c6092d5de

7 years agoMerge "EditAlarmView: fix volume adjustment/alarm type logic" into tizen
Lukasz Stanislawski [Tue, 28 Mar 2017 08:45:24 +0000 (01:45 -0700)]
Merge "EditAlarmView: fix volume adjustment/alarm type logic" into tizen

7 years agoMerge "WeekFlagsView: enhance week flag list." into tizen
Lukasz Stanislawski [Tue, 28 Mar 2017 08:45:15 +0000 (01:45 -0700)]
Merge "WeekFlagsView: enhance week flag list." into tizen

7 years agoMerge "AlarmView: Prepend alarm instead of appending." into tizen
Kamil Lipiszko [Tue, 28 Mar 2017 08:17:04 +0000 (01:17 -0700)]
Merge "AlarmView: Prepend alarm instead of appending." into tizen

7 years agoWeekFlagsView: enhance week flag list. 13/121313/3
Lukasz Stanislawski [Mon, 27 Mar 2017 13:31:04 +0000 (15:31 +0200)]
WeekFlagsView: enhance week flag list.

In accessibility mode treat list item as a single object.

Issue: After selecting/unselecting current item the screen-reader
does not reread new item state. This issue should be resolved on
elementary side.

Change-Id: Ie649bb2941484c50e2a0c7593aef1dbd3822a856

7 years agoEditAlarmView: fix volume adjustment/alarm type logic 48/121548/3
Lukasz Stanislawski [Tue, 28 Mar 2017 07:37:42 +0000 (09:37 +0200)]
EditAlarmView: fix volume adjustment/alarm type logic

When volume is reduced to 0, alarm type should change to 'vibration',
alternatively i volume is >0, then alarm type wil change to 'sound'.

Additionally when alarm type is changed to 'vibration' manually, the slider
will become disabled.

Change-Id: I67cf86daa826198f7d2a9aafa6e612c22b3e0ec9

7 years ago[Worldclock TTS] Add screen reader support in worldclock view 42/120642/6
Kamil Lipiszko [Thu, 23 Mar 2017 11:42:32 +0000 (12:42 +0100)]
[Worldclock TTS] Add screen reader support in worldclock view

Changed arrow buttons from edje elements to elm buttons with custom
style. Moved timezone list item time label into the textblock part
of layout.

Change-Id: Id37096da531ec643085231d20fed4665b1e1ff11

7 years agoAlarmView: Prepend alarm instead of appending. 49/121249/3
Lukasz Stanislawski [Mon, 27 Mar 2017 10:02:06 +0000 (12:02 +0200)]
AlarmView: Prepend alarm instead of appending.

According to guideline new alarm items should be shown on top
instead of bottom of the list.

Change-Id: I6fe22dfdea18ba6164bf6e2722134244b240b627

7 years ago[EditAlarmView TTS] Support screen reader 55/120855/3
Kamil Lipiszko [Fri, 24 Mar 2017 11:35:15 +0000 (12:35 +0100)]
[EditAlarmView TTS] Support screen reader

Change-Id: I1b7cea7d27609ddaac49eda4daf04f68e36bd39f

7 years agoMerge "EditAlarmView: close popup after selecting alarm type." into tizen
Kamil Lipiszko [Mon, 27 Mar 2017 14:19:06 +0000 (07:19 -0700)]
Merge "EditAlarmView: close popup after selecting alarm type." into tizen

7 years ago[AlarmView TTS] Support screen reader 51/120851/3
Kamil Lipiszko [Fri, 24 Mar 2017 11:24:51 +0000 (12:24 +0100)]
[AlarmView TTS] Support screen reader

Change-Id: If28363ffdf9f80a90b2935096000c350cb4a8445

7 years ago[Worldclock] Spelling fix 62/120562/2
Kamil Lipiszko [Thu, 23 Mar 2017 07:48:36 +0000 (08:48 +0100)]
[Worldclock] Spelling fix

Change-Id: Ie106490ca47d265356a4fdcf268af9a247c46b41

7 years ago[Ring] Tie in ring and system volume. 22/120122/2
Kamil Lipiszko [Tue, 21 Mar 2017 13:47:51 +0000 (14:47 +0100)]
[Ring] Tie in ring and system volume.

Sound manager api does not provide any changes on system volume
change for alarm sound volume. This patch solves this issue by
calculating alarm volume basing on currently set system volume.

Change-Id: I19f025d0f1ad21167f1887bc99040258c4a72cbe

7 years agoEditAlarmView: close popup after selecting alarm type. 29/120129/2
Lukasz Stanislawski [Tue, 21 Mar 2017 15:41:11 +0000 (16:41 +0100)]
EditAlarmView: close popup after selecting alarm type.

Change-Id: I92fd18baf4ebdb67100d919f85e3fdfa26c7aa45

7 years ago[Stopwatch] Contract stopwatch time view on reset 93/120093/2 submit/tizen/20170321.112504
Kamil Lipiszko [Tue, 21 Mar 2017 10:02:43 +0000 (11:02 +0100)]
[Stopwatch] Contract stopwatch time view on reset

Change-Id: I79744051d2c94e5959762dc8a5ea3669d6dd55b3

7 years ago[Worldclok] Do not mirror map view 88/120088/2
Kamil Lipiszko [Tue, 21 Mar 2017 09:40:18 +0000 (10:40 +0100)]
[Worldclok] Do not mirror map view

Setting rtl language caused map view being mirrored. This patch
fixes it and now it is displayed correctly and the same way in
both cases (rtl and not rtl languages).

Change-Id: I4e0673a55c626c7d79cd0203db1dcdf5ce9c9e64

7 years ago[Stopwatch] Fix list item alignment in RTL language 33/119933/2 submit/tizen/20170320.161623
Kamil Lipiszko [Mon, 20 Mar 2017 15:21:20 +0000 (16:21 +0100)]
[Stopwatch] Fix list item alignment in RTL language

Change-Id: Ic7ecdb6f6aebd05526df46bb489545355d815f73

7 years agoTime: fix string conversion routine 35/119935/1
Lukasz Stanislawski [Mon, 20 Mar 2017 15:43:55 +0000 (16:43 +0100)]
Time: fix string conversion routine

The previous routine may caused buffer overflows if unicode codepoints
couldn't be encoded on single byte.

The return value of i18n_ustring_get_length was incorrectly understood
as number of character in utf-8 encoding. The proper function is now
used instead.

Change-Id: Ie5ad77a31914298460d38a410b6b01906dcde32d

7 years agoAlarmView: null pointer before using 08/119908/1
Lukasz Stanislawski [Mon, 20 Mar 2017 12:24:42 +0000 (13:24 +0100)]
AlarmView: null pointer before using

Change-Id: I22f6ee7c4936c4490236991eb6c3245aab7037f0

7 years agoFix tizen studio import issue 31/112531/1
Kamil Lipiszko [Wed, 1 Feb 2017 09:05:11 +0000 (10:05 +0100)]
Fix tizen studio import issue

This commit adds .tproject required to import project in
tizen studio and removes it from .gitignore file.

Change-Id: Ic70ba4cab2c8cb5c0f534d35079ef24b0d9b046a

7 years agofix compilation and warnings on gcc compiler 93/111493/2 submit/tizen/20170120.151853 submit/tizen/20170125.105506 submit/tizen/20170130.165532
Lukasz Stanislawski [Fri, 20 Jan 2017 13:35:18 +0000 (14:35 +0100)]
fix compilation and warnings on gcc compiler

Change-Id: I2a2ea0fc05578d8e9d460ddfa314031db45bd9a1

7 years ago[Doxygen] Fix documentation errors 18/110918/2 submit/tizen/20170120.120822
Kamil Lipiszko [Wed, 18 Jan 2017 14:36:39 +0000 (15:36 +0100)]
[Doxygen] Fix documentation errors

Change-Id: I6c5704ef7a475fced8b0a6d64d38b6d18ecc6d86

7 years agoMerge "[Ring] Fix swipe icon bg scale." into tizen
Lukasz Stanislawski [Fri, 20 Jan 2017 09:55:12 +0000 (01:55 -0800)]
Merge "[Ring] Fix swipe icon bg scale." into tizen

7 years agoAlarmProvider: add lazy sync of database 59/110059/2
Lukasz Stanislawski [Thu, 12 Jan 2017 16:09:41 +0000 (17:09 +0100)]
AlarmProvider: add lazy sync of database

use ecore_idler_enterer to trigger sync of database.

Change-Id: I8a7a0abfbc39fe8f69718588bdafb608c111d476

7 years agosignals: allow to copy connections 28/111128/3
Lukasz Stanislawski [Thu, 19 Jan 2017 11:35:04 +0000 (12:35 +0100)]
signals: allow to copy connections

Make signal connection shared_ptr to connection data. When there is no more
references to connection data, the connection will be automatically
disconnected from signal.

Additionally make signal to keep weak_ref to connection data.
In case when signal is destructed, all connection will be auto
disconnected.

Change-Id: Ic1788057df7100d9746f4781a8b95370d9f7f3e0