[EGIT] [apps/ephoto] master 02/02: Ephoto: Delete the entry before the hbox.

2015-12-16 Thread Stephen okra Houston
okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=f74f2b421ff6aaef40a9805042cb1f14730cad62

commit f74f2b421ff6aaef40a9805042cb1f14730cad62
Author: Stephen okra Houston 
Date:   Wed Dec 16 15:52:00 2015 -0600

Ephoto: Delete the entry before the hbox.
---
 src/bin/ephoto_thumb_browser.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index 0abbe7a..562faa5 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/src/bin/ephoto_thumb_browser.c
@@ -613,6 +613,8 @@ _ephoto_search_cancel(void *data, Evas_Object *obj 
EINA_UNUSED,
 
elm_object_focus_set(tb->main, EINA_TRUE);
tb->last_search = NULL;
+   evas_object_del(tb->search);
+   tb->search = NULL;
elm_box_unpack(tb->gridbox, hbox);
evas_object_del(hbox);
tb->searching = 0;

-- 




[EGIT] [apps/ephoto] master 01/02: Ephoto: Don't delete gengrid item on search.

2015-12-16 Thread Stephen okra Houston
okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=4a6a69bb0b91d82bfae076a4efc455a80c13761d

commit 4a6a69bb0b91d82bfae076a4efc455a80c13761d
Author: Stephen okra Houston 
Date:   Wed Dec 16 15:49:19 2015 -0600

Ephoto: Don't delete gengrid item on search.
---
 src/bin/ephoto_thumb_browser.c | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index 2378f6b..0abbe7a 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/src/bin/ephoto_thumb_browser.c
@@ -124,7 +124,6 @@ _on_list_expanded(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_info)
tb->thumbs_only = 0;
ephoto_directory_set(tb->ephoto, path, it, tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto, tb->ephoto->config->directory);
-   elm_object_focus_set(tb->main, EINA_TRUE);
 }
 
 static void
@@ -148,7 +147,6 @@ _on_list_contracted(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_info)
tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto,
tb->ephoto->config->directory);
-   elm_object_focus_set(tb->main, EINA_TRUE);
 }
 
 static void
@@ -164,7 +162,6 @@ _dir_job(void *data)
ephoto_directory_set(tb->ephoto, path, NULL,
tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto, tb->ephoto->config->directory);
-   elm_object_focus_set(tb->main, EINA_TRUE);
 }
 
 static void
@@ -526,7 +523,6 @@ _ephoto_dir_go_up(void *data, Evas_Object *obj EINA_UNUSED,
ephoto_directory_set(tb->ephoto, dirname(path), NULL,
 tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto, tb->ephoto->config->directory);
-elm_object_focus_set(tb->main, EINA_TRUE);
  }
 }
 
@@ -547,7 +543,6 @@ _ephoto_dir_go_trash(void *data, Evas_Object *obj 
EINA_UNUSED,
ephoto_directory_set(tb->ephoto, path, NULL,
tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto, _("Trash"));
-   elm_object_focus_set(tb->main, EINA_TRUE);
 }
 
 static void
@@ -567,7 +562,6 @@ _ephoto_direntry_go(void *data, Evas_Object *obj 
EINA_UNUSED,
ephoto_directory_set(tb->ephoto, dir, NULL,
 tb->dirs_only, tb->thumbs_only);
ephoto_title_set(tb->ephoto, tb->ephoto->config->directory);
-elm_object_focus_set(tb->main, EINA_TRUE);
  }
 }
 
