Update codes for TIZEN 2.0
authorGoo Lee <goo81.lee@samsung.com>
Tue, 21 Aug 2012 12:33:43 +0000 (21:33 +0900)
committerGoo Lee <goo81.lee@samsung.com>
Tue, 21 Aug 2012 12:33:43 +0000 (21:33 +0900)
92 files changed:
03_mainmenu_icon_notes.png [new file with mode: 0644]
CMakeLists.txt
LICENSE [changed mode: 0644->0755]
debian/changelog [changed mode: 0644->0755]
debian/com.samsung.memo.install.in [moved from debian/org.tizen.memo.install.in with 78% similarity]
debian/com.samsung.memo.postinst.in [moved from debian/org.tizen.memo.postinst.in with 100% similarity]
debian/control [changed mode: 0644->0755]
debian/rules
edc/common.edc
edc/doodle_editor.edc
edc/doodle_viewer.edc
edc/edit_list.edc
edc/edit_tool.edc
edc/list.edc
edc/text_editor.edc
edc/text_viewer.edc
extend/extended-edc.h
extend/extended-elm.c
extend/extended-elm.h
extend/gravel.h
extend/supplement.c
extend/supplement.h
include/memo-assist.h
include/memo-genlist.h
include/memo.h
include/memo_autolink.h [new file with mode: 0644]
include/memo_doodle_editor.h
include/memo_log.h [new file with mode: 0644]
include/memo_string.h
include/memo_text_editor.h
include/memo_ug.h
memo.edc
org.tizen.memo.desktop.in [deleted file]
org.tizen.memo.png
org.tizen.memo.xml [new file with mode: 0644]
packaging/org.tizen.memo.spec
po/ar.po [new file with mode: 0755]
po/bg.po [new file with mode: 0755]
po/ca.po [new file with mode: 0755]
po/cs.po [new file with mode: 0755]
po/da.po [new file with mode: 0755]
po/en_US.po [new file with mode: 0755]
po/fi.po [new file with mode: 0755]
po/he.po [new file with mode: 0755]
po/hi.po [new file with mode: 0755]
po/hr.po [new file with mode: 0755]
po/hu.po [new file with mode: 0755]
po/id.po [new file with mode: 0755]
po/lt.po [new file with mode: 0755]
po/lv.po [new file with mode: 0755]
po/ms.po [new file with mode: 0755]
po/nl_NL.po
po/no.po [new file with mode: 0755]
po/pl.po [new file with mode: 0755]
po/ro.po [new file with mode: 0755]
po/ru_RU.po
po/sk.po [new file with mode: 0755]
po/sl.po [new file with mode: 0755]
po/sr.po [new file with mode: 0755]
po/sv.po [new file with mode: 0755]
po/th.po [new file with mode: 0755]
po/uk.po [new file with mode: 0755]
po/vi.po [new file with mode: 0755]
scripts/copyright [new file with mode: 0644]
scripts/str.in
scripts/string.sh [changed mode: 0755->0644]
src/memo-assist.c
src/memo-genlist.c
src/memo.c
src/memo_autolink.c [new file with mode: 0644]
src/memo_detail.c
src/memo_doodle_editor.c
src/memo_doodle_viewer.c
src/memo_edit.c
src/memo_edit_list.c
src/memo_list.c
src/memo_list_editor.c
src/memo_list_viewer.c
src/memo_text_editor.c
src/memo_text_viewer.c
src/memo_ug.c
theme/03_mainmenu_icon_notes.png [new file with mode: 0644]
theme/CMakeLists.txt
theme/INSTALL [new file with mode: 0644]
theme/LICENSE [new file with mode: 0755]
theme/NOTICE [new file with mode: 0644]
theme/black/memo.edc
theme/common.edc
theme/memo.edc [new file with mode: 0644]
theme/org.tizen.memo.png [new file with mode: 0644]
theme/org.tizen.memo.xml [new file with mode: 0644]
theme/white/memo.edc

diff --git a/03_mainmenu_icon_notes.png b/03_mainmenu_icon_notes.png
new file mode 100644 (file)
index 0000000..ea08d4c
Binary files /dev/null and b/03_mainmenu_icon_notes.png differ
index 6c261a6..dba0bbc 100644 (file)
@@ -16,7 +16,8 @@ SET(SRCS extend/supplement.c
         src/memo_doodle_viewer.c
         src/memo_doodle_editor.c
         src/memo_detail.c
-        src/memo_ug.c)
+        src/memo_ug.c
+        src/memo_autolink.c)
 
 SET(VENDOR      "tizen")
 SET(PKGPREFIX   "org.${VENDOR}")
@@ -40,7 +41,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extend)
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED appcore-efl elementary ecore ecore-x ecore-imf ecore-input eina evas edje memo iniparser ui-gadget dlog bundle appsvc heynoti)
+pkg_check_modules(pkgs REQUIRED appcore-efl elementary ecore ecore-x ecore-imf ecore-input eina evas edje memo iniparser ui-gadget-1 dlog bundle appsvc heynoti capi-appfw-application capi-system-runtime-info)
 
 FOREACH(flag ${pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
@@ -89,9 +90,8 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/memo.edj DESTINATION ${EDJDIR})
 INSTALL(DIRECTORY DESTINATION ${DOODLEDIR})
 
 # install desktop file & icon
-CONFIGURE_FILE(${PKGNAME}.desktop.in ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop DESTINATION /opt/share/applications)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.memo.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /opt/share/packages)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.memo.png DESTINATION /opt/share/icons/default/small)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_edit.png DESTINATION ${ICONDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_add.png DESTINATION ${ICONDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_others.png DESTINATION ${ICONDIR})
diff --git a/LICENSE b/LICENSE
old mode 100644 (file)
new mode 100755 (executable)
index 7ccb5b5..7b814ed
--- a/LICENSE
+++ b/LICENSE
@@ -60,7 +60,7 @@ APPENDIX: How to apply the Flora License to your work
 
 To apply the Flora License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
 
-   Copyright [yyyy] [name of copyright owner]
+   copyright 2012  Samsung Electronics Co., Ltd
 
    Licensed under the Flora License, Version 1.0 (the "License");
    you may not use this file except in compliance with the License.
old mode 100644 (file)
new mode 100755 (executable)
index 97535f5..b7f35b1
+memo (0.2.0-11) unstable; urgency=low
+
+  * [Request]Apply Manifest
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-11
+
+ -- B.J. Im <byungjai.im@samsung.com>  Thu, 31 Jul 2012 18:01:30 +0900
+memo (0.2.0-10) unstable; urgency=low
+
+  * [Request]Hide memo in menu screen.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-10
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Sat, 28 Jul 2012 13:58:30 +0800
+
+memo (0.2.0-9) unstable; urgency=low
+
+  * Fix Voice call launching problem
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-9
+
+ -- Goo Lee <goo81.lee@samsung.com>  Sat, 21 Jul 2012 17:57:30 +0800
+
+memo (0.2.0-8) unstable; urgency=low
+
+  * [Request] UG API migration .
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-8
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Sat,  Jul 2012 14:45:30 +0800
+
+memo (0.2.0-7) unstable; urgency=low
+
+  * [Bug] Fix emulator issue about when click the add comment filed in doodle editor view ,the "add comments" text won't disappear.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-7
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Fri, 13 Jul 2012 09:56:30 +0800
+
+memo (0.2.0-6) unstable; urgency=low
+
+  * [Bug] Fix Memo crash when click cancel/save button in livebox.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-6
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Wed, 11 Jul 2012 19:34:30 +0800
+
+memo (0.2.0-5) unstable; urgency=low
+
+  * [Bug] <S1-3987> Fix Memo list is displayed after selecting New on PD of memo icon
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-5
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Fri, 6 Jul 2012 17:32:30 +0800
+
+memo (0.2.0-4) unstable; urgency=low
+
+  * [Request] Remove discard vconf code.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-4
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Fri, 8 Jun 2012 15:55:30 +0800
+
+memo (0.2.0-3) unstable; urgency=low
+
+  * [Bug] Fix can't save the doodle in obs binary.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-3
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Thr, 7 Jun 2012 11:35:30 +0800
+
+memo (0.2.0-2) unstable; urgency=low
+
+  * [Request] Modify the desktop icon path.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-2
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Wed, 23 May 2012 10:45:30 +0800
+
+memo (0.2.0-1) unstable; urgency=low
+
+  * [Request] Update the sbs code to obs
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.2.0-1
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Tue, 22 May 2012 14:33:30 +0800
+memo (0.1.5-92) unstable; urgency=low
+
+  * [Request] Support Dynamic Font Change
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-92
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Tue, 15 May 2012 13:30:00 +0800
+
+memo (0.1.5-91) unstable; urgency=low
+
+  * [Request] Support Dynamic Font Change
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-91
+
+ -- Wei Hua <wei2012.hua@samsung.com>  Mon, 14 May 2012 17:37:44 +0800
+memo (0.1.5-90) unstable; urgency=low
+
+  * [S1-2646] Add callback on entry pre-edit changed signal
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-90
+
+ -- Goo Lee <goo81.lee@samsung.com>  Tue, 24 Apr 2012 13:42:44 +0800
+
+memo (0.1.5-89) unstable; urgency=low
+
+  * [S1-1922]IME is opened automatically when entring into detail view
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-89
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 26 Mar 2012 14:48:44 +0800
+
+memo (0.1.5-88) unstable; urgency=low
+
+  * Color selector is enabled.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-88
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 23 Mar 2012 11:38:34 +0800
+
+memo (0.1.5-87) unstable; urgency=low
+
+  * Upload
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-87
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 20 Mar 2012 13:19:31 +0800
+
+memo (0.1.5-86) unstable; urgency=low
+
+  * [Request]Changing SLP Prefix.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-86
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 16 Mar 2012 09:31:46 +0800
+
+memo (0.1.5-85) unstable; urgency=low
+
+  * [Request]Elementary v1.0 PKG upload.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-85
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 13 Mar 2012 20:31:39 +0800
+
+memo (0.1.5-84) unstable; urgency=low
+
+  * [Request]elm_nocontents related APIs are deprecated.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-84
+
+ -- Feng Li <feng.li@samsung.com>  Tue, 13 Mar 2012 14:05:09 +0800
+
+memo (0.1.5-83) unstable; urgency=low
+
+  * [Request]elm_entry_autocapitalization_set API is deprecated.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-83
+
+ -- Feng Li <feng.li@samsung.com>  Mon, 12 Mar 2012 17:00:07 +0800
+
+memo (0.1.5-82) unstable; urgency=low
+
+  * [Request]Changeset1 for adding performance log.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-82
+
+ -- Feng Li <feng.li@samsung.com>  Mon, 12 Mar 2012 14:30:07 +0800
+
+memo (0.1.5-81) unstable; urgency=low
+
+  * [Request]Changeset1 for add support against share memo with NFC UG.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-81
+
+ -- Feng Li <feng.li@samsung.com>  Fri, 09 Mar 2012 11:30:25 +0800
+
+memo (0.1.5-80) unstable; urgency=low
+
+  * [S1-1312]Apply scale in memo share popup box
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-80
+
+ -- Goo Lee <goo81.lee@samsung.com>  Thu, 08 Mar 2012 17:50:22 +0800
+
+memo (0.1.5-79) unstable; urgency=low
+
+  * [Request]Changeset2 for Elm_Editfield and Elm_Searchbar widgets deprecation.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-79
+
+ -- Feng Li <feng.li@samsung.com>  Sat, 03 Mar 2012 16:01:22 +0800
+
 memo (0.1.5-78) unstable; urgency=low
 
-  * Cancel button of editor can be triggered more than once by keyboard.
-  * Gitapps/m/memo
+  * [Request]upload
+  * Git : slp/apps/m/memo
   * Tag : memo_0.1.5-78
 
- -- canjiang.lu <canjiang.lu@samsung.com> Thu, 05 Apr 2012 11:43:33 +0800
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 03 Mar 2012 09:00:28 +0800
+
+memo (0.1.5-77) unstable; urgency=low
+
+  * [Request]Changeset1 for Elm_Editfield and Elm_Searchbar widgets deprecation.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-77
+
+ -- Xiaolong Ma <xiaolong_.ma@samsung.com>  Fri, 02 Mar 2012 18:03:02 +0800
+
+memo (0.1.5-76) unstable; urgency=low
+
+  * [Request]Changeset1 for Elementary API change as EFL migration.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-76
+
+ -- Feng Li <feng.li@samsung.com>  Wed, 15 Feb 2012 18:03:02 +0800
+
+memo (0.1.5-75) unstable; urgency=low
+
+  * [Request]CAPI replacement changeset 1.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-75
+
+ -- Feng Li <feng.li@samsung.com>  Tue, 14 Feb 2012 18:01:02 +0800
+
+memo (0.1.5-74) unstable; urgency=low
+
+  * [Request]Policy change for icons installation.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-74
+
+ -- Feng Li <feng.li@samsung.com>  Thu, 2 Feb 2012 14:26:02 +0800
+
+memo (0.1.5-73) unstable; urgency=low
+
+  * [Request]Voice call launch method chnages from AUL to appsvc.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-73
+
+ -- Feng Li <feng.li@samsung.com>  Mon, 30 Jan 2012 10:34:02 +0800
+
+memo (0.1.5-72) unstable; urgency=low
+
+  * [Fix bug][S1-1001]Show empty view when there's no memo.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-72
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sun, 29 Jan 2012 14:19:59 +0800
+
+memo (0.1.5-71) unstable; urgency=low
+
+  * [Fix bug]Update list viewer other then destroy and reload to eliminate the flickering screen.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-71
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 19 Jan 2012 08:44:39 +0800
+
+memo (0.1.5-70) unstable; urgency=low
+
+  * [Upload]Increase version.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-70
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 05 Jan 2012 11:09:26 +0800
+
+memo (0.1.5-69) unstable; urgency=low
+
+  * [Request]Multi-resolution support.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-69
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 04 Jan 2012 14:22:17 +0800
+
+memo (0.1.5-68) unstable; urgency=low
+
+  * [Request]API usage of elm_genlist updated.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-68
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 29 Dec 2011 15:51:22 +0800
+
+memo (0.1.5-67) unstable; urgency=low
+
+  * [Request]Remove dependency of libaccount-svc.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-67
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 27 Dec 2011 15:08:31 +0800
+
+memo (0.1.5-66) unstable; urgency=low
+
+  * [Bug]Update title of edit view with i18n string
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-66
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 26 Dec 2011 16:17:07 +0800
+
+memo (0.1.5-65) unstable; urgency=low
+
+  * [Upload]Remove deprecated header files.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-65
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 20 Dec 2011 11:18:46 +0800
+
+memo (0.1.5-64) unstable; urgency=low
+
+  * [PKG upload]update version and upload
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-64
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 19 Dec 2011 16:02:09 +0800
+
+memo (0.1.5-63) unstable; urgency=low
+
+  * [Bug]Text content of voice-talk isn't passed into memo editor.
+  * Git : slp/apps/m/memo
+  * Tag : memo_0.1.5-63
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 08 Dec 2011 09:13:10 +0800
+
+memo (0.1.5-62) unstable; urgency=low
+
+  * [Bug]Markup tag of comment displayed directly in list view. Save comment with utf8 encoding.
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-62
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 06 Dec 2011 14:24:35 +0800
+
+memo (0.1.5-61) unstable; urgency=low
+
+  * [Bug]Titles of some buttons are not in line with UI guideline.
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-61
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 03 Dec 2011 15:21:07 +0800
+
+memo (0.1.5-60) unstable; urgency=low
+
+  * only pure text can be pasted into entry(editfield, searchbar) with new introduced API elm_entry_cnp_mode_set
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-60
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 01 Dec 2011 15:48:24 +0800
+
+memo (0.1.5-59) unstable; urgency=low
+
+  * customized desktop icon from emulator/target
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-59
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 25 Nov 2011 13:14:06 +0800
+
+memo (0.1.5-58) unstable; urgency=low
+
+  * [CQ][H0100137227]use 1 pixel for bottom margin of genlist
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-58
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 23 Nov 2011 14:30:43 +0800
+
+memo (0.1.5-57) unstable; urgency=low
+
+  * [CQ][H0100137310]customized border color for font/stroke color selector
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-57
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 23 Nov 2011 13:49:05 +0800
+
+memo (0.1.5-56) unstable; urgency=low
+
+  * [CQ][H0100136706]Useless area between Options list and Close button in Share pop-up
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-56
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 22 Nov 2011 12:03:41 +0800
+
+memo (0.1.5-55) unstable; urgency=low
+
+  * remove unnecessary ecore_idler, since popup and imf hide effect do not conflict anymore
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-55
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 21 Nov 2011 13:37:47 +0800
+
+memo (0.1.5-54) unstable; urgency=low
+
+  * [fix bug]H0100137141, use win as parent of popup to prevent mouse events received by cancel button
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-54
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 21 Nov 2011 11:38:32 +0800
+
+memo (0.1.5-53) unstable; urgency=low
+
+  * remove font info of paste content using Elm_Entry_Filter
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-53
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 19 Nov 2011 16:06:21 +0800
+
+memo (0.1.5-52) unstable; urgency=low
+
+  * font attribute will be respected only with font_respect field of memo_data_t as 1
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-52
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 19 Nov 2011 10:41:36 +0800
+
+memo (0.1.5-51) unstable; urgency=low
+
+  * [list view]respect for font color attribute of each record
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-51
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 17 Nov 2011 08:20:48 +0800
+
+memo (0.1.5-50) unstable; urgency=low
+
+  * make item class of autolink popup permanently
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-50
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 16 Nov 2011 17:24:54 +0800
+
+memo (0.1.5-49) unstable; urgency=low
+
+  * ug effect update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-49
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 14 Nov 2011 17:21:16 +0800
+
+memo (0.1.5-48) unstable; urgency=low
+
+  * [fix bug]H0100136703, adjust font size of time
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-48
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 10 Nov 2011 09:19:22 +0800
+
+memo (0.1.5-47) unstable; urgency=low
+
+  * naviframe layout update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-47
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 09 Nov 2011 10:57:09 +0800
+
+memo (0.1.5-46) unstable; urgency=low
+
+  * [fix bug]H0100136581, H0100136582, unselect genlist item when mouse up
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-46
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 09 Nov 2011 09:50:53 +0800
+
+memo (0.1.5-45) unstable; urgency=low
+
+  * send update notificaion when doodle saved
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-45
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 05 Nov 2011 14:24:36 +0800
+
+memo (0.1.5-44) unstable; urgency=low
+
+  * remove C99 comment
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-44
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 05 Nov 2011 11:23:56 +0800
+
+memo (0.1.5-43) unstable; urgency=low
+
+  * fix height of genlist item
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-43
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 29 Oct 2011 14:25:32 +0800
+
+memo (0.1.5-42) unstable; urgency=low
+
+  * Fix CQ defect H0100135931
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-42
+
+ -- Goo Lee <goo81.lee@samsung.com>  Fri, 28 Oct 2011 16:45:16 +0800
+
+memo (0.1.5-41) unstable; urgency=low
+
+  * black theme as default
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-41
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 28 Oct 2011 09:37:16 +0800
+
+memo (0.1.5-40) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-40
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 27 Oct 2011 16:07:39 +0800
+
+memo (0.1.5-39) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-39
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 26 Oct 2011 14:06:10 +0800
+
+memo (0.1.5-38) unstable; urgency=low
+
+  * set default font color of editfield as black
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-38
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 26 Oct 2011 10:47:47 +0800
+
+memo (0.1.5-37) unstable; urgency=low
+
+  * reserve information of previous page when push content into naviframe
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-37
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 20 Oct 2011 15:00:24 +0800
+
+memo (0.1.5-36) unstable; urgency=low
+
+  * copyright for edc
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-36
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Oct 2011 14:56:46 +0800
+
+memo (0.1.5-35) unstable; urgency=low
+
+  * copyright update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-35
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Oct 2011 14:37:28 +0800
+
+memo (0.1.5-34) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-34
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Oct 2011 13:16:59 +0800
+
+memo (0.1.5-33) unstable; urgency=low
+
+  * desktop icon update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-33
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Oct 2011 10:28:02 +0800
+
+memo (0.1.5-32) unstable; urgency=low
+
+  * Enlarge default edit font size.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.5-32
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 17 Oct 2011 14:54:53 +0800
+
+memo (0.1.5-31) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-31
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 12 Oct 2011 16:41:00 +0800
+
+memo (0.1.5-30) unstable; urgency=low
+
+  * disable icon of navigation buttons
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-30
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 12 Oct 2011 10:23:08 +0800
+
+memo (0.1.5-29) unstable; urgency=low
+
+  * adjust height of searchbar
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-29
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 11 Oct 2011 13:16:40 +0800
+
+memo (0.1.5-28) unstable; urgency=low
+
+  * HD black theme check
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-28
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 11 Oct 2011 09:39:02 +0800
+
+memo (0.1.5-27) unstable; urgency=low
+
+  * make item class of popup permanently
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-27
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 10 Oct 2011 14:45:05 +0800
+
+memo (0.1.5-26) unstable; urgency=low
+
+  * HD layout
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-26
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 10 Oct 2011 10:25:53 +0800
+
+memo (0.1.5-25) unstable; urgency=low
+
+  * launch twitter with appsvc
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-25
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 06 Oct 2011 13:36:46 +0800
+
+memo (0.1.5-24) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-24
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 06 Oct 2011 10:48:32 +0800
+
+memo (0.1.5-23) unstable; urgency=low
+
+  * [fix bug]H0100134010, remove end-key handler
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-23
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 26 Sep 2011 12:57:12 +0800
+
+memo (0.1.5-22) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-22
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 21 Sep 2011 13:25:37 +0800
+
+memo (0.1.5-21) unstable; urgency=low
+
+  * [font size/color selector]set background as black when in black theme
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-21
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 20 Sep 2011 13:24:18 +0800
+
+memo (0.1.5-20) unstable; urgency=low
+
+  * package size optimize
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-20
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 20 Sep 2011 08:55:53 +0800
+
+memo (0.1.5-19) unstable; urgency=low
+
+  * mark memo as uninstallable
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-19
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 16 Sep 2011 10:08:33 +0800
+
+memo (0.1.5-18) unstable; urgency=low
+
+  * memo_search_data prototype changed
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-18
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 06 Sep 2011 11:18:10 +0800
+
+memo (0.1.5-17) unstable; urgency=low
+
+  * acquire user confirmation when shift between text/draw mode if record already been modified
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-17
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 03 Sep 2011 14:12:59 +0800
+
+memo (0.1.5-16) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-16
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 01 Sep 2011 10:53:31 +0800
+
+memo (0.1.5-15) unstable; urgency=low
+
+  * [text viewer]enable context menu
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-15
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 31 Aug 2011 16:30:21 +0800
+
+memo (0.1.5-14) unstable; urgency=low
+
+  * [fix bug]H0100132498, use vconf to monitor data modification from external app
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-14
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 31 Aug 2011 10:29:35 +0800
+
+memo (0.1.5-13) unstable; urgency=low
+
+  * set name of edj file as memo
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-13
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 30 Aug 2011 10:32:15 +0800
+
+memo (0.1.5-12) unstable; urgency=low
+
+  * whitespace of korean character may disappear sometimes
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-12
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 25 Aug 2011 17:01:21 +0800
+
+memo (0.1.5-11) unstable; urgency=low
+
+  * add back button in first view
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-11
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 24 Aug 2011 10:23:37 +0800
+
+memo (0.1.5-10) unstable; urgency=low
+
+  * close memo when database modified by external application(kies)
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-10
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 23 Aug 2011 13:27:08 +0800
+
+memo (0.1.5-9) unstable; urgency=low
+
+  * remove restriction of 128 bytes of autolink information
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-9
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 12 Aug 2011 14:55:28 +0800
+
+memo (0.1.5-8) unstable; urgency=low
+
+  * [text editor]enable auto panel of imf
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-8
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 05 Aug 2011 16:28:39 +0800
+
+memo (0.1.5-7) unstable; urgency=low
+
+  * NBeat layout update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-7
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 01 Aug 2011 14:25:53 +0800
+
+memo (0.1.5-6) unstable; urgency=low
+
+  * remove layout main of each view
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-6
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 29 Jul 2011 10:42:21 +0800
+
+memo (0.1.5-5) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-5
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 27 Jul 2011 08:18:54 +0800
+
+memo (0.1.5-4) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-4
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 26 Jul 2011 14:04:01 +0800
+
+memo (0.1.5-3) unstable; urgency=low
+
+  * enable share option of detail view
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-3
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 25 Jul 2011 11:02:17 +0800
+
+memo (0.1.5-2) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-2
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 21 Jul 2011 11:45:19 +0800
+
+memo (0.1.5-1) unstable; urgency=low
+
+  * efl update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-1
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 21 Jul 2011 11:10:00 +0800
+
+memo (0.1.5-0) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.5-0
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 21 Jul 2011 10:47:56 +0800
+
+memo (0.1.4-99) unstable; urgency=low
+
+  * adjust dependency
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-99
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 20 Jul 2011 11:41:16 +0800
+
+memo (0.1.4-98) unstable; urgency=low
+
+  * apply default state of Option header
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-98
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Jul 2011 09:54:58 +0800
+
+memo (0.1.4-97) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-97
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Jul 2011 08:58:56 +0800
+
+memo (0.1.4-96) unstable; urgency=low
+
+  * adjust layout of color selector
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-96
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 13 Jul 2011 15:30:23 +0800
+
+memo (0.1.4-95) unstable; urgency=low
+
+  * UG hide/show effect update
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-95
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 13 Jul 2011 08:52:54 +0800
+
+memo (0.1.4-94) unstable; urgency=low
+
+  * remove effect when launch edit view as init view
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-94
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 12 Jul 2011 11:43:16 +0800
+
+memo (0.1.4-93) unstable; urgency=low
+
+  * seperator of email/message changed
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-93
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 08 Jul 2011 10:45:58 +0800
+
+memo (0.1.4-92) unstable; urgency=low
+
+  * appcore_get_timeformat applied
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-92
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 29 Jun 2011 15:42:48 +0800
+
+memo (0.1.4-91) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-91
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 28 Jun 2011 15:23:11 +0800
+
+memo (0.1.4-90) unstable; urgency=low
+
+  * center alignment of navigator buttons
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-90
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 28 Jun 2011 11:40:25 +0800
+
+memo (0.1.4-89) unstable; urgency=low
+
+  * adjust genlist style of popup
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-89
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 24 Jun 2011 13:52:27 +0800
+
+memo (0.1.4-88) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-88
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 22 Jun 2011 14:58:03 +0800
+
+memo (0.1.4-87) unstable; urgency=low
+
+  * i18n, adjust time format by udatpg_getBestPattern
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-87
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Jun 2011 13:11:03 +0800
+
+memo (0.1.4-86) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-86
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Jun 2011 09:44:28 +0800
+
+memo (0.1.4-85) unstable; urgency=low
+
+  * [fix crash]56995, remove usage of elm_conform
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-85
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Jun 2011 16:17:44 +0800
+
+memo (0.1.4-84) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-84
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 08 Jun 2011 10:18:00 +0800
+
+memo (0.1.4-83) unstable; urgency=low
+
+  * [fix bug]H0100127570,H0100127571
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-83
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 31 May 2011 14:30:36 +0800
+
+memo (0.1.4-82) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-82
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 30 May 2011 11:15:10 +0800
+
+memo (0.1.4-81) unstable; urgency=low
+
+  * [fix bug]H0100127223, preserve index of record of detail view
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-81
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 23 May 2011 16:27:02 +0800
+
+memo (0.1.4-80) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-80
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 19 May 2011 13:56:31 +0800
+
+memo (0.1.4-79) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-79
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 18 May 2011 08:28:30 +0800
+
+memo (0.1.4-78) unstable; urgency=low
+
+  * update dependency of libicu
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-78
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 16 May 2011 10:36:55 +0800
+
+memo (0.1.4-77) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-77
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 12 May 2011 08:36:02 +0800
+
+memo (0.1.4-76) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-76
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 11 May 2011 08:45:09 +0800
+
+memo (0.1.4-75) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-75
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 06 May 2011 11:05:23 +0800
+
+memo (0.1.4-74) unstable; urgency=low
+
+  * Upload version
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-74
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 04 May 2011 19:24:41 +0900
+
+memo (0.1.4-73) unstable; urgency=low
+
+  * Change sns package name in control file.
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-73
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 04 May 2011 19:22:23 +0900
+
+memo (0.1.4-72) unstable; urgency=low
+
+  * [detail]apply transit effect after render flush, otherwise popup for email/phone number cannot open
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-72
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 04 May 2011 10:33:19 +0800
+
+memo (0.1.4-71) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-71
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 04 May 2011 10:01:52 +0800
+
+memo (0.1.4-70) unstable; urgency=low
+
+  * apply modification of genlist sweep and elm_transit
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-70
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 27 Apr 2011 15:53:49 +0800
+
+memo (0.1.4-69) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-69
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 26 Apr 2011 09:54:02 +0800
+
+memo (0.1.4-68) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-68
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 23 Apr 2011 11:18:09 +0800
+
+memo (0.1.4-67) unstable; urgency=low
+
+  * upload
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-67
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Fri, 22 Apr 2011 09:30:53 +0800
+
+memo (0.1.4-66) unstable; urgency=low
+
+  * upload
+  * Git : git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-66
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 21 Apr 2011 11:00:24 +0800
+
+memo (0.1.4-65) unstable; urgency=low
+
+  * upload
+  * Git : git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-65
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 20 Apr 2011 14:09:55 +0800
+
+memo (0.1.4-64) unstable; urgency=low
+
+  * upload
+  * Git : git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-64
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Apr 2011 13:55:12 +0800
+
+memo (0.1.4-63) unstable; urgency=low
+
+  * upload
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-63
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Wed, 13 Apr 2011 16:14:27 +0800
+
+memo (0.1.4-62) unstable; urgency=low
+
+  * change source name to memo
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-62
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Tue, 12 Apr 2011 08:50:20 +0800
+
+memo (0.1.4-61) unstable; urgency=low
+
+  * upload
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-61
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Sat, 09 Apr 2011 16:42:53 +0800
+
+memo (0.1.4-60) unstable; urgency=low
+
+  * [Upload]Increase a version.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-60
+
+ -- Yang Qing <qing_.yang@samsung.com>  Wed, 06 Apr 2011 10:16:35 +0800
+
+memo (0.1.4-59) unstable; urgency=low
+
+  * add bytes limitation to searchbar
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-59
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Tue, 05 Apr 2011 15:09:29 +0800
+
+memo (0.1.4-58) unstable; urgency=low
+
+  * change source name to memo
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-58
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Sat, 02 Apr 2011 16:53:24 +0800
+
+memo (0.1.4-57) unstable; urgency=low
+
+  * upload
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-57
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Sat, 02 Apr 2011 16:43:50 +0800
+
+memo (0.1.4-56) unstable; urgency=low
+
+  * [Upload]Increase a version.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-56
+
+ -- Yang Qing <qing_.yang@samsung.com>  Fri, 01 Apr 2011 15:52:06 +0800
+
+memo (0.1.4-55) unstable; urgency=low
+
+  * [Upload]Complete UI developing.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-55
+
+ -- Yang Qing <qing_.yang@samsung.com>  Wed, 30 Mar 2011 16:58:22 +0800
+
+memo (0.1.4-54) unstable; urgency=low
+
+  * [Upload][Share]Implement share popup.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-54
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 28 Mar 2011 20:19:55 +0800
+
+memo (0.1.4-53) unstable; urgency=low
+
+  * [Upload]Increase a version.
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-53
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 28 Mar 2011 09:04:32 +0800
+
+memo (0.1.4-52) unstable; urgency=low
+
+  * [Upload]For nbeat version
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-52
+
+ -- Yang Qing <qing_.yang@samsung.com>  Wed, 23 Mar 2011 10:25:57 +0800
+
+memo (0.1.4-51) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-51
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 21 Mar 2011 11:13:50 +0800
+
+memo (0.1.4-50) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-50
+
+ -- Yang Qing <qing_.yang@samsung.com>  Thu, 17 Mar 2011 08:53:48 +0800
+
+memo (0.1.4-49) unstable; urgency=low
+
+  * [H0100121385]Fix a bug about add comment
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-49
+
+ -- Yang Qing <qing_.yang@samsung.com>  Tue, 15 Mar 2011 16:39:58 +0800
+
+memo (0.1.4-48) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-48
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 14 Mar 2011 13:31:17 +0800
+
+memo (0.1.4-47) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-47
+
+ -- Yang Qing <qing_.yang@samsung.com>  Fri, 11 Mar 2011 14:54:21 +0800
+
+memo (0.1.4-46) unstable; urgency=low
+
+  * increase version for upload
+  * Git : 165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-46
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Thu, 10 Mar 2011 16:54:55 +0800
+
+memo (0.1.4-45) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-45
+
+ -- Yang Qing <qing_.yang@samsung.com>  Thu, 03 Mar 2011 16:32:25 +0800
+
+memo (0.1.4-44) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-44
+
+ -- Yang Qing <qing_.yang@samsung.com>  Wed, 02 Mar 2011 15:49:25 +0800
+
+memo (0.1.4-43) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-43
+
+ -- Yang Qing <qing_.yang@samsung.com>  Tue, 01 Mar 2011 09:33:16 +0800
+
+memo (0.1.4-42) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-42
+
+ -- Yang Qing <qing_.yang@samsung.com>  Fri, 25 Feb 2011 13:51:41 +0800
+
+memo (0.1.4-41) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-41
+
+ -- Yang Qing <qing_.yang@samsung.com>  Thu, 24 Feb 2011 10:12:04 +0800
+
+memo (0.1.4-40) unstable; urgency=low
+
+  * upload
+  * Git : git@165.213.180.234:slp/apps/m/memo
+  * Tag : memo_0.1.4-40
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Wed, 23 Feb 2011 14:14:11 +0800
+
+memo (0.1.4-39) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-39
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Wed, 23 Feb 2011 11:00:12 +0800
+
+memo (0.1.4-38) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-38
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Tue, 22 Feb 2011 16:44:32 +0800
+
+memo (0.1.4-36) unstable; urgency=low
+
+  * upload
+  * Git : git@git_server:slp/apps/m/memo
+  * Tag : memo_0.1.4-36
+
+ -- canjiang lu <canjiang.lu@samsung.com>  Tue, 22 Feb 2011 16:42:30 +0800
+
+memo (0.1.4-35) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-35
+
+ -- Yang Qing <qing_.yang@samsung.com>  Fri, 18 Feb 2011 16:20:06 +0800
+
+memo (0.1.4-34) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-34
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 16 Feb 2011 13:47:07 +0800
+
+memo (0.1.4-33) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-33
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 15 Feb 2011 16:57:46 +0800
+
+memo (0.1.4-32) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-32
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 14 Feb 2011 13:46:04 +0800
+
+memo (0.1.4-31) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-31
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 14 Feb 2011 11:01:16 +0800
+
+memo (0.1.4-30) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-30
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 12 Feb 2011 10:13:55 +0800
+
+memo (0.1.4-29) unstable; urgency=low
+
+  * Fix width of doodle image in memo ug
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-29
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 11 Feb 2011 21:00:54 +0900
+
+memo (0.1.4-28) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-28
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 11 Feb 2011 16:50:21 +0800
+
+memo (0.1.4-27) unstable; urgency=low
+
+  * Change line height
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-27
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Fri, 11 Feb 2011 13:11:09 +0900
+
+memo (0.1.4-26) unstable; urgency=low
+
+  * Fix memo bug for live magazine
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-26
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Thu, 10 Feb 2011 21:49:20 +0900
+
+memo (0.1.4-25) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-25
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 10 Feb 2011 11:38:32 +0800
+
+memo (0.1.4-24) unstable; urgency=low
+
+  * Change tile image type for live-magazine
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-24
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 09 Feb 2011 16:26:43 +0900
+
+memo (0.1.4-23) unstable; urgency=low
+
+  * Change icon for new launcher
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-23
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Tue, 08 Feb 2011 21:37:37 +0900
+
+memo (0.1.4-22) unstable; urgency=low
+
+  * Change icon for new launcher
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-22
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Tue, 08 Feb 2011 21:00:55 +0900
+
+memo (0.1.4-21) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-21
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 08 Feb 2011 15:26:18 +0800
+
+memo (0.1.4-20) unstable; urgency=low
+
+  * modify end key behavior
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-20
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 07 Feb 2011 14:24:30 +0800
+
+memo (0.1.4-19) unstable; urgency=low
+
+  * Change icon path
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-19
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Mon, 07 Feb 2011 10:01:19 +0900
+
+memo (0.1.4-18) unstable; urgency=low
+
+  * fix a crash when save empty content
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-18
+
+ -- Yang Qing <qing_.yang@samsung.com>  Sun, 06 Feb 2011 13:47:39 +0800
+
+memo (0.1.4-17) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-17
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 01 Feb 2011 15:21:14 +0800
+
+memo (0.1.4-16) unstable; urgency=low
+
+  * modify date style & background for live magazine
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-16
+
+ -- Yang Qing <qing_.yang@samsung.com>  Tue, 01 Feb 2011 13:34:42 +0800
+
+memo (0.1.4-15) unstable; urgency=low
+
+  * desktop icon rollback
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-15
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 31 Jan 2011 16:52:10 +0800
+
+memo (0.1.4-14) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-14
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 31 Jan 2011 10:55:05 +0800
+
+memo (0.1.4-13) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-13
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 31 Jan 2011 08:59:53 +0800
+
+memo (0.1.4-12) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-12
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 26 Jan 2011 20:49:57 +0800
+
+memo (0.1.4-11) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-11
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 26 Jan 2011 20:26:30 +0800
+
+memo (0.1.4-10) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-10
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 24 Jan 2011 10:49:43 +0800
+
+memo (0.1.4-9) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-9
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sun, 23 Jan 2011 16:11:18 +0800
+
+memo (0.1.4-8) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-8
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 20 Jan 2011 13:53:06 +0800
+
+memo (0.1.4-7) unstable; urgency=low
+
+  * Prevent memory leak in memo
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-7
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 19 Jan 2011 21:43:34 +0900
+
+memo (0.1.4-6) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-6
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Jan 2011 15:17:50 +0800
+
+memo (0.1.4-5) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.4-5
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 19 Jan 2011 08:49:50 +0800
+
+memo (0.1.4-4) unstable; urgency=low
+
+  * comment out code for destroy ad->win_main
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-4
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Tue, 18 Jan 2011 11:36:20 +0900
+
+memo (0.1.4-3) unstable; urgency=low
+
+
+  * comment out code for destroy ad->win_main
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-3
+
+ -- Yang Qing <qing_.yang@samsung.com>  Tue, 18 Jan 2011 10:25:05 +0900
+
+memo (0.1.4-2) unstable; urgency=low
+
+  * increase a version
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-2
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 17 Jan 2011 16:53:09 +0800
+
+memo (0.1.4-1) unstable; urgency=low
+
+  * upload
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.4-1
+
+ -- Yang Qing <qing_.yang@samsung.com>  Mon, 17 Jan 2011 10:10:26 +0800
+
+memo (0.1.3-99) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-99
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 13 Jan 2011 16:45:44 +0800
+
+memo (0.1.3-98) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-98
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 13 Jan 2011 14:18:41 +0800
+
+memo (0.1.3-97) unstable; urgency=low
+
+  * calendar aul name changed
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-97
+
+ -- Yang Qing <qing_.yang@samsung.com>  Thu, 13 Jan 2011 13:28:28 +0800
+
+memo (0.1.3-96) unstable; urgency=low
+
+  * increase a version
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-96
+
+ -- Yang Qing <qing_.yang@samsung.com>  Wed, 12 Jan 2011 14:30:31 +0800
+
+memo (0.1.3-95) unstable; urgency=low
+
+  * Disable fakeimage
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-95
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 12 Jan 2011 13:28:53 +0900
+
+memo (0.1.3-94) unstable; urgency=low
+
+  * Increase version
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-94
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Tue, 11 Jan 2011 21:21:20 +0900
+
+memo (0.1.3-93) unstable; urgency=low
+
+  * Enable fake image
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-93
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Tue, 11 Jan 2011 16:57:11 +0900
+
+memo (0.1.3-92) unstable; urgency=low
+
+  * Using icons instead of +d, +t (for demo)
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-92
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 10 Jan 2011 20:42:11 +0900
+
+memo (0.1.3-91) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-91
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 10 Jan 2011 16:09:53 +0800
+
+memo (0.1.3-90) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-90
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 10 Jan 2011 14:05:30 +0800
+
+memo (0.1.3-89) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-89
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 08 Jan 2011 15:34:33 +0800
+
+memo (0.1.3-88) unstable; urgency=low
+
+  * make sure only one entry instance at anytime
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-88
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 05 Jan 2011 15:24:45 +0900
+
+memo (0.1.3-87) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-87
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 04 Jan 2011 17:04:39 +0800
+
+memo (0.1.3-86) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-86
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 04 Jan 2011 16:09:36 +0800
+
+memo (0.1.3-85) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-85
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 29 Dec 2010 09:47:58 +0800
+
+memo (0.1.3-84) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-84
+
+ -- Yang Qing <canjiang.lu@samsung.com>  Wed, 29 Dec 2010 09:46:49 +0800
+
+memo (0.1.3-83) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-83
+
+ -- Yang Qing <canjiang.lu@samsung.com>  Tue, 28 Dec 2010 11:05:16 +0800
+
+memo (0.1.3-82) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-82
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 28 Dec 2010 10:56:40 +0800
+
+memo (0.1.3-81) unstable; urgency=low
+
+  * upload
+  * Git: git@git_server:slp/apps/m/memo
+  * Tag: memo_0.1.3-81
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 24 Dec 2010 14:13:23 +0800
+
+memo (0.1.3-80) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-80
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 21 Dec 2010 17:27:45 +0800
+
+memo (0.1.3-79) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-79
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 18 Dec 2010 20:26:05 +0800
+
+memo (0.1.3-78) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-78
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 17 Dec 2010 16:38:29 +0800
+
+memo (0.1.3-77) unstable; urgency=low
+
+  * fixed detail view BS
+  * Git: git@165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-77
+
+ -- Yang Qing <qing_.yang@samsung.com>  Tue, 14 Dec 2010 16:40:25 +0800
+
+memo (0.1.3-76) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-76
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 14 Dec 2010 14:45:35 +0800
+
+memo (0.1.3-75) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-75
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 14 Dec 2010 10:44:14 +0800
+
+memo (0.1.3-74) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-74
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 14 Dec 2010 10:37:27 +0800
+
+memo (0.1.3-73) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-73
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Dec 2010 15:01:13 +0800
+
+memo (0.1.3-72) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-72
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Dec 2010 10:15:15 +0800
+
+memo (0.1.3-71) unstable; urgency=low
+
+  * Update changelog
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-71
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Wed, 08 Dec 2010 20:43:15 +0900
+
+memo (0.1.3-70) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:slp/apps/m/memo
+  * Tag: memo_0.1.3-70
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 07 Dec 2010 14:54:04 +0800
+
+memo (0.1.3-69) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-69
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 01 Dec 2010 14:32:48 +0800
+
+memo (0.1.3-68) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-68
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 01 Dec 2010 13:20:46 +0800
+
+memo (0.1.3-67) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-67
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 30 Nov 2010 17:07:50 +0800
+
+memo (0.1.3-66) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-66
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 29 Nov 2010 13:57:51 +0800
+
+memo (0.1.3-65) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-65
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 26 Nov 2010 10:25:37 +0800
+
+memo (0.1.3-64) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-64
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 25 Nov 2010 14:20:20 +0800
+
+memo (0.1.3-63) unstable; urgency=low
+
+  * add -pie option for link
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-63
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 25 Nov 2010 08:41:54 +0800
+
+memo (0.1.3-62) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-62
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 24 Nov 2010 13:38:49 +0800
+
+memo (0.1.3-61) unstable; urgency=low
+
+  * reupload for build break
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-61
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 24 Nov 2010 08:56:43 +0800
+
+memo (0.1.3-60) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-60
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 23 Nov 2010 16:25:29 +0800
+
+memo (0.1.3-59) unstable; urgency=low
+
+  * ellipsis mode for label
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-59
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 23 Nov 2010 13:53:01 +0800
+
+memo (0.1.3-58) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-58
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 22 Nov 2010 10:36:21 +0800
+
+memo (0.1.3-57) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-57
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 19 Nov 2010 14:18:20 +0800
+
+memo (0.1.3-56) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-56
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 17 Nov 2010 14:23:35 +0800
+
+memo (0.1.3-55) unstable; urgency=low
+
+  * replace entry with label in list view
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-55
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 17 Nov 2010 13:15:53 +0800
+
+memo (0.1.3-54) unstable; urgency=low
+
+  * y
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-54
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 16 Nov 2010 17:09:11 +0800
+
+memo (0.1.3-53) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-53
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 15 Nov 2010 15:43:21 +0800
+
+memo (0.1.3-52) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-52
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 13 Nov 2010 16:38:36 +0800
+
+memo (0.1.3-51) unstable; urgency=low
+
+  * add missing file
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-51
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 13 Nov 2010 16:08:50 +0800
+
+memo (0.1.3-50) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-50
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 13 Nov 2010 16:04:06 +0800
+
+memo (0.1.3-49) unstable; urgency=low
+
+  *
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-49
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 11 Nov 2010 13:52:31 +0800
+
+memo (0.1.3-48) unstable; urgency=low
+
+  * enable dbg package
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-48
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 11 Nov 2010 09:25:11 +0800
+
+memo (0.1.3-47) unstable; urgency=low
+
+  * [detai view]delay destory in idle slip
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-47
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 10 Nov 2010 13:38:45 +0800
+
+memo (0.1.3-46) unstable; urgency=low
+
+  * reupload for build break
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-46
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 08 Nov 2010 13:37:21 +0800
+
+memo (0.1.3-45) unstable; urgency=low
+
+  * force change when delete records
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-45
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 08 Nov 2010 11:16:57 +0800
+
+memo (0.1.3-44) unstable; urgency=low
+
+  * reupload for build break
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-44
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 04 Nov 2010 10:00:47 +0800
+
+memo (0.1.3-43) unstable; urgency=low
+
+  * remove libui-window dependency
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-43
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 04 Nov 2010 09:25:26 +0800
+
+memo (0.1.3-42) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-42
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 02 Nov 2010 10:44:52 +0800
+
+memo (0.1.3-41) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-41
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 29 Oct 2010 11:19:19 +0800
+
+memo (0.1.3-40) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-40
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 27 Oct 2010 16:57:27 +0800
+
+memo (0.1.3-39) unstable; urgency=low
+
+  * use po files directly
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-39
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 26 Oct 2010 16:24:15 +0800
+
+memo (0.1.3-38) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-38
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 26 Oct 2010 10:12:42 +0800
+
+memo (0.1.3-37) unstable; urgency=low
+
+  * Fix uploader email address.
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-37
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Mon, 25 Oct 2010 21:13:16 +0900
+
+memo (0.1.3-36) unstable; urgency=low
+
+  * Apply request from IME part(remove defect about IME).
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-36
+
+ -- Junho Lee <Junho Lee@samsung.com>  Mon, 25 Oct 2010 20:33:38 +0900
+
+memo (0.1.3-35) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-35
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Fri, 22 Oct 2010 09:12:40 +0800
+
+memo (0.1.3-34) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-34
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Oct 2010 14:40:43 +0800
+
+memo (0.1.3-33) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-33
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Oct 2010 10:22:02 +0800
+
+memo (0.1.3-32) unstable; urgency=low
+
+  * remove sentinel data when record is added
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-32
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Oct 2010 08:47:47 +0800
+
+memo (0.1.3-31) unstable; urgency=low
+
+  * optimize memo for over 100 records
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-31
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 18 Oct 2010 08:29:55 +0800
+
+memo (0.1.3-30) unstable; urgency=low
+
+  * adjust size of ctxpopup for font/stroke tools
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-30
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 14 Oct 2010 13:52:28 +0800
+
+memo (0.1.3-29) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-29
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 13 Oct 2010 16:34:44 +0800
+
+memo (0.1.3-28) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-28
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 13 Oct 2010 15:21:36 +0800
+
+memo (0.1.3-27) unstable; urgency=low
+
+  * add sentinel record
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-27
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 11 Oct 2010 14:24:19 +0800
+
+memo (0.1.3-26) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-26
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 09 Oct 2010 14:56:47 +0800
+
+memo (0.1.3-25) unstable; urgency=low
+
+  * scalable ui applied
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-25
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 27 Sep 2010 16:43:33 +0800
+
+memo (0.1.3-24) unstable; urgency=low
+
+  * reupload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-24
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 25 Sep 2010 17:28:06 +0800
+
+memo (0.1.3-23) unstable; urgency=low
+
+  * recover fake image
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-23
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 25 Sep 2010 15:30:38 +0800
+
+memo (0.1.3-22) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-22
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 25 Sep 2010 09:56:11 +0800
+
+memo (0.1.3-21) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-21
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 25 Sep 2010 09:24:49 +0800
+
+memo (0.1.3-20) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-20
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 23 Sep 2010 16:53:04 +0800
+
+memo (0.1.3-19) unstable; urgency=low
+
+  * add scale instruction in desktop file
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-19
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 21 Sep 2010 17:20:08 +0800
+
+memo (0.1.3-18) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-18
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Sep 2010 17:53:14 +0800
+
+memo (0.1.3-17) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-17
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Sep 2010 17:38:38 +0800
+
+memo (0.1.3-16) unstable; urgency=low
+
+  * rename memo->Memo in menuscreen
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-16
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Sep 2010 13:19:09 +0800
+
+memo (0.1.3-15) unstable; urgency=low
+
+  * recover cancel button in search view
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-15
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 20 Sep 2010 11:19:20 +0800
+
+memo (0.1.3-14) unstable; urgency=low
+
+  * update version
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Thu, 16 Sep 2010 20:20:27 +0900
+
+memo (0.1.3-13) unstable; urgency=low
+
+  * comment out fake image for demo
+
+ -- Junho Lee <junho4810.lee@samsung.com>  Thu, 16 Sep 2010 20:13:44 +0900
+
+memo (0.1.3-12) unstable; urgency=low
+
+  * remove Imlib2
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-12
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 16 Sep 2010 08:47:14 +0800
+
+memo (0.1.3-11) unstable; urgency=low
+
+  * capture fake image only in portrait view
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-11
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 15 Sep 2010 16:37:41 +0800
+
+memo (0.1.3-10) unstable; urgency=low
+
+  * optimize doodle storage
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-10
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 15 Sep 2010 13:42:16 +0800
+
+memo (0.1.3-9) unstable; urgency=low
+
+  * apply new icon
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-9
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 15 Sep 2010 08:54:13 +0800
+
+memo (0.1.3-8) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-8
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 13 Sep 2010 13:26:06 +0800
+
+memo (0.1.3-7) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-7
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 11 Sep 2010 10:06:12 +0800
+
+memo (0.1.3-6) unstable; urgency=low
+
+  * margin of color selector
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-6
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Sep 2010 17:37:45 +0800
+
+memo (0.1.3-5) unstable; urgency=low
+
+  * default detail view in landscape mode
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-5
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Sep 2010 17:13:04 +0800
+
+memo (0.1.3-4) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-4
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 09 Sep 2010 14:33:38 +0800
+
+memo (0.1.3-3) unstable; urgency=low
+
+  * [fix bug]kessl00000448
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-3
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 08 Sep 2010 09:49:27 +0800
+
+memo (0.1.3-2) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-2
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 04 Sep 2010 16:08:34 +0800
+
+memo (0.1.3-1) unstable; urgency=low
+
+  * update version
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-1
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 02 Sep 2010 14:34:10 +0800
+
+memo (0.1.3-0) unstable; urgency=low
+
+  * version update
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.3-0
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 02 Sep 2010 14:11:47 +0800
+
+memo (0.1.2-99) unstable; urgency=low
+
+  * fix build error
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-99
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 02 Sep 2010 12:11:47 +0800
+
+memo (0.1.2-98) unstable; urgency=low
+
+  * remove smemo.db
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-98
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 02 Sep 2010 11:12:00 +0800
+
+memo (0.1.2-97) unstable; urgency=low
+
+  * [edit list view]select info
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-97
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 31 Aug 2010 15:13:06 +0800
+
+memo (0.1.2-96) unstable; urgency=low
+
+  * fake image
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-96
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Sat, 28 Aug 2010 14:55:56 +0800
+
+memo (0.1.2-95) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-95
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 26 Aug 2010 09:42:43 +0800
+
+memo (0.1.2-94) unstable; urgency=low
+
+  * pre alpha release
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-94
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Thu, 19 Aug 2010 15:54:45 +0800
+
+memo (0.1.2-93) unstable; urgency=low
+
+  * upload
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-93
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Wed, 18 Aug 2010 13:58:18 +0800
+
+memo (0.1.2-92) unstable; urgency=low
+
+  * [upload]
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-92
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 17 Aug 2010 17:31:57 +0800
+
+memo (0.1.2-91) unstable; urgency=low
+
+  * [upload]
+  * Git: 165.213.180.234:/git/slp/apps/memo/
+  * Tag: memo_0.1.2-91
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Mon, 16 Aug 2010 17:22:00 +0800
+
+memo (0.1.2-90) unstable; urgency=low
+
+  * beat release
+  * Git: 165.213.180.234:/git/slp/apps/memo
+  * Tag: memo_0.1.2-90
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 10 Aug 2010 17:56:57 +0800
+
+memo (0.1.0-1) unstable; urgency=low
+
+  * beat release
+  * Git: 165.213.180.234:/git/slp/apps/memo
+  * Tag: memo_0.1.0-1
+
+ -- Canjiang Lu <canjiang.lu@samsung.com>  Tue, 10 Aug 2010 17:10:10 +0800
+
+memo (0.1.0) unstable; urgency=low
+
+  * Initial Release.
+
+ -- unknown <date>  Fri, 23 Apr 2010 20:30:14 +0900
similarity index 78%
rename from debian/org.tizen.memo.install.in
rename to debian/com.samsung.memo.install.in
index fcd6fb1..4b47199 100644 (file)
@@ -4,3 +4,4 @@
 @PREFIX@/res/edje/*
 @PREFIX@/data/*
 /opt/share/applications/*
+/opt/share/icons/default/small/*
old mode 100644 (file)
new mode 100755 (executable)
index db8e3d6..0244db7
@@ -1,17 +1,17 @@
 Source: memo
 Section: devel
 Priority: extra
-Maintainer: maintainer Zhibin Zhou <zhibin.zhou@samsung.com>, Canjiang Lu <canjiang.lu@samsung.com>, Goo Lee <goo81.lee@samsung.com>
-Build-Depends: debhelper (>= 5), libappcore-efl-dev, libelm-dev, libecore-dev, libeina-dev, libevas-dev, libedje-dev, libslp-memo-dev, iniparser-dev, libui-gadget-dev, libug-contacts-dev, dlog-dev, libbundle-dev, libicu-dev, libappsvc-dev, libheynoti-dev
-Standards-Version: 0.1.0
+Maintainer: Zhibin Zhou <zhibin.zhou@samsung.com>, Canjiang Lu <canjiang.lu@samsung.com>, Feng Li <feng.li@samsung.com>, Wei Hua <wei2012.hua@samsung.com>
+Build-Depends: debhelper (>= 5), libappcore-efl-dev, libelm-dev, libecore-dev, libeina-dev, libevas-dev, libedje-dev, libslp-memo-dev, iniparser-dev, libui-gadget-dev, libug-contacts-dev, dlog-dev, libbundle-dev, libicu-dev, libappsvc-dev, libheynoti-dev, capi-appfw-application-dev, capi-system-runtime-info-dev
+Standards-Version: 3.7.2
 
-Package: org.tizen.memo
+Package: com.samsung.memo
 Section: utils
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: memo
 
-Package: org.tizen.memo-dbg
+Package: com.samsung.memo-dbg
 Section: debug
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
index 1a430c6..d2aa05f 100755 (executable)
@@ -11,9 +11,9 @@
 
 CFLAGS += -Wall -g
 LDFLAGS ?=
-PREFIX ?= /opt/apps/org.tizen.memo
-RESDIR ?= /opt/apps/org.tizen.memo/res
-DATADIR ?= /opt/apps/org.tizen.memo/data
+PREFIX ?= /opt/apps/com.samsung.memo
+RESDIR ?= /opt/apps/com.samsung.memo/res
+DATADIR ?= /opt/apps/com.samsung.memo/data
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
@@ -102,7 +102,7 @@ binary-arch: build install
 #      dh_installinfo
        dh_installman
        dh_link
-       dh_strip --dbg-package=org.tizen.memo-dbg
+       dh_strip --dbg-package=com.samsung.memo-dbg
        dh_compress
        dh_fixperms
 #      dh_perl
index f2db0ff..b83504f 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #define GENLIST_PART_BOTTOM_LINE \
 part { \
@@ -23,7 +25,7 @@ part { \
         min: 0 1; \
         fixed: 0 1; \
         visible: 1; \
-        color: 87 87 87 255; \
+        color: 169 169 169 255; \
         rel1 { \
             relative: 0.0 1.0; \
             offset: 0 -1; \
@@ -36,39 +38,39 @@ styles
     style
     {
         name: "textblock_style_main";
-        base: "font=Helvetica_Neue:style=Roman font_size=42 align=left color=#F9F9F9 wrap=char";
+        base: "font=SLP:style=Roman text_class=slp_roman font_size=42 align=left color=#F9F9F9 wrap=char";
     }
 }
 
 #define PART_TEXT_BLACK_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 0.0, 0.5, 0, 0, 0, 255)
+                            iText, iFont, iClass, iSize, 0.0, 0.5, 0, 0, 0, 255)
 
 #define PART_TEXT_GRAY_RIGHT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 1.0, 0.5, 85, 70, 58, 255)
+                            iText, iFont, iClass, iSize, 1.0, 0.5, 85, 70, 58, 255)
 
 #define PART_TEXT_WHITE_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 0.0, 0.5, 255, 255, 255, 255)
+                            iText, iFont, iClass, iSize, 0.0, 0.5, 255, 255, 255, 255)
 
 #define PART_TEXT_GRAY_CENTER(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 0.5, 0.5, 85, 70, 58, 255)
+                            iText, iFont, iClass, iSize, 0.5, 0.5, 85, 70, 58, 255)
 
 #define PART_TEXT_DETAIL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 0.0, 0.5, 249, 249, 249, 255)
+                            iText, iFont, iClass, iSize, 0.0, 0.5, 0, 0, 0, 255)
 
 #define PART_TEXT_DATE(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize)\
+                            iText, iFont, iClass, iSize)\
 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
-                            iText, iFont, iSize, 0.0, 0.5, 100, 100, 100, 255)
+                            iText, iFont, iClass, iSize, 0.0, 0.5, 124, 124, 124, 255)
 
 group{
     name: "empty_layout";
@@ -78,6 +80,6 @@ group{
     }
 }
 
-#define IMF_HEIGHT_480_800 360
-#define IMF_HEIGHT_600_1024 460
+#define IMF_HEIGHT_480_800 538
+#define IMF_HEIGHT_600_1024 550
 #define IMF_HEIGHT_720_1280 580
index e9bb1f4..707167e 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #define DOODLE_EDITOR(iName, imf_height)\
 group{\
@@ -36,7 +38,7 @@ group{\
         PART_V_PIXEL_RECT("comment.bg", 108, "bottom_margin", 0.0, 1.0)\
         PART_V_PIXEL_RECT("comment.bg.down", 108, "bg", 1.0, 1.0)\
         /* content */\
-        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "Helvetica Neue:style=Medium", 32)\
+        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 32)\
         PART_SWALLOW_REL("elm.swallow.doodle", 16/720, 0.0, "doodle.bg", (720-16)/720, 1.0, "doodle.bg")\
         PART_SWALLOW("elm.swallow.toolbar", "toolbar.bg")\
         PART_SWALLOW("elm.swallow.tool", "tool.bg")\
