platform/core/api/notification.git
7 years agoReduced indentation for notification_get_text func res/for/tizen
Myungki Lee [Tue, 25 Jul 2017 02:30:11 +0000 (11:30 +0900)]
Reduced indentation for notification_get_text func

Change-Id: I819252641d7aa1ccf2d64804e421287819c11df9
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove unnecessary comment 33/140633/2
Seungha Son [Tue, 25 Jul 2017 23:57:22 +0000 (08:57 +0900)]
Remove unnecessary comment

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ibcc8d202c479a3d3fa6fee5fb5e5b3245b4a9e01

7 years agoArrange line 32/140632/1
Seungha Son [Tue, 25 Jul 2017 23:54:50 +0000 (08:54 +0900)]
Arrange line

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic605dde2243edcf059ba97729944de59aa8177bb

7 years agoRelease version 0.3.27 29/140429/1 accepted/tizen/unified/20170727.190733 submit/tizen/20170725.032000 submit/tizen/20170726.031217
Myungki Lee [Tue, 25 Jul 2017 03:16:21 +0000 (12:16 +0900)]
Release version 0.3.27

- Fix incorrect use of strncat
  Change the method for error return
  Set pkg_id to caller_app_id if can't get pkg_id
  Add null check routine for private_sharing
  Removes dependency of db-util

Change-Id: I27e83ba5c1967eb9cc0c52dd1e7e9162c1c50ef5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix incorrect use of strncat 55/139555/3
Myungki Lee [Wed, 19 Jul 2017 09:26:30 +0000 (18:26 +0900)]
Fix incorrect use of strncat

Change-Id: I5b31f2215f161d45f37ba12dbcbf14ceb6fc9f13
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoChange the method for error return 53/139353/1
Myungki Lee [Tue, 18 Jul 2017 11:48:57 +0000 (20:48 +0900)]
Change the method for error return

- notification_status_message_post
  need to free for some resource

Change-Id: I8341720484913909d6ef91c7cf11409b9483aceb
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoSet pkg_id to caller_app_id if can't get pkg_id 77/139177/3
Myungki Lee [Mon, 17 Jul 2017 23:51:53 +0000 (08:51 +0900)]
Set pkg_id to caller_app_id if can't get pkg_id

- in notification_crete func

Change-Id: I329c0eee88377dac2df2c5d7e25f06a8bfc33665
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd null check routine for private_sharing 75/139175/3
Myungki Lee [Mon, 17 Jul 2017 23:25:00 +0000 (08:25 +0900)]
Add null check routine for private_sharing

- last_index_of()
  is_private_file()

Change-Id: I700eb61f72f401eed80cf7f689cd1963708afd13
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemoves dependency of db-util 41/138341/2
Myungki Lee [Wed, 12 Jul 2017 01:43:03 +0000 (10:43 +0900)]
Removes dependency of db-util

- use sqlite func instead of db-util func

Change-Id: I6733b2abeb065d2c9392fa91695bca337e06fcd0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.26 32/138032/1 accepted/tizen/unified/20170711.181002 submit/tizen/20170711.015834
Myungki Lee [Tue, 11 Jul 2017 01:40:17 +0000 (10:40 +0900)]
Release version 0.3.26

- Update notification_db_open

Change-Id: I571aa5faca9a53d40c9b147576b32f7c1fd06dcc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoUpdate notification_db_open 30/137930/2
Myungki Lee [Mon, 10 Jul 2017 09:16:47 +0000 (18:16 +0900)]
Update notification_db_open

- use sqlite3_open_v2 instead of db_util_open
  db_util_open has create option

Change-Id: I9d1fd772fc3c592a56e59c8a1d98237104219cee
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.25 65/137665/1 submit/tizen/20170707.042257 submit/tizen/20170710.072856
Myungki Lee [Fri, 7 Jul 2017 04:14:43 +0000 (13:14 +0900)]
Release version 0.3.25

- Implementation private file sharing
  Add missing argument to get num_changes
  Refactor db code
  Move some func to notification_viewer.c

Change-Id: I621a993bc1522acb338e819d40576839e57057fb
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoImplementation private file sharing 17/134317/42
Seungha Son [Fri, 16 Jun 2017 04:03:04 +0000 (13:03 +0900)]
Implementation private file sharing

- Related patch
  [data-provider-master] https://review.tizen.org/gerrit/#/c/135723/

Change-Id: Ia60ad9c2e69315b9d1526693a2e409a886533bd6
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd missing argument to get num_changes 42/137542/2
Myungki Lee [Thu, 6 Jul 2017 08:48:51 +0000 (17:48 +0900)]
Add missing argument to get num_changes

- notification_noti_delete_by_priv_id_get_changes
  To get num_changes

