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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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>
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>
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
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
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
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
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
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
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
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>
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
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>
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
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>
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>
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>
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>
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
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
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
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
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
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>
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>
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>
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>
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>
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
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
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
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>
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
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
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>
jusung son [Mon, 10 Apr 2017 09:43:49 +0000 (02:43 -0700)]
Merge "Remove unnecessary logic to update the priv id" into tizen
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
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
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>
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>
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>
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
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>
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
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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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
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
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>
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
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
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>
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>
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
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
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
seungha.son [Wed, 11 Jan 2017 07:00:33 +0000 (23:00 -0800)]
Merge "Modified type definitions" into tizen_3.0
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
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
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>
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
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>