index c7babce..020e99f 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #define DOODLE_VIEWER(iName, imf_height)\
 group {\
@@ -31,7 +33,7 @@ group {\
         PART_V_PIXEL_RECT("comment.bg.up", 108, "imf.bg", 0.0, 1.0)\
         PART_V_PIXEL_RECT("comment.bg", 108, "bg", 1.0, 1.0)\
         /* content */\
-        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "Helvetica Neue:style=Medium", 32)\
+        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 32)\
         PART_SWALLOW_REL("elm.swallow.doodle", 16/720, 0.0, "doodle.bg", (720-16)/720, 1.0, "doodle.bg")\
         PART_SWALLOW("elm.swallow.comment", "comment.bg")\
     }/* end part */\
index 8197394..c6989b9 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 group{
     name: "edit_list_frame";
@@ -29,7 +31,7 @@ group {
         /* area definition */
         PART_BG("bg"); /* 480 x 66 */
         PART_SWALLOW_REL("elm.swallow.check", 15/480, 8/66, "bg", 65/480, 58/66, "bg");
-        PART_TEXT_DETAIL("elm.text.select.all", 75/480, 0.0, "bg", 1.0, 1.0, "bg", "Select all", "SLP", 44);
+        PART_TEXT_DETAIL("elm.text.select.all", 75/480, 0.0, "bg", 1.0, 1.0, "bg", "Select all", "SLP", "slp", 44);
         PART_V_PIXEL_RECT("bottom.margin", 2, "bg", 1.0, 1.0)
         PART_COLOR_RECT("bottom.margin.color", "bottom.margin", 87, 87, 87, 255)
         PART_EVENT_RECT("event", "bg")
@@ -69,7 +71,7 @@ group { name: "elm/genlist/item/memo/edit/"iStyle"/default"; \
                 } \
             } \
         } \
-        PART_TEXT_DATE("elm.text.date", (16+96+16)/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "Helvetica Neue:style=Medium", 32) \
+        PART_TEXT_DATE("elm.text.date", (16+96+16)/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "SLP:style=Medium","slp_medium", 32) \
         PART_SWALLOW_REL("elm.swallow.doodle", (720-16-96)/720, 16/128, "bg", (720-16)/720, (128-16)/128, "bg") \
         GENLIST_PART_BOTTOM_LINE \
         PART_EVENT_RECT("event", "bg") \
@@ -81,7 +83,7 @@ group { name: "elm/genlist/item/memo/edit/"iStyle"/default"; \
             source: "";\
             script {\
                 SCRIPT_CUSTOM_PART(bg);\
-                SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
+                SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
             }\
         } /* end program */\
         program \
@@ -90,7 +92,7 @@ group { name: "elm/genlist/item/memo/edit/"iStyle"/default"; \
             signal:  "elm,state,selected"; \
             source:  "elm"; \
             script {\
-                SCRIPT_SET_COLOR(bg, 50, 50, 50, 255);\
+                SCRIPT_SET_COLOR(bg, 42, 137, 194, 255);\
             }\
             transition: LINEAR 0.1; \
         } \
@@ -100,7 +102,7 @@ group { name: "elm/genlist/item/memo/edit/"iStyle"/default"; \
             signal:  "elm,state,unselected"; \
             source:  "elm"; \
             script {\
-                SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
+                SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
             }\
             transition: LINEAR 0.1; \
         }\
index 753e737..4bf35df 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 group{
     name: "color_selector";
index 94d871c..a64ce37 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 group{
     name: "list_frame";
@@ -85,7 +87,7 @@ group { name: "elm/genlist/item/memo/"iStyle"/default"; \
                 } \
             } \
         } \
-        PART_TEXT_DATE("elm.text.date", 16/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "Helvetica Neue:style=Medium", 32) \
+        PART_TEXT_DATE("elm.text.date", 16/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "SLP:style=Medium", "slp_medium", 32) \
         PART_SWALLOW_REL("elm.swallow.doodle", (720-16-96)/720, 16/128, "bg", (720-16)/720, (128-16)/128, "bg") \
         /* margin */ \
         GENLIST_PART_BOTTOM_LINE \
@@ -98,7 +100,7 @@ group { name: "elm/genlist/item/memo/"iStyle"/default"; \
             source: "";\
             script {\
                 SCRIPT_CUSTOM_PART(bg);\
-                SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
+                SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
             }\
         } /* end program */\
         program \
@@ -107,7 +109,7 @@ group { name: "elm/genlist/item/memo/"iStyle"/default"; \
             signal:  "elm,state,selected"; \
             source:  "elm"; \
             script {\
-                SCRIPT_SET_COLOR(bg, 50, 50, 50, 255);\
+                SCRIPT_SET_COLOR(bg, 42, 137, 194, 255);\
             }\
             transition: LINEAR 0.1; \
         } \
@@ -117,7 +119,7 @@ group { name: "elm/genlist/item/memo/"iStyle"/default"; \
             signal:  "elm,state,unselected"; \
             source:  "elm"; \
             script {\
-                SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
+                SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
             }\
             transition: LINEAR 0.1; \
         }\
index fc66132..7f8dce6 100644 (file)
@@ -1,31 +1,33 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #define TEXT_EDITOR(iName, imf_height)\
 group{\
     name: iName;\
     parts{\
-        PART_BG("bg") /* 720 * unknown */\
+        PART_BG_EX("bg", 720, 0) /* 720 * unknown */\
         PART_V_PIXEL_RECT("top_margin", 16, "bg", 0.0, 0.0)\
         PART_V_PIXEL_RECT("text.bg", 48, "top_margin", 1.0, 0.0)\
         PART_V_PIXEL_RECT("top_margin2", 10, "text.bg", 1.0, 0.0)\
         PART_V_PIXEL_RECT("toolbar.bg", 86, "tool.bg", 0.0, 1.0)\
         PART_V_PIXEL_RECT("tool.bg", 0, "bg", 1.0, 1.0)\
         /* content */\
-        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "Helvetica Neue:style=Medium", 32)\
+        PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 32)\
         PART_SWALLOW_REL("elm.swallow.text", 16/720, 1.0, "top_margin2", (720-16)/720, 0.0, "toolbar.bg")\
         PART_SWALLOW("elm.swallow.toolbar", "toolbar.bg")\
         PART_SWALLOW("elm.swallow.tool", "tool.bg")\
index 2cc41d7..085c956 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 group{
     name: "text_viewer";
@@ -22,7 +24,7 @@ group{
         PART_V_PIXEL_RECT("text.bg", 48, "top_margin", 1.0, 0.0)
         PART_V_PIXEL_RECT("top_margin2", 10, "text.bg", 1.0, 0.0)
         /* content */
-        PART_TEXT_GRAY_RIGHT("elm.text.date", 10/480, 0.0, "text.bg", 470/480, 1.0, "text.bg", "date", "Helvetica Neue:style=Medium", 32)
+        PART_TEXT_GRAY_RIGHT("elm.text.date", 10/480, 0.0, "text.bg", 470/480, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 32)
         PART_SWALLOW_REL("elm.swallow.text", 10/480, 1.0, "top_margin2", 470/480, 1.0, "bg")
     }/* end part */
 }
