From a49a86ccf4162152857f4a4f0266f7e0c96e7938 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 2 Aug 2016 15:14:25 +0100 Subject: [PATCH] Added missing newline chars to logging commands Change-Id: Ibf20efdcc8e985653952a5398493b299a15aa547 --- .../networking/event/automation.cpp | 6 ++-- .../ecore/ecore-file-descriptor-monitor.cpp | 2 +- .../lib-uv/uv-file-descriptor-monitor.cpp | 2 +- .../common/event-loop/lib-uv/uv-timer-impl.cpp | 2 +- adaptors/common/gl/egl-image-extensions.cpp | 18 +++++------ adaptors/common/kernel-trace.cpp | 2 +- adaptors/common/networking/socket-impl.cpp | 18 +++++------ adaptors/common/video-player-impl.cpp | 2 +- .../devel-api/adaptor-framework/bitmap-saver.cpp | 6 ++-- adaptors/ecore/common/ecore-indicator-impl.cpp | 2 +- adaptors/ecore/common/ecore-virtual-keyboard.cpp | 2 +- .../wayland/display-connection-impl-ecore-wl.cpp | 2 +- .../ecore/wayland/imf-manager-impl-ecore-wl.cpp | 2 +- .../emscripten/egl-implementation-emscripten.cpp | 36 +++++++++++----------- adaptors/tizen/framework-tizen.cpp | 2 +- adaptors/tizen/gl/egl-image-extensions-tizen.cpp | 18 +++++------ adaptors/tizen/native-image-source-impl-tizen.cpp | 14 ++++----- adaptors/tizen/tilt-sensor-impl-tizen.cpp | 2 +- adaptors/ubuntu/tts-player-impl-ubuntu.cpp | 2 +- .../compositor-output-region/compositor-output.cpp | 6 ++-- adaptors/wayland/input/seat.cpp | 8 ++--- .../wayland/input/text/imf/imf-manager-impl-wl.cpp | 2 +- .../wayland/render-surface/render-surface-wl.cpp | 2 +- adaptors/wayland/wayland-manager.cpp | 2 +- adaptors/x11/display-connection-impl-x.cpp | 2 +- adaptors/x11/ecore-x-event-handler.cpp | 4 +-- adaptors/x11/imf-manager-impl-x.cpp | 2 +- adaptors/x11/native-image-source-impl-x.cpp | 8 ++--- .../portable/image-operations.cpp | 4 +-- .../tizen/data-cache/data-compression.cpp | 4 +-- .../tizen/image-loaders/loader-ico.cpp | 4 +-- .../tizen/image-loaders/loader-jpeg-turbo.cpp | 10 +++--- .../tizen/image-loaders/loader-png.cpp | 6 ++-- .../tizen/image-loaders/loader-wbmp.cpp | 8 ++--- .../tizen/resource-loader/resource-thread-base.cpp | 4 +-- plugins/video-player/tizen-video-player.cpp | 12 ++++---- 36 files changed, 114 insertions(+), 114 deletions(-) diff --git a/adaptors/base/performance-logging/networking/event/automation.cpp b/adaptors/base/performance-logging/networking/event/automation.cpp index d755336..f73f096 100644 --- a/adaptors/base/performance-logging/networking/event/automation.cpp +++ b/adaptors/base/performance-logging/networking/event/automation.cpp @@ -74,7 +74,7 @@ public: int count = sscanf( mString.c_str(),"%f,%f",&vec2.x,&vec2.y ); if( count != 2 ) { - DALI_LOG_ERROR("Bad format"); + DALI_LOG_ERROR("Bad format\n"); } return vec2; } @@ -86,7 +86,7 @@ public: int count = sscanf( mString.c_str(),"%f,%f,%f",&vec3.x,&vec3.y,&vec3.z ); if( count != 3 ) { - DALI_LOG_ERROR("Bad format"); + DALI_LOG_ERROR("Bad format\n"); } return vec3; } @@ -98,7 +98,7 @@ public: int count = sscanf( mString.c_str(),"%f,%f,%f,%f", &vec4.x, &vec4.y, &vec4.z, &vec4.w ); if( count != 4 ) { - DALI_LOG_ERROR("Bad format"); + DALI_LOG_ERROR("Bad format\n"); } return vec4; } diff --git a/adaptors/common/event-loop/ecore/ecore-file-descriptor-monitor.cpp b/adaptors/common/event-loop/ecore/ecore-file-descriptor-monitor.cpp index f58ba90..81a943e 100644 --- a/adaptors/common/event-loop/ecore/ecore-file-descriptor-monitor.cpp +++ b/adaptors/common/event-loop/ecore/ecore-file-descriptor-monitor.cpp @@ -73,7 +73,7 @@ struct FileDescriptorMonitor::Impl if( ecore_main_fd_handler_active_get( handler, ECORE_FD_ERROR) ) { CallbackBase::Execute( *impl->mCallback, FileDescriptorMonitor::FD_ERROR); - DALI_LOG_ERROR("ECORE_FD_ERROR occurred on %d", impl->mFileDescriptor); + DALI_LOG_ERROR("ECORE_FD_ERROR occurred on %d\n", impl->mFileDescriptor); return ECORE_CALLBACK_CANCEL; } diff --git a/adaptors/common/event-loop/lib-uv/uv-file-descriptor-monitor.cpp b/adaptors/common/event-loop/lib-uv/uv-file-descriptor-monitor.cpp index 6007f23..053a2c6 100644 --- a/adaptors/common/event-loop/lib-uv/uv-file-descriptor-monitor.cpp +++ b/adaptors/common/event-loop/lib-uv/uv-file-descriptor-monitor.cpp @@ -87,7 +87,7 @@ public: if( status < 0) { - DALI_LOG_ERROR("LibUV FD_ERROR occurred on %d", impl->mFileDescriptor); + DALI_LOG_ERROR("LibUV FD_ERROR occurred on %d\n", impl->mFileDescriptor); CallbackBase::Execute( *impl->mCallback, FileDescriptorMonitor::FD_ERROR ); return; } diff --git a/adaptors/common/event-loop/lib-uv/uv-timer-impl.cpp b/adaptors/common/event-loop/lib-uv/uv-timer-impl.cpp index 01ec2f4..92b6213 100644 --- a/adaptors/common/event-loop/lib-uv/uv-timer-impl.cpp +++ b/adaptors/common/event-loop/lib-uv/uv-timer-impl.cpp @@ -113,7 +113,7 @@ struct Timer::Impl TimerPtr Timer::New( unsigned int milliSec ) { - DALI_LOG_ERROR(" new timer"); + DALI_LOG_ERROR(" new timer\n"); TimerPtr timer( new Timer( milliSec ) ); return timer; } diff --git a/adaptors/common/gl/egl-image-extensions.cpp b/adaptors/common/gl/egl-image-extensions.cpp index c40d8f7..b77bfa1 100644 --- a/adaptors/common/gl/egl-image-extensions.cpp +++ b/adaptors/common/gl/egl-image-extensions.cpp @@ -104,32 +104,32 @@ void* EglImageExtensions::CreateImageKHR(EGLClientBuffer clientBuffer) } case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object" ); + DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object\n" ); break; } case EGL_BAD_CONTEXT: { - DALI_LOG_ERROR( "EGL_BAD_CONTEXT: Invalid EGLContext object" ); + DALI_LOG_ERROR( "EGL_BAD_CONTEXT: Invalid EGLContext object\n" ); break; } case EGL_BAD_PARAMETER: { - DALI_LOG_ERROR( "EGL_BAD_PARAMETER: Invalid target parameter or attribute in attrib_list" ); + DALI_LOG_ERROR( "EGL_BAD_PARAMETER: Invalid target parameter or attribute in attrib_list\n" ); break; } case EGL_BAD_MATCH: { - DALI_LOG_ERROR( "EGL_BAD_MATCH: attrib_list does not match target" ); + DALI_LOG_ERROR( "EGL_BAD_MATCH: attrib_list does not match target\n" ); break; } case EGL_BAD_ACCESS: { - DALI_LOG_ERROR( "EGL_BAD_ACCESS: Previously bound off-screen, or EGLImage sibling error" ); + DALI_LOG_ERROR( "EGL_BAD_ACCESS: Previously bound off-screen, or EGLImage sibling error\n" ); break; } case EGL_BAD_ALLOC: { - DALI_LOG_ERROR( "EGL_BAD_ALLOC: Insufficient memory is available" ); + DALI_LOG_ERROR( "EGL_BAD_ALLOC: Insufficient memory is available\n" ); break; } default: @@ -166,17 +166,17 @@ void EglImageExtensions::DestroyImageKHR(void* eglImageKHR) { case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object" ); + DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object\n" ); break; } case EGL_BAD_PARAMETER: { - DALI_LOG_ERROR( "EGL_BAD_PARAMETER: eglImage is not a valid EGLImageKHR object created with respect to EGLDisplay" ); + DALI_LOG_ERROR( "EGL_BAD_PARAMETER: eglImage is not a valid EGLImageKHR object created with respect to EGLDisplay\n" ); break; } case EGL_BAD_ACCESS: { - DALI_LOG_ERROR( "EGL_BAD_ACCESS: EGLImage sibling error" ); + DALI_LOG_ERROR( "EGL_BAD_ACCESS: EGLImage sibling error\n" ); break; } default: diff --git a/adaptors/common/kernel-trace.cpp b/adaptors/common/kernel-trace.cpp index e654fc8..00fc48e 100644 --- a/adaptors/common/kernel-trace.cpp +++ b/adaptors/common/kernel-trace.cpp @@ -84,7 +84,7 @@ void KernelTrace::Trace( const PerformanceMarker& marker, const std::string& tra if( !mLoggedError ) { mLoggedError = true; - DALI_LOG_ERROR("Failed to open /sys/kernel/debug/tracing/trace_marker for writing please check file permissions."); + DALI_LOG_ERROR("Failed to open /sys/kernel/debug/tracing/trace_marker for writing please check file permissions.\n"); } } diff --git a/adaptors/common/networking/socket-impl.cpp b/adaptors/common/networking/socket-impl.cpp index 05f2862..d5dab6a 100644 --- a/adaptors/common/networking/socket-impl.cpp +++ b/adaptors/common/networking/socket-impl.cpp @@ -61,7 +61,7 @@ Socket::Socket( Protocol protocol , int fileDescriptor ) mSocketFileDescriptor = socket( addressFamily,type, netProtocol); if( mSocketFileDescriptor == -1 ) { - DALI_LOG_ERROR( "Unable to create socket" ); + DALI_LOG_ERROR( "Unable to create socket\n" ); } } else @@ -100,7 +100,7 @@ bool Socket::CloseSocket() if( ret == -1 ) { - DALI_LOG_ERROR("Socket close failed"); + DALI_LOG_ERROR("Socket close failed\n"); return false; } return true; @@ -110,7 +110,7 @@ bool Socket::Bind( uint16_t port ) { if( ! SocketIsOpen() || mBound ) { - DALI_LOG_ERROR("Socket is invalid, or already bound"); + DALI_LOG_ERROR("Socket is invalid, or already bound\n"); return false; } struct sockaddr_in serverAddress; @@ -140,14 +140,14 @@ bool Socket::Listen( int blacklog) { if( ! mBound || mListening ) { - DALI_LOG_ERROR("socket is not bound, or already opened for listening"); + DALI_LOG_ERROR("socket is not bound, or already opened for listening\n"); return false; } int ret = listen( mSocketFileDescriptor, blacklog); if( ret == -1 ) { - DALI_LOG_ERROR("Listen failed"); + DALI_LOG_ERROR("Listen failed\n"); return false; } @@ -160,7 +160,7 @@ SocketInterface* Socket::Accept() const { if( !mListening ) { - DALI_LOG_ERROR("socket is not being listened to"); + DALI_LOG_ERROR("socket is not being listened to\n"); return NULL; } @@ -171,7 +171,7 @@ SocketInterface* Socket::Accept() const int clientFileDescriptor = accept( mSocketFileDescriptor, &clientAddress, &addressLength); if( clientFileDescriptor == -1 ) { - DALI_LOG_ERROR("Accept failed"); + DALI_LOG_ERROR("Accept failed\n"); return NULL; } @@ -190,7 +190,7 @@ bool Socket::CreateQuitPipe() int ret = pipe( mQuitPipe ); if( ret != 0) { - DALI_LOG_ERROR("Pipe creation failed"); + DALI_LOG_ERROR("Pipe creation failed\n"); return false; } mQuitPipeCreated = true; @@ -231,7 +231,7 @@ SocketInterface::SelectReturn Socket::Select() int ret = select( maxFd+1, &readFileDescriptors, NULL, &exceptFileDescriptors, NULL ); if( ret == -1 ) { - DALI_LOG_ERROR("select failed"); + DALI_LOG_ERROR("select failed\n"); return ERROR; } else if ( FD_ISSET( mQuitPipe[0] , &readFileDescriptors )) diff --git a/adaptors/common/video-player-impl.cpp b/adaptors/common/video-player-impl.cpp index d6c818c..b87f091 100644 --- a/adaptors/common/video-player-impl.cpp +++ b/adaptors/common/video-player-impl.cpp @@ -100,7 +100,7 @@ void VideoPlayer::Initialize() if( mPlugin == NULL ) { - DALI_LOG_ERROR( "Can't create the VideoPlayerPlugin object" ); + DALI_LOG_ERROR( "Can't create the VideoPlayerPlugin object\n" ); return; } diff --git a/adaptors/devel-api/adaptor-framework/bitmap-saver.cpp b/adaptors/devel-api/adaptor-framework/bitmap-saver.cpp index ae83571..ef5bf4b 100644 --- a/adaptors/devel-api/adaptor-framework/bitmap-saver.cpp +++ b/adaptors/devel-api/adaptor-framework/bitmap-saver.cpp @@ -41,7 +41,7 @@ FileFormat GetFormatFromFileName( const std::string& filename ) { if (filename.length() < 5) { - DALI_LOG_WARNING("Invalid (short) filename."); + DALI_LOG_WARNING("Invalid (short) filename.\n"); } FileFormat format(INVALID_FORMAT); @@ -106,7 +106,7 @@ bool EncodeToFormat( const unsigned char* pixelBuffer, } default: { - DALI_LOG_ERROR("Format not supported for image encoding (supported formats are PNG and JPEG)"); + DALI_LOG_ERROR("Format not supported for image encoding (supported formats are PNG and JPEG)\n"); break; } } @@ -127,7 +127,7 @@ bool EncodeToFile(const unsigned char* const pixelBuffer, const bool encodeResult = EncodeToFormat( pixelBuffer, pixbufEncoded, format, width, height, pixelFormat ); if(!encodeResult) { - DALI_LOG_ERROR("Encoding pixels failed"); + DALI_LOG_ERROR("Encoding pixels failed\n"); return false; } return TizenPlatform::ResourceLoader::SaveFile( filename, pixbufEncoded.Begin(), pixbufEncoded.Count() ); diff --git a/adaptors/ecore/common/ecore-indicator-impl.cpp b/adaptors/ecore/common/ecore-indicator-impl.cpp index d0bda15..a57aaa6 100644 --- a/adaptors/ecore/common/ecore-indicator-impl.cpp +++ b/adaptors/ecore/common/ecore-indicator-impl.cpp @@ -1244,7 +1244,7 @@ void Indicator::DataReceived( void* event ) if (msgDataSize != (int)sizeof(IpcIndicatorDataAnimation)) { - DALI_LOG_ERROR("Message data is incorrect"); + DALI_LOG_ERROR("Message data is incorrect\n"); break; } diff --git a/adaptors/ecore/common/ecore-virtual-keyboard.cpp b/adaptors/ecore/common/ecore-virtual-keyboard.cpp index 78a09bc..ea0b79a 100644 --- a/adaptors/ecore/common/ecore-virtual-keyboard.cpp +++ b/adaptors/ecore/common/ecore-virtual-keyboard.cpp @@ -91,7 +91,7 @@ void InputPanelStateChangeCallback( void* data, Ecore_IMF_Context* context, int void InputPanelLanguageChangeCallback( void* data, Ecore_IMF_Context* context, int value ) { - DALI_LOG_INFO( gLogFilter, Debug::General, "VKB InputPanelLanguageChangeCallback" ); + DALI_LOG_INFO( gLogFilter, Debug::General, "VKB InputPanelLanguageChangeCallback\n" ); // Emit the signal that the language has changed gKeyboardLanguageChangedSignal.Emit(); diff --git a/adaptors/ecore/wayland/display-connection-impl-ecore-wl.cpp b/adaptors/ecore/wayland/display-connection-impl-ecore-wl.cpp index e708842..49d293c 100644 --- a/adaptors/ecore/wayland/display-connection-impl-ecore-wl.cpp +++ b/adaptors/ecore/wayland/display-connection-impl-ecore-wl.cpp @@ -67,7 +67,7 @@ bool DisplayConnection::InitializeEgl(EglInterface& egl) if (!eglImpl.InitializeGles(reinterpret_cast(mDisplay))) { - DALI_LOG_ERROR("Failed to initialize GLES."); + DALI_LOG_ERROR("Failed to initialize GLES.\n"); return false; } diff --git a/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp b/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp index 833b125..825b444 100644 --- a/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp +++ b/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp @@ -173,7 +173,7 @@ Dali::ImfManager ImfManager::Get() } else { - DALI_LOG_ERROR("Failed to get native window handle"); + DALI_LOG_ERROR("Failed to get native window handle\n"); } } } diff --git a/adaptors/emscripten/egl-implementation-emscripten.cpp b/adaptors/emscripten/egl-implementation-emscripten.cpp index f13e348..eec071a 100644 --- a/adaptors/emscripten/egl-implementation-emscripten.cpp +++ b/adaptors/emscripten/egl-implementation-emscripten.cpp @@ -237,62 +237,62 @@ void EglImplementation::MakeContextCurrent() { case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR("EGL_BAD_DISPLAY : Display is not an EGL display connection"); + DALI_LOG_ERROR("EGL_BAD_DISPLAY : Display is not an EGL display connection\n"); break; } case EGL_NOT_INITIALIZED: { - DALI_LOG_ERROR("EGL_NOT_INITIALIZED : Display has not been initialized"); + DALI_LOG_ERROR("EGL_NOT_INITIALIZED : Display has not been initialized\n"); break; } case EGL_BAD_SURFACE: { - DALI_LOG_ERROR("EGL_BAD_SURFACE : Draw or read is not an EGL surface"); + DALI_LOG_ERROR("EGL_BAD_SURFACE : Draw or read is not an EGL surface\n"); break; } case EGL_BAD_CONTEXT: { - DALI_LOG_ERROR("EGL_BAD_CONTEXT : Context is not an EGL rendering context"); + DALI_LOG_ERROR("EGL_BAD_CONTEXT : Context is not an EGL rendering context\n"); break; } case EGL_BAD_MATCH: { - DALI_LOG_ERROR("EGL_BAD_MATCH : Draw or read are not compatible with context, or if context is set to EGL_NO_CONTEXT and draw or read are not set to EGL_NO_SURFACE, or if draw or read are set to EGL_NO_SURFACE and context is not set to EGL_NO_CONTEXT"); + DALI_LOG_ERROR("EGL_BAD_MATCH : Draw or read are not compatible with context, or if context is set to EGL_NO_CONTEXT and draw or read are not set to EGL_NO_SURFACE, or if draw or read are set to EGL_NO_SURFACE and context is not set to EGL_NO_CONTEXT\n"); break; } case EGL_BAD_ACCESS: { - DALI_LOG_ERROR("EGL_BAD_ACCESS : Context is current to some other thread"); + DALI_LOG_ERROR("EGL_BAD_ACCESS : Context is current to some other thread\n"); break; } case EGL_BAD_NATIVE_PIXMAP: { - DALI_LOG_ERROR("EGL_BAD_NATIVE_PIXMAP : A native pixmap underlying either draw or read is no longer valid."); + DALI_LOG_ERROR("EGL_BAD_NATIVE_PIXMAP : A native pixmap underlying either draw or read is no longer valid.\n"); break; } case EGL_BAD_NATIVE_WINDOW: { - DALI_LOG_ERROR("EGL_BAD_NATIVE_WINDOW : A native window underlying either draw or read is no longer valid."); + DALI_LOG_ERROR("EGL_BAD_NATIVE_WINDOW : A native window underlying either draw or read is no longer valid.\n"); break; } case EGL_BAD_CURRENT_SURFACE: { - DALI_LOG_ERROR("EGL_BAD_CURRENT_SURFACE : The previous context has unflushed commands and the previous surface is no longer valid."); + DALI_LOG_ERROR("EGL_BAD_CURRENT_SURFACE : The previous context has unflushed commands and the previous surface is no longer valid.\n"); break; } case EGL_BAD_ALLOC: { - DALI_LOG_ERROR("EGL_BAD_ALLOC : Allocation of ancillary buffers for draw or read were delayed until eglMakeCurrent is called, and there are not enough resources to allocate them"); + DALI_LOG_ERROR("EGL_BAD_ALLOC : Allocation of ancillary buffers for draw or read were delayed until eglMakeCurrent is called, and there are not enough resources to allocate them\n"); break; } case EGL_CONTEXT_LOST: { - DALI_LOG_ERROR("EGL_CONTEXT_LOST : If a power management event has occurred. The application must destroy all contexts and reinitialise OpenGL ES state and objects to continue rendering"); + DALI_LOG_ERROR("EGL_CONTEXT_LOST : If a power management event has occurred. The application must destroy all contexts and reinitialise OpenGL ES state and objects to continue rendering\n"); break; } default: { - DALI_LOG_ERROR("Unknown error"); + DALI_LOG_ERROR("Unknown error\n"); break; } } @@ -430,27 +430,27 @@ void EglImplementation::ChooseConfig( bool isWindowType, ColorDepth depth ) { case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR("Display is not an EGL display connection"); + DALI_LOG_ERROR("Display is not an EGL display connection\n"); break; } case EGL_BAD_ATTRIBUTE: { - DALI_LOG_ERROR("The parameter confirAttribs contains an invalid frame buffer configuration attribute or an attribute value that is unrecognized or out of range"); + DALI_LOG_ERROR("The parameter confirAttribs contains an invalid frame buffer configuration attribute or an attribute value that is unrecognized or out of range\n"); break; } case EGL_NOT_INITIALIZED: { - DALI_LOG_ERROR("Display has not been initialized"); + DALI_LOG_ERROR("Display has not been initialized\n"); break; } case EGL_BAD_PARAMETER: { - DALI_LOG_ERROR("The parameter numConfig is NULL"); + DALI_LOG_ERROR("The parameter numConfig is NULL\n"); break; } default: { - DALI_LOG_ERROR("Unknown error"); + DALI_LOG_ERROR("Unknown error\n"); } } DALI_ASSERT_ALWAYS(false && "eglChooseConfig failed!"); @@ -458,7 +458,7 @@ void EglImplementation::ChooseConfig( bool isWindowType, ColorDepth depth ) if ( numConfigs != 1 ) { - DALI_LOG_ERROR("No configurations found."); + DALI_LOG_ERROR("No configurations found.\n"); TEST_EGL_ERROR("eglChooseConfig"); } } diff --git a/adaptors/tizen/framework-tizen.cpp b/adaptors/tizen/framework-tizen.cpp index 7a4d64b..1f0cf57 100644 --- a/adaptors/tizen/framework-tizen.cpp +++ b/adaptors/tizen/framework-tizen.cpp @@ -357,7 +357,7 @@ void Framework::Run() ret = mImpl->AppMain(); if (ret != APP_ERROR_NONE) { - DALI_LOG_ERROR("Framework::Run(), ui_app_main() is failed. err = %d", ret); + DALI_LOG_ERROR("Framework::Run(), ui_app_main() is failed. err = %d\n", ret); } mRunning = false; } diff --git a/adaptors/tizen/gl/egl-image-extensions-tizen.cpp b/adaptors/tizen/gl/egl-image-extensions-tizen.cpp index 013b9ba..ad1edb6 100644 --- a/adaptors/tizen/gl/egl-image-extensions-tizen.cpp +++ b/adaptors/tizen/gl/egl-image-extensions-tizen.cpp @@ -108,32 +108,32 @@ void* EglImageExtensions::CreateImageKHR(EGLClientBuffer clientBuffer) } case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object" ); + DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object\n" ); break; } case EGL_BAD_CONTEXT: { - DALI_LOG_ERROR( "EGL_BAD_CONTEXT: Invalid EGLContext object" ); + DALI_LOG_ERROR( "EGL_BAD_CONTEXT: Invalid EGLContext object\n" ); break; } case EGL_BAD_PARAMETER: { - DALI_LOG_ERROR( "EGL_BAD_PARAMETER: Invalid target parameter or attribute in attrib_list" ); + DALI_LOG_ERROR( "EGL_BAD_PARAMETER: Invalid target parameter or attribute in attrib_list\n" ); break; } case EGL_BAD_MATCH: { - DALI_LOG_ERROR( "EGL_BAD_MATCH: attrib_list does not match target" ); + DALI_LOG_ERROR( "EGL_BAD_MATCH: attrib_list does not match target\n" ); break; } case EGL_BAD_ACCESS: { - DALI_LOG_ERROR( "EGL_BAD_ACCESS: Previously bound off-screen, or EGLImage sibling error" ); + DALI_LOG_ERROR( "EGL_BAD_ACCESS: Previously bound off-screen, or EGLImage sibling error\n" ); break; } case EGL_BAD_ALLOC: { - DALI_LOG_ERROR( "EGL_BAD_ALLOC: Insufficient memory is available" ); + DALI_LOG_ERROR( "EGL_BAD_ALLOC: Insufficient memory is available\n" ); break; } default: @@ -170,17 +170,17 @@ void EglImageExtensions::DestroyImageKHR(void* eglImageKHR) { case EGL_BAD_DISPLAY: { - DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object" ); + DALI_LOG_ERROR( "EGL_BAD_DISPLAY: Invalid EGLDisplay object\n" ); break; } case EGL_BAD_PARAMETER: { - DALI_LOG_ERROR( "EGL_BAD_PARAMETER: eglImage is not a valid EGLImageKHR object created with respect to EGLDisplay" ); + DALI_LOG_ERROR( "EGL_BAD_PARAMETER: eglImage is not a valid EGLImageKHR object created with respect to EGLDisplay\n" ); break; } case EGL_BAD_ACCESS: { - DALI_LOG_ERROR( "EGL_BAD_ACCESS: EGLImage sibling error" ); + DALI_LOG_ERROR( "EGL_BAD_ACCESS: EGLImage sibling error\n" ); break; } default: diff --git a/adaptors/tizen/native-image-source-impl-tizen.cpp b/adaptors/tizen/native-image-source-impl-tizen.cpp index 5dac57b..57c8d43 100755 --- a/adaptors/tizen/native-image-source-impl-tizen.cpp +++ b/adaptors/tizen/native-image-source-impl-tizen.cpp @@ -131,7 +131,7 @@ void NativeImageSource::Initialize() } default: { - DALI_LOG_WARNING( "Wrong color depth." ); + DALI_LOG_WARNING( "Wrong color depth.\n" ); return; } } @@ -170,7 +170,7 @@ NativeImageSource::~NativeImageSource() { if( tbm_surface_destroy( mTbmsurface ) != TBM_SURFACE_ERROR_NONE ) { - DALI_LOG_ERROR( "Failed to destroy tbm_surface" ); + DALI_LOG_ERROR( "Failed to destroy tbm_surface\n" ); } } } @@ -188,7 +188,7 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& if( tbm_surface_map( mTbmsurface, TBM_SURF_OPTION_READ, &surface_info) != TBM_SURFACE_ERROR_NONE ) { - DALI_LOG_ERROR( "Fail to map tbm_surface" ); + DALI_LOG_ERROR( "Fail to map tbm_surface\n" ); width = 0; height = 0; @@ -251,7 +251,7 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& } default: { - DALI_LOG_WARNING( "Tbm surface has unsupported pixel format." ); + DALI_LOG_WARNING( "Tbm surface has unsupported pixel format.\n" ); pixbuf.resize( 0 ); width = 0; @@ -263,13 +263,13 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& if( tbm_surface_unmap( mTbmsurface ) != TBM_SURFACE_ERROR_NONE ) { - DALI_LOG_ERROR( "Fail to unmap tbm_surface" ); + DALI_LOG_ERROR( "Fail to unmap tbm_surface\n" ); } return true; } - DALI_LOG_WARNING( "TBM surface does not exist." ); + DALI_LOG_WARNING( "TBM surface does not exist.\n" ); width = 0; height = 0; @@ -296,7 +296,7 @@ void NativeImageSource::SetSource( Any source ) { if( tbm_surface_destroy( mTbmsurface ) != TBM_SURFACE_ERROR_NONE ) { - DALI_LOG_ERROR( "Failed to destroy tbm_surface" ); + DALI_LOG_ERROR( "Failed to destroy tbm_surface\n" ); } mTbmsurface = NULL; diff --git a/adaptors/tizen/tilt-sensor-impl-tizen.cpp b/adaptors/tizen/tilt-sensor-impl-tizen.cpp index b21e518..4957f64 100644 --- a/adaptors/tizen/tilt-sensor-impl-tizen.cpp +++ b/adaptors/tizen/tilt-sensor-impl-tizen.cpp @@ -388,7 +388,7 @@ void TiltSensor::Update(sensor_event_s *event) } else { - DALI_LOG_ERROR("Invalid sensor type"); + DALI_LOG_ERROR("Invalid sensor type\n"); return; } diff --git a/adaptors/ubuntu/tts-player-impl-ubuntu.cpp b/adaptors/ubuntu/tts-player-impl-ubuntu.cpp index 961c66a..d438054 100644 --- a/adaptors/ubuntu/tts-player-impl-ubuntu.cpp +++ b/adaptors/ubuntu/tts-player-impl-ubuntu.cpp @@ -45,7 +45,7 @@ Dali::TtsPlayer TtsPlayer::New(Dali::TtsPlayer::Mode mode) TtsPlayer::TtsPlayer(Dali::TtsPlayer::Mode mode) : mStateChangedSignal() { - DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile."); + DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.\n"); } TtsPlayer::~TtsPlayer() diff --git a/adaptors/wayland/compositor-output-region/compositor-output.cpp b/adaptors/wayland/compositor-output-region/compositor-output.cpp index 4271a38..2d3b106 100644 --- a/adaptors/wayland/compositor-output-region/compositor-output.cpp +++ b/adaptors/wayland/compositor-output-region/compositor-output.cpp @@ -58,7 +58,7 @@ void OutputGeometryCallback( void *data, CompositorOutput* output = static_cast< CompositorOutput* >( data ); output->SetMonitorDimensions( physical_width, physical_height ); - DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor width: %d mm, height: %d mm",physical_width, physical_height ); + DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor width: %d mm, height: %d mm\n",physical_width, physical_height ); } void OutputModeCallback( void *data, @@ -74,7 +74,7 @@ void OutputModeCallback( void *data, CompositorOutput* output = static_cast< CompositorOutput* >( data ); output->SetMonitorResolution( width, height ); - DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor refresh rate: %f Hz, resolution: %d x %d", static_cast(refresh)/ 1000.f, width, height ); + DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor refresh rate: %f Hz, resolution: %d x %d\n", static_cast(refresh)/ 1000.f, width, height ); } } @@ -160,7 +160,7 @@ void CompositorOutput::CallbacksDone() gDpiHorizontal = (static_cast( mXresolution) / mMonitorWidth) + 0.5f; gDpiVertical = (static_cast( mYresolution )/ mMonitorHeight) +0.5f; - DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor DPI %d x %d", gDpiHorizontal, gDpiVertical ); + DALI_LOG_INFO( gLogFilter, Debug::General, "Monitor DPI %d x %d\n", gDpiHorizontal, gDpiVertical ); } diff --git a/adaptors/wayland/input/seat.cpp b/adaptors/wayland/input/seat.cpp index 0efb9d1..34c4b43 100644 --- a/adaptors/wayland/input/seat.cpp +++ b/adaptors/wayland/input/seat.cpp @@ -226,7 +226,7 @@ void Seat::KeyboardKeymap( unsigned int format, int fd, unsigned int size ) if( !mXkbData.mContext ) { - DALI_LOG_ERROR("xkb_context_new failed"); + DALI_LOG_ERROR("xkb_context_new failed\n"); close(fd); return; } @@ -236,7 +236,7 @@ void Seat::KeyboardKeymap( unsigned int format, int fd, unsigned int size ) if( format != WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1 ) { - DALI_LOG_ERROR("expected WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1"); + DALI_LOG_ERROR("expected WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1\n"); close(fd); return; } @@ -245,7 +245,7 @@ void Seat::KeyboardKeymap( unsigned int format, int fd, unsigned int size ) char* map = static_cast (mmap( NULL, size, PROT_READ, MAP_SHARED, fd, 0)); if( map == MAP_FAILED) { - DALI_LOG_ERROR("mmap xkb failed"); + DALI_LOG_ERROR("mmap xkb failed\n"); close(fd); return; } @@ -257,7 +257,7 @@ void Seat::KeyboardKeymap( unsigned int format, int fd, unsigned int size ) if (! mXkbData.mKeymap ) { - DALI_LOG_ERROR(" xkb_map_new_from_string failed"); + DALI_LOG_ERROR(" xkb_map_new_from_string failed\n"); return; } diff --git a/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp b/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp index db22b2f..ad95ac5 100644 --- a/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp +++ b/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp @@ -143,7 +143,7 @@ Dali::ImfManager ImfManager::Get() } else { - DALI_LOG_ERROR("Failed to get native window handle"); + DALI_LOG_ERROR("Failed to get native window handle\n"); } return manager; } diff --git a/adaptors/wayland/render-surface/render-surface-wl.cpp b/adaptors/wayland/render-surface/render-surface-wl.cpp index 00906cf..43750a8 100644 --- a/adaptors/wayland/render-surface/render-surface-wl.cpp +++ b/adaptors/wayland/render-surface/render-surface-wl.cpp @@ -84,7 +84,7 @@ void RenderSurface::InitializeEgl( EglInterface& egl ) if (!eglImpl.InitializeGles(static_cast( mWaylandManager->mDisplay ))) { - DALI_LOG_ERROR("Failed to initialize GLES."); + DALI_LOG_ERROR("Failed to initialize GLES.\n"); } eglImpl.ChooseConfig( true, mColorDepth ); diff --git a/adaptors/wayland/wayland-manager.cpp b/adaptors/wayland/wayland-manager.cpp index 433980c..a03807e 100644 --- a/adaptors/wayland/wayland-manager.cpp +++ b/adaptors/wayland/wayland-manager.cpp @@ -212,7 +212,7 @@ void WaylandManager::ReadAndDispatchEvents() } else { - DALI_LOG_ERROR("wl_display_read_events error"); + DALI_LOG_ERROR("wl_display_read_events error\n"); } } diff --git a/adaptors/x11/display-connection-impl-x.cpp b/adaptors/x11/display-connection-impl-x.cpp index 02deebb..b0c804b 100644 --- a/adaptors/x11/display-connection-impl-x.cpp +++ b/adaptors/x11/display-connection-impl-x.cpp @@ -88,7 +88,7 @@ bool DisplayConnection::InitializeEgl(EglInterface& egl) if (!eglImpl.InitializeGles(reinterpret_cast(mDisplay))) { - DALI_LOG_ERROR("Failed to initialize GLES."); + DALI_LOG_ERROR("Failed to initialize GLES.\n"); return false; } diff --git a/adaptors/x11/ecore-x-event-handler.cpp b/adaptors/x11/ecore-x-event-handler.cpp index f5f08b8..a611d8e 100644 --- a/adaptors/x11/ecore-x-event-handler.cpp +++ b/adaptors/x11/ecore-x-event-handler.cpp @@ -417,7 +417,7 @@ struct EventHandler::Impl #ifdef DALI_ELDBUS_AVAILABLE // Initialize ElDBus. - DALI_LOG_INFO( gImfLogging, Debug::General, "Starting DBus Initialization" ); + DALI_LOG_INFO( gImfLogging, Debug::General, "Starting DBus Initialization\n" ); eldbus_init(); mSessionConnection = eldbus_connection_get( ELDBUS_CONNECTION_TYPE_SESSION ); @@ -428,7 +428,7 @@ struct EventHandler::Impl // Pass in handler in the cb_data field so we can access the accessibility adaptor within the callback. eldbus_proxy_call( elDBusManager, A11Y_GET_ADDRESS, EcoreElDBusInitialisation, handler, -1, "" ); - DALI_LOG_INFO( gImfLogging, Debug::General, "Finished DBus Initialization" ); + DALI_LOG_INFO( gImfLogging, Debug::General, "Finished DBus Initialization\n" ); #endif // DALI_ELDBUS_AVAILABLE } diff --git a/adaptors/x11/imf-manager-impl-x.cpp b/adaptors/x11/imf-manager-impl-x.cpp index 5aa868f..57ffb35 100644 --- a/adaptors/x11/imf-manager-impl-x.cpp +++ b/adaptors/x11/imf-manager-impl-x.cpp @@ -166,7 +166,7 @@ Dali::ImfManager ImfManager::Get() } else { - DALI_LOG_ERROR("Failed to get native window handle"); + DALI_LOG_ERROR("Failed to get native window handle\n"); } } } diff --git a/adaptors/x11/native-image-source-impl-x.cpp b/adaptors/x11/native-image-source-impl-x.cpp index c5fd340..ef0007e 100755 --- a/adaptors/x11/native-image-source-impl-x.cpp +++ b/adaptors/x11/native-image-source-impl-x.cpp @@ -166,7 +166,7 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& DALI_ASSERT_DEBUG(pXImage && "XImage (from pixmap) could not be retrieved from the server"); if(!pXImage) { - DALI_LOG_ERROR("Could not retrieve Ximage."); + DALI_LOG_ERROR("Could not retrieve Ximage.\n"); } else { @@ -229,7 +229,7 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& } else { - DALI_LOG_ERROR("XImage has null data pointer."); + DALI_LOG_ERROR("XImage has null data pointer.\n"); } break; } @@ -242,13 +242,13 @@ bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& } default: { - DALI_LOG_WARNING("Pixmap has unsupported bit-depth for getting pixels: %u", pXImage->depth); + DALI_LOG_WARNING("Pixmap has unsupported bit-depth for getting pixels: %u\n", pXImage->depth); } } } if(!success) { - DALI_LOG_ERROR("Failed to get pixels from NativeImageSource."); + DALI_LOG_ERROR("Failed to get pixels from NativeImageSource.\n"); pixbuf.resize(0); width = 0; height = 0; diff --git a/platform-abstractions/portable/image-operations.cpp b/platform-abstractions/portable/image-operations.cpp index 9441488..6a5ee4b 100644 --- a/platform-abstractions/portable/image-operations.cpp +++ b/platform-abstractions/portable/image-operations.cpp @@ -119,12 +119,12 @@ void ValidateScalingParameters( const unsigned int inputWidth, if( desiredWidth == 0u || desiredHeight == 0u ) { - DALI_LOG_INFO( gImageOpsLogFilter, Dali::Integration::Log::Verbose, "Downscaling to a zero-area target is pointless." ); + DALI_LOG_INFO( gImageOpsLogFilter, Dali::Integration::Log::Verbose, "Downscaling to a zero-area target is pointless.\n" ); } if( inputWidth == 0u || inputHeight == 0u ) { - DALI_LOG_INFO( gImageOpsLogFilter, Dali::Integration::Log::Verbose, "Zero area images cannot be scaled" ); + DALI_LOG_INFO( gImageOpsLogFilter, Dali::Integration::Log::Verbose, "Zero area images cannot be scaled\n" ); } } diff --git a/platform-abstractions/tizen/data-cache/data-compression.cpp b/platform-abstractions/tizen/data-cache/data-compression.cpp index d1076e1..42c2f55 100644 --- a/platform-abstractions/tizen/data-cache/data-compression.cpp +++ b/platform-abstractions/tizen/data-cache/data-compression.cpp @@ -130,7 +130,7 @@ bool DecodeRle( const unsigned char* input, if( (runLength + outputIndex) > decodedSize) { - DALI_LOG_ERROR( "corrupted RLE data" ); + DALI_LOG_ERROR( "corrupted RLE data\n" ); // corrupted return false; } @@ -140,7 +140,7 @@ bool DecodeRle( const unsigned char* input, } if( outputIndex != decodedSize) { - DALI_LOG_ERROR(" RLE data size missmatch"); + DALI_LOG_ERROR(" RLE data size missmatch\n"); return false; } diff --git a/platform-abstractions/tizen/image-loaders/loader-ico.cpp b/platform-abstractions/tizen/image-loaders/loader-ico.cpp index b28b1b1..a7e5467 100644 --- a/platform-abstractions/tizen/image-loaders/loader-ico.cpp +++ b/platform-abstractions/tizen/image-loaders/loader-ico.cpp @@ -212,7 +212,7 @@ bool LoadIcoHeaderHelper( FILE* fp, if(fread(&map[0], 1, fsize, fp) != fsize) { - DALI_LOG_WARNING("image file read opeation error!"); + DALI_LOG_WARNING("image file read opeation error!\n"); return false; } @@ -422,7 +422,7 @@ bool LoadBitmapFromIco( const ResourceLoadingClient& client, const ImageLoader:: } if (diff_size) { - DALI_LOG_WARNING("Broken ICO file!"); + DALI_LOG_WARNING("Broken ICO file!\n"); } // Set up the surface as soon as we have the width and height, so we have a black image if there are any further errors. diff --git a/platform-abstractions/tizen/image-loaders/loader-jpeg-turbo.cpp b/platform-abstractions/tizen/image-loaders/loader-jpeg-turbo.cpp index 33826b8..d4322a6 100755 --- a/platform-abstractions/tizen/image-loaders/loader-jpeg-turbo.cpp +++ b/platform-abstractions/tizen/image-loaders/loader-jpeg-turbo.cpp @@ -255,7 +255,7 @@ bool LoadBitmapFromJpeg( const ResourceLoadingClient& client, const ImageLoader: // Pull the compressed JPEG image bytes out of a file and into memory: if( fread( jpegBufferPtr, 1, jpegBufferSize, fp ) != jpegBufferSize ) { - DALI_LOG_WARNING("Error on image file read."); + DALI_LOG_WARNING("Error on image file read.\n"); return false; } @@ -297,7 +297,7 @@ bool LoadBitmapFromJpeg( const ResourceLoadingClient& client, const ImageLoader: if(preXformImageWidth == 0 || preXformImageHeight == 0) { - DALI_LOG_WARNING("Invalid Image!"); + DALI_LOG_WARNING("Invalid Image!\n"); return false; } @@ -552,7 +552,7 @@ bool EncodeToJpeg( const unsigned char* const pixelBuffer, Vector< unsigned char } default: { - DALI_LOG_ERROR( "Unsupported pixel format for encoding to JPEG." ); + DALI_LOG_ERROR( "Unsupported pixel format for encoding to JPEG.\n" ); return false; } } @@ -653,7 +653,7 @@ JPGFORM_CODE ConvertExifOrientation(ExifData* exifData) default: { // Try to keep loading the file, but let app developer know there was something fishy: - DALI_LOG_WARNING( "Incorrect/Unknown Orientation setting found in EXIF header of JPEG image (%x). Orientation setting will be ignored.", entry ); + DALI_LOG_WARNING( "Incorrect/Unknown Orientation setting found in EXIF header of JPEG image (%x). Orientation setting will be ignored.\n", entry ); break; } } @@ -688,7 +688,7 @@ bool TransformSize( int requiredWidth, int requiredHeight, tjscalingfactor* factors = tjGetScalingFactors( &numFactors ); if( factors == NULL ) { - DALI_LOG_WARNING("TurboJpeg tjGetScalingFactors error!"); + DALI_LOG_WARNING("TurboJpeg tjGetScalingFactors error!\n"); success = false; } else diff --git a/platform-abstractions/tizen/image-loaders/loader-png.cpp b/platform-abstractions/tizen/image-loaders/loader-png.cpp index 077d40c..6bc66d6 100644 --- a/platform-abstractions/tizen/image-loaders/loader-png.cpp +++ b/platform-abstractions/tizen/image-loaders/loader-png.cpp @@ -373,12 +373,12 @@ namespace } else { - DALI_LOG_ERROR("PNG buffer for write to memory was passed from libpng as null."); + DALI_LOG_ERROR("PNG buffer for write to memory was passed from libpng as null.\n"); } } catch(...) { - DALI_LOG_ERROR("C++ Exception caught"); + DALI_LOG_ERROR("C++ Exception caught\n"); } } @@ -432,7 +432,7 @@ bool EncodeToPng( const unsigned char* const pixelBuffer, Vector& } default: { - DALI_LOG_ERROR( "Unsupported pixel format for encoding to PNG." ); + DALI_LOG_ERROR( "Unsupported pixel format for encoding to PNG.\n" ); return false; } } diff --git a/platform-abstractions/tizen/image-loaders/loader-wbmp.cpp b/platform-abstractions/tizen/image-loaders/loader-wbmp.cpp index 793ba93..f042ce7 100755 --- a/platform-abstractions/tizen/image-loaders/loader-wbmp.cpp +++ b/platform-abstractions/tizen/image-loaders/loader-wbmp.cpp @@ -82,7 +82,7 @@ int extractMultiByteInteger(unsigned int *data, void *map, size_t length, size_t if ((buf & 0x80) == 0) { - DALI_LOG_INFO(gLogFilter, Debug::Verbose, "position: %d, readBufCount: %d", *position, readBufCount); + DALI_LOG_INFO(gLogFilter, Debug::Verbose, "position: %d, readBufCount: %d\n", *position, readBufCount); break; } } @@ -149,7 +149,7 @@ bool LoadBitmapFromWbmp( const ResourceLoadingClient& client, const ImageLoader: if(fread(&map[0], 1, fsize, fp) != fsize) { - DALI_LOG_WARNING("image file read opeation error!"); + DALI_LOG_WARNING("image file read opeation error!\n"); return false; } @@ -263,13 +263,13 @@ bool LoadWbmpHeader( const ImageLoader::Input& input, unsigned int& width, unsig map.Resize(headerSize); if(fread(&map[0], 1, headerSize, fp) != headerSize) { - DALI_LOG_WARNING("image file read opeation error!"); + DALI_LOG_WARNING("image file read opeation error!\n"); return false; } if (extractMultiByteInteger(&type, &map[0], headerSize, &position) < 0) { - DALI_LOG_ERROR("Error: unable to read type!"); + DALI_LOG_ERROR("Error: unable to read type!\n"); return false; } position++; /* skipping one byte */ diff --git a/platform-abstractions/tizen/resource-loader/resource-thread-base.cpp b/platform-abstractions/tizen/resource-loader/resource-thread-base.cpp index 04a7b93..dbab073 100644 --- a/platform-abstractions/tizen/resource-loader/resource-thread-base.cpp +++ b/platform-abstractions/tizen/resource-loader/resource-thread-base.cpp @@ -311,14 +311,14 @@ void ResourceThreadBase::UninstallLogging() void ResourceThreadBase::Download(const Integration::ResourceRequest& request) { DALI_LOG_TRACE_METHOD(mLogFilter); - DALI_LOG_WARNING("Resource Downloading from a remote server not supported for this type."); + DALI_LOG_WARNING("Resource Downloading from a remote server not supported for this type.\n"); ///! If you need this for a subclassed thread, look to ResourceThreadImage::Download() for an example implementation. } void ResourceThreadBase::Decode(const Integration::ResourceRequest& request) { DALI_LOG_TRACE_METHOD(mLogFilter); - DALI_LOG_WARNING("Resource Decoding from a memory buffer not supported for this type."); + DALI_LOG_WARNING("Resource Decoding from a memory buffer not supported for this type.\n"); ///! If you need this for a subclassed thread, look to ResourceThreadImage::Decode() for an example implementation. } diff --git a/plugins/video-player/tizen-video-player.cpp b/plugins/video-player/tizen-video-player.cpp index 12528ae..bbcabaf 100644 --- a/plugins/video-player/tizen-video-player.cpp +++ b/plugins/video-player/tizen-video-player.cpp @@ -56,7 +56,7 @@ static void MediaPacketVideoDecodedCb( media_packet_h packet, void* user_data ) if( player == NULL ) { - DALI_LOG_ERROR( "Decoded callback got Null pointer as user_data." ); + DALI_LOG_ERROR( "Decoded callback got Null pointer as user_data.\n" ); return; } @@ -67,19 +67,19 @@ static void MediaPacketVideoDecodedCb( media_packet_h packet, void* user_data ) static void EmitPlaybackFinishedSignal( void* user_data ) { TizenVideoPlayer* player = static_cast< TizenVideoPlayer* >( user_data ); - DALI_LOG_ERROR( "EmitPlaybackFinishedSignal.0" ); + DALI_LOG_ERROR( "EmitPlaybackFinishedSignal.\n" ); if( player == NULL ) { - DALI_LOG_ERROR( "Decoded callback got Null pointer as user_data." ); + DALI_LOG_ERROR( "Decoded callback got Null pointer as user_data.\n" ); return; } - DALI_LOG_ERROR( "EmitPlaybackFinishedSignal." ); + DALI_LOG_ERROR( "EmitPlaybackFinishedSignal.\n" ); if( !player->mFinishedSignal.Empty() ) { - DALI_LOG_ERROR( "EmitPlaybackFinishedSignal.3" ); + DALI_LOG_ERROR( "EmitPlaybackFinishedSignal.3\n" ); player->mFinishedSignal.Emit(); } @@ -302,7 +302,7 @@ void TizenVideoPlayer::SetRenderingTarget( Any target ) } else { - DALI_LOG_ERROR( "Video rendering target is unknown" ); + DALI_LOG_ERROR( "Video rendering target is unknown\n" ); } } -- 2.7.4