diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index d3496c98..00000000 --- a/.gitmodules +++ /dev/null @@ -1,84 +0,0 @@ - -[submodule "external/glew/glew"] - path = external/glew/glew - url = https://github.com/HeeroYui/glew.git -[submodule "external/etk"] - path = external/etk - url = https://github.com/HeeroYui/etk.git -[submodule "external/agg"] - path = external/agg - url = https://github.com/HeeroYui/libagg.git -[submodule "external/freetype"] - path = external/freetype - url = https://github.com/HeeroYui/libfreetype.git -[submodule "external/png"] - path = external/png - url = https://github.com/HeeroYui/libpng.git -[submodule "external/bullet/bullet"] - path = external/bullet/bullet - url = https://github.com/HeeroYui/bullet.git -[submodule "external/esvg"] - path = external/esvg - url = https://github.com/HeeroYui/esvg.git -[submodule "external/exml"] - path = external/exml - url = https://github.com/HeeroYui/exml.git -[submodule "external/egami"] - path = external/egami - url = https://github.com/HeeroYui/egami.git -[submodule "external/ejson"] - path = external/ejson - url = https://github.com/HeeroYui/ejson.git -[submodule "external/ege"] - path = external/ege - url = https://github.com/HeeroYui/ege.git -[submodule "ios-deploy"] - path = ios-deploy - url = https://github.com/HeeroYui/ios-deploy.git -[submodule "external/enet"] - path = external/enet - url = https://github.com/HeeroYui/enet.git -[submodule "external/gtest"] - path = external/gtest - url = https://github.com/HeeroYui/gtest - -[submodule "external/audio-ess"] - path = external/audio-ess - url = https://github.com/HeeroYui/audio-ess.git -[submodule "external/audio-blockEngine"] - path = external/audio-blockEngine - url = https://github.com/HeeroYui/audio-blockEngine.git - -[submodule "external/ogg"] - path = external/ogg - url = https://github.com/musicdsp/ogg.git -[submodule "external/speex"] - path = external/speex - url = https://github.com/musicdsp/speex.git -[submodule "external/speexdsp"] - path = external/speexdsp - url = https://github.com/musicdsp/speexdsp.git -[submodule "external/audio"] - path = external/audio - url = https://github.com/musicdsp/audio.git -[submodule "external/audio-algo-river"] - path = external/audio-algo-river - url = https://github.com/musicdsp/audio-algo-river.git -[submodule "external/audio-algo-drain"] - path = external/audio-algo-drain - url = https://github.com/musicdsp/audio-algo-drain.git -[submodule "external/audio-drain"] - path = external/audio-drain - url = https://github.com/musicdsp/audio-drain.git -[submodule "external/audio-river"] - path = external/audio-river - url = https://github.com/musicdsp/audio-river.git -[submodule "external/audio-orchestra"] - path = external/audio-orchestra - url = https://github.com/musicdsp/audio-orchestra.git -[submodule "external/audio-algo-speex"] - path = external/audio-algo-speex - url = http://github.com/musicdsp/audio-algo-speex.git -[submodule "external/z"] - path = external/z - url = https://github.com/HeeroYui/z.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 552f2ff4..cebb793c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,252 @@ cmake_minimum_required(VERSION 2.8) -# include external sub libs : -SUBDIRS(external) -#include ewol sources -SUBDIRS(sources) +# Declare the project +project(ewol) -#add_subdirectory +## +## Include C++ X11 dependency ... (check correct flags) +## +include(CheckCXXCompilerFlag) +CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) +if(COMPILER_SUPPORTS_CXX11) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +else() + CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) + if(COMPILER_SUPPORTS_CXX0X) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") + else() + message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.") + endif() +endif() + + +# set output path: +set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) + +include_directories(.) + +#Create src file list +set(src_files + ewol/ewol.cpp + ewol/ewol.h + ewol/debug.cpp + ewol/debug.h + ewol/Dimension.cpp + ewol/Dimension.h + ewol/compositing/Compositing.cpp + ewol/compositing/Compositing.h + ewol/compositing/TextBase.cpp + ewol/compositing/TextBase.h + ewol/compositing/Text.cpp + ewol/compositing/Text.h + ewol/compositing/TextDF.cpp + ewol/compositing/TextDF.h + ewol/compositing/Drawing.cpp + ewol/compositing/Drawing.h + ewol/compositing/Image.cpp + ewol/compositing/Image.h + ewol/compositing/Sprite.cpp + ewol/compositing/Sprite.h + ewol/compositing/Shaper.cpp + ewol/compositing/Shaper.h + ewol/compositing/Area.cpp + ewol/compositing/Area.h + ewol/context/clipBoard.cpp + ewol/context/clipBoard.h + ewol/context/commandLine.cpp + ewol/context/commandLine.h + ewol/context/ConfigFont.cpp + ewol/context/ConfigFont.h + ewol/context/Context.cpp + ewol/context/Context.h + ewol/context/cursor.cpp + ewol/context/cursor.h + ewol/context/InputManager.cpp + ewol/context/InputManager.h + ewol/event/Entry.cpp + ewol/event/Entry.h + ewol/event/Time.cpp + ewol/event/Time.h + ewol/event/Input.cpp + ewol/event/Input.h + ewol/key/keyboard.cpp + ewol/key/keyboard.h + ewol/key/Special.cpp + ewol/key/Special.h + ewol/key/status.cpp + ewol/key/status.h + ewol/key/type.cpp + ewol/key/type.h + ewol/object/Config.cpp + ewol/object/Config.h + ewol/object/ConfigElement.cpp + ewol/object/ConfigElement.h + ewol/object/Manager.cpp + ewol/object/Manager.h + ewol/object/Message.cpp + ewol/object/Message.h + ewol/object/MultiCast.cpp + ewol/object/MultiCast.h + ewol/object/Object.cpp + ewol/object/Object.h + ewol/openGL/openGL.cpp + ewol/openGL/openGL.h + ewol/resource/Colored3DObject.cpp + ewol/resource/Colored3DObject.h + ewol/resource/ColorFile.cpp + ewol/resource/ColorFile.h + ewol/resource/ConfigFile.cpp + ewol/resource/ConfigFile.h + ewol/resource/FontFreeType.cpp + ewol/resource/FontFreeType.h + ewol/resource/Image.cpp + ewol/resource/Image.h + ewol/resource/ImageDF.cpp + ewol/resource/ImageDF.h + ewol/resource/Manager.cpp + ewol/resource/Manager.h + ewol/resource/Program.cpp + ewol/resource/Program.h + ewol/resource/Resource.cpp + ewol/resource/Resource.h + ewol/resource/Shader.cpp + ewol/resource/Shader.h + ewol/resource/Texture.cpp + ewol/resource/Texture.h + ewol/resource/TexturedFont.cpp + ewol/resource/TexturedFont.h + ewol/resource/DistanceFieldFont.cpp + ewol/resource/DistanceFieldFont.h + ewol/resource/VirtualBufferObject.cpp + ewol/resource/VirtualBufferObject.h + ewol/widget/ButtonColor.cpp + ewol/widget/ButtonColor.h + ewol/widget/Button.cpp + ewol/widget/Button.h + ewol/widget/CheckBox.cpp + ewol/widget/CheckBox.h + ewol/widget/ColorBar.cpp + ewol/widget/ColorBar.h + ewol/widget/Composer.cpp + ewol/widget/Composer.h + ewol/widget/Container.cpp + ewol/widget/Container.h + ewol/widget/Container2.cpp + ewol/widget/Container2.h + ewol/widget/ContainerN.cpp + ewol/widget/ContainerN.h + ewol/widget/ContextMenu.cpp + ewol/widget/ContextMenu.h + ewol/widget/Entry.cpp + ewol/widget/Entry.h + ewol/widget/Gird.cpp + ewol/widget/Gird.h + ewol/widget/Image.cpp + ewol/widget/Image.h + ewol/widget/Joystick.cpp + ewol/widget/Joystick.h + ewol/widget/Label.cpp + ewol/widget/Label.h + ewol/widget/Layer.cpp + ewol/widget/Layer.h + ewol/widget/List.cpp + ewol/widget/List.h + ewol/widget/ListFileSystem.cpp + ewol/widget/ListFileSystem.h + ewol/widget/Manager.cpp + ewol/widget/Manager.h + ewol/widget/Menu.cpp + ewol/widget/Menu.h + ewol/widget/meta/ColorChooser.cpp + ewol/widget/meta/ColorChooser.h + ewol/widget/meta/FileChooser.cpp + ewol/widget/meta/FileChooser.h + ewol/widget/meta/Parameter.cpp + ewol/widget/meta/Parameter.h + ewol/widget/meta/ParameterList.cpp + ewol/widget/meta/ParameterList.h + ewol/widget/meta/StdPopUp.cpp + ewol/widget/meta/StdPopUp.h + ewol/widget/PopUp.cpp + ewol/widget/PopUp.h + ewol/widget/ProgressBar.cpp + ewol/widget/ProgressBar.h + ewol/widget/Scroll.cpp + ewol/widget/Scroll.h + ewol/widget/Sizer.cpp + ewol/widget/Sizer.h + ewol/widget/Slider.cpp + ewol/widget/Slider.h + ewol/widget/Spacer.cpp + ewol/widget/Spacer.h + ewol/widget/Widget.cpp + ewol/widget/Widget.h + ewol/widget/WidgetScrolled.cpp + ewol/widget/WidgetScrolled.h + ewol/widget/Windows.cpp + ewol/widget/Windows.h + ewol/widget/WSlider.cpp + ewol/widget/WSlider.h +) + +add_definitions( -DDEBUG_LEVEL=3 ) +add_definitions( -DDEBUG=1 ) +message(STATUS "APPLE=${APPLE}") +message(STATUS "UNIX=${UNIX}") + +if (APPLE) + add_definitions( -D__TARGET_OS__MacOs ) + set(src_files-specific + ewol/context/MacOs/Context.cpp + ewol/context/MacOs/Context.h + ewol/context/MacOs/Interface.mm + ewol/context/MacOs/Interface.h + ewol/context/MacOs/Windows.mm + ewol/context/MacOs/Windows.h + ewol/context/MacOs/OpenglView.mm + ewol/context/MacOs/OpenglView.h + ewol/context/MacOs/AppDelegate.mm + ewol/context/MacOs/AppDelegate.h + ) +elseif (UNIX) + add_definitions( -D__TARGET_OS__Linux ) + set(src_files-specific + ewol/context/X11/Context.cpp + ewol/context/X11/Context.h + ) +elseif (WIN32) + add_definitions( -D__TARGET_OS__Windows ) + set(src_files-specific + ewol/context/Windows/Context.cpp + ewol/context/Windows/Context.h + ) +endif () + +#Create a static Lib: +add_library(ewol STATIC ${src_files} ${src_files-specific}) + +include_directories(${zlib_SOURCE_DIR}/contrib/) +include_directories(${linearmath_SOURCE_DIR}/bullet/src/) +include_directories(${etk_SOURCE_DIR}) +include_directories(${freetype_SOURCE_DIR}) +include_directories(${exml_SOURCE_DIR}) +include_directories(${ejson_SOURCE_DIR}) +include_directories(${egami_SOURCE_DIR}) +include_directories(${edtaa3_SOURCE_DIR}) +include_directories(${date_SOURCE_DIR}) +include_directories(${agg_SOURCE_DIR}) + +#add_dependencies(ewol linearmath zlib etk freetype exml ejson egami edtaa3 date) + +target_link_libraries(ewol linearmath zlib etk freetype exml ejson egami edtaa3 date) + + +# read version : +file (STRINGS "tag" BUILD_VERSION) +add_definitions( -DEWOL_VERSION="${BUILD_VERSION}" ) + +# display all variable ... +#get_cmake_property(_variableNames VARIABLES) +#foreach (_variableName ${_variableNames}) +# message(STATUS "${_variableName}=${${_variableName}}") +#endforeach() diff --git a/README.md b/README.md index ec683510..d9866651 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,29 @@ Ewol Instructions ============ -download the software : +need google repo: +----------------- +see: http://source.android.com/source/downloading.html#installing-repo + + mkdir ~/.bin + PATH=~/.bin:$PATH + curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo + chmod a+x ~/.bin/repo + + +download the software: +---------------------- + + mkdir WORKING_DIRECTORY + cd WORKING_DIRECTORY git clone git://github.com/HeeroYui/lutin.git - git clone git://github.com/HeeroYui/ewol.git - cd ewol - git submodule init - git submodule update - cd external/z - git submodule init - git submodule update + repo init -u git://github.com/HeeroYui/manifest.git + repo sync -j8 -Compile software and install : + +Compile software and install: +----------------------------- For this you might use a project that create binaries or something else ... Show http://github.com/HeeroYui/edn project diff --git a/sources/android/src/org/ewol/Ewol.java b/android/src/org/ewol/Ewol.java similarity index 100% rename from sources/android/src/org/ewol/Ewol.java rename to android/src/org/ewol/Ewol.java diff --git a/sources/android/src/org/ewol/EwolActivity.java b/android/src/org/ewol/EwolActivity.java similarity index 100% rename from sources/android/src/org/ewol/EwolActivity.java rename to android/src/org/ewol/EwolActivity.java diff --git a/sources/android/src/org/ewol/EwolAudioTask.java b/android/src/org/ewol/EwolAudioTask.java similarity index 100% rename from sources/android/src/org/ewol/EwolAudioTask.java rename to android/src/org/ewol/EwolAudioTask.java diff --git a/sources/android/src/org/ewol/EwolCallback.java b/android/src/org/ewol/EwolCallback.java similarity index 100% rename from sources/android/src/org/ewol/EwolCallback.java rename to android/src/org/ewol/EwolCallback.java diff --git a/sources/android/src/org/ewol/EwolConstants.java b/android/src/org/ewol/EwolConstants.java similarity index 100% rename from sources/android/src/org/ewol/EwolConstants.java rename to android/src/org/ewol/EwolConstants.java diff --git a/sources/android/src/org/ewol/EwolRendererGL.java b/android/src/org/ewol/EwolRendererGL.java similarity index 100% rename from sources/android/src/org/ewol/EwolRendererGL.java rename to android/src/org/ewol/EwolRendererGL.java diff --git a/sources/android/src/org/ewol/EwolSurfaceViewGL.java b/android/src/org/ewol/EwolSurfaceViewGL.java similarity index 100% rename from sources/android/src/org/ewol/EwolSurfaceViewGL.java rename to android/src/org/ewol/EwolSurfaceViewGL.java diff --git a/sources/android/src/org/ewol/EwolWallpaper.java b/android/src/org/ewol/EwolWallpaper.java similarity index 100% rename from sources/android/src/org/ewol/EwolWallpaper.java rename to android/src/org/ewol/EwolWallpaper.java diff --git a/sources/createTag.sh b/createTag.sh similarity index 100% rename from sources/createTag.sh rename to createTag.sh diff --git a/sources/ewol/Dimension.cpp b/ewol/Dimension.cpp similarity index 100% rename from sources/ewol/Dimension.cpp rename to ewol/Dimension.cpp diff --git a/sources/ewol/Dimension.h b/ewol/Dimension.h similarity index 100% rename from sources/ewol/Dimension.h rename to ewol/Dimension.h diff --git a/sources/ewol/Padding.cpp b/ewol/Padding.cpp similarity index 100% rename from sources/ewol/Padding.cpp rename to ewol/Padding.cpp diff --git a/sources/ewol/Padding.h b/ewol/Padding.h similarity index 100% rename from sources/ewol/Padding.h rename to ewol/Padding.h diff --git a/sources/ewol/compositing/Area.cpp b/ewol/compositing/Area.cpp similarity index 100% rename from sources/ewol/compositing/Area.cpp rename to ewol/compositing/Area.cpp diff --git a/sources/ewol/compositing/Area.h b/ewol/compositing/Area.h similarity index 100% rename from sources/ewol/compositing/Area.h rename to ewol/compositing/Area.h diff --git a/sources/ewol/compositing/Compositing.cpp b/ewol/compositing/Compositing.cpp similarity index 100% rename from sources/ewol/compositing/Compositing.cpp rename to ewol/compositing/Compositing.cpp diff --git a/sources/ewol/compositing/Compositing.h b/ewol/compositing/Compositing.h similarity index 100% rename from sources/ewol/compositing/Compositing.h rename to ewol/compositing/Compositing.h diff --git a/sources/ewol/compositing/Drawing.cpp b/ewol/compositing/Drawing.cpp similarity index 100% rename from sources/ewol/compositing/Drawing.cpp rename to ewol/compositing/Drawing.cpp diff --git a/sources/ewol/compositing/Drawing.h b/ewol/compositing/Drawing.h similarity index 100% rename from sources/ewol/compositing/Drawing.h rename to ewol/compositing/Drawing.h diff --git a/sources/ewol/compositing/Image.cpp b/ewol/compositing/Image.cpp similarity index 100% rename from sources/ewol/compositing/Image.cpp rename to ewol/compositing/Image.cpp diff --git a/sources/ewol/compositing/Image.h b/ewol/compositing/Image.h similarity index 100% rename from sources/ewol/compositing/Image.h rename to ewol/compositing/Image.h diff --git a/sources/ewol/compositing/Shaper.cpp b/ewol/compositing/Shaper.cpp similarity index 100% rename from sources/ewol/compositing/Shaper.cpp rename to ewol/compositing/Shaper.cpp diff --git a/sources/ewol/compositing/Shaper.h b/ewol/compositing/Shaper.h similarity index 100% rename from sources/ewol/compositing/Shaper.h rename to ewol/compositing/Shaper.h diff --git a/sources/ewol/compositing/Sprite.cpp b/ewol/compositing/Sprite.cpp similarity index 100% rename from sources/ewol/compositing/Sprite.cpp rename to ewol/compositing/Sprite.cpp diff --git a/sources/ewol/compositing/Sprite.h b/ewol/compositing/Sprite.h similarity index 100% rename from sources/ewol/compositing/Sprite.h rename to ewol/compositing/Sprite.h diff --git a/sources/ewol/compositing/Text.cpp b/ewol/compositing/Text.cpp similarity index 100% rename from sources/ewol/compositing/Text.cpp rename to ewol/compositing/Text.cpp diff --git a/sources/ewol/compositing/Text.h b/ewol/compositing/Text.h similarity index 100% rename from sources/ewol/compositing/Text.h rename to ewol/compositing/Text.h diff --git a/sources/ewol/compositing/TextBase.cpp b/ewol/compositing/TextBase.cpp similarity index 100% rename from sources/ewol/compositing/TextBase.cpp rename to ewol/compositing/TextBase.cpp diff --git a/sources/ewol/compositing/TextBase.h b/ewol/compositing/TextBase.h similarity index 100% rename from sources/ewol/compositing/TextBase.h rename to ewol/compositing/TextBase.h diff --git a/sources/ewol/compositing/TextDF.cpp b/ewol/compositing/TextDF.cpp similarity index 100% rename from sources/ewol/compositing/TextDF.cpp rename to ewol/compositing/TextDF.cpp diff --git a/sources/ewol/compositing/TextDF.h b/ewol/compositing/TextDF.h similarity index 100% rename from sources/ewol/compositing/TextDF.h rename to ewol/compositing/TextDF.h diff --git a/sources/ewol/context/Android/Context.cpp b/ewol/context/Android/Context.cpp similarity index 100% rename from sources/ewol/context/Android/Context.cpp rename to ewol/context/Android/Context.cpp diff --git a/sources/ewol/context/Application.h b/ewol/context/Application.h similarity index 100% rename from sources/ewol/context/Application.h rename to ewol/context/Application.h diff --git a/sources/ewol/context/ConfigFont.cpp b/ewol/context/ConfigFont.cpp similarity index 100% rename from sources/ewol/context/ConfigFont.cpp rename to ewol/context/ConfigFont.cpp diff --git a/sources/ewol/context/ConfigFont.h b/ewol/context/ConfigFont.h similarity index 100% rename from sources/ewol/context/ConfigFont.h rename to ewol/context/ConfigFont.h diff --git a/sources/ewol/context/Context.cpp b/ewol/context/Context.cpp similarity index 100% rename from sources/ewol/context/Context.cpp rename to ewol/context/Context.cpp diff --git a/sources/ewol/context/Context.h b/ewol/context/Context.h similarity index 100% rename from sources/ewol/context/Context.h rename to ewol/context/Context.h diff --git a/sources/ewol/context/Fps.h b/ewol/context/Fps.h similarity index 100% rename from sources/ewol/context/Fps.h rename to ewol/context/Fps.h diff --git a/sources/ewol/context/IOs/AppDelegate.h b/ewol/context/IOs/AppDelegate.h similarity index 100% rename from sources/ewol/context/IOs/AppDelegate.h rename to ewol/context/IOs/AppDelegate.h diff --git a/sources/ewol/context/IOs/AppDelegate.mm b/ewol/context/IOs/AppDelegate.mm similarity index 100% rename from sources/ewol/context/IOs/AppDelegate.mm rename to ewol/context/IOs/AppDelegate.mm diff --git a/sources/ewol/context/IOs/Context.cpp b/ewol/context/IOs/Context.cpp similarity index 100% rename from sources/ewol/context/IOs/Context.cpp rename to ewol/context/IOs/Context.cpp diff --git a/sources/ewol/context/IOs/Context.h b/ewol/context/IOs/Context.h similarity index 100% rename from sources/ewol/context/IOs/Context.h rename to ewol/context/IOs/Context.h diff --git a/sources/ewol/context/IOs/Interface.h b/ewol/context/IOs/Interface.h similarity index 100% rename from sources/ewol/context/IOs/Interface.h rename to ewol/context/IOs/Interface.h diff --git a/sources/ewol/context/IOs/Interface.m b/ewol/context/IOs/Interface.m similarity index 100% rename from sources/ewol/context/IOs/Interface.m rename to ewol/context/IOs/Interface.m diff --git a/sources/ewol/context/IOs/OpenglView.h b/ewol/context/IOs/OpenglView.h similarity index 100% rename from sources/ewol/context/IOs/OpenglView.h rename to ewol/context/IOs/OpenglView.h diff --git a/sources/ewol/context/IOs/OpenglView.mm b/ewol/context/IOs/OpenglView.mm similarity index 100% rename from sources/ewol/context/IOs/OpenglView.mm rename to ewol/context/IOs/OpenglView.mm diff --git a/sources/ewol/context/InputManager.cpp b/ewol/context/InputManager.cpp similarity index 100% rename from sources/ewol/context/InputManager.cpp rename to ewol/context/InputManager.cpp diff --git a/sources/ewol/context/InputManager.h b/ewol/context/InputManager.h similarity index 100% rename from sources/ewol/context/InputManager.h rename to ewol/context/InputManager.h diff --git a/sources/ewol/context/MacOs/AppDelegate.h b/ewol/context/MacOs/AppDelegate.h similarity index 100% rename from sources/ewol/context/MacOs/AppDelegate.h rename to ewol/context/MacOs/AppDelegate.h diff --git a/sources/ewol/context/MacOs/AppDelegate.mm b/ewol/context/MacOs/AppDelegate.mm similarity index 100% rename from sources/ewol/context/MacOs/AppDelegate.mm rename to ewol/context/MacOs/AppDelegate.mm diff --git a/sources/ewol/context/MacOs/Context.cpp b/ewol/context/MacOs/Context.cpp similarity index 100% rename from sources/ewol/context/MacOs/Context.cpp rename to ewol/context/MacOs/Context.cpp diff --git a/sources/ewol/context/MacOs/Context.h b/ewol/context/MacOs/Context.h similarity index 100% rename from sources/ewol/context/MacOs/Context.h rename to ewol/context/MacOs/Context.h diff --git a/sources/ewol/context/MacOs/Interface.h b/ewol/context/MacOs/Interface.h similarity index 100% rename from sources/ewol/context/MacOs/Interface.h rename to ewol/context/MacOs/Interface.h diff --git a/sources/ewol/context/MacOs/Interface.mm b/ewol/context/MacOs/Interface.mm similarity index 100% rename from sources/ewol/context/MacOs/Interface.mm rename to ewol/context/MacOs/Interface.mm diff --git a/sources/ewol/context/MacOs/OpenglView.h b/ewol/context/MacOs/OpenglView.h similarity index 100% rename from sources/ewol/context/MacOs/OpenglView.h rename to ewol/context/MacOs/OpenglView.h diff --git a/sources/ewol/context/MacOs/OpenglView.mm b/ewol/context/MacOs/OpenglView.mm similarity index 100% rename from sources/ewol/context/MacOs/OpenglView.mm rename to ewol/context/MacOs/OpenglView.mm diff --git a/sources/ewol/context/MacOs/Windows.h b/ewol/context/MacOs/Windows.h similarity index 100% rename from sources/ewol/context/MacOs/Windows.h rename to ewol/context/MacOs/Windows.h diff --git a/sources/ewol/context/MacOs/Windows.mm b/ewol/context/MacOs/Windows.mm similarity index 100% rename from sources/ewol/context/MacOs/Windows.mm rename to ewol/context/MacOs/Windows.mm diff --git a/sources/ewol/context/Windows/Context.cpp b/ewol/context/Windows/Context.cpp similarity index 100% rename from sources/ewol/context/Windows/Context.cpp rename to ewol/context/Windows/Context.cpp diff --git a/sources/ewol/context/X11/Context.cpp b/ewol/context/X11/Context.cpp similarity index 100% rename from sources/ewol/context/X11/Context.cpp rename to ewol/context/X11/Context.cpp diff --git a/sources/ewol/context/clipBoard.cpp b/ewol/context/clipBoard.cpp similarity index 100% rename from sources/ewol/context/clipBoard.cpp rename to ewol/context/clipBoard.cpp diff --git a/sources/ewol/context/clipBoard.h b/ewol/context/clipBoard.h similarity index 100% rename from sources/ewol/context/clipBoard.h rename to ewol/context/clipBoard.h diff --git a/sources/ewol/context/commandLine.cpp b/ewol/context/commandLine.cpp similarity index 100% rename from sources/ewol/context/commandLine.cpp rename to ewol/context/commandLine.cpp diff --git a/sources/ewol/context/commandLine.h b/ewol/context/commandLine.h similarity index 100% rename from sources/ewol/context/commandLine.h rename to ewol/context/commandLine.h diff --git a/sources/ewol/context/cursor.cpp b/ewol/context/cursor.cpp similarity index 100% rename from sources/ewol/context/cursor.cpp rename to ewol/context/cursor.cpp diff --git a/sources/ewol/context/cursor.h b/ewol/context/cursor.h similarity index 100% rename from sources/ewol/context/cursor.h rename to ewol/context/cursor.h diff --git a/sources/ewol/context/directFB/Context.cpp b/ewol/context/directFB/Context.cpp similarity index 100% rename from sources/ewol/context/directFB/Context.cpp rename to ewol/context/directFB/Context.cpp diff --git a/sources/ewol/debug.cpp b/ewol/debug.cpp similarity index 100% rename from sources/ewol/debug.cpp rename to ewol/debug.cpp diff --git a/sources/ewol/debug.h b/ewol/debug.h similarity index 100% rename from sources/ewol/debug.h rename to ewol/debug.h diff --git a/sources/ewol/event/Entry.cpp b/ewol/event/Entry.cpp similarity index 100% rename from sources/ewol/event/Entry.cpp rename to ewol/event/Entry.cpp diff --git a/sources/ewol/event/Entry.h b/ewol/event/Entry.h similarity index 100% rename from sources/ewol/event/Entry.h rename to ewol/event/Entry.h diff --git a/sources/ewol/event/Input.cpp b/ewol/event/Input.cpp similarity index 100% rename from sources/ewol/event/Input.cpp rename to ewol/event/Input.cpp diff --git a/sources/ewol/event/Input.h b/ewol/event/Input.h similarity index 100% rename from sources/ewol/event/Input.h rename to ewol/event/Input.h diff --git a/sources/ewol/event/Time.cpp b/ewol/event/Time.cpp similarity index 100% rename from sources/ewol/event/Time.cpp rename to ewol/event/Time.cpp diff --git a/sources/ewol/event/Time.h b/ewol/event/Time.h similarity index 100% rename from sources/ewol/event/Time.h rename to ewol/event/Time.h diff --git a/sources/ewol/ewol.cpp b/ewol/ewol.cpp similarity index 100% rename from sources/ewol/ewol.cpp rename to ewol/ewol.cpp diff --git a/sources/ewol/ewol.h b/ewol/ewol.h similarity index 100% rename from sources/ewol/ewol.h rename to ewol/ewol.h diff --git a/sources/ewol/key/Special.cpp b/ewol/key/Special.cpp similarity index 100% rename from sources/ewol/key/Special.cpp rename to ewol/key/Special.cpp diff --git a/sources/ewol/key/Special.h b/ewol/key/Special.h similarity index 100% rename from sources/ewol/key/Special.h rename to ewol/key/Special.h diff --git a/sources/ewol/key/key.h b/ewol/key/key.h similarity index 100% rename from sources/ewol/key/key.h rename to ewol/key/key.h diff --git a/sources/ewol/key/keyboard.cpp b/ewol/key/keyboard.cpp similarity index 100% rename from sources/ewol/key/keyboard.cpp rename to ewol/key/keyboard.cpp diff --git a/sources/ewol/key/keyboard.h b/ewol/key/keyboard.h similarity index 100% rename from sources/ewol/key/keyboard.h rename to ewol/key/keyboard.h diff --git a/sources/ewol/key/status.cpp b/ewol/key/status.cpp similarity index 100% rename from sources/ewol/key/status.cpp rename to ewol/key/status.cpp diff --git a/sources/ewol/key/status.h b/ewol/key/status.h similarity index 100% rename from sources/ewol/key/status.h rename to ewol/key/status.h diff --git a/sources/ewol/key/type.cpp b/ewol/key/type.cpp similarity index 100% rename from sources/ewol/key/type.cpp rename to ewol/key/type.cpp diff --git a/sources/ewol/key/type.h b/ewol/key/type.h similarity index 100% rename from sources/ewol/key/type.h rename to ewol/key/type.h diff --git a/sources/ewol/object/Manager.cpp b/ewol/object/Manager.cpp similarity index 100% rename from sources/ewol/object/Manager.cpp rename to ewol/object/Manager.cpp diff --git a/sources/ewol/object/Manager.h b/ewol/object/Manager.h similarity index 100% rename from sources/ewol/object/Manager.h rename to ewol/object/Manager.h diff --git a/sources/ewol/object/Object.cpp b/ewol/object/Object.cpp similarity index 100% rename from sources/ewol/object/Object.cpp rename to ewol/object/Object.cpp diff --git a/sources/ewol/object/Object.h b/ewol/object/Object.h similarity index 100% rename from sources/ewol/object/Object.h rename to ewol/object/Object.h diff --git a/sources/ewol/object/Worker.cpp b/ewol/object/Worker.cpp similarity index 100% rename from sources/ewol/object/Worker.cpp rename to ewol/object/Worker.cpp diff --git a/sources/ewol/object/Worker.h b/ewol/object/Worker.h similarity index 100% rename from sources/ewol/object/Worker.h rename to ewol/object/Worker.h diff --git a/sources/ewol/openGL/openGL.cpp b/ewol/openGL/openGL.cpp similarity index 100% rename from sources/ewol/openGL/openGL.cpp rename to ewol/openGL/openGL.cpp diff --git a/sources/ewol/openGL/openGL.h b/ewol/openGL/openGL.h similarity index 100% rename from sources/ewol/openGL/openGL.h rename to ewol/openGL/openGL.h diff --git a/sources/ewol/parameter/Interface.cpp b/ewol/parameter/Interface.cpp similarity index 100% rename from sources/ewol/parameter/Interface.cpp rename to ewol/parameter/Interface.cpp diff --git a/sources/ewol/parameter/Interface.h b/ewol/parameter/Interface.h similarity index 100% rename from sources/ewol/parameter/Interface.h rename to ewol/parameter/Interface.h diff --git a/sources/ewol/parameter/List.h b/ewol/parameter/List.h similarity index 100% rename from sources/ewol/parameter/List.h rename to ewol/parameter/List.h diff --git a/sources/ewol/parameter/Parameter.cpp b/ewol/parameter/Parameter.cpp similarity index 100% rename from sources/ewol/parameter/Parameter.cpp rename to ewol/parameter/Parameter.cpp diff --git a/sources/ewol/parameter/Parameter.h b/ewol/parameter/Parameter.h similarity index 100% rename from sources/ewol/parameter/Parameter.h rename to ewol/parameter/Parameter.h diff --git a/sources/ewol/parameter/Range.h b/ewol/parameter/Range.h similarity index 100% rename from sources/ewol/parameter/Range.h rename to ewol/parameter/Range.h diff --git a/sources/ewol/parameter/Value.h b/ewol/parameter/Value.h similarity index 100% rename from sources/ewol/parameter/Value.h rename to ewol/parameter/Value.h diff --git a/sources/ewol/resource/ColorFile.cpp b/ewol/resource/ColorFile.cpp similarity index 100% rename from sources/ewol/resource/ColorFile.cpp rename to ewol/resource/ColorFile.cpp diff --git a/sources/ewol/resource/ColorFile.h b/ewol/resource/ColorFile.h similarity index 100% rename from sources/ewol/resource/ColorFile.h rename to ewol/resource/ColorFile.h diff --git a/sources/ewol/resource/Colored3DObject.cpp b/ewol/resource/Colored3DObject.cpp similarity index 100% rename from sources/ewol/resource/Colored3DObject.cpp rename to ewol/resource/Colored3DObject.cpp diff --git a/sources/ewol/resource/Colored3DObject.h b/ewol/resource/Colored3DObject.h similarity index 100% rename from sources/ewol/resource/Colored3DObject.h rename to ewol/resource/Colored3DObject.h diff --git a/sources/ewol/resource/ConfigFile.cpp b/ewol/resource/ConfigFile.cpp similarity index 100% rename from sources/ewol/resource/ConfigFile.cpp rename to ewol/resource/ConfigFile.cpp diff --git a/sources/ewol/resource/ConfigFile.h b/ewol/resource/ConfigFile.h similarity index 100% rename from sources/ewol/resource/ConfigFile.h rename to ewol/resource/ConfigFile.h diff --git a/sources/ewol/resource/DistanceFieldFont.cpp b/ewol/resource/DistanceFieldFont.cpp similarity index 100% rename from sources/ewol/resource/DistanceFieldFont.cpp rename to ewol/resource/DistanceFieldFont.cpp diff --git a/sources/ewol/resource/DistanceFieldFont.h b/ewol/resource/DistanceFieldFont.h similarity index 100% rename from sources/ewol/resource/DistanceFieldFont.h rename to ewol/resource/DistanceFieldFont.h diff --git a/sources/ewol/resource/FontFreeType.cpp b/ewol/resource/FontFreeType.cpp similarity index 100% rename from sources/ewol/resource/FontFreeType.cpp rename to ewol/resource/FontFreeType.cpp diff --git a/sources/ewol/resource/FontFreeType.h b/ewol/resource/FontFreeType.h similarity index 100% rename from sources/ewol/resource/FontFreeType.h rename to ewol/resource/FontFreeType.h diff --git a/sources/ewol/resource/Image.cpp b/ewol/resource/Image.cpp similarity index 100% rename from sources/ewol/resource/Image.cpp rename to ewol/resource/Image.cpp diff --git a/sources/ewol/resource/Image.h b/ewol/resource/Image.h similarity index 100% rename from sources/ewol/resource/Image.h rename to ewol/resource/Image.h diff --git a/sources/ewol/resource/ImageDF.cpp b/ewol/resource/ImageDF.cpp similarity index 100% rename from sources/ewol/resource/ImageDF.cpp rename to ewol/resource/ImageDF.cpp diff --git a/sources/ewol/resource/ImageDF.h b/ewol/resource/ImageDF.h similarity index 100% rename from sources/ewol/resource/ImageDF.h rename to ewol/resource/ImageDF.h diff --git a/sources/ewol/resource/Manager.cpp b/ewol/resource/Manager.cpp similarity index 100% rename from sources/ewol/resource/Manager.cpp rename to ewol/resource/Manager.cpp diff --git a/sources/ewol/resource/Manager.h b/ewol/resource/Manager.h similarity index 100% rename from sources/ewol/resource/Manager.h rename to ewol/resource/Manager.h diff --git a/sources/ewol/resource/Program.cpp b/ewol/resource/Program.cpp similarity index 100% rename from sources/ewol/resource/Program.cpp rename to ewol/resource/Program.cpp diff --git a/sources/ewol/resource/Program.h b/ewol/resource/Program.h similarity index 100% rename from sources/ewol/resource/Program.h rename to ewol/resource/Program.h diff --git a/sources/ewol/resource/Resource.cpp b/ewol/resource/Resource.cpp similarity index 100% rename from sources/ewol/resource/Resource.cpp rename to ewol/resource/Resource.cpp diff --git a/sources/ewol/resource/Resource.h b/ewol/resource/Resource.h similarity index 100% rename from sources/ewol/resource/Resource.h rename to ewol/resource/Resource.h diff --git a/sources/ewol/resource/Shader.cpp b/ewol/resource/Shader.cpp similarity index 100% rename from sources/ewol/resource/Shader.cpp rename to ewol/resource/Shader.cpp diff --git a/sources/ewol/resource/Shader.h b/ewol/resource/Shader.h similarity index 100% rename from sources/ewol/resource/Shader.h rename to ewol/resource/Shader.h diff --git a/sources/ewol/resource/Texture.cpp b/ewol/resource/Texture.cpp similarity index 100% rename from sources/ewol/resource/Texture.cpp rename to ewol/resource/Texture.cpp diff --git a/sources/ewol/resource/Texture.h b/ewol/resource/Texture.h similarity index 100% rename from sources/ewol/resource/Texture.h rename to ewol/resource/Texture.h diff --git a/sources/ewol/resource/TexturedFont.cpp b/ewol/resource/TexturedFont.cpp similarity index 100% rename from sources/ewol/resource/TexturedFont.cpp rename to ewol/resource/TexturedFont.cpp diff --git a/sources/ewol/resource/TexturedFont.h b/ewol/resource/TexturedFont.h similarity index 100% rename from sources/ewol/resource/TexturedFont.h rename to ewol/resource/TexturedFont.h diff --git a/sources/ewol/resource/VirtualBufferObject.cpp b/ewol/resource/VirtualBufferObject.cpp similarity index 100% rename from sources/ewol/resource/VirtualBufferObject.cpp rename to ewol/resource/VirtualBufferObject.cpp diff --git a/sources/ewol/resource/VirtualBufferObject.h b/ewol/resource/VirtualBufferObject.h similarity index 100% rename from sources/ewol/resource/VirtualBufferObject.h rename to ewol/resource/VirtualBufferObject.h diff --git a/sources/ewol/resource/font/FontBase.h b/ewol/resource/font/FontBase.h similarity index 100% rename from sources/ewol/resource/font/FontBase.h rename to ewol/resource/font/FontBase.h diff --git a/sources/ewol/resource/font/GlyphProperty.h b/ewol/resource/font/GlyphProperty.h similarity index 100% rename from sources/ewol/resource/font/GlyphProperty.h rename to ewol/resource/font/GlyphProperty.h diff --git a/sources/ewol/resource/font/Kerning.h b/ewol/resource/font/Kerning.h similarity index 100% rename from sources/ewol/resource/font/Kerning.h rename to ewol/resource/font/Kerning.h diff --git a/sources/ewol/signal/Base.cpp b/ewol/signal/Base.cpp similarity index 100% rename from sources/ewol/signal/Base.cpp rename to ewol/signal/Base.cpp diff --git a/sources/ewol/signal/Base.h b/ewol/signal/Base.h similarity index 100% rename from sources/ewol/signal/Base.h rename to ewol/signal/Base.h diff --git a/sources/ewol/signal/Interface.cpp b/ewol/signal/Interface.cpp similarity index 100% rename from sources/ewol/signal/Interface.cpp rename to ewol/signal/Interface.cpp diff --git a/sources/ewol/signal/Interface.h b/ewol/signal/Interface.h similarity index 100% rename from sources/ewol/signal/Interface.h rename to ewol/signal/Interface.h diff --git a/sources/ewol/signal/Signal.h b/ewol/signal/Signal.h similarity index 100% rename from sources/ewol/signal/Signal.h rename to ewol/signal/Signal.h diff --git a/sources/ewol/translate.cpp b/ewol/translate.cpp similarity index 100% rename from sources/ewol/translate.cpp rename to ewol/translate.cpp diff --git a/sources/ewol/translate.h b/ewol/translate.h similarity index 100% rename from sources/ewol/translate.h rename to ewol/translate.h diff --git a/sources/ewol/widget/Button.cpp b/ewol/widget/Button.cpp similarity index 100% rename from sources/ewol/widget/Button.cpp rename to ewol/widget/Button.cpp diff --git a/sources/ewol/widget/Button.h b/ewol/widget/Button.h similarity index 100% rename from sources/ewol/widget/Button.h rename to ewol/widget/Button.h diff --git a/sources/ewol/widget/ButtonColor.cpp b/ewol/widget/ButtonColor.cpp similarity index 100% rename from sources/ewol/widget/ButtonColor.cpp rename to ewol/widget/ButtonColor.cpp diff --git a/sources/ewol/widget/ButtonColor.h b/ewol/widget/ButtonColor.h similarity index 100% rename from sources/ewol/widget/ButtonColor.h rename to ewol/widget/ButtonColor.h diff --git a/sources/ewol/widget/CheckBox.cpp b/ewol/widget/CheckBox.cpp similarity index 100% rename from sources/ewol/widget/CheckBox.cpp rename to ewol/widget/CheckBox.cpp diff --git a/sources/ewol/widget/CheckBox.h b/ewol/widget/CheckBox.h similarity index 100% rename from sources/ewol/widget/CheckBox.h rename to ewol/widget/CheckBox.h diff --git a/sources/ewol/widget/ColorBar.cpp b/ewol/widget/ColorBar.cpp similarity index 100% rename from sources/ewol/widget/ColorBar.cpp rename to ewol/widget/ColorBar.cpp diff --git a/sources/ewol/widget/ColorBar.h b/ewol/widget/ColorBar.h similarity index 100% rename from sources/ewol/widget/ColorBar.h rename to ewol/widget/ColorBar.h diff --git a/sources/ewol/widget/Composer.cpp b/ewol/widget/Composer.cpp similarity index 100% rename from sources/ewol/widget/Composer.cpp rename to ewol/widget/Composer.cpp diff --git a/sources/ewol/widget/Composer.h b/ewol/widget/Composer.h similarity index 100% rename from sources/ewol/widget/Composer.h rename to ewol/widget/Composer.h diff --git a/sources/ewol/widget/Container.cpp b/ewol/widget/Container.cpp similarity index 100% rename from sources/ewol/widget/Container.cpp rename to ewol/widget/Container.cpp diff --git a/sources/ewol/widget/Container.h b/ewol/widget/Container.h similarity index 100% rename from sources/ewol/widget/Container.h rename to ewol/widget/Container.h diff --git a/sources/ewol/widget/Container2.cpp b/ewol/widget/Container2.cpp similarity index 100% rename from sources/ewol/widget/Container2.cpp rename to ewol/widget/Container2.cpp diff --git a/sources/ewol/widget/Container2.h b/ewol/widget/Container2.h similarity index 100% rename from sources/ewol/widget/Container2.h rename to ewol/widget/Container2.h diff --git a/sources/ewol/widget/ContainerN.cpp b/ewol/widget/ContainerN.cpp similarity index 100% rename from sources/ewol/widget/ContainerN.cpp rename to ewol/widget/ContainerN.cpp diff --git a/sources/ewol/widget/ContainerN.h b/ewol/widget/ContainerN.h similarity index 100% rename from sources/ewol/widget/ContainerN.h rename to ewol/widget/ContainerN.h diff --git a/sources/ewol/widget/ContextMenu.cpp b/ewol/widget/ContextMenu.cpp similarity index 100% rename from sources/ewol/widget/ContextMenu.cpp rename to ewol/widget/ContextMenu.cpp diff --git a/sources/ewol/widget/ContextMenu.h b/ewol/widget/ContextMenu.h similarity index 100% rename from sources/ewol/widget/ContextMenu.h rename to ewol/widget/ContextMenu.h diff --git a/sources/ewol/widget/Entry.cpp b/ewol/widget/Entry.cpp similarity index 100% rename from sources/ewol/widget/Entry.cpp rename to ewol/widget/Entry.cpp diff --git a/sources/ewol/widget/Entry.h b/ewol/widget/Entry.h similarity index 100% rename from sources/ewol/widget/Entry.h rename to ewol/widget/Entry.h diff --git a/sources/ewol/widget/Gird.cpp b/ewol/widget/Gird.cpp similarity index 100% rename from sources/ewol/widget/Gird.cpp rename to ewol/widget/Gird.cpp diff --git a/sources/ewol/widget/Gird.h b/ewol/widget/Gird.h similarity index 100% rename from sources/ewol/widget/Gird.h rename to ewol/widget/Gird.h diff --git a/sources/ewol/widget/Image.cpp b/ewol/widget/Image.cpp similarity index 100% rename from sources/ewol/widget/Image.cpp rename to ewol/widget/Image.cpp diff --git a/sources/ewol/widget/Image.h b/ewol/widget/Image.h similarity index 100% rename from sources/ewol/widget/Image.h rename to ewol/widget/Image.h diff --git a/sources/ewol/widget/Joystick.cpp b/ewol/widget/Joystick.cpp similarity index 100% rename from sources/ewol/widget/Joystick.cpp rename to ewol/widget/Joystick.cpp diff --git a/sources/ewol/widget/Joystick.h b/ewol/widget/Joystick.h similarity index 100% rename from sources/ewol/widget/Joystick.h rename to ewol/widget/Joystick.h diff --git a/sources/ewol/widget/Label.cpp b/ewol/widget/Label.cpp similarity index 100% rename from sources/ewol/widget/Label.cpp rename to ewol/widget/Label.cpp diff --git a/sources/ewol/widget/Label.h b/ewol/widget/Label.h similarity index 100% rename from sources/ewol/widget/Label.h rename to ewol/widget/Label.h diff --git a/sources/ewol/widget/Layer.cpp b/ewol/widget/Layer.cpp similarity index 100% rename from sources/ewol/widget/Layer.cpp rename to ewol/widget/Layer.cpp diff --git a/sources/ewol/widget/Layer.h b/ewol/widget/Layer.h similarity index 100% rename from sources/ewol/widget/Layer.h rename to ewol/widget/Layer.h diff --git a/sources/ewol/widget/List.cpp b/ewol/widget/List.cpp similarity index 100% rename from sources/ewol/widget/List.cpp rename to ewol/widget/List.cpp diff --git a/sources/ewol/widget/List.h b/ewol/widget/List.h similarity index 100% rename from sources/ewol/widget/List.h rename to ewol/widget/List.h diff --git a/sources/ewol/widget/ListFileSystem.cpp b/ewol/widget/ListFileSystem.cpp similarity index 100% rename from sources/ewol/widget/ListFileSystem.cpp rename to ewol/widget/ListFileSystem.cpp diff --git a/sources/ewol/widget/ListFileSystem.h b/ewol/widget/ListFileSystem.h similarity index 100% rename from sources/ewol/widget/ListFileSystem.h rename to ewol/widget/ListFileSystem.h diff --git a/sources/ewol/widget/Manager.cpp b/ewol/widget/Manager.cpp similarity index 100% rename from sources/ewol/widget/Manager.cpp rename to ewol/widget/Manager.cpp diff --git a/sources/ewol/widget/Manager.h b/ewol/widget/Manager.h similarity index 100% rename from sources/ewol/widget/Manager.h rename to ewol/widget/Manager.h diff --git a/sources/ewol/widget/Menu.cpp b/ewol/widget/Menu.cpp similarity index 100% rename from sources/ewol/widget/Menu.cpp rename to ewol/widget/Menu.cpp diff --git a/sources/ewol/widget/Menu.h b/ewol/widget/Menu.h similarity index 100% rename from sources/ewol/widget/Menu.h rename to ewol/widget/Menu.h diff --git a/sources/ewol/widget/Panned.cpp b/ewol/widget/Panned.cpp similarity index 100% rename from sources/ewol/widget/Panned.cpp rename to ewol/widget/Panned.cpp diff --git a/sources/ewol/widget/Panned.h b/ewol/widget/Panned.h similarity index 100% rename from sources/ewol/widget/Panned.h rename to ewol/widget/Panned.h diff --git a/sources/ewol/widget/PopUp.cpp b/ewol/widget/PopUp.cpp similarity index 100% rename from sources/ewol/widget/PopUp.cpp rename to ewol/widget/PopUp.cpp diff --git a/sources/ewol/widget/PopUp.h b/ewol/widget/PopUp.h similarity index 100% rename from sources/ewol/widget/PopUp.h rename to ewol/widget/PopUp.h diff --git a/sources/ewol/widget/ProgressBar.cpp b/ewol/widget/ProgressBar.cpp similarity index 100% rename from sources/ewol/widget/ProgressBar.cpp rename to ewol/widget/ProgressBar.cpp diff --git a/sources/ewol/widget/ProgressBar.h b/ewol/widget/ProgressBar.h similarity index 100% rename from sources/ewol/widget/ProgressBar.h rename to ewol/widget/ProgressBar.h diff --git a/sources/ewol/widget/Scroll.cpp b/ewol/widget/Scroll.cpp similarity index 100% rename from sources/ewol/widget/Scroll.cpp rename to ewol/widget/Scroll.cpp diff --git a/sources/ewol/widget/Scroll.h b/ewol/widget/Scroll.h similarity index 100% rename from sources/ewol/widget/Scroll.h rename to ewol/widget/Scroll.h diff --git a/sources/ewol/widget/Sizer.cpp b/ewol/widget/Sizer.cpp similarity index 100% rename from sources/ewol/widget/Sizer.cpp rename to ewol/widget/Sizer.cpp diff --git a/sources/ewol/widget/Sizer.h b/ewol/widget/Sizer.h similarity index 100% rename from sources/ewol/widget/Sizer.h rename to ewol/widget/Sizer.h diff --git a/sources/ewol/widget/Slider.cpp b/ewol/widget/Slider.cpp similarity index 100% rename from sources/ewol/widget/Slider.cpp rename to ewol/widget/Slider.cpp diff --git a/sources/ewol/widget/Slider.h b/ewol/widget/Slider.h similarity index 100% rename from sources/ewol/widget/Slider.h rename to ewol/widget/Slider.h diff --git a/sources/ewol/widget/Spacer.cpp b/ewol/widget/Spacer.cpp similarity index 100% rename from sources/ewol/widget/Spacer.cpp rename to ewol/widget/Spacer.cpp diff --git a/sources/ewol/widget/Spacer.h b/ewol/widget/Spacer.h similarity index 100% rename from sources/ewol/widget/Spacer.h rename to ewol/widget/Spacer.h diff --git a/sources/ewol/widget/WSlider.cpp b/ewol/widget/WSlider.cpp similarity index 100% rename from sources/ewol/widget/WSlider.cpp rename to ewol/widget/WSlider.cpp diff --git a/sources/ewol/widget/WSlider.h b/ewol/widget/WSlider.h similarity index 100% rename from sources/ewol/widget/WSlider.h rename to ewol/widget/WSlider.h diff --git a/sources/ewol/widget/Widget.cpp b/ewol/widget/Widget.cpp similarity index 100% rename from sources/ewol/widget/Widget.cpp rename to ewol/widget/Widget.cpp diff --git a/sources/ewol/widget/Widget.h b/ewol/widget/Widget.h similarity index 100% rename from sources/ewol/widget/Widget.h rename to ewol/widget/Widget.h diff --git a/sources/ewol/widget/WidgetScrolled.cpp b/ewol/widget/WidgetScrolled.cpp similarity index 100% rename from sources/ewol/widget/WidgetScrolled.cpp rename to ewol/widget/WidgetScrolled.cpp diff --git a/sources/ewol/widget/WidgetScrolled.h b/ewol/widget/WidgetScrolled.h similarity index 100% rename from sources/ewol/widget/WidgetScrolled.h rename to ewol/widget/WidgetScrolled.h diff --git a/sources/ewol/widget/Windows.cpp b/ewol/widget/Windows.cpp similarity index 100% rename from sources/ewol/widget/Windows.cpp rename to ewol/widget/Windows.cpp diff --git a/sources/ewol/widget/Windows.h b/ewol/widget/Windows.h similarity index 100% rename from sources/ewol/widget/Windows.h rename to ewol/widget/Windows.h diff --git a/sources/ewol/widget/meta/ColorChooser.cpp b/ewol/widget/meta/ColorChooser.cpp similarity index 100% rename from sources/ewol/widget/meta/ColorChooser.cpp rename to ewol/widget/meta/ColorChooser.cpp diff --git a/sources/ewol/widget/meta/ColorChooser.h b/ewol/widget/meta/ColorChooser.h similarity index 100% rename from sources/ewol/widget/meta/ColorChooser.h rename to ewol/widget/meta/ColorChooser.h diff --git a/sources/ewol/widget/meta/FileChooser.cpp b/ewol/widget/meta/FileChooser.cpp similarity index 100% rename from sources/ewol/widget/meta/FileChooser.cpp rename to ewol/widget/meta/FileChooser.cpp diff --git a/sources/ewol/widget/meta/FileChooser.h b/ewol/widget/meta/FileChooser.h similarity index 100% rename from sources/ewol/widget/meta/FileChooser.h rename to ewol/widget/meta/FileChooser.h diff --git a/sources/ewol/widget/meta/Parameter.cpp b/ewol/widget/meta/Parameter.cpp similarity index 100% rename from sources/ewol/widget/meta/Parameter.cpp rename to ewol/widget/meta/Parameter.cpp diff --git a/sources/ewol/widget/meta/Parameter.h b/ewol/widget/meta/Parameter.h similarity index 100% rename from sources/ewol/widget/meta/Parameter.h rename to ewol/widget/meta/Parameter.h diff --git a/sources/ewol/widget/meta/ParameterList.cpp b/ewol/widget/meta/ParameterList.cpp similarity index 100% rename from sources/ewol/widget/meta/ParameterList.cpp rename to ewol/widget/meta/ParameterList.cpp diff --git a/sources/ewol/widget/meta/ParameterList.h b/ewol/widget/meta/ParameterList.h similarity index 100% rename from sources/ewol/widget/meta/ParameterList.h rename to ewol/widget/meta/ParameterList.h diff --git a/sources/ewol/widget/meta/StdPopUp.cpp b/ewol/widget/meta/StdPopUp.cpp similarity index 100% rename from sources/ewol/widget/meta/StdPopUp.cpp rename to ewol/widget/meta/StdPopUp.cpp diff --git a/sources/ewol/widget/meta/StdPopUp.h b/ewol/widget/meta/StdPopUp.h similarity index 100% rename from sources/ewol/widget/meta/StdPopUp.h rename to ewol/widget/meta/StdPopUp.h diff --git a/sources/ewol/widget/newSystem.txt b/ewol/widget/newSystem.txt similarity index 100% rename from sources/ewol/widget/newSystem.txt rename to ewol/widget/newSystem.txt diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt deleted file mode 100644 index e6d395be..00000000 --- a/external/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -SUBDIRS(bullet) -SUBDIRS(z/zlib) -SUBDIRS(edtaa3) -SUBDIRS(etk) -SUBDIRS(png) -SUBDIRS(freetype) -SUBDIRS(agg) -SUBDIRS(ejson) -SUBDIRS(exml) -SUBDIRS(esvg) -SUBDIRS(egami) -SUBDIRS(date) - diff --git a/external/agg b/external/agg deleted file mode 160000 index af62bc41..00000000 --- a/external/agg +++ /dev/null @@ -1 +0,0 @@ -Subproject commit af62bc418a88687a8a14f768d7936c5b104d085f diff --git a/external/audio b/external/audio deleted file mode 160000 index d8867378..00000000 --- a/external/audio +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d8867378cea891fd1dfb5939cd319c7d98b075da diff --git a/external/audio-algo-drain b/external/audio-algo-drain deleted file mode 160000 index fd8d7ab7..00000000 --- a/external/audio-algo-drain +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fd8d7ab7e8b42dbfe69db699bb00bac2a4341bea diff --git a/external/audio-algo-river b/external/audio-algo-river deleted file mode 160000 index c5411217..00000000 --- a/external/audio-algo-river +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c5411217fd25796949682353d9b913324fde9c72 diff --git a/external/audio-algo-speex b/external/audio-algo-speex deleted file mode 160000 index d1b2e076..00000000 --- a/external/audio-algo-speex +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d1b2e076776ca94d28520dfe1c72e375745f62ba diff --git a/external/audio-blockEngine b/external/audio-blockEngine deleted file mode 160000 index 2f3a2c59..00000000 --- a/external/audio-blockEngine +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2f3a2c597676e6aec12319aa0c7f86f4b39242b2 diff --git a/external/audio-drain b/external/audio-drain deleted file mode 160000 index ab7f5ac7..00000000 --- a/external/audio-drain +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ab7f5ac77121aaa5b7c5690ba47ca9abc0dff497 diff --git a/external/audio-ess b/external/audio-ess deleted file mode 160000 index b3194c0b..00000000 --- a/external/audio-ess +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b3194c0bd9e1ae7306a5a0f764415be191444fb0 diff --git a/external/audio-orchestra b/external/audio-orchestra deleted file mode 160000 index 32c0784d..00000000 --- a/external/audio-orchestra +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 32c0784d3b6b0bd55b7e2d3a5bb85ea77d53247d diff --git a/external/audio-river b/external/audio-river deleted file mode 160000 index 4ba07ac0..00000000 --- a/external/audio-river +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4ba07ac08748695dab4f5b6c9cdb6b19f2769e18 diff --git a/external/bullet/CMakeLists.txt b/external/bullet/CMakeLists.txt deleted file mode 100644 index 9c2ddf64..00000000 --- a/external/bullet/CMakeLists.txt +++ /dev/null @@ -1,64 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -# Declare the project -project(linearmath) - -# set output path: -set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) - -INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_DIR}/bullet/src ) - - -SET(LinearMath_SRCS - bullet/src/LinearMath/btAlignedAllocator.cpp - bullet/src/LinearMath/btConvexHull.cpp - bullet/src/LinearMath/btConvexHullComputer.cpp - bullet/src/LinearMath/btGeometryUtil.cpp - bullet/src/LinearMath/btPolarDecomposition.cpp - bullet/src/LinearMath/btQuickprof.cpp - bullet/src/LinearMath/btSerializer.cpp - bullet/src/LinearMath/btVector3.cpp -) - -SET(LinearMath_HDRS - bullet/src/LinearMath/btAabbUtil2.h - bullet/src/LinearMath/btAlignedAllocator.h - bullet/src/LinearMath/btAlignedObjectArray.h - bullet/src/LinearMath/btConvexHull.h - bullet/src/LinearMath/btConvexHullComputer.h - bullet/src/LinearMath/btDefaultMotionState.h - bullet/src/LinearMath/btGeometryUtil.h - bullet/src/LinearMath/btGrahamScan2dConvexHull.h - bullet/src/LinearMath/btHashMap.h - bullet/src/LinearMath/btIDebugDraw.h - bullet/src/LinearMath/btList.h - bullet/src/LinearMath/btMatrix3x3.h - bullet/src/LinearMath/btMinMax.h - bullet/src/LinearMath/btMotionState.h - bullet/src/LinearMath/btPolarDecomposition.h - bullet/src/LinearMath/btPoolAllocator.h - bullet/src/LinearMath/btQuadWord.h - bullet/src/LinearMath/btQuaternion.h - bullet/src/LinearMath/btQuickprof.h - bullet/src/LinearMath/btRandom.h - bullet/src/LinearMath/btScalar.h - bullet/src/LinearMath/btSerializer.h - bullet/src/LinearMath/btStackAlloc.h - bullet/src/LinearMath/btTransform.h - bullet/src/LinearMath/btTransformUtil.h - bullet/src/LinearMath/btVector3.h -) - -#Create a static Lib: -#ADD_LIBRARY(LinearMath STATIC ${LinearMath_SRCS} ${LinearMath_HDRS}) -#Create a static Lib: -add_library(linearmath STATIC ${LinearMath_SRCS} ${LinearMath_HDRS} ) - - -#include_directories(${CMAKE_CURRENT_DIR}/bullet/src) - -#set(linearmath_INCLUDE_DIR "bullet/src") -#include_directories(${CMAKE_CURRENT_DIR}/bullet/src) -#link_directories(${CMAKE_CURRENT_DIR}/bullet/src) - -#message(STATUS "linearmath_INCLUDE_DIR=${linearmath_INCLUDE_DIR}") \ No newline at end of file diff --git a/external/bullet/bullet b/external/bullet/bullet deleted file mode 160000 index 2ecad980..00000000 --- a/external/bullet/bullet +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2ecad98051db48e1fc8bf9ca8727ba93488201f6 diff --git a/external/bullet/lutin_bullet.py b/external/bullet/lutin_bullet.py deleted file mode 100644 index 8850c97a..00000000 --- a/external/bullet/lutin_bullet.py +++ /dev/null @@ -1,197 +0,0 @@ -#!/usr/bin/python -# -------------------------------------------------------- -# -- Bullet librairy -# -------------------------------------------------------- -import lutinModule as module -import lutinTools as tools - -def get_desc(): - return "Bullet lib : C++ physic engine" - - -def create(target): - myModule = module.Module(__file__, 'bullet', 'LIBRARY') - - myModule.add_module_depend(['linearmath']) - #remove compilation warning (specific for external libs): - myModule.remove_compile_warning() - - myModule.compile_flags_CC([ - '-Wno-write-strings', - '-DHAVE_CONFIG_H', - '-O2']) - - myModule.add_export_path(tools.get_current_path(__file__)+"/bullet/src/") - myModule.add_export_path(tools.get_current_path(__file__)) - myModule.add_path(tools.get_current_path(__file__)+"/bullet/Extras/ConvexDecomposition") - - # lib BulletCollision - myModule.add_src_file([ - 'bullet/src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp', - 'bullet/src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btCompoundCompoundCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btHashedSimplePairCache.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btCollisionObject.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btGhostObject.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btManifoldResult.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btUnionFind.cpp', - 'bullet/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTetrahedronShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btShapeHull.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btCompoundShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConeShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btMultiSphereShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btUniformScalingShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btSphereShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleBuffer.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btStaticPlaneShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btEmptyShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btCollisionShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvex2dShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexHullShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleCallback.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btCapsuleShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConcaveShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btBoxShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btBox2dShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btCylinderShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btStridingMeshInterface.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp', - 'bullet/src/BulletCollision/CollisionShapes/btTriangleMesh.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btDispatcher.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btDbvt.cpp', - 'bullet/src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp', - 'bullet/src/BulletCollision/Gimpact/btGImpactBvh.cpp', - 'bullet/src/BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp', - 'bullet/src/BulletCollision/Gimpact/btTriangleShapeEx.cpp', - 'bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp', - 'bullet/src/BulletCollision/Gimpact/btGImpactShape.cpp', - 'bullet/src/BulletCollision/Gimpact/gim_box_set.cpp', - 'bullet/src/BulletCollision/Gimpact/gim_contact.cpp', - 'bullet/src/BulletCollision/Gimpact/gim_memory.cpp', - 'bullet/src/BulletCollision/Gimpact/gim_tri_collision.cpp']) - - - - - - # lib BulletDynamics - myModule.add_src_file([ - 'bullet/src/BulletDynamics/Dynamics/btRigidBody.cpp', - 'bullet/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp', - 'bullet/src/BulletDynamics/Dynamics/Bullet-C-API.cpp', - 'bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btGearConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btContactConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btSliderConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btUniversalConstraint.cpp', - 'bullet/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp', - 'bullet/src/BulletDynamics/Vehicle/btWheelInfo.cpp', - 'bullet/src/BulletDynamics/Vehicle/btRaycastVehicle.cpp', - 'bullet/src/BulletDynamics/Character/btKinematicCharacterController.cpp']) - - - # lib BulletSoftBody - myModule.add_src_file([ - 'bullet/src/BulletSoftBody/btDefaultSoftBodySolver.cpp', - 'bullet/src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp', - 'bullet/src/BulletSoftBody/btSoftBody.cpp', - 'bullet/src/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp', - 'bullet/src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.cpp', - 'bullet/src/BulletSoftBody/btSoftRigidDynamicsWorld.cpp', - 'bullet/src/BulletSoftBody/btSoftBodyHelpers.cpp', - 'bullet/src/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp']) - - # lib gimpactutils - myModule.add_src_file([ - 'bullet/Extras/GIMPACTUtils/btGImpactConvexDecompositionShape.cpp']) - - """ - # lib convexdecomposition - myModule.add_src_file([ - 'bullet/Extras/ConvexDecomposition/concavity.cpp', - 'bullet/Extras/ConvexDecomposition/ConvexDecomposition.cpp', - 'bullet/Extras/ConvexDecomposition/vlookup.cpp', - 'bullet/Extras/ConvexDecomposition/bestfit.cpp', - 'bullet/Extras/ConvexDecomposition/Convexbuilder.cpp', - 'bullet/Extras/ConvexDecomposition/cd_hull.cpp', - 'bullet/Extras/ConvexDecomposition/raytri.cpp', - 'bullet/Extras/ConvexDecomposition/splitplane.cpp', - 'bullet/Extras/ConvexDecomposition/float_math.cpp', - 'bullet/Extras/ConvexDecomposition/planetri.cpp', - 'bullet/Extras/ConvexDecomposition/cd_wavefront.cpp', - 'bullet/Extras/ConvexDecomposition/bestfitobb.cpp', - 'bullet/Extras/ConvexDecomposition/meshvolume.cpp', - 'bullet/Extras/ConvexDecomposition/fitsphere.cpp']) - """ - - """ - # lib HACD - myModule.add_src_file([ - 'bullet/Extras/HACD/hacdGraph.cpp', - 'bullet/Extras/HACD/hacdHACD.cpp', - 'bullet/Extras/HACD/hacdICHull.cpp', - 'bullet/Extras/HACD/hacdManifoldMesh.cpp']) - """ - - # add the currrent module at the - return myModule - - diff --git a/external/bullet/lutin_linearmath.py b/external/bullet/lutin_linearmath.py deleted file mode 100644 index 5717c409..00000000 --- a/external/bullet/lutin_linearmath.py +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/python -# -------------------------------------------------------- -# -- Linear Math librairy -# -------------------------------------------------------- -import lutinModule as module -import lutinTools as tools - -def get_desc(): - return "Bullet lib linar Mathematic interface" - - -def create(target): - myModule = module.Module(__file__, 'linearmath', 'LIBRARY') - #remove compilation warning (specific for external libs): - myModule.remove_compile_warning() - - myModule.add_src_file([ - 'bullet/src/LinearMath/btQuickprof.cpp', - 'bullet/src/LinearMath/btGeometryUtil.cpp', - 'bullet/src/LinearMath/btAlignedAllocator.cpp', - 'bullet/src/LinearMath/btSerializer.cpp', - 'bullet/src/LinearMath/btConvexHull.cpp', - 'bullet/src/LinearMath/btPolarDecomposition.cpp', - 'bullet/src/LinearMath/btVector3.cpp', - 'bullet/src/LinearMath/btConvexHullComputer.cpp']) - - myModule.compile_flags_CC([ - '-Wno-write-strings', - '-DHAVE_CONFIG_H', - '-O2']) - - myModule.add_export_path(tools.get_current_path(__file__)+"/bullet/src/") - - # add the currrent module at the - return myModule - - - - - - diff --git a/external/date/CMakeLists.txt b/external/date/CMakeLists.txt deleted file mode 100644 index 89566271..00000000 --- a/external/date/CMakeLists.txt +++ /dev/null @@ -1,79 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -# Declare the project -project(date) - -## -## Include C++ X11 dependency ... (check correct flags) -## -include(CheckCXXCompilerFlag) -CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) -if(COMPILER_SUPPORTS_CXX11) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -else() - CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) - if(COMPILER_SUPPORTS_CXX0X) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") - else() - message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.") - endif() -endif() - - -# set output path: -set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) - -include_directories(.) - -#Create src file list -set(src_files - date/date.cpp - date/date.h -) - -add_definitions( -DDEBUG_LEVEL=3 ) -add_definitions( -DDEBUG=1 ) -if (APPLE) - add_definitions( -D__TARGET_OS__MacOs ) -elseif (UNIX) - add_definitions( -D__TARGET_OS__Linux ) -elseif (WIN32) - add_definitions( -D__TARGET_OS__Windows ) -endif () - - -if (WIN32) - execute_process(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE RESULT) - #string(REGEX REPLACE "(..)/(..)/..(..).*" "\\1/\\2/\\3" ${RESULT} ${${RESULT}}) - message(STATUS "Current date : ${RESULT}") - add_definitions( -DBUILD_DAY=0 ) - add_definitions( -DBUILD_YEAR=0 ) - add_definitions( -DBUILD_MONTH=0 ) -else () - if (UNIX) - execute_process(COMMAND "date" "+%d" OUTPUT_VARIABLE RESULT_DAY) - execute_process(COMMAND "date" "+%m" OUTPUT_VARIABLE RESULT_MONTH) - execute_process(COMMAND "date" "+%Y" OUTPUT_VARIABLE RESULT_YEAR) - - add_definitions( -DBUILD_DAY=0 ) - add_definitions( -DBUILD_YEAR=0 ) - add_definitions( -DBUILD_MONTH=0 ) - - #string(REGEX REPLACE "(..)/(..)/..(..).*" "\\1/\\2/\\3" ${RESULT} ${${RESULT}}) - message(STATUS "Current date : ${RESULT_DAY} / ${RESULT_MONTH} / ${RESULT_YEAR}") - else() - message(SEND_ERROR "date not implemented") - add_definitions( -DBUILD_DAY=0 ) - add_definitions( -DBUILD_YEAR=0 ) - add_definitions( -DBUILD_MONTH=0 ) - endif() -endif() - -add_definitions( -DBUILD_HOUR=0 ) -add_definitions( -DBUILD_MINUTE=0 ) -add_definitions( -DBUILD_SECOND=0 ) - -#Create a static Lib: -add_library(date STATIC ${src_files} ) - - diff --git a/external/date/date/date.cpp b/external/date/date/date.cpp deleted file mode 100644 index 314ad909..00000000 --- a/external/date/date/date.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @author Edouard DUPIN - * - * @copyright 2011, Edouard DUPIN, all right reserved - * - * @license BSD v3 (see license file) - */ - -#include -#ifndef BUILD_YEAR - #define BUILD_YEAR 1070 -#endif -#ifndef BUILD_MONTH - #define BUILD_MONTH 1 -#endif -#ifndef BUILD_DAY - #define BUILD_DAY 1 -#endif -#ifndef BUILD_HOUR - #define BUILD_HOUR 0 -#endif -#ifndef BUILD_MINUTE - #define BUILD_MINUTE 0 -#endif -#ifndef BUILD_SECOND - #define BUILD_SECOND 0 -#endif - -int32_t date::getYear() { - return BUILD_YEAR; -} - -int32_t date::getMonth() { - return BUILD_MONTH; -} - -int32_t date::getDay() { - return BUILD_DAY; -} - -int32_t date::getHour() { - return BUILD_HOUR; -} - -int32_t date::getMinute() { - return BUILD_MINUTE; -} - -int32_t date::getSecond() { - return BUILD_SECOND; -} - - diff --git a/external/date/date/date.h b/external/date/date/date.h deleted file mode 100644 index bd512d8b..00000000 --- a/external/date/date/date.h +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author Edouard DUPIN - * - * @copyright 2011, Edouard DUPIN, all right reserved - * - * @license BSD v3 (see license file) - */ - -#ifndef __DATE_H__ -#define __DATE_H__ - -#include - -namespace date { - int32_t getYear(); - int32_t getMonth(); - int32_t getDay(); - int32_t getHour(); - int32_t getMinute(); - int32_t getSecond(); -}; - - -#endif diff --git a/external/date/lutin_date.py b/external/date/lutin_date.py deleted file mode 100644 index 3ea43caf..00000000 --- a/external/date/lutin_date.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/python -import lutinModule as module -import lutinTools as tools -import datetime - -def get_desc(): - return "Date buid date of the program" - - -def create(target): - # module name is 'edn' and type binary. - myModule = module.Module(__file__, 'date', 'LIBRARY') - # add the file to compile: - - - myModule.add_src_file([ - 'date/date.cpp']) - - now = datetime.datetime.now() - - myModule.compile_flags_CC([ - '-Wno-write-strings', - '-Wall', - "-DBUILD_DAY=\""+str(now.day)+"\"", - "-DBUILD_MONTH=\""+str(now.month)+"\"", - "-DBUILD_YEAR=\""+str(now.year)+"\"", - "-DBUILD_HOUR=\""+str(now.hour)+"\"", - "-DBUILD_MINUTE=\""+str(now.minute)+"\"", - "-DBUILD_SECOND=\""+str(now.second)+"\""]) - - myModule.add_export_path(tools.get_current_path(__file__)) - - # add the currrent module at the - return myModule - - diff --git a/external/edtaa3/CMakeLists.txt b/external/edtaa3/CMakeLists.txt deleted file mode 100644 index bbfe78df..00000000 --- a/external/edtaa3/CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -# Declare the project -project(edtaa3) - -# set output path: -set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) - -include_directories(.) - -#Create src file list -set(src_files - edtaa3/edtaa3func.c -) - -add_definitions( -DDEBUG_LEVEL=3 ) -add_definitions( -DDEBUG=1 ) -if (APPLE) - add_definitions( -D__TARGET_OS__MacOs ) -elseif (UNIX) - add_definitions( -D__TARGET_OS__Linux ) -elseif (WIN32) - add_definitions( -D__TARGET_OS__Windows ) -endif () - - -#Create a static Lib: -add_library(edtaa3 STATIC ${src_files} ) - - diff --git a/external/edtaa3/edtaa3/edtaa3func.c b/external/edtaa3/edtaa3/edtaa3func.c deleted file mode 100644 index 093b6e2f..00000000 --- a/external/edtaa3/edtaa3/edtaa3func.c +++ /dev/null @@ -1,524 +0,0 @@ -/* - * Copyright 2009 Stefan Gustavson (stefan.gustavson@gmail.com) - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY STEFAN GUSTAVSON ''AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO - * EVENT SHALL STEFAN GUSTAVSON OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The views and conclusions contained in the software and documentation are - * those of the authors and should not be interpreted as representing official - * policies, either expressed or implied, of Stefan Gustavson. - * - * - * edtaa3() - * - * Sweep-and-update Euclidean distance transform of an - * image. Positive pixels are treated as object pixels, - * zero or negative pixels are treated as background. - * An attempt is made to treat antialiased edges correctly. - * The input image must have pixels in the range [0,1], - * and the antialiased image should be a box-filter - * sampling of the ideal, crisp edge. - * If the antialias region is more than 1 pixel wide, - * the result from this transform will be inaccurate. - * - * By Stefan Gustavson (stefan.gustavson@gmail.com). - * - * Originally written in 1994, based on a verbal - * description of the SSED8 algorithm published in the - * PhD dissertation of Ingemar Ragnemalm. This is his - * algorithm, I only implemented it in C. - * - * Updated in 2004 to treat border pixels correctly, - * and cleaned up the code to improve readability. - * - * Updated in 2009 to handle anti-aliased edges. - * - * Updated in 2011 to avoid a corner case infinite loop. - * -*/ -#include - - -/* - * Compute the local gradient at edge pixels using convolution filters. - * The gradient is computed only at edge pixels. At other places in the - * image, it is never used, and it's mostly zero anyway. - */ -void computegradient(double *img, int w, int h, double *gx, double *gy) -{ - int i,j,k; - double glength; -#define SQRT2 1.4142136 - for(i = 1; i < h-1; i++) { // Avoid edges where the kernels would spill over - for(j = 1; j < w-1; j++) { - k = i*w + j; - if((img[k]>0.0) && (img[k]<1.0)) { // Compute gradient for edge pixels only - gx[k] = -img[k-w-1] - SQRT2*img[k-1] - img[k+w-1] + img[k-w+1] + SQRT2*img[k+1] + img[k+w+1]; - gy[k] = -img[k-w-1] - SQRT2*img[k-w] - img[k+w-1] + img[k-w+1] + SQRT2*img[k+w] + img[k+w+1]; - glength = gx[k]*gx[k] + gy[k]*gy[k]; - if(glength > 0.0) { // Avoid division by zero - glength = sqrt(glength); - gx[k]=gx[k]/glength; - gy[k]=gy[k]/glength; - } - } - } - } - // TODO: Compute reasonable values for gx, gy also around the image edges. - // (These are zero now, which reduces the accuracy for a 1-pixel wide region - // around the image edge.) 2x2 kernels would be suitable for this. -} - -/* - * A somewhat tricky function to approximate the distance to an edge in a - * certain pixel, with consideration to either the local gradient (gx,gy) - * or the direction to the pixel (dx,dy) and the pixel greyscale value a. - * The latter alternative, using (dx,dy), is the metric used by edtaa2(). - * Using a local estimate of the edge gradient (gx,gy) yields much better - * accuracy at and near edges, and reduces the error even at distant pixels - * provided that the gradient direction is accurately estimated. - */ -double edgedf(double gx, double gy, double a) { - double df, glength, temp, a1; - if ((gx == 0) || (gy == 0)) { // Either A) gu or gv are zero, or B) both - df = 0.5-a; // Linear approximation is A) correct or B) a fair guess - } else { - glength = sqrt(gx*gx + gy*gy); - if(glength>0) { - gx = gx/glength; - gy = gy/glength; - } - /* Everything is symmetric wrt sign and transposition, - * so move to first octant (gx>=0, gy>=0, gx>=gy) to - * avoid handling all possible edge directions. - */ - gx = fabs(gx); - gy = fabs(gy); - if(gx 1.0) { - a = 1.0; - } - if(a < 0.0) { - a = 0.0; // Clip grayscale values outside the range [0,1] - } - if(a == 0.0) { - return 1000000.0; // Not an object pixel, return "very far" ("don't know yet") - } - - dx = (double)xi; - dy = (double)yi; - di = sqrt(dx*dx + dy*dy); // Length of integer vector, like a traditional EDT - if(di==0) { // Use local gradient only at edges - // Estimate based on local gradient only - df = edgedf(gx, gy, a); - } else { - // Estimate gradient based on direction to edge (accurate for large di) - df = edgedf(dx, dy, a); - } - return di + df; // Same metric as edtaa2, except at edges (where di=0) -} - -// Shorthand macro: add ubiquitous parameters dist, gx, gy, img and w and call distaa3() -#define DISTAA(c,xc,yc,xi,yi) (distaa3(img, gx, gy, w, c, xc, yc, xi, yi)) - -void edtaa3(double *img, double *gx, double *gy, int w, int h, short *distx, short *disty, double *dist) -{ - int x, y, i, c; - int offset_u, offset_ur, offset_r, offset_rd, - offset_d, offset_dl, offset_l, offset_lu; - double olddist, newdist; - int cdistx, cdisty, newdistx, newdisty; - int changed; - double epsilon = 1e-3; - - /* Initialize index offsets for the current image width */ - offset_u = -w; - offset_ur = -w+1; - offset_r = 1; - offset_rd = w+1; - offset_d = w; - offset_dl = w-1; - offset_l = -1; - offset_lu = -w-1; - - /* Initialize the distance images */ - for(i=0; i 0) { // If non-zero distance or not set yet - c = i + offset_u; // Index of candidate for testing - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx; - newdisty = cdisty+1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_ur; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty+1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - i++; - /* Middle pixels have all neighbors */ - for(x=1; x 0) {// If not already zero distance - c = i+offset_l; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx+1; - newdisty = cdisty; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_lu; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx+1; - newdisty = cdisty+1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_u; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx; - newdisty = cdisty+1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - /* Move index to second rightmost pixel of current row. */ - /* Rightmost pixel is skipped, it has no right neighbor. */ - i = y*w + w-2; - /* scan left, propagate distance from right */ - for(x=w-2; x>=0; x--, i--) { - olddist = dist[i]; - if(olddist <= 0) { - continue; // Already zero distance - } - c = i+offset_r; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - } - /* Scan rows in reverse order, except last row */ - for(y=h-2; y>=0; y--) { - /* move index to rightmost pixel of current row */ - i = y*w + w-1; - /* Scan left, propagate distances from below & right */ - /* Rightmost pixel is special, has no right neighbors */ - olddist = dist[i]; - if(olddist > 0) { // If not already zero distance - c = i+offset_d; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - - c = i+offset_dl; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx+1; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - i--; - /* Middle pixels have all neighbors */ - for(x=w-2; x>0; x--, i--) { - olddist = dist[i]; - if(olddist <= 0) { - continue; // Already zero distance - } - c = i+offset_r; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_rd; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_d; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_dl; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx+1; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - /* Leftmost pixel is special, has no left neighbors */ - olddist = dist[i]; - if(olddist > 0) { // If not already zero distance - c = i+offset_r; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_rd; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx-1; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - olddist=newdist; - changed = 1; - } - c = i+offset_d; - cdistx = distx[c]; - cdisty = disty[c]; - newdistx = cdistx; - newdisty = cdisty-1; - newdist = DISTAA(c, cdistx, cdisty, newdistx, newdisty); - if(newdist < olddist-epsilon) { - distx[i]=newdistx; - disty[i]=newdisty; - dist[i]=newdist; - changed = 1; - } - } - /* Move index to second leftmost pixel of current row. */ - /* Leftmost pixel is skipped, it has no left neighbor. */ - i = y*w + 1; - for(x=1; x - - -/* - * Compute the local gradient at edge pixels using convolution filters. - * The gradient is computed only at edge pixels. At other places in the - * image, it is never used, and it's mostly zero anyway. - */ -void computegradient(double *img, int w, int h, double *gx, double *gy); - -/* - * A somewhat tricky function to approximate the distance to an edge in a - * certain pixel, with consideration to either the local gradient (gx,gy) - * or the direction to the pixel (dx,dy) and the pixel greyscale value a. - * The latter alternative, using (dx,dy), is the metric used by edtaa2(). - * Using a local estimate of the edge gradient (gx,gy) yields much better - * accuracy at and near edges, and reduces the error even at distant pixels - * provided that the gradient direction is accurately estimated. - */ -double edgedf(double gx, double gy, double a); - - -double distaa3(double *img, double *gximg, double *gyimg, int w, int c, int xc, int yc, int xi, int yi); - -// Shorthand macro: add ubiquitous parameters dist, gx, gy, img and w and call distaa3() -#define DISTAA(c,xc,yc,xi,yi) (distaa3(img, gx, gy, w, c, xc, yc, xi, yi)) - -void edtaa3(double *img, double *gx, double *gy, int w, int h, short *distx, short *disty, double *dist); - - -#ifdef __cplusplus -} -#endif - -#endif // __EDTAA3FUNC_H__ diff --git a/external/edtaa3/license_BSD_2_clauses.txt b/external/edtaa3/license_BSD_2_clauses.txt deleted file mode 100644 index d8a7a616..00000000 --- a/external/edtaa3/license_BSD_2_clauses.txt +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2009 Stefan Gustavson (stefan.gustavson@gmail.com) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY STEFAN GUSTAVSON ''AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL STEFAN GUSTAVSON OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/external/edtaa3/lutin_edtaa3.py b/external/edtaa3/lutin_edtaa3.py deleted file mode 100644 index f9e20d98..00000000 --- a/external/edtaa3/lutin_edtaa3.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/python -import lutinModule as module -import lutinTools as tools -import lutinTools - -def get_desc(): - return "edtaa3 library (create distance field from image)" - -def create(target): - # module name is 'edn' and type binary. - myModule = module.Module(__file__, 'edtaa3', 'LIBRARY') - - # add the file to compile: - myModule.add_src_file([ - 'edtaa3/edtaa3func.c' - ]) - - myModule.compile_version_CC(1999) - - myModule.add_export_path(tools.get_current_path(__file__)) - - # add the currrent module at the - return myModule - - diff --git a/external/egami b/external/egami deleted file mode 160000 index 28a67a89..00000000 --- a/external/egami +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 28a67a895c6ed998be2463d1a1bfcfbde4fce559 diff --git a/external/ege b/external/ege deleted file mode 160000 index a6fba88a..00000000 --- a/external/ege +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a6fba88a18190cb28ee747ffe30a8af7f615e503 diff --git a/external/ejson b/external/ejson deleted file mode 160000 index 82670a79..00000000 --- a/external/ejson +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 82670a7954dc6c8e9f38f0feb74495ef9817f1b2 diff --git a/external/enet b/external/enet deleted file mode 160000 index b1ad254e..00000000 --- a/external/enet +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b1ad254e0e8bf83dcae13cc0187151178eaf9f4e diff --git a/external/esvg b/external/esvg deleted file mode 160000 index 6c65d740..00000000 --- a/external/esvg +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6c65d74094684130d4ffb438b6be96a6919257b0 diff --git a/external/etk b/external/etk deleted file mode 160000 index 742a0703..00000000 --- a/external/etk +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 742a0703071cdf1948aea38534978bee27db0ecb diff --git a/external/exml b/external/exml deleted file mode 160000 index a249eb56..00000000 --- a/external/exml +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a249eb5699dbd79c22f6e71ac38a671592f539af diff --git a/external/freetype b/external/freetype deleted file mode 160000 index 08d29e36..00000000 --- a/external/freetype +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 08d29e36af7c3e98dce784ba7d760bfde4acb270 diff --git a/external/glew/glew b/external/glew/glew deleted file mode 160000 index 1b28edd7..00000000 --- a/external/glew/glew +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1b28edd7b1b7e9864609cc77357bdc4a3cc1e719 diff --git a/external/glew/info.txt b/external/glew/info.txt deleted file mode 100644 index 07487d16..00000000 --- a/external/glew/info.txt +++ /dev/null @@ -1 +0,0 @@ -find binary on http://glew.sourceforge.net/ diff --git a/external/glew/lutin_glew.py b/external/glew/lutin_glew.py deleted file mode 100644 index d75136c9..00000000 --- a/external/glew/lutin_glew.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/python -import lutinModule as module -import lutinTools as tools - -def get_desc(): - return "Glew generic glew interface (for windows only)" - - -def create(target): - if target.name=="Windows": - #http://glew.sourceforge.net/index.html - myModule = module.Module(__file__, 'glew', 'PREBUILD') - - myModule.add_export_path(tools.get_current_path(__file__) + "/glew/include/") - if target.config["bus-size"] == "32": - myModule.add_export_flag_LD([ - tools.get_current_path(__file__) + "/glew/lib/Release/Win32/glew32s.lib" - ]) - else: - myModule.add_export_flag_LD([ - tools.get_current_path(__file__) + "/glew/lib/Release/x64/glew32s.lib", - ]) - myModule.add_export_flag_LD([ - "-lopengl32", - "-lgdi32", - "-static-libgcc", - "-static-libstdc++"]) - - # add the currrent module at the - return myModule - else: - return None - - diff --git a/external/gtest b/external/gtest deleted file mode 160000 index ce08156c..00000000 --- a/external/gtest +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ce08156cf70c62c8783e8cf7f1ddc90f5ceba94d diff --git a/external/ogg b/external/ogg deleted file mode 160000 index 4bbdfe1c..00000000 --- a/external/ogg +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4bbdfe1c53ec2368883b29f99b3635c36a87be48 diff --git a/external/png b/external/png deleted file mode 160000 index f56c9fdf..00000000 --- a/external/png +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f56c9fdf7d9d186554d13a9f7f5b7d906ed127c1 diff --git a/external/speex b/external/speex deleted file mode 160000 index b0cc582e..00000000 --- a/external/speex +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b0cc582eabc4eb2c8924fac517fe6a73e2d90193 diff --git a/external/speexdsp b/external/speexdsp deleted file mode 160000 index 06d4e5f1..00000000 --- a/external/speexdsp +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 06d4e5f1afaaed841ec37728217a87b92fec8bae diff --git a/external/z b/external/z deleted file mode 160000 index be3dd12f..00000000 --- a/external/z +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be3dd12fa3b9977b4847ac5889f5257cfd591de5 diff --git a/ios-deploy b/ios-deploy deleted file mode 160000 index 72e83d06..00000000 --- a/ios-deploy +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 72e83d06e142e3813aff83da73ab2ceda99d74d8 diff --git a/sources/lutin_ewol.py b/lutin_ewol.py similarity index 87% rename from sources/lutin_ewol.py rename to lutin_ewol.py index 2c7dafd8..af8cac60 100755 --- a/sources/lutin_ewol.py +++ b/lutin_ewol.py @@ -166,21 +166,21 @@ def create(target): 'ewol/widget/WSlider.cpp', ]) - myModule.copy_folder('../data/theme/shape/square/*','theme/shape/square') - myModule.copy_folder('../data/theme/shape/round/*','theme/shape/round') - myModule.copy_folder('../data/theme/color/black/*','theme/color/black') - myModule.copy_folder('../data/theme/color/white/*','theme/color/white') - myModule.copy_folder('../data/textured.*','') - myModule.copy_folder('../data/texturedNoMaterial.*','') - myModule.copy_folder('../data/text.*','') - myModule.copy_folder('../data/simple3D.*','') - myModule.copy_folder('../data/color.*','') - myModule.copy_folder('../data/color3.*','') - myModule.copy_folder('../data/textured3D2.*','') - myModule.copy_folder('../data/textured3D.*','') - myModule.copy_folder('../data/texturedDF.*','') - myModule.copy_folder('../data/fontDistanceField/*','fontDistanceField') - myModule.copy_folder('../data/translate/*','translate/ewol/') + myModule.copy_folder('data/theme/shape/square/*','theme/shape/square') + myModule.copy_folder('data/theme/shape/round/*','theme/shape/round') + myModule.copy_folder('data/theme/color/black/*','theme/color/black') + myModule.copy_folder('data/theme/color/white/*','theme/color/white') + myModule.copy_folder('data/textured.*','') + myModule.copy_folder('data/texturedNoMaterial.*','') + myModule.copy_folder('data/text.*','') + myModule.copy_folder('data/simple3D.*','') + myModule.copy_folder('data/color.*','') + myModule.copy_folder('data/color3.*','') + myModule.copy_folder('data/textured3D2.*','') + myModule.copy_folder('data/textured3D.*','') + myModule.copy_folder('data/texturedDF.*','') + myModule.copy_folder('data/fontDistanceField/*','fontDistanceField') + myModule.copy_folder('data/translate/*','translate/ewol/') # name of the dependency myModule.add_module_depend(['etk', 'freetype', 'exml', 'ejson', 'egami', 'edtaa3', 'date']) @@ -218,7 +218,7 @@ def create(target): myModule.add_export_flag_LD("-ldl") myModule.add_export_flag_LD("-llog") myModule.add_export_flag_LD("-landroid") - java_tmp_dir = tools.get_current_path(__file__) + "/../sources/android/src/" + java_tmp_dir = tools.get_current_path(__file__) + "/android/src/" cpp_tmp_dir = tools.get_current_path(__file__) + "/ewol/renderer/Android/" java_tmp_src = java_tmp_dir + "org/ewol/EwolConstants" # TODO : set the build directory in out/.build with option -d ... diff --git a/macRun.txt b/macRun.txt deleted file mode 100644 index ee9ff5c6..00000000 --- a/macRun.txt +++ /dev/null @@ -1 +0,0 @@ -open -n ./AppName.app --args -AppCommandLineArg diff --git a/sources/monk_ewol.py b/monk_ewol.py similarity index 100% rename from sources/monk_ewol.py rename to monk_ewol.py diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt deleted file mode 100644 index cebb793c..00000000 --- a/sources/CMakeLists.txt +++ /dev/null @@ -1,252 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -# Declare the project -project(ewol) - -## -## Include C++ X11 dependency ... (check correct flags) -## -include(CheckCXXCompilerFlag) -CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) -if(COMPILER_SUPPORTS_CXX11) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -else() - CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) - if(COMPILER_SUPPORTS_CXX0X) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") - else() - message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.") - endif() -endif() - - -# set output path: -set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) - -include_directories(.) - -#Create src file list -set(src_files - ewol/ewol.cpp - ewol/ewol.h - ewol/debug.cpp - ewol/debug.h - ewol/Dimension.cpp - ewol/Dimension.h - ewol/compositing/Compositing.cpp - ewol/compositing/Compositing.h - ewol/compositing/TextBase.cpp - ewol/compositing/TextBase.h - ewol/compositing/Text.cpp - ewol/compositing/Text.h - ewol/compositing/TextDF.cpp - ewol/compositing/TextDF.h - ewol/compositing/Drawing.cpp - ewol/compositing/Drawing.h - ewol/compositing/Image.cpp - ewol/compositing/Image.h - ewol/compositing/Sprite.cpp - ewol/compositing/Sprite.h - ewol/compositing/Shaper.cpp - ewol/compositing/Shaper.h - ewol/compositing/Area.cpp - ewol/compositing/Area.h - ewol/context/clipBoard.cpp - ewol/context/clipBoard.h - ewol/context/commandLine.cpp - ewol/context/commandLine.h - ewol/context/ConfigFont.cpp - ewol/context/ConfigFont.h - ewol/context/Context.cpp - ewol/context/Context.h - ewol/context/cursor.cpp - ewol/context/cursor.h - ewol/context/InputManager.cpp - ewol/context/InputManager.h - ewol/event/Entry.cpp - ewol/event/Entry.h - ewol/event/Time.cpp - ewol/event/Time.h - ewol/event/Input.cpp - ewol/event/Input.h - ewol/key/keyboard.cpp - ewol/key/keyboard.h - ewol/key/Special.cpp - ewol/key/Special.h - ewol/key/status.cpp - ewol/key/status.h - ewol/key/type.cpp - ewol/key/type.h - ewol/object/Config.cpp - ewol/object/Config.h - ewol/object/ConfigElement.cpp - ewol/object/ConfigElement.h - ewol/object/Manager.cpp - ewol/object/Manager.h - ewol/object/Message.cpp - ewol/object/Message.h - ewol/object/MultiCast.cpp - ewol/object/MultiCast.h - ewol/object/Object.cpp - ewol/object/Object.h - ewol/openGL/openGL.cpp - ewol/openGL/openGL.h - ewol/resource/Colored3DObject.cpp - ewol/resource/Colored3DObject.h - ewol/resource/ColorFile.cpp - ewol/resource/ColorFile.h - ewol/resource/ConfigFile.cpp - ewol/resource/ConfigFile.h - ewol/resource/FontFreeType.cpp - ewol/resource/FontFreeType.h - ewol/resource/Image.cpp - ewol/resource/Image.h - ewol/resource/ImageDF.cpp - ewol/resource/ImageDF.h - ewol/resource/Manager.cpp - ewol/resource/Manager.h - ewol/resource/Program.cpp - ewol/resource/Program.h - ewol/resource/Resource.cpp - ewol/resource/Resource.h - ewol/resource/Shader.cpp - ewol/resource/Shader.h - ewol/resource/Texture.cpp - ewol/resource/Texture.h - ewol/resource/TexturedFont.cpp - ewol/resource/TexturedFont.h - ewol/resource/DistanceFieldFont.cpp - ewol/resource/DistanceFieldFont.h - ewol/resource/VirtualBufferObject.cpp - ewol/resource/VirtualBufferObject.h - ewol/widget/ButtonColor.cpp - ewol/widget/ButtonColor.h - ewol/widget/Button.cpp - ewol/widget/Button.h - ewol/widget/CheckBox.cpp - ewol/widget/CheckBox.h - ewol/widget/ColorBar.cpp - ewol/widget/ColorBar.h - ewol/widget/Composer.cpp - ewol/widget/Composer.h - ewol/widget/Container.cpp - ewol/widget/Container.h - ewol/widget/Container2.cpp - ewol/widget/Container2.h - ewol/widget/ContainerN.cpp - ewol/widget/ContainerN.h - ewol/widget/ContextMenu.cpp - ewol/widget/ContextMenu.h - ewol/widget/Entry.cpp - ewol/widget/Entry.h - ewol/widget/Gird.cpp - ewol/widget/Gird.h - ewol/widget/Image.cpp - ewol/widget/Image.h - ewol/widget/Joystick.cpp - ewol/widget/Joystick.h - ewol/widget/Label.cpp - ewol/widget/Label.h - ewol/widget/Layer.cpp - ewol/widget/Layer.h - ewol/widget/List.cpp - ewol/widget/List.h - ewol/widget/ListFileSystem.cpp - ewol/widget/ListFileSystem.h - ewol/widget/Manager.cpp - ewol/widget/Manager.h - ewol/widget/Menu.cpp - ewol/widget/Menu.h - ewol/widget/meta/ColorChooser.cpp - ewol/widget/meta/ColorChooser.h - ewol/widget/meta/FileChooser.cpp - ewol/widget/meta/FileChooser.h - ewol/widget/meta/Parameter.cpp - ewol/widget/meta/Parameter.h - ewol/widget/meta/ParameterList.cpp - ewol/widget/meta/ParameterList.h - ewol/widget/meta/StdPopUp.cpp - ewol/widget/meta/StdPopUp.h - ewol/widget/PopUp.cpp - ewol/widget/PopUp.h - ewol/widget/ProgressBar.cpp - ewol/widget/ProgressBar.h - ewol/widget/Scroll.cpp - ewol/widget/Scroll.h - ewol/widget/Sizer.cpp - ewol/widget/Sizer.h - ewol/widget/Slider.cpp - ewol/widget/Slider.h - ewol/widget/Spacer.cpp - ewol/widget/Spacer.h - ewol/widget/Widget.cpp - ewol/widget/Widget.h - ewol/widget/WidgetScrolled.cpp - ewol/widget/WidgetScrolled.h - ewol/widget/Windows.cpp - ewol/widget/Windows.h - ewol/widget/WSlider.cpp - ewol/widget/WSlider.h -) - -add_definitions( -DDEBUG_LEVEL=3 ) -add_definitions( -DDEBUG=1 ) -message(STATUS "APPLE=${APPLE}") -message(STATUS "UNIX=${UNIX}") - -if (APPLE) - add_definitions( -D__TARGET_OS__MacOs ) - set(src_files-specific - ewol/context/MacOs/Context.cpp - ewol/context/MacOs/Context.h - ewol/context/MacOs/Interface.mm - ewol/context/MacOs/Interface.h - ewol/context/MacOs/Windows.mm - ewol/context/MacOs/Windows.h - ewol/context/MacOs/OpenglView.mm - ewol/context/MacOs/OpenglView.h - ewol/context/MacOs/AppDelegate.mm - ewol/context/MacOs/AppDelegate.h - ) -elseif (UNIX) - add_definitions( -D__TARGET_OS__Linux ) - set(src_files-specific - ewol/context/X11/Context.cpp - ewol/context/X11/Context.h - ) -elseif (WIN32) - add_definitions( -D__TARGET_OS__Windows ) - set(src_files-specific - ewol/context/Windows/Context.cpp - ewol/context/Windows/Context.h - ) -endif () - -#Create a static Lib: -add_library(ewol STATIC ${src_files} ${src_files-specific}) - -include_directories(${zlib_SOURCE_DIR}/contrib/) -include_directories(${linearmath_SOURCE_DIR}/bullet/src/) -include_directories(${etk_SOURCE_DIR}) -include_directories(${freetype_SOURCE_DIR}) -include_directories(${exml_SOURCE_DIR}) -include_directories(${ejson_SOURCE_DIR}) -include_directories(${egami_SOURCE_DIR}) -include_directories(${edtaa3_SOURCE_DIR}) -include_directories(${date_SOURCE_DIR}) -include_directories(${agg_SOURCE_DIR}) - -#add_dependencies(ewol linearmath zlib etk freetype exml ejson egami edtaa3 date) - -target_link_libraries(ewol linearmath zlib etk freetype exml ejson egami edtaa3 date) - - -# read version : -file (STRINGS "tag" BUILD_VERSION) -add_definitions( -DEWOL_VERSION="${BUILD_VERSION}" ) - -# display all variable ... -#get_cmake_property(_variableNames VARIABLES) -#foreach (_variableName ${_variableNames}) -# message(STATUS "${_variableName}=${${_variableName}}") -#endforeach() diff --git a/sources/tag b/tag similarity index 100% rename from sources/tag rename to tag