index db8894c..935475e 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __EXTENDED_EDC_H__
 #define __EXTENDED_EDC_H__
@@ -30,7 +32,7 @@ part {\
        scale: 1;\
        description {\
                state: "default" 0.0;\
-               color: 0 0 0 0;\
+               color: 249 249 249 255;\
        } \
 } \
 
@@ -293,7 +295,7 @@ part {\
        } \
 } \
 
-#define PART_TEXT(iName, iTo, iText, iFont, iSize,\
+#define PART_TEXT(iName, iTo, iText, iFont, iClass, iSize,\
                iAx, iAy, iCr, iCg, iCb, iCa)\
 part {\
        name: iName;\
@@ -308,6 +310,7 @@ part {\
                text {\
                        text: iText;\
                        font: iFont;\
+                       text_class: iClass;\
                        size: iSize;\
                        align: iAx iAy;\
                } \
@@ -315,9 +318,9 @@ part {\
 } \
 
 #define PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t,\
-               iText, iFont, iSize, iAx, iAy, iCr, iCg, iCb, iCa)\
+               iText, iFont, iClass, iSize, iAx, iAy, iCr, iCg, iCb, iCa)\
 PART_RECT("_"iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t)\
-PART_TEXT(iName, "_"iName, iText, iFont, iSize, iAx, iAy, iCr, iCg, iCb, iCa)\
+PART_TEXT(iName, "_"iName, iText, iFont, iClass, iSize, iAx, iAy, iCr, iCg, iCb, iCa)\
 
 /***********************************************************************/
 /* script */
index f08a3f0..40b6ad8 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <extended-elm.h>
 
@@ -196,7 +198,7 @@ Evas_Object *elm_entry_create(Evas_Object *parent, const char *text)
     evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, 0);
     evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, 0);
     elm_entry_input_panel_enabled_set(entry, EINA_FALSE);
-    elm_entry_cnp_mode_set(entry, ELM_CNP_MODE_NO_IMAGE);
+    elm_entry_cnp_mode_set(entry, ELM_CNP_MODE_PLAINTEXT);
     evas_object_show(entry);
     return entry;
 }
index d6d8679..732627f 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __EXTENDED_ELM_H__
 #define __EXTENDED_ELM_H__
index 013a404..5aa1500 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __GRAVEL_H__
 #define __GRAVEL_H__
index e90f903..8725330 100644 (file)
@@ -1,44 +1,50 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <dlog.h>
 #include <gravel.h>
 #include <supplement.h>
 
-static void _bundle_iterate_dump_cb(const char *k, const char *v, void *data)
+static bool _service_iterate_dump_cb(service_h service, const char *key, void *user_data)
 {
-    LOGD("%s -> %s\n", k, v);
+    LOGD("%s -> %s\n", key, user_data);
+    return 0;
 }
 
