[EGIT] [core/efl] master 01/02: autotools: on OSX warn about prefix being /usr
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3f6b62515b52f3080b4ddcb720ecaf882b64a340 commit 3f6b62515b52f3080b4ddcb720ecaf882b64a340 Author: Jean Guyomarc'hDate: Sat Apr 2 22:17:53 2016 +0200 autotools: on OSX warn about prefix being /usr With Apple's SIP, nobody is allowed to modify the system (excepted /usr/local). If SIP is enabled, the installation will just fail. --- configure.ac | 14 ++ 1 file changed, 14 insertions(+) diff --git a/configure.ac b/configure.ac index 03da7da..9d305f1 100644 --- a/configure.ac +++ b/configure.ac @@ -6031,6 +6031,20 @@ if test "x$prefix" != "x/usr"; then echo "" echo "#---#" fi + +elif test "x${have_darwin}" = "xyes"; then +echo "" +echo "#---#" +echo "##==-- ALERT --==##" +echo "#---#" +echo "" +echo " If you are running Mac OS X >= 10.11 (starting from El Capitan)" +echo " you will have TROUBLE with the prefix you have chosen (/usr)..." +echo " Don't make it double and consider to use the default prefix" +echo " (/usr/local). This is because of Apple's SIP that provides MAC" +echo " and prevents ANYONE modifying the system." +echo "" +echo "#---#" fi if test "x${efl_deprecated_option}" = "xyes"; then --
[EGIT] [core/efl] master 02/02: evas_gl_cocoa: fix segmentation fault at program exit
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8fb153cf8cab550121136aeb2710fc2d9f42fadc commit 8fb153cf8cab550121136aeb2710fc2d9f42fadc Author: Jean Guyomarc'hDate: Sat Apr 2 22:19:29 2016 +0200 evas_gl_cocoa: fix segmentation fault at program exit Programs crashed on a segmentation fault when the last window was closed. The eng_output_idle_flush() function was removed... but since gl_cocoa does not properly use *_generic modules, the output_idle_flush() function called by the render engine was garbage (hence the segfault). Now nothing is done... but at least we don't crash anymore. --- src/modules/evas/engines/gl_cocoa/evas_engine.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c index 31bc120..215cf53 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_engine.c +++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c @@ -1119,6 +1119,11 @@ evgl_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const #endif +static void +eng_output_idle_flush(void *data EINA_UNUSED) +{ +} + static void * eng_gl_api_get(void *data, int version EINA_UNUSED) { @@ -1337,7 +1342,7 @@ module_open(Evas_Module *em) ORD(context_cutout_add); ORD(context_cutout_clear); ORD(output_flush); - // ORD(output_idle_flush); + ORD(output_idle_flush); // ORD(output_dump); ORD(rectangle_draw); ORD(line_draw); --
[EGIT] [core/efl] master 01/01: minor spelling fixes
vapier pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=833d87d4efea0370d934228c2714b10880f2228d commit 833d87d4efea0370d934228c2714b10880f2228d Author: Mike FrysingerDate: Sat Apr 2 16:19:52 2016 -0400 minor spelling fixes --- README | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 1d3f41f..1c77386 100644 --- a/README +++ b/README @@ -22,7 +22,7 @@ in the data/ directory. Licensing details are listed in COPYING and the licenses/ directory. The pc/ directory holds all the Package Config files installed to help developers build against EFL. -For more doumentation please see: +For more documentation please see: http://www.enlightenment.org/p.php?p=docs @@ -320,7 +320,7 @@ asynchronous. This is a small C-like language compiler and byte-code interpreter library. This is used for scripting in Edje. The code is based on original source from the Pawn/Small Language but has been made -portable (endianess issues fixed) and 64bit issues fixed, with the +portable (endianness issues fixed) and 64bit issues fixed, with the runtime library being refactored to be extremely small. diff --git a/configure.ac b/configure.ac index b4b270b..03da7da 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT" EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT" efl_api="both" - For the moment the Eo EFL API is not ready you need to explicitely optin. + For the moment the Eo EFL API is not ready you need to explicitly optin. EFL_ENABLE_EO_API_SUPPORT EFL_ENABLE_BETA_API_SUPPORT --
[EGIT] [core/efl] master 01/01: tab--
davemds pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=19b6035490eab86c80804976326c4d017185981d commit 19b6035490eab86c80804976326c4d017185981d Author: Dave AndreoliDate: Sat Apr 2 13:18:29 2016 +0200 tab-- --- src/lib/eo/eo_base.eo | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index aa952c0..d592bde 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -184,7 +184,7 @@ abstract Eo.Base () callbacks of the same priority are called in reverse order of creation. ]] -return: bool; [[Return true when the callback has been successfully added.]] + return: bool; [[Return true when the callback has been successfully added.]] params { @in desc: const(Eo.Event_Description)*; [[The description of the event to listen to]] @in priority: Eo.Callback_Priority; [[The priority of the callback]] @@ -194,7 +194,7 @@ abstract Eo.Base () } event_callback_del { [[Del a callback with a specific data associated to it for an event.]] -return: bool; [[Return true when the callback has been successfully removed.]] + return: bool; [[Return true when the callback has been successfully removed.]] params { @in desc: const(Eo.Event_Description)*; [[The description of the event to listen to]] @in func: Eo.Event_Cb; [[the callback to delete]] @@ -207,7 +207,7 @@ abstract Eo.Base () callbacks of the same priority are called in reverse order of creation. ]] -return: bool; [[Return true when the callback has been successfully added.]] + return: bool; [[Return true when the callback has been successfully added.]] params { @in array: const(Eo.Callback_Array_Item)*; [[an #Eo_Callback_Array_Item of events to listen to]] @in priority: Eo.Callback_Priority; [[The priority of the callback]] @@ -218,7 +218,7 @@ abstract Eo.Base () [[Del a callback array with a specific data associated to it for an event. ]] -return: bool; [[Return true when the callback has been successfully removed.]] + return: bool; [[Return true when the callback has been successfully removed.]] params { @in array: const(Eo.Callback_Array_Item)*; [[an #Eo_Callback_Array_Item of events to listen to]] @in user_data: const(void)*; [[The data to compare]] --
[EGIT] [core/efl] master 01/01: elm win - null out freed data on smart del
raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d1f4f6c8aff30d9bc4730a161fa2b63c534233b9 commit d1f4f6c8aff30d9bc4730a161fa2b63c534233b9 Author: Carsten Haitzler (Rasterman)Date: Sat Apr 2 16:02:07 2016 +0900 elm win - null out freed data on smart del this fixes double-frees of strings in oddball cases where a deleted window that is not done deleting is accessed. @fix --- src/lib/elementary/elm_win.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c index 00f9d1c..ae3e38c 100644 --- a/src/lib/elementary/elm_win.c +++ b/src/lib/elementary/elm_win.c @@ -1999,10 +1999,19 @@ _elm_win_evas_object_smart_del(Eo *obj, Elm_Win_Data *sd) evas_object_del(sd->icon); evas_object_del(sd->main_menu); + sd->focus_highlight.style = NULL; + sd->title = NULL; + sd->icon_name = NULL; + sd->role = NULL; + sd->name = NULL; + sd->icon = NULL; + sd->main_menu = NULL; + _elm_win_profile_del(sd); _elm_win_available_profiles_del(sd); free(sd->wm_rot.rots); + sd->wm_rot.rots = NULL; /* Don't let callback in the air that point to sd */ ecore_evas_callback_delete_request_set(sd->ee, NULL); --