From e6996e35f31ac12647dc9987dad29d11782732c2 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 9 Apr 2018 18:50:55 +0900 Subject: [PATCH 01/16] Fix memory leak issue Change-Id: I4edfd884552be40ddd3be851a2c20ed450c811e4 Signed-off-by: Jihoon Kim --- src/w-input-selector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index 4b77b7a..f9c1243 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -1019,8 +1019,10 @@ unsigned int _update_smartreply_items(void *user_data) } } - if (matched == true) + if (matched == true) { + free(reply); continue; + } elm_genlist_item_append(app_data->genlist, itc, -- 2.7.4 From 49495814c15e195ba55cc7e4869adcc5e3b2e7ae Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 9 Apr 2018 18:51:28 +0900 Subject: [PATCH 02/16] Update package version to 0.1.180409 Change-Id: I7a97064b839da96a1d00cf775d92bfabfab021dd Signed-off-by: Jihoon Kim --- org.tizen.inputdelegator.xml | 2 +- packaging/org.tizen.inputdelegator.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml index 2161bae..9499440 100755 --- a/org.tizen.inputdelegator.xml +++ b/org.tizen.inputdelegator.xml @@ -1,5 +1,5 @@ - + diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 5b42d88..6fc396f 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -9,7 +9,7 @@ Name: org.tizen.inputdelegator Summary: Input Delegator Application -Version: 0.1.180402 +Version: 0.1.180409 Release: 1 Group: Applications License: Apache-2.0 -- 2.7.4 From 4311e93782aee869c6a5b5314b8e9722c0981c39 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 17 May 2018 15:32:21 +0900 Subject: [PATCH 03/16] Check error code in calling recorder API Change-Id: Ic9007ef9590f45e3a46b9bbab21a26bbe8acf9d8 Signed-off-by: Jihoon Kim --- src/voice-recorder.cpp | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/voice-recorder.cpp b/src/voice-recorder.cpp index 3aab708..841724d 100644 --- a/src/voice-recorder.cpp +++ b/src/voice-recorder.cpp @@ -182,15 +182,27 @@ static void _recorder_stop(voice_recorder *recorder) static void _recorder_apply_settings(voice_recorder *recorder) { + int error_code; if (recorder->recorder) { - recorder_attr_set_audio_channel(recorder->recorder, 2); + error_code = recorder_attr_set_audio_channel(recorder->recorder, 2); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set audio channel. error code : %d", error_code); + recorder_attr_set_audio_device(recorder->recorder, RECORDER_AUDIO_DEVICE_MIC); - recorder_attr_set_time_limit(recorder->recorder, MAX_TIME); + error_code = recorder_attr_set_time_limit(recorder->recorder, MAX_TIME); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set time limit. error code : %d", error_code); recorder_set_filename(recorder->recorder, recorder->file_path); - recorder_set_file_format(recorder->recorder, recorder->file_format); + error_code = recorder_set_file_format(recorder->recorder, recorder->file_format); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set file format. error code : %d", error_code); + LOGD("file_format: %d", recorder->file_format); - recorder_set_audio_encoder(recorder->recorder, recorder->codec); + error_code = recorder_set_audio_encoder(recorder->recorder, recorder->codec); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set audio encoder. error code : %d", error_code); + recorder_attr_set_audio_samplerate(recorder->recorder, recorder->sample_rate); recorder_attr_set_audio_encoder_bitrate(recorder->recorder, recorder->bitrate); @@ -251,9 +263,13 @@ static bool _main_file_register(const char *filename) static void _recorder_destroy(voice_recorder *recorder) { + int error_code; LOGD("_recorder_destroy"); if (recorder->recorder) { - recorder_cancel(recorder->recorder); + error_code = recorder_cancel(recorder->recorder); + if (error_code != RECORDER_ERROR_NONE) + LOGW("failed to cancel recorder. error : %d", error_code); + recorder_unprepare(recorder->recorder); recorder_destroy(recorder->recorder); recorder->recorder = NULL; -- 2.7.4 From 2f99795808a2dc7a6653b1e7f06fbd6320b32e46 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 17 May 2018 15:33:04 +0900 Subject: [PATCH 04/16] Update package version to 0.1.180517 Change-Id: I83460f1428fa036583ddf5f3d8e82546d7986971 Signed-off-by: Jihoon Kim --- org.tizen.inputdelegator.xml | 2 +- packaging/org.tizen.inputdelegator.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml index 9499440..ca20665 100755 --- a/org.tizen.inputdelegator.xml +++ b/org.tizen.inputdelegator.xml @@ -1,5 +1,5 @@ - + diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 6fc396f..57c6bb4 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -9,7 +9,7 @@ Name: org.tizen.inputdelegator Summary: Input Delegator Application -Version: 0.1.180409 +Version: 0.1.180517 Release: 1 Group: Applications License: Apache-2.0 -- 2.7.4 From 630c268f28114c2f94af946cc621b044f9202351 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 21 May 2018 09:43:08 +0900 Subject: [PATCH 05/16] Check return value Change-Id: I78924a1af46894595522f089d32cf9124d72e98b Signed-off-by: Jihoon Kim --- src/voice-recorder.cpp | 5 ++++- src/w-input-emoticon.cpp | 15 ++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/voice-recorder.cpp b/src/voice-recorder.cpp index 841724d..3727b38 100644 --- a/src/voice-recorder.cpp +++ b/src/voice-recorder.cpp @@ -188,7 +188,10 @@ static void _recorder_apply_settings(voice_recorder *recorder) if (error_code != RECORDER_ERROR_NONE) LOGW("Failed to set audio channel. error code : %d", error_code); - recorder_attr_set_audio_device(recorder->recorder, RECORDER_AUDIO_DEVICE_MIC); + error_code = recorder_attr_set_audio_device(recorder->recorder, RECORDER_AUDIO_DEVICE_MIC); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set audio device. error code : %d", error_code); + error_code = recorder_attr_set_time_limit(recorder->recorder, MAX_TIME); if (error_code != RECORDER_ERROR_NONE) LOGW("Failed to set time limit. error code : %d", error_code); diff --git a/src/w-input-emoticon.cpp b/src/w-input-emoticon.cpp index 8ffd747..6c5c902 100755 --- a/src/w-input-emoticon.cpp +++ b/src/w-input-emoticon.cpp @@ -373,13 +373,14 @@ void set_recent_emoticons(vector &emoticon_list, int val) static void _drawing_app_control_reply_cb(app_control_h request, app_control_h reply, app_control_result_e result, void *user_data) { char* path = NULL; - app_control_get_extra_data(reply, APP_CONTROL_DATA_PATH, &path); - - if (path){ - PRINTFUNC(DLOG_DEBUG, "path=%s", path); - char *pathes[] = {path, }; - reply_to_sender_by_callback(NULL, "image", (const char **)pathes, NULL); - free(path); + int ret = app_control_get_extra_data(reply, APP_CONTROL_DATA_PATH, &path); + if (ret == APP_CONTROL_ERROR_NONE) { + if (path){ + PRINTFUNC(DLOG_DEBUG, "path=%s", path); + char *pathes[] = {path, }; + reply_to_sender_by_callback(NULL, "image", (const char **)pathes, NULL); + free(path); + } } ui_app_exit(); } -- 2.7.4 From cca1d04c3aeb2700df70174544845a2cf54674ed Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 21 May 2018 10:49:04 +0900 Subject: [PATCH 06/16] Update package version to 0.1.180521 Change-Id: Ie0c6b283b0335f742d71d9c0e682a69581e5cc4f Signed-off-by: Jihoon Kim --- org.tizen.inputdelegator.xml | 2 +- packaging/org.tizen.inputdelegator.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml index ca20665..744c5a4 100755 --- a/org.tizen.inputdelegator.xml +++ b/org.tizen.inputdelegator.xml @@ -1,5 +1,5 @@ - + diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 57c6bb4..c52846e 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -9,7 +9,7 @@ Name: org.tizen.inputdelegator Summary: Input Delegator Application -Version: 0.1.180517 +Version: 0.1.180521 Release: 1 Group: Applications License: Apache-2.0 -- 2.7.4 From 599ddc83e674c20c7a630a9261dbb03355a2970e Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 21 May 2018 18:37:31 +0900 Subject: [PATCH 07/16] Check return value of setting recorder filename Change-Id: Ie10862585d5526b41c63897ff6c89a4169fef107 Signed-off-by: Jihoon Kim --- src/voice-recorder.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/voice-recorder.cpp b/src/voice-recorder.cpp index 3727b38..b30e5e3 100644 --- a/src/voice-recorder.cpp +++ b/src/voice-recorder.cpp @@ -196,7 +196,10 @@ static void _recorder_apply_settings(voice_recorder *recorder) if (error_code != RECORDER_ERROR_NONE) LOGW("Failed to set time limit. error code : %d", error_code); - recorder_set_filename(recorder->recorder, recorder->file_path); + error_code = recorder_set_filename(recorder->recorder, recorder->file_path); + if (error_code != RECORDER_ERROR_NONE) + LOGW("Failed to set filename. error code : %d", error_code); + error_code = recorder_set_file_format(recorder->recorder, recorder->file_format); if (error_code != RECORDER_ERROR_NONE) LOGW("Failed to set file format. error code : %d", error_code); -- 2.7.4 From a56da0df2c993763cfa984b86891b7052adbb90a Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Thu, 25 Oct 2018 11:15:21 +0900 Subject: [PATCH 08/16] Remove unnecessary line setting window size Maximized window does not need to set its size on application side. Because of the unnecessary line setting window size, application could get a black screen for around 2 seconds by window mananger policy. Please refer to following steps. (1) Wearable image > contacts > select one item > message button (2) After step (1), edit message, then added message is not visible because its window size becomes 1000 * 1000 on 360 * 360 wearable screen. Change-Id: I48769b89df3d8598f350564d7124fff16e862821 --- src/w-input-selector.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index f9c1243..1658c9d 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -1260,7 +1260,6 @@ bool __compare_string(const char * smart_str, const char * template_str) bool _app_create(void* user_data) { - int width = 1000, height = 1000; // App_Data* app_data = NULL; Evas_Object* layout = NULL; Evas_Object* conform = NULL; @@ -1284,8 +1283,6 @@ bool _app_create(void* user_data) elm_win_title_set(window, PACKAGE); elm_win_borderless_set(window, EINA_TRUE); -// ecore_x_window_size_get(ecore_x_window_root_first_get(), &width, &height); - evas_object_resize(window, width, height); elm_win_indicator_mode_set(window, ELM_WIN_INDICATOR_SHOW); } else { LOGE("elm_win_add() is failed."); -- 2.7.4 From ae9be91f1eefb8517016a9b9c91730b587970833 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 26 Oct 2018 11:59:56 +0900 Subject: [PATCH 09/16] Fix indentation Change-Id: I9607aa635a06771018172771096fcdbb197a1231 Signed-off-by: Jihoon Kim --- src/w-input-stt-engine.cpp | 2 -- src/w-input-stt-ise.cpp | 66 ++++++++++++++++++++++------------------------ src/w-input-stt-voice.cpp | 1 - 3 files changed, 32 insertions(+), 37 deletions(-) diff --git a/src/w-input-stt-engine.cpp b/src/w-input-stt-engine.cpp index 1a69ad7..92eb26a 100755 --- a/src/w-input-stt-engine.cpp +++ b/src/w-input-stt-engine.cpp @@ -73,5 +73,3 @@ bool _app_stt_initialize(VoiceData *voice_data) return true; } - - diff --git a/src/w-input-stt-ise.cpp b/src/w-input-stt-ise.cpp index 0d14c94..ace6400 100755 --- a/src/w-input-stt-ise.cpp +++ b/src/w-input-stt-ise.cpp @@ -36,7 +36,7 @@ VoiceData *my_voicedata = NULL; void show_voice_input(Evas_Object *parent, const char *lang, void (*get_string)(char *, int)) { - PRINTFUNC(DLOG_ERROR, "show voice"); + PRINTFUNC(DLOG_DEBUG, "show voice"); int init = 0; destroy_voice(); @@ -86,51 +86,49 @@ void resume_voice(){ void destroy_voice() { - PRINTFUNC(DLOG_DEBUG, "destroy voice"); + PRINTFUNC(DLOG_DEBUG, "destroy voice"); - //stt_feedback_deinitialize(); // It disable w-input-selector touch sound. So removed. + //stt_feedback_deinitialize(); // It disable w-input-selector touch sound. So removed. - vconf_ignore_key_changed(VCONFKEY_ISE_STT_LANGUAGE, _stt_lang_changed_cb); + vconf_ignore_key_changed(VCONFKEY_ISE_STT_LANGUAGE, _stt_lang_changed_cb); - if (my_voicedata) { - on_destroy(my_voicedata); - my_voicedata = NULL; - } + if (my_voicedata) { + on_destroy(my_voicedata); + my_voicedata = NULL; + } destroy_voice_recorder(); - } +} - int is_lang_supported_by_voice_input(const char *lang) - { - PRINTFUNC(DLOG_DEBUG, "Is lang %s supported by voice input", lang); - char kbd_lang[6]; +int is_lang_supported_by_voice_input(const char *lang) +{ + PRINTFUNC(DLOG_DEBUG, "Is lang %s supported by voice input", lang); + char kbd_lang[6]; - if (NULL == lang) - return FALSE; + if (NULL == lang) + return FALSE; - strncpy(kbd_lang, lang, sizeof(kbd_lang)); - kbd_lang[5] = '\0'; + strncpy(kbd_lang, lang, sizeof(kbd_lang)); + kbd_lang[5] = '\0'; - return (is_lang_supported_by_stt(kbd_lang)); - } + return (is_lang_supported_by_stt(kbd_lang)); +} void ise_show_stt_popup(void *data) - { - App_Data* ad = (App_Data*)data; - - if (!ad) - return; - - show_voice_input((Evas_Object*)ad->naviframe, NULL, NULL); - } +{ + App_Data* ad = (App_Data*)data; - void set_disclaimer_flag() - { - PRINTFUNC(DLOG_DEBUG, "set_disclaimer_flag"); + if (!ad) + return; - if (my_voicedata) { - my_voicedata->disclaimer = 1; - } - } + show_voice_input((Evas_Object*)ad->naviframe, NULL, NULL); +} +void set_disclaimer_flag() +{ + PRINTFUNC(DLOG_DEBUG, "set_disclaimer_flag"); + if (my_voicedata) { + my_voicedata->disclaimer = 1; + } +} diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 815ef56..658573f 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -530,7 +530,6 @@ static Eina_Bool _idler_cb(void *data) PRINTFUNC(DLOG_DEBUG, ""); - if (true == _app_stt_initialize(voicedata)) { LOGD("_app_stt_initialize None Error"); voicedata->voicefw_state = 1; -- 2.7.4 From 27ec446b4eb0a13440eb5723d1454fb7d9d10882 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 26 Oct 2018 12:01:40 +0900 Subject: [PATCH 10/16] Fix issue black screen in stt mode Change-Id: Ib7da0f9e088d02d19c7c02b154598c4e9895de72 Signed-off-by: Jihoon Kim --- src/w-input-stt-voice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 658573f..b238446 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -1962,6 +1962,7 @@ int init_voicedata(VoiceData *r_voicedata) voicedata->main_entry = NULL; voicedata->state = STT_STATE_VAL_INIT; voicedata->kbd_lang = NULL; + voicedata->setup_timer = NULL; voicedata->start_timer = NULL; voicedata->refresh_timer = NULL; voicedata->textblock_timer = NULL; -- 2.7.4 From cff7b79358a81cbc0202b675cd68dca43d38ce60 Mon Sep 17 00:00:00 2001 From: zhangzg Date: Sat, 27 Oct 2018 13:27:17 +0800 Subject: [PATCH 11/16] "Add line feed" Change-Id: I4668a65318e2c74b963a50f9ef875c839df3d73a --- src/w-input-stt-ise.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/w-input-stt-ise.cpp b/src/w-input-stt-ise.cpp index ace6400..3d7fc2d 100755 --- a/src/w-input-stt-ise.cpp +++ b/src/w-input-stt-ise.cpp @@ -68,7 +68,8 @@ void show_voice_input(Evas_Object *parent, const char *lang, void (*get_string)( vconf_notify_key_changed(VCONFKEY_ISE_STT_LANGUAGE, _stt_lang_changed_cb, my_voicedata); } -void pause_voice(){ +void pause_voice() +{ PRINTFUNC(DLOG_DEBUG, "pause_voice"); powerUnlock(); @@ -77,7 +78,8 @@ void pause_voice(){ } } -void resume_voice(){ +void resume_voice() +{ if (my_voicedata) { PRINTFUNC(DLOG_DEBUG, "resume_voice"); on_stt_resume(my_voicedata); -- 2.7.4 From 402d2c3b8185bdc1340172c63b7e71fd1e149607 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 26 Oct 2018 12:02:24 +0900 Subject: [PATCH 12/16] Update package version to 0.1.181026 Change-Id: Icf63de6506dca4fcee1ff4a8d0fb8eb61b9d7d1b Signed-off-by: Jihoon Kim --- org.tizen.inputdelegator.xml | 2 +- packaging/org.tizen.inputdelegator.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml index 744c5a4..0ef0a96 100755 --- a/org.tizen.inputdelegator.xml +++ b/org.tizen.inputdelegator.xml @@ -1,5 +1,5 @@ - + diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index c52846e..d80ecd4 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -9,7 +9,7 @@ Name: org.tizen.inputdelegator Summary: Input Delegator Application -Version: 0.1.180521 +Version: 0.1.181026 Release: 1 Group: Applications License: Apache-2.0 -- 2.7.4 From ee7b7d53aff1b32c6fae3ad9057c8020fac480ba Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 7 Dec 2018 16:20:06 +0900 Subject: [PATCH 13/16] Fix mismatch between log format and actual parameter Change-Id: I9d3fb5395446393afeec900b8f3b02a9f959d791 Signed-off-by: sungwook79.park --- src/voice-recorder.cpp | 2 +- src/w-input-stt-voice.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/voice-recorder.cpp b/src/voice-recorder.cpp index b30e5e3..98b8a05 100644 --- a/src/voice-recorder.cpp +++ b/src/voice-recorder.cpp @@ -174,7 +174,7 @@ static void _recorder_stop(voice_recorder *recorder) if (recorder->recorder) { commitResult = recorder_commit(recorder->recorder); if (commitResult != RECORDER_ERROR_NONE) { - LOGD("recorder_commit failed Error [%d]", recorder_commit); + LOGD("recorder_commit failed Error"); } _main_file_register(recorder->file_path); } diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index b238446..4735348 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -870,7 +870,7 @@ void on_initial_anim_press_cb(void *data, Evas_Object *obj, const char *emission int tempVal = vd->sttmanager->GetCurrent(); if(tempVal == STT_STATE_CREATED) { - PRINTFUNC(DLOG_WARN, "IGNORE TOUCH event before STT READY. STT is preparing", vd->state); + PRINTFUNC(DLOG_WARN, "IGNORE TOUCH event before STT READY. STT is preparing"); return; } -- 2.7.4 From ec2946785710c65f693262f572b6e85d682a0ef4 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 7 Dec 2018 16:21:45 +0900 Subject: [PATCH 14/16] Update package version to 0.1.181207 Change-Id: I9ca498edd6d3b25a52fbe197313c7a28ad330f92 Signed-off-by: sungwook79.park --- org.tizen.inputdelegator.xml | 2 +- packaging/org.tizen.inputdelegator.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml index 0ef0a96..9afe0bd 100755 --- a/org.tizen.inputdelegator.xml +++ b/org.tizen.inputdelegator.xml @@ -1,5 +1,5 @@ - + diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index d80ecd4..1ed0f2d 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -9,7 +9,7 @@ Name: org.tizen.inputdelegator Summary: Input Delegator Application -Version: 0.1.181026 +Version: 0.1.181207 Release: 1 Group: Applications License: Apache-2.0 -- 2.7.4 From f573f031986c1d320a04c0a302f4534c840879cb Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 10 Dec 2018 09:27:04 +0900 Subject: [PATCH 15/16] Fix mismatch between log format and actual parameter Change-Id: Ib0356649598e411ad6fad7cd2ef1bca515e2c1a3 --- src/SttFeedback.cpp | 4 ++-- src/w-input-emoticon.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/SttFeedback.cpp mode change 100755 => 100644 src/w-input-emoticon.cpp diff --git a/src/SttFeedback.cpp b/src/SttFeedback.cpp old mode 100755 new mode 100644 index f6ae7da..5bd6603 --- a/src/SttFeedback.cpp +++ b/src/SttFeedback.cpp @@ -50,11 +50,11 @@ void SttFeedback::OnResult( // Normal result case : STT_RECOGNITION_TYPE_FREE if(results.size() < 1) { - PRINTFUNC(DLOG_ERROR, "Result size : %d", results.size()); + PRINTFUNC(DLOG_ERROR, "Result size : %zu", results.size()); vd.state = STT_STATE_VAL_NOT_RECOGNISED; set_animation_state(&vd); } else { - PRINTFUNC(DLOG_INFO, "Meaningful result : size (%d)", results.size()); + PRINTFUNC(DLOG_INFO, "Meaningful result : size (%zu)", results.size()); for(auto result : results) { PRINTFUNC(DLOG_INFO, "Results"); diff --git a/src/w-input-emoticon.cpp b/src/w-input-emoticon.cpp old mode 100755 new mode 100644 index 6c5c902..146e4b2 --- a/src/w-input-emoticon.cpp +++ b/src/w-input-emoticon.cpp @@ -934,7 +934,7 @@ void _update_emoticon_items(void *data) if (first_it == NULL) first_it = it_emoticon_recent_group; - PRINTFUNC(DLOG_DEBUG, "size = %d", recent_emoji_list.size()); + PRINTFUNC(DLOG_DEBUG, "size = %zu", recent_emoji_list.size()); for (i=0;i < recent_emoji_list.size();i=i+3) { -- 2.7.4 From 66114cb0461a8ccd6a9b129c1135338c6264610a Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 10 Dec 2018 09:27:55 +0900 Subject: [PATCH 16/16] Change source file permissions to 0644 Change-Id: I826c5f3afa8d438b161599fcf5247a10e813b1cb --- inc/Debug.h | 0 inc/MicEffector.h | 0 inc/MoreOption.h | 0 inc/SttFeedback.h | 0 inc/SttManager.h | 0 inc/WInputSttMicEffect.h | 0 inc/w-input-emoticon.h | 0 inc/w-input-keyboard.h | 0 inc/w-input-selector.h | 0 inc/w-input-stt-engine.h | 0 inc/w-input-stt-ise.h | 0 inc/w-input-stt-voice.h | 0 inc/w-input-template.h | 0 org.tizen.inputdelegator.xml | 0 src/MoreOption.cpp | 0 src/SttManager.cpp | 0 src/w-input-keyboard.cpp | 0 src/w-input-selector.cpp | 0 src/w-input-stt-engine.cpp | 0 src/w-input-stt-ise.cpp | 0 src/w-input-stt-voice.cpp | 0 src/w-input-template.cpp | 0 22 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 inc/Debug.h mode change 100755 => 100644 inc/MicEffector.h mode change 100755 => 100644 inc/MoreOption.h mode change 100755 => 100644 inc/SttFeedback.h mode change 100755 => 100644 inc/SttManager.h mode change 100755 => 100644 inc/WInputSttMicEffect.h mode change 100755 => 100644 inc/w-input-emoticon.h mode change 100755 => 100644 inc/w-input-keyboard.h mode change 100755 => 100644 inc/w-input-selector.h mode change 100755 => 100644 inc/w-input-stt-engine.h mode change 100755 => 100644 inc/w-input-stt-ise.h mode change 100755 => 100644 inc/w-input-stt-voice.h mode change 100755 => 100644 inc/w-input-template.h mode change 100755 => 100644 org.tizen.inputdelegator.xml mode change 100755 => 100644 src/MoreOption.cpp mode change 100755 => 100644 src/SttManager.cpp mode change 100755 => 100644 src/w-input-keyboard.cpp mode change 100755 => 100644 src/w-input-selector.cpp mode change 100755 => 100644 src/w-input-stt-engine.cpp mode change 100755 => 100644 src/w-input-stt-ise.cpp mode change 100755 => 100644 src/w-input-stt-voice.cpp mode change 100755 => 100644 src/w-input-template.cpp diff --git a/inc/Debug.h b/inc/Debug.h old mode 100755 new mode 100644 diff --git a/inc/MicEffector.h b/inc/MicEffector.h old mode 100755 new mode 100644 diff --git a/inc/MoreOption.h b/inc/MoreOption.h old mode 100755 new mode 100644 diff --git a/inc/SttFeedback.h b/inc/SttFeedback.h old mode 100755 new mode 100644 diff --git a/inc/SttManager.h b/inc/SttManager.h old mode 100755 new mode 100644 diff --git a/inc/WInputSttMicEffect.h b/inc/WInputSttMicEffect.h old mode 100755 new mode 100644 diff --git a/inc/w-input-emoticon.h b/inc/w-input-emoticon.h old mode 100755 new mode 100644 diff --git a/inc/w-input-keyboard.h b/inc/w-input-keyboard.h old mode 100755 new mode 100644 diff --git a/inc/w-input-selector.h b/inc/w-input-selector.h old mode 100755 new mode 100644 diff --git a/inc/w-input-stt-engine.h b/inc/w-input-stt-engine.h old mode 100755 new mode 100644 diff --git a/inc/w-input-stt-ise.h b/inc/w-input-stt-ise.h old mode 100755 new mode 100644 diff --git a/inc/w-input-stt-voice.h b/inc/w-input-stt-voice.h old mode 100755 new mode 100644 diff --git a/inc/w-input-template.h b/inc/w-input-template.h old mode 100755 new mode 100644 diff --git a/org.tizen.inputdelegator.xml b/org.tizen.inputdelegator.xml old mode 100755 new mode 100644 diff --git a/src/MoreOption.cpp b/src/MoreOption.cpp old mode 100755 new mode 100644 diff --git a/src/SttManager.cpp b/src/SttManager.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-keyboard.cpp b/src/w-input-keyboard.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-stt-engine.cpp b/src/w-input-stt-engine.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-stt-ise.cpp b/src/w-input-stt-ise.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp old mode 100755 new mode 100644 diff --git a/src/w-input-template.cpp b/src/w-input-template.cpp old mode 100755 new mode 100644 -- 2.7.4