-void bundle_dump(bundle *b)
+void service_dump(service_h service)
 {
-    if (b != NULL) {
-        bundle_iterate(b, _bundle_iterate_dump_cb, NULL);
+    if (service != NULL) {
+        service_foreach_extra_data(service, _service_iterate_dump_cb, NULL);
     }
 }
 
-Eina_Bool bundle_key_check(bundle *b, const char *key, const char *val)
+Eina_Bool service_key_check(service_h service, const char *key, const char *val)
 {
-    const char *str = bundle_get_val(b, key);
-    if (str != NULL) {
-        if (strcmp(str, val) == 0) {
-            return EINA_TRUE;
-        }
-    }
-    return EINA_FALSE;
+       char *str = NULL;
+       service_get_extra_data(service, key, &str);
+       if (str != NULL) {
+               if (strcmp(str, val) == 0) {
+                       SFREE(str);
+                       return EINA_TRUE;
+               }
+               SFREE(str);
+       }
+       return EINA_FALSE;
 }
 
 void evas_object_geometry_dump(Evas_Object *eo)
index 1f1e7ec..0cfc291 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __SUPPLEMENT_H__
 #define __SUPPLEMENT_H__
@@ -24,6 +26,7 @@
 /* extended type definition */
 typedef struct ui_gadget ui_gadget_t;
 typedef struct ug_cbs ug_cbs_t;
+//typedef struct ui_gadget_s ui_gadget_h;
 
 /* extended macroes */
 #define evas_object_single_event_dump(obj, event) \
@@ -45,8 +48,8 @@ do { \
     evas_object_smart_callback_add(obj, event, evas_object_smart_event_hit, #obj "\t" event);
 
 /* extended functions */
-void bundle_dump(bundle *b);
-Eina_Bool bundle_key_check(bundle *b, const char *key, const char *val);
+void service_dump(service_h service);
+Eina_Bool service_key_check(service_h service, const char *key, const char *val);
 void evas_object_geometry_dump(Evas_Object *eo);
 void evas_object_event_hit(void *data, Evas *e, Evas_Object *obj, void *event_info);
 void evas_object_smart_event_hit(void *data, Evas_Object *obj, void *event_info);
index b4219ff..41ce21d 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_ASSIST_H__
 #define __MEMO_ASSIST_H__
@@ -20,6 +22,7 @@
 #include <memo-db.h>
 #include <bundle.h>
 #include <memo_string.h>
+#include <ui-gadget.h>
 
 #define DOODLE_TITLE_PREFIX     "Drawing-"
 
@@ -48,22 +51,34 @@ typedef void (*Memo_Component_Callback)(void *data, const char *msg, void *event
 typedef struct memo_data memo_data_t;
 typedef struct memo_data_list memo_data_list_t;
 
+typedef enum {
+    MOUSE_EVENT_INVALID = 0,
+    MOUSE_EVENT_CLICK,
+    MOUSE_EVENT_DRAG_LEFT,
+    MOUSE_EVENT_DRAG_RIGHT,
+    MOUSE_EVENT_DRAG_UP,
+    MOUSE_EVENT_DRAG_DOWN,
+} mouse_behaviour_t;
+
+#define MOUSE_POSITION_INVALID 9999
+
 char * strcasestr (const char *haystack, const char *needle);
 char * strptime (const char *s, const char *fmt, struct tm *tp);
 void icu_init();
 char *memo_get_doodle_title();
 void memo_time_format(char *buf, int len, time_t time);
 time_t memo_get_binary_release_date();
+mouse_behaviour_t mouse_event_identify(int startx, int starty, int endx, int endy);
+void evas_object_flick_callback_add(Evas_Object *obj, Evas_Smart_Cb on_flick, void *data);
 void memo_com_dummy_cb(void *data, const char *msg, void *event);
 void memo_create_yes_no_popup(Evas_Object *win, const char *msg, Evas_Smart_Cb on_yes, Evas_Smart_Cb on_no, void *data);
 void memo_tool_btn_focus_set(Evas_Object *eo, Eina_Bool status);
-void *memo_load_font_size_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_font_size_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data);
 void memo_del_font_size_selector(void *h_fss);
-void *memo_load_color_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_color_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data);
 void memo_del_color_selector(void *h_cs);
-void *memo_load_pencil_size_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_pencil_size_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data);
 void memo_del_pencil_size_selector(void *h_pss);
-Eina_Bool memo_black_theme_check();
 void memo_navigator_pop(Evas_Object *navi);
 Elm_Object_Item *memo_naviframe_item_push(Evas_Object *obj, const char *title_label,
     Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
index d473d14..35cca64 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_GENLIST_H__
 #define __MEMO_GENLIST_H__
index f6c0a4f..34b35ed 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_APP_H__
 #define __MEMO_APP_H__
@@ -65,16 +67,18 @@ void *memo_load_edit_view(appdata *ad);
 void *memo_load_edit_list_view(appdata *ad);
 void *memo_load_detail_view(appdata *ad);
 
-void *memo_load_list_viewer(Evas_Object *parent, Evas_Object *win, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_list_viewer(Evas_Object *parent, Evas_Object *win, service_h service, Memo_Component_Callback cb, void *data);
+void memo_clear_list_viewer(void *h_lv);
+void memo_update_list_viewer(void *h_lv);
 void memo_destroy_list_viewer(void *h_lv);
 void memo_list_editor_share_records(void *h_le);
 void memo_list_editor_delete_records(void *h_le);
-void *memo_load_list_editor(Evas_Object *parent, Evas_Object *win, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_list_editor(Evas_Object *parent, Evas_Object *win, service_h service, Memo_Component_Callback cb, void *data);
 void memo_destroy_list_editor(void *h_le);
-void *memo_load_text_viewer(Evas_Object *parent, Evas_Object *win, int id, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_text_viewer(Evas_Object *parent, Evas_Object *win, int id, service_h service, Memo_Component_Callback cb, void *data);
 void memo_destroy_text_viewer(void *h_tv);
 void memo_text_viewer_share_record(void *h_tv);
-void *memo_load_doodle_viewer(Evas_Object *parent, Evas_Object *win, int id, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_doodle_viewer(Evas_Object *parent, Evas_Object *win, int id, service_h service, Memo_Component_Callback cb, void *data);
 void memo_destroy_doodle_viewer(void *h_dv);
 void memo_doodle_viewer_pre_del(void *h_dv);
 void memo_doodle_viewer_share_record(void *h_dv);
diff --git a/include/memo_autolink.h b/include/memo_autolink.h
new file mode 100644 (file)
index 0000000..1664972
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+#ifndef __MEMO_AUTOLINK_H__
+#define __MEMO_AUTOLINK_H__
+
+enum anchor_t {
+    NOT_ANCHOR = 0,
+    ANCHOR_PHONE,
+    ANCHOR_EMAIL,
+    ANCHOR_URL,
+};
+
+struct anchor_popup_item_t {
+    char *label;
+    void (*response) (void *data, Evas_Object *obj, void *event_info);
+    const char *domain; /* for i18n */
+};
+
+typedef struct autolink_data_t {
+    Evas_Object *win_main;
+    Evas_Object *popup;
+    enum anchor_t type;
+    char *info;
+} autolink_data;
+
+GString *autolink_add_anchor(const char *content);
+void autolink_anchor_clicked_cb(void *data, Evas_Object *obj, void *event_info);
+
+#endif                /* __MEMO_AUTOLINK_H__ */
index 55ee2d5..9244490 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_DOODLE_EDITOR_H__
 #define __MEMO_DOODLE_EDITOR_H__
@@ -20,7 +22,7 @@
 void memo_doodle_editor_time_format_update(void *h_de);
 void memo_doodle_editor_cancel(void *h_de);
 void memo_doodle_editor_save(void *h_de);
-void *memo_load_doodle_editor(Evas_Object *win, Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_doodle_editor(Evas_Object *win, Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data);
 void memo_destroy_doodle_editor(void *h_de);
 
 #endif /* __MEMO_DOODLE_EDITOR_H__ */
diff --git a/include/memo_log.h b/include/memo_log.h
new file mode 100644 (file)
index 0000000..d7938d3
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+
+#ifndef __MEMO_LOG_H__
+#define __MEMO_LOG_H__
+
+#include <dlog.h>
+
+#ifdef  LOG_TAG
+#undef  LOG_TAG
+#endif
+#define LOG_TAG "MEMO"
+
+
+#ifdef PERFORMANCE_LOG
+#define DBG(fmt, arg...) SLOGD("%s(%d) " fmt, __FUNCTION__, __LINE__, ##arg)
+#define MEMO_FUN_BEG() DBG("START")
+#define MEMO_FUN_END() DBG("END")
+#else
+#define MEMO_FUN_BEG()
+#define MEMO_FUN_END()
+#endif
+
+#endif                /* __MEMO_LOG_H__ */
index 75b8c51..b18dc91 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_STRING_H__
 #define __MEMO_STRING_H__
@@ -38,6 +40,7 @@
 #define MEMO_I18N_SET                        dgettext("sys_string", "IDS_COM_SK_SET") /* Set */
 #define MEMO_I18N_SHARE                      dgettext("sys_string", "IDS_COM_BUTTON_SHARE") /* Share */
 #define MEMO_I18N_TWITTER                    dgettext("sys_string", "IDS_COM_BODY_TWITTER") /* Twitter */
+#define MEMO_I18N_NFC                        dgettext("sys_string", "IDS_COM_BODY_NFC") /* NFC */
 #define MEMO_I18N_VIDEO_CALL                 dgettext("sys_string", "IDS_COM_BODY_VIDEO_CALL") /* Video call */
 #define MEMO_I18N_VOICE_CALL                 dgettext("sys_string", "IDS_COM_BODY_VOICE_CALL") /* Voice call */
 #define MEMO_I18N_YES                        dgettext("sys_string", "IDS_COM_SK_YES") /* Yes */
@@ -47,6 +50,8 @@
 #define MEMO_I18N_ADD_TO_CONTACT             dgettext("memo", "IDS_MEMO_BODY_ADD_TO_CONTACT") /* Add to contact */
 #define MEMO_I18N_DRAWING                    dgettext("memo", "IDS_MEMO_BODY_DRAWING") /* Drawing */
 #define MEMO_I18N_EDIT_NOTE                  dgettext("memo", "IDS_MEMO_BODY_EDIT_NOTE") /* Edit note */
+#define MEMO_I18N_EDIT_MEMO                  dgettext("memo", "IDS_MEMO_BODY_EDIT_MEMO") /* Edit memo */
+#define MEMO_I18N_CREATE_MEMO                dgettext("memo", "IDS_MEMO_HEADER_CREATE_MEMO") /* Create memo */
 #define MEMO_I18N_NO_MEMOS                   dgettext("memo", "IDS_MEMO_BODY_NO_MEMOS") /* No memos */
 #define MEMO_I18N_SAVE_MEMO                  dgettext("memo", "IDS_MEMO_POP_DIALOG_SAVE_MEMO") /* Save memo? */
 #define MEMO_I18N_SELECT_MEMO                dgettext("memo", "IDS_MEMO_HEADER_SELECT_MEMO_ABB") /* Select memo */
index 7cd4cd8..d7eb23f 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __MEMO_TEXT_EDITOR_H__
 #define __MEMO_TEXT_EDITOR_H__
@@ -20,7 +22,7 @@
 void memo_text_editor_time_format_update(void *h_de);
 void memo_text_editor_cancel(void *h_te);
 void memo_text_editor_save(void *h_te);
-void *memo_load_text_editor(Evas_Object *win, Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data);
+void *memo_load_text_editor(Evas_Object *win, Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data);
 void memo_destroy_text_editor(void *h_te);
 
 #endif                /* __MEMO_TEXT_EDITOR_H__ */
index c1d8041..b276240 100644 (file)
@@ -1,31 +1,35 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
-
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 #ifndef __MEMO_SG_H__
 #define __MEMO_SG_H__
 
 #include <glib.h>
 #include <bundle.h>
 #include <stdarg.h>
+#include <ui-gadget.h>
+
 
 /* UG Name */
 #define UG_NAME_EMAIL            "email-composer-efl"
 #define UG_NAME_MESSAGE          "msg-composer-efl"
 #define UG_NAME_CONTACT_ADD      "contacts-details-efl"
 #define UG_NAME_CALENDAR         "calendar-edit-efl"
+#define UG_NAME_NFC              "share-nfc-efl"
 
 /* AUL NAME */
 #define AUL_NAME_CALENDER        PACKAGE_PREFIX".efl-calendar"
 
 /* UG Function Declaration*/
 /* auto stripped function prototype from (../src/memo_ug.c) */
-void ug_launch_common(bundle *bd, char *ug_name);
+void ug_launch_common(service_h service, char *ug_name);
 void ug_launch_common_var(char *ug_name, ...);
+void ug_launch_message(Eina_List *list);
+void ug_launch_email(Eina_List *list);
 void ug_launch_calender(Eina_List *list);
+void ug_launch_facebook(Eina_List *list);
 void memo_ug_init(Evas_Object *win);
 void memo_share(Evas_Object *parent, int *indexes, int n);
 /* end auto strip */
index 3ec4c50..ae3f368 100644 (file)
--- a/memo.edc
+++ b/memo.edc
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <extend/extended-edc.h>
 
diff --git a/org.tizen.memo.desktop.in b/org.tizen.memo.desktop.in
deleted file mode 100644 (file)
index 652c8f4..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Name=@PROJECT_NAME@
-Exec=@BINDIR@/@PROJECT_NAME@
-Icon=@PKGNAME@.png
-Type=Application
-MimeType=
-Nodisplay=False
-Version=0.1.0
-X-Tizen-TaskManage=True
-X-Tizen-Multiple=False
-X-Tizen-Removable=false
-
-Name[en_US]=Memo
-Name[nl_NL]=Notities
-Name[de_DE]=Memo
-Name[zh_HK]=備忘錄
-Name[zh_CN]=备忘录
-Name[ru_RU]=Заметки
-Name[ko_KR]=메모
-Name[zh_TW]=備忘錄
-Name[ja_JP]=メモ
-Name[es_ES]=Notas
-Name[el_GR]=Σημείωση
-Name[it_IT]=Promemoria
-Name[tr_TR]=Not
-Name[pt_PT]=Memorando
-Name[fr_FR]=Mémo
-
index 3c84758..3ab7830 100644 (file)
Binary files a/org.tizen.memo.png and b/org.tizen.memo.png differ
diff --git a/org.tizen.memo.xml b/org.tizen.memo.xml
new file mode 100644 (file)
index 0000000..93800b8
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.memo" version="0.2.0" install-location="internal-only">
+       <label>Memo</label> 
+       <description>Memo</description> 
+       <ui-application appid="org.tizen.memo" exec="/opt/apps/org.tizen.memo/bin/memo" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+               <icon>org.tizen.memo.png</icon> 
+               <label>Memo</label> 
+               <label xml:lang="en-us">Memo</label> 
+               <label xml:lang="nl-nl">Notities</label> 
+               <label xml:lang="de-de">Memo</label> 
+               <label xml:lang="zh-hk">備忘錄</label> 
+               <label xml:lang="zh-cn">备忘录</label> 
+               <label xml:lang="ru-ru">Заметки</label> 
+               <label xml:lang="zh-tw">備忘錄</label> 
+               <label xml:lang="ja-jp">メモ</label> 
+               <label xml:lang="es-es">Notas</label> 
+               <label xml:lang="el-gr">Σημείωση</label> 
+               <label xml:lang="it-it">Promemoria</label> 
+               <label xml:lang="tr-tr">Not</label> 
+               <label xml:lang="pt-pt">Memorando</label> 
+               <label xml:lang="fr-fr">Mémo</label> 
+               <label xml:lang="ko-kr">메모</label> 
+       </ui-application>
+</manifest>
index a52b823..d542aac 100644 (file)
@@ -1,33 +1,38 @@
+#sbs-git:slp/apps/m/memo memo 0.1.5 27cb9ac9efc61361edf86770614768505e688a17
 Name:       org.tizen.memo
 Summary:    Memo displays the time as text
-Version:    0.1.5
-Release:    78
+Version:    0.2.1
+Release:    13
 Group:      TO_BE/FILLED_IN
-License:    Flora Software License
+License:    Apache
 Source0:    %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(appsvc)
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(ecore-imf)
-BuildRequires: pkgconfig(ecore-input)
-BuildRequires: pkgconfig(ecore-x)
-BuildRequires: pkgconfig(edje)
-BuildRequires: pkgconfig(eina)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(evas)
-BuildRequires: pkgconfig(heynoti)
-BuildRequires: pkgconfig(iniparser)
-BuildRequires: pkgconfig(memo)
-BuildRequires: pkgconfig(ui-gadget)
-BuildRequires: pkgconfig(icu-uc)
+BuildRequires:  pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(appsvc)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(ecore)
+BuildRequires:  pkgconfig(ecore-x)
+BuildRequires:  pkgconfig(ecore-imf)
+BuildRequires:  pkgconfig(ecore-input)
+BuildRequires:  pkgconfig(eina)
+BuildRequires:  pkgconfig(evas)
+BuildRequires:  pkgconfig(edje)
+BuildRequires:  pkgconfig(heynoti)
+BuildRequires:  pkgconfig(utilX)
+BuildRequires:  pkgconfig(iniparser)
+BuildRequires:  pkgconfig(ui-gadget-1)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(bundle)
+BuildRequires:  pkgconfig(icu-i18n)
+BuildRequires:  pkgconfig(memo)
+BuildRequires:  pkgconfig(capi-appfw-application)
+BuildRequires:  pkgconfig(capi-system-runtime-info)
+
 BuildRequires:  libug-contacts-devel
 
 BuildRequires:  cmake
 BuildRequires:  edje-bin
 BuildRequires:  embryo-bin
-BuildRequires:  gettext-tools
+BuildRequires:  gettext-devel
 
 
 %description
@@ -48,13 +53,14 @@ cmake . -DCMAKE_INSTALL_PREFIX="$PREFIX"
 make %{?jobs:-j%jobs}
 
 %install
+rm -rf %{buildroot}
 %make_install
 
-%post
-chown -R 5000:5000 /opt/apps/org.tizen.memo/data
 
 %files
-/opt/apps/org.tizen.memo/bin/*
-/opt/apps/org.tizen.memo/res/*
+%defattr(-,root,root,-)
+/opt/apps/org.tizen.memo/*
+/opt/share/packages/org.tizen.memo.xml
+/opt/share/icons/default/small/org.tizen.memo.png
+%defattr(-,root,root,757)
 /opt/apps/org.tizen.memo/data/*
-/opt/share/applications/org.tizen.memo.desktop
diff --git a/po/ar.po b/po/ar.po
new file mode 100755 (executable)
index 0000000..af76b72
--- /dev/null
+++ b/po/ar.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "حفظ المذكرة؟"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "تم تحديد 1مذكرة"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "تم تحديد %d مذكرات‬"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "إرسال بريد إلكتروني"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "إضافة تعليق"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "إضافة إلى جهة اتصال"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "الرسم"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "تعديل الملاحظة"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "نص"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "تحديد مذكرة"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "إنشاء مذكرة"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "تعديل المذكرة"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "لا توجد مذكرات"
+
diff --git a/po/bg.po b/po/bg.po
new file mode 100755 (executable)
index 0000000..6b2bd6b
--- /dev/null
+++ b/po/bg.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Записване на бележката?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Избрана е 1 паметна бележка"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Избрани са %d паметни бележки"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Изпращане на еmail"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Добавяне на коментар"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Добави към запис"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Рисунка"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Редактиране на бележка"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Текст"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Избор на бележка"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Създаване на записка"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Редакция на записка"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Няма бележки"
+
diff --git a/po/ca.po b/po/ca.po
new file mode 100755 (executable)
index 0000000..a8edfb7
--- /dev/null
+++ b/po/ca.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Desar memoràndum?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 nota seleccionada"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d notes seleccionades"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Enviar correu electrònic"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Afegir comentari"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Afegir a contacte"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Dibuix"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Editar nota"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Seleccionar nota"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Crear memo"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Editar memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Sense memorànd"
+
diff --git a/po/cs.po b/po/cs.po
new file mode 100755 (executable)
index 0000000..0dd4a67
--- /dev/null
+++ b/po/cs.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Uložit poznámku?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Byla vybrána 1 poznámka"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Bylo vybráno %d poznámek"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Odeslat e-mail"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Přidat komentář"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Přidat do kontaktu"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Kreslení"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Upravit poznámku"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Zvolit poznámku"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Vytvořit poznámku"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Poznámka"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Žádné poznámky"
+
diff --git a/po/da.po b/po/da.po
new file mode 100755 (executable)
index 0000000..aa1f3ca
--- /dev/null
+++ b/po/da.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Gem notat?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 notat valgt"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d notater valgt"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Send e-mail"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Tilføj kommentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Føj til kontakt"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Tegning"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Rediger note"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekst"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Vælg notat"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Opret notat"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Rediger notat"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Ingen notater"
+
diff --git a/po/en_US.po b/po/en_US.po
new file mode 100755 (executable)
index 0000000..058ae46
--- /dev/null
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Save memo?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 memo selected"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d memos selected"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Send email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Add comment"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Add to contact"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Drawing"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Edit note"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Select memo"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Create memo"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Edit memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "No memos"
+
diff --git a/po/fi.po b/po/fi.po
new file mode 100755 (executable)
index 0000000..032e461
--- /dev/null
+++ b/po/fi.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Tallennetaanko muistio?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 muistio valittu"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d muistiota valittu"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Lähetä sähköpostiviesti"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Lisää kommentti"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Lisää yhteystietoon"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Piirros"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Muokkaa huomautusta"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Teksti"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Valitse muistio"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Luo muistio"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Muokkaa muistiota"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Ei muistioita"
+
diff --git a/po/he.po b/po/he.po
new file mode 100755 (executable)
index 0000000..db04583
--- /dev/null
+++ b/po/he.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "לשמור תזכיר?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 תזכיר נבחר"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "‏‎%d תזכירים נבחרו"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "שלח דוא"ל"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "הוסף הערה"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "הוסף לאיש קשר"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "ציור"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "ערוך הערה"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "טקסט"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "בחר תזכיר"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "צור תזכיר"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "ערוך תזכיר"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "אין תזכירים"
+
diff --git a/po/hi.po b/po/hi.po
new file mode 100755 (executable)
index 0000000..2fe8aed
--- /dev/null
+++ b/po/hi.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "मेमो सेव करें?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 मेमो चुना गया"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d मेमो चुने गए"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "ईमेल भेजें"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "टिप्पणी जोड़ें"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "संपर्क में जोड़ें"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "चित्रकारी"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "टिप्पणी संपादित करें"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "टेक्स्ट"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "मेमो चुनें"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "मेमो बनाएँ"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "मेमो संपादित करें"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "मेमो नहीं"
+
diff --git a/po/hr.po b/po/hr.po
new file mode 100755 (executable)
index 0000000..fd0cb1e
--- /dev/null
+++ b/po/hr.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Spremiti zapis?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 bilješka odabrana"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d odabranih bilješki"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Pošalji email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Dodaj komentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Dodaj kontaktu"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Crtež"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Uredi bilješku"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekst"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Odaberite bilješku"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Novi zapis"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Uredi"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Nema zapisa"
+
diff --git a/po/hu.po b/po/hu.po
new file mode 100755 (executable)
index 0000000..8eb6656
--- /dev/null
+++ b/po/hu.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Menti a jegyzetet?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 jegyzet kijelölve"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d jegyzet kijelölve"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "E-mail küldése"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Megjegyzés hozzáadása"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Hozzáadás névjegyhez"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Rajz"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Jegyzet szerkesztése"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Szöveg"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Jegyzet kiválasztása"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Emlékeztető létrehozása"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Emlékeztető szerkesztése"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Nincs jegyzet"
+
diff --git a/po/id.po b/po/id.po
new file mode 100755 (executable)
index 0000000..1a318fd
--- /dev/null
+++ b/po/id.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Simpan memo?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 memo dipilih"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d memo dipilih"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Kirim email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Tambah komentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Tambah ke kontak"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Gambar"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Edit catatan"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Teks"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Pilih memo"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Membuat memo"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Edit memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Tdk ada memo"
+
diff --git a/po/lt.po b/po/lt.po
new file mode 100755 (executable)
index 0000000..a8816e6
--- /dev/null
+++ b/po/lt.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Išsaugoti komentarą?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Pasirinktas 1 įrašas"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Pasirinkta įrašų: %d"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Siųsti el. laišką"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Pridėti komentarą"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Įtraukti adresatą"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Piešinys"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Redaguoti pastabą"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekstas"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Pasirinkite įrašą"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Kurti įrašą"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Redaguoti įrašą"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Pranešimų nėra"
+
diff --git a/po/lv.po b/po/lv.po
new file mode 100755 (executable)
index 0000000..53b1318
--- /dev/null
+++ b/po/lv.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Vai saglabāt atgādni?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Izvēlēta 1 piezīme"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Izvēlētas %d piezīmes"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Sūtīt e-pasta ziņu"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Pievienot komentāru"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Pievienot kontaktam"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Zīmējums"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Rediģēt piezīmi"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Teksts"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Piezīmes izvēle"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Izveidot zīmīti"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Rediģēt zīmīti"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Piezīmju nav"
+
diff --git a/po/ms.po b/po/ms.po
new file mode 100755 (executable)
index 0000000..4093f36
--- /dev/null
+++ b/po/ms.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Simpan memo?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 memo dipilih"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d memo dipilih"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Hantar emel"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Tambah ulasan"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Tambah ke kenalan"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Melukis"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Sunting nota"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Teks"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Pilih memo"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Cipta memo"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Sunting memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Tiada memo"
+
index aef89bb..f0f2c8a 100644 (file)
@@ -20,7 +20,7 @@ msgid "IDS_MEMO_BODY_DRAWING"
 msgstr "Tekening"
 
 msgid "IDS_MEMO_BODY_EDIT_NOTE"
-msgstr "Notitie wijzigen"
+msgstr "Notitie bewerken"
 
 msgid "IDS_MEMO_BODY_TEXT"
 msgstr "Tekst"
diff --git a/po/no.po b/po/no.po
new file mode 100755 (executable)
index 0000000..f2f1215
--- /dev/null
+++ b/po/no.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Lagre notat?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 notat valgt"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d notater valgt"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Send e-post"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Legg til kommentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Legg til kontakt"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Tegning"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Endre notat"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekst"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Velg notat"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Opprett notat"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Rediger memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Ingen notater"
+
diff --git a/po/pl.po b/po/pl.po
new file mode 100755 (executable)
index 0000000..ab3ae9a
--- /dev/null
+++ b/po/pl.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Zapisać notatkę?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Wybranych notatek: 1"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Wybranych notatek: %d"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Wyślij e-mail"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Dodaj komentarz"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Dodaj do kontaktów"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Obrazek"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Edytuj notatkę"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekst"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Zaznaczanie notatki"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Utwórz notatkę"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Edytuj notatkę"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Brak notatek"
+
diff --git a/po/ro.po b/po/ro.po
new file mode 100755 (executable)
index 0000000..4219e9b
--- /dev/null
+++ b/po/ro.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Salvaţi nota?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 notă selectată"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d note selectate"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Trimitere email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Adăugare comentariu"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Adăugare la contacte"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Desen"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Editare notă"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Selectare notă"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Creare notă"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Editare memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Nu există note"
+
index d929d11..02ce435 100644 (file)
@@ -20,7 +20,7 @@ msgid "IDS_MEMO_BODY_DRAWING"
 msgstr "Рисунок"
 
 msgid "IDS_MEMO_BODY_EDIT_NOTE"
-msgstr "ТекÑ\81Ñ\82"
+msgstr "Ð\98змениÑ\82Ñ\8c Ð·Ð°Ð¼ÐµÑ\82кÑ\83"
 
 msgid "IDS_MEMO_BODY_TEXT"
 msgstr "Текст"
diff --git a/po/sk.po b/po/sk.po
new file mode 100755 (executable)
index 0000000..9b4461e
--- /dev/null
+++ b/po/sk.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Uložiť poznámku?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 vybratá poznámka"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Vybraté poznámky: %d"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Odoslať e-mail"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Pridať komentár"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Pridať do kontaktu"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Kresba"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Upraviť poznámku"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Vyberte poznámku"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Vytvoriť poznámku"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Upraviť poznámku"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Žiadne poznámky"
+
diff --git a/po/sl.po b/po/sl.po
new file mode 100755 (executable)
index 0000000..499a240
--- /dev/null
+++ b/po/sl.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Shranim beležko?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 beležka izbrana"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d beležk izbranih"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Pošlji e-pošto"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Dodaj komentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Dodaj v stike"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Risanje"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Uredi beležko"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Besedilo"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Izberi beležko"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Ustvari beležko"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Uredi beležko"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Ni beležk"
+
diff --git a/po/sr.po b/po/sr.po
new file mode 100755 (executable)
index 0000000..0f93f64
--- /dev/null
+++ b/po/sr.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Sačuvaj belešku?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Izabrana je 1 beleška"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Izabrano je %d beleški"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Pošalji e-poruku"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Dodaj komentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Dodaj u kontakte"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Crtež"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Izmeni napomenu"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Tekst"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Izaberi belešku"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Kreiraj belešku"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Izmeni belešku"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Nema beleški"
+
diff --git a/po/sv.po b/po/sv.po
new file mode 100755 (executable)
index 0000000..38d104b
--- /dev/null
+++ b/po/sv.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Spara memo?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 valt memo"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d valda memon"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Skicka e-post"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Lägg till kommentar"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Lägg till till kontakt"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Ritning"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Redigera anteckning"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Text"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Välj memo"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Skapa memo"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Redigera memo"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Inga memon"
+
diff --git a/po/th.po b/po/th.po
new file mode 100755 (executable)
index 0000000..763ff4b
--- /dev/null
+++ b/po/th.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "บันทึก\n​สมุด​บันทึก?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "เลือก​สมุด​บันทึก 1 ​รายการ"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "เลือก​สมุด​บันทึก %d ​รายการ"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "ส่ง​อี​เมล์"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "เพิ่ม​ความ​คิด​เห็น"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "เพิ่ม​ใน​ราย​ชื่อ"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "รูป​วาด"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "แก้ไข​บันทึก"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "ตัว​อักษร"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "เลือก​สมุด​บันทึก"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "สร้าง​สมุด​บันทึก"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "แก้ไข​สมุด​บันทึก"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "ไม่มีสมุดบันทึก"
+
diff --git a/po/uk.po b/po/uk.po
new file mode 100755 (executable)
index 0000000..a2506cf
--- /dev/null
+++ b/po/uk.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Зберегти нагадування?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "Вибрано 1 нагадування"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "Вибрано нагадувань: %d"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Надіслати Email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Додати коментар"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Додати до контакту"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Креслення"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Редагувати нотатку"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Текст"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Вибрати нагадування"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Створити нагадування"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Редагувати нагадування"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Немає нагадувань"
+
diff --git a/po/vi.po b/po/vi.po
new file mode 100755 (executable)
index 0000000..dbc2015
--- /dev/null
+++ b/po/vi.po
@@ -0,0 +1,39 @@
+msgid "IDS_MEMO_POP_DIALOG_SAVE_MEMO"
+msgstr "Lưu ghi chú?"
+
+msgid "IDS_MEMO_POP_1_MEMO_SELECTED"
+msgstr "1 ghi chú đã chọn"
+
+msgid "IDS_MEMO_POP_PD_MEMOS_SELECTED"
+msgstr "%d ghi chú đã chọn"
+
+msgid "IDS_MEMO_OPT_SEND_EMAIL"
+msgstr "Gửi email"
+
+msgid "IDS_MEMO_BODY_ADD_COMMENT"
+msgstr "Thêm bình luận"
+
+msgid "IDS_MEMO_BODY_ADD_TO_CONTACT"
+msgstr "Thêm vào danh bạ"
+
+msgid "IDS_MEMO_BODY_DRAWING"
+msgstr "Hình vẽ"
+
+msgid "IDS_MEMO_BODY_EDIT_NOTE"
+msgstr "Sửa ghi chú"
+
+msgid "IDS_MEMO_BODY_TEXT"
+msgstr "Văn bản"
+
+msgid "IDS_MEMO_HEADER_SELECT_MEMO_ABB"
+msgstr "Chọn ghi nhớ"
+
+msgid "IDS_MEMO_HEADER_CREATE_MEMO"
+msgstr "Tạo bản ghi chú"
+
+msgid "IDS_MEMO_BODY_EDIT_MEMO"
+msgstr "Sửa ghi chú"
+
+msgid "IDS_MEMO_BODY_NO_MEMOS"
+msgstr "Không có ghi chú"
+
diff --git a/scripts/copyright b/scripts/copyright
new file mode 100644 (file)
index 0000000..7283a25
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
index 9d28d00..d28414d 100644 (file)
@@ -11,13 +11,16 @@ Edit
 Edit comment
 Edit drawing
 Edit note
+Edit memo
 Email
 Facebook
 Memo
 Message
+Create memo
 Create Drawing
 Create Note
 No
+No memos
 Save
 Save memo?
 Search
old mode 100755 (executable)
new mode 100644 (file)
index cd296cf..fa8f907 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdio.h>
 #include <unicode/ustring.h>
 #include <extended-elm.h>
 #include <supplement.h>
 #include <memo-assist.h>
-#include <appcore-common.h>
+#include <runtime_info.h>
 #include <math.h>
+#include "memo_log.h"
 
 #define ICU_TIME_BUFFER 256
 static UDateFormat* dfmt = NULL;
+extern Eina_Bool launch_by_new;
+extern Eina_Bool normal_memo_launch ;
+
 
 /**
  * memo_get_doodle_title
@@ -74,7 +80,8 @@ void icu_init()
     UChar ubuf[ICU_TIME_BUFFER];
     UChar bestPattern[ICU_TIME_BUFFER];
     UDateTimePatternGenerator *generator;
-    enum appcore_time_format timeformat;
+    int retcode;
+    bool isclockformat24h = true;
     char *timezone_id = NULL;
     UChar utimezone_id[256] = {0,};
 
@@ -87,8 +94,10 @@ void icu_init()
     uloc_setDefault(getenv("LC_TIME"), &status); /* ICU API to set default locale */
     locale = uloc_getDefault();
     /* format */
-    appcore_get_timeformat(&timeformat);
-    if (timeformat==APPCORE_TIME_FORMAT_24) {
+    retcode = runtime_info_get_value_bool(RUNTIME_INFO_KEY_24HOUR_CLOCK_FORMAT_ENABLED, &isclockformat24h);
+    if (retcode != RUNTIME_INFO_ERROR_NONE)
+        isclockformat24h = false;
+    if (isclockformat24h) {
         /* 14 May 09 15:37 */
         u_strFromUTF8(ubuf, MEMO_BUFFER_SIZE, NULL, "dMMMyyHHmm", -1, &status);
     } else {
@@ -151,6 +160,81 @@ time_t memo_get_binary_release_date()
     return timelocal(&time);
 }
 
+/**
+ * mouse_event_identify
+ *
+ * @brief
+ *
+ * @param   [in] startx
+ *
+ * @param   [in] starty
+ *
+ * @param   [in] endx
+ *
+ * @param   [in] endy
+ *
+ * @return
+ *
+ * @exception    None
+ *
+ * @remark       None
+ *
+ * @see
+ *
+ */
+mouse_behaviour_t mouse_event_identify(int startx, int starty, int endx, int endy)
+{
+    int gapx = 0;
+    int gapy = 0;
+
+    if ((startx == MOUSE_POSITION_INVALID)
+        || (starty == MOUSE_POSITION_INVALID)
+        || (endx == MOUSE_POSITION_INVALID)
+        || (endy == MOUSE_POSITION_INVALID)) {
+        return MOUSE_EVENT_INVALID;
+    }
+
+    gapx = endx - startx;
+    gapy = endy - starty;
+    if ((abs(gapx) <= 10) && (abs(gapy) <= 10)) {    /* click */
+        return MOUSE_EVENT_CLICK;
+    } else if (abs(gapx) > abs(gapy)) {    /* horizonal drag */
+        return gapx > 0 ? MOUSE_EVENT_DRAG_RIGHT : MOUSE_EVENT_DRAG_LEFT;
+    } else {        /* vertical drag */
+        return gapy > 0 ? MOUSE_EVENT_DRAG_DOWN : MOUSE_EVENT_DRAG_UP;
+    }
+}
+
+static void _evas_object_on_mouse_down(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
+{
+    Evas_Event_Mouse_Down *ev = (Evas_Event_Mouse_Down *)event_info;
+    evas_object_data_set(evas_obj, "startx", (const void *)ev->output.x);
+    evas_object_data_set(evas_obj, "starty", (const void *)ev->output.y);
+}
+
+static void _evas_object_on_mouse_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
+{
+    Evas_Event_Mouse_Down *ev = (Evas_Event_Mouse_Down *)event_info;
+    int startx = (int)evas_object_data_get(evas_obj, "startx");
+    int starty = (int)evas_object_data_get(evas_obj, "starty");
+    Evas_Smart_Cb on_flick = (Evas_Smart_Cb)evas_object_data_get(evas_obj, "on_flick");
+    mouse_behaviour_t mbt = mouse_event_identify(startx, starty, ev->output.x, ev->output.y);
+    evas_object_data_set(evas_obj, "startx", (const void *)MOUSE_POSITION_INVALID);
+    evas_object_data_set(evas_obj, "starty", (const void *)MOUSE_POSITION_INVALID);
+    if (on_flick != NULL) {
+        on_flick(data, evas_obj, (void *)mbt);
+    }
+}
+
+void evas_object_flick_callback_add(Evas_Object *obj, Evas_Smart_Cb on_flick, void *data)
+{
+    evas_object_data_set(obj, "startx", (const void *)MOUSE_POSITION_INVALID);
+    evas_object_data_set(obj, "starty", (const void *)MOUSE_POSITION_INVALID);
+    evas_object_data_set(obj, "on_flick", (const void *)on_flick);
+    evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_DOWN, _evas_object_on_mouse_down, data);
+    evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_UP, _evas_object_on_mouse_up, data);
+}
+
 void memo_com_dummy_cb(void *data, const char *msg, void *event)
 {
     LOGD("msg : %s\n", msg);
@@ -235,13 +319,15 @@ void memo_tool_btn_focus_set(Evas_Object *eo, Eina_Bool status)
     edje_object_signal_emit(elm_layout_edje_get(eo), (status ? "focus" : "normal"), "elm");
 }
 
-static void _set_bg(Evas_Object *obj, bundle *bd)
+static void _set_bg(Evas_Object *obj, service_h service)
 {
     unsigned char *color = NULL;
-    int bg_color = 0xFFFFFFFF; /* ARGB */
-    const char *s = bundle_get_val(bd, "bg_color");
+    int bg_color = 0xff000000; /* ARGB */
+    char *s = NULL;
+    service_get_extra_data(service, "bg_color", &s);
     if (s != NULL) {
         bg_color = atoi(s);
+       SFREE(s);
     }
     color = (unsigned char *)&bg_color;
     evas_object_color_set(obj, color[2], color[1], color[0], color[3]);
@@ -255,6 +341,7 @@ typedef struct __font_size_selector_t {
     Evas_Object *body_main;
     Evas_Object *slider;
     Evas_Object *label;
+    Evas_Object *event_rect; /* for sweep */
     /* other */
     int min;
     int max;
@@ -265,21 +352,26 @@ static void _on_font_size_change_cb(void *data, Evas_Object *obj, void *event_in
 {
     font_size_selector_t *fss = (font_size_selector_t *)data;
     double fontSize = elm_slider_value_get(fss->slider);
-    int s = floor(fontSize + 0.5);
-    if (s != fss->current) {
-        fss->current = s;
-       char buf[MEMO_BUFFER_SIZE];
-       snprintf(buf, MEMO_BUFFER_SIZE, "<color=#FFFFFFFF><font_size=%d><align=center>Abc</align></font_size></color>", fss->current);
-       elm_object_text_set(fss->label, buf);
-        fss->cb(fss->data, "change", (void *)fss->current);
+    fss->current = floor(fontSize + 0.5);
+    char buf[MEMO_BUFFER_SIZE];
+    snprintf(buf, MEMO_BUFFER_SIZE, "<color=#000000FF><font_size=%d><align=center>Abc</align></font_size></color>", fss->current);
+    elm_object_text_set(fss->label, buf);
+    fss->cb(fss->data, "change", (void *)fss->current);
+}
+
+static void _fss_on_flick(void *data, Evas_Object *evas_obj, void *event_info)
+{
+    font_size_selector_t *fss = (font_size_selector_t *)data;
+    if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_DOWN) {
+        fss->cb(fss->data, "flick,down", (void *)fss->current);
     }
 }
 
-void *memo_load_font_size_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_font_size_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data)
 {
     font_size_selector_t *fss = SMALLOC(font_size_selector_t);
     RETVIF(fss==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     fss->parent = parent;
     fss->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     fss->data = data;
@@ -288,9 +380,11 @@ void *memo_load_font_size_selector(Evas_Object *parent, bundle *bd, Memo_Compone
     fss->min = 20;
     fss->max = 60;
     fss->current = 30;
-    const char *s = bundle_get_val(bd, "current");
+    char *s = NULL;
+    service_get_extra_data(service, "current", &s);
     if (s != NULL) {
         fss->current = atoi(s);
+       SFREE(s);
     }
 
     fss->body_main = elm_layout_create(fss->parent, EDJ_FILE, "font_size_selector");
@@ -298,7 +392,7 @@ void *memo_load_font_size_selector(Evas_Object *parent, bundle *bd, Memo_Compone
 
     /* background */
     Evas_Object *bg = evas_object_rectangle_add(evas_object_evas_get(parent));
-    _set_bg(bg, bd);
+    _set_bg(bg, service);
     elm_object_part_content_set(fss->body_main, "bg.color", bg);
     /* slider */
     fss->slider = elm_slider_add(fss->body_main);
@@ -312,9 +406,12 @@ void *memo_load_font_size_selector(Evas_Object *parent, bundle *bd, Memo_Compone
     /* preview text */
     fss->label = elm_label_add(fss->body_main);
     char buf[MEMO_BUFFER_SIZE];
-    snprintf(buf, MEMO_BUFFER_SIZE, "<color=#FFFFFFFF><font_size=%d><align=center>Abc</align></font_size></color>", fss->current);
+    snprintf(buf, MEMO_BUFFER_SIZE, "<color=#000000FF><font_size=%d><align=center>Abc</align></font_size></color>", fss->current);
     elm_object_text_set(fss->label, buf);
     elm_object_part_content_set(fss->body_main, "elm.swallow.label", fss->label);
+    /* for flick event */
+    fss->event_rect = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(fss->body_main), "event");
+    evas_object_flick_callback_add(fss->event_rect, _fss_on_flick, fss);
 
     return (void *)fss;
 }
@@ -334,6 +431,7 @@ typedef struct __color_selector_t {
     Evas_Object *body_main;
     Evas_Object *selector;
     Evas_Object *rect; /* color rect */
+    Evas_Object *event_rect; /* for sweep */
     /* other */
     int color; /* ARGB */
 }color_selector_t;
@@ -351,28 +449,39 @@ static void _on_color_change_cb(void *data, Evas_Object *obj, void *event_info)
     }
 }
 
-void *memo_load_color_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data)
+static void _cs_on_flick(void *data, Evas_Object *evas_obj, void *event_info)
+{
+    color_selector_t *cs = (color_selector_t *)data;
+    if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_DOWN) {
+        cs->cb(cs->data, "flick,down", (void *)cs->color);
+    }
+}
+
+void *memo_load_color_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data)
 {
     color_selector_t *cs = SMALLOC(color_selector_t);
     RETVIF(cs==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     cs->parent = parent;
     cs->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     cs->data = data;
 
     /* init */
-    cs->color = 0xFFFFFFFF;
-    const char *s = bundle_get_val(bd, "color");
+    cs->color = 0xff000000;
+    char *s = NULL;
+    service_get_extra_data(service, "color", &s);
     if (s != NULL) {
         cs->color = atoi(s);
+       SFREE(s);
     }
     cs->body_main = elm_layout_create(cs->parent, EDJ_FILE, "color_selector");
     cs->cb(cs->data, "layout", cs->body_main);
 
     /* background */
-    s = bundle_get_val(bd, "bg_color");
+    service_get_extra_data(service, "bg_color", &s);
     if (s != NULL) {
-        edje_object_signal_emit(elm_layout_edje_get(cs->body_main), "black", "elm");
+        edje_object_signal_emit(elm_layout_edje_get(cs->body_main), "white", "elm");
+       SFREE(s);
     } else {
         edje_object_signal_emit(elm_layout_edje_get(cs->body_main), "white", "elm");
     }
@@ -387,6 +496,9 @@ void *memo_load_color_selector(Evas_Object *parent, bundle *bd, Memo_Component_C
     cs->rect = evas_object_rectangle_add(evas_object_evas_get(parent));
     evas_object_color_set(cs->rect, color[2], color[1], color[0], color[3]);
     elm_object_part_content_set(cs->body_main, "elm.swallow.color", cs->rect);
+    /* for flick event */
+    cs->event_rect = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(cs->body_main), "event");
+    evas_object_flick_callback_add(cs->event_rect, _cs_on_flick, cs);
 
     return (void *)cs;
 }
@@ -406,6 +518,7 @@ typedef struct __pencil_size_selector_t {
     Evas_Object *body_main;
     Evas_Object *slider;
     Evas_Object *rect; /* previw rect */
+    Evas_Object *event_rect; /* for sweep */
     /* other */
     int min;
     int max;
@@ -421,11 +534,19 @@ static void _on_pencil_size_change_cb(void *data, Evas_Object *obj, void *event_
     pss->cb(pss->data, "change", (void *)pss->current);
 }
 
-void *memo_load_pencil_size_selector(Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data)
+static void _pss_on_flick(void *data, Evas_Object *evas_obj, void *event_info)
+{
+    pencil_size_selector_t *pss = (pencil_size_selector_t *)data;
+    if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_DOWN) {
+        pss->cb(pss->data, "flick,down", (void *)pss->current);
+    }
+}
+
+void *memo_load_pencil_size_selector(Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data)
 {
     pencil_size_selector_t *pss = SMALLOC(pencil_size_selector_t);
     RETVIF(pss==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     pss->parent = parent;
     pss->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     pss->data = data;
@@ -434,9 +555,11 @@ void *memo_load_pencil_size_selector(Evas_Object *parent, bundle *bd, Memo_Compo
     pss->min = 1;
     pss->max = 8;
     pss->current = 8;
-    const char *s = bundle_get_val(bd, "current");
+    char *s = NULL;
+    service_get_extra_data(service, "current", &s);
     if (s != NULL) {
         pss->current = atoi(s);
+       SFREE(s);
     }
 
     pss->body_main = elm_layout_create(pss->parent, EDJ_FILE, "pencil_size_selector");
@@ -444,11 +567,11 @@ void *memo_load_pencil_size_selector(Evas_Object *parent, bundle *bd, Memo_Compo
 
     /* background */
     Evas_Object *bg = evas_object_rectangle_add(evas_object_evas_get(parent));
-    _set_bg(bg, bd);
+    _set_bg(bg, service);
     elm_object_part_content_set(pss->body_main, "bg.color", bg);
     /* slider */
     pss->slider = elm_slider_add(pss->body_main);
-    elm_object_style_set(pss->slider, "expanded_indicator_button");
+    elm_object_style_set (pss->slider, "expanded_indicator_button");
     elm_slider_indicator_show_set(pss->slider, EINA_TRUE);
     elm_slider_min_max_set(pss->slider, pss->min, pss->max);
     elm_slider_indicator_format_set(pss->slider, "%1.0f");
@@ -460,6 +583,9 @@ void *memo_load_pencil_size_selector(Evas_Object *parent, bundle *bd, Memo_Compo
     evas_object_color_set(pss->rect, 0, 0, 0, 255);
     evas_object_size_hint_min_set(pss->rect, 0, pss->current);
     elm_object_part_content_set(pss->body_main, "elm.swallow.pencil", pss->rect);
+    /* for flick event */
+    pss->event_rect = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(pss->body_main), "event");
+    evas_object_flick_callback_add(pss->event_rect, _pss_on_flick, pss);
 
     return (void *)pss;
 }
@@ -471,35 +597,27 @@ void memo_del_pencil_size_selector(void *h_pss)
     SFREE(pss);
 }
 
-Eina_Bool memo_black_theme_check()
-{
-    Eina_Bool black = EINA_FALSE;
-    char *str = vconf_get_str("db/setting/selected_theme");
-    if (str != NULL) {
-        LOGD("%s:%d current theme : %s\n", __FUNCTION__, __LINE__, str);
-        if ((strcmp(str, "tizen-black") == 0)
-            || (strcmp(str, "tizen-black-hd") == 0)) {
-            black = EINA_TRUE;
-        }
-        free(str);
-    }
-    return black;
-}
-
 void memo_navigator_pop(Evas_Object *navi)
 {
-    Elm_Object_Item *top_it = elm_naviframe_top_item_get(navi);
-    Evas_Object *eo = elm_object_item_content_get(top_it);
-    Evas_Object *prev_eo = evas_object_data_get(eo, "previous_obj");
-    if(prev_eo == NULL) { /* exit when view stack is empty */
-        elm_exit();
-    } else {
-        Evas_Smart_Cb cb = evas_object_data_get(prev_eo, "update_cb");
-        RETIF(cb == NULL);
-        void *cb_data = evas_object_data_get(prev_eo, "update_data");
-        cb(cb_data, NULL, NULL);
-    }
-    elm_naviframe_item_pop(navi);
+       Elm_Object_Item *top_it = elm_naviframe_top_item_get(navi);
+       Evas_Object *eo = elm_object_item_content_get(top_it);
+       Evas_Object *prev_eo = evas_object_data_get(eo, "previous_obj");
+       if(prev_eo == NULL) { /* exit when view stack is empty */
+               elm_exit();
+               if(normal_memo_launch) {
+                       normal_memo_launch  = EINA_FALSE;
+               }
+       } else {
+               Evas_Smart_Cb cb = evas_object_data_get(prev_eo, "update_cb");
+               if(launch_by_new && !cb) {
+                       elm_naviframe_item_pop(navi);
+                       return ;
+               }
+               RETIF(cb == NULL);
+               void *cb_data = evas_object_data_get(prev_eo, "update_data");
+               cb(cb_data, NULL, NULL);
+       }
+       elm_naviframe_item_pop(navi);
 }
 
 Elm_Object_Item *memo_naviframe_item_push(Evas_Object *obj, const char *title_label,
@@ -536,7 +654,7 @@ Eina_Bool memo_comment_savable(Evas_Object *entry, const char *orig_utf8)
 void memo_comment_recover(Evas_Object *entry, const char *orig_utf8)
 {
     if (orig_utf8 == NULL) {
-        elm_entry_entry_set(entry, NULL);
+        elm_entry_entry_set(entry, MEMO_I18N_ADD_COMMENT);
     } else {
         char *content = elm_entry_utf8_to_markup(orig_utf8);
         elm_entry_entry_set(entry, content);
index 50c3b89..1534c13 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <Elementary.h>
 #include <gravel.h>
@@ -22,6 +24,7 @@
 #include <memo-assist.h>
 #include <memo_string.h>
 #include <memo-genlist.h>
+#include "memo_log.h"
 
 static void _str_append_utf8(char *s, int size, const char *utf8)
 {
@@ -53,6 +56,7 @@ static void _str_append_utf8(char *s, int size, const char *utf8)
  */
 char *memo_gl_label_get(void *data, Evas_Object *obj, const char *part)
 {
+    MEMO_FUN_BEG();
     gl_data_t *gld = (gl_data_t *)data;
     char buf[MEMO_BUFFER_SIZE] = {0};
     char input[MEMO_BUFFER_SIZE] = {0};
@@ -62,12 +66,14 @@ char *memo_gl_label_get(void *data, Evas_Object *obj, const char *part)
 
     if (!strcmp(part, "elm.text.date")) {
         memo_time_format(buf, MEMO_BUFFER_SIZE, gld->mod_time);
+        MEMO_FUN_END();
         return strdup(buf);
     } else if (!strcmp(part, "elm.slide.text.1")) {
         memo_data_t *md = memo_get_data(gld->index);
         snprintf(input, MEMO_BUFFER_SIZE, "%s",
             (md->comment == NULL ? md->content : md->comment)); /* limit input */
         memo_free_data(md);
+        MEMO_FUN_END();
         return strdup(input);
     } else if (!strcmp(part, "elm.text")) {
         memo_data_t *md = memo_get_data(gld->index);
@@ -112,8 +118,10 @@ char *memo_gl_label_get(void *data, Evas_Object *obj, const char *part)
             _str_append_utf8(output, MEMO_BUFFER_SIZE, pre);
         }
         memo_free_data(md);
+        MEMO_FUN_END();
         return strdup(output);
     }
+    MEMO_FUN_END();
     return NULL;
 }
 
@@ -139,6 +147,7 @@ char *memo_gl_label_get(void *data, Evas_Object *obj, const char *part)
  */
 Evas_Object *memo_gl_icon_get(void *data, Evas_Object *obj, const char *part)
 {
+    MEMO_FUN_BEG();
     gl_data_t *gld = (gl_data_t *)data;
     char buf[MEMO_BUFFER_SIZE];
     Evas_Object *eo = NULL;
@@ -159,6 +168,7 @@ Evas_Object *memo_gl_icon_get(void *data, Evas_Object *obj, const char *part)
     } else if (!strcmp(part, "elm.slide.swallow.2")) {
         eo = elm_button_create(obj, MEMO_I18N_SHARE, gld->on_send, gld);
     }
+    MEMO_FUN_END();
     return eo;
 }
 
index 92368b1..a85dcd0 100644 (file)
@@ -1,20 +1,23 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdio.h>
+#include <app.h>
 #include <appcore-efl.h>
 #include <ui-gadget.h>        /* ug_send_key_event */
 #include <Ecore_X.h>
 #include <vconf.h>
 #include <memo.h>
 #include <memo_ug.h>
+#include "memo_log.h"
 
 static int heynoti_fd = -1;
+Eina_Bool launch_by_new = EINA_FALSE; /*check wether clicked  new icon*/
+Eina_Bool is_previous_edit_view = EINA_FALSE;/*check wether previous view is edit view*/
+Eina_Bool normal_memo_launch = EINA_FALSE;
+
 
 static void on_time_format_update(appdata *ad)
 {
+    MEMO_FUN_BEG();
     Elm_Object_Item *top_it = elm_naviframe_top_item_get(ad->navigator);
     Evas_Object *eo = elm_object_item_content_get(top_it);
     if(eo != NULL) {
@@ -35,19 +44,23 @@ static void on_time_format_update(appdata *ad)
         void *cb_data = evas_object_data_get(eo, "time_format_update_data");
         cb(cb_data, NULL, NULL);
     }
+    MEMO_FUN_END();
 }
 
 void memo_timezone_changed_cb(void *data)
 {
+    MEMO_FUN_BEG();
     appdata *ad = data;
     /* update ICU */
     icu_init();
     /* update top view */
     on_time_format_update(ad);
+    MEMO_FUN_END();
 }
 
 int tzone_heynoti_init(void *data)
 {
+    MEMO_FUN_BEG();
     int fd = -1;
     if((fd = heynoti_init()) < 0) {
         return -1;
@@ -59,11 +72,13 @@ int tzone_heynoti_init(void *data)
         return -1;
     }
     LOGD("tzone heynoti register success!\n");
+    MEMO_FUN_BEG();
     return fd;
 }
 
 void tzone_heynoti_fini()
 {
+    MEMO_FUN_BEG();
     int fd = heynoti_fd;
     if (fd < 0) {
         return;
@@ -71,35 +86,43 @@ void tzone_heynoti_fini()
 
     heynoti_unsubscribe(fd, "setting_time_changed", memo_timezone_changed_cb);
     heynoti_close(fd);
+    MEMO_FUN_END();
 }
 
 static void win_del(void *data, Evas_Object *obj, void *event)
 {
-    elm_exit();
+       MEMO_FUN_BEG();
+       if(normal_memo_launch)  {
+               normal_memo_launch = EINA_FALSE;
+       }
+       elm_exit();
+       MEMO_FUN_END();
 }
 
-static int lang_changed(void *data)
+static void app_lang(void *data)
 {
-    return 0;
+    //Take necessary actions when system language setting changes
 }
 
-static int region_changed(void *data)
+static void app_region(void *data)
 {
+    MEMO_FUN_BEG();
+    //Take necessary actions when system region settings changes
     appdata *ad = data;
     /* time format 12/24 chanaged, update ICU */
     icu_init();
     /* update top view */
     on_time_format_update(ad);
-    return 0;
+    MEMO_FUN_END();
 }
 
 static Evas_Object *create_win(const char *name)
 {
+    MEMO_FUN_BEG();
     Evas_Object *eo;
     int w, h;
 
     eo = elm_win_add(NULL, name, ELM_WIN_BASIC);
-    elm_win_conformant_set(eo, EINA_TRUE);
     if (eo) {
         elm_win_title_set(eo, name);
         elm_win_borderless_set(eo, EINA_TRUE);
@@ -108,17 +131,24 @@ static Evas_Object *create_win(const char *name)
         evas_object_resize(eo, w, h);
     }
 
+    MEMO_FUN_BEG();
     return eo;
 }
 
 static void _on_reload_cb(void *data, Evas_Object *obj, void *event_info)
 {
-    evas_object_del(obj);
-    elm_exit();
+       MEMO_FUN_BEG();
+       evas_object_del((Evas_Object *)data);
+       if(normal_memo_launch)  {
+               normal_memo_launch = EINA_FALSE;
+       }
+       elm_exit();
+       MEMO_FUN_END();
 }
 
 void on_change(keynode_t *node, void *user_data)
 {
+    MEMO_FUN_BEG();
     appdata *ad = (appdata *)user_data;
     int sync = vconf_keynode_get_int(node);
     if (sync == 1) {
@@ -134,20 +164,23 @@ void on_change(keynode_t *node, void *user_data)
             ad->popup = popup;
         }
     }
+    MEMO_FUN_END();
 }
 
 static int app_create_delay(void *data)
 {
+    MEMO_FUN_BEG();
     appdata *ad = (appdata *)data;
     Evas_Object *win;
     int r;
 
-    /* create window */
-    win = create_win(PACKAGE);
-    if (win == NULL) {
-        return -1;
-    }
-    ad->win_main = win;
+       /* create window */
+       win = create_win(PACKAGE);
+       if (win == NULL) {
+               return -1;
+       }
+       normal_memo_launch  = EINA_TRUE;
+       ad->win_main = win;
 
     /* monitor update of memo database from external application */
     int sync = 0;
@@ -203,31 +236,31 @@ static int app_create_delay(void *data)
     /* init internationalization */
     r = appcore_set_i18n(PACKAGE, LOCALEDIR);
     if (r) {
+        MEMO_FUN_END();
         return -1;
     }
-    lang_changed(ad);
-
-    appcore_set_event_callback(APPCORE_EVENT_REGION_CHANGE, region_changed, ad);
+    app_lang(ad);
 
     /* timezone inoti */
     heynoti_fd = tzone_heynoti_init(ad);
 
-    /* add system event callback */
-    appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, lang_changed, ad);
-
+    MEMO_FUN_END();
     return 0;
 }
 
-static int app_create(void *data)
+static bool app_create(void *data)
 {
+    MEMO_FUN_BEG();
     /* init memo database */
     memo_init(NULL);
-    return 0;
+    MEMO_FUN_END();
+    return true;
 }
 
-static int app_terminate(void *data)
+static void app_terminate(void *data)
 {
-    appdata *ad = data;
+    MEMO_FUN_BEG();
+    appdata *ad = (appdata *)data;
     /* fini memo database */
     memo_fini();
 
@@ -235,71 +268,106 @@ static int app_terminate(void *data)
     if (ad->win_main) {
         evas_object_del(ad->win_main);
     }
-
-    return 0;
+    MEMO_FUN_END();
 }
 
-static int app_pause(void *data)
+static void app_pause(void *data)
 {
-    return 0;
+    // Take necessary actions when application becomes invisible.
 }
 
-static int app_resume(void *data)
+static void app_resume(void *data)
 {
-    return 0;
+    // Take necessary actions when application becomes visible.
 }
 
-static int app_reset(bundle *bd, void *data)
+static void app_service(service_h service, void *data)
 {
-    appdata *ad = (appdata *)data;
-
-    if (ad->win_main != NULL) { /* memo has already launced. */
-        elm_win_activate(ad->win_main);
-        return 0;
-    }
-
-    /* launch memo */
-    ad->init_view = MEMO_LIST_VIEW;
-    ad->index = -1;
-    if (bd != NULL) { /* launch type check */
-        /* detail view */
-        const char *s = bundle_get_val(bd, AUL_PARAM_ID);
-        if (s != NULL) {
-            int id = atoi(s);
-            memo_data_t *md = memo_get_data(id);
-            if (md != NULL) { /* launch detail view */
-                ad->init_view = MEMO_DETAIL_VIEW;
-                ad->index = id;
-                memo_free_data(md);
-            }
-        }
-        /* voice memo, launch edit view with specified text */
-        s = bundle_get_val(bd, "memo");
-        if (s != NULL) {    /* launch edit text view */
-            ad->init_view = MEMO_EDIT_VIEW;
-            ad->index = -1;
-            ad->init_str = strdup(s);    /* ugh, edit text view will take over init_str, no need to free explicitly */
-        }
-    }
-    app_create_delay(ad);
-    evas_object_show(ad->win_main);
-
-    return 0;
+       MEMO_FUN_BEG();
+       appdata *ad = (appdata *)data;
+       char *value = NULL;
+       int lanuch_by_normal = EINA_FALSE;
+       /* launch memo */
+       ad->init_view = MEMO_LIST_VIEW;
+       ad->index = -1;
+
+       int r = service_get_operation(service, &value);
+       if (value) {
+               if (!strcmp(value, SERVICE_OPERATION_DEFAULT)) {
+                       free(value);
+                       r= service_get_extra_data(service, "caller", &value);
+                       if(value && !strcmp(value,"New")){
+                               ad->init_view = MEMO_EDIT_VIEW;
+                               ad->index = -1;
+                               free(value);
+                               value = NULL;
+                               launch_by_new = TRUE;
+                       } else if ((value && !strcmp(value,"Normal"))  || (value && !strcmp(value,"Search"))) {
+                               ad->init_view = MEMO_LIST_VIEW;
+                               ad->index = -1;
+                               free(value);
+                               value = NULL;
+                               lanuch_by_normal = EINA_TRUE;
+                       }
+               }
+       }
+       if (ad->win_main != NULL) { /* memo has already launced. */
+               elm_win_activate(ad->win_main);
+               if (is_previous_edit_view && !lanuch_by_normal && launch_by_new) { /* previous view is edit view  and click the new icon go the create view again*/
+                       return ;
+               }
+               if (is_previous_edit_view && lanuch_by_normal && launch_by_new) { /*first click new ,then back and click normal memo */
+                       is_previous_edit_view = EINA_FALSE;
+                       launch_by_new = EINA_FALSE;
+                       memo_load_list_view(ad);
+                       return ;
+
+               }
+               if (ad->init_view == MEMO_EDIT_VIEW) {
+                       memo_load_edit_view(ad);
+                       return ;
+               }
+               if( normal_memo_launch ) { /* normal click memo icon in livebox*/
+                       return ;
+               }
+       }
+
+       app_create_delay(ad);
+       evas_object_show(ad->win_main);
+
+       MEMO_FUN_END();
+       return;
 }
 
+/**
+ * @describe
+ *  The entry of the program
+ *
+ * @param    argc
+ * @param    argv
+ * @param    int
+ * @exception
+ */
 int main(int argc, char *argv[])
 {
+    MEMO_FUN_BEG();
     appdata ad;
-    struct appcore_ops ops = {
-        .create = app_create,
-        .terminate = app_terminate,
-        .pause = app_pause,
-        .resume = app_resume,
-        .reset = app_reset,
-    };
+
+    app_event_callback_s event_callback;
+
+    event_callback.create = app_create;
+    event_callback.terminate = app_terminate;
+    event_callback.pause = app_pause;
+    event_callback.resume = app_resume;
+    event_callback.service = app_service;
+    event_callback.low_memory = NULL;
+    event_callback.low_battery = NULL;
+    event_callback.device_orientation = NULL;
+    event_callback.language_changed = app_lang;
+    event_callback.region_format_changed = app_region;
 
     memset(&ad, 0x0, sizeof(appdata));
-    ops.data = &ad;
 
-    return appcore_efl_main(PACKAGE, &argc, &argv, &ops);
+    MEMO_FUN_END();
+    return app_efl_main(&argc, &argv, &event_callback, &ad);
 }
diff --git a/src/memo_autolink.c b/src/memo_autolink.c
new file mode 100644 (file)
index 0000000..489f335
--- /dev/null
@@ -0,0 +1,552 @@
+/*
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+
+#include <Elementary.h>
+#include <dlog.h>
+#include <gravel.h>
+#include <extended-elm.h>
+#include <assert.h>
+#include <glib.h>
+#include <memo_string.h>
+#include <aul.h>
+#include <appsvc.h>
+#include <contacts-ug.h>
+#include <memo_autolink.h>
+#include <memo_ug.h>
+#include "memo_log.h"
+
+static void _autolink_popup_response_cb(void *data, Evas_Object *obj, void *event_info);
+
+/* BEGIN CONVERTE BETWEEN enum anchor_t AND string  */
+
+static char *_autolink_anchor_type_to_string(enum anchor_t type)
+{
+    switch (type) {
+    case ANCHOR_EMAIL:
+        return "email";
+    case ANCHOR_PHONE:
+        return "phone_num";
+    case ANCHOR_URL:
+        return "url";
+    default:
+        return "";
+    }
+}
+
+/* END CONVERTE BETWEEN enum anchor_t AND string  */
+
+/* BEGIN POPUP CALLBACK */
+
+static void _autolink_send_email_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       struct autolink_data_t *ald = (struct autolink_data_t *)data;
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "RUN_TYPE", "5");
+       service_add_extra_data(service, "TO", ald->info);
+
+       ug_launch_common(service, UG_NAME_EMAIL);
+       _autolink_popup_response_cb(ald, ald->popup, NULL);
+       }
+
+static void _autolink_send_message_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    struct autolink_data_t *ald = (struct autolink_data_t *)data;
+
+    ug_launch_common_var(UG_NAME_MESSAGE, "TO", ald->info, NULL);
+    _autolink_popup_response_cb(ald, ald->popup, NULL);
+}
+
+static void _autolink_vioce_call_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       struct autolink_data_t *ald = (struct autolink_data_t *)data;
+       bundle *bd = bundle_create();
+       char telnum[255] = {0,};
+       
+       appsvc_set_operation(bd, APPSVC_OPERATION_CALL);
+       snprintf(telnum, sizeof(telnum), "tel:%s", ald->info);
+       appsvc_set_uri(bd, telnum);
+       appsvc_run_service(bd, 0, NULL, NULL);
+
+       bundle_free(bd);
+       _autolink_popup_response_cb(ald, ald->popup, NULL);
+}
+
+static void _autolink_video_call_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       struct autolink_data_t *ald = (struct autolink_data_t *)data;
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "KEY_CALL_TYPE", "mo");
+       service_add_extra_data(service, "KEY_CALL_HANDLE", "1");
+       service_add_extra_data(service, "KEY_CALLING_PARTY_NUMBER", ald->info);
+       service_add_extra_data(service, "KEY_CLI_CAUSE", "-1");
+       service_add_extra_data(service, "KEY_FORWARDED", "-1");
+       service_set_package(service, AUL_NAME_VEDIO_CALL);
+       service_send_launch_request(service, NULL, NULL);
+
+       service_destroy(service);
+       _autolink_popup_response_cb(ald, ald->popup, NULL);
+}
+
+static void _autolink_email_add_to_contact_selected_cb(void *data, Evas_Object *obj,
+                               void *event_info)
+{
+       struct autolink_data_t *ald = (struct autolink_data_t *)data;
+
+       char buf[10];
+       snprintf(buf, sizeof(buf), "%d", CT_UG_REQUEST_ADD_WITH_EMAIL);
+
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, CT_UG_BUNDLE_TYPE, buf);
+       service_add_extra_data(service, CT_UG_BUNDLE_EMAIL, ald->info);
+
+       ug_launch_common(service, UG_CONTACTS_DETAILS);
+       _autolink_popup_response_cb(ald, ald->popup, NULL);
+}
+
+static void _autolink_phone_add_to_contact_selected_cb(void *data, Evas_Object *obj,
+                               void *event_info)
+{
+       struct autolink_data_t *ald = (struct autolink_data_t *)data;
+
+       char buf[10];
+       snprintf(buf, sizeof(buf), "%d", CT_UG_REQUEST_ADD_WITH_NUM);
+
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, CT_UG_BUNDLE_TYPE, buf);
+       service_add_extra_data(service, CT_UG_BUNDLE_NUM, ald->info);
+
+       ug_launch_common(service, UG_CONTACTS_DETAILS);
+       _autolink_popup_response_cb(ald, ald->popup, NULL);
+}
+
+/* END POPUP CALLBACK */
+
+static struct anchor_popup_item_t g_email_list[] = {
+    {"IDS_MEMO_OPT_SEND_EMAIL", _autolink_send_email_selected_cb, "memo"},
+    {"IDS_MEMO_BODY_ADD_TO_CONTACT", _autolink_email_add_to_contact_selected_cb, "memo"},
+};
+
+static struct anchor_popup_item_t g_phone_list[] = {
+    {"IDS_COM_BODY_VOICE_CALL", _autolink_vioce_call_selected_cb, "sys_string"},
+    {"IDS_COM_BODY_SEND_MESSAGE", _autolink_send_message_selected_cb, "sys_string"},
+    {"IDS_COM_BODY_VIDEO_CALL", _autolink_video_call_selected_cb, "sys_string"},
+    {"IDS_MEMO_BODY_ADD_TO_CONTACT", _autolink_phone_add_to_contact_selected_cb, "memo"},
+};
+
+static char *_autolink_gl_label_get(void *data, Evas_Object *obj, const char *part)
+{
+    char *label = (char *)data;
+    if (strcmp(part, "elm.text") == 0) {
+        return strdup(label);
+    }
+    return NULL;
+}
+
+static void _autolink_popup_response_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    PFUNC_ENTER;
+
+    assert(data != NULL);
+    struct autolink_data_t *ald = (struct autolink_data_t *)data;
+    if (ald->popup != NULL) {
+        evas_object_del(ald->popup);
+    }
+
+    assert(ald->info != NULL);
+    free(ald->info);
+    free(ald);
+
+    PFUNC_LEAVE;
+}
+
+void _autolink_popup_show(char *title, struct autolink_data_t *ald)
+{
+    struct anchor_popup_item_t *list = NULL;
+    int count = 0;
+    Evas_Object *box = NULL;
+
+    switch (ald->type) {
+    case ANCHOR_EMAIL:
+        list = g_email_list;
+        count = ARRAY_SIZE(g_email_list);
+        break;
+    case ANCHOR_PHONE:
+        list = g_phone_list;
+        count = ARRAY_SIZE(g_phone_list);
+        break;
+    default:
+        break;
+    }
+
+    Evas_Object *popup = elm_popup_add(ald->win_main);
+    ald->popup = popup;
+    elm_object_style_set(popup, "min_menustyle");
+    elm_object_part_text_set(popup, "title,text", title);
+    Evas_Object *btn1 = elm_button_add(popup);
+    elm_object_text_set(btn1, MEMO_I18N_CLOSE);
+    elm_object_part_content_set(popup, "button1", btn1);
+    evas_object_smart_callback_add(btn1, "clicked", _autolink_popup_response_cb, ald);
+    evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+
+    static Elm_Genlist_Item_Class itc;
+    memset(&itc, 0, sizeof(Elm_Genlist_Item_Class));
+    itc.item_style = "1text";
+    itc.func.text_get = _autolink_gl_label_get;
+
+    Evas_Object *genlist = elm_genlist_add(popup);
+    evas_object_smart_callback_add(genlist, "selected", NULL, NULL);
+    evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+    evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
+
+    int i = 0;
+    for (i = 0; i < count; ++i) {
+        elm_genlist_item_append(genlist, &itc, dgettext(list[i].domain, list[i].label),
+                    NULL, ELM_GENLIST_ITEM_NONE, list[i].response, ald);
+    }
+
+    evas_object_show(genlist);
+    box = elm_box_add(popup);
+    evas_object_size_hint_min_set(box, 0, (count>3 ? 3 : count)*71);
+    elm_box_pack_end(box, genlist);
+    evas_object_show(box);
+    elm_object_content_set(popup, box);
+    evas_object_show(popup);
+}
+
+void autolink_anchor_clicked_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    Elm_Entry_Anchor_Info *ei = (Elm_Entry_Anchor_Info *)event_info;
+    autolink_data *ald = SMALLOC(autolink_data);
+    RETIF(ald == NULL);
+
+    int info_len = strlen(ei->name) + 1;
+    ald->info = calloc(1, info_len);
+    if (ald->info == NULL) {
+        SFREE(ald);
+        return;
+    }
+
+    ald->win_main = (Evas_Object *)data;
+    /* retrieve anchor info, eg `url|www  phone_num|8888 email|abc@k.com` */
+    switch (ei->name[0]) {
+    case 'u':
+        ald->type = ANCHOR_URL;
+        break;
+    case 'p':
+        ald->type = ANCHOR_PHONE;
+        break;
+    case 'e':
+        ald->type = ANCHOR_EMAIL;
+        break;
+    default :
+        ald->type = NOT_ANCHOR;
+        break;
+    }
+    const char *start = ei->name + strlen(_autolink_anchor_type_to_string(ald->type)) +1;
+    const char *end = strchr(ei->name, ' ');
+    strncpy(ald->info, start, end - start);
+    LOGD("Anchor clicked (%s)\n", ald->info);
+
+    if ((ald->type == ANCHOR_EMAIL) || (ald->type == ANCHOR_PHONE)){
+        _autolink_popup_show(ald->info, ald);
+        return;
+    }
+
+    if (ald->type == ANCHOR_URL) {
+        aul_open_content(ald->info);    /* launch browser */
+    }
+    SFREE(ald->info);
+    SFREE(ald);
+}
+
+static Eina_Bool str_is_begin_with(const char *str, const char *prefix)
+{
+    if (strlen(str) < strlen(prefix)) {
+        return EINA_FALSE;
+    }
+
+    int i = 0;
+    for (i = 0; i < strlen(prefix); ++i) {
+        if (str[i] != prefix[i]) {
+            return EINA_FALSE;
+        }
+    }
+
+    return EINA_TRUE;
+}
+
+/* TYPE CHECKER BEGIN */
+/*
+ * [Checker Function Specification]
+ * These function get target type from beginning of string.
+ * The only parameter str is the string that want to be checked.
+ * Let's assume the returned value is r. There are 3 cases:
+ *     r > 0 : From beginning to r of str match the target type.
+ *     r = 0 : Str doesn't have target type, no longer check.
+ *     r < 0 : It doesn't match from beginning, but from -r position maybe matched.
+ *             It will be checked next time.
+ */
+static int _autolink_url_checker(const char* str)
+{
+    char *prefix[] = {"http://", "www.", "wap."};
+
+    int i = 0;
+    for (i = 0; i < ARRAY_SIZE(prefix); ++i) {
+        if (str_is_begin_with(str, prefix[i])) { /* Begin with specified prefix */
+            int j = 0;
+            while(str[j] != '\0' && !isspace(str[j])) {
+                if (str[j] == '<') { /* tag begin */
+                    break;
+                }
+                j++;
+            }
+
+            if(j == strlen(prefix[i])) { /* only with prefix alone */
+                break;
+            } else {
+                return j;
+            }
+        }
+    }
+
+    /* not matched, get next position */
+#if 0 /* Need correct */
+    int next = 0;
+    char *p = NULL;
+    for (i = 0; i < ARRAY_SIZE(prefix); ++i) {
+        p = strstr(str, prefix[i]);
+        if (p != NULL) {
+            if (next == 0) {
+                next = p - str;
+            } else if (next > p - str) {
+                next = p - str;
+            }
+        }
+    }
+#endif
+
+    return -1;
+}
+
+static int _autolink_email_checker(const char* str)
+{
+    char *p = NULL;
+    p = strchr(str, '@');
+
+    if (NULL == p) {
+        return 0;
+    } else if (p == str) { /* '@' at beginning */
+        return -1;
+    }
+
+    char next = p[1];
+    if (next == '@') { /* consecutive '@' */
+        return -(p + 2 - str);
+    } else if (next == '.') { /* "@." */
+        return -(p + 2 - str);
+    } else if (next == '\0') { /* '@' at end of string */
+        return -(p + 1 - str);
+    } else if (isspace(next) || next == '<') { /* '@' at end of word */
+        return -(p + 2 - str);
+    }
+
+    /* check if valid before @ */
+    char *q = p;
+    while (q >= str) {
+        if (isspace(*q)) {
+            return -(q + 1 - str);
+        }
+
+        if (*q == '>' || *q == '/') { /* tag end and other illega character */
+            return -(q + 1 - str);
+        }
+
+        if (*q == '.' && ( q == str || *(q - 1) == '.')) {
+            return -(q + 1 - str);
+        }
+
+        q--;
+    }
+
+    /* get the end position of email */
+    q = p + 1;
+    while (*q != '\0' && !isspace(*q)) {
+        if (*q == '.' && *(q + 1) == '.') {
+            break;
+        }
+
+        if (*q == '<') { /* tag begin */
+            break;
+        }
+
+        q++;
+    }
+    return q - str;
+}
+
+static int _autolink_phone_checker(const char *str)
+{
+    /* search beginning */
+    int i = 0;
+    for (i = 0; str[i] != '\0'; ++i) {
+        /* digit, '+', '*' and '#' at the beginning of phone is valid. */
+        if (isdigit(str[i]) || str[i] == '+' || str[i] == '*' || str[i] == '#') {
+            break;
+        }
+    }
+
+    if (i > 0) {
+        return -i;
+    }
+
+    for (i = 1; str[i] != '\0'; ++i) {
+        if (isdigit(str[i]) || str[i] == '*' || str[i] == '#') {
+            /* NOP */
+        } else if (str[i] == '-') {
+            if (str[i - 1] == '-' || str[i - 1] == ' ') { /* "--" or " -" */
+                i -= 1;
+                break;
+            }
+        } else if (str[i] == ' ') {
+            if (str[i - 1] == '-') { /* "- " */
+                i -= 1;
+                break;
+            } else if (str[i - 1] == ' ' && isdigit(str[i + 1])) { /* consecutive ' ' */
+                int j = 0;
+                while (isdigit(str[i + 1 + j])) { ++j; }
+                if (j > 5) {
+                    while (str[i] == ' ') { i--; }
+                    return i + 1;
+                }
+            }
+        } else { /* other character */
+            break;
+        }
+    }
+
+    int len = i;
+    if (len < 3) {
+        return -len;
+    } else {
+        return len;
+    }
+}
+
+/* TYEP CHECKER END */
+
+static void _autolink_box_anchor(GString *text, char *type, char *content)
+{
+    char *buf = NULL;
+    if (strcmp(type, "phone_num") == 0) { /* remove '-' and ' ' in phone num. */
+        buf = (char *)malloc(strlen(content) + 1);
+        RETIF(buf == NULL);
+        int i = 0, j = 0;
+        while (content[i] != '\0') {
+            if (content[i] == '-' || content[i] == ' ') {
+                ++i;
+            } else {
+                buf[j] = content[i];
+                ++i;
+                ++j;
+            }
+        }
+        buf[j] = '\0';
+    } else {
+        buf = content;
+    }
+
+    g_string_append_printf(text,
+        "<color=#72b1f2FF><a href=%s|%s underline=on underline_color=#72b1f2FF>%s</a></color>",
+        type, buf, content);
+
+    if (buf != content) {
+        free(buf);
+    }
+}
+
+GString *autolink_add_anchor(const char *content)
+{
+    MEMO_FUN_BEG();
+    assert(content != NULL);
+
+    const char *p = content;
+    char *gt = NULL;
+    GString *text = g_string_new("");
+    GString *buf = g_string_new("");
+
+    struct checker_t {
+        int (*check)(const char* str);
+        char *type;
+        Eina_Bool invoke;
+    } checkers[] = {
+        {_autolink_url_checker, "url", EINA_TRUE},
+        {_autolink_email_checker, "email", EINA_TRUE},
+        {_autolink_phone_checker, "phone_num", EINA_TRUE},
+    };
+
+    while (*p != '\0') {
+
+        if (p[0] == '<') {    /* tag begin */
+            gt = strchr(p, '>');    /* search tag end */
+            assert(gt != NULL);    /* assert '<' and '>' are matched */
+            g_string_append_len(text, p, gt - p + 1);
+            p = gt + 1;
+        }
+
+        int i = 0;
+        int r = 0;
+        int next_pos = -1;
+        for (i = 0; i < ARRAY_SIZE(checkers); ++i) {
+            if (checkers[i].invoke == EINA_TRUE) {
+                r = checkers[i].check(p);
+                if (r == 0) { /* no longer check */
+                    checkers[i].invoke = EINA_FALSE;
+                } else if (r > 0) { /* Get */
+                    g_string_assign(buf, "");    /* reset buffer */
+                    g_string_append_len(buf, p, r);
+                    _autolink_box_anchor(text, checkers[i].type, buf->str);
+                    next_pos = r;
+                    break;
+                } else { /* r < 0 */
+                    if (next_pos <= 0 || next_pos > -r) {
+                        next_pos = -r;
+                    }
+                }
+            }
+        }
+
+        if (next_pos < 0) {
+            g_string_append(text, p);
+            break;
+        } else if ( i == ARRAY_SIZE(checkers)) {
+            g_string_append_len(text, p, next_pos);
+        }
+
+        p += next_pos;
+    }
+
+    g_string_free(buf, TRUE);
+    printf("\t\t********** %s\n", text->str);
+
+    MEMO_FUN_END();
+    return text;
+}
index e94ac5c..0c28417 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -22,6 +24,8 @@
 #include <Elementary.h>
 #include <memo_ug.h>
 #include <memo.h>
+#include <memo_autolink.h>
+#include "memo_log.h"
 
 #define MODE_DETAIL     0
 #define MODE_COMMENT    1
@@ -186,6 +190,7 @@ static void _on_cancel_btn_clicked(void *data, Evas_Object *obj, void *event_inf
 
 static void _memo_detail_load_content(detail_view_t *dv)
 {
+    MEMO_FUN_BEG();
     memo_data_t *record = memo_get_data(dv->indexes[dv->p]);
     if (record->has_doodle) {
         dv->viewer = memo_load_doodle_viewer(dv->body_main, dv->ad->win_main, record->id, NULL, _doodle_viewer_callback, dv);
@@ -197,6 +202,7 @@ static void _memo_detail_load_content(detail_view_t *dv)
     memo_free_data(record);
     snprintf(dv->ad->buf, MEMO_BUFFER_SIZE, "%d/%d", dv->p + 1, dv->count);
     elm_object_item_text_set(dv->navi_it, dv->ad->buf);
+    MEMO_FUN_END();
 }
 
 static void _memo_detail_navibar_mode_set(detail_view_t *dv, int mode)
@@ -252,6 +258,22 @@ static void _text_viewer_callback(void *data, const char *msg, void *event)
         dv->content = (Evas_Object *)event;
     } else if (strcmp(msg, "title") == 0) {
         elm_object_item_text_set(dv->navi_it, (const char *)event);
+    } else if (strcmp(msg, "sweep,left") == 0) {
+        if (dv->p < dv->count-1) {
+            dv->p = dv->p + 1;
+            elm_object_part_content_unset(dv->body_main, "elm.swallow.content");
+            _transition_apply(dv->content, 3, _on_text_fade_transit_done_cb, dv->viewer);
+            dv->effect = 1;
+            _memo_detail_load_content(dv);
+        }
+    } else if (strcmp(msg, "sweep,right") == 0) {
+        if (dv->p > 0) {
+            dv->p = dv->p -1;
+            elm_object_part_content_unset(dv->body_main, "elm.swallow.content");
+            _transition_apply(dv->content, 4, _on_text_fade_transit_done_cb, dv->viewer);
+            dv->effect = 2;
+            _memo_detail_load_content(dv);
+        }
     }
 }
 
@@ -284,6 +306,22 @@ static void _doodle_viewer_callback(void *data, const char *msg, void *event)
     } else if (strcmp(msg, "comment_save") == 0) {
     } else if (strcmp(msg, "comment_mode") == 0) {
         _memo_detail_navibar_mode_set(dv, (int)event);
+    } else if (strcmp(msg, "sweep,left") == 0) {
+        if (dv->p < dv->count-1) {
+            dv->p = dv->p + 1;
+            elm_object_part_content_unset(dv->body_main, "elm.swallow.content");
+            _transition_apply(dv->content, 3, _on_doodle_fade_transit_done_cb, dv->viewer);
+            dv->effect = 1;
+            _memo_detail_load_content(dv);
+        }
+    } else if (strcmp(msg, "sweep,right") == 0) {
+        if (dv->p > 0) {
+            dv->p = dv->p -1;
+            elm_object_part_content_unset(dv->body_main, "elm.swallow.content");
+            _transition_apply(dv->content, 4, _on_doodle_fade_transit_done_cb, dv->viewer);
+            dv->effect = 2;
+            _memo_detail_load_content(dv);
+        }
     }
 }
 
