summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2015-05-01 12:19:40 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2015-05-01 12:19:55 +0900
commit7261148866f1cdcbebcc3dfd41284720a1b6b059 (patch)
tree7340e30b66f8edab809324f602b1c04914864eb1
parent2c0affe92c79d68625ca4ea8d6a3386192850d6f (diff)
downloadnotification-7261148866f1cdcbebcc3dfd41284720a1b6b059.tar.gz
notification-7261148866f1cdcbebcc3dfd41284720a1b6b059.tar.bz2
notification-7261148866f1cdcbebcc3dfd41284720a1b6b059.zip
Give detail license information
Change-Id: I5b2a79f089f3b8d77a477f095fece5e92926ca88 Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rw-r--r--[-rwxr-xr-x]AUTHORS0
-rw-r--r--[-rwxr-xr-x]CMakeLists.txt2
-rw-r--r--[-rwxr-xr-x]LICENSE0
-rw-r--r--[-rwxr-xr-x]TC/_export_env.sh0
-rw-r--r--[-rwxr-xr-x]TC/_export_target_env.sh0
-rw-r--r--[-rwxr-xr-x]TC/build.sh0
-rw-r--r--[-rwxr-xr-x]TC/clean.sh0
-rw-r--r--[-rwxr-xr-x]TC/config0
-rw-r--r--[-rwxr-xr-x]TC/push.sh0
-rw-r--r--[-rwxr-xr-x]TC/run.sh0
-rw-r--r--[-rwxr-xr-x]TC/testcase/Makefile0
-rw-r--r--[-rwxr-xr-x]TC/testcase/tslist0
-rw-r--r--[-rwxr-xr-x]TC/testcase/utc_notification.c0
-rw-r--r--[-rwxr-xr-x]TC/testcase/utc_notification_list.c0
-rw-r--r--[-rwxr-xr-x]TC/testcase/utc_notification_setting.c0
-rw-r--r--[-rwxr-xr-x]TC/testcase/utc_notification_status.c0
-rw-r--r--[-rwxr-xr-x]TC/tet_scen0
-rw-r--r--[-rwxr-xr-x]TC/tetbuild.cfg0
-rw-r--r--[-rwxr-xr-x]TC/tetclean.cfg0
-rw-r--r--[-rwxr-xr-x]TC/tetexec.cfg0
-rw-r--r--[-rwxr-xr-x]debian/control0
-rw-r--r--[-rwxr-xr-x]debian/libnotification-0.postinst.in0
-rw-r--r--[-rwxr-xr-x]debian/rules0
-rw-r--r--[-rwxr-xr-x]doc/notification_doc.h0
-rw-r--r--[-rwxr-xr-x]include/notification.h0
-rw-r--r--[-rwxr-xr-x]include/notification_db.h0
-rw-r--r--[-rwxr-xr-x]include/notification_debug.h0
-rw-r--r--[-rwxr-xr-x]include/notification_error.h0
-rw-r--r--[-rwxr-xr-x]include/notification_group.h0
-rw-r--r--[-rwxr-xr-x]include/notification_internal.h0
-rw-r--r--[-rwxr-xr-x]include/notification_ipc.h0
-rw-r--r--[-rwxr-xr-x]include/notification_list.h0
-rw-r--r--[-rwxr-xr-x]include/notification_noti.h0
-rw-r--r--[-rwxr-xr-x]include/notification_ongoing.h0
-rw-r--r--[-rwxr-xr-x]include/notification_private.h0
-rw-r--r--[-rwxr-xr-x]include/notification_setting.h0
-rw-r--r--[-rwxr-xr-x]include/notification_setting_service.h0
-rw-r--r--[-rwxr-xr-x]include/notification_status.h0
-rw-r--r--[-rwxr-xr-x]include/notification_type.h0
-rw-r--r--[-rwxr-xr-x]notification-service.pc.in0
-rw-r--r--[-rwxr-xr-x]notification.manifest0
-rw-r--r--[-rwxr-xr-x]notification.pc.in0
-rw-r--r--[-rwxr-xr-x]packaging/notification.spec2
-rw-r--r--[-rwxr-xr-x]src/notification.c0
-rw-r--r--[-rwxr-xr-x]src/notification_db.c0
-rw-r--r--[-rwxr-xr-x]src/notification_group.c0
-rw-r--r--[-rwxr-xr-x]src/notification_ipc.c0
-rw-r--r--[-rwxr-xr-x]src/notification_list.c0
-rw-r--r--[-rwxr-xr-x]src/notification_noti.c0
-rw-r--r--[-rwxr-xr-x]src/notification_ongoing.c0
-rw-r--r--[-rwxr-xr-x]src/notification_permission.c0
-rw-r--r--[-rwxr-xr-x]src/notification_setting.c0
-rw-r--r--[-rwxr-xr-x]src/notification_status.c0
-rw-r--r--[-rwxr-xr-x]test-app/CMakeLists.txt4
-rw-r--r--[-rwxr-xr-x]test-app/main.c14
55 files changed, 18 insertions, 4 deletions
diff --git a/AUTHORS b/AUTHORS
index fa6ae31..fa6ae31 100755..100644
--- a/AUTHORS
+++ b/AUTHORS
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0df7493..53ec145 100755..100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ SET(DBFILE ".notification.db")
SET(MAJOR_VER 0)
SET(VERSION ${MAJOR_VER}.1.0)
-# ADD_SUBDIRECTORY(test-app)
+ADD_SUBDIRECTORY(test-app)
SET(SRCS
./src/notification.c
diff --git a/LICENSE b/LICENSE
index a06208b..a06208b 100755..100644
--- a/LICENSE
+++ b/LICENSE
diff --git a/TC/_export_env.sh b/TC/_export_env.sh
index 7a317f8..7a317f8 100755..100644
--- a/TC/_export_env.sh
+++ b/TC/_export_env.sh
diff --git a/TC/_export_target_env.sh b/TC/_export_target_env.sh
index 5e005cf..5e005cf 100755..100644
--- a/TC/_export_target_env.sh
+++ b/TC/_export_target_env.sh
diff --git a/TC/build.sh b/TC/build.sh
index 72aad6c..72aad6c 100755..100644
--- a/TC/build.sh
+++ b/TC/build.sh
diff --git a/TC/clean.sh b/TC/clean.sh
index 29743e0..29743e0 100755..100644
--- a/TC/clean.sh
+++ b/TC/clean.sh
diff --git a/TC/config b/TC/config
index e3b6f33..e3b6f33 100755..100644
--- a/TC/config
+++ b/TC/config
diff --git a/TC/push.sh b/TC/push.sh
index 5eb9510..5eb9510 100755..100644
--- a/TC/push.sh
+++ b/TC/push.sh
diff --git a/TC/run.sh b/TC/run.sh
index cec5778..cec5778 100755..100644
--- a/TC/run.sh
+++ b/TC/run.sh
diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile
index 2f5ca3d..2f5ca3d 100755..100644
--- a/TC/testcase/Makefile
+++ b/TC/testcase/Makefile
diff --git a/TC/testcase/tslist b/TC/testcase/tslist
index 90e5298..90e5298 100755..100644
--- a/TC/testcase/tslist
+++ b/TC/testcase/tslist
diff --git a/TC/testcase/utc_notification.c b/TC/testcase/utc_notification.c
index 527a11f..527a11f 100755..100644
--- a/TC/testcase/utc_notification.c
+++ b/TC/testcase/utc_notification.c
diff --git a/TC/testcase/utc_notification_list.c b/TC/testcase/utc_notification_list.c
index 32ac3da..32ac3da 100755..100644
--- a/TC/testcase/utc_notification_list.c
+++ b/TC/testcase/utc_notification_list.c
diff --git a/TC/testcase/utc_notification_setting.c b/TC/testcase/utc_notification_setting.c
index 8dc13db..8dc13db 100755..100644
--- a/TC/testcase/utc_notification_setting.c
+++ b/TC/testcase/utc_notification_setting.c
diff --git a/TC/testcase/utc_notification_status.c b/TC/testcase/utc_notification_status.c
index 0ff9a63..0ff9a63 100755..100644
--- a/TC/testcase/utc_notification_status.c
+++ b/TC/testcase/utc_notification_status.c
diff --git a/TC/tet_scen b/TC/tet_scen
index 03f029a..03f029a 100755..100644
--- a/TC/tet_scen
+++ b/TC/tet_scen
diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg
index f7eda55..f7eda55 100755..100644
--- a/TC/tetbuild.cfg
+++ b/TC/tetbuild.cfg
diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg
index 2a0477a..2a0477a 100755..100644
--- a/TC/tetclean.cfg
+++ b/TC/tetclean.cfg
diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg
index ef3e452..ef3e452 100755..100644
--- a/TC/tetexec.cfg
+++ b/TC/tetexec.cfg
diff --git a/debian/control b/debian/control
index ebff257..ebff257 100755..100644
--- a/debian/control
+++ b/debian/control
diff --git a/debian/libnotification-0.postinst.in b/debian/libnotification-0.postinst.in
index fcf05fb..fcf05fb 100755..100644
--- a/debian/libnotification-0.postinst.in
+++ b/debian/libnotification-0.postinst.in
diff --git a/debian/rules b/debian/rules
index 8cd299e..8cd299e 100755..100644
--- a/debian/rules
+++ b/debian/rules
diff --git a/doc/notification_doc.h b/doc/notification_doc.h
index 2dac2af..2dac2af 100755..100644
--- a/doc/notification_doc.h
+++ b/doc/notification_doc.h
diff --git a/include/notification.h b/include/notification.h
index a22b6e6..a22b6e6 100755..100644
--- a/include/notification.h
+++ b/include/notification.h
diff --git a/include/notification_db.h b/include/notification_db.h
index 1e3482c..1e3482c 100755..100644
--- a/include/notification_db.h
+++ b/include/notification_db.h
diff --git a/include/notification_debug.h b/include/notification_debug.h
index e507471..e507471 100755..100644
--- a/include/notification_debug.h
+++ b/include/notification_debug.h
diff --git a/include/notification_error.h b/include/notification_error.h
index 0616cc8..0616cc8 100755..100644
--- a/include/notification_error.h
+++ b/include/notification_error.h
diff --git a/include/notification_group.h b/include/notification_group.h
index 2bff013..2bff013 100755..100644
--- a/include/notification_group.h
+++ b/include/notification_group.h
diff --git a/include/notification_internal.h b/include/notification_internal.h
index 341e763..341e763 100755..100644
--- a/include/notification_internal.h
+++ b/include/notification_internal.h
diff --git a/include/notification_ipc.h b/include/notification_ipc.h
index 0eb7827..0eb7827 100755..100644
--- a/include/notification_ipc.h
+++ b/include/notification_ipc.h
diff --git a/include/notification_list.h b/include/notification_list.h
index e174d6a..e174d6a 100755..100644
--- a/include/notification_list.h
+++ b/include/notification_list.h
diff --git a/include/notification_noti.h b/include/notification_noti.h
index 733acff..733acff 100755..100644
--- a/include/notification_noti.h
+++ b/include/notification_noti.h
diff --git a/include/notification_ongoing.h b/include/notification_ongoing.h
index 5fb4141..5fb4141 100755..100644
--- a/include/notification_ongoing.h
+++ b/include/notification_ongoing.h
diff --git a/include/notification_private.h b/include/notification_private.h
index a5c7cb0..a5c7cb0 100755..100644
--- a/include/notification_private.h
+++ b/include/notification_private.h
diff --git a/include/notification_setting.h b/include/notification_setting.h
index 6acc7bf..6acc7bf 100755..100644
--- a/include/notification_setting.h
+++ b/include/notification_setting.h
diff --git a/include/notification_setting_service.h b/include/notification_setting_service.h
index 789d60e..789d60e 100755..100644
--- a/include/notification_setting_service.h
+++ b/include/notification_setting_service.h
diff --git a/include/notification_status.h b/include/notification_status.h
index 35b8e5b..35b8e5b 100755..100644
--- a/include/notification_status.h
+++ b/include/notification_status.h
diff --git a/include/notification_type.h b/include/notification_type.h
index 9e3cba5..9e3cba5 100755..100644
--- a/include/notification_type.h
+++ b/include/notification_type.h
diff --git a/notification-service.pc.in b/notification-service.pc.in
index 2708490..2708490 100755..100644
--- a/notification-service.pc.in
+++ b/notification-service.pc.in
diff --git a/notification.manifest b/notification.manifest
index 061daab..061daab 100755..100644
--- a/notification.manifest
+++ b/notification.manifest
diff --git a/notification.pc.in b/notification.pc.in
index 15e8662..15e8662 100755..100644
--- a/notification.pc.in
+++ b/notification.pc.in
diff --git a/packaging/notification.spec b/packaging/notification.spec
index 9d64155..1b8aa1a 100755..100644
--- a/packaging/notification.spec
+++ b/packaging/notification.spec
@@ -3,7 +3,7 @@ Summary: notification library
Version: 0.2.25
Release: 1
Group: TBD
-License: Apache
+License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(db-util)
diff --git a/src/notification.c b/src/notification.c
index a903d7c..a903d7c 100755..100644
--- a/src/notification.c
+++ b/src/notification.c
diff --git a/src/notification_db.c b/src/notification_db.c
index 6450641..6450641 100755..100644
--- a/src/notification_db.c
+++ b/src/notification_db.c
diff --git a/src/notification_group.c b/src/notification_group.c
index 439d9c8..439d9c8 100755..100644
--- a/src/notification_group.c
+++ b/src/notification_group.c
diff --git a/src/notification_ipc.c b/src/notification_ipc.c
index ac1391b..ac1391b 100755..100644
--- a/src/notification_ipc.c
+++ b/src/notification_ipc.c
diff --git a/src/notification_list.c b/src/notification_list.c
index 97d205a..97d205a 100755..100644
--- a/src/notification_list.c
+++ b/src/notification_list.c
diff --git a/src/notification_noti.c b/src/notification_noti.c
index 84df045..84df045 100755..100644
--- a/src/notification_noti.c
+++ b/src/notification_noti.c
diff --git a/src/notification_ongoing.c b/src/notification_ongoing.c
index f67665a..f67665a 100755..100644
--- a/src/notification_ongoing.c
+++ b/src/notification_ongoing.c
diff --git a/src/notification_permission.c b/src/notification_permission.c
index c9de272..c9de272 100755..100644
--- a/src/notification_permission.c
+++ b/src/notification_permission.c
diff --git a/src/notification_setting.c b/src/notification_setting.c
index 6e532c0..6e532c0 100755..100644
--- a/src/notification_setting.c
+++ b/src/notification_setting.c
diff --git a/src/notification_status.c b/src/notification_status.c
index 5071851..5071851 100755..100644
--- a/src/notification_status.c
+++ b/src/notification_status.c
diff --git a/test-app/CMakeLists.txt b/test-app/CMakeLists.txt
index 6e53af2..5d09def 100755..100644
--- a/test-app/CMakeLists.txt
+++ b/test-app/CMakeLists.txt
@@ -13,7 +13,7 @@ MESSAGE(">>> Build type: ${CMAKE_BUILD_TYPE}")
SET(VISIBILITY "-DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VISIBILITY} -fvisibility=hidden")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections -fPIC")
##########################################################
# Define Test App
@@ -35,7 +35,7 @@ FOREACH(flag ${test_app_pkgs_CFLAGS})
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie ")
ADD_EXECUTABLE(notification-test-app ${TEST-APP-SRCS})
TARGET_LINK_LIBRARIES(notification-test-app ${test_app_pkgs_LDFLAGS} notification)
diff --git a/test-app/main.c b/test-app/main.c
index e132f2f..229219a 100755..100644
--- a/test-app/main.c
+++ b/test-app/main.c
@@ -144,6 +144,7 @@ void testapp_show_menu (testapp_menu_type_e menu)
testapp_print (" 2. Post simple notifications repeatedly\n");
testapp_print (" 3. Post a notification on indicator\n");
testapp_print (" 4. Post status status message\n");
+ testapp_print (" 5. Delete all notification\n");
testapp_print ("------------------------------------------\n");
break;
default:
@@ -279,7 +280,16 @@ static int testapp_test_post_status_message()
return noti_err;
}
+static int testapp_test_delete_all_notifications()
+{
+ int noti_err = NOTIFICATION_ERROR_NONE;
+ noti_err = notification_delete_all(NOTIFICATION_TYPE_NOTI);
+
+ testapp_print("notification_delete_all returns[%d]", noti_err);
+
+ return noti_err;
+}
static gboolean testapp_interpret_command_basic_test (int selected_number)
{
@@ -302,6 +312,10 @@ static gboolean testapp_interpret_command_basic_test (int selected_number)
testapp_test_post_status_message();
break;
+ case 5:
+ testapp_test_delete_all_notifications();
+ break;
+
case 0:
go_to_loop = FALSE;
break;