Give detail license information
authorKyuho Jo <kyuho.jo@samsung.com>
Fri, 1 May 2015 03:19:40 +0000 (12:19 +0900)
committerKyuho Jo <kyuho.jo@samsung.com>
Fri, 1 May 2015 03:19:55 +0000 (12:19 +0900)
Change-Id: I5b2a79f089f3b8d77a477f095fece5e92926ca88
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
55 files changed:
AUTHORS [changed mode: 0755->0644]
CMakeLists.txt [changed mode: 0755->0644]
LICENSE [changed mode: 0755->0644]
TC/_export_env.sh [changed mode: 0755->0644]
TC/_export_target_env.sh [changed mode: 0755->0644]
TC/build.sh [changed mode: 0755->0644]
TC/clean.sh [changed mode: 0755->0644]
TC/config [changed mode: 0755->0644]
TC/push.sh [changed mode: 0755->0644]
TC/run.sh [changed mode: 0755->0644]
TC/testcase/Makefile [changed mode: 0755->0644]
TC/testcase/tslist [changed mode: 0755->0644]
TC/testcase/utc_notification.c [changed mode: 0755->0644]
TC/testcase/utc_notification_list.c [changed mode: 0755->0644]
TC/testcase/utc_notification_setting.c [changed mode: 0755->0644]
TC/testcase/utc_notification_status.c [changed mode: 0755->0644]
TC/tet_scen [changed mode: 0755->0644]
TC/tetbuild.cfg [changed mode: 0755->0644]
TC/tetclean.cfg [changed mode: 0755->0644]
TC/tetexec.cfg [changed mode: 0755->0644]
debian/control [changed mode: 0755->0644]
debian/libnotification-0.postinst.in [changed mode: 0755->0644]
debian/rules [changed mode: 0755->0644]
doc/notification_doc.h [changed mode: 0755->0644]
include/notification.h [changed mode: 0755->0644]
include/notification_db.h [changed mode: 0755->0644]
include/notification_debug.h [changed mode: 0755->0644]
include/notification_error.h [changed mode: 0755->0644]
include/notification_group.h [changed mode: 0755->0644]
include/notification_internal.h [changed mode: 0755->0644]
include/notification_ipc.h [changed mode: 0755->0644]
include/notification_list.h [changed mode: 0755->0644]
include/notification_noti.h [changed mode: 0755->0644]
include/notification_ongoing.h [changed mode: 0755->0644]
include/notification_private.h [changed mode: 0755->0644]
include/notification_setting.h [changed mode: 0755->0644]
include/notification_setting_service.h [changed mode: 0755->0644]
include/notification_status.h [changed mode: 0755->0644]
include/notification_type.h [changed mode: 0755->0644]
notification-service.pc.in [changed mode: 0755->0644]
notification.manifest [changed mode: 0755->0644]
notification.pc.in [changed mode: 0755->0644]
packaging/notification.spec [changed mode: 0755->0644]
src/notification.c [changed mode: 0755->0644]
src/notification_db.c [changed mode: 0755->0644]
src/notification_group.c [changed mode: 0755->0644]
src/notification_ipc.c [changed mode: 0755->0644]
src/notification_list.c [changed mode: 0755->0644]
src/notification_noti.c [changed mode: 0755->0644]
src/notification_ongoing.c [changed mode: 0755->0644]
src/notification_permission.c [changed mode: 0755->0644]
src/notification_setting.c [changed mode: 0755->0644]
src/notification_status.c [changed mode: 0755->0644]
test-app/CMakeLists.txt [changed mode: 0755->0644]
test-app/main.c [changed mode: 0755->0644]

diff --git a/AUTHORS b/AUTHORS
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 0df7493..53ec145
@@ -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
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 9d64155..1b8aa1a
@@ -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)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 6e53af2..5d09def
@@ -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)
old mode 100755 (executable)
new mode 100644 (file)
index e132f2f..229219a
@@ -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;