summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukasz Stanislawski [Mon, 24 Oct 2016 14:56:05 +0000 (16:56 +0200)]
alarms: change new alarm default values.
Set alarms initial values according to guideline.
Change-Id: I07c67a1731a5c89b43153328b4381de2089e4b8e
Radoslaw Czerski [Thu, 20 Oct 2016 08:52:05 +0000 (10:52 +0200)]
World Clock: User location limit popup added.
Change-Id: Iaf39f05a30fa1af53e71cf3964292df036e751a9
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Lukasz Stanislawski [Mon, 17 Oct 2016 15:32:42 +0000 (17:32 +0200)]
MainController: add initialization check
Add initialization flag to avoid multiple initialization problem.
Change-Id: I80e796301999e06cd18d50dcee46deb6dd620e49
Radoslaw Czerski [Thu, 20 Oct 2016 08:18:35 +0000 (01:18 -0700)]
Merge "view: fix Page class" into tizen
Radoslaw Czerski [Wed, 19 Oct 2016 17:12:40 +0000 (10:12 -0700)]
Merge "timer: Time selector alignment fix." into tizen
Radoslaw Czerski [Wed, 19 Oct 2016 16:22:45 +0000 (09:22 -0700)]
Revert "World Clock: Delete Items view implemented."
This reverts commit
697cb03187efd569449a46c8a77ca4e605a618de.
Merged by accident.
Change-Id: If8d751f40ab474bbff68c97e5cefd6ea53583aaf
Radoslaw Czerski [Wed, 19 Oct 2016 16:16:32 +0000 (18:16 +0200)]
World Clock: Delete Items view implemented.
Change-Id: I1d35c5ab3e5988d6f9c4cfef7a54b306475c464d
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Kamil Lipiszko [Thu, 6 Oct 2016 11:46:02 +0000 (13:46 +0200)]
timer: Time selector alignment fix.
This commit fixes time selector's alignment when
keypad is visible. It sets different top padding
value so not only entry space is aligned but
the whole item with buttons and their headers.
Change-Id: Id0b8b512d2c90f15ac8a768d7f373132d94698f5
Lukasz Stanislawski [Thu, 6 Oct 2016 15:44:37 +0000 (17:44 +0200)]
view: fix Page class
Remove calling virtual function in class destructor.
The derived class resources should clean-up in their
destructors.
Fix minor issues reffering to PageView usage.
Change-Id: I6b41a187d8b233cca3429ed189c023b5023fe6f8
Kamil Lipiszko [Thu, 13 Oct 2016 14:33:52 +0000 (16:33 +0200)]
MainView: Replace MainView singleton with simple object.
This commit changes MainView pattern from singleton to
simple object. Now it is created during application startup
and is passed to other pages and page views as constructor's
argument.
Change-Id: I8f8dcf982f0da55d99be169ee5106ff6575a5356
Lukasz Stanislawski [Thu, 22 Sep 2016 07:23:15 +0000 (09:23 +0200)]
Time: reimplementation
Reimplementation of Time class to better handle timezones
and local preferences. Time class keeps absolute time and timezone
information in order to provide localized formatting.
Change-Id: Ifc644317d633e44fffe9d275f39c835ee9b6479e
Kamil Lipiszko [Thu, 22 Sep 2016 12:54:19 +0000 (14:54 +0200)]
Ring: Add ring's sound and vibration
This commit includes sound manager and feedback haptic
implementation to enable playing sound and vibration
during the ringing.
Change-Id: I0784bf244e2a274839eee17802ed031c9f3f4e4f
Signed-off-by: Kamil Lipiszko <k.lipiszko@samsung.com>
Radoslaw Czerski [Fri, 7 Oct 2016 13:24:13 +0000 (15:24 +0200)]
World clock: Passing invalid pointer fixed.
Change-Id: Idd33e42312d570b9a02790f2326819842da06727
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Thu, 6 Oct 2016 10:53:57 +0000 (12:53 +0200)]
World Clock: Bug fix. Possible try to access memory beyond the array.
Fix: Iteration begins with 0.
Change-Id: Idec88eb9d793f113135151866cfc293a980f8df5
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Lukasz Stanislawski [Thu, 29 Sep 2016 09:06:41 +0000 (11:06 +0200)]
utils: EventBus reimplementation
Reimplement EventBus. Instead of Registration/Unregistration
methods a listener based implementation has been added.
Listeners now make automatic unregistration in the destructor.
The boilerplate code needed in defining of new event has
been significantly reduced.
Change-Id: Ifce4bd45bd60b3e8c9a9c99fe443794d8a47b380
Kamil Lipiszko [Sat, 1 Oct 2016 11:48:17 +0000 (13:48 +0200)]
timer: Reset button fix.
Hide Reset button on 00:00:00 value set.
Change-Id: I20221160c9f51cfc20c25db42589674f66336460
Kamil Lipiszko [Sat, 1 Oct 2016 09:42:23 +0000 (11:42 +0200)]
timer: add hour position description
This commit adds description (hours, minutes, seconds) to the
running time counter.
Change-Id: Id70c46619527a9babf2d9d88b3b0a48484a010ed
Radoslaw Czerski [Fri, 7 Oct 2016 11:39:46 +0000 (04:39 -0700)]
Merge "timer: create entry focus chain" into tizen
Kamil Lipiszko [Sat, 1 Oct 2016 07:50:32 +0000 (09:50 +0200)]
timer: create entry focus chain
Creates entry focus chain to provide focus changing when
current entry has already two valid digits set.
Change-Id: I973891abc7a5070906ee9e308a92c92f13567955
Lukasz Stanislawski [Thu, 6 Oct 2016 07:20:00 +0000 (09:20 +0200)]
manifest: remove invalid privilege
Change-Id: I86d15bbc1bdd76ec45a4604d33e5d09527ef5e7f
Lukasz Stanislawski [Thu, 29 Sep 2016 14:37:03 +0000 (16:37 +0200)]
utils: rename log.h => Log.h, remove redundant file
Change-Id: I0c0e5461b1ad6d2a28831fc748f5eb71ce2bfa7d
Lukasz Stanislawski [Fri, 9 Sep 2016 14:00:41 +0000 (16:00 +0200)]
Add clock-test project (attempt 2)
Tizen Studio SDK do not contain gmock library. Moreover it contains
only outdated version of google's testing framework (gtest).
This patch adds compiled gtest and gmock dependencies to avoid
problems with SDK configuration. Libraries are compiled for
arm and x86 architectures.
Due to problems with CLI configuration, currently test projects
can be only be compiled with Tizen Studio.
Change-Id: Id403b0798d2e2731494f29947ddc10d15815fda9
Radoslaw Czerski [Tue, 4 Oct 2016 13:26:02 +0000 (15:26 +0200)]
worldclock: saving and loading locations list with preferences API.
Change-Id: Ic51139bba2e1b2e8b236bb36ed0b7e4cdfa85951
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Fri, 30 Sep 2016 13:29:37 +0000 (15:29 +0200)]
worldclock: "Empty List" label enabled.
Change-Id: Ia6265dcdba755992b86f7f4beef7358660fcba96
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Mon, 3 Oct 2016 11:16:15 +0000 (13:16 +0200)]
worldclock: "More" button handled.
Popup with "Delete" and "Reorder" items
shown after click "More" button.
Change-Id: I1f9d6b89efcf755cdaedcce90bf7458ae9820b88
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Kamil Lipiszko [Wed, 21 Sep 2016 09:32:35 +0000 (11:32 +0200)]
utils: toast popup implementation
Change-Id: I686649735e9beb850d4c6001ed2a2aea877b4a2b
Lukasz Stanislawski [Mon, 3 Oct 2016 10:37:38 +0000 (03:37 -0700)]
Merge "lap time round fix" into tizen
Radoslaw Czerski [Fri, 30 Sep 2016 13:25:25 +0000 (15:25 +0200)]
worldclock: adding new Location to custom list implemented.
Change-Id: Icf1997a5770c846b94da0bcb17121c96cf4dc797
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Mon, 26 Sep 2016 13:14:03 +0000 (15:14 +0200)]
maincontroller: move all views, models and presenters to controller.
Objects deletion added.
Change-Id: Icd00dcdd41e8da6a2deeea2de4a9c933277dabba
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Fri, 30 Sep 2016 13:07:19 +0000 (15:07 +0200)]
worldclock: implement MVP pattern.
Change-Id: I318885286cc10ca55e293f8f8690ae664de6a070
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Fri, 30 Sep 2016 12:40:02 +0000 (14:40 +0200)]
worldclock: custom locations list layout created.
The list is connected to Map
which shows timezone related to clicked list item.
MVP patter is not implemented yet(will be added in next commit)
Change-Id: Ia8be8f6ab05371a3bc0218eacd489c9622679e61
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Kamil Lipiszko [Tue, 20 Sep 2016 14:54:42 +0000 (16:54 +0200)]
lap time round fix
Change-Id: I70f9f4704ffb98c0153cfdc5499f78bfb00d88f6
Lukasz Stanislawski [Thu, 15 Sep 2016 09:01:26 +0000 (11:01 +0200)]
remove 'ring' project
Change-Id: I80ccb55e2b31e355fc181ec68bd496180fde660f
Lukasz Stanislawski [Fri, 16 Sep 2016 15:44:52 +0000 (17:44 +0200)]
Alarm: fix snooze by adding new API
Add new Dismiss and CanSnooze functions.
CanSnooze informs if snooze can be applied on Alarm. It is
possible when Snooze is enabled for alarm and maximum numer
of snooze attempts hasn't been reached.
Dismiss is a function that resets snooze context for given alarm.
It resets current snooze attempt counter. Is alarm do not support
snooze it does nothing.
Change-Id: I554800d5b004dec3f046cd7d5bf08d65b886b222
Lukasz Stanislawski [Fri, 16 Sep 2016 15:13:41 +0000 (17:13 +0200)]
EditAlarmPresenter: change default alarm values
Remove mem leak on alarm creation
Change-Id: Ie63d42cbc6ad514f07051737a24effd766065978
Lukasz Stanislawski [Thu, 15 Sep 2016 08:43:39 +0000 (10:43 +0200)]
remove AlarmProviderStub
Stub is not needed anymore so remove it from code base.
Change-Id: Id8861375a39f1de8889d26feb5a1b7d73e0470c7
Lukasz Stanislawski [Mon, 19 Sep 2016 07:31:34 +0000 (09:31 +0200)]
License file added.
Change-Id: I329ee650559636df1a8dbd18f4f715607ce6b216
Lukasz Stanislawski [Fri, 16 Sep 2016 14:43:13 +0000 (16:43 +0200)]
AlarmProviderFile: fix bug with wrong object edition.
Instead of object from AlarmProviderFile container the temporary
object has been used by the presenters.
Change-Id: I26d61ec52a6ef30e0667450f89adc5bc0432f5fc
Kamil Lipiszko [Mon, 5 Sep 2016 12:33:19 +0000 (14:33 +0200)]
ring implementation
Ring is the view that shows up on alarm or timer's timeout.
The style of the view depends on the type of the ring. If
ring view was called by alarm it shows the alarm info,
otherwise is called by timer and shows time counter. Ring
is created on app_control request with proper operation set
from the following:
http://tizen.org/appcontrol/operation/alarm
http://tizen.org/appcontrol/operation/timeout
Commit implements:
- ring view with alarm data content or counter,
- ring presenter due to MVP pattern,
- ring model which is created and used only if ring shows up
on timer's call.
- ring controller to create ring presenter, view and model
adjusted to the type of the requested call.
Change-Id: Ice190b3b47c3aa8deb69bf37dd6a7506e1f37bc1
Kamil Lipiszko [Wed, 24 Aug 2016 09:44:00 +0000 (11:44 +0200)]
timer implementation
This commit implements the whole timer view, model and presenter
creation procedure due to MVP pattern. The timer is the view that
shows running counter and provides alarm ring after the set time
timeout. The ring alarm is called after the set time and if
countdown was paused and resumed this time is updated. Timer's
view shows the time selector during the edition process and
counter on timer start.
Change-Id: Iba26715081deb7864704a32686e7c3345b75f7a8
Lukasz Stanislawski [Wed, 14 Sep 2016 11:34:52 +0000 (13:34 +0200)]
AlarmView: show "No alarms" text on empty list
Show "No alarms" text when there is no alarms defined
by the user.
Change-Id: I2782c81e50bf109bf554ad633a4f0591e808a864
Lukasz Stanislawski [Mon, 12 Sep 2016 07:41:03 +0000 (09:41 +0200)]
Enable alarm edition
Open alarm edition view after clicking on item in AlarmView.
When click is done new AlarmEditRequestEvent is being sent to EventBus.
When alarm has been edited new AlarmEditedEvent is begin sent in order
to synchronize data on other views.
Change-Id: I122f3c5564f70448dae4841575658ce543ccfeb0
Radoslaw Czerski [Tue, 13 Sep 2016 14:17:51 +0000 (16:17 +0200)]
Callback function call hotfix.
Change-Id: I0b98d9ceed262fc259ca823a12ea3fc9fdc26956
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Lukasz Stanislawski [Sun, 11 Sep 2016 11:51:25 +0000 (13:51 +0200)]
Alarm: enable platform alarms
Add required privilage and fix minor issues to enable
registering platform alarms.
Change-Id: Ibf61c072fd56352dc9b6520ab25102b1edeefee7
Lukasz Stanislawski [Tue, 6 Sep 2016 12:30:06 +0000 (14:30 +0200)]
Add Delete Alarm view and presenter.
Add possibility to delete exitsing alarms by using "menu"
hardware button and pressing "delete" item.
The new view with selectable alarms is being pushed.
When alarms are begin deleted the AlarmRemovedEvent is being
triggered, which allows to synchronize other views (eg. AlarmView)
Change-Id: Ifa41318fdb5c9930bb6b7e3dfb6931ee3e21db13
Radoslaw Czerski [Tue, 13 Sep 2016 13:53:00 +0000 (15:53 +0200)]
Add empty list screen.
Change-Id: I3dc57420e381cdfcdc93f85e2649064b0b87111d
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Tue, 13 Sep 2016 13:48:32 +0000 (15:48 +0200)]
Worldclock Map View and timezone details added.
MVP model is not implemented yet and will be added in separate commit.
Change-Id: Iad0aa1d8950856f9cfe6810811c4d941c3ddb8cb
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Lukasz Stanislawski [Mon, 5 Sep 2016 13:09:27 +0000 (15:09 +0200)]
AlarmView: implement adding alarms by clicking "+"
Add floating button on main view. Handle request to add alarm
via EventBus events. MainController is now responsible for handling
EditAlarmView and EditAlarmPresenter lifecycle.
Change-Id: I69fbc407dfe3fde2108a32d44ed9b6c4c149e56d
Lukasz Stanislawski [Wed, 31 Aug 2016 13:05:48 +0000 (15:05 +0200)]
AlarmPresenter: add update on alarm add
Add new Added/Removed events to broadcast creation/removal
of alarms.
Change-Id: Ia9cb122a66d7b31b420a3416db48553c668d212f
Lukasz Stanislawski [Wed, 31 Aug 2016 06:37:01 +0000 (08:37 +0200)]
event bus implementation
Create global bus for application events. Allows
multiple observers to register on one particular event.
Change-Id: I4da624c7cf492224ba53431fd6e03781eb3c81a5
Lukasz Stanislawski [Sun, 11 Sep 2016 09:38:58 +0000 (11:38 +0200)]
improve Time.h dummy implementation.
Instead of returning hardcoded values now return real values.
This code will be changed when proper icu support will be added.
Change-Id: Id056526136a01f302510284dfe0d69349a8fffdf
Lukasz Stanislawski [Sun, 11 Sep 2016 06:48:49 +0000 (08:48 +0200)]
Add proper clock icon. Capitalize label.
Change-Id: Ib5f332996e5c5a67b99830b8d4a5cf1f4e32fb75
Lukasz Stanislawski [Fri, 9 Sep 2016 12:22:44 +0000 (14:22 +0200)]
Apply Tizen Studio project files. Fix warnings.
Change-Id: I709975a8a8fd112d7bc9e11da9dc41adce1b674d
Lukasz Stanislawski [Tue, 30 Aug 2016 13:54:49 +0000 (15:54 +0200)]
AlarmView: add gradient list background
Change-Id: I327af43d46be5bc155d70d17cb95b6869e09a475
Lukasz Stanislawski [Mon, 5 Sep 2016 13:28:45 +0000 (15:28 +0200)]
common: remove CLOCK_EXPORT_API define
After merging bin and libs export attribute is no longer needed.
Change-Id: I6bbf5510550e1d4e8c90a72e5ec8c7cb33cadb9d
Lukasz Stanislawski [Tue, 30 Aug 2016 13:49:09 +0000 (15:49 +0200)]
EditAlarmPresenter: implement basic functionality
Allow to create new Alarm on basic edit alarm view (shown at startup).
The synchronization with different view is not supported yet, so
app restart is required to sync other views.
Change-Id: I1715f730197e4bde6a3b9af30c5c7b0cb64241c4
Lukasz Stanislawski [Fri, 19 Aug 2016 13:09:28 +0000 (15:09 +0200)]
Edit/Add View added.
Provide simple edit/view class that will handle editing alarms.
Currently presenter is not implemented so view is just a stub.
Change-Id: I770fe709643d008fe5e2b8d022f7519bfd0ff4c8
Kamil Lipiszko [Fri, 5 Aug 2016 14:36:45 +0000 (16:36 +0200)]
Stopwatch implementation
Change-Id: I673b3be087bf59076add6a1af7500bb03a463c0c
Lukasz Stanislawski [Thu, 18 Aug 2016 14:25:22 +0000 (16:25 +0200)]
merge common & worldclock namespaces
Change-Id: Ieaadb5f6693331de1f0e998c31a060f44757ae15
Lukasz Stanislawski [Thu, 18 Aug 2016 13:46:33 +0000 (15:46 +0200)]
merge common and clock
Change-Id: I5a7845192d6f2c5e8e75883c93d08bdf82698da6
Lukasz Stanislawski [Wed, 17 Aug 2016 06:38:54 +0000 (08:38 +0200)]
AlarmView implementation
Change-Id: Ib8c84aa7664c53f0aaf67f6b8b881944f8c1180e
Lukasz Stanislawski [Fri, 5 Aug 2016 14:32:31 +0000 (16:32 +0200)]
AlarmProviderFile backend implementation
AlarmProviderFile uses binary files to store Alarm objects.
Change-Id: Id14ee2c5b2b01b1f0f104fb354ea719f94af6d7d
Radoslaw Czerski [Fri, 19 Aug 2016 13:34:03 +0000 (15:34 +0200)]
[Clock] base GUI.
Change-Id: I1efb84c293b2a43423d66de93fed1c012e370b00
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Radoslaw Czerski [Fri, 5 Aug 2016 09:42:23 +0000 (11:42 +0200)]
[clock]Utils added.
Change-Id: Ib55d4081b92b72e1fd88bdacc98403ef59ec1075
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Kamil Lipiszko [Thu, 4 Aug 2016 13:17:56 +0000 (15:17 +0200)]
ring: alarm ring layout
Lukasz Stanislawski [Wed, 27 Jul 2016 11:45:01 +0000 (13:45 +0200)]
common: add AlarmProviderStub class
The purpose of this class is to return dummy values
from model in order to procees with other modules
implementation
Lukasz Stanislawski [Wed, 27 Jul 2016 09:59:47 +0000 (11:59 +0200)]
clock: build break fix after header removal
Lukasz Stanislawski [Wed, 27 Jul 2016 09:57:12 +0000 (11:57 +0200)]
common: remove unused headers
Lukasz Stanislawski [Wed, 27 Jul 2016 09:55:46 +0000 (11:55 +0200)]
common: add AlarmProviderEet class draft
Lukasz Stanislawski [Tue, 26 Jul 2016 10:38:32 +0000 (12:38 +0200)]
common: implement WeekFlags
Lukasz Stanislawski [Tue, 26 Jul 2016 09:10:10 +0000 (11:10 +0200)]
common: interface draft
Lukasz Stanislawski [Mon, 25 Jul 2016 12:23:53 +0000 (14:23 +0200)]
Add gitignore file
Lukasz Stanislawski [Mon, 25 Jul 2016 12:19:17 +0000 (14:19 +0200)]
project build config prepared for 'abs' tool
Lukasz Stanislawski [Mon, 25 Jul 2016 10:32:34 +0000 (12:32 +0200)]
template of multipackage project added.