@@ -317,7 +355,7 @@ static void _on_update(void *data, Evas_Object *obj, void *event_info)
     }
 
     int i = 0;
-    dv->p = -1;
+    //dv->p = -1;
     dv->count = memo_get_indexes(dv->indexes, MEMO_MAX_RECORD, MEMO_SORT_CREATE_TIME);
     for (i=0; i<dv->count; i++) {
         if (dv->indexes[i] == dv->ad->index) {
@@ -355,7 +393,7 @@ void *memo_load_detail_view(appdata *ad)
     evas_object_data_set(dv->body_main, "update_data", dv);
     evas_object_data_set(dv->body_main, "time_format_update_cb", _on_update);
     evas_object_data_set(dv->body_main, "time_format_update_data", dv);
-    /* delete "<-" button */
+    /* prev button */
     Evas_Object *btn = elm_button_add(dv->navigator);
     evas_object_smart_callback_add(btn, "clicked", _on_back_btn_clicked, dv);
     elm_object_style_set(btn, "naviframe/back_btn/default");
index 4449c23..b02a741 100644 (file)
@@ -1,30 +1,32 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
 #include <appcore-efl.h>
 #include <Elementary.h>
+#include <Ecore_X.h>
 #include <dlog.h>
 #include <gravel.h>
 #include <extended-elm.h>
 #include <supplement.h>
 #include <memo-assist.h>
 #include <memo_string.h>
-#include <Ecore_X.h>
 
 typedef struct __doodle_editor_t {
     Evas_Object *win;
@@ -54,33 +56,10 @@ typedef struct __doodle_editor_t {
     /* entry */
     Evas_Object *entry;
     Ecore_IMF_Context *imf_context;
-
-    Eina_Bool cancel_forbidden; /* in usb keyboard mode, cancel can be triggered more than once */
 } doodle_editor_t;
 
-/* auto stripped function prototype */
-static void _save_record(doodle_editor_t *de);
-static void _on_save_yes(void *data, Evas_Object *obj, void *event_info);
-static void _on_save_no(void *data, Evas_Object *obj, void *event_info);
-static Eina_Bool _launch_yes_no_popup(void *data);
-static void _stroke_size_selector_callback(void *data, const char *msg, void *event);
 static void _stroke_size_selector_del(doodle_editor_t *de);
-static void _on_stroke_size_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info);
 static void _stroke_color_selector_del(doodle_editor_t *de);
-static void _on_stroke_color_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info);
-static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int value);
-static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_info);
-static void _draw_argb32(int *img, int w, int h, int x, int y, int size, int color);
-static void _on_doodle_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info);
-static void _on_doodle_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info);
-static void _on_doodle_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info);
-static void _on_doodle_resize_cb(void *data, Evas_Object *obj, void *event_info);
-static void _on_eraser_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info);
-static void _on_yes(void *data, Evas_Object *obj, void *event_info);
-static void _on_no(void *data, Evas_Object *obj, void *event_info);
-static void _on_text_mode(void *data, Evas_Object *obj, void *event_info);
-static void _create_doodle_editor_layout(doodle_editor_t *de, bundle *bd);
-/* end auto strip */
 
 static void _save_record(doodle_editor_t *de)
 {
@@ -142,26 +121,29 @@ static void _stroke_size_selector_del(doodle_editor_t *de)
 
 static void _on_stroke_size_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
 {
-    doodle_editor_t *de = (doodle_editor_t *)data;
-    if (de->h_ss != NULL) { /* stroke size selector already open */
-        return;
-    }
-    if (de->h_cs != NULL) { /* destroy stroke color selector */
-        _stroke_color_selector_del(de);
-    }
-    if (de->erase) { /* deselect eraser */
-        de->erase = EINA_FALSE;
-        Evas_Object *eo = (Evas_Object *)elm_object_part_content_get(de->toolbar, "elm.swallow.btn3");
-        memo_tool_btn_focus_set(eo, de->erase);
-    }
-    /* load stroke size selector */
-    bundle *bd = bundle_create();
-    snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", de->stroke_size);
-    bundle_add(bd, "current", de->buf);
-    de->h_ss = memo_load_pencil_size_selector(de->body_main, bd, _stroke_size_selector_callback, de);
-    bundle_free(bd);
-    memo_tool_btn_focus_set(de->btn_size, EINA_TRUE);
-    edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "elm");
+       doodle_editor_t *de = (doodle_editor_t *)data;
+       if (de->h_ss != NULL) { /* stroke size selector already open */
+               return;
+       }
+       if (de->h_cs != NULL) { /* destroy stroke color selector */
+               _stroke_color_selector_del(de);
+       }
+       if (de->erase) { /* deselect eraser */
+               de->erase = EINA_FALSE;
+               Evas_Object *eo = (Evas_Object *)elm_object_part_content_get(de->toolbar, "elm.swallow.btn3");
+               memo_tool_btn_focus_set(eo, de->erase);
+       }
+       /* load stroke size selector */
+       service_h service = NULL;
+       service_create(&service);
+       snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", de->stroke_size);
+       service_add_extra_data(service, "current", de->buf);
+       snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", 0xFFFFFFFF);
+       service_add_extra_data(service, "bg_color", de->buf);
+       de->h_ss = memo_load_pencil_size_selector(de->body_main, service, _stroke_size_selector_callback, de);
+       service_destroy(service);
+       memo_tool_btn_focus_set(de->btn_size, EINA_TRUE);
+       edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "elm");
 }
 
 void _stroke_color_selector_callback(void *data, const char *msg, void *event)
@@ -189,26 +171,29 @@ static void _stroke_color_selector_del(doodle_editor_t *de)
 
 static void _on_stroke_color_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
 {
-    doodle_editor_t *de = (doodle_editor_t *)data;
-    if (de->h_cs!= NULL) { /* stroke color selector already open */
-        return;
-    }
-    if (de->h_ss!= NULL) { /* destroy stroke  size selector */
-        _stroke_size_selector_del(de);
-    }
-    if (de->erase) { /* deselect eraser */
-        de->erase = EINA_FALSE;
-        Evas_Object *eo = (Evas_Object *)elm_object_part_content_get(de->toolbar, "elm.swallow.btn3");
-        memo_tool_btn_focus_set(eo, de->erase);
-    }
-    /* load stroke color selector */
-    bundle *bd = bundle_create();
-    snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", de->stroke_color);
-    bundle_add(bd, "color", de->buf);
-    de->h_cs = memo_load_color_selector(de->body_main, bd, _stroke_color_selector_callback, de);
-    bundle_free(bd);
-    memo_tool_btn_focus_set(de->btn_color, EINA_TRUE);
-    edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "elm");
+       doodle_editor_t *de = (doodle_editor_t *)data;
+       if (de->h_cs!= NULL) { /* stroke color selector already open */
+               return;
+       }
+       if (de->h_ss!= NULL) { /* destroy stroke  size selector */
+               _stroke_size_selector_del(de);
+       }
+       if (de->erase) { /* deselect eraser */
+               de->erase = EINA_FALSE;
+               Evas_Object *eo = (Evas_Object *)elm_object_part_content_get(de->toolbar, "elm.swallow.btn3");
+               memo_tool_btn_focus_set(eo, de->erase);
+       }
+       /* load stroke color selector */
+       service_h service = NULL;
+       service_create(&service);
+       snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", de->stroke_color);
+       service_add_extra_data(service, "color", de->buf);
+       snprintf(de->buf, MEMO_BUFFER_SIZE, "%d", 0xFFFFFFFF);
+       service_add_extra_data(service, "bg_color", de->buf);
+       de->h_cs = memo_load_color_selector(de->body_main, service, _stroke_color_selector_callback, de);
+       service_destroy(service);
+       memo_tool_btn_focus_set(de->btn_color, EINA_TRUE);
+       edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "elm");
 }
 
 static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int value)
@@ -216,15 +201,15 @@ static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int
     doodle_editor_t *de = (doodle_editor_t *)data;
     if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
         if (de->comment) {
-       edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "comment");
+            edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "comment");
         }
     } else if (value == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
         edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "comment");
         if (!de->comment) { /* first shift to comment mode */
-       if (de->record->comment == NULL) { /* remove DUMMY_COMMENT */
-           elm_entry_entry_set(de->entry, "");
-       }
-       de->cb(de->data, "savable", (void *)0);
+            if (de->record->comment == NULL) { /* remove DUMMY_COMMENT */
+                elm_entry_entry_set(de->entry, "");
+            }
+            de->cb(de->data, "savable", (void *)0);
         }
         de->comment = EINA_TRUE;
         de->cb(de->data, "title", de->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);
@@ -237,9 +222,9 @@ static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_i
     RETIF(!de->comment);
     if (elm_object_focus_get(de->edit_field)) {
         if (elm_entry_is_empty(obj))
-       elm_object_signal_emit(de->edit_field, "elm,state,eraser,hide", "elm");
+           elm_object_signal_emit(de->edit_field, "elm,state,eraser,hide", "elm");
         else
-       elm_object_signal_emit(de->edit_field, "elm,state,eraser,show", "elm");
+            elm_object_signal_emit(de->edit_field, "elm,state,eraser,show", "elm");
     }
     Eina_Bool savable = memo_comment_savable(de->entry, de->record->comment);
     de->cb(de->data, "savable", (void *)(savable?1:0));
