summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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.