Change-Id: Ia0c9a39e88e507d47a92ac4d7d555c54e0be442f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRefactor db code 52/134152/27
Myungki Lee [Thu, 15 Jun 2017 04:16:37 +0000 (13:16 +0900)]
Refactor db code

- noti_list, notification_setting, notification_system_setting

Change-Id: I5a9518d0f74eb8e2b48856d5bc25f1492e51e15a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoMove some func to notification_viewer.c 81/135481/3
Myungki Lee [Thu, 22 Jun 2017 12:52:04 +0000 (21:52 +0900)]
Move some func to notification_viewer.c

- notification_get_default_viewer, notification_launch_default_viewer

Change-Id: I4ecc2453bf31191d4bbeca96fc7532e6f2645709
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.24 91/135891/1 accepted/tizen/unified/20170629.013735 submit/tizen/20170627.081904
Seungha Son [Tue, 27 Jun 2017 08:05:09 +0000 (17:05 +0900)]
Release version 0.3.24

Changes:
 - Move unversioned so file to devel package
 - Deleted app_id check routine for some func
 - Check coding style about sqlite
 - Remove unnecessary variable initilzation
 - Use error code instead of error description in log
 - Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3c3e23775344282bafc945621f76d75ddde50952

7 years agoFix memory leak 19/135419/2
Seungha Son [Thu, 22 Jun 2017 08:01:16 +0000 (17:01 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8f39c4411fc52ac2c084a35a3bf0383d1344295a

7 years agoUse error code instead of error description in log 49/135349/1
Seungha Son [Thu, 22 Jun 2017 04:15:55 +0000 (13:15 +0900)]
Use error code instead of error description in log

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I0426ce3a531e5c3fdd7fb44f861d0700e5eff57f

7 years agoRemove unnecessary variable initilzation 96/132896/8
Seungha Son [Thu, 8 Jun 2017 06:12:24 +0000 (15:12 +0900)]
Remove unnecessary variable initilzation

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ie40df1fc01046be91800f88a99c20d3d88b72542

7 years agoCheck coding style about sqlite 54/134654/1
Myungki Lee [Tue, 20 Jun 2017 00:52:54 +0000 (09:52 +0900)]
Check coding style about sqlite

- notification_setting, notificaiton_setting_service

Change-Id: I27d713d17bebf455feb82198d6fceedaf8b1b8bf
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoDeleted app_id check routine for some func 93/133893/3
Myungki Lee [Wed, 14 Jun 2017 02:19:43 +0000 (11:19 +0900)]
Deleted app_id check routine for some func

- It is not exist that app_id is null case.
  notification_ipc_request_delete_single
  notification_ipc_request_load_noti_by_tag
  notification_ipc_request_get_count

Change-Id: Id36d4f3d8f5da2c2489587e84424ac8763ae16b0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoMove unversioned so file to devel package 22/133422/2
Seungha Son [Mon, 12 Jun 2017 07:02:57 +0000 (16:02 +0900)]
Move unversioned so file to devel package

 Unversioned so file is not needed at runtime.
 It is only used at build time

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I4b560f586226e78c9b655febc0abe7f24b5e2e2d

7 years agoRelease version 0.3.23 68/133668/1 accepted/tizen/unified/20170613.194234 submit/tizen/20170613.043549
Seungha Son [Tue, 13 Jun 2017 05:16:00 +0000 (14:16 +0900)]
Release version 0.3.23

Changes:
 - Arranges null check
 - Adds API description
 - Fix upgrade scripts

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I95d2f2d627e5475ec70f9617b1d977c244a7d5d6

7 years agoFix upgrade scripts 58/133658/1
Seungha Son [Tue, 13 Jun 2017 02:03:39 +0000 (11:03 +0900)]
Fix upgrade scripts

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Id84cdc9f9678bb7028560c760746b5078c8f1594

7 years agoAdds API description 58/133258/6
Seungha Son [Fri, 9 Jun 2017 10:47:03 +0000 (19:47 +0900)]
Adds API description

 API : notification_create_from_package_template()

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iac9543cac66863be075d25254ba1804ff1d58380

7 years agoArranges null check 60/133260/1
Seungha Son [Fri, 9 Jun 2017 10:54:53 +0000 (19:54 +0900)]
Arranges null check

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I9f868abeedf222a560ca570c0906b053e73ebb44

7 years agoRelease version 0.3.22 80/133080/1 accepted/tizen/unified/20170609.203837 submit/tizen/20170609.014738
Seungha Son [Fri, 9 Jun 2017 01:39:51 +0000 (10:39 +0900)]
Release version 0.3.22

Changes:
 - Arrange naming of pkgid and appid
 - Updates the summary for notification_set_text
 - Remove duplicated semicolon
 - Support on demand launching for viewer appid
 - Removes unnecessary code
 - Deletes the unnecessary codes for notification_clone
 - Remove unnecessary the include header files

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I99614738fdaa356e9ffb39a6329826c0e952007a

7 years agoArrange naming of pkgid and appid 87/132387/12
Seungha Son [Tue, 30 May 2017 10:39:49 +0000 (19:39 +0900)]
Arrange naming of pkgid and appid

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3160d8c89a581602e9b680c1922ce9bc5ad1e529

7 years agoUpdates the summary for notification_set_text 82/132182/4
Myungki Lee [Thu, 1 Jun 2017 10:34:32 +0000 (19:34 +0900)]
Updates the summary for notification_set_text

- about Localization
- fix sample code for notification_save_as_template

Change-Id: Ib28f8a8c3f279fd02d40fa2481bf1017ad431449
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove duplicated semicolon 97/132897/1
Seungha Son [Thu, 8 Jun 2017 07:56:44 +0000 (16:56 +0900)]
Remove duplicated semicolon

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I47e3b7299f15737b728606be119e86a5a9bd791c

7 years agoSupport on demand launching for viewer app 41/131941/8
Myungki Lee [Thu, 1 Jun 2017 09:08:30 +0000 (18:08 +0900)]
Support on demand launching for viewer app

- notification_get_default_viewer
- notification_launch_default_viewer

Change-Id: I66dcf3c740ff7d6f1be2f351a156ca24941c75a6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemoves unnecessary code 84/132584/1
Seungha Son [Wed, 7 Jun 2017 04:39:22 +0000 (13:39 +0900)]
Removes unnecessary code

 notification handle is created by using calloc,
 so some codes that set to zero are unnecessary

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I4ab523a4689b4011787970fb2e4a61443f0ba301

7 years agoDeletes the unnecessary codes for notification_clone 88/132188/1
Myungki Lee [Thu, 1 Jun 2017 10:52:46 +0000 (19:52 +0900)]
Deletes the unnecessary codes for notification_clone

Change-Id: I887074958bfeab27b0659bda3b745a9ba11f185d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove unnecessary the include header files 82/131582/1
Myungki Lee [Tue, 30 May 2017 06:03:34 +0000 (15:03 +0900)]
Remove unnecessary the include header files

Change-Id: I404b0d6a0dc56b015e0d696e375fe884a387030b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.21 65/131465/1 accepted/tizen/unified/20170529.163156 submit/tizen/20170529.093825 tizen_4.0.m1_release
Myungki Lee [Mon, 29 May 2017 09:36:13 +0000 (18:36 +0900)]
Release version 0.3.21

- Adds pkg_id field in notification_h
- Remove empty line

Change-Id: I3a373b9ce46f560c00907e77de57cf7658e18ff3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdds pkg_id field in notification_h 34/131434/4
Myungki Lee [Mon, 29 May 2017 09:29:22 +0000 (18:29 +0900)]
Adds pkg_id field in notification_h

 When any package is uninstalled, If there are any data related to
 the package, these should be deleted in database.
 Add a field in notification_h to remove the data by package name.

Change-Id: I142f7c845f9d7396801b22087e523f4620cc03ff
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRemove empty line 05/130305/1
Seungha Son [Mon, 22 May 2017 01:35:57 +0000 (10:35 +0900)]
Remove empty line

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Idc6fa73e1f9fdd47f8c3f7c5ad608df13be8d2fb

7 years agoRelease version 0.3.20 08/128908/3 accepted/tizen/unified/20170512.165904 submit/tizen/20170512.073248
Seungha Son [Fri, 12 May 2017 04:57:38 +0000 (13:57 +0900)]
Release version 0.3.20

Changes:
 - Fix wrong sql query

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I824e32c793427c5ec89a46a0c8aeb466a871ae15

7 years agoFix wrong sql query 27/128427/2
Seungha Son [Wed, 10 May 2017 03:38:19 +0000 (12:38 +0900)]
Fix wrong sql query

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8d8b9a0466ae2283349dcaa6ba4e4d22fe7cf3e7

7 years agoRelease version 0.3.19 02/128202/1 accepted/tizen/unified/20170510.012831 submit/tizen/20170508.042017
Seungha Son [Mon, 8 May 2017 04:22:25 +0000 (13:22 +0900)]
Release version 0.3.19

 Update license description

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I886b2e4ba0959efc061f0792ba398a662d128cfe

7 years agoUpdate license description 06/128006/1
Seungha Son [Thu, 4 May 2017 01:17:10 +0000 (10:17 +0900)]
Update license description

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib6daf25ed9f8a42bd4f2e32a40cf20dc95ef1c0c

7 years agoRelease version 0.3.18 10/127510/1 accepted/tizen/unified/20170429.023532 submit/tizen/20170427.133911
Semun Lee [Thu, 27 Apr 2017 13:31:51 +0000 (22:31 +0900)]
Release version 0.3.18

- Fix pc dependency problem
- Changes to add caller_pkgname both app and daemon

Change-Id: I14b4879fa0262d381ec9bce561cf3680e577083c
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoChanges to add caller_pkgname both app and daemon 05/127505/2
Myungki Lee [Thu, 27 Apr 2017 12:33:51 +0000 (21:33 +0900)]
Changes to add caller_pkgname both app and daemon

Change-Id: I873a1223d2689555c12dfda83c0847ee28881503
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix pkgconfig file 04/127504/1
Hwankyu Jhun [Thu, 27 Apr 2017 12:38:52 +0000 (21:38 +0900)]
Fix pkgconfig file

- Adds a dependency about capi-appfw-app-control

Change-Id: I6a5ce9da64b6a7b0d4a7bcec3b0353cd8fc47498
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.17 75/127275/1 submit/tizen/20170427.055106
Myungki Lee [Thu, 27 Apr 2017 02:09:20 +0000 (11:09 +0900)]
Release version 0.3.17

- Remove unnecessary dependencies

Change-Id: I86621aca5389066bd1cef7f3a05def587a0a9c4c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove unnecessary dependencies 40/126540/2
Myungki Lee [Mon, 24 Apr 2017 07:26:36 +0000 (16:26 +0900)]
Remove unnecessary dependencies

- Removed unnecessary dependencies
- Test app will not be built by default

Change-Id: Ib030275208154df38208179757691ef07743575d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.16 70/126270/1 accepted/tizen/unified/20170421.113655 submit/tizen/20170421.005321
Seungha Son [Fri, 21 Apr 2017 00:55:31 +0000 (09:55 +0900)]
Release version 0.3.16

 Fix build warnings

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib1016292bfd976ebb13c8ac4276249cfb52f6d30

7 years agoFix build warnings 06/126006/1
Seungha Son [Thu, 20 Apr 2017 00:04:35 +0000 (09:04 +0900)]
Fix build warnings

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I08c876587319855593b986720af086d2ac3c0680

7 years agoRelease version 0.3.15 00/126000/1
Seungha Son [Wed, 19 Apr 2017 22:25:57 +0000 (07:25 +0900)]
Release version 0.3.15

 Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic40daf2730ff6eedc952c096ac5addc11f2423f1

7 years agoFix memory leak 28/125528/4
Seungha Son [Tue, 18 Apr 2017 02:07:49 +0000 (11:07 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ia3e0492274d585781bf0a05e7b539bea48c44d89
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.3.14 61/124861/1 accepted/tizen/unified/20170414.163729 submit/tizen/20170414.043651
seungha.son [Wed, 12 Apr 2017 22:22:51 +0000 (07:22 +0900)]
Release version 0.3.14

 Fix priv id update error

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I3725dd6edada20a6279af2663280652847a22165

7 years agoFix error that set priv id 42/124742/1
seungha.son [Wed, 12 Apr 2017 08:24:14 +0000 (17:24 +0900)]
Fix error that set priv id

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I15c7d124ed0f3162bba8c6b2a4c928275554805b

7 years agoRelease version 0.3.13 62/124262/1 accepted/tizen/unified/20170412.152000 submit/tizen/20170411.042057
Myungki Lee [Tue, 11 Apr 2017 04:16:22 +0000 (13:16 +0900)]
Release version 0.3.13

- Remove unnecessary logic to update the priv id

Change-Id: I36ccd30757ea6e9cecf93f8f3972d975e8541d58
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoMerge "Remove unnecessary logic to update the priv id" into tizen
jusung son [Mon, 10 Apr 2017 09:43:49 +0000 (02:43 -0700)]
Merge "Remove unnecessary logic to update the priv id" into tizen

7 years agoRemove unnecessary logic to update the priv id 53/123853/2
seungha.son [Fri, 7 Apr 2017 08:20:58 +0000 (17:20 +0900)]
Remove unnecessary logic to update the priv id

 - When create notification db table, priv_id set
   'priv_id INTEGER PRIMARY KEY AUTOINCREMENT'
   so, No logic is required to update the id.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I64fb93334cc29cf11dcd2df57d74b8c7a3c262d6

7 years agoAdd internal API to set priv_id 58/123858/1
seungha.son [Fri, 7 Apr 2017 08:35:03 +0000 (17:35 +0900)]
Add internal API to set priv_id

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ica28df2a911553617b0a0503310af955aedee656

7 years agoRelease version 0.3.12 07/122807/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190650 accepted/tizen/ivi/20170404.060301 accepted/tizen/mobile/20170404.060201 accepted/tizen/tv/20170404.060226 accepted/tizen/unified/20170404.060313 accepted/tizen/wearable/20170404.060245 submit/tizen/20170403.122014
Myungki Lee [Mon, 3 Apr 2017 12:00:25 +0000 (21:00 +0900)]
Release version 0.3.12

- Change default display_applist

Change-Id: I89510ebfb0aceb2af15ca834a15f474e44731dbb
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoChange default display_applist 96/122796/2
Myungki Lee [Mon, 3 Apr 2017 11:48:09 +0000 (20:48 +0900)]
Change default display_applist

- NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY
  NOTIFICATION_DISPLAY_APP_LOCK
  NOTIFICATION_DISPLAY_APP_TICKER
  NOTIFICATION_DISPLAY_APP_INDICATOR

Change-Id: If2e629d0f578ee8eb7898eb338b96297e996cbc2
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd missing element for notificaiton_clone api 43/122343/1
Myungki Lee [Fri, 31 Mar 2017 05:44:21 +0000 (14:44 +0900)]
Add missing element for notificaiton_clone api

- extension_image_size

Change-Id: I53efcc97360babdf919ac52952de5e5fe69e48b3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.11 90/121490/1 accepted/tizen/common/20170329.171704 accepted/tizen/ivi/20170329.033337 accepted/tizen/mobile/20170329.033147 accepted/tizen/tv/20170329.033303 accepted/tizen/unified/20170329.033354 accepted/tizen/wearable/20170329.033320 submit/tizen/20170328.062157
seungha.son [Tue, 28 Mar 2017 06:18:55 +0000 (15:18 +0900)]
Release version 0.3.11

 - Fix Memory Leak
 - Remove unnecessary line

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I53acea5df9c6eb278015dcc93fb1f25d8c418ca6

7 years agoFix Memory Leak 68/120268/9
seungha.son [Wed, 22 Mar 2017 07:32:42 +0000 (16:32 +0900)]
Fix Memory Leak

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Idcd8ca903456b13e15f5c7e150296c19e5a6af02
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRemove unnecessary line 46/121346/1
seungha.son [Tue, 28 Mar 2017 00:03:36 +0000 (09:03 +0900)]
Remove unnecessary line

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I82645258abfb631347f3b8efade88e76b8f9bd14

7 years agoRelease version 0.3.10 77/120577/1 accepted/tizen/common/20170323.154522 accepted/tizen/ivi/20170324.023220 accepted/tizen/mobile/20170324.023127 accepted/tizen/tv/20170324.023144 accepted/tizen/unified/20170324.023238 accepted/tizen/wearable/20170324.023203 submit/tizen/20170323.080501
seungha.son [Thu, 23 Mar 2017 08:02:32 +0000 (17:02 +0900)]
Release version 0.3.10

 Fix wrong statement condition

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I38cf066ab5aacf673fde1ead1c5896053c16a466

7 years agoFix wrong statement condition 02/120402/5
seungha.son [Thu, 23 Mar 2017 00:49:29 +0000 (09:49 +0900)]
Fix wrong statement condition

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I9c73e8d3a4b20c588217bf5692893f6179e890ba

7 years agoRelease version 0.3.9 39/120439/1
seungha.son [Thu, 23 Mar 2017 02:12:13 +0000 (11:12 +0900)]
Release version 0.3.9

 - Use license macro

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Iccfbe03bdf76e8e1c8d68eb168232851aa326eaa

7 years agoUse license macro 09/120409/1
seungha.son [Thu, 23 Mar 2017 01:31:17 +0000 (10:31 +0900)]
Use license macro

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ic840894bd9368ee56185fc51ae69af0b1f647dbd

7 years agoRelease version 0.3.8 18/120318/1 accepted/tizen/common/20170322.153924 accepted/tizen/ivi/20170323.000120 accepted/tizen/mobile/20170323.000030 accepted/tizen/tv/20170323.000053 accepted/tizen/unified/20170323.000136 accepted/tizen/wearable/20170323.000108 submit/tizen/20170322.090742
seungha.son [Wed, 22 Mar 2017 09:04:17 +0000 (18:04 +0900)]
Release version 0.3.8

 - Add internal API to support C# API

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I8084a10526dbffecc5ba6adeeeaece35be991c1b

7 years agoAdd internal API to support C# API 53/119953/11
seungha.son [Tue, 21 Mar 2017 01:40:36 +0000 (10:40 +0900)]
Add internal API to support C# API

 - notification_send_event_by_priv_id
 - notification_set_extention_data
 - notification_get_extention_data

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I25e88295a0776c63982849a8a6ca27f3a34df18b

7 years agoRelease version 0.3.7 31/120231/1 accepted/tizen/ivi/20170322.235355 accepted/tizen/mobile/20170322.235302 accepted/tizen/tv/20170322.235329 accepted/tizen/unified/20170322.235408 accepted/tizen/wearable/20170322.235346 submit/tizen/20170322.065653
Myungki Lee [Wed, 22 Mar 2017 06:42:15 +0000 (15:42 +0900)]
Release version 0.3.7

- Remove enum's max value in public header

Change-Id: I8bec32063647bca78b6967147ccdcbcd6984cdbc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoChange enum's name for display application list 43/118943/3
Myungki Lee [Wed, 15 Mar 2017 01:22:38 +0000 (10:22 +0900)]
Change enum's name for display application list

- _notificaton_display_applist -> _notification_display_applist

Change-Id: I6c6c3c659a69da58f9abf63f608ce053e6803286
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove enum's max value in public header 77/119177/4
Myungki Lee [Thu, 16 Mar 2017 08:05:14 +0000 (17:05 +0900)]
Remove enum's max value in public header

Change-Id: I3505f837e3697e350c3a63b4441647ba4cac1d1f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.6 63/119363/1 accepted/tizen/common/20170316.162037 accepted/tizen/ivi/20170316.222802 accepted/tizen/mobile/20170316.222716 accepted/tizen/tv/20170316.222734 accepted/tizen/unified/20170316.222824 accepted/tizen/wearable/20170316.222748 submit/tizen/20170316.123811
Myungki Lee [Thu, 16 Mar 2017 12:29:08 +0000 (21:29 +0900)]
Release version 0.3.6

- Fix wrong name of db column

Change-Id: Ic6deb4f2aeede68e4b998846caebd9c2f27b15c0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix wrong name of db column 59/119359/1
Myungki Lee [Thu, 16 Mar 2017 11:55:06 +0000 (20:55 +0900)]
Fix wrong name of db column

Change-Id: I6c43019acb48011a6b3cc4dda1f73a78b1b73655
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix typo 20/118920/2
Myungki Lee [Wed, 15 Mar 2017 01:19:03 +0000 (10:19 +0900)]
Fix typo

- notificaton -> notification

Change-Id: If1931e0ce5861ea1742c132735b4c0ce2fca3e90
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.5 84/118884/1 accepted/tizen/common/20170314.173218 accepted/tizen/ivi/20170314.223832 accepted/tizen/mobile/20170314.223748 accepted/tizen/tv/20170314.223804 accepted/tizen/unified/20170315.014729 accepted/tizen/wearable/20170314.223818 submit/tizen/20170314.102321
Myungki Lee [Tue, 14 Mar 2017 10:07:20 +0000 (19:07 +0900)]
Release version 0.3.5

- Add apis for the extended notification

Change-Id: Ia9123f09b8ad2b9b0afc549535d402d6c3bc04f4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd apis for the extended notification 00/114600/7
Myungki Lee [Fri, 3 Mar 2017 02:24:11 +0000 (11:24 +0900)]
Add apis for the extended notification

- api
  notification_set_extension_image_size
  notification_get_extension_image_size
- enum
  NOTIFICATION_TEXT_TYPE_CONTENT_EXTENSION
  NOTIFICATION_IMAGE_TYPE_EXTENSION
  NOTIFICATION_LY_EXTENSION

Change-Id: I681207b4f8ae3285f7a3a253bcb32d7d954fe924
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.4 37/118237/1 accepted/tizen/common/20170309.175658 accepted/tizen/ivi/20170310.031904 accepted/tizen/mobile/20170310.031800 accepted/tizen/tv/20170310.031829 accepted/tizen/unified/20170310.075628 accepted/tizen/wearable/20170310.031845 submit/tizen/20170309.095625 submit/tizen_unified/20170310.011401
Myungki Lee [Thu, 9 Mar 2017 08:58:21 +0000 (17:58 +0900)]
Release version 0.3.4

- Remove NODISPLAY appinfo filter

Change-Id: Ife7f723866764810baa160fe7d79cff464626f38
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove NODISPLAY appinfo filter 10/118210/1
seungha.son [Thu, 9 Mar 2017 07:17:02 +0000 (16:17 +0900)]
Remove NODISPLAY appinfo filter

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Iccffca7eb9e9c3a7bbad4005dd953b6983530769

7 years agoRelease version 0.3.3 69/116169/1 accepted/tizen/common/20170227.042941 accepted/tizen/ivi/20170224.064903 accepted/tizen/mobile/20170224.064815 accepted/tizen/tv/20170224.064837 accepted/tizen/unified/20170309.031843 accepted/tizen/wearable/20170224.064848 submit/tizen/20170223.041231 submit/tizen/20170224.003023 submit/tizen_unified/20170308.100405
Myungki Lee [Thu, 23 Feb 2017 07:54:45 +0000 (16:54 +0900)]
Release version 0.3.3

 - Add missing dbus_error_entry

Change-Id: Ib52a005b3fdab099838e930d3b43b6eabcf41813
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd missing dbus_error_entry 64/116164/2
Myungki Lee [Thu, 23 Feb 2017 07:40:15 +0000 (16:40 +0900)]
Add missing dbus_error_entry

- NOTIFICATION_ERROR_MAX_EXCEEDED

Change-Id: I2ac4445394a3fc06807d92b915949d0ed1bed59a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.2 35/115735/1 accepted/tizen/common/20170221.135413 accepted/tizen/ivi/20170222.094035 accepted/tizen/mobile/20170222.093932 accepted/tizen/tv/20170222.093958 accepted/tizen/wearable/20170222.094012 submit/tizen/20170221.073534
Myungki Lee [Tue, 21 Feb 2017 07:02:32 +0000 (16:02 +0900)]
Release version 0.3.2

- Fix memory leak

Change-Id: Id4c2ee28fc6332f6b1bf7257d8bdbc8aeff32b20
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix memory leak 41/114341/4
Myungki Lee [Tue, 14 Feb 2017 06:40:42 +0000 (15:40 +0900)]
Fix memory leak

Change-Id: I90566d1a2958a35d384c28d9781fbd7f0b9e7288
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.1 03/112403/1
seungha.son [Wed, 1 Feb 2017 01:05:55 +0000 (10:05 +0900)]
Release version 0.3.1

 - Fix memory leak

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: If943ffd35d185e221c0c0d0fd7de6c0e02a0383c

7 years agoFix memory leak 02/112002/1
seungha.son [Wed, 25 Jan 2017 08:09:23 +0000 (17:09 +0900)]
Fix memory leak

 - If body is floating, memory corruption is occured when msg get body
   in g_dbus_connection_send_message_with_reply()
   So, this problem can be solved by increase reference count of body
   when body is floating.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ifaffa3153b111d91a8e20c6ad5c9e228548983c9

7 years agoRelease version 0.3.0 08/111008/1 accepted/tizen/common/20170125.112730 accepted/tizen/ivi/20170119.222120 accepted/tizen/mobile/20170119.221559 accepted/tizen/tv/20170119.221836 accepted/tizen/wearable/20170119.222009 submit/tizen/20170119.070147
seungha.son [Thu, 19 Jan 2017 07:13:36 +0000 (16:13 +0900)]
Release version 0.3.0

 - Add new API
 - Fix some bug

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I80fa56706f6c6937717c22400ac37fb75c11a4d9

7 years agoAdd exception handling for '%' 03/110803/2 accepted/tizen/3.0/common/20170120.102108 accepted/tizen/3.0/ivi/20170119.225304 accepted/tizen/3.0/mobile/20170119.225216 accepted/tizen/3.0/tv/20170119.225232 accepted/tizen/3.0/wearable/20170119.225247 submit/tizen_3.0/20170118.065338
Myungki Lee [Wed, 18 Jan 2017 05:25:51 +0000 (14:25 +0900)]
Add exception handling for '%'

- At get_text,'%' is not to be ignored.

Change-Id: Ie633e80d8ff7f7de5116f4fe17612a3e4e1ebb80
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix versioning 91/110691/4
seungha.son [Tue, 17 Jan 2017 11:44:58 +0000 (20:44 +0900)]
Fix versioning

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I0946ecb6f3694a52973752c1321a79148cfeeb9b

7 years agoAdds new API for get/set delete timeout 60/110560/8 accepted/tizen/3.0/common/20170118.131227 accepted/tizen/3.0/ivi/20170118.043503 accepted/tizen/3.0/mobile/20170118.043448 accepted/tizen/3.0/tv/20170118.043455 accepted/tizen/3.0/wearable/20170118.043459 submit/tizen_3.0/20170117.104748
seungha.son [Tue, 17 Jan 2017 02:23:34 +0000 (11:23 +0900)]
Adds new API for get/set delete timeout

 - Get/Set timeout value in second when the notification can be hidden
   from the viewer.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I2a013f58da6aa16bf153e2ca6eb5641a661e92c5

7 years agoChange the logic to check allowed_to_notify() 93/110093/4
Myungki Lee [Tue, 17 Jan 2017 00:49:00 +0000 (09:49 +0900)]
Change the logic to check allowed_to_notify()

- if there is no app_control and can't get settting,
  should not check allow_to_notify and app_disabled.
- Adjust the log level because no setting is not an error.

Change-Id: I69bec78ce07c617e39f46af8b135ae0ed4bdbffc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoExclude function from measure coverage 12/110012/5
Myungki Lee [Fri, 13 Jan 2017 10:59:29 +0000 (19:59 +0900)]
Exclude function from measure coverage

- notification_setting_db_update_app_disabled : called when app disabled
- get_setting_from_app_control : called if can't find setting

Change-Id: Iaa37e24a1a741fd3e539de23bea248e9e57f4ac1
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdds additional dnd schedule week enum value 26/110226/1 accepted/tizen/3.0/common/20170117.075728 accepted/tizen/3.0/ivi/20170117.005701 accepted/tizen/3.0/mobile/20170117.005610 accepted/tizen/3.0/tv/20170117.005624 accepted/tizen/3.0/wearable/20170117.005644 submit/tizen_3.0/20170116.091328
seungha.son [Fri, 13 Jan 2017 09:18:25 +0000 (18:18 +0900)]
Adds additional dnd schedule week enum value

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ie159f263c9eae0bca80f592f4a0496cf584f7fb9

7 years agoFix wrong log level 10/109710/1 accepted/tizen/3.0/common/20170113.181937 accepted/tizen/3.0/ivi/20170113.080200 accepted/tizen/3.0/mobile/20170113.080108 accepted/tizen/3.0/tv/20170113.080124 accepted/tizen/3.0/wearable/20170113.080142 accepted/tizen/common/20170113.184543 accepted/tizen/ivi/20170112.223115 accepted/tizen/mobile/20170112.223014 accepted/tizen/tv/20170112.223040 accepted/tizen/wearable/20170112.223058 submit/tizen/20170112.062902 submit/tizen_3.0/20170111.084510 submit/tizen_common/20170112.224201
seungha.son [Wed, 11 Jan 2017 08:31:52 +0000 (17:31 +0900)]
Fix wrong log level

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I52b32aa028f9842b7cbbfc1cf5ffbf871a2a8716

7 years agoChanges type conversion macros 90/109690/1
seungha.son [Wed, 11 Jan 2017 07:06:42 +0000 (16:06 +0900)]
Changes type conversion macros

 - Match declared data type and conversion macros.
 - variable 'priv_id' is declared to int.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I0e6a065d14b03c1222391f0c17eac0700c321e9f

7 years agoMerge "Modified type definitions" into tizen_3.0
seungha.son [Wed, 11 Jan 2017 07:00:33 +0000 (23:00 -0800)]
Merge "Modified type definitions" into tizen_3.0

7 years agoModified type definitions 67/109667/1
seungha.son [Wed, 11 Jan 2017 06:23:05 +0000 (15:23 +0900)]
Modified type definitions

 - This can cause pointers to be assigned to int and vice-versa.
   But on a 64-bit system, assigning a pointer to an int causes
   the truncation of the high-order 32-bits.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7d8c1e122af1b4c8a88cc8d1de9e4eaa898f9dec

7 years agoAdd a new API to check if event send is possible 71/108771/6
seungha.son [Thu, 5 Jan 2017 13:26:28 +0000 (22:26 +0900)]
Add a new API to check if event send is possible

 - New API check if notification event is sended to application.
 - This patch include, if data-provider-master is terminated abnormally,
   application check state of data-provider-master and request to
   register callback again.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I754307d375407b8c4f5d3d031af6faa4cfe2a3bf

7 years agoRemove unnecessary if() when creating a reply_body 33/108933/1
Myungki Lee [Fri, 6 Jan 2017 07:55:18 +0000 (16:55 +0900)]
Remove unnecessary if() when creating a reply_body

- Fixed an issue that updating is not possible when set to none like -1.

Change-Id: Ibb48e73adf1914e7d647d6927db00c9aae1d0820
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix notification query 97/108897/2
seungha.son [Fri, 6 Jan 2017 06:45:20 +0000 (15:45 +0900)]
Fix notification query

 - If data-provider-master send a notification handle to the application
   except for the uid column in notification db, the uid is initialized to 0.
   which is a problem.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7b174ccdb965fa49d1ef25e75d94ed3f8e8278a2

7 years agoSupport to receive cb when selected in viewer 36/107436/1 accepted/tizen/3.0/common/20170109.195429 accepted/tizen/3.0/ivi/20170105.231646 accepted/tizen/3.0/mobile/20170105.231552 accepted/tizen/3.0/tv/20170105.231612 accepted/tizen/3.0/wearable/20170105.231627 submit/tizen_3.0/20170104.055639
Myungki Lee [Wed, 28 Dec 2016 05:36:55 +0000 (14:36 +0900)]
Support to receive cb when selected in viewer

- if user select a notification on quickpanel, receive a pressed event cb.
  if user swipe a notification on quickpanel, receive a deleted event cb.

Change-Id: Ibe691e5af49ef1ecaee82b7363fef47ece00c096
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>