@@ -247,7 +232,7 @@ static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_i
 
 static void _focused_cb(void *data, Evas_Object *obj, void *event_info) // Focused callback will show X marked button and hide guidetext.
 {
-#ifdef __i386__                
+#ifdef __i386__
        doodle_editor_t *de = (doodle_editor_t *)data;
        if (!elm_entry_is_empty(obj)) {
                elm_object_signal_emit(de->edit_field, "elm,state,eraser,show", "elm");
@@ -255,31 +240,31 @@ static void _focused_cb(void *data, Evas_Object *obj, void *event_info) // Focus
        elm_object_signal_emit(de->edit_field, "elm,state,guidetext,hide", "elm");
 
        Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(de->entry);
-       if (ecore_imf_context_input_panel_state_get(imf_context) != 
+       if (ecore_imf_context_input_panel_state_get(imf_context) !=
                ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
                //USB keyboard is inactive
                edje_object_signal_emit(elm_layout_edje_get(de->body_main), "abbrev", "comment");
        }
        else {
                if (!de->comment) { /* first shift to comment mode */
-               if (de->record->comment == NULL) { /* remove DUMMY_COMMENT */
-               elm_entry_entry_set(de->entry, "");
-               }
-               de->cb(de->data, "savable", (void *)0);
-       }
-           de->comment = EINA_TRUE;
-       de->cb(de->data, "title", de->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);        
+                       if (de->record->comment == NULL) { /* remove DUMMY_COMMENT */
+                               elm_entry_entry_set(de->entry, "");
+                       }
+               de->cb(de->data, "savable", (void *)0);
+               }
+               de->comment = EINA_TRUE;
+               de->cb(de->data, "title", de->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);
        }
 #else
-    if (!elm_entry_is_empty(obj))
+       if (!elm_entry_is_empty(obj))
                elm_object_signal_emit(data, "elm,state,eraser,show", "elm");
-    elm_object_signal_emit(data, "elm,state,guidetext,hide", "elm");
-#endif 
+       elm_object_signal_emit(data, "elm,state,guidetext,hide", "elm");
+#endif
 }
 
 static void _unfocused_cb(void *data, Evas_Object *obj, void *event_info) // Unfocused callback will show guidetext and hide X marked button.
 {
-#ifdef __i386__        
+#ifdef __i386__
        doodle_editor_t *de = (doodle_editor_t *)data;
        if (elm_entry_is_empty(obj)) {
                elm_object_signal_emit(de->edit_field, "elm,state,guidetext,show", "elm");
@@ -287,7 +272,7 @@ static void _unfocused_cb(void *data, Evas_Object *obj, void *event_info) // Unf
        elm_object_signal_emit(de->edit_field, "elm,state,eraser,hide", "elm");
 
        Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(de->entry);
-       if (ecore_imf_context_input_panel_state_get(imf_context) == 
+       if (ecore_imf_context_input_panel_state_get(imf_context) ==
                ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
                //USB keyboard is active
                edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "elm");
@@ -296,10 +281,10 @@ static void _unfocused_cb(void *data, Evas_Object *obj, void *event_info) // Unf
                edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "elm");
        }
 #else
-    if (elm_entry_is_empty(obj)) {
-        elm_object_signal_emit(data, "elm,state,guidetext,show", "elm");
-    }
-    elm_object_signal_emit(data, "elm,state,eraser,hide", "elm");
+       if (elm_entry_is_empty(obj)) {
+               elm_object_signal_emit(data, "elm,state,guidetext,show", "elm");
+       }
+       elm_object_signal_emit(data, "elm,state,eraser,hide", "elm");
 #endif
 }
 
@@ -328,15 +313,9 @@ static void _draw_argb32(int *img, int w, int h, int x, int y, int size, int col
 static void _on_doodle_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
     doodle_editor_t *de = (doodle_editor_t *)data;
-    if (elm_object_focus_get(de->edit_field) || de->comment) {
+    if (de->comment) {
         return;
     }
-
-    Evas_Event_Mouse_Move *event = (Evas_Event_Mouse_Move *)event_info;
-    int *img_data = NULL;
-    Evas_Coord x, y, w, h;
-    int color = 0;
-
     if (de->h_ss!= NULL) { /* destroy stroke  size selector */
         _stroke_size_selector_del(de);
     }
@@ -352,13 +331,6 @@ static void _on_doodle_down_cb(void *data, Evas *e, Evas_Object *obj, void *even
         de->savable = EINA_TRUE;
     }
     de->cb(de->data, "savable", (void *)(de->savable?1:0));
-
-    //Fix bug N_SE-149
-    color = de->erase ? 0xFFFFFFFF : de->stroke_color;
-    evas_object_geometry_get(de->doodle, &x, &y, &w, &h);
-    img_data = evas_object_image_data_get(de->doodle, 1);
-    _draw_argb32(img_data, w, h, event->cur.output.x - x, event->cur.output.y - y, de->stroke_size, color);
-    evas_object_image_data_update_add(de->doodle, 0, 0, w, h);
 }
 
 static void _on_doodle_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
@@ -462,92 +434,92 @@ static void _on_text_mode(void *data, Evas_Object *obj, void *event_info)
 {
     doodle_editor_t *de = (doodle_editor_t *)data;
     if (de->savable) { /* modified, need user confirmation */
-        memo_create_yes_no_popup(de->win, MEMO_I18N_SAVE_MEMO, _on_yes, _on_no, de);           
+        memo_create_yes_no_popup(de->parent, MEMO_I18N_SAVE_MEMO, _on_yes, _on_no, de);
     } else {
         de->cb(de->data, "text", NULL);
     }
 }
 
-static void _create_doodle_editor_layout(doodle_editor_t *de, bundle *bd)
+static void _create_doodle_editor_layout(doodle_editor_t *de, service_h service)
 {
-    int w = 0;
-    int h = 0;
-    ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
-    snprintf(de->buf, MEMO_BUFFER_SIZE, "doodle_editor_%d_%d", w, h);
-    LOGD("-----------load %s\n", de->buf);
-    de->body_main = elm_layout_create(de->parent, EDJ_FILE, de->buf);
-    de->cb(de->data, "layout", de->body_main);
-    /* title */
-    de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_DRAWING : MEMO_I18N_EDIT_DRAWING);
-    /* date */
-    memo_time_format(de->buf, MEMO_BUFFER_SIZE, de->record->modi_time);
-    edje_object_part_text_set(elm_layout_edje_get(de->body_main), "elm.text.date", de->buf);
-
-    /* toolbar */
-    de->toolbar = elm_swallowed_layout(de->body_main, "elm.swallow.toolbar", EDJ_FILE, "edit_toolbar");
-    de->btn_size = elm_swallowed_layout(de->toolbar, "elm.swallow.btn1", EDJ_DIR"/black/memo.edj", "tl_stroke_size");
-    evas_object_event_callback_add(de->btn_size, EVAS_CALLBACK_MOUSE_UP, _on_stroke_size_btn_up, de);
-    de->btn_color = elm_swallowed_layout(de->toolbar, "elm.swallow.btn2", EDJ_DIR"/black/memo.edj", "tl_stroke_color");
-    evas_object_event_callback_add(de->btn_color, EVAS_CALLBACK_MOUSE_UP, _on_stroke_color_btn_up, de);
-    Evas_Object *eo = elm_swallowed_layout(de->toolbar, "elm.swallow.btn3", EDJ_DIR"/black/memo.edj", "tl_stroke_eraser");
-    evas_object_event_callback_add(eo, EVAS_CALLBACK_MOUSE_UP, _on_eraser_up, de);
-    if (!bundle_key_check(bd, "toggle", "disable")) {
-        elm_swallowed_button(de->toolbar, "elm.swallow.btn4", MEMO_I18N_TEXT, _on_text_mode, de);
-    }
+       int w = 0;
+       int h = 0;
+       ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
+       snprintf(de->buf, MEMO_BUFFER_SIZE, "doodle_editor_%d_%d", w, h);
+       de->body_main = elm_layout_create(de->parent, EDJ_FILE, de->buf);
+       de->cb(de->data, "layout", de->body_main);
+       /* title */
+       de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_MEMO : MEMO_I18N_EDIT_MEMO);
+       /* date */
+       memo_time_format(de->buf, MEMO_BUFFER_SIZE, de->record->modi_time);
+       edje_object_part_text_set(elm_layout_edje_get(de->body_main), "elm.text.date", de->buf);
+
+       /* toolbar */
+       de->toolbar = elm_swallowed_layout(de->body_main, "elm.swallow.toolbar", EDJ_FILE, "edit_toolbar");
+       de->btn_size = elm_swallowed_layout(de->toolbar, "elm.swallow.btn1", EDJ_DIR"/white/memo.edj", "tl_stroke_size");
+       evas_object_event_callback_add(de->btn_size, EVAS_CALLBACK_MOUSE_UP, _on_stroke_size_btn_up, de);
+       de->btn_color = elm_swallowed_layout(de->toolbar, "elm.swallow.btn2", EDJ_DIR"/white/memo.edj", "tl_stroke_color");
+       evas_object_event_callback_add(de->btn_color, EVAS_CALLBACK_MOUSE_UP, _on_stroke_color_btn_up, de);
+       Evas_Object *eo = elm_swallowed_layout(de->toolbar, "elm.swallow.btn3", EDJ_DIR"/white/memo.edj", "tl_stroke_eraser");
+       evas_object_event_callback_add(eo, EVAS_CALLBACK_MOUSE_UP, _on_eraser_up, de);
+       if (!service_key_check(service, "toggle", "disable")) {
+               elm_swallowed_button(de->toolbar, "elm.swallow.btn4", MEMO_I18N_TEXT, _on_text_mode, de);
+       }
 
-    /* doodle */
-    Evas *evas = evas_object_evas_get(de->parent);
-    de->doodle = evas_object_image_filled_add(evas);
-    evas_object_image_colorspace_set(de->doodle, EVAS_COLORSPACE_ARGB8888);
-    evas_object_image_alpha_set(de->doodle, 1);
-    /* doodle data */
-    if (de->record->has_doodle == 1) {
-        snprintf(de->buf, MEMO_BUFFER_SIZE, DOODLEDIR "/%d.png", (int)de->record->id);
-        evas_object_image_file_set(de->doodle, de->buf, NULL);
-    } else {
-        evas_object_render_flush_hook(de->doodle, _on_doodle_resize_cb, de);
-    }  
-    evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_DOWN, _on_doodle_down_cb, de);
-    evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_MOVE, _on_doodle_move_cb, de);
-    evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_UP, _on_doodle_up_cb, de);
-    evas_object_show(de->doodle);
-    elm_object_part_content_set(de->body_main, "elm.swallow.doodle", de->doodle);
-
-    /* comment */
-    eo = elm_swallowed_layout(de->body_main, "elm.swallow.comment", EDJ_FILE, "doodle_comment");
-    //EditField
-    Evas_Object *layout = elm_layout_add(eo);
-    elm_layout_theme_set(layout, "layout", "editfield", "default");
-    elm_object_part_content_set(eo, "elm.swallow.editfield", layout);
-    Evas_Object *entry = elm_entry_add(eo);
-    elm_object_part_content_set(layout, "elm.swallow.content", entry);
-    de->edit_field = layout;
-
-    elm_object_style_set(entry, "font_color_black");
-    elm_entry_single_line_set(entry, EINA_TRUE);
-    elm_entry_scrollable_set(entry, EINA_TRUE);
-    evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-    evas_object_size_hint_align_set(layout, EVAS_HINT_EXPAND, 0.5);
-    de->entry = entry;
-    elm_entry_cnp_mode_set(de->entry, ELM_CNP_MODE_NO_IMAGE);
-    de->imf_context = elm_entry_imf_context_get(de->entry);
-    /* if not hide explicitly, seems hide event of sweep down can not be received */
-    ecore_imf_context_input_panel_hide(de->imf_context);
-    memo_comment_recover(de->entry, de->record->comment);
-    ecore_imf_context_input_panel_event_callback_add(de->imf_context, ECORE_IMF_INPUT_PANEL_STATE_EVENT,
-        _input_panel_event_callback, de);
-    evas_object_smart_callback_add(de->entry, "changed", _on_entry_content_change, de);
-#ifdef __i386__            
+       /* doodle */
+       Evas *evas = evas_object_evas_get(de->parent);
+       de->doodle = evas_object_image_filled_add(evas);
+       evas_object_image_colorspace_set(de->doodle, EVAS_COLORSPACE_ARGB8888);
+       evas_object_image_alpha_set(de->doodle, 1);
+       /* doodle data */
+       if (de->record->has_doodle == 1) {
+               snprintf(de->buf, MEMO_BUFFER_SIZE, DOODLEDIR "/%d.png", (int)de->record->id);
+               evas_object_image_file_set(de->doodle, de->buf, NULL);
+       } else {
+               evas_object_render_flush_hook(de->doodle, _on_doodle_resize_cb, de);
+       }
+       evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_DOWN, _on_doodle_down_cb, de);
+       evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_MOVE, _on_doodle_move_cb, de);
+       evas_object_event_callback_add(de->doodle, EVAS_CALLBACK_MOUSE_UP, _on_doodle_up_cb, de);
+       evas_object_show(de->doodle);
+       elm_object_part_content_set(de->body_main, "elm.swallow.doodle", de->doodle);
+
+       /* comment */
+       eo = elm_swallowed_layout(de->body_main, "elm.swallow.comment", EDJ_FILE, "doodle_comment");
+       //EditField
+       Evas_Object *layout = elm_layout_add(eo);
+       elm_layout_theme_set(layout, "layout", "editfield", "default");
+       elm_object_part_content_set(eo, "elm.swallow.editfield", layout);
+       Evas_Object *entry = elm_entry_add(eo);
+       elm_object_part_content_set(layout, "elm.swallow.content", entry);
+       de->edit_field = layout;
+
+       elm_object_style_set(entry, "font_color_black");
+       elm_entry_single_line_set(entry, EINA_TRUE);
+       elm_entry_scrollable_set(entry, EINA_TRUE);
+       evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       evas_object_size_hint_align_set(layout, EVAS_HINT_EXPAND, 0.5);
+       de->entry = entry;
+       elm_entry_cnp_mode_set(de->entry, ELM_CNP_MODE_PLAINTEXT);
+       de->imf_context = elm_entry_imf_context_get(de->entry);
+       /* if not hide explicitly, seems hide event of sweep down can not be received */
+       ecore_imf_context_input_panel_hide(de->imf_context);
+       memo_comment_recover(de->entry, de->record->comment);
+       ecore_imf_context_input_panel_event_callback_add(de->imf_context, ECORE_IMF_INPUT_PANEL_STATE_EVENT,
+       _input_panel_event_callback, de);
+       evas_object_smart_callback_add(de->entry, "changed", _on_entry_content_change, de);
+#ifdef __i386__
        evas_object_smart_callback_add(de->entry, "focused", _focused_cb, de);
-       evas_object_smart_callback_add(de->entry, "unfocused", _unfocused_cb, de);      
-#else 
-       evas_object_smart_callback_add(de->entry, "focused", _focused_cb, layout);
-       evas_object_smart_callback_add(de->entry, "unfocused", _unfocused_cb, layout);
+       evas_object_smart_callback_add(de->entry, "unfocused", _unfocused_cb, de);
+#else
+       evas_object_smart_callback_add(de->entry, "preedit,changed", _on_entry_content_change, de);
+       evas_object_smart_callback_add(entry, "focused", _focused_cb, layout);
+       evas_object_smart_callback_add(entry, "unfocused", _unfocused_cb, layout);
 #endif
-    elm_object_signal_callback_add(layout, "elm,eraser,clicked", "elm", _eraser_clicked_cb, entry);
+       elm_object_signal_callback_add(layout, "elm,eraser,clicked", "elm", _eraser_clicked_cb, entry);
 
-    /* savable */
-    de->cb(de->data, "savable", (void *)(de->savable?1:0));
+       /* savable */
+       de->cb(de->data, "savable", (void *)(de->savable?1:0));
 }
 
 void memo_doodle_editor_time_format_update(void *h_de)
@@ -560,22 +532,18 @@ void memo_doodle_editor_time_format_update(void *h_de)
 void memo_doodle_editor_cancel(void *h_de)
 {
     doodle_editor_t *de = (doodle_editor_t *)h_de;
-    if (de->cancel_forbidden) {
-        return;
-    }
     if (de->comment) {
         de->comment = EINA_FALSE;
         ecore_imf_context_input_panel_hide(de->imf_context);
         edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "elm");
         memo_comment_recover(de->entry, de->record->comment);
-        de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_DRAWING : MEMO_I18N_EDIT_DRAWING);
+        de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_MEMO : MEMO_I18N_EDIT_MEMO);
         de->cb(de->data, "savable", (void *)(de->savable?1:0));
         de->cb(de->data, "comment cancel", NULL);
     } else {
         if (!de->savable) { /* not modified, return directly */
             de->cb(de->data, "cancel", NULL);
         } else {
-            de->cancel_forbidden = EINA_TRUE;
             _launch_yes_no_popup(de);
         }
     }
@@ -585,6 +553,7 @@ void memo_doodle_editor_save(void *h_de)
 {
     doodle_editor_t *de = (doodle_editor_t *)h_de;
     if (de->comment) {
+        de->comment = EINA_FALSE;
         ecore_imf_context_input_panel_hide(de->imf_context);
         edje_object_signal_emit(elm_layout_edje_get(de->body_main), "expand", "elm");
         Eina_Bool savable = memo_comment_savable(de->entry, de->record->comment);
@@ -594,10 +563,9 @@ void memo_doodle_editor_save(void *h_de)
                 de->savable = EINA_TRUE;
             }
         }
-        de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_DRAWING : MEMO_I18N_EDIT_DRAWING);
+        de->cb(de->data, "title", de->record->id==-1 ? MEMO_I18N_CREATE_MEMO : MEMO_I18N_EDIT_MEMO);
         de->cb(de->data, "savable", (void *)(de->savable?1:0));
         elm_object_focus_set(de->edit_field, EINA_FALSE); /* when disable done button, focus may reset to edit field */
-        de->comment = EINA_FALSE;
         de->cb(de->data, "comment done", NULL);
     } else {
         _save_record(de);
@@ -605,29 +573,31 @@ void memo_doodle_editor_save(void *h_de)
     }
 }
 