@@ -617,7 +611,7 @@ _ephoto_search_cancel(void *data, Evas_Object *obj 
EINA_UNUSED,
Evas_Object *hbox = evas_object_data_get(search, "parent");
Ephoto_Thumb_Browser *tb = evas_object_data_get(search, "thumb_browser");
 
-   evas_object_del(tb->last_search);
+   elm_object_focus_set(tb->main, EINA_TRUE);
tb->last_search = NULL;
elm_box_unpack(tb->gridbox, hbox);
evas_object_del(hbox);

-- 




[EGIT] [core/elementary] master 01/01: genlist : fix size hash issue when genlist layout sizing evaluated

2015-12-16 Thread SangHyeon Lee
sanghyeonlee pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=7c46e73d814d07d1d0594db5b071e22917caec71

commit 7c46e73d814d07d1d0594db5b071e22917caec71
Author: SangHyeon Lee 
Date:   Thu Dec 17 15:27:48 2015 +0900

genlist : fix size hash issue when genlist layout sizing evaluated

Summary :
When genlist compressed, size width must updated after sizing eval,
but still hash is not changed after sizing eval, so wrong width are
applied.

so when sizing eval called, free all buckets to get updated width.

@fix
---
 src/lib/elm_genlist.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index eb0fe4b..25c8fe0 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -849,6 +849,8 @@ _elm_genlist_elm_layout_sizing_eval(Eo *obj, 
Elm_Genlist_Data *sd)
  Item_Block *itb;
 
  sd->prev_viewport_w = vw;
+ /* Free all buckets for updaing changed width */
+ eina_hash_free_buckets(sd->size_caches);
 
  EINA_INLIST_FOREACH(sd->blocks, itb)
{

-- 




[EGIT] [core/elementary] master 01/01: elm_photocam: add NULL check

2015-12-16 Thread Sung-Taek Hong
jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=eaa50a3d3acff454471cccb204f20da486e652c4

commit eaa50a3d3acff454471cccb204f20da486e652c4
Author: Sung-Taek Hong 
Date:   Thu Dec 17 16:09:30 2015 +0900

elm_photocam: add NULL check

@fix

Reviewers: woohyun, jaehwan, eunue

Differential Revision: https://phab.enlightenment.org/D3429
---
 src/lib/elm_photocam.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c
index d5a27c2..2854289 100644
--- a/src/lib/elm_photocam.c
+++ b/src/lib/elm_photocam.c
@@ -1708,6 +1708,9 @@ EAPI Evas_Load_Error
 elm_photocam_file_set(Elm_Photocam *obj, const char *file)
 {
Eina_Bool ret;
+
+   ELM_PHOTOCAM_CHECK(obj) EVAS_LOAD_ERROR_NONE;
+   EINA_SAFETY_ON_NULL_RETURN_VAL(file, EVAS_LOAD_ERROR_NONE);
if (eo_do_ret(obj, ret, efl_file_set(file, NULL))) return 
EVAS_LOAD_ERROR_NONE;
 
Eina_Error err = eina_error_get();

-- 




[EGIT] [core/elementary] master 01/01: genlist: remove unnecessary data creation

2015-12-16 Thread SangHyeon Lee
sanghyeonlee pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=336cbdb99495ae72e7762c23b83b01ba6dd662be

commit 336cbdb99495ae72e7762c23b83b01ba6dd662be
Author: SangHyeon Lee 
Date:   Thu Dec 17 16:13:13 2015 +0900

genlist: remove unnecessary data creation

Summary :
after using hash, sd is not needed on block_recalc
so it must be removed.

@fix
---
 src/lib/elm_genlist.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 25c8fe0..572e095 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5061,7 +5061,6 @@ _item_block_recalc(Item_Block *itb,
Evas_Coord minw = 0, minh = 0;
Eina_Bool show_me = EINA_FALSE, changed = EINA_FALSE;
Evas_Coord y = 0;
-   Elm_Genlist_Data *sd = NULL;
Item_Size *size = NULL;
 
itb->num = in;

-- 




[EGIT] [core/elementary] master 01/01: elm_layout: fix typo in error message

2015-12-16 Thread Sung-Taek Hong
jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=92616bb659106a263ca01a016ff5104085a4843d

commit 92616bb659106a263ca01a016ff5104085a4843d
Author: Sung-Taek Hong 
Date:   Thu Dec 17 15:48:57 2015 +0900

elm_layout: fix typo in error message

Summary: fix "box part" to "table part" in _elm_layout_table_pack()

Reviewers: woohyun, jaehwan, Jaehyun, Hermet

Differential Revision: https://phab.enlightenment.org/D3453
---
 src/lib/elm_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index c16b8fe..d525086 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -1424,7 +1424,7 @@ _elm_layout_table_pack(Eo *obj, Elm_Layout_Smart_Data 
*sd, const char *part, Eva
  (wd->resize_obj, part, child, col,
  row, colspan, rowspan))
  {
-ERR("child %p could not be packed into box part '%s' col=%uh, row=%hu,"
+ERR("child %p could not be packed into table part '%s' col=%uh, 
row=%hu,"
 " colspan=%hu, rowspan=%hu", child, part, col, row, colspan,
 rowspan);
 return EINA_FALSE;

-- 




[EGIT] [core/efl] master 01/01: evas_callback: Remove callbacks in reverse order with evas_event_callback_del

2015-12-16 Thread Sung-Taek Hong
jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8c891ed0493c02f018a12c49c5c5f821291d7b39

commit 8c891ed0493c02f018a12c49c5c5f821291d7b39
Author: Sung-Taek Hong 
Date:   Thu Dec 17 16:03:26 2015 +0900

evas_callback: Remove callbacks in reverse order with 
evas_event_callback_del

Summary:
 - This function is deprecated, because del_full should be used instead.
 - Still, the documentation specifies in which order the callbacks should
 - be deleted.

Reviewers: Hermet, jpeg, jaehwan

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3459
---
 src/lib/evas/canvas/evas_callbacks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_callbacks.c 
b/src/lib/evas/canvas/evas_callbacks.c
index 224b1e3..c86eb61 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -424,7 +424,7 @@ evas_event_callback_del(Evas *eo_e, Evas_Callback_Type 
type, Evas_Event_Cb func)
 
if (!e->callbacks) return NULL;
 
-   EINA_INLIST_FOREACH(e->callbacks, info)
+   EINA_INLIST_REVERSE_FOREACH(e->callbacks, info)
  {
 if ((info->func == func) && (info->type == type))
   {

-- 




[EGIT] [core/efl] master 04/05: ecore_wayland: store uuid received from compositor

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d4d3f636533fd217ec00b7b66c9cc9c6c3891276

commit d4d3f636533fd217ec00b7b66c9cc9c6c3891276
Author: Stefan Schmidt 
Date:   Tue Dec 8 00:06:38 2015 +0100

ecore_wayland: store uuid received from compositor

If we get an uuid assigned from the compositor we will store them locally to
provide it later on if needed.

ref T2922
---
 src/lib/ecore_wayland/ecore_wl_private.h | 3 +++
 src/lib/ecore_wayland/ecore_wl_window.c  | 9 -
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl_private.h 
b/src/lib/ecore_wayland/ecore_wl_private.h
index 91b2d54..589f9f9 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -3,6 +3,7 @@
 
 # include 
 # include 
+# include 
 
 # include "Ecore.h"
 # include "Ecore_Input.h"
@@ -173,6 +174,8 @@ struct _Ecore_Wl_Window
Ecore_Wl_Subsurf *subsurfs;
 
void *data;
+
+   uuid_t uuid;
 };
 
 struct _Ecore_Wl_Input
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index b74ab62..1def7ab 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -1093,10 +1093,17 @@ _ecore_xdg_handle_popup_done(void *data, struct 
xdg_popup *xdg_popup)
 static void
 _ecore_session_recovery_uuid(void *data EINA_UNUSED, struct session_recovery 
*session_recovery, const char *uuid)
 {
+   Ecore_Wl_Window *win;
+   char uuid_string[37];
+
LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
+   if (!(win = data)) return;
if (!session_recovery) return;
-   DBG("UUID event received from compositor with UUID: %s", uuid);
+   uuid_parse(uuid, win->uuid);
+
+   uuid_unparse(win->uuid, uuid_string);
+   DBG("UUID event received from compositor with UUID: %s\n", uuid_string);
 }
 
 static void

-- 




[EGIT] [core/efl] master 05/05: ecore_wayland: add listener for uuid and provide already existing one

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=680eec5c5c58740e5e104df93b5dc2290ad31554

commit 680eec5c5c58740e5e104df93b5dc2290ad31554
Author: Stefan Schmidt 
Date:   Tue Dec 8 00:08:20 2015 +0100

ecore_wayland: add listener for uuid and provide already existing one

Setup a listener to receive an uid from the compositor. If we already have
one during creation, aka we are re-connecting to recover a session, we 
provide
it to the compositor so it can look our attributes up based on it. Again 
hidden
behind and env var to avoid problems with other developments, for now.

ref T2922
---
 src/lib/ecore_wayland/ecore_wl_window.c | 15 +--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index 1def7ab..44a3ef4 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -395,11 +395,22 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
 
EINA_SAFETY_ON_NULL_RETURN_VAL(win, NULL);
 
+   char uuid[37];
+
if (win->surface) return win->surface;
-   if (_ecore_wl_disp->wl.session_recovery && 
getenv("EFL_WAYLAND_SESSION_RECOVERY"))
- session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery, 
&_ecore_session_recovery_listener, win);
win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
if (!win->surface) return NULL;
+
+   if (_ecore_wl_disp->wl.session_recovery && 
getenv("EFL_WAYLAND_SESSION_RECOVERY"))
+ {
+session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery,
+  &_ecore_session_recovery_listener, win);
+if (!uuid_is_null(win->uuid))
+  {
+ uuid_unparse(win->uuid, uuid);
+ 
session_recovery_provide_uuid(_ecore_wl_disp->wl.session_recovery, uuid);
+  }
+ }
win->surface_id = wl_proxy_get_id((struct wl_proxy *)win->surface);
return win->surface;
 }

-- 




[EGIT] [core/efl] master 03/05: ecore_wayland: create session recovery listener only if env var is set

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=900fd5446fa7b5b64f463085843bfc9ceac4439f

commit 900fd5446fa7b5b64f463085843bfc9ceac4439f
Author: Stefan Schmidt 
Date:   Mon Dec 7 23:39:10 2015 +0100

ecore_wayland: create session recovery listener only if env var is set

Same as for the global we make sure here we only add the listener if the,
for now, needed env var is set.

ref T2922
---
 src/lib/ecore_wayland/ecore_wl_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index e009dfb..b74ab62 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -396,7 +396,7 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
EINA_SAFETY_ON_NULL_RETURN_VAL(win, NULL);
 
if (win->surface) return win->surface;
-   if (_ecore_wl_disp->wl.session_recovery)
+   if (_ecore_wl_disp->wl.session_recovery && 
getenv("EFL_WAYLAND_SESSION_RECOVERY"))
  session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery, 
&_ecore_session_recovery_listener, win);
win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
if (!win->surface) return NULL;

-- 




[EGIT] [core/efl] master 01/05: ecore_wayland: remove disabled code for session recovery listener

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=56cc11c3b142400685de2ee6ce81bc7bb96511da

commit 56cc11c3b142400685de2ee6ce81bc7bb96511da
Author: Stefan Schmidt 
Date:   Mon Dec 7 23:07:28 2015 +0100

ecore_wayland: remove disabled code for session recovery listener

The listener is handled inside ecore_wl_window. Remove the dead code from 
here.
---
 src/lib/ecore_wayland/ecore_wl.c | 14 --
 1 file changed, 14 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 04c4204..511acea 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -77,17 +77,6 @@ static const struct xdg_shell_listener xdg_shell_listener =
xdg_shell_ping,
 };
 
-/* static void */
-/* _ecore_wl_uuid_receive(void *data EINA_UNUSED, struct session_recovery 
*session_recovery EINA_UNUSED, const char *uuid) */
-/* { */
-/*DBG("UUID assigned from compositor: %s", uuid); */
-/* } */
-
-/* static const struct session_recovery_listener 
_ecore_wl_session_recovery_listener = */
-/* { */
-/*_ecore_wl_uuid_receive, */
-/* }; */
-
 /* external variables */
 int _ecore_wl_log_dom = -1;
 Ecore_Wl_Display *_ecore_wl_disp = NULL;
@@ -213,9 +202,6 @@ ecore_wl_init(const char *name)
wl_registry_add_listener(_ecore_wl_disp->wl.registry,
 &_ecore_wl_registry_listener, _ecore_wl_disp);
 
-   //session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery,
-//&_ecore_wl_session_recovery_listener, 
_ecore_wl_disp);
-
if (!_ecore_wl_xkb_init(_ecore_wl_disp))
  {
 ERR("Could not initialize XKB");

-- 




[EGIT] [core/efl] master 02/05: ecore_wayland: only bind session recovery interface when env var is set

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=598f46f25ec94db2821a14baa50cbd4d938fa6ac

commit 598f46f25ec94db2821a14baa50cbd4d938fa6ac
Author: Stefan Schmidt 
Date:   Mon Dec 7 23:31:13 2015 +0100

ecore_wayland: only bind session recovery interface when env var is set

To avoid trouble for other wayland testing we hide the session recovery work
behind EFL_WAYLAND_SESSION_RECOVERY. Without this env var being set we do 
not
bind the global.

ref T2922
---
 src/lib/ecore_wayland/ecore_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 511acea..9dc8c9b 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -675,7 +675,7 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry 
*registry, unsigned in
  _ecore_wl_output_add(ewd, id);
else if (!strcmp(interface, "wl_seat"))
  _ecore_wl_input_add(ewd, id);
-   else if (!strcmp(interface, "session_recovery"))
+   else if (!strcmp(interface, "session_recovery") && 
getenv("EFL_WAYLAND_SESSION_RECOVERY"))
  {
 ewd->wl.session_recovery =
   wl_registry_bind(registry, id, _recovery_interface, 1);

-- 




[EGIT] [core/efl] master 01/01: lz4: Update our internal copy to release r131

2015-12-16 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1872c06ff0a091190186615f3b4074fcac7385ee

commit 1872c06ff0a091190186615f3b4074fcac7385ee
Author: Stefan Schmidt 
Date:   Wed Dec 16 11:53:11 2015 +0100

lz4: Update our internal copy to release r131

Clang and GCC optimizations and bug fixes. Have a look at the NEWS file for
more details.
---
 src/static_libs/lz4/NEWS  |  55 +++-
 src/static_libs/lz4/README.md |  12 +-
 src/static_libs/lz4/lz4.c | 641 ++
 src/static_libs/lz4/lz4.h | 208 --
 src/static_libs/lz4/lz4hc.c   | 209 ++
 src/static_libs/lz4/lz4hc.h   | 197 ++---
 6 files changed, 763 insertions(+), 559 deletions(-)

diff --git a/src/static_libs/lz4/NEWS b/src/static_libs/lz4/NEWS
index 2eeb948..781687d 100644
--- a/src/static_libs/lz4/NEWS
+++ b/src/static_libs/lz4/NEWS
@@ -1,19 +1,44 @@
+r131
+New: Dos/DJGPP target, thanks to Louis Santillan (#114)
+Added  : Example using lz4frame library, by Zbigniew Jędrzejewski-Szmek (#118)
+Changed: xxhash symbols are modified (namespace emulation) within liblz4
+
+r130:
+Fixed  : incompatibility sparse mode vs console, reported by Yongwoon Cho 
(#105)
+Fixed  : LZ4IO exits too early when frame crc not present, reported by 
Yongwoon Cho (#106)
+Fixed  : incompatibility sparse mode vs append mode, reported by Takayuki 
Matsuoka (#110)
+Performance fix : big compression speed boost for clang (+30%)
+New: cross-version test, by Takayuki Matsuoka
+
+r129:
+Added  : LZ4_compress_fast(), LZ4_compress_fast_continue()
+Added  : LZ4_compress_destSize()
+Changed: New lz4 and lz4hc compression API. Previous function prototypes still 
supported.
+Changed: Sparse file support enabled by default
+New: LZ4 CLI improved performance compressing/decompressing multiple files 
(#86, kind contribution from Kyle J. Harper & Takayuki Matsuoka)
+Fixed  : GCC 4.9+ optimization bug - Reported by Markus Trippelsdorf, Greg 
Slazinski & Evan Nemerson
+Changed: Enums converted to LZ4F_ namespace convention - by Takayuki Matsuoka
+Added  : AppVeyor CI environment, for Visual tests - Suggested by Takayuki 
Matsuoka
+Modified:Obsolete functions generate warnings - Suggested by Evan Nemerson, 
contributed by Takayuki Matsuoka
+Fixed  : Bug #75 (unfinished stream), reported by Yongwoon Cho
+Updated: Documentation converted to MarkDown format
+
 r128:
-New   : lz4cli sparse file support
-New   : command -m, to compress multiple files in a single command
-Fixed : Restored lz4hc compression ratio (was slightly lower since r124)
-New   : lz4 cli supports long commands
-New   : lz4frame & lz4cli frame content size support
-New   : lz4frame supports skippable frames
-Changed:Default "make install" directory is /usr/local
-New   : lz4 cli supports "pass-through" mode
-New   : datagen can generate sparse files
-New   : scan-build tests
-New   : g++ compatibility tests
-New   : arm cross-compilation test
-Fixed : Fuzzer + frametest compatibility with NetBSD (issue #48)
-Added : Visual project directory
-Updated:Man page & Specification
+New: lz4cli sparse file support (Requested by Neil Wilson, and contributed 
by Takayuki Matsuoka)
+New: command -m, to compress multiple files in a single command (suggested 
by Kyle J. Harper)
+Fixed  : Restored lz4hc compression ratio (slightly lower since r124)
+New: lz4 cli supports long commands (suggested by Takayuki Matsuoka)
+New: lz4frame & lz4cli frame content size support
+New: lz4frame supports skippable frames, as requested by Sergey Cherepanov
+Changed: Default "make install" directory is /usr/local, as notified by Ron 
Johnson
+New: lz4 cli supports "pass-through" mode, requested by Neil Wilson
+New: datagen can generate sparse files
+New: scan-build tests, thanks to kind help by Takayuki Matsuoka
+New: g++ compatibility tests
+New: arm cross-compilation test, thanks to kind help by Takayuki Matsuoka
+Fixed  : Fuzzer + frametest compatibility with NetBSD (issue #48, reported by 
Thomas Klausner)
+Added  : Visual project directory
+Updated: Man page & Specification
 
 r127:
 N/A   : added a file on SVN
diff --git a/src/static_libs/lz4/README.md b/src/static_libs/lz4/README.md
index 636c8be..f6ebf5e 100644
--- a/src/static_libs/lz4/README.md
+++ b/src/static_libs/lz4/README.md
@@ -1,15 +1,16 @@
 LZ4 - Library Files
 
 
-This directory contains many files, but you don't necessarily need them all.
+The __lib__ directory contains several files, but you don't necessarily need 
them all.
 
-If you want to integrate LZ4 compression/decompression into your program, you 
basically need to include "**lz4.c**" and "**lz4.h**" only.
+To integrate fast LZ4 compression/decompression into your program, you 
basically just need "**lz4.c**" and "**lz4.h**".
 
-If you want more compression, at the cost of compression speed 

[EGIT] [core/elementary] master 01/01: naviframe: set better accessibility role and name

2015-12-16 Thread Lukasz Stanislawski
stanluk pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=612528e090b1a92e5784d56610a600eb62479445

commit 612528e090b1a92e5784d56610a600eb62479445
Author: Lukasz Stanislawski 
Date:   Wed Dec 16 16:18:17 2015 +0100

naviframe: set better accessibility role and name
---
 src/lib/elc_naviframe.c | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 441c418..0a7998a 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -508,6 +508,16 @@ _elm_naviframe_item_elm_widget_item_part_text_set(Eo 
*eo_it EINA_UNUSED,
if (_elm_config->access_mode)
  _access_obj_process(nit, EINA_TRUE);
 
+   memset(buf, 0x0, sizeof(buf));
+   if (nit->title_label)
+ strncat(buf, nit->title_label, sizeof(buf) - 1);
+   if (nit->subtitle_label)
+ {
+if (nit->title_label) strncat(buf, " ", 1);
+strncat(buf, nit->subtitle_label, sizeof(buf) - strlen(buf) - 2);
+ }
+   eo_do(VIEW(it), elm_interface_atspi_accessible_name_set(buf));
+
elm_layout_sizing_eval(WIDGET(nit));
 }
 
@@ -1222,6 +1232,10 @@ _item_new(Evas_Object *obj,
if (!elm_widget_sub_object_add(obj, VIEW(it)))
  ERR("could not add %p as sub object of %p", VIEW(it), obj);
 
+   eo_do(VIEW(it),
+ elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PAGE_TAB),
+ elm_interface_atspi_accessible_name_set((char*)title_label));
+
evas_object_event_callback_add
  (VIEW(it), EVAS_CALLBACK_CHANGED_SIZE_HINTS,
  _on_item_size_hints_changed, obj);

-- 




[EGIT] [core/elementary] master 01/01: Elm win: Fix potential NULL deref.

2015-12-16 Thread Tom Hacohen
tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e9e712b9f38c48654f2700a0b69da6ebdc5861dc

commit e9e712b9f38c48654f2700a0b69da6ebdc5861dc
Author: Tom Hacohen 
Date:   Wed Dec 16 10:39:20 2015 +

Elm win: Fix potential NULL deref.

Looking at other parts of the code, this could actually be
NULL.

CID1343344
---
 src/lib/elm_win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 0012445..ad91669 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -851,6 +851,7 @@ static void
 _elm_win_pre_render(Ecore_Evas *ee)
 {
Elm_Win_Data *sd = _elm_win_associate_get(ee);
+   if (!sd) return;
 
if (sd->deferred_resize_job)
  _elm_win_resize_job(sd->obj);

-- 




[EGIT] [tools/enventor] master 01/01: Dummy: Support dummy spacer like dummy swallow.

2015-12-16 Thread Mykyta Biliavskyi
nikawhite pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=3b4a6767a58163b934fab19f0578795d861b7793

commit 3b4a6767a58163b934fab19f0578795d861b7793
Author: Mykyta Biliavskyi 
Date:   Wed Dec 16 17:29:55 2015 +0900

Dummy: Support dummy spacer like dummy swallow.

Create dummy object for all spacer in the group.
This feature Enable/Disable by the button on
tools panel "Dummy Swallow" or by hotkey Ctrl+W.
---
 data/themes/default/content.edc   |  18 +++
 data/themes/default/images/spacer_new.png | Bin 0 -> 3380 bytes
 src/lib/dummy_obj.c   |  85 --
 3 files changed, 99 insertions(+), 4 deletions(-)

diff --git a/data/themes/default/content.edc b/data/themes/default/content.edc
index e55b0d5..6436737 100644
--- a/data/themes/default/content.edc
+++ b/data/themes/default/content.edc
@@ -1,6 +1,7 @@
 images {
image: "part_highlight.png" COMP;
image: "swallow.png" COMP;
+   image: "spacer_new.png" COMP;
 }
 
 group { name: "swallow";
@@ -73,6 +74,23 @@ group { name: "swallow";
}
 }
 
+group { name: "spacer";
+   inherit: "swallow";
+   parts {
+  part { name: "img";
+ type: IMAGE;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+image.normal: "spacer_new.png";
+align: 0.5 0.5;
+aspect: 1 1;
+aspect_preference: BOTH;
+ }
+  }
+   }
+}
+
+
 group { name: "part_highlight";
parts {
   part { name: "base";
diff --git a/data/themes/default/images/spacer_new.png 
b/data/themes/default/images/spacer_new.png
new file mode 100644
index 000..48d5041
Binary files /dev/null and b/data/themes/default/images/spacer_new.png differ
diff --git a/src/lib/dummy_obj.c b/src/lib/dummy_obj.c
index 9666a11..1fcd8b0 100644
--- a/src/lib/dummy_obj.c
+++ b/src/lib/dummy_obj.c
@@ -18,6 +18,7 @@ typedef struct dummy_obj_s
 {
Evas_Object *layout;
Eina_List *swallows;
+   Eina_List *spacers;
Ecore_Animator *animator;
 } dummy_obj;
 
@@ -33,7 +34,7 @@ dummy_objs_update(dummy_obj *dummy)
Eina_List *parts = edje_edit_parts_list_get(dummy->layout);
Eina_List *l, *l_next, *l2;
char *part_name;
-   Edje_Part_Type type;
+   Edje_Part_Type type = EDJE_PART_TYPE_NONE;
part_obj *po;
Evas *evas = evas_object_evas_get(dummy->layout);
Eina_Bool removed;
@@ -49,8 +50,9 @@ dummy_objs_update(dummy_obj *dummy)
  if (strlen(po->name) != strlen(part_name)) continue;
  if (!strcmp(po->name, part_name))
{
-  if (edje_edit_part_type_get(dummy->layout, part_name) ==
-  EDJE_PART_TYPE_SWALLOW)
+  type = edje_edit_part_type_get(dummy->layout, part_name);
+  if ((type == EDJE_PART_TYPE_SWALLOW) ||
+   (type == EDJE_PART_TYPE_SPACER))
 removed = EINA_FALSE;
   break;
}
@@ -59,7 +61,10 @@ dummy_objs_update(dummy_obj *dummy)
   {
  evas_object_del(po->obj);
  eina_stringshare_del(po->name);
- dummy->swallows = eina_list_remove_list(dummy->swallows, l);
+ if (type == EDJE_PART_TYPE_SWALLOW)
+   dummy->swallows = eina_list_remove_list(dummy->swallows, l);
+ else if (type == EDJE_PART_TYPE_SPACER)
+   dummy->spacers = eina_list_remove_list(dummy->spacers, l);
  free(po);
   }
  }
@@ -91,11 +96,67 @@ dummy_objs_update(dummy_obj *dummy)
  po->name = eina_stringshare_add(part_name);
  dummy->swallows = eina_list_append(dummy->swallows, po);
   }
+else if (type == EDJE_PART_TYPE_SPACER)
+  {
+ Eina_List *spacer_l;
+ Evas_Object *obj = NULL;
+ int x = 0, y = 0, w = 0, h = 0, lx = 0, ly = 0;
+
+ EINA_LIST_FOREACH(dummy->spacers, spacer_l, po)
+if (po->name == part_name)
+  {
+ obj = po->obj;
+ break;
+  }
+ if (!obj)
+   {
+  Evas_Object *scroller = view_obj_get(VIEW_DATA);
+  Evas_Object *scroller_edje = elm_layout_edje_get(scroller);
+  Evas_Object *clipper =
+ (Evas_Object *)edje_object_part_object_get(scroller_edje,
+"clipper");
+  obj = elm_layout_add(scroller);
+  elm_layout_file_set(obj, EDJE_PATH, "spacer");
+  evas_object_smart_member_add(obj, scroller);
+
+
+  po = malloc(sizeof(part_obj));
+  po->obj = obj;
+  po->name = eina_stringshare_add(part_name);
+  dummy->spacers = eina_list_append(dummy->spacers, po);
+