-void *memo_load_doodle_editor(Evas_Object *win, Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_doodle_editor(Evas_Object *win, Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data)
 {
     doodle_editor_t *de = SMALLOC(doodle_editor_t);
     RETVIF(de==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     de->win = win;
     de->parent = parent;
     de->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     de->data = data;
 
     /* init */
-    const char *s = bundle_get_val(bd, "index");
+    char *s = NULL;
+    service_get_extra_data(service, "index", &s);
     if (s == NULL) {
         de->record = memo_create_data();
         de->record->id = -1;
         de->record->modi_time = time((time_t *) 0);
     } else {        /* load item */
         de->record = memo_get_data(atoi(s));
+       SFREE(s);
     }
     de->stroke_size = 8;
     de->stroke_color = 0xff000000;
 
-    _create_doodle_editor_layout(de, bd);
+    _create_doodle_editor_layout(de, service);
     return (void *)de;
 }
 
index 91f0132..2b35631 100644 (file)
@@ -1,21 +1,24 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <appcore-efl.h>
 #include <Elementary.h>
+#include <Ecore_X.h>
 #include <dlog.h>
 #include <gravel.h>
 #include <extended-elm.h>
@@ -23,7 +26,7 @@
 #include <memo-assist.h>
 #include <memo_string.h>
 #include <memo_ug.h>
-#include <Ecore_X.h>
+#include <memo_autolink.h>
 
 typedef struct __doodle_viewer_t {
     Evas_Object *parent;
@@ -42,30 +45,35 @@ typedef struct __doodle_viewer_t {
     Eina_Bool comment_mode;
 } doodle_viewer_t;
 
-/* auto stripped function prototype */
-static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_info);
-static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int value);
-static void _create_doodle_viewer_layout(doodle_viewer_t *dv, bundle *bd);
-/* end auto strip */
+static void _on_flick(void *data, Evas_Object *evas_obj, void *event_info)
+{
+    doodle_viewer_t *dv = (doodle_viewer_t *)data;
+    RETIF(dv->comment_mode);
+    if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_LEFT) {
+        dv->cb(dv->data, "sweep,left", NULL);
+    } else if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_RIGHT) {
+        dv->cb(dv->data, "sweep,right", NULL);
+    }
+}
 
 static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_info)
 {
-       doodle_viewer_t *dv = (doodle_viewer_t *)data;
-       if (elm_object_focus_get(dv->edit_field)) {
-          if (elm_entry_is_empty(obj)) {
-              elm_object_signal_emit(dv->edit_field, "elm,state,eraser,hide", "elm");
-          } else {
-              elm_object_signal_emit(dv->edit_field, "elm,state,eraser,show", "elm");
-          }
-       }
-       Eina_Bool savable = memo_comment_savable(dv->entry, dv->record->comment);
-       dv->cb(dv->data, "savable", (void *)(savable?1:0));
+    doodle_viewer_t *dv = (doodle_viewer_t *)data;
+    if (elm_object_focus_get(dv->edit_field)) {
+       if (elm_entry_is_empty(obj)) {
+          elm_object_signal_emit(dv->edit_field, "elm,state,eraser,hide", "elm");
+       } else {
+          elm_object_signal_emit(dv->edit_field, "elm,state,eraser,show", "elm");
+       }
+    }
+    Eina_Bool savable = memo_comment_savable(dv->entry, dv->record->comment);
+    dv->cb(dv->data, "savable", (void *)(savable?1:0));
 }
 
 // Focused callback will show X marked button and hide guidetext
 static void _focused_cb(void *data, Evas_Object *obj, void *event_info)
 {
-#ifdef __i386__        
+#ifdef __i386__
        doodle_viewer_t *dv = (doodle_viewer_t *)data;
        if (!elm_entry_is_empty(obj)) {
                elm_object_signal_emit(dv->edit_field, "elm,state,eraser,show", "elm");
@@ -73,12 +81,12 @@ static void _focused_cb(void *data, Evas_Object *obj, void *event_info)
        elm_object_signal_emit(dv->edit_field, "elm,state,guidetext,hide", "elm");
 
        Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(dv->entry);
-       if (ecore_imf_context_input_panel_state_get(imf_context) != 
+       if (ecore_imf_context_input_panel_state_get(imf_context) !=
                ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
                //USB keyboard is inactive
                edje_object_signal_emit(elm_layout_edje_get(dv->body_main), "abbrev", "comment");
        }
-       else {          
+       else {
                if (dv->record->comment == NULL) { /* remove DUMMY_COMMENT */
                        elm_entry_entry_set(dv->entry, "");
                }
@@ -87,37 +95,36 @@ static void _focused_cb(void *data, Evas_Object *obj, void *event_info)
                dv->cb(dv->data, "title", dv->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);
                Eina_Bool savable = memo_comment_savable(dv->entry, dv->record->comment);
                dv->cb(dv->data, "savable", (void *)(savable?1:0));
-       }               
+       }
 #else
-    if (!elm_entry_is_empty(obj)) {
+       if (!elm_entry_is_empty(obj)) {
                elm_object_signal_emit(data, "elm,state,eraser,show", "elm");
-    }
-    elm_object_signal_emit(data, "elm,state,guidetext,hide", "elm");
-#endif 
+       }
+       elm_object_signal_emit(data, "elm,state,guidetext,hide", "elm");
+#endif
 }
 
 // Unfocused callback will show guidetext and hide X marked button
 static void _unfocused_cb(void *data, Evas_Object *obj, void *event_info)
 {
-#ifdef __i386__        
+#ifdef __i386__
        doodle_viewer_t *dv = (doodle_viewer_t *)data;
        if (elm_entry_is_empty(obj)){
                elm_object_signal_emit(dv->edit_field, "elm,state,guidetext,show", "elm");
        }
        elm_object_signal_emit(dv->edit_field, "elm,state,eraser,hide", "elm");
-       
        Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(dv->entry);
-       if (ecore_imf_context_input_panel_state_get(imf_context) == 
+       if (ecore_imf_context_input_panel_state_get(imf_context) ==
                ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
-               //USB keyboard is active                        
-               elm_object_focus_allow_set(dv->entry, EINA_FALSE);              
+               //USB keyboard is active
+               elm_object_focus_allow_set(dv->entry, EINA_FALSE);
        }
 #else
-    if (elm_entry_is_empty(obj)){
+       if (elm_entry_is_empty(obj)){
                elm_object_signal_emit(data, "elm,state,guidetext,show", "elm");
        }
-    elm_object_signal_emit(data, "elm,state,eraser,hide", "elm");
-#endif 
+       elm_object_signal_emit(data, "elm,state,eraser,hide", "elm");
+#endif
 }
 
 // When X marked button is clicked, empty entry’s contents
@@ -128,73 +135,76 @@ static void _eraser_clicked_cb(void *data, Evas_Object *obj, const char *emissio
 
 static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int value)
 {
-       doodle_viewer_t *dv = (doodle_viewer_t *)data;
-       if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
-           edje_object_signal_emit(elm_layout_edje_get(dv->body_main), "expand", "comment");
-       } else if (value == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
-           edje_object_signal_emit(elm_layout_edje_get(dv->body_main), "abbrev", "comment");
-           if (dv->record->comment == NULL) { /* remove DUMMY_COMMENT */
-               elm_entry_entry_set(dv->entry, "");
-           }
-           dv->comment_mode = EINA_TRUE;
-           dv->cb(dv->data, "comment_mode", (void *)(dv->comment_mode?1:0));
-           dv->cb(dv->data, "title", dv->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);
-           Eina_Bool savable = memo_comment_savable(dv->entry, dv->record->comment);
-           dv->cb(dv->data, "savable", (void *)(savable?1:0));
-       }
+    doodle_viewer_t *dv = (doodle_viewer_t *)data;
+    if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
+        edje_object_signal_emit(elm_layout_edje_get(dv->body_main), "expand", "comment");
+    } else if (value == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
+        edje_object_signal_emit(elm_layout_edje_get(dv->body_main), "abbrev", "comment");
+        if (dv->record->comment == NULL) { /* remove DUMMY_COMMENT */
+            elm_entry_entry_set(dv->entry, "");
+        }
+        dv->comment_mode = EINA_TRUE;
+        dv->cb(dv->data, "comment_mode", (void *)(dv->comment_mode?1:0));
+        dv->cb(dv->data, "title", dv->record->comment == NULL ? MEMO_I18N_ADD_COMMENT : MEMO_I18N_EDIT_COMMENT);
+        Eina_Bool savable = memo_comment_savable(dv->entry, dv->record->comment);
+        dv->cb(dv->data, "savable", (void *)(savable?1:0));
+    }
 }
 
-static void _create_doodle_viewer_layout(doodle_viewer_t *dv, bundle *bd)
+static void _create_doodle_viewer_layout(doodle_viewer_t *dv, service_h service)
 {
-    int w = 0;
-    int h = 0;
-    ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
-    snprintf(dv->buf, MEMO_BUFFER_SIZE, "doodle_viewer_%d_%d", w, h);
-    LOGD("-----------load %s\n", dv->buf);
-    dv->body_main = elm_layout_create(dv->parent, EDJ_FILE, dv->buf);
-    dv->cb(dv->data, "layout", dv->body_main);
+       int w = 0;
+       int h = 0;
+       ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
+       snprintf(dv->buf, MEMO_BUFFER_SIZE, "doodle_viewer_%d_%d", w, h);
+       dv->body_main = elm_layout_create(dv->parent, EDJ_FILE, dv->buf);
+       dv->cb(dv->data, "layout", dv->body_main);
 
-    /* date */
-    memo_time_format(dv->buf, MEMO_BUFFER_SIZE, dv->record->modi_time);
-    edje_object_part_text_set(elm_layout_edje_get(dv->body_main), "elm.text.date", dv->buf);
+       /* date */
+       memo_time_format(dv->buf, MEMO_BUFFER_SIZE, dv->record->modi_time);
+       edje_object_part_text_set(elm_layout_edje_get(dv->body_main), "elm.text.date", dv->buf);
 
-    /* doodle */
-    snprintf(dv->buf, MEMO_BUFFER_SIZE, DOODLEDIR "/%d.png", dv->record->id);
-    dv->doodle = elm_swallowed_icon(dv->body_main, "elm.swallow.doodle", dv->buf);
+       /* doodle */
+       snprintf(dv->buf, MEMO_BUFFER_SIZE, DOODLEDIR "/%d.png", dv->record->id);
+       dv->doodle = elm_swallowed_icon(dv->body_main, "elm.swallow.doodle", dv->buf);
+       /* flick event */
+       evas_object_flick_callback_add(dv->doodle, _on_flick, dv);
 
-    /* comment */
-    Evas_Object *eo = elm_swallowed_layout(dv->body_main, "elm.swallow.comment", EDJ_FILE, "doodle_comment");
-    //EdieField
-    Evas_Object *layout = elm_layout_add(eo);
-    elm_layout_theme_set(layout, "layout", "editfield", "default");
-    elm_object_part_content_set(eo, "elm.swallow.editfield", layout);
-    Evas_Object *ef = elm_entry_add(eo);
-    elm_object_part_content_set(layout, "elm.swallow.content", ef);
-    dv->edit_field = layout;
+       /* comment */
+       Evas_Object *eo = elm_swallowed_layout(dv->body_main, "elm.swallow.comment", EDJ_FILE, "doodle_comment");
+       //EdieField
+       Evas_Object *layout = elm_layout_add(eo);
+       elm_layout_theme_set(layout, "layout", "editfield", "default");
+       elm_object_part_content_set(eo, "elm.swallow.editfield", layout);
+       Evas_Object *ef = elm_entry_add(eo);
+       elm_object_part_content_set(layout, "elm.swallow.content", ef);
+       dv->edit_field = layout;
 
-    elm_object_style_set(ef, "font_color_black");
-    elm_entry_single_line_set(ef, EINA_TRUE);
-    elm_entry_scrollable_set(ef, EINA_TRUE);
-    evas_object_size_hint_weight_set(ef, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-    evas_object_size_hint_align_set(ef, EVAS_HINT_EXPAND, 0.5);
+       elm_object_style_set(ef, "font_color_black");
+       elm_entry_single_line_set(ef, EINA_TRUE);
+       elm_entry_scrollable_set(ef, EINA_TRUE);
+       evas_object_size_hint_weight_set(ef, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       evas_object_size_hint_align_set(ef, EVAS_HINT_EXPAND, 0.5);
 
-    dv->entry = ef;
-    elm_entry_cnp_mode_set(dv->entry, ELM_CNP_MODE_NO_IMAGE);
-    memo_comment_recover(dv->entry, dv->record->comment);
-    /* if not hide explicitly, seems hide event of sweep down can not be received */
-    dv->imf_context = elm_entry_imf_context_get(dv->entry);
-    ecore_imf_context_input_panel_hide(dv->imf_context);
-    ecore_imf_context_input_panel_event_callback_add(dv->imf_context, ECORE_IMF_INPUT_PANEL_STATE_EVENT,
-         _input_panel_event_callback, dv);
-    evas_object_smart_callback_add(dv->entry, "changed", _on_entry_content_change, dv);
-#ifdef __i386__         
+       dv->entry = ef;
+       elm_entry_cnp_mode_set(dv->entry, ELM_CNP_MODE_PLAINTEXT);
+       memo_comment_recover(dv->entry, dv->record->comment);
+       /* if not hide explicitly, seems hide event of sweep down can not be received */
+       dv->imf_context = elm_entry_imf_context_get(dv->entry);
+       ecore_imf_context_input_panel_hide(dv->imf_context);
+       ecore_imf_context_input_panel_event_callback_add(dv->imf_context, ECORE_IMF_INPUT_PANEL_STATE_EVENT,
+               _input_panel_event_callback, dv);
+       evas_object_smart_callback_add(dv->entry, "changed", _on_entry_content_change, dv);
+#ifdef __i386__
        evas_object_smart_callback_add(dv->entry, "focused", _focused_cb, dv);
-       evas_object_smart_callback_add(dv->entry, "unfocused", _unfocused_cb, dv);      
+       evas_object_smart_callback_add(dv->entry, "unfocused", _unfocused_cb, dv);
 #else
-    evas_object_smart_callback_add(dv->entry, "focused", _focused_cb, layout);
-    evas_object_smart_callback_add(dv->entry, "unfocused", _unfocused_cb, layout);
-#endif 
-    elm_object_signal_callback_add(layout, "elm,eraser,clicked", "elm", _eraser_clicked_cb, dv->entry);
+
+       evas_object_smart_callback_add(dv->entry, "preedit,changed", _on_entry_content_change, dv);
+       evas_object_smart_callback_add(dv->entry, "focused", _focused_cb, layout);
+       evas_object_smart_callback_add(dv->entry, "unfocused", _unfocused_cb, layout);
+#endif
+       elm_object_signal_callback_add(layout, "elm,eraser,clicked", "elm", _eraser_clicked_cb, dv->entry);
 }
 
 void memo_doodle_viewer_share_record(void *h_dv)
@@ -212,28 +222,28 @@ void memo_doodle_viewer_save(void *h_dv)
        dv->comment_mode = EINA_FALSE;
        dv->cb(dv->data, "comment_mode", (void *)(dv->comment_mode?1:0));
        elm_object_focus_set(dv->edit_field, EINA_FALSE);
-#ifdef __i386__                
-       elm_object_focus_allow_set(dv->entry, EINA_TRUE);       
-#endif 
+#ifdef __i386__
+       elm_object_focus_allow_set(dv->entry, EINA_TRUE);
+#endif
 }
 
 void memo_doodle_viewer_cancel(void *h_dv)
-{      
+{
        doodle_viewer_t *dv = (doodle_viewer_t *)h_dv;
        memo_comment_recover(dv->entry, dv->record->comment);
        dv->comment_mode = EINA_FALSE;
        dv->cb(dv->data, "comment_mode", (void *)(dv->comment_mode?1:0));
        elm_object_focus_set(dv->edit_field, EINA_FALSE);
-#ifdef __i386__                
-       elm_object_focus_allow_set(dv->entry, EINA_TRUE);       
+#ifdef __i386__
+       elm_object_focus_allow_set(dv->entry, EINA_TRUE);
 #endif
 }
 
-void *memo_load_doodle_viewer(Evas_Object *parent, Evas_Object *win, int id, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_doodle_viewer(Evas_Object *parent, Evas_Object *win, int id, service_h service, Memo_Component_Callback cb, void *data)
 {
     doodle_viewer_t *dv = SMALLOC(doodle_viewer_t);
     RETVIF(dv==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     dv->parent = parent;
     dv->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     dv->data = data;
@@ -241,7 +251,7 @@ void *memo_load_doodle_viewer(Evas_Object *parent, Evas_Object *win, int id, bun
     /* init */
     dv->win_main = win;
     dv->record = memo_get_data(id);
-    _create_doodle_viewer_layout(dv, bd);
+    _create_doodle_viewer_layout(dv, service);
     return (void *)dv;
 }
 
index 390cbec..87e92f6 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -21,6 +23,7 @@
 #include <memo.h>
 #include <memo_text_editor.h>
 #include <memo_doodle_editor.h>
+#include "memo_log.h"
 
 typedef struct __edit_view_t {
     appdata *ad;
@@ -35,77 +38,119 @@ typedef struct __edit_view_t {
     void *h_ed;
 } edit_view_t;
 
+extern Eina_Bool launch_by_new;
+extern Eina_Bool is_previous_edit_view;
+extern Eina_Bool normal_memo_launch;
 static void _text_editor_callback(void *data, const char *msg, void *event);
 static void _doodle_editor_callback(void *data, const char *msg, void *event);
 
 static void _on_left_btn_clicked(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     edit_view_t *ev = (edit_view_t *)data;
     if (ev->drawing) {
         memo_doodle_editor_cancel(ev->h_ed);
     } else {
         memo_text_editor_cancel(ev->h_ed);
     }
+    MEMO_FUN_END();
 }
 
 static void _on_right_btn_clicked(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     edit_view_t *ev = (edit_view_t *)data;
     if (ev->drawing) {
         memo_doodle_editor_save(ev->h_ed);
     } else {
         memo_text_editor_save(ev->h_ed);
     }
+    MEMO_FUN_END();
 }
 
 static void _text_editor_callback(void *data, const char *msg, void *event)
 {
-    edit_view_t *ev = (edit_view_t *)data;
-    if (strcmp(msg, "layout") == 0) {
-        elm_object_part_content_set(ev->body_main, "elm.swallow.content", (Evas_Object *)event);
-    } else if (strcmp(msg, "title") == 0) {
-        elm_object_item_text_set(ev->navi_it, (const char *)event);
-    } else if (strcmp(msg, "savable") == 0) {
-        elm_object_disabled_set(ev->r_btn, (int)event==0? EINA_TRUE:EINA_FALSE);
-    } else if (strcmp(msg, "save") == 0) {
-        ev->ad->index = ev->ad->index_detail;
-        memo_navigator_pop(ev->navigator);
-    } else if (strcmp(msg, "cancel") == 0) {
-        ev->ad->index = ev->ad->index_detail;
-        memo_navigator_pop(ev->navigator);
-    } else if (strcmp(msg, "drawing") == 0) {
-        elm_object_part_content_unset(ev->body_main, "elm.swallow.content");
-        memo_destroy_text_editor(ev->h_ed);
-        ev->h_ed = memo_load_doodle_editor(ev->ad->win_main, ev->body_main, NULL, _doodle_editor_callback, ev);
-        ev->drawing = EINA_TRUE;
-    }
+       MEMO_FUN_BEG();
+       edit_view_t *ev = (edit_view_t *)data;
+       if (strcmp(msg, "layout") == 0) {
+               elm_object_part_content_set(ev->body_main, "elm.swallow.content", (Evas_Object *)event);
+       } else if (strcmp(msg, "title") == 0) {
+               elm_object_item_text_set(ev->navi_it, (const char *)event);
+       } else if (strcmp(msg, "savable") == 0) {
+       elm_object_disabled_set(ev->r_btn, (int)event==0? EINA_TRUE:EINA_FALSE);
+       } else if (strcmp(msg, "save") == 0) {
+               ev->ad->index = ev->ad->index_detail;
+               memo_navigator_pop(ev->navigator);
+               if(normal_memo_launch && launch_by_new ) {
+                       elm_win_lower(ev->ad->win_main);
+                       launch_by_new = EINA_FALSE ;
+               }
+               if(is_previous_edit_view) {
+                       is_previous_edit_view = EINA_FALSE ;
+               }
+       } else if (strcmp(msg, "cancel") == 0) {
+               ev->ad->index = ev->ad->index_detail;
+               memo_navigator_pop(ev->navigator);
+               if(normal_memo_launch && launch_by_new ) {
+                       LOGD("lower lower");
+                       elm_win_lower(ev->ad->win_main);
+                       launch_by_new = EINA_FALSE ;
+               }
+               if(is_previous_edit_view) {
+                       is_previous_edit_view = EINA_FALSE ;
+               }
+
+       } else if (strcmp(msg, "drawing") == 0) {
+               elm_object_part_content_unset(ev->body_main, "elm.swallow.content");
+               memo_destroy_text_editor(ev->h_ed);
+               ev->h_ed = memo_load_doodle_editor(ev->ad->win_main, ev->body_main, NULL, _doodle_editor_callback, ev);
+               ev->drawing = EINA_TRUE;
+       }
+       MEMO_FUN_END();
 }
 
 static void _doodle_editor_callback(void *data, const char *msg, void *event)
 {
-    edit_view_t *ev = (edit_view_t *)data;
-    if (strcmp(msg, "layout") == 0) {
-        elm_object_part_content_set(ev->body_main, "elm.swallow.content", (Evas_Object *)event);
-    } else if (strcmp(msg, "title") == 0) {
-        elm_object_item_text_set(ev->navi_it, (const char *)event);
-    } else if (strcmp(msg, "savable") == 0) {
-        elm_object_disabled_set(ev->r_btn, (int)event==0? EINA_TRUE:EINA_FALSE);
-    } else if (strcmp(msg, "save") == 0) {
-        ev->ad->index = ev->ad->index_detail;
-        memo_navigator_pop(ev->navigator);
-    } else if (strcmp(msg, "cancel") == 0) {
-        ev->ad->index = ev->ad->index_detail;
-        memo_navigator_pop(ev->navigator);
-    } else if (strcmp(msg, "text") == 0) {
-        elm_object_part_content_unset(ev->body_main, "elm.swallow.content");
-        memo_destroy_doodle_editor(ev->h_ed);
-        ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, NULL, _text_editor_callback, ev);
-        ev->drawing = EINA_FALSE;
-    }
+       MEMO_FUN_BEG();
+       edit_view_t *ev = (edit_view_t *)data;
+       if (strcmp(msg, "layout") == 0) {
+               elm_object_part_content_set(ev->body_main, "elm.swallow.content", (Evas_Object *)event);
+       } else if (strcmp(msg, "title") == 0) {
+               elm_object_item_text_set(ev->navi_it, (const char *)event);
+       } else if (strcmp(msg, "savable") == 0) {
+               elm_object_disabled_set(ev->r_btn, (int)event==0? EINA_TRUE:EINA_FALSE);
+       } else if (strcmp(msg, "save") == 0) {
+               ev->ad->index = ev->ad->index_detail;
+               memo_navigator_pop(ev->navigator);
+               if(normal_memo_launch && launch_by_new ) {
+                       elm_win_lower(ev->ad->win_main);
+                       launch_by_new = EINA_FALSE ;
+               }
+               if(is_previous_edit_view) {
+                       is_previous_edit_view = EINA_FALSE ;
+               }
+       } else if (strcmp(msg, "cancel") == 0) {
+               ev->ad->index = ev->ad->index_detail;
+               memo_navigator_pop(ev->navigator);
+               if(normal_memo_launch && launch_by_new ) {
+                       elm_win_lower(ev->ad->win_main);
+                       launch_by_new = EINA_FALSE ;
+               }
+               if(is_previous_edit_view) {
+                       is_previous_edit_view = EINA_FALSE ;
+               }
+       } else if (strcmp(msg, "text") == 0) {
+               elm_object_part_content_unset(ev->body_main, "elm.swallow.content");
+               memo_destroy_doodle_editor(ev->h_ed);
+               ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, NULL, _text_editor_callback, ev);
+               ev->drawing = EINA_FALSE;
+       }
+       MEMO_FUN_END();
 }
 
 static void _edit_on_delete(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     edit_view_t *ev = (edit_view_t *)data;
     elm_object_part_content_unset(ev->body_main, "elm.swallow.content");
     if (ev->drawing) {
@@ -116,70 +161,85 @@ static void _edit_on_delete(void *data, Evas *e, Evas_Object *obj, void *event_i
     evas_object_del(ev->l_btn);
     evas_object_del(ev->r_btn);
     SFREE(ev);
+    MEMO_FUN_END();
 }
 
 static void _on_update(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     edit_view_t *ev = (edit_view_t *)data;
     if (ev->drawing) {
         memo_doodle_editor_time_format_update(ev->h_ed);
     } else {
         memo_text_editor_time_format_update(ev->h_ed);
     }
+    MEMO_FUN_END();
 }
 
 void *memo_load_edit_view(appdata *ad)
 {
-    edit_view_t *ev = SMALLOC(edit_view_t);
-    RETVIF(ev == NULL, NULL);
-    ev->ad = ad;
-
-    ev->navigator = ad->navigator;
-    /* body main */
-    ev->body_main = elm_layout_create(ev->navigator, EDJ_FILE, "empty_layout");
-    elm_naviframe_prev_btn_auto_pushed_set(ev->navigator, EINA_FALSE);
-    Elm_Object_Item *navi_it = memo_naviframe_item_push(ev->navigator, "", NULL, NULL, ev->body_main, NULL);
-    ev->navi_it = navi_it;
-    evas_object_event_callback_add(ev->body_main, EVAS_CALLBACK_DEL, _edit_on_delete, ev);
-    evas_object_data_set(ev->body_main, "time_format_update_cb", _on_update);
-    evas_object_data_set(ev->body_main, "time_format_update_data", ev);
-    /* delete "<-" button */
-    Evas_Object *btn = elm_object_item_part_content_get(navi_it, MEMO_NAVIFRAME_ITEM_PREV_BTN);
-    if (btn != NULL) {
-        evas_object_del(btn);
-    }
-    ev->l_btn = elm_navigator_btn_create(ev->navigator, MEMO_I18N_CANCEL,
-        ICONDIR "/01_header_icon_cancel.png", "navigationbar_control/left",
-        _on_left_btn_clicked, ev);
-    elm_object_item_part_content_set(navi_it, "title_left_btn", ev->l_btn);
-    ev->r_btn = elm_navigator_btn_create(ev->navigator, MEMO_I18N_SAVE,
-        ICONDIR "/01_header_icon_done.png", "navigationbar_control/right",
-        _on_right_btn_clicked, ev);
-    elm_object_item_part_content_set(navi_it, "title_right_btn", ev->r_btn);
-
-    /* load editor */
-    if (ad->index == -1) {
-        ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, NULL, _text_editor_callback, ev);
-        ev->drawing = EINA_FALSE;
-    } else {
-        memo_data_t *md = memo_get_data(ad->index);
-        bundle *bd = bundle_create();
-        snprintf(ev->ad->buf, MEMO_BUFFER_SIZE, "%d", ad->index);
-        bundle_add(bd, "index", ev->ad->buf);
-        if (ad->init_str != NULL) {
-            bundle_add(bd, "text", ev->ad->buf);
-            SFREE(ad->init_str);
-        }
-        if (md->has_doodle == 1) {
-            ev->h_ed = memo_load_doodle_editor(ev->ad->win_main, ev->body_main, bd, _doodle_editor_callback, ev);
-            ev->drawing = EINA_TRUE;
-        } else {
-            ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, bd, _text_editor_callback, ev);
-            ev->drawing = EINA_FALSE;
-        }
-        bundle_free(bd);
-        memo_free_data(md);
-    }
-    return (void *)ev;
+       MEMO_FUN_BEG();
+
+       if (ad->index == -1) {
+       int c = 0;
+       if (memo_get_count(&c) == 0) {
+               RETVIF(c == MEMO_MAX_RECORD, NULL);
+       }
+       }
+
+       edit_view_t *ev = SMALLOC(edit_view_t);
+       RETVIF(ev == NULL, NULL);
+       is_previous_edit_view = EINA_TRUE;
+       ev->ad = ad;
+
+       ev->navigator = ad->navigator;
+       /* body main */
+       ev->body_main = elm_layout_create(ev->navigator, EDJ_FILE, "empty_layout");
+       elm_naviframe_prev_btn_auto_pushed_set(ev->navigator, EINA_FALSE);
+       Elm_Object_Item *navi_it = memo_naviframe_item_push(ev->navigator, "", NULL, NULL, ev->body_main, NULL);
+       ev->navi_it = navi_it;
+       evas_object_event_callback_add(ev->body_main, EVAS_CALLBACK_DEL, _edit_on_delete, ev);
+       evas_object_data_set(ev->body_main, "time_format_update_cb", _on_update);
+       evas_object_data_set(ev->body_main, "time_format_update_data", ev);
+       /* delete "<-" button */
+       Evas_Object *btn = elm_object_item_part_content_get(navi_it, MEMO_NAVIFRAME_ITEM_PREV_BTN);
+       if (btn != NULL) {
+               evas_object_del(btn);
+       }
+       ev->l_btn = elm_navigator_btn_create(ev->navigator, MEMO_I18N_CANCEL,
+                       ICONDIR "/01_header_icon_cancel.png", "navigationbar_control/left",
+       _on_left_btn_clicked, ev);
+       elm_object_item_part_content_set(navi_it, "title_left_btn", ev->l_btn);
+       ev->r_btn = elm_navigator_btn_create(ev->navigator, MEMO_I18N_SAVE,
+                       ICONDIR "/01_header_icon_done.png", "navigationbar_control/right",
+       _on_right_btn_clicked, ev);
+       elm_object_item_part_content_set(navi_it, "title_right_btn", ev->r_btn);
+
+       /* load editor */
+       service_h service = NULL;
+       service_create(&service);
+       if (ad->init_str != NULL) {
+               service_add_extra_data(service, "init_str", ad->init_str);
+               SFREE(ad->init_str);
+       }
+       if (ad->index == -1) {
+               ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, service, _text_editor_callback, ev);
+               ev->drawing = EINA_FALSE;
+       } else {
+               memo_data_t *md = memo_get_data(ad->index);
+               snprintf(ev->ad->buf, MEMO_BUFFER_SIZE, "%d", ad->index);
+               service_add_extra_data(service, "index", ev->ad->buf);
+               if (md->has_doodle == 1) {
+                       ev->h_ed = memo_load_doodle_editor(ev->ad->win_main, ev->body_main, service, _doodle_editor_callback, ev);
+                       ev->drawing = EINA_TRUE;
+               } else {
+                       ev->h_ed = memo_load_text_editor(ev->ad->win_main, ev->body_main, service, _text_editor_callback, ev);
+                       ev->drawing = EINA_FALSE;
+               }
+               memo_free_data(md);
+       }
+       service_destroy(service);
+       MEMO_FUN_END();
+       return (void *)ev;
 }
 
index c6b580d..a70447d 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
index acae066..5ab8cd2 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -50,10 +52,9 @@ static Eina_Bool _launch_detail_view(void *data)
 {
     list_view_t *lv = (list_view_t *)data;
     /* destroy content to make sure no doodle file is referenced,
-            otherwise, doodle may disappear when edit */
-    elm_object_part_content_unset(lv->body_main, "elm.swallow.content");
-    memo_destroy_list_viewer(lv->viewer);
-    lv->viewer = NULL;
+            otherwise, doodle may disappear when edit,
+            ugh, we may remove this when it not occurs later */
+    memo_clear_list_viewer(lv->viewer);
     memo_load_detail_view(lv->ad);
     return EINA_FALSE;
 }
@@ -90,10 +91,8 @@ static void _on_update(void *data, Evas_Object *obj, void *event_info)
 {
     list_view_t *lv = (list_view_t *)data;
     if (lv->viewer != NULL) {
-        elm_object_part_content_unset(lv->body_main, "elm.swallow.content");
-        memo_destroy_list_viewer(lv->viewer);
+        memo_update_list_viewer(lv->viewer);
     }
-    lv->viewer = memo_load_list_viewer(lv->body_main, lv->ad->win_main, NULL, _list_viewer_callback, lv);
 }
 
 void _back_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info)
index 393635a..7ff7f9e 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -149,7 +151,7 @@ static void on_select_all_change_cb(void *data, Evas *e, Evas_Object *obj, void
     le->cb(le->data, "count", (void *)le->select_count);
 }
 
-static void _create_list_editor_layout(list_editor *le, bundle *bd)
+static void _create_list_editor_layout(list_editor *le, service_h service)
 {
     Evas_Object *eo = NULL;
     Evas_Object *check = NULL;
@@ -223,11 +225,11 @@ void memo_list_editor_delete_records(void *h_le)
     memo_create_yes_no_popup(le->win_main, le->buf, on_delete_yes, NULL, le);
 }
 
-void *memo_load_list_editor(Evas_Object *parent, Evas_Object *win, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_list_editor(Evas_Object *parent, Evas_Object *win, service_h service, Memo_Component_Callback cb, void *data)
 {
     list_editor *le = SMALLOC(list_editor);
     RETVIF(le==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     le->parent = parent;
     le->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     le->data = data;
@@ -237,7 +239,7 @@ void *memo_load_list_editor(Evas_Object *parent, Evas_Object *win, bundle *bd, M
     memo_gl_itc_init(&le->itc_draw, "memo/edit/list_draw");
     le->win_main = win;
 
-    _create_list_editor_layout(le, bd);
+    _create_list_editor_layout(le, service);
     return (void *)le;
 }
 
index 6fff0c2..591bfde 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -27,6 +29,7 @@
 #include <memo_string.h>
 #include <memo-genlist.h>
 #include <memo_ug.h>
+#include "memo_log.h"
 
 typedef struct __list_viewer_t {
     Evas_Object *parent;
@@ -60,9 +63,48 @@ static void _on_item_select_cb(void *data, Evas_Object *obj, void *event_info)
 
     elm_genlist_item_selected_set(it, 0);
     RETIF(gld->index == -1);
+    /* return directly in sweep mode */
+    RETIF(it == (Elm_Object_Item *)elm_genlist_decorated_item_get(obj));
     lv->cb(lv->data, "select", (void *)gld->index);
 }
 
+static void _my_gl_mode_right(void *data, Evas_Object *obj, void *event_info)
+{
+    if (!event_info) return;
+
+    Elm_Object_Item *it = (Elm_Object_Item *)event_info;
+    gl_data_t *gld = (gl_data_t *)elm_object_item_data_get(it);
+    list_viewer_t *lv = (list_viewer_t *)gld->user_data;
+    RETIF(lv->mode == 1); /* disable sweep feature when in search mode */
+
+    /* Start genlist sweep */
+    elm_genlist_item_decorate_mode_set(it, "slide", EINA_TRUE);
+    elm_genlist_item_select_mode_set(it, EINA_TRUE);
+}
+
+static void _my_gl_mode_left(void *data, Evas_Object *obj, void *event_info)
+{
+    if (!event_info) return;
+
+    /* Finish genlist sweep */
+    elm_genlist_item_decorate_mode_set(event_info, "slide", EINA_FALSE);
+    elm_genlist_item_select_mode_set(event_info, EINA_FALSE);
+}
+
+static void _my_gl_mode_cancel(void *data, Evas_Object *obj, void *event_info)
+{
+    if (!obj) return;
+
+    /* Get sweeped item */
+    Elm_Object_Item *it = (Elm_Object_Item *)elm_genlist_decorated_item_get(obj);
+
+    /* Finish genlist sweep */
+    if (it) {
+        elm_genlist_item_decorate_mode_set(it, "slide", EINA_FALSE);
+        elm_genlist_item_select_mode_set(it, EINA_FALSE);
+    }
+}
+
 static void _on_delete_yes(void *data, Evas_Object *obj, void *event_info)
 {
     gl_data_t *gld = (gl_data_t *)data;
@@ -140,6 +182,7 @@ static void _on_search_activated(void *data, Evas_Object *obj, void *event_info)
 
 static void _update_list(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     list_viewer_t *lv = (list_viewer_t *)data;
 
     /* clear search result */
@@ -152,8 +195,8 @@ static void _update_list(void *data, Evas_Object *obj, void *event_info)
         lv->search_str = NULL;
     }
 
+    lv->count = 0;
     if (lv->mode == 0) {
-        lv->count = 0;
         memo_all_data(memo_data_iterate_cb, lv);
         snprintf(lv->buf, MEMO_BUFFER_SIZE, "%s(%d)", MEMO_I18N_MEMO, lv->count);
         lv->cb(lv->data, "title", lv->buf);
@@ -166,6 +209,7 @@ static void _update_list(void *data, Evas_Object *obj, void *event_info)
     } else {
         edje_object_signal_emit(elm_layout_edje_get(lv->body_main), "hide", "nocontent");
     }
+    MEMO_FUN_END();
 }
 
 static void _focused_cb(void *data, Evas_Object *obj, void *event_info)
@@ -226,8 +270,9 @@ static void _cancel_clicked_cb(void *data, Evas_Object *obj, void *event_info)
     elm_object_focus_set(lv->searchbar, EINA_FALSE);
 }
 
-static void _create_list_viewer_layout(list_viewer_t *lv, bundle *bd)
+static void _create_list_viewer_layout(list_viewer_t *lv, service_h service)
 {
+    MEMO_FUN_BEG();
     lv->body_main = elm_layout_create(lv->parent, EDJ_FILE, "list_frame");
     lv->cb(lv->data, "layout", lv->body_main);
 
@@ -251,7 +296,7 @@ static void _create_list_viewer_layout(list_viewer_t *lv, bundle *bd)
 
     lv->searchbar = entry;
     lv->searchbar_layout = searchbar_layout;
-    elm_entry_cnp_mode_set(entry, ELM_CNP_MODE_NO_IMAGE);
+    elm_entry_cnp_mode_set(entry, ELM_CNP_MODE_PLAINTEXT);
     lv->imf_context = elm_entry_imf_context_get(entry);
     lv->limit_filter_data.max_char_count = 0;
     lv->limit_filter_data.max_byte_count = 64;
@@ -259,6 +304,7 @@ static void _create_list_viewer_layout(list_viewer_t *lv, bundle *bd)
     /* limit size */
     elm_entry_markup_filter_append(entry, elm_entry_filter_limit_size, &lv->limit_filter_data);
     evas_object_smart_callback_add(entry, "changed", _on_searchbar_clicked, lv);
+    evas_object_smart_callback_add(entry, "preedit,changed", _on_searchbar_clicked, lv);
     evas_object_smart_callback_add(entry, "focused", _focused_cb, searchbar_layout);
     evas_object_smart_callback_add(entry, "unfocused", _unfocused_cb, searchbar_layout);
     elm_object_signal_callback_add(searchbar_layout, "elm,eraser,clicked", "elm", _eraser_clicked_cb, entry);
@@ -276,30 +322,51 @@ static void _create_list_viewer_layout(list_viewer_t *lv, bundle *bd)
 
     /* genlist  */
     lv->genlist = elm_genlist_add(lv->body_main);
+    evas_object_smart_callback_add(lv->genlist, "drag,start,right", _my_gl_mode_right, NULL);
+    evas_object_smart_callback_add(lv->genlist, "drag,start,left", _my_gl_mode_left, NULL);
+    evas_object_smart_callback_add(lv->genlist, "drag,start,up", _my_gl_mode_cancel, NULL);
+    evas_object_smart_callback_add(lv->genlist, "drag,start,down", _my_gl_mode_cancel, NULL);
     elm_object_part_content_set(lv->body_main, "elm.swallow.content", lv->genlist);
     elm_genlist_block_count_set(lv->genlist, 10);
 
     _update_list(lv, NULL, NULL);
+    MEMO_FUN_END();
 }
 
-void *memo_load_list_viewer(Evas_Object *parent, Evas_Object *win, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_list_viewer(Evas_Object *parent, Evas_Object *win, service_h service, Memo_Component_Callback cb, void *data)
 {
+    MEMO_FUN_BEG();
     list_viewer_t *lv = SMALLOC(list_viewer_t);
     RETVIF(lv==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     lv->parent = parent;
     lv->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     lv->data = data;
 
     /* init */
     memo_gl_itc_init(&lv->itc, "memo/list");
+    lv->itc.decorate_item_style = "mode/slide2";
     memo_gl_itc_init(&lv->itc_draw, "memo/list_draw");
+    lv->itc_draw.decorate_item_style = "mode/slide2";
     lv->win_main = win;
 
-    _create_list_viewer_layout(lv, bd);
+    _create_list_viewer_layout(lv, service);
+    MEMO_FUN_END();
     return (void *)lv;
 }
 
+void memo_clear_list_viewer(void *h_lv)
+{
+    list_viewer_t *lv = (list_viewer_t *)h_lv;
+    elm_genlist_clear(lv->genlist);
+}
+
+void memo_update_list_viewer(void *h_lv)
+{
+    list_viewer_t *lv = (list_viewer_t *)h_lv;
+    _update_list(lv, NULL, NULL);
+}
+
 void memo_destroy_list_viewer(void *h_lv)
 {
     list_viewer_t *lv = (list_viewer_t *)h_lv;
index 6fb9dcc..41197ce 100644 (file)
@@ -1,23 +1,26 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <stdlib.h>
 #include <stdio.h>
 #include <appcore-efl.h>
 #include <Elementary.h>
+#include <Ecore_X.h>
 #include <dlog.h>
 #include <gravel.h>
 #include <vconf-keys.h>
@@ -25,7 +28,7 @@
 #include <supplement.h>
 #include <memo-assist.h>
 #include <memo_string.h>
-#include <Ecore_X.h>
+#include "memo_log.h"
 
 typedef struct __text_editor_t {
     Evas_Object *win;
@@ -59,6 +62,7 @@ static void _font_color_selector_del(text_editor_t *te);
 
 static void _save_record(text_editor_t *te)
 {
+    MEMO_FUN_BEG();
     if (te->record->content != NULL) {
         SFREE(te->record->content);
     }
@@ -72,30 +76,38 @@ static void _save_record(text_editor_t *te)
     } else {
         memo_add_data(te->record);
     }
+    MEMO_FUN_END();
 }
 
 static void _on_save_yes(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     _save_record(te);
     te->cb(te->data, "save", NULL);
+    MEMO_FUN_END();
 }
 
 static void _on_save_no(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     te->cb(te->data, "cancel", NULL);
+    MEMO_FUN_END();
 }
 
 static Eina_Bool _launch_yes_no_popup(void *data)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     memo_create_yes_no_popup(te->win, MEMO_I18N_SAVE_MEMO, _on_save_yes, _on_save_no, te);
+    MEMO_FUN_END();
     return EINA_FALSE;
 }
 
 static void _entry_content_update(text_editor_t *te)
 {
+    MEMO_FUN_BEG();
     unsigned char *color = (unsigned char *)&te->record->font_color;
     char *content = elm_entry_markup_to_utf8(elm_entry_entry_get(te->entry));
     char *markup = elm_entry_utf8_to_markup(content);
@@ -106,10 +118,12 @@ static void _entry_content_update(text_editor_t *te)
     elm_entry_entry_insert(te->entry, markup);
     SFREE(content);
     SFREE(markup);
+    MEMO_FUN_END();
 }
 
 static void _font_size_selector_callback(void *data, const char *msg, void *event)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     if (strcmp(msg, "layout") == 0) {
         elm_object_part_content_set(te->body_main, "elm.swallow.tool", (Evas_Object *)event);
@@ -120,43 +134,51 @@ static void _font_size_selector_callback(void *data, const char *msg, void *even
         _font_size_selector_del(te);
         edje_object_signal_emit(elm_layout_edje_get(te->body_main), "expand", "elm");
     }
+    MEMO_FUN_END();
 }
 
 static void _font_size_selector_del(text_editor_t *te)
 {
+    MEMO_FUN_BEG();
     if (te->h_fss != NULL) {
         elm_object_part_content_unset(te->body_main, "elm.swallow.tool");
         memo_del_font_size_selector(te->h_fss);
         te->h_fss = NULL;
         memo_tool_btn_focus_set(te->btn_size, EINA_FALSE);
     }
+    MEMO_FUN_END();
 }
 
 static void _on_font_size_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
 {
-    text_editor_t *te = (text_editor_t *)data;
-    if (te->h_fss != NULL) { /* font size selector already open */
-        return;
-    }
-    if (te->h_fcs != NULL) { /* destroy font color selector */
-        _font_color_selector_del(te);
-    }
-    /* load font size selector */
-    bundle *bd = bundle_create();
-    snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", te->record->font_size);
-    bundle_add(bd, "current", te->buf);
-    snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", 0xFF000000);
-    bundle_add(bd, "bg_color", te->buf);
-    te->h_fss = memo_load_font_size_selector(te->body_main, bd, _font_size_selector_callback, te);
-    bundle_free(bd);
-    memo_tool_btn_focus_set(te->btn_size, EINA_TRUE);
-    edje_object_signal_emit(elm_layout_edje_get(te->body_main), "abbrev", "elm");
-    /* hide input panel */
-    ecore_imf_context_input_panel_hide(te->imf_context);
+       MEMO_FUN_BEG();
+       text_editor_t *te = (text_editor_t *)data;
+       if (te->h_fss != NULL) { /* font size selector already open */
+               MEMO_FUN_END();
+               return;
+       }
+       if (te->h_fcs != NULL) { /* destroy font color selector */
+               _font_color_selector_del(te);
+       }
+       /* load font size selector */
+       service_h service = NULL;
+       service_create(&service);
+       snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", te->record->font_size);
+       service_add_extra_data(service, "current", te->buf);
+       snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", 0xFFFFFFFF);
+       service_add_extra_data(service, "bg_color", te->buf);
+       te->h_fss = memo_load_font_size_selector(te->body_main, service, _font_size_selector_callback, te);
+       service_destroy(service);
+       memo_tool_btn_focus_set(te->btn_size, EINA_TRUE);
+       edje_object_signal_emit(elm_layout_edje_get(te->body_main), "abbrev", "elm");
+       /* hide input panel */
+       ecore_imf_context_input_panel_hide(te->imf_context);
+       MEMO_FUN_END();
 }
 
 void _font_color_selector_callback(void *data, const char *msg, void *event)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     if (strcmp(msg, "layout") == 0) {
         elm_object_part_content_set(te->body_main, "elm.swallow.tool", (Evas_Object *)event);
@@ -168,43 +190,51 @@ void _font_color_selector_callback(void *data, const char *msg, void *event)
         _font_color_selector_del(te);
         edje_object_signal_emit(elm_layout_edje_get(te->body_main), "expand", "elm");
     }
+    MEMO_FUN_END();
 }
 
 static void _font_color_selector_del(text_editor_t *te)
 {
+    MEMO_FUN_BEG();
     if (te->h_fcs != NULL) {
         elm_object_part_content_unset(te->body_main, "elm.swallow.tool");
         memo_del_color_selector(te->h_fcs);
         memo_tool_btn_focus_set(te->btn_color, EINA_FALSE);
         te->h_fcs = NULL;
     }
+    MEMO_FUN_END();
 }
 
 static void _on_font_color_btn_up(void *data, Evas *e, Evas_Object *evas_obj, void *event_info)
 {
-    text_editor_t *te = (text_editor_t *)data;
-    if (te->h_fcs!= NULL) { /* font color selector already open */
-        return;
-    }
-    if (te->h_fss!= NULL) { /* destroy font  size selector */
-        _font_size_selector_del(te);
-    }
-    /* load font color selector */
-    bundle *bd = bundle_create();
-    snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", te->record->font_color);
-    bundle_add(bd, "color", te->buf);
-    snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", 0xFF000000);
-    bundle_add(bd, "bg_color", te->buf);
-    te->h_fcs = memo_load_color_selector(te->body_main, bd, _font_color_selector_callback, te);
-    bundle_free(bd);
-    memo_tool_btn_focus_set(te->btn_color, EINA_TRUE);
-    edje_object_signal_emit(elm_layout_edje_get(te->body_main), "abbrev", "elm");
-    /* hide input panel */
-    ecore_imf_context_input_panel_hide(te->imf_context);
+       MEMO_FUN_BEG();
+       text_editor_t *te = (text_editor_t *)data;
+       if (te->h_fcs!= NULL) { /* font color selector already open */
+       MEMO_FUN_END();
+       return;
+       }
+       if (te->h_fss!= NULL) { /* destroy font  size selector */
+       _font_size_selector_del(te);
+       }
+       /* load font color selector */
+       service_h service = NULL;
+       service_create(&service);
+       snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", te->record->font_color);
+       service_add_extra_data(service, "color", te->buf);
+       snprintf(te->buf, MEMO_BUFFER_SIZE, "%d", 0xFFFFFFFF);
+       service_add_extra_data(service, "bg_color", te->buf);
+       te->h_fcs = memo_load_color_selector(te->body_main, service, _font_color_selector_callback, te);
+       service_destroy(service);
+       memo_tool_btn_focus_set(te->btn_color, EINA_TRUE);
+       edje_object_signal_emit(elm_layout_edje_get(te->body_main), "abbrev", "elm");
+       /* hide input panel */
+       ecore_imf_context_input_panel_hide(te->imf_context);
+       MEMO_FUN_END();
 }
 
 static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int value)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
         if ((te->h_fss==NULL) && (te->h_fcs==NULL)) { /* hide by sweep donw */
@@ -213,30 +243,33 @@ static void _input_panel_event_callback(void *data, Ecore_IMF_Context *ctx, int
     } else if (value == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
         edje_object_signal_emit(elm_layout_edje_get(te->body_main), "abbrev", "elm");
     }
+    MEMO_FUN_END();
 }
 
 static void _on_entry_clicked(void *data, Evas_Object *obj, void *event_info)
 {
-    text_editor_t *te = (text_editor_t *)data;
-    if (te->h_fss!= NULL) { /* destroy font  size selector */
-        _font_size_selector_del(te);
-    }
-    if (te->h_fcs != NULL) { /* destroy font color selector */
-        _font_color_selector_del(te);          
-    }
-
-#ifdef __i386__                
-               Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(te->entry);
-               if (ecore_imf_context_input_panel_state_get(imf_context) == 
-                       ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
-                       //USB keyboard is active
-                       edje_object_signal_emit(elm_layout_edje_get(te->body_main), "expand", "elm");
-               }
-#endif         
+       MEMO_FUN_BEG();
+       text_editor_t *te = (text_editor_t *)data;
+       if (te->h_fss!= NULL) { /* destroy font  size selector */
+               _font_size_selector_del(te);
+       }
+       if (te->h_fcs != NULL) { /* destroy font color selector */
+               _font_color_selector_del(te);
+       }
+#ifdef __i386__
+       Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(te->entry);
+       if (ecore_imf_context_input_panel_state_get(imf_context) ==
+               ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
+               //USB keyboard is active
+               edje_object_signal_emit(elm_layout_edje_get(te->body_main), "expand", "elm");
+       }
+#endif
+       MEMO_FUN_END();
 }
 
 static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     unsigned char *color = (unsigned char *)&te->record->font_color;
 
@@ -265,52 +298,59 @@ static void _on_entry_content_change(void *data, Evas_Object *obj, void *event_i
         elm_entry_cursor_end_set(te->entry);
     }
     SFREE(content);
+    MEMO_FUN_END();
 }
 
 static void _on_yes(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     _save_record(te);
     te->cb(te->data, "drawing", NULL);
+    MEMO_FUN_END();
 }
 
 static void _on_no(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     te->cb(te->data, "drawing", NULL);
+    MEMO_FUN_END();
 }
 
 static void _on_drawing_mode(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)data;
     if (te->savable) { /* modified, need user confirmation */
-        memo_create_yes_no_popup(te->win, MEMO_I18N_SAVE_MEMO, _on_yes, _on_no, te);
+        memo_create_yes_no_popup(te->parent, MEMO_I18N_SAVE_MEMO, _on_yes, _on_no, te);
     } else {
         te->cb(te->data, "drawing", NULL);
     }
+    MEMO_FUN_END();
 }
 
-static void _create_text_editor_layout(text_editor_t *te, bundle *bd)
+static void _create_text_editor_layout(text_editor_t *te, service_h service)
 {
+    MEMO_FUN_BEG();
     int w = 0;
     int h = 0;
     ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
     snprintf(te->buf, MEMO_BUFFER_SIZE, "text_editor_%d_%d", w, h);
-    LOGD("-----------load %s\n", te->buf);
     te->body_main = elm_layout_create(te->parent, EDJ_FILE, te->buf);
     te->cb(te->data, "layout", te->body_main);
     /* title */
-    te->cb(te->data, "title", te->record->id==-1 ? MEMO_I18N_CREATE_NOTE : MEMO_I18N_EDIT_NOTE);
+    te->cb(te->data, "title", te->record->id==-1 ? MEMO_I18N_CREATE_MEMO : MEMO_I18N_EDIT_MEMO);
     /* date */
     memo_time_format(te->buf, MEMO_BUFFER_SIZE, te->record->modi_time);
     edje_object_part_text_set(elm_layout_edje_get(te->body_main), "elm.text.date", te->buf);
     /* toolbar */
     te->toolbar = elm_swallowed_layout(te->body_main, "elm.swallow.toolbar", EDJ_FILE, "edit_toolbar");
-    te->btn_size = elm_swallowed_layout(te->toolbar, "elm.swallow.btn1", EDJ_DIR"/black/memo.edj", "tl_font_size");
+    te->btn_size = elm_swallowed_layout(te->toolbar, "elm.swallow.btn1", EDJ_DIR"/white/memo.edj", "tl_font_size");
     evas_object_event_callback_add(te->btn_size, EVAS_CALLBACK_MOUSE_UP, _on_font_size_btn_up, te);
-    te->btn_color = elm_swallowed_layout(te->toolbar, "elm.swallow.btn2", EDJ_DIR"/black/memo.edj", "tl_font_color");
+    te->btn_color = elm_swallowed_layout(te->toolbar, "elm.swallow.btn2", EDJ_DIR"/white/memo.edj", "tl_font_color");
     evas_object_event_callback_add(te->btn_color, EVAS_CALLBACK_MOUSE_UP, _on_font_color_btn_up, te);
-    if (!bundle_key_check(bd, "toggle", "disable")) {
+    if (!service_key_check(service, "toggle", "disable")) {
         elm_swallowed_button(te->toolbar, "elm.swallow.btn4", MEMO_I18N_DRAWING, _on_drawing_mode, te);
     }
     /* entry */
@@ -325,6 +365,7 @@ static void _create_text_editor_layout(text_editor_t *te, bundle *bd)
     elm_entry_autocapital_type_set(te->entry, ELM_AUTOCAPITAL_TYPE_SENTENCE);
     elm_object_content_set(sc, te->entry);
     evas_object_smart_callback_add(te->entry, "changed", _on_entry_content_change, te);
+    evas_object_smart_callback_add(te->entry, "preedit,changed", _on_entry_content_change, te);
     evas_object_smart_callback_add(te->entry, "clicked", _on_entry_clicked, te);
     /* limit size */
     elm_entry_markup_filter_append(te->entry, elm_entry_filter_limit_size, &te->limit_filter_data);
@@ -334,9 +375,11 @@ static void _create_text_editor_layout(text_editor_t *te, bundle *bd)
         elm_entry_entry_insert(te->entry, content);
         SFREE(content);
     } else { /* set init string */
-        const char *str = bundle_get_val(bd, "init_str");
+        char *str = NULL;
+       service_get_extra_data(service, "init_str", &str);
         if (str != NULL) {
             elm_entry_entry_insert(te->entry, str);
+           SFREE(str);
         }
     }
     elm_object_focus_set(te->entry, EINA_TRUE);
@@ -346,17 +389,21 @@ static void _create_text_editor_layout(text_editor_t *te, bundle *bd)
         ECORE_IMF_INPUT_PANEL_STATE_EVENT, _input_panel_event_callback, te);
     /* savable */
     te->cb(te->data, "savable", (void *)(te->savable?1:0));
+    MEMO_FUN_END();
 }
 
 void memo_text_editor_time_format_update(void *h_te)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)h_te;
     memo_time_format(te->buf, MEMO_BUFFER_SIZE, te->record->modi_time);
     edje_object_part_text_set(elm_layout_edje_get(te->body_main), "elm.text.date", te->buf);
+    MEMO_FUN_END();
 }
 
 void memo_text_editor_cancel(void *h_te)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)h_te;
     if (!te->savable) { /* not modified, return directly */
         te->cb(te->data, "cancel", NULL);
@@ -367,35 +414,41 @@ void memo_text_editor_cancel(void *h_te)
         }
         _launch_yes_no_popup(te);
     }
+    MEMO_FUN_END();
 }
 
 void memo_text_editor_save(void *h_te)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)h_te;
     _save_record(te);
     te->cb(te->data, "save", NULL);
+    MEMO_FUN_END();
 }
 
-void *memo_load_text_editor(Evas_Object *win, Evas_Object *parent, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_text_editor(Evas_Object *win, Evas_Object *parent, service_h service, Memo_Component_Callback cb, void *data)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = SMALLOC(text_editor_t);
     RETVIF(te==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     te->win = win;
     te->parent = parent;
     te->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     te->data = data;
 
     /* init */
-    const char *s = bundle_get_val(bd, "index");
+    char *s = NULL;
+    service_get_extra_data(service, "index", &s);
     if (s == NULL) {
         te->record = memo_create_data();
         te->record->id = -1;
         te->record->modi_time = time((time_t *) 0);
         te->record->font_size = 44;
-        te->record->font_color = 0xffffffff;
+        te->record->font_color = 0xff000000;
     } else {        /* load item */
         te->record = memo_get_data(atoi(s));
+       SFREE(s);
     }
     te->init_fsize = te->record->font_size;
     te->init_fcolor = te->record->font_color;
@@ -403,12 +456,14 @@ void *memo_load_text_editor(Evas_Object *win, Evas_Object *parent, bundle *bd, M
     te->limit_filter_data.max_char_count = 0;
     te->limit_filter_data.max_byte_count = 1000;
 
-    _create_text_editor_layout(te, bd);
+    _create_text_editor_layout(te, service);
+    MEMO_FUN_END();
     return (void *)te;
 }
 
 void memo_destroy_text_editor(void *h_te)
 {
+    MEMO_FUN_BEG();
     text_editor_t *te = (text_editor_t *)h_te;
     ecore_imf_context_input_panel_event_callback_del(te->imf_context,
         ECORE_IMF_INPUT_PANEL_STATE_EVENT, _input_panel_event_callback);
@@ -422,4 +477,5 @@ void memo_destroy_text_editor(void *h_te)
     memo_free_data(te->record);
     evas_object_del(te->body_main);
     SFREE(te);
+    MEMO_FUN_END();
 }
index e6dfa6a..337688a 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <appcore-efl.h>
 #include <Elementary.h>
@@ -23,6 +25,8 @@
 #include <memo-assist.h>
 #include <memo_string.h>
 #include <memo_ug.h>
+#include <memo_autolink.h>
+#include "memo_log.h"
 
 typedef struct __text_viewer_t {
     Evas_Object *parent;
@@ -38,15 +42,30 @@ typedef struct __text_viewer_t {
     char *content;
 } text_viewer_t;
 
+static void _on_flick(void *data, Evas_Object *evas_obj, void *event_info)
+{
+    MEMO_FUN_BEG();
+    text_viewer_t *tv = (text_viewer_t *)data;
+    if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_LEFT) {
+        tv->cb(tv->data, "sweep,left", NULL);
+    } else if ((mouse_behaviour_t)event_info == MOUSE_EVENT_DRAG_RIGHT) {
+        tv->cb(tv->data, "sweep,right", NULL);
+    }
+    MEMO_FUN_END();
+}
+
 static void _on_entry_resize(void *data, Evas_Object *obj, void *event_info)
 {
+    MEMO_FUN_BEG();
     LOGD("---------------_on_entry_resize");
     text_viewer_t *tv = (text_viewer_t *)data;
     elm_entry_entry_set(tv->entry, tv->content);
+    MEMO_FUN_END();
 }
 
-static void _create_text_viewer_layout(text_viewer_t *tv, bundle *bd)
+static void _create_text_viewer_layout(text_viewer_t *tv, service_h service)
 {
+    MEMO_FUN_BEG();
     tv->body_main = elm_layout_create(tv->parent, EDJ_FILE, "text_viewer");
     tv->cb(tv->data, "layout", tv->body_main);
 
@@ -54,36 +73,47 @@ static void _create_text_viewer_layout(text_viewer_t *tv, bundle *bd)
     memo_time_format(tv->buf, MEMO_BUFFER_SIZE, tv->record->modi_time);
     edje_object_part_text_set(elm_layout_edje_get(tv->body_main), "elm.text.date", tv->buf);
 
-    /* text */
-    Evas_Object *sc = elm_swallowed_scroller(tv->body_main, "elm.swallow.text");
+    char *markup = elm_entry_utf8_to_markup(tv->record->content);
+    GString *text = autolink_add_anchor(markup);
+    SFREE(markup);
     unsigned char *color = (unsigned char *)&tv->record->font_color;
     snprintf(tv->buf, MEMO_BUFFER_SIZE,
          "<font_size=%d><color=#%02x%02x%02x>", tv->record->font_size, color[2],
          color[1], color[0]);
-    tv->entry = elm_entry_create(tv->body_main, tv->buf);
-    char *markup = elm_entry_utf8_to_markup(tv->record->content);
-    elm_entry_entry_insert(tv->entry, markup);
-    SFREE(markup);
-    tv->content = strdup(elm_entry_entry_get(tv->entry));
+    g_string_prepend(text, tv->buf);
+
+    Evas_Object *sc = elm_swallowed_scroller(tv->body_main, "elm.swallow.text");
+    tv->entry = elm_entry_create(tv->body_main, text->str);
+    tv->content = strdup(text->str);
+    evas_object_smart_callback_add(tv->entry, "anchor,clicked",
+                       autolink_anchor_clicked_cb, tv->win_main);
     evas_object_size_hint_weight_set(tv->entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
     evas_object_size_hint_align_set(tv->entry, EVAS_HINT_FILL, EVAS_HINT_EXPAND);
     elm_entry_editable_set(tv->entry, EINA_FALSE);
     elm_entry_autocapital_type_set(tv->entry, ELM_AUTOCAPITAL_TYPE_SENTENCE);
     elm_object_content_set(sc, tv->entry);
     evas_object_render_flush_hook(tv->entry, _on_entry_resize, tv);
+    /* flick event */
+    evas_object_flick_callback_add(tv->entry, _on_flick, tv);
+
+    g_string_free(text, TRUE);
+    MEMO_FUN_END();
 }
 
 void memo_text_viewer_share_record(void *h_tv)
 {
+    MEMO_FUN_BEG();
     text_viewer_t *tv = (text_viewer_t *)h_tv;
     memo_share(tv->win_main, (int *)&tv->record->id, 1);
+    MEMO_FUN_END();
 }
 
-void *memo_load_text_viewer(Evas_Object *parent, Evas_Object *win, int id, bundle *bd, Memo_Component_Callback cb, void *data)
+void *memo_load_text_viewer(Evas_Object *parent, Evas_Object *win, int id, service_h service, Memo_Component_Callback cb, void *data)
 {
+    MEMO_FUN_BEG();
     text_viewer_t *tv = SMALLOC(text_viewer_t);
     RETVIF(tv==NULL, NULL);
-    bundle_dump(bd);
+    service_dump(service);
     tv->parent = parent;
     tv->cb = (cb==NULL ? memo_com_dummy_cb : cb); /* make sure cb is not null, no need to check legitimacy of cb when call */
     tv->data = data;
@@ -91,16 +121,19 @@ void *memo_load_text_viewer(Evas_Object *parent, Evas_Object *win, int id, bundl
     /* init */
     tv->win_main = win;
     tv->record = memo_get_data(id);
-    _create_text_viewer_layout(tv, bd);
+    _create_text_viewer_layout(tv, service);
+    MEMO_FUN_END();
     return (void *)tv;
 }
 
 void memo_destroy_text_viewer(void *h_tv)
 {
+    MEMO_FUN_BEG();
     text_viewer_t *tv = (text_viewer_t *)h_tv;
     evas_object_del(tv->body_main);
     memo_free_data(tv->record);
     SFREE(tv->content);
     SFREE(tv);
+    MEMO_FUN_END();
 }
 
index 753e5fb..3281ea9 100644 (file)
@@ -1,19 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
-
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 #include <Ecore_X.h>
 #include <aul.h>
 #include <appsvc.h>
@@ -21,6 +22,9 @@
 #include <supplement.h>
 #include "memo_ug.h"
 #include "memo_string.h"
+#include <vconf.h>
+
+static void _on_response_cb(void *data, Evas_Object *obj, void *event_info);
 
 static GString *get_shared_text(Eina_List *list)
 {
@@ -37,7 +41,22 @@ static GString *get_shared_text(Eina_List *list)
     return buf;
 }
 
-static void _ug_layout_cb(ui_gadget_t *ug, enum ug_mode mode, void *priv)
+static GString *get_shared_attachment(Eina_List *list)
+{
+    Eina_List *l = NULL;
+    struct memo_data *md = NULL;
+    GString *buf = g_string_new("");
+
+    EINA_LIST_FOREACH(list, l, md) {
+        if ((md != NULL) && (md->has_doodle)) {
+            g_string_append_printf(buf, DOODLEDIR "/%d.png\n", (int)md->id);
+        }
+    }
+
+    return buf;
+}
+
+static void _ug_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
 {
     Evas_Object *base, *win;
     base = (Evas_Object *)ug_get_layout(ug);
@@ -59,12 +78,12 @@ static void _ug_layout_cb(ui_gadget_t *ug, enum ug_mode mode, void *priv)
     }
 }
 
-static void _ug_result_cb(ui_gadget_t *ug, bundle *result, void *priv)
+static void _ug_result_cb(ui_gadget_h ug, service_h service, void *priv)
 {
-    bundle_dump(result);
+    service_dump(service);
 }
 
-static void _ug_destroy_cb(ui_gadget_t *ug, void *priv)
+static void _ug_destroy_cb(ui_gadget_ug, void *priv)
 {
     if (ug != NULL) {
         ug_destroy(ug);
@@ -77,22 +96,22 @@ static void _ug_destroy_cb(ui_gadget_t *ug, void *priv)
  * @description
  *  This is a basic function which designed to invoke any ui gadget.
  *
- * @param[in]   bd         a bundle type which will send to ug directly
+ * @param[in]   service         a service type which will send to ug directly
  * @param[in]   ug_name    UG name marco defined in memo_ug.h
  * @return      void
  */
-void ug_launch_common(bundle *bd, char *ug_name)
+void ug_launch_common(service_h service, char *ug_name)
 {
-    ug_cbs_t cbs={0, };
+       ug_cbs_t cbs={0, };
 
-    cbs.layout_cb = _ug_layout_cb;
-    cbs.destroy_cb = _ug_destroy_cb;
-    cbs.result_cb = _ug_result_cb;
-    cbs.priv = NULL;
+       cbs.layout_cb = _ug_layout_cb;
+       cbs.destroy_cb = _ug_destroy_cb;
+       cbs.result_cb = _ug_result_cb;
+       cbs.priv = NULL;
 
-    bundle_dump(bd);
-    ug_create(NULL, ug_name, UG_MODE_FULLVIEW, bd, &cbs);
-    bundle_free(bd);
+       service_dump(service);
+       ug_create(NULL, ug_name, UG_MODE_FULLVIEW, service, &cbs);
+       service_destroy(service);
 }
 
 /**
@@ -111,37 +130,98 @@ void ug_launch_common(bundle *bd, char *ug_name)
  */
 void ug_launch_common_var(char *ug_name, ...)
 {
-    char *key = NULL;
-    char *val = NULL;
-    bundle *bd = bundle_create();
+       char *key = NULL;
+       char *val = NULL;
+       service_h service = NULL;
+       service_create(&service);
+
+       va_list ap;
+       va_start(ap, ug_name);
+       while (1) {
+               key = va_arg(ap, char *);
+               val = va_arg(ap, char *);
+
+               if (key == NULL || val == NULL) {
+                       break;
+               }
+               service_add_extra_data(service, key, val);
+       }
+       va_end(ap);
+
+       ug_launch_common(service, ug_name);
+}
 
-    va_list ap;
-    va_start(ap, ug_name);
-    while (1) {
-        key = va_arg(ap, char *);
-        val = va_arg(ap, char *);
+void ug_launch_message(Eina_List *list)
+{
+       GString *text = get_shared_text(list);
+       GString *attachment = get_shared_attachment(list);
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "BODY", text->str);
+       service_add_extra_data(service, "ATTACHFILE", attachment->len == 0 ? NULL : attachment->str);
 
-        if (key == NULL || val == NULL) {
-            break;
-        }
-        bundle_add(bd, key, val);
-    }
-    va_end(ap);
+       ug_launch_common(service, UG_NAME_MESSAGE);
 
-    ug_launch_common(bd, ug_name);
+       g_string_free(text, TRUE);
+       g_string_free(attachment, TRUE);
+}
+
+void ug_launch_email(Eina_List *list)
+{
+       GString *text = get_shared_text(list);
+       GString *attachment = get_shared_attachment(list);
+
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "RUN_TYPE", "5");
+       service_add_extra_data(service, "TO", "");
+       service_add_extra_data(service, "CC", "");
+       service_add_extra_data(service, "BCC", NULL);
+       service_add_extra_data(service, "SUBJECT", "");
+       service_add_extra_data(service, "BODY", text->str);
+       service_add_extra_data(service, "ATTACHMENT", attachment->len == 0 ? NULL : attachment->str);
+
+       ug_launch_common(service, UG_NAME_EMAIL);
+
+       g_string_free(text, TRUE);
+       g_string_free(attachment, TRUE);
 }
 
 void ug_launch_calender(Eina_List *list)
 {
-    GString *text = get_shared_text(list);
+       GString *text = get_shared_text(list);
+
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "index", "0");
+       service_add_extra_data(service, "note", text->str);
 
-    bundle *bd = bundle_create();
-    bundle_add(bd, "index", "0");
-    bundle_add(bd, "note", text->str);
+       ug_launch_common(service, UG_NAME_CALENDAR);
 
-    ug_launch_common(bd, UG_NAME_CALENDAR);
+       g_string_free(text, TRUE);
+}
 
-    g_string_free(text, TRUE);
+void ug_launch_facebook(Eina_List *list)
+{
+       GString *text = get_shared_text(list);
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "feature", "status_post");
+       service_add_extra_data(service, "text", text->str);
+       ug_launch_common(service, "facebook-efl");
+       g_string_free(text, TRUE);
+}
+
+void ug_launch_nfc(Eina_List *list)
+{
+       GString *text = get_shared_text(list);
+       service_h service = NULL;
+       service_create(&service);
+       service_add_extra_data(service, "count", "1");  /* only one buffer suppored */
+       service_add_extra_data(service, "request_type", "data_buffer");
+       service_add_extra_data(service, "request_data", text->str);
+       ug_launch_common(service, UG_NAME_NFC);
+       g_string_free(text, TRUE);
 }
 
 void memo_ug_init(Evas_Object *win)
@@ -155,10 +235,21 @@ void memo_ug_init(Evas_Object *win)
 typedef struct _share_popup_data {
     Evas_Object *popup;
     Eina_List *list; /* records of memo */
-    char *lib_path_facebook; /* lib path of facebook UG */
 }share_popup_data;
 
-static void _on_response_cb(void *data, Evas_Object *obj, void *event_info);
+static void _share_messge_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    share_popup_data *spd = (share_popup_data *)data;
+    ug_launch_message(spd->list);
+    _on_response_cb(spd, spd->popup, NULL);
+}
+
+static void _share_email_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    share_popup_data *spd = (share_popup_data *)data;
+    ug_launch_email(spd->list);
+    _on_response_cb(spd, spd->popup, NULL);
+}
 
 static void _share_calender_selected_cb(void *data, Evas_Object *obj, void *event_info)
 {
@@ -167,6 +258,20 @@ static void _share_calender_selected_cb(void *data, Evas_Object *obj, void *even
     _on_response_cb(spd, spd->popup, NULL);
 }
 
+static void _share_facebook_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    share_popup_data *spd = (share_popup_data *)data;
+    ug_launch_facebook(spd->list);
+    _on_response_cb(spd, spd->popup, NULL);
+}
+
+static void _share_nfc_selected_cb(void *data, Evas_Object *obj, void *event_info)
+{
+    share_popup_data *spd = (share_popup_data *)data;
+    ug_launch_nfc(spd->list);
+    _on_response_cb(spd, spd->popup, NULL);
+}
+
 static void _on_response_cb(void *data, Evas_Object *obj, void *event_info)
 {
     share_popup_data *spd = (share_popup_data *)data;
@@ -180,7 +285,6 @@ static void _on_response_cb(void *data, Evas_Object *obj, void *event_info)
             memo_free_data(md);
         }
     }
-    SFREE(spd->lib_path_facebook);
     SFREE(spd);
 }
 
@@ -200,6 +304,7 @@ void memo_share(Evas_Object *parent, int *indexes, int n)
 
     int i = 0;
     int c = 0;
+    int nfc_enable = -1;
     Evas_Object *box = NULL;
     Eina_Bool has_doodle = EINA_FALSE;
     memo_data_t *md = NULL;
@@ -230,21 +335,37 @@ void memo_share(Evas_Object *parent, int *indexes, int n)
     evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
     evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
-    Elm_Object_Item *it = NULL;
-    it = elm_genlist_item_append(genlist, &itc, MEMO_I18N_EMAIL,
-            NULL, ELM_GENLIST_ITEM_NONE, NULL, spd);
-    elm_object_item_disabled_set(it, EINA_TRUE);
+    /* message */
+    elm_genlist_item_append(genlist, &itc, MEMO_I18N_MESSAGE,
+            NULL, ELM_GENLIST_ITEM_NONE, _share_messge_selected_cb, spd);
     c++;
-
+    /* email */
+    if (n == 1) {
+        elm_genlist_item_append(genlist, &itc, MEMO_I18N_EMAIL,
+                NULL, ELM_GENLIST_ITEM_NONE, _share_email_selected_cb, spd);
+        c++;
+    }
     if (!has_doodle) {
         /* calendar */
         elm_genlist_item_append(genlist, &itc, MEMO_I18N_CALENDAR,
                 NULL, ELM_GENLIST_ITEM_NONE, _share_calender_selected_cb, spd);
         c++;
+        /* facebook */
+        elm_genlist_item_append(genlist, &itc, MEMO_I18N_FACEBOOK,
+            NULL, ELM_GENLIST_ITEM_NONE, _share_facebook_selected_cb, spd);
+        c++;
+        /* NFC */
+        if (!vconf_get_bool(VCONFKEY_NFC_FEATURE, &nfc_enable)) {
+            if(nfc_enable == VCONFKEY_NFC_FEATURE_ON) {
+                elm_genlist_item_append(genlist, &itc, MEMO_I18N_NFC,
+                NULL, ELM_GENLIST_ITEM_NONE, _share_nfc_selected_cb, spd);
+                c++;
+            }
+        }
     }
     evas_object_show(genlist);
     box = elm_box_add(popup);
-    evas_object_size_hint_min_set(box, 0, (c>3 ? 3 : c)*71);
+    evas_object_size_hint_min_set(box, 0, (c>3 ? 3 : c)*113*elm_config_scale_get());
     elm_box_pack_end(box, genlist);
     evas_object_show(box);
     elm_object_content_set(popup, box);
diff --git a/theme/03_mainmenu_icon_notes.png b/theme/03_mainmenu_icon_notes.png
new file mode 100644 (file)
index 0000000..ea08d4c
Binary files /dev/null and b/theme/03_mainmenu_icon_notes.png differ
index 990eec3..dba0bbc 100644 (file)
-SET(THFILES white black)
-
-FOREACH(thfile ${THFILES})
-       SET(src ${CMAKE_CURRENT_SOURCE_DIR}/${thfile}/memo.edc)
-       SET(obj ${CMAKE_CURRENT_BINARY_DIR}/${thfile}.edj)
-       MESSAGE("THEME: ${thfile}")
-       ADD_CUSTOM_COMMAND(
-               OUTPUT ${obj}
-               COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/${thfile}/images
-               ${src} ${obj} DEPENDS ${src}
-       )
-       INSTALL(FILES ${obj}
-                       DESTINATION ${EDJDIR}/${thfile} RENAME memo.edj)
-       SET(edjFiles ${edjFiles} ${obj})
-ENDFOREACH(thfile)
-
-MESSAGE(".edj files: ${edjFiles}")
-ADD_CUSTOM_TARGET(th ALL DEPENDS ${edjFiles})
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(memo C)
+
+SET(SRCS extend/supplement.c
+        extend/extended-elm.c
+        src/memo.c
+        src/memo-assist.c
+        src/memo-genlist.c
+        src/memo_list.c
+        src/memo_edit.c
+        src/memo_edit_list.c
+        src/memo_list_viewer.c
+        src/memo_list_editor.c
+        src/memo_text_viewer.c
+        src/memo_text_editor.c
+        src/memo_doodle_viewer.c
+        src/memo_doodle_editor.c
+        src/memo_detail.c
+        src/memo_ug.c
+        src/memo_autolink.c)
+
+SET(VENDOR      "tizen")
+SET(PKGPREFIX   "org.${VENDOR}")
+SET(PACKAGE     ${PROJECT_NAME})
+SET(PKGNAME     "${PKGPREFIX}.${PACKAGE}")
+SET(PREFIX      ${CMAKE_INSTALL_PREFIX})
+SET(BINDIR      "${PREFIX}/bin")
+SET(RESDIR      "${PREFIX}/res")
+SET(DATADIR     "${PREFIX}/data")
+SET(LOCALEDIR   "${RESDIR}/locale")
+SET(ICONDIR     "${RESDIR}/icons/default/small")
+SET(EDJDIR      "${RESDIR}/edje")
+SET(DOODLEDIR   "${DATADIR}/doodle")
+
+IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
+       SET(CMAKE_BUILD_TYPE "Release")
+ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "")
+MESSAGE("Build type: ${CMAKE_BUILD_TYPE}")
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extend)
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED appcore-efl elementary ecore ecore-x ecore-imf ecore-input eina evas edje memo iniparser ui-gadget-1 dlog bundle appsvc heynoti capi-appfw-application capi-system-runtime-info)
+
+FOREACH(flag ${pkgs_CFLAGS})
+       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC")
+SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
+SET(CMAKE_C_FLAGS_RELEASE "-O2")
+
+FIND_PROGRAM(UNAME NAMES uname)
+EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
+IF("${ARCH}" STREQUAL "arm")
+       ADD_DEFINITIONS("-DTARGET")
+       MESSAGE("add -DTARGET")
+ENDIF("${ARCH}" STREQUAL "arm")
+
+ADD_DEFINITIONS("-DVENDOR=\"${VENDOR}\"")
+ADD_DEFINITIONS("-DPACKAGE_PREFIX=\"${PKGPREFIX}\"")
+ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
+ADD_DEFINITIONS("-DPACKAGE_NAME=\"${PKGNAME}\"")
+ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
+ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"")
+ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
+ADD_DEFINITIONS("-DICONDIR=\"${ICONDIR}\"")
+ADD_DEFINITIONS("-DEDJ_DIR=\"${EDJDIR}\"")
+ADD_DEFINITIONS("-DEDJ_FILE=\"${EDJDIR}/${PACKAGE}.edj\"")
+ADD_DEFINITIONS("-DDOODLEDIR=\"${DOODLEDIR}\"")
+ADD_DEFINITIONS("-DMEMO_BUFFER_SIZE=256")
+ADD_DEFINITIONS("-DLOG_TAG=\"${PROJECT_NAME}\"")
+
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
+
+ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-pie" "-lm   -L/usr/lib -licui18n -licuuc -licudata  -lm")
+
+ADD_CUSTOM_TARGET(memo.edj
+               COMMAND edje_cc -id ${CMAKE_SOURCE_DIR}/images
+               ${CMAKE_SOURCE_DIR}/memo.edc ${CMAKE_BINARY_DIR}/memo.edj
+               DEPENDS ${CMAKE_SOURCE_DIR}/memo.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} memo.edj)
+
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/memo.edj DESTINATION ${EDJDIR})
+INSTALL(DIRECTORY DESTINATION ${DOODLEDIR})
+
+# install desktop file & icon
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /opt/share/packages)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.memo.png DESTINATION /opt/share/icons/default/small)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_edit.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_add.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_others.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_cancel.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_done.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_delete.png DESTINATION ${ICONDIR})
+
+# i18n
+ADD_SUBDIRECTORY(po)
+# theme
+ADD_SUBDIRECTORY(theme)
+
diff --git a/theme/INSTALL b/theme/INSTALL
new file mode 100644 (file)
index 0000000..3f81c54
--- /dev/null
@@ -0,0 +1,33 @@
+1. make the build directory
+
+  ex) 
+
+   $ mkdir build
+
+
+2. change the working directory to the build directory
+
+  ex)
+
+   $ cd build
+
+
+3. run 'cmake'
+
+  $ cmake ${SOURCE_DIR} -DCMAKE_INSTALL_PREFIX=/opt/apps/@@PKGNAME@@
+
+  ex)
+
+   $ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/apps/@@PKGNAME@@
+
+   or
+
+   $ cmake ..
+
+
+4. make & make install
+
+  ex)
+
+   $ make -j 2 && make install
+
diff --git a/theme/LICENSE b/theme/LICENSE
new file mode 100755 (executable)
index 0000000..7b814ed
--- /dev/null
@@ -0,0 +1,75 @@
+Flora License
+
+Version 1.0, May, 2012
+
+http://www.tizenopensource.org/license
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
+
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
+
+"Tizen Certified Platform" shall mean a software platform that complies with the standards set forth in the Compatibility Definition Document and passes the Compatibility Test Suite as defined from time to time by the Tizen Technical Steering Group and certified by the Tizen Association or its designated agent.
+
+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work solely as incorporated into a Tizen Certified Platform, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work solely as incorporated into a Tizen Certified Platform to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof pursuant to the copyright license above, in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
+
+  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
+
+  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
+
+  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
+
+  4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Flora License to your work
+
+To apply the Flora License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
+
+   copyright 2012  Samsung Electronics Co., Ltd
+
+   Licensed under the Flora License, Version 1.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.tizenopensource.org/license
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/theme/NOTICE b/theme/NOTICE
new file mode 100644 (file)
index 0000000..ded3804
--- /dev/null
@@ -0,0 +1 @@
+Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
\ No newline at end of file
index 55c0abc..24b9607 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <../../extend/extended-edc.h>
 
index 1c6b203..eb5852f 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #define ICON_BUTTON(iName, img_default, img_focus)\
 group {\
diff --git a/theme/memo.edc b/theme/memo.edc
new file mode 100644 (file)
index 0000000..ae3f368
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+
+#include <extend/extended-edc.h>
+
+collections {
+    #include <edc/common.edc>
+    #include <edc/list.edc>
+    #include <edc/edit_list.edc>
+    #include <edc/text_viewer.edc>
+    #include <edc/text_editor.edc>
+    #include <edc/doodle_viewer.edc>
+    #include <edc/doodle_editor.edc>
+    #include <edc/edit_tool.edc>
+}
diff --git a/theme/org.tizen.memo.png b/theme/org.tizen.memo.png
new file mode 100644 (file)
index 0000000..3ab7830
Binary files /dev/null and b/theme/org.tizen.memo.png differ
diff --git a/theme/org.tizen.memo.xml b/theme/org.tizen.memo.xml
new file mode 100644 (file)
index 0000000..93800b8
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.memo" version="0.2.0" install-location="internal-only">
+       <label>Memo</label> 
+       <description>Memo</description> 
+       <ui-application appid="org.tizen.memo" exec="/opt/apps/org.tizen.memo/bin/memo" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+               <icon>org.tizen.memo.png</icon> 
+               <label>Memo</label> 
+               <label xml:lang="en-us">Memo</label> 
+               <label xml:lang="nl-nl">Notities</label> 
+               <label xml:lang="de-de">Memo</label> 
+               <label xml:lang="zh-hk">備忘錄</label> 
+               <label xml:lang="zh-cn">备忘录</label> 
+               <label xml:lang="ru-ru">Заметки</label> 
+               <label xml:lang="zh-tw">備忘錄</label> 
+               <label xml:lang="ja-jp">メモ</label> 
+               <label xml:lang="es-es">Notas</label> 
+               <label xml:lang="el-gr">Σημείωση</label> 
+               <label xml:lang="it-it">Promemoria</label> 
+               <label xml:lang="tr-tr">Not</label> 
+               <label xml:lang="pt-pt">Memorando</label> 
+               <label xml:lang="fr-fr">Mémo</label> 
+               <label xml:lang="ko-kr">메모</label> 
+       </ui-application>
+</manifest>
index 55c0abc..24b9607 100644 (file)
@@ -1,18 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #include <../../extend/extended-edc.h>