[E-devel] eina test suite segault - promises

2016-05-25 Thread The Rasterman
make check is failing now because the eina promise test is crashing. :( not
good (tm). :(


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: eina test suite - ooops reenable tests

2016-05-25 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit a1a2bc5017cbe718694836142b1206c1d9a064c1
Author: Carsten Haitzler (Rasterman) 
Date:   Thu May 26 13:03:01 2016 +0900

eina test suite - ooops reenable tests

accidentally snukc in commented disables in test suite as i was
hunting why eina test suite crashes while dealing with feedback on my
compare fixes etc.
---
 src/tests/eina/eina_suite.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/tests/eina/eina_suite.c b/src/tests/eina/eina_suite.c
index 577be68..994d66d 100644
--- a/src/tests/eina/eina_suite.c
+++ b/src/tests/eina/eina_suite.c
@@ -26,7 +26,6 @@
 #include "../efl_check.h"
 
 static const Efl_Test_Case etc[] = {
-/*
{ "FixedPoint", eina_test_fp },
{ "Inarray", eina_test_inarray },
{ "Array", eina_test_array },
@@ -65,7 +64,6 @@ static const Efl_Test_Case etc[] = {
{ "COW", eina_test_cow },
// Disabling Eina_Model test
//   { "Model", eina_test_model },
- */
{ "Barrier", eina_test_barrier },
{ "Tmp String", eina_test_tmpstr },
{ "Locking", eina_test_locking },

-- 




[EGIT] [core/efl] master 01/01: efl - new cmp "fix" code - remove one duplicated cmp

2016-05-25 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit 7ee4eba33f2a518b02bc0508c42b7524581ca61a
Author: Carsten Haitzler (Rasterman) 
Date:   Thu May 26 12:49:58 2016 +0900

efl - new cmp "fix" code - remove one duplicated cmp
---
 src/lib/eina/eina_file_common.c | 1 -
 src/tests/eina/eina_suite.c | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 317a421..2639db4 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -159,7 +159,6 @@ eina_file_map_key_cmp(const unsigned long long int *key1, 
int key1_length EINA_U
 if (key1[1] > key2[1]) return 1;
 return -1;
  }
-   if (key1[0] == key2[0]) return 0;
if (key1[0] > key2[0]) return 1;
return -1;
 }
diff --git a/src/tests/eina/eina_suite.c b/src/tests/eina/eina_suite.c
index 994d66d..577be68 100644
--- a/src/tests/eina/eina_suite.c
+++ b/src/tests/eina/eina_suite.c
@@ -26,6 +26,7 @@
 #include "../efl_check.h"
 
 static const Efl_Test_Case etc[] = {
+/*
{ "FixedPoint", eina_test_fp },
{ "Inarray", eina_test_inarray },
{ "Array", eina_test_array },
@@ -64,6 +65,7 @@ static const Efl_Test_Case etc[] = {
{ "COW", eina_test_cow },
// Disabling Eina_Model test
//   { "Model", eina_test_model },
+ */
{ "Barrier", eina_test_barrier },
{ "Tmp String", eina_test_tmpstr },
{ "Locking", eina_test_locking },

-- 




[EGIT] [core/efl] master 01/01: Fix addition of Evil library in .pc files

2016-05-25 Thread Vincent Torri
raster pushed a commit to branch master.

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

commit 837b2c7c09220f743ea128c64ca9f90d67ac14c3
Author: Vincent Torri 
Date:   Thu May 26 12:27:31 2016 +0900

Fix addition of Evil library in .pc files

Summary: lib/evil/libevil.la was added to .pc files, which broke the use of 
the EFL pc files

Test Plan: compilation

Reviewers: cedric, jpeg, zmike, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D3983
---
 m4/efl_check_funcs.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index 24c3dba..d48e02c 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -71,7 +71,7 @@ esac
 case "$host_os" in
mingw*)
   $2="yes"
-  EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+  EFL_ADD_LIBS([$1], [-levil])
;;
*)
   EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[
@@ -100,7 +100,7 @@ esac
 case "$host_os" in
mingw*)
   $2="yes"
-  EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+  EFL_ADD_LIBS([$1], [-levil])
;;
*)
   EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[
@@ -125,7 +125,7 @@ esac
 case "$host_os" in
mingw*)
   $2="yes"
-  EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+  EFL_ADD_LIBS([$1], [-levil])
;;
*)
   EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[

-- 




Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread David Seikel
On Wed, 25 May 2016 12:01:59 +0100 Daniel Kolesa 
wrote:

> Hello,
> 
> I've started removal of support for pointers in Eolian in order to
> bring the language one level up and make it easier to do bindings.
> This has already been done for class handles and for complex types
> like array, hash, iterator etc. but currently one big obstacle in the
> way is strings. I have a pretty clear idea in my head but it's
> possible I might have missed something so I'm asking here if anyone
> has any feedback or ideas or whatever that I could have missed before
> implementing it.
> 
> Basically my idea currently is to introduce a new "string" builtin,
> which ALWAYS represents const char *. Mutable char pointers will not
> be possible with this system - I believe we don't want these either,
> because they're low level and represent something that you can change
> but not resize, plus it doesn't map well to various languages,
> especially scripting ones. I did some analysis on our API and it seems
> we actually have very few uses for mutable char pointers - there is
> currently only a handful of cases across the EFL, as opposed to
> countless const ones. APIs that currently use mutable char pointers
> would be dealt with on per-case basis and redesigned, probably to use
> something like Eina_Strbuf (in most cases; strbuf will get another
> builtin eolian type) with wrappers for legacy.
> 
> Another thing is stringshares - I'm considering introducing another
> builtin for that, but maybe that won't be necessary. I gotta
> investigate more - again, there's only a handful of cases across the
> EFL anyways.
> 
> Overall, removing pointers will benefit probably everyone, I believe.
> For one it will mean that there won't be any need to map pointer types
> to higher level languages in generators; another thing is that it
> means death of nested types in Eolian, which will make manipulation of
> types with the API much simpler.
> 
> If you have any objections or notes, please bring them up. Otherwise,
> I will proceed with my approach.

Just woke up, but my initial thought is ... Lua has their user data
types, which are basically thin wrappers around C pointers or C data
structures.  Edje_lua2 uses them.  Dunno about the new EFL Lua stuff,
still have not gotten around to experimenting with that yet, but that
heavily uses LuaJIT FFI, which deals more directly with things like C
pointers.  So doesn't sound like such a good idea to me.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: efl - fix many bounds over/underflow where we use int for ptr cmp

2016-05-25 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit 41842ca9f92095ae08ae54d99e9dcfeadef401df
Author: Carsten Haitzler (Rasterman) 
Date:   Thu May 26 12:17:07 2016 +0900

efl - fix many bounds over/underflow where we use int for ptr cmp

this addresses more things brought up in comments in

fixes T3638 commentd

@fix
---
 src/lib/eina/eina_file_common.c | 11 +--
 src/lib/eina/eina_hash.c| 12 
 src/lib/eina/eina_quadtree.c|  4 +++-
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 8314f00..317a421 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -153,8 +153,15 @@ int
 eina_file_map_key_cmp(const unsigned long long int *key1, int key1_length 
EINA_UNUSED,
const unsigned long long int *key2, int key2_length 
EINA_UNUSED)
 {
-   if (key1[0] - key2[0] == 0) return key1[1] - key2[1];
-   return key1[0] - key2[0];
+   if (key1[0] == key2[0])
+ {
+if (key1[1] == key2[1]) return 0;
+if (key1[1] > key2[1]) return 1;
+return -1;
+ }
+   if (key1[0] == key2[0]) return 0;
+   if (key1[0] > key2[0]) return 1;
+   return -1;
 }
 
 int
diff --git a/src/lib/eina/eina_hash.c b/src/lib/eina/eina_hash.c
index ed155e5..b2d338d 100644
--- a/src/lib/eina/eina_hash.c
+++ b/src/lib/eina/eina_hash.c
@@ -536,20 +536,24 @@ static int
 _eina_int32_key_cmp(const uint32_t *key1, EINA_UNUSED int key1_length,
 const uint32_t *key2, EINA_UNUSED int key2_length)
 {
-   return *key1 - *key2;
+   if (*key1 == *key2) return 0;
+   if (*key1 > *key2) return 1;
+   return -1;
 }
 
 static unsigned int
-_eina_int64_key_length(EINA_UNUSED const uint32_t *key)
+_eina_int64_key_length(EINA_UNUSED const uint64_t *key)
 {
-   return 8;
+   return sizeof(int64_t);
 }
 
 static int
 _eina_int64_key_cmp(const uint64_t *key1, EINA_UNUSED int key1_length,
 const uint64_t *key2, EINA_UNUSED int key2_length)
 {
-   return *key1 - *key2;
+   if (*key1 == *key2) return 0;
+   if (*key1 > *key2) return 1;
+   return -1;
 }
 
 static Eina_Bool
diff --git a/src/lib/eina/eina_quadtree.c b/src/lib/eina/eina_quadtree.c
index e163e6f..246def7 100644
--- a/src/lib/eina/eina_quadtree.c
+++ b/src/lib/eina/eina_quadtree.c
@@ -167,7 +167,9 @@ _eina_quadtree_item_cmp(const void *a, const void *b)
const Eina_QuadTree_Item *i = a;
const Eina_QuadTree_Item *j = b;
 
-   return i->index - j->index;
+   if (i->index == j->index) return 0;
+   if (i->index > j->index) return 1;
+   return -1;
 }
 
 static Eina_QuadTree_Root *

-- 




Re: [E-devel] Elm Layout box/table broken

2016-05-25 Thread Jean-Philippe André
Hey Dave,

On 26 May 2016 at 03:05, Davide Andreoli  wrote:

> >From the last 2/3 days elm layout box and table legacy api is broken
>
> just try the elm test "Layout 2", it fail with this output:
> ERR<17789>:edje lib/edje/edje_util.c:3891
> _edje_object_efl_container_content_get() Edje group
> 'elm/layout/application/toolbar-vbox' part 'elm.box.content' is not a
> swallow. Did you mean to call efl_part() instead?
> ERR<17789>:edje lib/edje/edje_util.c:3891
> _edje_object_efl_container_content_get() Edje group
> 'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
> swallow. Did you mean to call efl_part() instead?
> ERR<17789>:edje lib/edje/edje_util.c:3891
> _edje_object_efl_container_content_get() Edje group
> 'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
> swallow. Did you mean to call efl_part() instead?
>
>
> I think that this is related to the recent efl_part changes,
> or maybe the containers interface works.
>
> both has been done by Jpeg, so I send a preliminary SPANK to him  :)
>

Yes. I'm working on this. More break^Wfixes to come soon.
But thanks a lot for the report, I'll check and fix asap.


-- 
Jean-Philippe André
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 02/03: eina: Add promise parameter to then calllbacks

2016-05-25 Thread Felipe Magno de Almeida
felipealmeida pushed a commit to branch master.

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

commit de9be13d458f2739a536e5863aa8caddd3f7f715
Author: Felipe Magno de Almeida 
Date:   Wed May 25 18:14:29 2016 -0300

eina: Add promise parameter to then calllbacks

Added promise parameter to then callbacks so callbacks can steal
ownership of the value from the promise.
---
 src/lib/ecore/ecore_thread_promise.c |  9 -
 src/lib/eina/eina_promise.c  | 30 ++
 src/lib/eina/eina_promise.h  | 25 +
 src/lib/elementary/elm_view_form.c   |  8 
 src/tests/ecore/ecore_test_promise.c | 14 +++---
 src/tests/eina/eina_test_promise.c   | 13 ++---
 6 files changed, 72 insertions(+), 27 deletions(-)

diff --git a/src/lib/ecore/ecore_thread_promise.c 
b/src/lib/ecore/ecore_thread_promise.c
index 1dea1bc..caf312c 100644
--- a/src/lib/ecore/ecore_thread_promise.c
+++ b/src/lib/ecore/ecore_thread_promise.c
@@ -47,7 +47,7 @@ static void 
_ecore_promise_ref_update(_Ecore_Thread_Promise_Owner* p)
 }
 }
 
-static void _ecore_promise_thread_release_ref(void* data, void* value 
EINA_UNUSED)
+static void _ecore_promise_thread_release_ref(void* data, void* value 
EINA_UNUSED, Eina_Promise* promise EINA_UNUSED)
 {
_Ecore_Thread_Promise_Owner* p = data;
p->ref_count -= p->then_count;
@@ -197,6 +197,11 @@ static size_t _ecore_promise_value_size_get(Eina_Promise 
const* promise)
_Ecore_Thread_Promise_Owner* v = ECORE_PROMISE_GET_OWNER(promise);
return v->eina_promise->value_size_get(v->eina_promise);
 }
+static void* _ecore_promise_release_value_ownership(Eina_Promise* promise)
+{
+   _Ecore_Thread_Promise_Owner* v = ECORE_PROMISE_GET_OWNER(promise);
+   return v->eina_promise->release_value_ownership(v->eina_promise);
+}
 
 Ecore_Thread* ecore_thread_promise_run(Ecore_Thread_Promise_Cb func_blocking,
Ecore_Thread_Promise_Cb func_cancel,
@@ -230,6 +235,8 @@ Ecore_Thread* 
ecore_thread_promise_run(Ecore_Thread_Promise_Cb func_blocking,
priv->promise_vtable.unref = EINA_FUNC_PROMISE_UNREF(&_ecore_promise_unref);
priv->promise_vtable.value_size_get = 
EINA_FUNC_PROMISE_VALUE_SIZE_GET(&_ecore_promise_value_size_get);
priv->promise_vtable.buffer_get = 
EINA_FUNC_PROMISE_BUFFER_GET(&_ecore_promise_buffer_get);
+   priv->promise_vtable.release_value_ownership = 
EINA_FUNC_PROMISE_RELEASE_VALUE_OWNERSHIP
+ (&_ecore_promise_release_value_ownership);

priv->thread_callback_data.data = data;
priv->thread_callback_data.func_blocking = func_blocking;
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index 93e7094..e8ef06d 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -169,11 +169,11 @@ _eina_promise_then_calls(_Eina_Promise_Default_Owner* 
promise)
if (error)
 {
   if (callback->error_cb)
-(*callback->error_cb)(callback->data, >promise.error);
+(*callback->error_cb)(callback->data, promise->promise.error, 
>promise.vtable);
 }
else if (callback->callback)
 {
-  (*callback->callback)(callback->data, >value[0]);
+  (*callback->callback)(callback->data, >value[0], 
>promise.vtable);
 }
free(callback);
_eina_promise_unref(>promise);
@@ -240,8 +240,23 @@ _eina_promise_value_get(_Eina_Promise_Default const* p)
  }
 }
 
+static void *
+_eina_promise_release_value_ownership(_Eina_Promise_Default* p)
+{
+   _Eina_Promise_Default_Owner* promise = EINA_PROMISE_GET_OWNER(p);
+   if (promise->promise.has_finished && !promise->promise.has_errored)
+ {
+   promise->promise.value_free_cb = NULL;
+   return (void*)>value[0];
+ }
+   else
+ {
+return NULL;
+ }
+}
+
 static void
-_eina_promise_owner_value_set(_Eina_Promise_Default_Owner* promise, void* 
data, Eina_Promise_Free_Cb free)
+_eina_promise_owner_value_set(_Eina_Promise_Default_Owner* promise, const 
void* data, Eina_Promise_Free_Cb free)
 {
if (data && promise->promise.value_size)
  {
@@ -481,6 +496,7 @@ eina_promise_default_add(int value_size)
p->promise.vtable.ref = EINA_FUNC_PROMISE_REF(_eina_promise_ref);
p->promise.vtable.unref = EINA_FUNC_PROMISE_UNREF(_eina_promise_unref);
p->promise.vtable.value_size_get = 
EINA_FUNC_PROMISE_VALUE_SIZE_GET(_eina_promise_value_size_get);
+   p->promise.vtable.release_value_ownership = 
EINA_FUNC_PROMISE_RELEASE_VALUE_OWNERSHIP(_eina_promise_release_value_ownership);
p->promise.has_finished = p->promise.has_errored =
  p->promise.is_cancelled = p->promise.is_manual_then = EINA_FALSE;
p->promise.is_first_then = EINA_TRUE;
@@ -781,7 +797,7 @@ eina_promise_then(Eina_Promise* promise, Eina_Promise_Cb 
callback,
 }
 
 EAPI void

[EGIT] [core/efl] master 01/03: eio: Call correct function to cleanup Eio_File.

2016-05-25 Thread Lauro Moura
felipealmeida pushed a commit to branch master.

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

commit 0eacdc03da738bebe03ac22fe377836751877345
Author: Lauro Moura 
Date:   Mon Apr 25 18:02:05 2016 -0300

eio: Call correct function to cleanup Eio_File.

The Eio functions operating on Eina_Files were just freeing
the Eio_File pointer on completion instead of calling eio_file_free
to unregister the thread.
---
 src/lib/eio/eio_map.c |  6 +++---
 src/tests/eio/eio_test_file.c | 47 +++
 2 files changed, 50 insertions(+), 3 deletions(-)

diff --git a/src/lib/eio/eio_map.c b/src/lib/eio/eio_map.c
index 9f913e1..194b338 100644
--- a/src/lib/eio/eio_map.c
+++ b/src/lib/eio/eio_map.c
@@ -44,7 +44,7 @@ static void
 _eio_file_open_free(Eio_File_Map *map)
 {
if (map->name) eina_stringshare_del(map->name);
-   free(map);
+   eio_file_free((Eio_File*)map);
 }
 
 static void
@@ -144,7 +144,7 @@ _eio_file_map_end(void *data, Ecore_Thread *thread 
EINA_UNUSED)
Eio_File_Map_Rule *map = data;
 
map->map_cb((void*) map->common.data, >common, map->result, 
map->length);
-   free(map);
+   eio_file_free((Eio_File*)map);
 }
 
 static void
@@ -153,7 +153,7 @@ _eio_file_map_cancel(void *data, Ecore_Thread *thread 
EINA_UNUSED)
Eio_File_Map_Rule *map = data;
 
eio_file_error(>common);
-   free(map);
+   eio_file_free((Eio_File*)map);
 }
 
 /**
diff --git a/src/tests/eio/eio_test_file.c b/src/tests/eio/eio_test_file.c
index 5513e90..d4c71cd 100644
--- a/src/tests/eio/eio_test_file.c
+++ b/src/tests/eio/eio_test_file.c
@@ -118,6 +118,15 @@ _error_cb(void *data EINA_UNUSED, Eio_File *handler 
EINA_UNUSED, int error)
ecore_main_loop_quit();
 }
 
+static void
+_open_done_cb(void *data, Eio_File *handler EINA_UNUSED, Eina_File *file)
+{
+   Eina_Bool *opened = (Eina_Bool *)data;
+   *opened = EINA_TRUE;
+   eina_file_close(file);
+   ecore_main_loop_quit();
+}
+
 Eina_Tmpstr*
 get_full_path(const char* tmpdirname, const char* filename)
 {
@@ -368,9 +377,47 @@ START_TEST(eio_file_test_file)
 }
 END_TEST
 
+START_TEST(eio_file_test_open)
+{
+   Eina_Bool opened_file;
+   int ret;
+
+   ret = ecore_init();
+   fail_if(ret < 1);
+   ret = eio_init();
+   fail_if(ret < 1);
+   ret = eina_init();
+   fail_if(ret < 1);
+   ret = ecore_file_init();
+   fail_if(ret < 1);
+
+
+   Eina_Tmpstr *test_dirname = get_eio_test_file_tmp_dir();
+   Eina_Tmpstr *nested_dirname = create_test_dirs(test_dirname);
+   Eina_Tmpstr *nested_filename = get_full_path(test_dirname, files[3]);
+
+   opened_file = EINA_FALSE;
+   eio_file_open(nested_filename, EINA_FALSE, _open_done_cb, _error_cb, 
_file);
+   ecore_main_loop_begin();
+   fail_if(!opened_file);
+
+   // Cleanup
+   fail_if(!ecore_file_recursive_rm(test_dirname));
+
+   eina_tmpstr_del(nested_dirname);
+   eina_tmpstr_del(test_dirname);
+   eina_tmpstr_del(nested_filename);
+   ecore_file_shutdown();
+   eina_shutdown();
+   eio_shutdown();
+   ecore_shutdown();
+}
+END_TEST
+
 void
 eio_test_file(TCase *tc)
 {
 tcase_add_test(tc, eio_file_test_ls);
 tcase_add_test(tc, eio_file_test_file);
+tcase_add_test(tc, eio_file_test_open);
 }

-- 




[EGIT] [core/efl] master 01/01: eina hash - fix stringshare key comparison function

2016-05-25 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit 636c8b48c7da345eeb58b0eb0f436e0386e46e6f
Author: Carsten Haitzler (Rasterman) 
Date:   Thu May 26 09:28:23 2016 +0900

eina hash - fix stringshare key comparison function

this fixes T3638

@fix

a note... thanks so much to aerodynamik for spotting this. i'm rather
surprised coverity didn't spot this... unless someone said to "shut up
coverity you're wrong" and they should not have.

i also might have expected compilers to spot this too... and add a
warning.

anyway ... this was a seriously subtle bug that could have caused all
kinds of havoc in efl.  keys that are different may be compared to be
the same. it could get ordering wrong and sorting thus maybe insert
keys that cannot be found anymore and oh so much more besides.
---
 src/lib/eina/eina_hash.c | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_hash.c b/src/lib/eina/eina_hash.c
index f950b19..ed155e5 100644
--- a/src/lib/eina/eina_hash.c
+++ b/src/lib/eina/eina_hash.c
@@ -508,7 +508,22 @@ static int
 _eina_stringshared_key_cmp(const char *key1, EINA_UNUSED int key1_length,
const char *key2, EINA_UNUSED int key2_length)
 {
-   return key1 - key2;
+// logically we want to do this:
+//   return key1 - key2;
+// but since they are ptrs and an int can't store the different of 2 ptrs in
+// either 32 or 64bit (signed hasn't got enough range for the diff of 2
+// 32bit values regardless of their type... we'd need 33bits or 65bits)
+// so do this...
+   if (key1 == key2) return 0;
+   if (key1 > key2) return 1;
+   return -1;
+// NOTE: this seems odd. we don't sort by string content at all... we sort
+// by pointer location in memory. this seems odd at first, BUT this does
+// work because with stringshare each ptr holds a unique string and we
+// cannot have 2 ptrs in stringshare have the same string content thus we
+// can't go wrong and have 2 ptrs be different yet the string key be the
+// same, thus we can avoid walking the string, so sorting by ptr value is
+// frankly as good as anything. :) (this is only within the bucket too)
 }
 
 static unsigned int

-- 




[EGIT] [tools/edi] master 01/01: ui:fix title bar attribute of settings, about window

2016-05-25 Thread YeongJong Lee
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=9f112d07ae68f640c46396ff7715b0086d73f1db

commit 9f112d07ae68f640c46396ff7715b0086d73f1db
Author: YeongJong Lee 
Date:   Wed May 25 23:05:00 2016 +0100

ui:fix title bar attribute of settings, about window

Summary:
ui:fx title bar attribute of settings, about window.
when using not enlightenment but other window manger, settings,about window 
can't be closed with one click.
they need close button.

Test Plan:
1. start edi.
2. select project.
3-1. click settings icon.
3-2. click About icon.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D3979
---
 src/bin/screens/edi_about.c| 2 +-
 src/bin/screens/edi_settings.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/screens/edi_about.c b/src/bin/screens/edi_about.c
index 26bad12..407dc14 100644
--- a/src/bin/screens/edi_about.c
+++ b/src/bin/screens/edi_about.c
@@ -27,7 +27,7 @@ edi_about_show(Evas_Object *mainwin)
int alpha, r, g, b;
char buf[PATH_MAX];
 
-   win = elm_win_add(mainwin, "about", ELM_WIN_DIALOG_BASIC);
+   win = elm_win_add(mainwin, "about", ELM_WIN_BASIC);
if (!win) return NULL;
 
elm_win_title_set(win, "About Edi (" VERSION ")");
diff --git a/src/bin/screens/edi_settings.c b/src/bin/screens/edi_settings.c
index 26a9e59..6ee3f27 100644
--- a/src/bin/screens/edi_settings.c
+++ b/src/bin/screens/edi_settings.c
@@ -418,7 +418,7 @@ edi_settings_show(Evas_Object *mainwin)
Evas_Object *win, *bg, *table, *naviframe, *tb;
Elm_Object_Item *tb_it, *default_it;
 
-   win = elm_win_add(mainwin, "settings", ELM_WIN_DIALOG_BASIC);
+   win = elm_win_add(mainwin, "settings", ELM_WIN_BASIC);
if (!win) return NULL;
 
elm_win_title_set(win, "Edi Settings");

-- 




[EGIT] [tools/edi] master 01/01: ui: Update close icon to document-close

2016-05-25 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=4d0b4468c4c9fad2216f9ff29f4b7ec3d054cf72

commit 4d0b4468c4c9fad2216f9ff29f4b7ec3d054cf72
Author: Andy Williams 
Date:   Wed May 25 23:02:39 2016 +0100

ui: Update close icon to document-close
---
 src/bin/edi_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c
index 251a21e..c83bfd2 100644
--- a/src/bin/edi_main.c
+++ b/src/bin/edi_main.c
@@ -835,8 +835,8 @@ _edi_menu_setup(Evas_Object *win)
elm_menu_item_add(menu, menu_it, "document-new", "New ...", 
_edi_menu_new_cb, NULL);
elm_menu_item_add(menu, menu_it, "document-save", "Save", 
_edi_menu_save_cb, NULL);
elm_menu_item_add(menu, menu_it, "window-new", "New window", 
_edi_menu_open_window_cb, NULL);
-   elm_menu_item_add(menu, menu_it, "window-close", "Close", 
_edi_menu_close_cb, NULL);
-   elm_menu_item_add(menu, menu_it, "window-close", "Close all", 
_edi_menu_closeall_cb, NULL);
+   elm_menu_item_add(menu, menu_it, "document-close", "Close", 
_edi_menu_close_cb, NULL);
+   elm_menu_item_add(menu, menu_it, "document-close", "Close all", 
_edi_menu_closeall_cb, NULL);
elm_menu_item_separator_add(menu, menu_it);
elm_menu_item_add(menu, menu_it, "preferences-desktop", "Settings", 
_edi_menu_settings_cb, NULL);
elm_menu_item_separator_add(menu, menu_it);
@@ -889,7 +889,7 @@ edi_toolbar_setup(Evas_Object *win)
 
tb_it = elm_toolbar_item_append(tb, "document-new", "New File", _tb_new_cb, 
NULL);
tb_it = elm_toolbar_item_append(tb, "document-save", "Save", _tb_save_cb, 
NULL);
-   tb_it = elm_toolbar_item_append(tb, "window-close", "Close", _tb_close_cb, 
NULL);
+   tb_it = elm_toolbar_item_append(tb, "document-close", "Close", 
_tb_close_cb, NULL);
 
tb_it = elm_toolbar_item_append(tb, "separator", "", NULL, NULL);
elm_toolbar_item_separator_set(tb_it, EINA_TRUE);

-- 




[EGIT] [tools/eflete] master 01/01: popup_style: style for TIZEN popup

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=999a5a2c9e7b85b6840918f5b858d956b964fe1a

commit 999a5a2c9e7b85b6840918f5b858d956b964fe1a
Author: Vitalii Vorobiov 
Date:   Wed May 25 23:21:39 2016 +0300

popup_style: style for TIZEN popup
---
 data/themes/tizen/widgets/popup.edc | 242 
 1 file changed, 79 insertions(+), 163 deletions(-)

diff --git a/data/themes/tizen/widgets/popup.edc 
b/data/themes/tizen/widgets/popup.edc
index 1191b12..07a6fc2 100644
--- a/data/themes/tizen/widgets/popup.edc
+++ b/data/themes/tizen/widgets/popup.edc
@@ -38,48 +38,26 @@ group { name: "elm/notify/block_events/popup/default";
}
 }
 group { name: "elm/notify/center/popup/default";
-   images {
-  image: "popup-bg.png" COMP;
-   }
-   parts {
-  part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
-color: 0 0 0 0;
-rel1.relative: 0.0 0.0;
-rel2.relative: 1.0 1.0;
- }
-  }
-  part { name: "pop";
- description { state: "default" 0.0;
-image {
-   normal: "popup-bg.png";
-   border: 34 34 34 34;
-}
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
- }
-  }
-  part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
-rel1 {
-   to: "pop";
-   offset: 27 21;
-}
-rel2 {
-   to: "pop";
-   offset: -28 -22;
-}
- }
-  }
-   }
+  parts {
+ part { name: "base";
+type: RECT;
+mouse_events: 0;
+repeat_events: 1;
+description { state: "default" 0.0;
+   color: 0 0 0 0;
+}
+ }
+ part { name: "bg";
+type: RECT;
+description { state: "default" 0.0;
+}
+ }
+ part { name: "elm.swallow.content";
+type: SWALLOW;
+description { state: "default" 0.0;
+}
+ }
+  }
 }
 
 group { name: "elm/label/base/popup/default";
@@ -98,11 +76,7 @@ group { name: "elm/label/base/popup/default";
   }
}
 }
-
 group { name: "elm/popup/base/default";
-   images{
- image:"separator-horizontal.png" COMP;
-   }
parts {
   part { name: "base";
  type: SPACER;
@@ -115,34 +89,29 @@ group { name: "elm/popup/base/default";
   part { name: "elm.text.title";
  type: TEXT;
  description { state: "default" 0.0;
-align: 0.5 0.0;
-min: 0 34;
-max: -1 34;
-color_class: "main";
-rel1 {
-   to: "base";
+align: 0.0 0.0;
+min: 0 30;
+max: 491 34;
+color_class: "genlist_text_tree";
+text {
+   font: "PT";
+   size: 15;
+   align: 0.0 0.5;
 }
-rel2 {
+rel1 {
+   offset: 10 0;
to: "base";
 }
-text {
-   font: "PT:style=Bold";
-   size: 13;
-}
+rel2.to: "base";
  }
   }
-  part { name: "separator.title";
- type: IMAGE;
+  part { name: "content_bg";
+ type: RECT;
+ scale: 1;
  description { state: "default" 0.0;
-align: 0.5 0.0;
-max: -1 2;
-rel1 {
-   relative: 0.0 1.0;
-   to_y: "elm.text.title";
-}
-image {
-   normal: "separator-horizontal.png";
-}
+ color: 244 244 244 255;
+rel1.to_y: "separator.title";
+rel2.to_y: "separator.action_area";
  }
   }
   part { name: "elm.swallow.content";
@@ -150,9 +119,10 @@ group { name: "elm/popup/base/default";
  scale: 1;
  description { state: "default" 0.0;
 fixed: 1 0;
-min: 0 70;
+min: 0 98;
 rel1 {
relative: 0.0 1.0;
+   offset: 20 0;
to_y: "separator.title";
 }
 rel2 {
@@ -162,17 +132,15 @@ group { name: "elm/popup/base/default";
  }
   }
   part { name: "separator.action_area";
- type: IMAGE;
+ type: RECT;
  description { state: "default" 0.0;
 align: 0.5 1.0;
-max: -1 2;
+max: -1 1;
+color: 176 176 176 255;
 rel2 {
relative: 1.0 0.0;
to_y: "elm.swallow.action_area";
 }
-image {
-   normal: "separator-horizontal.png";
-}
  }
   }
   part { name: "elm.swallow.action_area";
@@ -180,89 

[EGIT] [tools/eflete] master 43/59: Tizen theme: update styles for main window layout and bg.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d0cdbafce5953b0514feb759a4b61c7d0e7e36f3

commit d0cdbafce5953b0514feb759a4b61c7d0e7e36f3
Author: Mykyta Biliavskyi 
Date:   Wed May 25 20:00:29 2016 +0300

Tizen theme: update styles for main window layout and bg.
---
 data/themes/tizen/widgets/bg.edc |  2 +-
 data/themes/tizen/widgets/layout.edc | 73 ++--
 2 files changed, 38 insertions(+), 37 deletions(-)

diff --git a/data/themes/tizen/widgets/bg.edc b/data/themes/tizen/widgets/bg.edc
index d55f911..81abb8a 100644
--- a/data/themes/tizen/widgets/bg.edc
+++ b/data/themes/tizen/widgets/bg.edc
@@ -2,7 +2,7 @@ group { name: "elm/bg/base/default";
parts {
   part { name: "base"; type: RECT;
  description { state: "default" 0.0;
-color_class: "bg_scroller";
+color_class: "genlist_bg";
  }
   }
   part { name: "elm.swallow.rectangle"; type: SWALLOW;
diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index 51ff0e4..d0504ac 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -1,76 +1,77 @@
 group { name: "elm/layout/window/main";
-   images {
-  image: "status-top_border-bg.png" COMP;
-   }
parts {
+  part { name: "window.border";
+ type: RECT;
+ description { state: "default" 0.0;
+align: 0.5 0.0;
+min: 0 1;
+max: -1 1;
+color_class: "border";
+ }
+  }
   part { name: "eflete.swallow.panes";
  type: SWALLOW;
  scale: 1;
- mouse_events: 1;
- description { state:   "default" 0.0;
+ description { state: "default" 0.0;
+rel1.to_y: "window.border";
 rel2 {
relative: 1.0 0.0;
to: "statusbar";
 }
-  }
+ }
   }
   part { name: "statusbar";
  type: SPACER;
  scale: 1;
  description { state: "default" 0.0;
-max: -1 20;
 align: 0.5 1.0;
+max: -1 20;
  }
   }
-  part { name: "statusbar_border";
- type: IMAGE;
+  part { name: "statusbar.border";
+ type: RECT;
  description { state: "default" 0.0;
 align: 0.5 0.0;
-max: -1 2;
-rel1 {
-   to: "statusbar";
-}
-image {
-   normal: "status-top_border-bg.png";
-}
+min: 0 1;
+max: -1 1;
+color_class: "border";
+rel1.to: "statusbar";
  }
   }
   part { name: "eflete.project.time";
  type: TEXT;
- description {
-max: 500 -1;
+ description { state: "default" 0.0;
 align: 0.0 0.5;
-rel1 {
-   to: "statusbar";
-   offset: 3 0;
-}
-rel2 {
-   to: "statusbar";
-}
+max: 500 -1;
+color_class: "genlist_text_tree";
 text {
+   font: "Sans";
size: 11;
-   font: PT;
align: 0.0 0.5;
 }
+rel1 {
+   offset: 3 0;
+   to: "statusbar";
+}
+rel2.to: "statusbar";
  }
   }
   part { name: "eflete.project.part";
  type: TEXT;
- description {
+ description { state: "default" 0.0;
 align: 0.0 0.5;
-rel1 {
-   to_x: "eflete.project.time";
-   to_y: "statusbar";
-   relative: 1.0 0.0;
-}
-rel2 {
-   to: "statusbar";
-}
+color_class: "genlist_text_tree";
 text {
+   font: "Sans";
size: 11;
-   font: PT;
align: 0.0 0.5;
 }
+rel1 {
+   relative: 1.0 0.0;
+   to_x: "eflete.project.time";
+   to_y: "statusbar";
+}
+rel2.to: "statusbar";
  }
   }
}

-- 




[EGIT] [tools/eflete] master 02/59: Tizen theme: update style for navigator layout.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d95f2718f18f4c0884dc57991ae19f4768766694

commit d95f2718f18f4c0884dc57991ae19f4768766694
Author: Mykyta Biliavskyi 
Date:   Tue May 24 20:28:15 2016 +0300

Tizen theme: update style for navigator layout.
---
 data/themes/tizen/widgets/layout.edc | 45 +++-
 1 file changed, 18 insertions(+), 27 deletions(-)

diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index d4f5359..614bb19 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -236,7 +236,7 @@ group { name: "elm/layout/navigator/default";
   part { name: "bg";
  type: RECT;
  description { state: "default" 0.0;
-color_class: "bg_main";
+color: 225 225 225 255;
  }
   }
   part { name: "area.top";
@@ -251,29 +251,14 @@ group { name: "elm/layout/navigator/default";
   part { name: "elm.text";
  type: TEXT;
  description { state: "default" 0.0;
-align: 0.5 0.5;
 fixed: 1 1;
 color_class: "main";
-rel1 {
-   offset: 20 0;
-   to: "area.top";
-}
-rel2 {
-   relative: 0.0 1.0;
-   offset: -4 -1;
-   to_x: "elm.swallow.btn3";
-   to_y: "area.top";
-}
+color: 0 150 221 255;
 text {
-   font: "PT";
+   font: "Sans:style=Bold";
size: 13;
align: 0.0 0.5;
 }
- }
- description { state: "disabled" 0.0;
-align: 0.5 0.5;
-fixed: 1 1;
-color_class: "main_disabled";
 rel1 {
offset: 20 0;
to: "area.top";
@@ -284,11 +269,18 @@ group { name: "elm/layout/navigator/default";
to_x: "elm.swallow.btn3";
to_y: "area.top";
 }
-text {
-   font: "pt";
-   size: 15;
-   align: 0.0 0.5;
-}
+ }
+ description { state: "disabled" 0.0;
+inherit: "default" 0.00;
+color_class: "main_disabled";
+color: 255 255 255 255;
+ }
+  }
+  part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+min: 0 16;
+max: -1 16;
  }
   }
   part { name: "elm.swallow.content";
@@ -296,10 +288,9 @@ group { name: "elm/layout/navigator/default";
  description { state: "default" 0.0;
 rel1 {
relative: 0.0 1.0;
-   offset: 3 3;
+   offset: -1 3;
to_y: "area.top";
 }
-rel2.offset: -4 -4;
  }
   }
   part { name: "elm.swallow.btn0";
@@ -369,13 +360,13 @@ group { name: "elm/layout/navigator/default";
   program { name: "enabled";
  signal: "elm,state,enabled";
  source: "elm";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "default" 0.00;
  target: "elm.text";
   }
   program { name: "disabled";
  signal: "elm,state,disabled";
  source: "elm";
- action: STATE_SET "disabled" 0.0;
+ action: STATE_SET "disabled" 0.00;
  target: "elm.text";
   }
}

-- 




[EGIT] [tools/eflete] master 42/59: property_group: fix abort on setting part_item source

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=fe5a77ed0d69b21aeacf303b03db2f73faea26ca

commit fe5a77ed0d69b21aeacf303b03db2f73faea26ca
Author: Andrii Kroitor 
Date:   Wed May 25 19:46:47 2016 +0300

property_group: fix abort on setting part_item source
---
 src/bin/ui/property/property_group.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 28576b9..8101fa3 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -3430,7 +3430,7 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
 
   case ATTRIBUTE_PART_ITEM_SOURCE:
  assert(cb_item != NULL);
- str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
+ str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_item_source_set(EDIT_OBJ, CHANGE_NO_MERGE, 
ITEM_ARGS, str_val1));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;

-- 




[EGIT] [tools/eflete] master 47/59: history_ui: remake

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=b13de03df7ba81626cc507db1db24eeb94930a4d

commit b13de03df7ba81626cc507db1db24eeb94930a4d
Author: Andrii Kroitor 
Date:   Wed May 25 21:23:32 2016 +0300

history_ui: remake
---
 src/bin/ui/history_ui.c  | 115 ---
 src/bin/ui/history_ui.h  |  11 +++-
 src/bin/ui/tabs.c|  31 +++
 src/bin/ui/workspace/workspace.c |  26 -
 src/bin/ui/workspace/workspace.h |   9 +++
 5 files changed, 134 insertions(+), 58 deletions(-)

diff --git a/src/bin/ui/history_ui.c b/src/bin/ui/history_ui.c
index ad8277b..62078ae 100644
--- a/src/bin/ui/history_ui.c
+++ b/src/bin/ui/history_ui.c
@@ -32,115 +32,118 @@ typedef struct {
Group *group;
 } History_New_UI_data;
 
-static History_New_UI_data hd;
+#define HISTORY_DATA "history_data"
+#define HISTORY_DATA_GET(OBJ) \
+   History_New_UI_data *hd = evas_object_data_get(OBJ, HISTORY_DATA); \
+   assert(hd != NULL);
 
 static void
-_list_update(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *ei __UNUSED__)
+_list_update(History_New_UI_data *hd)
 {
Change *change = NULL;
Eina_List *l = NULL;
 
+   assert(hd != NULL);
+
/* removing all reverted changes because the were deleted from history */
-   ewe_combobox_items_list_free(hd.undo_cmbx, EINA_FALSE);
-   ewe_combobox_items_list_free(hd.redo_cmbx, EINA_FALSE);
+   ewe_combobox_items_list_free(hd->undo_cmbx, EINA_FALSE);
+   ewe_combobox_items_list_free(hd->redo_cmbx, EINA_FALSE);
 
Eina_List *reverse_redo = NULL;
-   EINA_LIST_REVERSE_FOREACH(hd.history->changes, l, change)
+   EINA_LIST_REVERSE_FOREACH(hd->history->changes, l, change)
  {
 if (!change->reverted)
-  ewe_combobox_item_add(hd.undo_cmbx, change->description);
+  ewe_combobox_item_add(hd->undo_cmbx, change->description);
 else
   reverse_redo = eina_list_append(reverse_redo, change);
  }
 
EINA_LIST_REVERSE_FOREACH(reverse_redo, l, change)
  {
-ewe_combobox_item_add(hd.redo_cmbx, change->description);
+ewe_combobox_item_add(hd->redo_cmbx, change->description);
  }
 }
 
 static void
-_undo_item_selected(void *data __UNUSED__,
+_undo_item_selected(void *data,
Evas_Object *obj __UNUSED__,
void *ei)
 {
+   History_New_UI_data *hd = data;
Ewe_Combobox_Item *it = (Ewe_Combobox_Item *)ei;
unsigned int i;
 
+   assert(hd != NULL);
+
for (i = 0; i <= it->index; i++)
- CRIT_ON_FAIL(history_undo(hd.history));
+ CRIT_ON_FAIL(history_undo(hd->history));
 
evas_object_smart_callback_call(ap.win, SIGNAL_PROPERTY_ATTRIBUTE_CHANGED, 
NULL);
-   _list_update(data, obj, ei);
+   _list_update(hd);
 }
 
 static void
-_redo_item_selected(void *data __UNUSED__,
+_redo_item_selected(void *data,
 Evas_Object *obj __UNUSED__,
 void *ei)
 {
+   History_New_UI_data *hd = data;
Ewe_Combobox_Item *it = (Ewe_Combobox_Item *)ei;
unsigned int i;
 
+   assert(hd != NULL);
+
for (i = 0; i <= it->index; i++)
- CRIT_ON_FAIL(history_redo(hd.history));
+ CRIT_ON_FAIL(history_redo(hd->history));
 
evas_object_smart_callback_call(ap.win, SIGNAL_PROPERTY_ATTRIBUTE_CHANGED, 
NULL);
-   _list_update(data, obj, ei);
+   _list_update(hd);
 }
 
-static void
-_on_change_undo(void *data, Evas_Object *obj, void *ei)
+void
+history_ui_undo(Evas_Object *obj)
 {
-   history_undo(hd.history);
-   _list_update(data, obj, ei);
+   HISTORY_DATA_GET(obj);
+   history_undo(hd->history);
+   _list_update(hd);
 }
 
-static void
-_on_change_redo(void *data, Evas_Object *obj, void *ei)
+void
+history_ui_redo(Evas_Object *obj)
 {
-   history_redo(hd.history);
-   _list_update(data, obj, ei);
+   HISTORY_DATA_GET(obj);
+   history_redo(hd->history);
+   _list_update(hd);
 }
 
-static void
-_history_set_new(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *ei)
+void
+history_ui_update(Evas_Object *obj)
 {
-   Group *group = ei;
-
-   ewe_combobox_items_list_free(hd.undo_cmbx, EINA_FALSE);
-   ewe_combobox_items_list_free(hd.redo_cmbx, EINA_FALSE);
-
-   hd.history = (group) ? group->history : NULL;
-   hd.group = group;
+   HISTORY_DATA_GET(obj);
+   _list_update(hd);
 }
 
 Evas_Object *
-history_ui_add(void)
+history_ui_add(Evas_Object *parent, History *history)
 {
-   assert(ap.win != NULL);
-
-   hd.layout = elm_layout_add(ap.win);
-   elm_layout_theme_set(hd.layout, "layout", "history", "combobox");
-
-   EWE_COMBOBOX_ADD(hd.layout, hd.undo_cmbx);
-   ewe_combobox_style_set(hd.undo_cmbx, "undo");
-   elm_object_part_content_set(hd.layout, "undo", hd.undo_cmbx);
-   evas_object_smart_callback_add(hd.undo_cmbx, "selected", 
_undo_item_selected, NULL);
-
-   EWE_COMBOBOX_ADD(hd.layout, hd.redo_cmbx);
-   

[EGIT] [tools/eflete] master 52/59: workspace: make hard update on part state change

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=b137c95b925f12849bcf3de64e1fc75da9e858da

commit b137c95b925f12849bcf3de64e1fc75da9e858da
Author: Andrii Kroitor 
Date:   Wed May 25 22:02:49 2016 +0300

workspace: make hard update on part state change
---
 src/bin/ui/workspace/workspace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c
index 87bba3b..6ab0dcd 100644
--- a/src/bin/ui/workspace/workspace.c
+++ b/src/bin/ui/workspace/workspace.c
@@ -1294,7 +1294,7 @@ workspace_part_state_select(Evas_Object *obj,
part = pm_resource_unsorted_get(wd->group->parts, part_name);
state = pm_resource_get(part->states, state_name);
 
-   groupview_soft_update(wd->normal.content);
+   groupview_hard_update(wd->normal.content);
group_navigator_part_state_select(wd->group_navi, state);
 }
 

-- 




[EGIT] [tools/eflete] master 55/59: Tizen theme: place back layout for history combobox.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=a54467c08eedafb09a7601bb70e0d068521beeae

commit a54467c08eedafb09a7601bb70e0d068521beeae
Author: Mykyta Biliavskyi 
Date:   Wed May 25 22:52:03 2016 +0300

Tizen theme: place back layout for history combobox.
---
 data/themes/tizen/widgets/layouts/history.edc | 33 +++
 1 file changed, 33 insertions(+)

diff --git a/data/themes/tizen/widgets/layouts/history.edc 
b/data/themes/tizen/widgets/layouts/history.edc
index e44665e..0b9f2f6 100644
--- a/data/themes/tizen/widgets/layouts/history.edc
+++ b/data/themes/tizen/widgets/layouts/history.edc
@@ -44,3 +44,36 @@ group { name: "elm/layout/history/default";
   }
}
 }
+
+group { name: "elm/layout/history/combobox";
+   broadcast_signal: 0;
+   parts {
+  part { name: "undo";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+align: 0.0 0.5;
+fixed: 1 1;
+min: 32 20;
+max: 32 20;
+rel1.offset: 16 0;
+ }
+  }
+  part { name: "redo";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+align: 0.0 0.5;
+fixed: 1 1;
+min: 32 20;
+max: 32 20;
+rel1 {
+   relative: 1.0 0.0;
+   offset: 9 0;
+   to_x: "undo";
+}
+rel2.offset: -17 -1;
+ }
+  }
+   }
+}

-- 




[EGIT] [tools/eflete] master 53/59: Tizen theme: update genlist item default style.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=e326be2d6f6a4a3b82185f5bfae57c07e5ed66b3

commit e326be2d6f6a4a3b82185f5bfae57c07e5ed66b3
Author: Mykyta Biliavskyi 
Date:   Wed May 25 22:02:35 2016 +0300

Tizen theme: update genlist item default style.
---
 data/themes/tizen/widgets/genlist.edc | 173 +-
 1 file changed, 171 insertions(+), 2 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist.edc 
b/data/themes/tizen/widgets/genlist.edc
index cd2bee8..01dfd7c 100644
--- a/data/themes/tizen/widgets/genlist.edc
+++ b/data/themes/tizen/widgets/genlist.edc
@@ -5,7 +5,176 @@
 #define BG_COLOR 39 42 43 255
 #define LIST_ITEM_REORDERED_COLOR 200 150 0 255
 
-group { name: "elm/genlist/item/default/default";
+   group { name: "elm/genlist/item/default/default";
+  data {
+ item: "texts" "elm.text";
+ item: "treesize" "20";
+ item: "contents" "elm.swallow.icon elm.swallow.end";
+ item: "stacking" "above";
+ item: "selectraise" "on";
+  }
+  parts {
+ part { name: "bg";
+type: RECT;
+description { state: "default" 0.0;
+   color: 0 0 0 0;
+}
+description { state: "selected" 0.0;
+   inherit: "default" 0.00;
+   color_class: "genlist_selected";
+   color: 255 255 255 255;
+}
+description { state: "reorder" 0.0;
+   inherit: "selected" 0.00;
+   color_class: "select";
+}
+ }
+ part { name: "separator";
+type: RECT;
+description { state: "default" 0.0;
+   visible: 0;
+   align: 0.5 1.0;
+   min: 0 1;
+   max: -1 1;
+   color: 68 68 68 255;
+}
+description { state: "hide" 0.0;
+   inherit: "default" 0.00;
+   visible: 0;
+}
+ }
+ part { name: "elm.swallow.pad";
+type: SWALLOW;
+description { state: "default" 0.0;
+   align: 0.0 0.5;
+   fixed: 1 0;
+   rel2.relative: 0.0 1.0;
+}
+description { state: "hide" 0.0;
+   inherit: "default" 0.00;
+   visible: 0;
+}
+ }
+ part { name: "elm.swallow.icon";
+type: SWALLOW;
+repeat_events: 1;
+description { state: "default" 0.0;
+   align: 0.0 0.5;
+   min: 14 14;
+   max: 14 14;
+   aspect: 1.0 1.0;
+   aspect_preference: VERTICAL;
+   rel1 {
+  relative: 1.0 0.0;
+  offset: 6 3;
+  to_x: "elm.swallow.pad";
+   }
+   rel2 {
+  relative: 0.0 1.0;
+  offset: -1 -4;
+   }
+}
+description { state: "hide" 0.0;
+   inherit: "default" 0.00;
+   visible: 0;
+}
+ }
+ part { name: "elm.text";
+type: TEXT;
+repeat_events: 1;
+description { state: "default" 0.0;
+   min: 0 26;
+   color_class: "genlist_text_tree";
+   text {
+  font: "Sans";
+  size: 13;
+  align: 0.0 0.5;
+   }
+   rel1 {
+  relative: 1.0 0.0;
+  offset: 6 0;
+  to_x: "elm.swallow.icon";
+   }
+   rel2 {
+  relative: 0.0 1.0;
+  offset: -7 -1;
+  to_x: "elm.swallow.end";
+   }
+}
+description { state: "hide" 0.0;
+   inherit: "default" 0.00;
+   visible: 0;
+   color_class: "main";
+}
+ }
+ part { name: "elm.swallow.end";
+type: SWALLOW;
+repeat_events: 1;
+description { state: "default" 0.0;
+   align: 1.0 0.5;
+   fixed: 1 0;
+   aspect: 1.0 1.0;
+   aspect_preference: VERTICAL;
+   rel1 {
+  relative: 1.0 0.0;
+  offset: 0 3;
+   }
+   rel2.offset: -7 -4;
+}
+description { state: "hide" 0.0;
+   inherit: "default" 0.00;
+   visible: 0;
+}
+ }
+ part { name: "disclip";
+type: RECT;
+repeat_events: 1;
+description { state: "default" 0.0;
+   color: 255 255 255 0;
+}
+ }
+  }
+  programs {
+ program { name: "selected";
+signal: "elm,state,selected";
+source: "elm";
+action: STATE_SET 

[EGIT] [tools/eflete] master 56/59: Tizen theme: update combob_box style for color_class chooser

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=8c9a6b8c364583dcf0b19b0faa26ba0f6c02ffdb

commit 8c9a6b8c364583dcf0b19b0faa26ba0f6c02ffdb
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 22:08:14 2016 +0300

Tizen theme: update combob_box style for color_class chooser

Change-Id: Ie9d0e7e0ff33867a6f1a63d1e6209daba79096a1
---
 data/themes/ewe_tizen/widgets/combobox.edc | 157 +++--
 1 file changed, 34 insertions(+), 123 deletions(-)

diff --git a/data/themes/ewe_tizen/widgets/combobox.edc 
b/data/themes/ewe_tizen/widgets/combobox.edc
index aad1f5a..2f8722e 100644
--- a/data/themes/ewe_tizen/widgets/combobox.edc
+++ b/data/themes/ewe_tizen/widgets/combobox.edc
@@ -157,55 +157,24 @@ group { name: "ewe/combobox/base/color_class";
   image: "color-shadow-2.png" COMP;
}
 
-   min: 80 19;
-   max:  19;
+   min: 76 24;
+   max:  24;
parts {
-  part { name: "base";
- type: SPACER;
- description { state: "default" 0.0;
-max: -1 19;
- }
-  }
-  part { name: "bg";
- type: IMAGE;
+  part { name: "bg0";
+ type: RECT;
  description { state: "default" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-bg.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+color: 174 174 174 255;
  }
  description { state: "focus" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-focus-bg.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+color: 5 140 238 255;
  }
- description { state: "disable" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-bg_unactive.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+  }
+  part { name: "bg1";
+ type: RECT;
+ description { state: "default" 0.0;
+rel1.offset: 1 1;
+rel2.offset: -2 -2;
  }
   }
   part { name: "left.offset";
@@ -214,12 +183,6 @@ group { name: "ewe/combobox/base/color_class";
 align: 0.0 0.0;
 min: 10 0;
 max: 10 -1;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
  }
   }
   part { name: "right.offset";
@@ -228,39 +191,21 @@ group { name: "ewe/combobox/base/color_class";
 align: 1.0 1.0;
 min: 20 19;
 max: 20 -1;
-rel2 {
-   to: "bg";
-}
  }
   }
   part { name: "arrow";
  type: IMAGE;
  clip_to: "disabler";
  description { state: "default" 0.0;
-max: 6 4;
-rel1 {
-   to: "right.offset";
-}
-rel2 {
-   to: "right.offset";
-}
-image {
-   normal: "icon-slidedown.png";
-   middle: DEFAULT;
-}
+max: 9 5;
+image.normal: "drop_arrow_nor.png";
+rel1.to: "right.offset";
+rel2.to: "right.offset";
  }
  description { state: "expanded" 0.0;
-max: 6 4;
-rel1 {
-   to: "right.offset";
-}
-rel2 {
-   to: "right.offset";
-}
-image {
-   normal: "icon-slideup.png";
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+max: 8 4;
+image.normal: "drop_arrow_sel.png";
  }
   }
   part { name: "ewe.text";
@@ -268,24 +213,14 @@ group { name: "ewe/combobox/base/color_class";
  clip_to: "disabler";
  description { state: "default" 0.0;
 align: 0.0 0.5;
-color: 213 213 213 255;
-rel1 {
-   relative: 1.0 0.0;
-   to_x: "left.offset";
-   to_y: "base";
-}
-rel2 {
-   relative: 0.0 1.0;
-   offset: -7 -1;
-   to_x: "bg.color1";
-   to_y: "base";
-}
+color: 88 88 88 255;
 text {
+   text: "";
font: "PT";
-   size: 12;
-   max: 0 1;
-   align: 0.0 0.5;
+   size: 15;
+   max: 1 1;
 }
+rel1.offset: 5 0;
  }
   }
   part { 

[EGIT] [tools/eflete] master 49/59: property_group: avoid segfault on changes from history without selected part

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=861b85c722953851d7c431de02a0931466b38d5e

commit 861b85c722953851d7c431de02a0931466b38d5e
Author: Andrii Kroitor 
Date:   Wed May 25 21:37:22 2016 +0300

property_group: avoid segfault on changes from history without selected part
---
 src/bin/ui/property/property_group.c | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 8101fa3..08b4002 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -190,11 +190,12 @@ static const char *image_border_fill_strings[] = { 
STR_NONE,
"Solid",
NULL};
 /* defines for args */
+TODO("remove NULL's after fixing genlist filters")
 #define EDIT_OBJ group_pd.group->edit_object
-#define PART_ARGS group_pd.part->name
-#define ITEM_ARGS group_pd.part->name, group_pd.part->current_item_name
-#define STATE_ARGS PART_ARGS, group_pd.part->current_state->parsed_name, 
group_pd.part->current_state->parsed_val
-#define PROGRAM_ARGS group_pd.program->name
+#define PART_ARGS (group_pd.part) ? group_pd.part->name : NULL
+#define ITEM_ARGS PART_ARGS, (group_pd.part) ? 
group_pd.part->current_item_name : NULL
+#define STATE_ARGS PART_ARGS, (group_pd.part) ? 
group_pd.part->current_state->parsed_name : NULL, (group_pd.part) ? 
group_pd.part->current_state->parsed_val : 0
+#define PROGRAM_ARGS (group_pd.program) ? group_pd.program->name : NULL
 #define CHANGE_MERGE group_pd.history.change, true
 #define CHANGE_NO_MERGE group_pd.history.change, false
 

-- 




[EGIT] [tools/eflete] master 41/59: property_group: fix update on part_item selection

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=db332999f109665dec139cd16166b1b0b4712892

commit db332999f109665dec139cd16166b1b0b4712892
Author: Andrii Kroitor 
Date:   Wed May 25 19:42:38 2016 +0300

property_group: fix update on part_item selection
---
 src/bin/ui/property/property_group.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 1248097..28576b9 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -216,6 +216,8 @@ _on_part_selected(void *data,
GENLIST_FILTER_APPLY(pd->genlist);

property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_PART_TITLE]);

property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_STATE_TITLE]);
+   if (group_pd.part->current_item_name != NULL)
+ 
property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_PART_ITEM_TITLE]);
 }
 
 static void
@@ -306,6 +308,8 @@ _on_group_changed(void *data,
  {
 
property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_PART_TITLE]);
 
property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_STATE_TITLE]);
+if (group_pd.part->current_item_name != NULL)
+  
property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_PART_ITEM_TITLE]);
  }
 }
 

-- 




[EGIT] [tools/eflete] master 48/59: hisory_ui: meka only possible undo/redo

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=6a5a22290324a1ba9270fd444e5c44038b13e592

commit 6a5a22290324a1ba9270fd444e5c44038b13e592
Author: Andrii Kroitor 
Date:   Wed May 25 21:29:13 2016 +0300

hisory_ui: meka only possible undo/redo
---
 src/bin/ui/history_ui.c | 16 ++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/history_ui.c b/src/bin/ui/history_ui.c
index 62078ae..14d71aa 100644
--- a/src/bin/ui/history_ui.c
+++ b/src/bin/ui/history_ui.c
@@ -30,6 +30,8 @@ typedef struct {
Evas_Object *redo_cmbx;
History *history;
Group *group;
+   int to_undo;
+   int to_redo;
 } History_New_UI_data;
 
 #define HISTORY_DATA "history_data"
@@ -49,13 +51,21 @@ _list_update(History_New_UI_data *hd)
ewe_combobox_items_list_free(hd->undo_cmbx, EINA_FALSE);
ewe_combobox_items_list_free(hd->redo_cmbx, EINA_FALSE);
 
+   hd->to_undo = 0;
+   hd->to_redo = 0;
Eina_List *reverse_redo = NULL;
EINA_LIST_REVERSE_FOREACH(hd->history->changes, l, change)
  {
 if (!change->reverted)
-  ewe_combobox_item_add(hd->undo_cmbx, change->description);
+  {
+ hd->to_undo++;
+ ewe_combobox_item_add(hd->undo_cmbx, change->description);
+  }
 else
-  reverse_redo = eina_list_append(reverse_redo, change);
+  {
+ hd->to_redo++;
+ reverse_redo = eina_list_append(reverse_redo, change);
+  }
  }
 
EINA_LIST_REVERSE_FOREACH(reverse_redo, l, change)
@@ -104,6 +114,7 @@ void
 history_ui_undo(Evas_Object *obj)
 {
HISTORY_DATA_GET(obj);
+   if (hd->to_undo == 0) return;
history_undo(hd->history);
_list_update(hd);
 }
@@ -112,6 +123,7 @@ void
 history_ui_redo(Evas_Object *obj)
 {
HISTORY_DATA_GET(obj);
+   if (hd->to_redo == 0) return;
history_redo(hd->history);
_list_update(hd);
 }

-- 




[EGIT] [tools/eflete] master 50/59: Tizen theme: update default combobox style

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=9a73e39989dd6bee2e5f2217325d964a6dfff56c

commit 9a73e39989dd6bee2e5f2217325d964a6dfff56c
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 21:17:30 2016 +0300

Tizen theme: update default combobox style

Change-Id: I6011237978d7d59da25928171e2ec57b59516f0d
---
 data/Makefile.am   |   2 +-
 data/themes/ewe_tizen/widgets/combobox.edc | 173 +
 .../ewe_tizen/widgets/images/drop_arrow_nor.png| Bin 0 -> 956 bytes
 .../ewe_tizen/widgets/images/drop_arrow_sel.png| Bin 0 -> 956 bytes
 data/themes/ewe_tizen/widgets/scroller.edc |   3 +
 src/lib/ewe_combobox.c |  12 +-
 6 files changed, 54 insertions(+), 136 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 3dd87a5..03423fa 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,7 +13,7 @@ EDJE_FLAGS_DEFAULT = -id 
$(top_srcdir)/data/themes/default/images -id $(top_srcd
 EDJE_FLAGS_TIZEN = -id $(top_srcdir)/data/themes/tizen/images -id 
$(top_srcdir)/data/themes/tizen/images/splash -fd $(top_srcdir)/data/fonts
 EDJE_FLAGS_RESOURCES = -id $(top_srcdir)/data/resources/images
 EDJE_FLAGS_EWE = -fd $(top_srcdir)/data/themes/ewe/fonts -id 
$(top_srcdir)/data/themes/ewe/widgets/images
-EDJE_FLAGS_EWE_TIZEN = -fd $(top_srcdir)/data/themes/ewe_tizen/fonts -id 
$(top_srcdir)/data/themes/ewe_tizen/widgets/images
+EDJE_FLAGS_EWE_TIZEN = -fd $(top_srcdir)/data/themes/ewe_tizen/fonts -id 
$(top_srcdir)/data/themes/ewe_tizen/widgets/images -id  
$(top_srcdir)/data/themes/tizen/images
 
 filesdir = $(datadir)/eflete/themes/default
 files_DATA = eflete_elm.edj
diff --git a/data/themes/ewe_tizen/widgets/combobox.edc 
b/data/themes/ewe_tizen/widgets/combobox.edc
index f417d14..aad1f5a 100644
--- a/data/themes/ewe_tizen/widgets/combobox.edc
+++ b/data/themes/ewe_tizen/widgets/combobox.edc
@@ -1,60 +1,26 @@
 group { name: "ewe/combobox/base/default";
-   images {
-  image: "dropdown-bg.png" COMP;
-  image: "dropdown-focus-bg.png" COMP;
-  image: "dropdown-bg_unactive.png" COMP;
-  image: "icon-slidedown.png" COMP;
-  image: "icon-slideup.png" COMP;
-   }
-   min: 80 19;
-   max:  19;
+   min: 76 24;
+   max:  24;
+images {
+   image: "drop_arrow_nor.png" COMP;
+   image: "drop_arrow_sel.png" COMP;
+}
parts {
-  part { name: "base";
- type: SPACER;
- description { state: "default" 0.0;
-max: -1 19;
- }
-  }
-  part { name: "bg";
- type: IMAGE;
+  part { name: "bg0";
+ type: RECT;
  description { state: "default" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-bg.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+color: 174 174 174 255;
  }
  description { state: "focus" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-focus-bg.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+color: 5 140 238 255;
  }
- description { state: "disable" 0.0;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "dropdown-bg_unactive.png";
-   border: 3 3 1 1;
-   middle: DEFAULT;
-}
+  }
+  part { name: "bg1";
+ type: RECT;
+ description { state: "default" 0.0;
+rel1.offset: 1 1;
+rel2.offset: -2 -2;
  }
   }
   part { name: "left.offset";
@@ -63,12 +29,6 @@ group { name: "ewe/combobox/base/default";
 align: 0.0 0.0;
 min: 10 0;
 max: 10 -1;
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
  }
   }
   part { name: "right.offset";
@@ -77,39 +37,21 @@ group { name: "ewe/combobox/base/default";
 align: 1.0 1.0;
 min: 20 19;
 max: 20 -1;
-rel2 {
-   to: "bg";
-}
  }
   }
   part { name: "arrow";
  type: IMAGE;
  clip_to: "disabler";
  description { state: "default" 0.0;
-max: 6 4;
-rel1 {
-   to: "right.offset";
-}
-rel2 {
-   to: "right.offset";
-}
-image {
-   normal: "icon-slidedown.png";
-   middle: DEFAULT;
-}
+max: 9 

[EGIT] [tools/eflete] master 09/59: Tizen theme: copy losted style by merge

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=f0747bbf601d93670149b847fe2fc6928555bc04

commit f0747bbf601d93670149b847fe2fc6928555bc04
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 12:11:13 2016 +0300

Tizen theme: copy losted style by merge

Change-Id: I4b497b1cacaac18e96f427585bc19729b2608206
---
 data/themes/tizen/widgets/layout.edc | 122 +++
 1 file changed, 122 insertions(+)

diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index 614bb19..1c3828a 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -1737,6 +1737,128 @@ group { name: "elm/layout/entry/overlay";
}
 }
 
+group { name: "elm/layout/popup/1swallow";
+   parts {
+  part { name: "area.base";
+ type: SPACER;
+ description { state: "default" 0.0;
+min: 0 19;
+max: -1 19;
+rel1 {
+   offset: 0 3;
+}
+rel2 {
+   offset: -1 -4;
+}
+ }
+  }
+  part { name: "elm.text";
+ type: TEXT;
+ description { state: "default" 0.0;
+color_class: "main";
+rel1 {
+   to_y: "area.base";
+}
+rel2 {
+   relative: 0.4 1.0;
+   to_y: "area.base";
+}
+text {
+   font: "PT";
+   size: 12;
+   align: 0.0 0.5;
+}
+ }
+  }
+  part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+fixed: 0 1;
+rel1 {
+   relative: 0.4 0.0;
+   offset: 3 0;
+   to_y: "area.base";
+}
+rel2 {
+   to_y: "area.base";
+}
+ }
+  }
+   }
+}
+
+group { name: "elm/layout/popup/1swallow_subtext";
+   parts {
+  part { name: "area.base";
+ type: SPACER;
+ description { state: "default" 0.0;
+min: 0 19;
+max: -1 19;
+rel1 {
+   offset: 0 6;
+}
+rel2 {
+   offset: -1 -7;
+}
+ }
+  }
+  part { name: "elm.text";
+ type: TEXT;
+ description { state: "default" 0.0;
+color_class: "main";
+rel1 {
+   to_y: "area.base";
+}
+rel2 {
+   relative: 0.4 1.0;
+   to_y: "area.base";
+}
+text {
+   font: "PT";
+   size: 12;
+   align: 0.0 0.5;
+}
+ }
+  }
+  part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+align: 0.0 0.5;
+fixed: 1 1;
+rel1 {
+   relative: 0.4 0.0;
+   offset: 3 0;
+   to_y: "area.base";
+}
+rel2 {
+   relative: 0.4 1.0;
+   to_y: "area.base";
+}
+ }
+  }
+  part { name: "elm.subtext";
+ type: TEXT;
+ description { state: "default" 0.0;
+color_class: "main";
+rel1 {
+   relative: 1.0 0.0;
+   to_x: "elm.swallow.content";
+   to_y: "area.base";
+   offset: 6 0;
+}
+rel2 {
+   to_y: "area.base";
+}
+text {
+   font: "PT";
+   size: 12;
+   align: 0.0 0.5;
+}
+ }
+  }
+   }
+}
+
 #include "layouts/manager.edc"
 #include "layouts/colorclass_manager.edc"
 #include "layouts/live_view_toolbar_helper.edc"

-- 




[EGIT] [tools/eflete] master 13/59: demo_group: fix clang warnings

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=cab37cb97a8b25f0bc5e4f779e8c13da15ea5108

commit cab37cb97a8b25f0bc5e4f779e8c13da15ea5108
Author: Andrii Kroitor 
Date:   Wed May 25 11:51:17 2016 +0300

demo_group: fix clang warnings
---
 src/bin/ui/workspace/demo_group.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/bin/ui/workspace/demo_group.c 
b/src/bin/ui/workspace/demo_group.c
index e4beaf3..11801d8 100644
--- a/src/bin/ui/workspace/demo_group.c
+++ b/src/bin/ui/workspace/demo_group.c
@@ -189,11 +189,11 @@ _selected_cb(void *data,
else if ((plit == pl->it_text) || (plit == pl->it_swallow))
  part = (Demo_Part *)elm_object_item_data_get(glit);
 
-   if ((plit == pl->it_text) &&
+   if ((part != NULL) && (plit == pl->it_text) &&
((part->type == EDJE_PART_TYPE_TEXT) ||
 (part->type == EDJE_PART_TYPE_TEXTBLOCK)))
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_TEXT_PART_CLICKED, 
part);
-   else if ((plit == pl->it_swallow) && (part->type == EDJE_PART_TYPE_SWALLOW))
+   else if ((part != NULL) && (plit == pl->it_swallow) && (part->type == 
EDJE_PART_TYPE_SWALLOW))
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_SWALLOW_PART_CLICKED, 
part);
else if (plit == pl->it_signal)
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_PROGRAM_PART_CLICKED, 
signal);
@@ -281,7 +281,7 @@ _program_add(void *data,
 NULL,
 NULL);
  }
-   else if ((part_item) && (correct)) /* if program exist and data is correct 
*/
+   else if ((part_item) && (pr) && (correct)) /* if program exist and data is 
correct */
  {
 eina_stringshare_del(pr->prog_name);
 eina_stringshare_del(pr->sig_name);
@@ -295,7 +295,7 @@ _program_add(void *data,
 pr->emitter = eina_stringshare_add(state2);
 elm_genlist_item_update(part_item);
  }
-   else if ((part_item) && (!correct)) /* if exists and data is NOT correct */
+   else if ((part_item) && (pr) && (!correct)) /* if exists and data is NOT 
correct */
  {
 pl->signal_list = eina_list_remove(pl->signal_list, pr);
 _program_item_del(pl->it_signal, pr);
@@ -799,11 +799,11 @@ demo_group_property_update(Evas_Object *demo)
else if ((plit == pl->it_text) || (plit == pl->it_swallow))
  part = (Demo_Part *)elm_object_item_data_get(glit);
 
-   if ((plit == pl->it_text) &&
+   if ((part != NULL) && (plit == pl->it_text) &&
((part->type == EDJE_PART_TYPE_TEXT) ||
 (part->type == EDJE_PART_TYPE_TEXTBLOCK)))
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_TEXT_PART_CLICKED, 
part);
-   else if ((plit == pl->it_swallow) && (part->type == EDJE_PART_TYPE_SWALLOW))
+   else if ((part != NULL) && (plit == pl->it_swallow) && (part->type == 
EDJE_PART_TYPE_SWALLOW))
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_SWALLOW_PART_CLICKED, 
part);
else if (plit == pl->it_signal)
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_PROGRAM_PART_CLICKED, 
signal);

-- 




[EGIT] [tools/eflete] master 11/59: property: fix clang warnings

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=be67a24fa07c5762f92d0759faba3c989a83e55e

commit be67a24fa07c5762f92d0759faba3c989a83e55e
Author: Andrii Kroitor 
Date:   Wed May 25 11:22:21 2016 +0300

property: fix clang warnings
---
 src/bin/ui/property/property_demo.c  |  4 +++-
 src/bin/ui/property/property_group.c | 38 +++-
 src/bin/ui/property/property_textblock.c | 10 -
 3 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/src/bin/ui/property/property_demo.c 
b/src/bin/ui/property/property_demo.c
index b52d385..d1c1a50 100644
--- a/src/bin/ui/property/property_demo.c
+++ b/src/bin/ui/property/property_demo.c
@@ -161,7 +161,7 @@ _change_cb(Property_Attribute *pa, Property_Action *action)
Eina_Stringshare *str_val1 = NULL;
Ewe_Combobox_Item *cb_item = NULL;
double double_val1 = 0.0;
-   int r, g, b, a;
+   int r = -1, g = -1, b = -1, a = -1;
 
assert(pa != NULL);
assert(action != NULL);
@@ -199,6 +199,7 @@ _change_cb(Property_Attribute *pa, Property_Action *action)
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_TEXT_SET, 
demo_pd.part);
  break;
   case ATTRIBUTE_DEMO_ITEM_SWALLOW_CONTENT:
+ assert(cb_item != NULL);
  demo_pd.part->swallow_content = cb_item->index;
  demo_pd.part->change = true;
  GENLIST_FILTER_APPLY(pd->genlist);
@@ -206,6 +207,7 @@ _change_cb(Property_Attribute *pa, Property_Action *action)
  break;
 
   case ATTRIBUTE_DEMO_ITEM_SWALLOW_WIDGET:
+ assert(cb_item != NULL);
  demo_pd.part->widget = cb_item->index;
  demo_pd.part->change = true;
  evas_object_smart_callback_call(ap.win, SIGNAL_DEMO_SWALLOW_SET, 
demo_pd.part);
diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 162ab4f..b8d261b 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -2480,7 +2480,7 @@ static void
 _change_cb(Property_Attribute *pa, Property_Action *action)
 {
double double_val1 = 0.0;
-   int r, g, b, a;
+   int r = -1, g = -1, b = -1, a = -1;
Eina_Stringshare *str_val1 = NULL;
Eina_Bool bool_val1 = false;;
Ewe_Combobox_Item *cb_item = NULL;
@@ -2595,60 +2595,70 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  group_pd.history.new.bool_val1 = bool_val1;
  break;
   case ATTRIBUTE_PART_CLIP_TO:
+ assert(cb_item != NULL);
  str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
  CRIT_ON_FAIL(editor_part_clip_to_set(EDIT_OBJ, CHANGE_NO_MERGE, 
PART_ARGS, str_val1));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_STATE_PROXY_SOURCE:
+ assert(cb_item != NULL);
  str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
  CRIT_ON_FAIL(editor_state_proxy_source_set(EDIT_OBJ, CHANGE_NO_MERGE, 
STATE_ARGS, str_val1));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_PART_IGNORE_FLAGS:
+ assert(cb_item != NULL);
  str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_ignore_flags_set(EDIT_OBJ, CHANGE_NO_MERGE, 
PART_ARGS, cb_item->index));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_PART_POINTER_MODE:
+ assert(cb_item != NULL);
  str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_pointer_mode_set(EDIT_OBJ, CHANGE_NO_MERGE, 
PART_ARGS, cb_item->index));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_PART_SELECT_MODE:
+ assert(cb_item != NULL);
  str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_select_mode_set(EDIT_OBJ, CHANGE_NO_MERGE, 
PART_ARGS, cb_item->index));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_PART_ENTRY_MODE:
+ assert(cb_item != NULL);
  str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_entry_mode_set(EDIT_OBJ, CHANGE_NO_MERGE, 
PART_ARGS, cb_item->index));
  eina_stringshare_del(group_pd.history.new.str_val1);
  group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_PART_CURSOR_MODE:
+ assert(cb_item != NULL);
  str_val1 = eina_stringshare_add(cb_item->title);
  CRIT_ON_FAIL(editor_part_cursor_mode_set(EDIT_OBJ, 

[EGIT] [tools/eflete] master 45/59: property_sound: remove sound_player from property

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=cc2a3f691404575d9e8ca32ce6d229d30346c11a

commit cc2a3f691404575d9e8ca32ce6d229d30346c11a
Author: Vitalii Vorobiov 
Date:   Wed May 25 20:01:24 2016 +0300

property_sound: remove sound_player from property
---
 src/bin/ui/property/property_common.c  |  5 -
 src/bin/ui/property/property_private.h |  4 
 src/bin/ui/property/property_sound.c   | 25 +
 src/bin/ui/sound_manager.c |  2 ++
 4 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/src/bin/ui/property/property_common.c 
b/src/bin/ui/property/property_common.c
index 7344b6e..82f6b55 100644
--- a/src/bin/ui/property/property_common.c
+++ b/src/bin/ui/property/property_common.c
@@ -285,10 +285,6 @@ _control_create(Property_Attribute *pa, Property_Action 
*action, Evas_Object *pa
  content = property_image_tween_control_add(parent);
  evas_object_smart_callback_add(content, "image,tween,changed", 
_start_change_stop_cb, pa);
  return content;
-  case PROPERTY_CONTROL_SOUND_PLAYER:
- content = sound_player_add(parent);
- evas_object_show(content);
- return content;
   case PROPERTY_CONTROL_IMAGE_SELECTOR:
  content = property_image_selector_get(parent);
  evas_object_smart_callback_add(content, "changed,demo,image", 
_start_change_stop_cb, pa);
@@ -568,7 +564,6 @@ property_common_itc_init(Property_Data *pd)
pd->item_classes[PROPERTY_CONTROL_LABEL]  [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_IMAGE_NORMAL]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_IMAGE_TWEEN][PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
-   pd->item_classes[PROPERTY_CONTROL_SOUND_PLAYER]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_IMAGE_SELECTOR] [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
 
pd->item_classes[PROPERTY_CONTROL_CHECK]  [PROPERTY_CONTROL_NONE]   
  = pd->itc_2swallow;
diff --git a/src/bin/ui/property/property_private.h 
b/src/bin/ui/property/property_private.h
index 6944733..8dfae3a 100644
--- a/src/bin/ui/property/property_private.h
+++ b/src/bin/ui/property/property_private.h
@@ -40,7 +40,6 @@ enum _Property_Control {
PROPERTY_CONTROL_LABEL,
PROPERTY_CONTROL_IMAGE_NORMAL,
PROPERTY_CONTROL_IMAGE_TWEEN,
-   PROPERTY_CONTROL_SOUND_PLAYER,
PROPERTY_CONTROL_IMAGE_SELECTOR,
 
PROPERTY_CONTROL_LAST
@@ -326,9 +325,6 @@ typedef enum {
 
 /* Enum of property_sound items. */
 typedef enum {
-   PROPERTY_SOUND_ITEM_PREVIEW_TITLE,
-   PROPERTY_SOUND_ITEM_PLAYER,
-
PROPERTY_SOUND_ITEM_INFO_TITLE,
PROPERTY_SOUND_ITEM_NAME,
PROPERTY_SOUND_ITEM_FILE_NAME,
diff --git a/src/bin/ui/property/property_sound.c 
b/src/bin/ui/property/property_sound.c
index 6c3e4b7..51f239b 100644
--- a/src/bin/ui/property/property_sound.c
+++ b/src/bin/ui/property/property_sound.c
@@ -93,8 +93,6 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case PROPERTY_SOUND_ITEM_TYPE:
   case PROPERTY_SOUND_ITEM_SIZE:
   case PROPERTY_SOUND_ITEM_FILE_NAME:
-  case PROPERTY_SOUND_ITEM_PLAYER:
- break;
   case PROPERTY_SOUND_ITEM_COMPRESSION_TYPE:
  elm_object_disabled_set(action->control, true);
  _fill_combobox_with_enum(action->control, edje_sound_compression);
@@ -164,8 +162,6 @@ _update_cb(Property_Attribute *pa, Property_Action *action)
elm_spinner_value_set(action->control, sound_pd.tone->freq);
  break;
 
-  case PROPERTY_SOUND_ITEM_PLAYER:
- break;
   default:
  TODO("remove default case after all attributes will be added");
  CRIT("update callback not found for %s (%s)", pa->name, action->name 
? action->name : "unnamed");
@@ -225,9 +221,6 @@ _subitems_get(Property_Attribute *pa)
 #define APPEND(TYPE) items = eina_list_append(items, _pd.items[TYPE]);
switch (pa->type.sound_item)
  {
-  case PROPERTY_SOUND_ITEM_PREVIEW_TITLE:
- APPEND(PROPERTY_SOUND_ITEM_PLAYER);
- break;
   case PROPERTY_SOUND_ITEM_INFO_TITLE:
  APPEND(PROPERTY_SOUND_ITEM_NAME);
  APPEND(PROPERTY_SOUND_ITEM_FILE_NAME);
@@ -274,18 +267,7 @@ _init_items()
 IT.filter_data.sound_types = ~0u;
 switch(it)
   {
- /* group block */
-   case PROPERTY_SOUND_ITEM_PREVIEW_TITLE:
-  IT.name = "preview";
-  IT.expandable = true;
-  IT.expanded = true;
-  IT.expand_cb = _subitems_get;
-  break;
-   case PROPERTY_SOUND_ITEM_PLAYER:
-  _action1(, NULL, NULL, PROPERTY_CONTROL_SOUND_PLAYER);
-  break;
-
-  /* part block */
+   /* part block */
case PROPERTY_SOUND_ITEM_INFO_TITLE:
   

[EGIT] [tools/eflete] master 35/59: editor_program: fix program reset

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=637a90afdb5b9524c073c86bcc8bb4387c3e28b1

commit 637a90afdb5b9524c073c86bcc8bb4387c3e28b1
Author: Andrii Kroitor 
Date:   Wed May 25 18:08:33 2016 +0300

editor_program: fix program reset
---
 src/bin/editor/editor_program.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/editor/editor_program.c b/src/bin/editor/editor_program.c
index 0d34158..0abe043 100644
--- a/src/bin/editor/editor_program.c
+++ b/src/bin/editor/editor_program.c
@@ -679,12 +679,12 @@ editor_program_reset(Evas_Object *edit_object, Change 
*change, Eina_Bool merge _
Edje_Action_Type type = edje_edit_program_action_get(edit_object, 
program_name);
 
list = edje_edit_program_targets_get(edit_object, program_name);
-   EINA_LIST_FOREACH(list, l, name)
+   EINA_LIST_REVERSE_FOREACH(list, l, name)
   res = res && editor_program_target_del(edit_object, change, false, 
program_name, name);
edje_edit_string_list_free(list);
 
list = edje_edit_program_afters_get(edit_object, program_name);
-   EINA_LIST_FOREACH(list, l, name)
+   EINA_LIST_REVERSE_FOREACH(list, l, name)
   res = res && editor_program_after_del(edit_object, change, false, 
program_name, name);
edje_edit_string_list_free(list);
 

-- 




[EGIT] [tools/eflete] master 22/59: Tizen theme: set correct offset for spinner buttons

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=34ff83f9e4b3835052bda682e7f99a1da79d2bf8

commit 34ff83f9e4b3835052bda682e7f99a1da79d2bf8
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 17:07:17 2016 +0300

Tizen theme: set correct offset for spinner buttons

Change-Id: Ia839abf29fc6c3e14b584e28d80e8bc03e33ac6f
---
 data/themes/tizen/widgets/spinner.edc | 10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/data/themes/tizen/widgets/spinner.edc 
b/data/themes/tizen/widgets/spinner.edc
index 5676b70..c970f8c 100644
--- a/data/themes/tizen/widgets/spinner.edc
+++ b/data/themes/tizen/widgets/spinner.edc
@@ -74,10 +74,7 @@ group { name: "elm/spinner/base/default";
 fixed: 1 0;
 max: 17 22;
 image.normal: "spinner-horizontal-down.png";
-rel1 {
-   offset: 1 0;
-   to: "area.drag";
-}
+rel1.to: "area.drag";
 rel2.to: "area.drag";
  }
  description { state: "clicked" 0.0;
@@ -97,10 +94,7 @@ group { name: "elm/spinner/base/default";
 max: 17 22;
 image.normal: "spinner-horizontal-up.png";
 rel1.to: "area.drag";
-rel2 {
-   offset: -2 -1;
-   to: "area.drag";
-}
+rel2.to: "area.drag";
  }
  description { state: "clicked" 0.0;
 inherit: "default" 0.00;

-- 




[EGIT] [tools/eflete] master 10/59: Tizen theme: update styles for workspace toolbar view.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=15b61d04e64163b89d7533bc494a15d682a07e12

commit 15b61d04e64163b89d7533bc494a15d682a07e12
Author: Mykyta Biliavskyi 
Date:   Wed May 25 13:57:47 2016 +0300

Tizen theme: update styles for workspace toolbar view.
---
 data/themes/tizen/widgets/layouts/tabs.edc | 25 --
 data/themes/tizen/widgets/toolbar.edc  | 34 +++---
 2 files changed, 26 insertions(+), 33 deletions(-)

diff --git a/data/themes/tizen/widgets/layouts/tabs.edc 
b/data/themes/tizen/widgets/layouts/tabs.edc
index 7d8fefc..7b541ac 100644
--- a/data/themes/tizen/widgets/layouts/tabs.edc
+++ b/data/themes/tizen/widgets/layouts/tabs.edc
@@ -2,27 +2,23 @@ group { name: "elm/layout/tabs/default";
parts {
   part { name: "bg_toolbar";
  type: RECT;
- description {
-color_class: "bg_main_alternative";
-rel1 {
-   to: "elm.swallow.toolbar";
-}
-rel2 {
-   to: "elm.swallow.toolbar";
-}
+ description { state: "default" 0.0;
+color: 215 215 215 255;
+rel1.to: "elm.swallow.toolbar";
+rel2.to: "elm.swallow.toolbar";
  }
   }
   part { name: "elm.swallow.toolbar";
  type: SWALLOW;
  description { state: "default" 0.0;
-max: -1 27;
 align: 0.0 0.0;
+min: 0 33;
+max: -1 33;
  }
   }
   part { name: "bg_content";
  type: RECT;
- description {
-color_class: "bg_main";
+ description { state: "default" 0.0;
 rel1 {
relative: 0.0 1.0;
to: "elm.swallow.toolbar";
@@ -31,15 +27,12 @@ group { name: "elm/layout/tabs/default";
   }
   part { name: "elm.swallow.content";
  type: SWALLOW;
- description { state:   "default" 0.0;
+ description { state: "default" 0.0;
 rel1 {
-   offset: 3 3;
relative: 0.0 1.0;
+   offset: 0 3;
to: "elm.swallow.toolbar";
 }
-rel2 {
-   offset: -4 -4;
-}
  }
   }
}
diff --git a/data/themes/tizen/widgets/toolbar.edc 
b/data/themes/tizen/widgets/toolbar.edc
index 916ec89..f5027b4 100644
--- a/data/themes/tizen/widgets/toolbar.edc
+++ b/data/themes/tizen/widgets/toolbar.edc
@@ -547,6 +547,23 @@ group { name: "elm/toolbar/base/tabs_horizontal";
 visible: 1;
  }
   }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+rel1.to: "elm.swallow.content";
+rel2.to: "elm.swallow.content";
+ }
+  }
+  part { name: "separator";
+ type: RECT;
+ description { state: "default" 0.0;
+align: 0.5 1.0;
+min: 0 1;
+max: -1 1;
+color: 170 170 170 255;
+rel1.to_y: "base";
+ }
+  }
   part { name: "elm.swallow.content";
  type: SWALLOW;
  clip_to: "clipper";
@@ -583,23 +600,6 @@ group { name: "elm/toolbar/base/tabs_horizontal";
 color_class: "select";
  }
   }
-  part { name: "clipper";
- type: RECT;
- description { state: "default" 0.0;
-rel1.to: "elm.swallow.content";
-rel2.to: "elm.swallow.content";
- }
-  }
-  part { name: "separator";
- type: RECT;
- description { state: "default" 0.0;
-align: 0.5 1.0;
-min: 0 1;
-max: -1 1;
-color: 170 170 170 255;
-rel1.to_y: "base";
- }
-  }
   part { name: "arrow_left";
  type: IMAGE;
  clip_to: "clipper_arrow_left";

-- 




[EGIT] [tools/eflete] master 29/59: Tizen theme: update property genlist items geometry

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=5d6b29b83742dcc6197a24b9ac838646f285d07b

commit 5d6b29b83742dcc6197a24b9ac838646f285d07b
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 18:38:55 2016 +0300

Tizen theme: update property genlist items geometry

Change-Id: I5c0a62118fa61f7630b622369c2a5baacbe026ae
---
 data/themes/tizen/widgets/genlist_property.edc | 227 -
 1 file changed, 106 insertions(+), 121 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist_property.edc 
b/data/themes/tizen/widgets/genlist_property.edc
index d243579..bb2080c 100644
--- a/data/themes/tizen/widgets/genlist_property.edc
+++ b/data/themes/tizen/widgets/genlist_property.edc
@@ -78,8 +78,8 @@ group { name: "elm/genlist/item/caption/property";
 
 group { name: "elm/genlist/tree/caption/property";
data {
-  item: "treesize" "12";
   item: "texts" "text.item.name";
+  item: "treesize" "10";
   item: "stacking" "above";
   item: "selectraise" "on";
}
@@ -89,65 +89,49 @@ group { name: "elm/genlist/tree/caption/property";
  description { state: "default" 0.0;
 align: 0.0 0.5;
 fixed: 1 0;
-rel2 {
-   relative: 0.0 1.0;
-}
+rel2.relative: 0.0 1.0;
  }
   }
   part { name: "text.item.name";
  type: TEXT;
  repeat_events: 1;
  description { state: "default" 0.0;
+align: 0.0 0.5;
 min: 0 26;
 color_class: "genlist_text_tree";
-align: 0.0 0.5;
-rel1 {
-   relative: 1.0 0.0;
-   offset: 3 0;
-   to_x: "arrow";
-}
-rel2 {
-   offset: -7 -1;
-}
 text {
-   min: 1 0;
-   max: 1 0;
-   elipsis: -1;
font: "PT";
size: 15;
+   min: 1 0;
+   max: 1 0;
align: 0.0 0.5;
+   ellipsis: -1.0;
+}
+rel1 {
+   relative: 1.0 0.0;
+   offset: 10 0;
+   to_x: "arrow";
 }
+rel2.offset: -7 -1;
  }
   }
   part { name: "arrow";
  type: IMAGE;
  description { state: "default" 0.0;
 align: 0.0 0.5;
-max: 14 14;
+max: 9 9;
 color_class: "genlist_text_tree";
+image.normal: "arrow_side_nor.png";
 rel1 {
relative: 1.0 0.0;
-   offset: 3 0;
+   offset: 16 0;
to_x: "elm.swallow.pad";
 }
-image {
-   normal: "icon_arrow_right.png";
-   middle: DEFAULT;
-}
  }
  description { state: "selected" 0.0;
-align: 0.0 0.5;
-max: 14 14;
-color_class: "genlist_text_tree";
-rel1 {
-   relative: 1.0 0.0;
-   offset: 3 0;
-   to_x: "elm.swallow.pad";
-}
-image {
-   normal: "icon_arrow_down.png";
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+image.normal: "arrow_bottom_nor.png";
+rel1.offset: 16 0;
  }
   }
   part { name: "disclip";
@@ -155,6 +139,7 @@ group { name: "elm/genlist/tree/caption/property";
  repeat_events: 1;
  description { state: "default" 0.0;
 color: 0 0 0 0;
+rel2.to_x: "text.item.name";
  }
   }
}
@@ -167,7 +152,7 @@ group { name: "elm/genlist/tree/caption/property";
   }
   program { name: "expanded_sig";
  signal: "mouse,up,1";
- source: "arrow";
+ source: "disclip";
  action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
   }
   program { name: "arrow_conract";
@@ -194,7 +179,7 @@ group { name: "elm/genlist/tree/caption/property";
 group { name: "elm/genlist/item/1swallow/property";
data {
   item: "texts" "text.item.name text.action1.name";
-  item: "treesize" "12";
+  item: "treesize" "10";
   item: "contents" "swallow.icon swallow.action1";
   item: "stacking" "above";
   item: "selectraise" "on";
@@ -205,28 +190,27 @@ group { name: "elm/genlist/item/1swallow/property";
  description { state: "default" 0.0;
 align: 0.0 0.5;
 fixed: 1 0;
-rel2 {
-   relative: 0.0 1.0;
-}
+rel2.relative: 0.0 1.0;
  }
   }
   part { name: "swallow.icon";
  type: SWALLOW;
  repeat_events: 1;
  description { state: "default" 0.0;
-align: 0.0 0.5;
+align: 1.0 0.5;
 min: 14 14;
 max: 14 14;
 aspect: 1.0 1.0;
 

[EGIT] [tools/eflete] master 21/59: project_manager: use project's filename when there are no title at all

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=20f70b4bfc1fdbd730f27829a2b52c29817c3faa

commit 20f70b4bfc1fdbd730f27829a2b52c29817c3faa
Author: Vitalii Vorobiov 
Date:   Wed May 25 15:49:33 2016 +0300

project_manager: use project's filename when there are no title at all
---
 src/bin/project_manager/project_manager.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/project_manager/project_manager.c 
b/src/bin/project_manager/project_manager.c
index 09f08e8..9bdeabe 100644
--- a/src/bin/project_manager/project_manager.c
+++ b/src/bin/project_manager/project_manager.c
@@ -738,7 +738,8 @@ _project_open(void *data,
TODO("Add crash recovery prompt here")
 
pm_project_meta_data_get(worker.project, >name, NULL, NULL, 
NULL, NULL);
-   if (!worker.project->name) worker.project->name = 
eina_stringshare_add(_("No title"));
+   if (!worker.project->name)
+ worker.project->name = 
ecore_file_strip_ext(ecore_file_file_get(worker.project->dev));
 
_project_open_internal(worker.project);
 

-- 




[EGIT] [tools/eflete] master 54/59: Tizen theme: update style for lock check.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=5063277bd441a4a862063a382f4d64529e3371b9

commit 5063277bd441a4a862063a382f4d64529e3371b9
Author: Mykyta Biliavskyi 
Date:   Wed May 25 22:46:35 2016 +0300

Tizen theme: update style for lock check.
---
 data/themes/tizen/images/tool_s_lock_nor.png  | Bin 0 -> 1338 bytes
 data/themes/tizen/images/tool_s_lock_over.png | Bin 0 -> 1269 bytes
 data/themes/tizen/widgets/check.edc   |  79 +-
 3 files changed, 13 insertions(+), 66 deletions(-)

diff --git a/data/themes/tizen/images/tool_s_lock_nor.png 
b/data/themes/tizen/images/tool_s_lock_nor.png
new file mode 100644
index 000..8ccdb9b
Binary files /dev/null and b/data/themes/tizen/images/tool_s_lock_nor.png differ
diff --git a/data/themes/tizen/images/tool_s_lock_over.png 
b/data/themes/tizen/images/tool_s_lock_over.png
new file mode 100644
index 000..43f6776
Binary files /dev/null and b/data/themes/tizen/images/tool_s_lock_over.png 
differ
diff --git a/data/themes/tizen/widgets/check.edc 
b/data/themes/tizen/widgets/check.edc
index 99444a7..0d2f64e 100644
--- a/data/themes/tizen/widgets/check.edc
+++ b/data/themes/tizen/widgets/check.edc
@@ -713,49 +713,19 @@ group { name: "elm/check/base/eye";
 
 group { name: "elm/check/base/locker";
images {
-  image: "button_bg.png" COMP;
-  image: "button_disabled_bg.png" COMP;
-  image: "button_click_bg.png" COMP;
-  image: "icon_unlock.png" COMP;
-  image: "icon_lock.png" COMP;
+  image: "tool_s_lock_nor.png" COMP;
+  image: "tool_s_lock_over.png" COMP;
}
parts {
   part { name: "bg";
- type: IMAGE;
+ type: SPACER;
  mouse_events: 0;
  scale: 1;
  description { state: "default" 0.0;
 align: 0.0 0.5;
-min: 18 19;
-max: 18 19;
-aspect: 1.0 1.0;
-image {
-   normal: "button_bg.png";
-   border: 4 4 9 9;
-   middle: DEFAULT;
-}
- }
- description { state: "disabled" 0.0;
-align: 0.0 0.5;
-min: 18 19;
-max: 18 19;
-aspect: 1.0 1.0;
-image {
-   normal: "button_disabled_bg.png";
-   border: 4 4 9 9;
-   middle: DEFAULT;
-}
- }
- description { state: "visible" 0.0;
-align: 0.0 0.5;
-min: 18 19;
-max: 18 19;
+min: 20 20;
+max: 20 20;
 aspect: 1.0 1.0;
-image {
-   normal: "button_click_bg.png";
-   border: 4 4 9 9;
-   middle: DEFAULT;
-}
  }
   }
   part { name: "check";
@@ -764,34 +734,13 @@ group { name: "elm/check/base/locker";
  scale: 1;
  clip_to: "clipper";
  description { state: "default" 0.0;
-color_class: "main_alternative";
-rel1 {
-   offset: 1 1;
-   to: "bg";
-}
-rel2 {
-   offset: -2 -3;
-   to: "bg";
-}
-image {
-   normal: "icon_unlock.png";
-   middle: DEFAULT;
-}
+image.normal: "tool_s_lock_nor.png";
+rel1.to: "bg";
+rel2.to: "bg";
  }
  description { state: "visible" 0.0;
-color_class: "main_alternative";
-rel1 {
-   offset: 1 1;
-   to: "bg";
-}
-rel2 {
-   offset: -2 -3;
-   to: "bg";
-}
-image {
-   normal: "icon_lock.png";
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+image.normal: "tool_s_lock_over.png";
  }
   }
   part { name: "clipper";
@@ -801,6 +750,7 @@ group { name: "elm/check/base/locker";
 color_class: "main";
  }
  description { state: "disabled" 0.0;
+inherit: "default" 0.00;
 color_class: "main_disabled";
  }
   }
@@ -811,8 +761,8 @@ group { name: "elm/check/base/locker";
 color: 0 0 0 0;
  }
  description { state: "disabled" 0.0;
+inherit: "default" 0.00;
 visible: 0;
-color: 0 0 0 0;
  }
   }
}
@@ -827,20 +777,17 @@ group { name: "elm/check/base/locker";
  source: "elm";
  action: STATE_SET "visible" 0.00;
  target: "check";
- target: "bg";
   }
   program { name: "check_off";
  signal: "elm,state,check,off";
  source: "elm";
  action: STATE_SET "default" 0.00;
  target: "check";
- target: "bg";
   }
   program { name: "disable";
  signal: "elm,state,disabled";
  source: "elm";
  

[EGIT] [tools/eflete] master 26/59: Tizen theme: set color and size for property item labels accordingly to guide

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=b001f945e42d254b075d197e71f3a06682ef3c02

commit b001f945e42d254b075d197e71f3a06682ef3c02
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 17:11:55 2016 +0300

Tizen theme: set color and size for property item labels accordingly to 
guide

Change-Id: I5e308347456c21d0e5ad1f6a20a63614f20be10d
---
 data/themes/tizen/widgets/genlist_property.edc | 38 +-
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist_property.edc 
b/data/themes/tizen/widgets/genlist_property.edc
index 472e297..d243579 100644
--- a/data/themes/tizen/widgets/genlist_property.edc
+++ b/data/themes/tizen/widgets/genlist_property.edc
@@ -46,7 +46,7 @@ group { name: "elm/genlist/item/caption/property";
  repeat_events: 1;
  description { state: "default" 0.0;
 min: 0 26;
-color_class: "main";
+color_class: "genlist_text_tree";
 align: 0.0 0.5;
 rel1 {
relative: 1.0 0.0;
@@ -61,7 +61,7 @@ group { name: "elm/genlist/item/caption/property";
max: 1 0;
elipsis: -1;
font: "PT";
-   size: 12;
+   size: 15;
align: 0.0 0.5;
 }
  }
@@ -99,7 +99,7 @@ group { name: "elm/genlist/tree/caption/property";
  repeat_events: 1;
  description { state: "default" 0.0;
 min: 0 26;
-color_class: "main";
+color_class: "genlist_text_tree";
 align: 0.0 0.5;
 rel1 {
relative: 1.0 0.0;
@@ -114,7 +114,7 @@ group { name: "elm/genlist/tree/caption/property";
max: 1 0;
elipsis: -1;
font: "PT";
-   size: 12;
+   size: 15;
align: 0.0 0.5;
 }
  }
@@ -124,7 +124,7 @@ group { name: "elm/genlist/tree/caption/property";
  description { state: "default" 0.0;
 align: 0.0 0.5;
 max: 14 14;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
relative: 1.0 0.0;
offset: 3 0;
@@ -138,7 +138,7 @@ group { name: "elm/genlist/tree/caption/property";
  description { state: "selected" 0.0;
 align: 0.0 0.5;
 max: 14 14;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
relative: 1.0 0.0;
offset: 3 0;
@@ -235,7 +235,7 @@ group { name: "elm/genlist/item/1swallow/property";
  repeat_events: 1;
  description { state: "default" 0.0;
 min: 0 22;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
relative: 1.0 0.0;
offset: 6 6;
@@ -247,7 +247,7 @@ group { name: "elm/genlist/item/1swallow/property";
 }
 text {
font: "PT";
-   size: 12;
+   size: 15;
align: 0.0 0.0;
 }
  }
@@ -255,7 +255,7 @@ group { name: "elm/genlist/item/1swallow/property";
   part { name: "text.action1.name";
  type: TEXT;
  description { state: "default" 0.0;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
offset: 0 6;
 }
@@ -266,7 +266,7 @@ group { name: "elm/genlist/item/1swallow/property";
 }
 text {
font: "PT";
-   size: 12;
+   size: 15;
align: 1.0 0.0;
 }
  }
@@ -337,7 +337,7 @@ group { name: "elm/genlist/item/2swallow/property";
  repeat_events: 1;
  description { state: "default" 0.0;
 min: 0 22;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
relative: 1.0 0.0;
offset: 6 6;
@@ -349,7 +349,7 @@ group { name: "elm/genlist/item/2swallow/property";
 }
 text {
font: "PT";
-   size: 12;
+   size: 15;
align: 0.0 0.0;
 }
  }
@@ -357,7 +357,7 @@ group { name: "elm/genlist/item/2swallow/property";
   part { name: "text.action1.name";
  type: TEXT;
  description { state: "default" 0.0;
-color_class: "main";
+color_class: "genlist_text_tree";
 rel1 {
offset: 0 6;
 }
@@ -368,7 +368,7 @@ group { name: "elm/genlist/item/2swallow/property";
 }
 text {
font: "PT";
-   size: 12;
+   size: 15;
min: 1 0;
elipsis: -1;
align: 

[EGIT] [tools/eflete] master 51/59: button_style: elipsis-TIZEN theme

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=036c5bf73a2c7781676a315bfcbbadfeedc3809e

commit 036c5bf73a2c7781676a315bfcbbadfeedc3809e
Author: Vitalii Vorobiov 
Date:   Wed May 25 21:56:13 2016 +0300

button_style: elipsis-TIZEN theme
---
 data/themes/tizen/widgets/button.edc  | 52 +--
 data/themes/tizen/widgets/entry.edc   | 33 -
 src/bin/ui/property/property_image_selector.c |  2 +-
 3 files changed, 58 insertions(+), 29 deletions(-)

diff --git a/data/themes/tizen/widgets/button.edc 
b/data/themes/tizen/widgets/button.edc
index bbc0455..7fc14b7 100644
--- a/data/themes/tizen/widgets/button.edc
+++ b/data/themes/tizen/widgets/button.edc
@@ -1116,31 +1116,63 @@ group { name: "elm/button/base/down";
 
 group { name: "elm/button/base/elipsis";
images {
-  image: "input-select-file.png" COMP;
-  image: "input-select-file-clicked.png" COMP;
+  image: "btn_widget.png" COMP;
+  image: "btn_widget_push.png" COMP;
+  image: "btn_widget_hover.png" COMP;
+  image: "window_scale_controller_h.png" COMP;
}
parts {
   part { name: "bg";
  type: IMAGE;
  description { state: "default" 0.0;
-min: 19 17;
-max: 19 17;
+min: 24 24;
+max: 24 24;
 image {
-   normal: "input-select-file.png";
-   middle: SOLID;
+   normal: "btn_widget.png";
+   border: 3 3 3 3;
 }
  }
  description { state: "clicked" 0.0;
-min: 19 17;
-max: 19 17;
+inherit: "default" 0.00;
 image {
-   normal: "input-select-file-clicked.png";
-   middle: SOLID;
+   normal: "btn_widget_push.png";
+   border: 3 3 3 3;
 }
  }
+ description { state: "hovered" 0.0;
+inherit: "default" 0.00;
+image {
+   normal: "btn_widget_hover.png";
+   border: 3 3 3 3;
+}
+ }
+  }
+  part { name: "dots";
+ type: IMAGE;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+min: 15 13;
+max: 15 13;
+image.normal: "window_scale_controller_h.png";
+fill.smooth: 0;
+ }
   }
}
programs {
+  program {
+ name:   "button_mouse_in";
+ signal: "mouse,in";
+ source: "bg";
+ action: STATE_SET "hovered" 0.0;
+ target: "bg";
+  }
+  program {
+ name:   "button_mouse_out";
+ signal: "mouse,out";
+ source: "bg";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+  }
   program { name: "button_click";
  signal: "mouse,down,1";
  source: "bg";
diff --git a/data/themes/tizen/widgets/entry.edc 
b/data/themes/tizen/widgets/entry.edc
index 7de1787..7256b9b 100644
--- a/data/themes/tizen/widgets/entry.edc
+++ b/data/themes/tizen/widgets/entry.edc
@@ -949,24 +949,6 @@ group { name: "elm/scroller/entry_single/default";
 rel2.offset: -7 -3;
  }
   }
-  part { name: "elm.swallow.elipsis";
- type: SWALLOW;
- clip_to: "clipper";
- description { state: "default" 0.0;
-align: 1.0 0.5;
-fixed: 1 0;
-max: 19 -1;
-rel1 {
-   relative: 1.0 0.0;
-   offset: 0 1;
-   to_y: "bg";
-}
-rel2 {
-   offset: -2 -3;
-   to_y: "bg";
-}
- }
-  }
   part { name: "border";
  type: IMAGE;
  repeat_events: 1;
@@ -992,6 +974,21 @@ group { name: "elm/scroller/entry_single/default";
 color_class: "invalid";
  }
   }
+  part { name: "elm.swallow.elipsis";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+align: 1.0 0.5;
+fixed: 1 1;
+max: 24 24;
+rel1 {
+   relative: 1.0 0.0;
+   to_y: "bg";
+}
+rel2 {
+   to_y: "bg";
+}
+ }
+  }
}
programs {
   program { name: "icon_show";
diff --git a/src/bin/ui/property/property_image_selector.c 
b/src/bin/ui/property/property_image_selector.c
index bed6193..20770e2 100644
--- a/src/bin/ui/property/property_image_selector.c
+++ b/src/bin/ui/property/property_image_selector.c
@@ -69,9 +69,9 @@ property_image_selector_get(Evas_Object *parent)
ENTRY_ADD(parent, content, true);
btn = elm_button_add(content);
elm_object_style_set(btn, "elipsis");
-   evas_object_smart_callback_add(btn, "clicked", _on_image_choose, content);
evas_object_smart_callback_add(content, "clicked", _on_image_choose, 
content);

[EGIT] [tools/eflete] master 28/59: Tizen theme: update bg chess resource.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ae2cff38f8eb1a1a284eb0dd2449783453a0cb9c

commit ae2cff38f8eb1a1a284eb0dd2449783453a0cb9c
Author: Mykyta Biliavskyi 
Date:   Wed May 25 18:22:13 2016 +0300

Tizen theme: update bg chess resource.
---
 data/themes/tizen/images/bg_grid.png| Bin 0 -> 178 bytes
 data/themes/tizen/widgets/layouts/workspace.edc |   7 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/data/themes/tizen/images/bg_grid.png 
b/data/themes/tizen/images/bg_grid.png
new file mode 100644
index 000..9cba448
Binary files /dev/null and b/data/themes/tizen/images/bg_grid.png differ
diff --git a/data/themes/tizen/widgets/layouts/workspace.edc 
b/data/themes/tizen/widgets/layouts/workspace.edc
index 1bce127..4fb827c 100644
--- a/data/themes/tizen/widgets/layouts/workspace.edc
+++ b/data/themes/tizen/widgets/layouts/workspace.edc
@@ -1,4 +1,5 @@
 group { name: "elm/layout/workspace/bg";
+   images.image: "bg_grid.png" COMP;
parts {
   part { name: "bg0";
  type: RECT;
@@ -15,7 +16,7 @@ group { name: "elm/layout/workspace/bg";
  type: IMAGE;
  description { state: "default" 0.0;
 image {
-   normal: "bg_demo.png";
+   normal: "bg_grid.png";
middle: DEFAULT;
 }
 fill {
@@ -25,7 +26,7 @@ group { name: "elm/layout/workspace/bg";
  description { state: "black" 0.0;
 color: 255 255 255 0;
 image {
-   normal: "bg_demo.png";
+   normal: "bg_grid.png";
middle: DEFAULT;
 }
 fill {
@@ -35,7 +36,7 @@ group { name: "elm/layout/workspace/bg";
  description { state: "white" 0.0;
 color: 255 255 255 0;
 image {
-   normal: "bg_demo.png";
+   normal: "bg_grid.png";
middle: DEFAULT;
 }
 fill {

-- 




[EGIT] [tools/eflete] master 32/59: image/sound_manager: edc layout code unification

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=66465d2e78287a8ee4ef554d0a83c591d2b27199

commit 66465d2e78287a8ee4ef554d0a83c591d2b27199
Author: Vitalii Vorobiov 
Date:   Wed May 25 18:13:36 2016 +0300

image/sound_manager: edc layout code unification
---
 data/themes/default/widgets/layout.edc | 12 ++--
 data/themes/tizen/widgets/layout.edc   | 12 ++--
 src/bin/ui/image_manager.c |  8 
 src/bin/ui/sound_manager.c |  8 
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/data/themes/default/widgets/layout.edc 
b/data/themes/default/widgets/layout.edc
index 0167640..851fc01 100644
--- a/data/themes/default/widgets/layout.edc
+++ b/data/themes/default/widgets/layout.edc
@@ -775,11 +775,11 @@ group { name: "elm/layout/image_manager/default";
 }
 rel2 {
relative: 0.0 1.0;
-   to: "eflete.swallow.add_btn";
+   to: "elm.swallow.btn_add";
 }
  }
   }
-  part { name: "eflete.swallow.search_area";
+  part { name: "elm.swallow.search";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 0.0 0.0;
@@ -794,7 +794,7 @@ group { name: "elm/layout/image_manager/default";
 }
  }
   }
-  part { name: "eflete.swallow.del_btn";
+  part { name: "elm.swallow.btn_del";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 0.0;
@@ -819,11 +819,11 @@ group { name: "elm/layout/image_manager/default";
 }
 rel2 {
relative: 0.0 1.0;
-   to: "eflete.swallow.del_btn";
+   to: "elm.swallow.btn_del";
 }
  }
   }
-  part { name: "eflete.swallow.add_btn";
+  part { name: "elm.swallow.btn_add";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 1.0;
@@ -838,7 +838,7 @@ group { name: "elm/layout/image_manager/default";
 }
  }
   }
-  part { name: "eflete.swallow.grid";
+  part { name: "elm.swallow.list";
  type: SWALLOW;
  description { state: "default" 0.0;
 fixed: 1 1;
diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index 1c3828a..51ff0e4 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -766,11 +766,11 @@ group { name: "elm/layout/image_manager/default";
 }
 rel2 {
relative: 0.0 1.0;
-   to: "eflete.swallow.add_btn";
+   to: "elm.swallow.btn_add";
 }
  }
   }
-  part { name: "eflete.swallow.search_area";
+  part { name: "elm.swallow.search";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 0.0 0.0;
@@ -785,7 +785,7 @@ group { name: "elm/layout/image_manager/default";
 }
  }
   }
-  part { name: "eflete.swallow.del_btn";
+  part { name: "elm.swallow.btn_del";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 0.0;
@@ -810,11 +810,11 @@ group { name: "elm/layout/image_manager/default";
 }
 rel2 {
relative: 0.0 1.0;
-   to: "eflete.swallow.del_btn";
+   to: "elm.swallow.btn_del";
 }
  }
   }
-  part { name: "eflete.swallow.add_btn";
+  part { name: "elm.swallow.btn_add";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 1.0;
@@ -829,7 +829,7 @@ group { name: "elm/layout/image_manager/default";
 }
  }
   }
-  part { name: "eflete.swallow.grid";
+  part { name: "elm.swallow.list";
  type: SWALLOW;
  description { state: "default" 0.0;
 fixed: 1 1;
diff --git a/src/bin/ui/image_manager.c b/src/bin/ui/image_manager.c
index 10bb765..03dd62c 100644
--- a/src/bin/ui/image_manager.c
+++ b/src/bin/ui/image_manager.c
@@ -509,7 +509,7 @@ image_manager_add(void)
  }
 
mng.gengrid = elm_gengrid_add(mng.layout);
-   elm_object_part_content_set(mng.layout, "eflete.swallow.grid", mng.gengrid);
+   elm_object_part_content_set(mng.layout, "elm.swallow.list", mng.gengrid);
elm_gengrid_item_size_set(mng.gengrid, ITEM_WIDTH, ITEM_HEIGHT);
elm_gengrid_align_set(mng.gengrid, 0.0, 0.0);
elm_scroller_policy_set(mng.gengrid, ELM_SCROLLER_POLICY_OFF, 
ELM_SCROLLER_POLICY_AUTO);
@@ -522,17 +522,17 @@ image_manager_add(void)
button = elm_button_add(mng.layout);
elm_object_style_set(button, "plus");
evas_object_smart_callback_add(button, "clicked", _image_add_cb, NULL);
-   elm_object_part_content_set(mng.layout, "eflete.swallow.add_btn", button);
+   elm_object_part_content_set(mng.layout, 

[EGIT] [tools/eflete] master 08/59: Tizer theme: turn repeat events for top part in single entry style

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d162c3df368909e0e6fba748a81b556a8b00eee9

commit d162c3df368909e0e6fba748a81b556a8b00eee9
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 11:54:50 2016 +0300

Tizer theme: turn repeat events for top part in single entry style

Change-Id: I2567ba1841e3462006199dce3ae672fa89a4d197
---
 data/themes/tizen/widgets/entry.edc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/themes/tizen/widgets/entry.edc 
b/data/themes/tizen/widgets/entry.edc
index 65d581d..7de1787 100644
--- a/data/themes/tizen/widgets/entry.edc
+++ b/data/themes/tizen/widgets/entry.edc
@@ -969,6 +969,7 @@ group { name: "elm/scroller/entry_single/default";
   }
   part { name: "border";
  type: IMAGE;
+ repeat_events: 1;
  description { state: "default" 0.0;
 color_class: "border";
 image {

-- 




[EGIT] [tools/eflete] master 44/59: sound_manager: different layout for TIZEN related theme

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=1e3536fd23a430ce9c8e61f9154809dd42fec1e3

commit 1e3536fd23a430ce9c8e61f9154809dd42fec1e3
Author: Vitalii Vorobiov 
Date:   Wed May 25 19:54:13 2016 +0300

sound_manager: different layout for TIZEN related theme
---
 src/bin/ui/sound_manager.c | 24 +++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/sound_manager.c b/src/bin/ui/sound_manager.c
index 4f7bc22..796b995 100644
--- a/src/bin/ui/sound_manager.c
+++ b/src/bin/ui/sound_manager.c
@@ -25,6 +25,7 @@
 #include "modal_window.h"
 #include "config.h"
 #include "validator.h"
+#include "sound_player.h"
 
 #define ITEM_WIDTH 100
 #define ITEM_HEIGHT 115
@@ -51,6 +52,8 @@ struct _Sound_Manager
Evas_Object *win;
Evas_Object *panes;
Evas_Object *btn_del;
+   Evas_Object *player;
+   Evas_Object *property_panes;
Evas_Object *menu;
Evas_Object *tone_entry, *frq_entry;
Resource_Name_Validator *tone_validator;
@@ -499,11 +502,30 @@ sound_manager_add(void)
 
if (mng.layout) goto done;
 
+   mng.player = sound_player_add(mng.win);
+
+#ifdef HAVE_TIZEN
mng.layout = elm_layout_add(mng.win);
-   elm_layout_theme_set(mng.layout, "layout", "sound_manager", "default");
+   elm_layout_theme_set(mng.layout, "layout", "manager", "internal");
+   elm_object_part_text_set(mng.layout, "elm.text", _("Preview"));
+   elm_layout_text_set(mng.layout, "elm.subtext", _("Sound Gallery"));
mng.panes = elm_panes_add(mng.win);
elm_object_part_content_set(mng.panes, "left", mng.layout);
elm_object_part_content_set(mng.panes, "right", ap.property.sound_manager);
+   elm_object_part_content_set(mng.layout, "elm.swallow.preview", mng.player);
+#else
+   mng.layout = elm_layout_add(mng.win);
+   elm_layout_theme_set(mng.layout, "layout", "sound_manager", "default");
+   mng.panes = elm_panes_add(mng.win);
+   elm_object_part_content_set(mng.panes, "left", mng.layout);
+
+   mng.property_panes = elm_panes_add(mng.win);
+   elm_panes_horizontal_set(mng.property_panes, true);
+   elm_object_part_content_set(mng.panes, "right", mng.property_panes);
+
+   elm_object_part_content_set(mng.property_panes, "left", mng.player);
+   elm_object_part_content_set(mng.property_panes, "right", 
ap.property.sound_manager);
+#endif
 
if (!gic)
  {

-- 




[EGIT] [tools/eflete] master 30/59: property_textblock: add new wrap value and name this control properly

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=68755854ae12cba17de7f1d11173915d31ec236a

commit 68755854ae12cba17de7f1d11173915d31ec236a
Author: Vitalii Vorobiov 
Date:   Wed May 25 18:54:53 2016 +0300

property_textblock: add new wrap value and name this control properly
---
 src/bin/ui/property/property_textblock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_textblock.c 
b/src/bin/ui/property/property_textblock.c
index 0073e82..926911a 100644
--- a/src/bin/ui/property/property_textblock.c
+++ b/src/bin/ui/property/property_textblock.c
@@ -109,6 +109,7 @@ static const char *text_wrap[] = { "none",
"word",
"char",
"mixed",
+   "hyphenation",
NULL};
 
 static const char *style_table[][2] = {{"font", NULL},
@@ -1255,7 +1256,7 @@ _init_items()
   _action2(, "right", "px", PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_MARGIN_RIGHT);
   break;
case PROPERTY_TEXTBLOCK_ITEM_POSITION_WRAP:
-  IT.name = "font style (width)";
+  IT.name = "wrap";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_WRAP);
   break;
 

-- 




[EGIT] [tools/eflete] master 01/59: project_manager: fix potential segfault.

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=619a7b2782a1aeaa7214be2122742980ed9db870

commit 619a7b2782a1aeaa7214be2122742980ed9db870
Author: Andrii Kroitor 
Date:   Wed May 25 10:19:13 2016 +0300

project_manager: fix potential segfault.
---
 src/bin/project_manager/project_manager.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/project_manager/project_manager.c 
b/src/bin/project_manager/project_manager.c
index eaf3592..09f08e8 100644
--- a/src/bin/project_manager/project_manager.c
+++ b/src/bin/project_manager/project_manager.c
@@ -328,7 +328,8 @@ _project_files_create(void)
 free(pro);
 pro = NULL;
  }
-   eet_sync(pro->ef);
+   else
+ eet_sync(pro->ef);
 
return pro;
 }

-- 




[EGIT] [tools/eflete] master 57/59: Tizen theme: update inwin style

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=51f3b76b6b1bd1baf6afb9eeb400ab0a488f53e8

commit 51f3b76b6b1bd1baf6afb9eeb400ab0a488f53e8
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 22:50:16 2016 +0300

Tizen theme: update inwin style

Change-Id: Ief16b7d527128f339373f50c456696fc9c404b02
---
 data/themes/tizen/widgets/inwin.edc | 82 -
 1 file changed, 45 insertions(+), 37 deletions(-)

diff --git a/data/themes/tizen/widgets/inwin.edc 
b/data/themes/tizen/widgets/inwin.edc
index 9a92467..5fb0b06 100644
--- a/data/themes/tizen/widgets/inwin.edc
+++ b/data/themes/tizen/widgets/inwin.edc
@@ -6,16 +6,13 @@ group { name: "elm/win/inwin/modal_window";
 color: 0 0 0 0;
  }
  description { state: "clicked" 0.0;
+inherit: "default" 0.00;
 color: 255 0 0 50;
  }
   }
-  part { name: "pop";
- type: IMAGE;
+  part { name: "bg";
+ type: RECT;
  description { state: "default" 0.0;
-image {
-   normal: "popup-bg.png";
-   border: 34 34 34 34;
-}
 rel1.relative: 0.1 0.1;
 rel2.relative: 0.9 0.9;
  }
@@ -23,14 +20,8 @@ group { name: "elm/win/inwin/modal_window";
   part { name: "base";
  type: SPACER;
  description { state: "default" 0.0;
-rel1 {
-   offset: 26 20;
-   to: "pop";
-}
-rel2 {
-   offset: -27 -21;
-   to: "pop";
-}
+rel1.to: "bg";
+rel2.to: "bg";
  }
   }
   part { name: "elm.text.title";
@@ -38,9 +29,9 @@ group { name: "elm/win/inwin/modal_window";
  description { state: "default" 0.0;
 align: 0.5 0.0;
 fixed: 1 1;
-min: 0 34;
-max: -1 34;
-color_class: "main";
+min: 0 30;
+max: -1 30;
+color_class: "genlist_text_tree";
 text {
font: "PT:style=Bold";
size: 13;
@@ -62,18 +53,28 @@ group { name: "elm/win/inwin/modal_window";
   }
   part { name: "elm.swallow.icon";
  type: SWALLOW;
+ clip_to: "icon_painter";
  description { state: "default" 0.0;
 align: 0.0 0.5;
 fixed: 1 0;
 min: 16 16;
 max: 16 16;
 rel1 {
+   offset: 10 0;
to_x: "base";
to_y: "elm.text.title";
 }
 rel2.to_y: "elm.text.title";
  }
   }
+  part { name: "icon_painter";
+ type: RECT;
+ description { state: "default" 0.0;
+color: 0 138 237 255;
+rel1.to: "elm.swallow.icon";
+rel2.to: "elm.swallow.icon";
+ }
+  }
   part { name: "elm.swallow.close";
  type: SWALLOW;
  description { state: "default" 0.0;
@@ -86,18 +87,19 @@ group { name: "elm/win/inwin/modal_window";
to_y: "elm.text.title";
 }
 rel2 {
+   offset: -11 -1;
to_x: "base";
to_y: "elm.text.title";
 }
  }
   }
   part { name: "separator.title";
- type: IMAGE;
+ type: RECT;
  description { state: "default" 0.0;
 align: 0.5 0.0;
-min: 0 2;
-max: -1 2;
-image.normal: "separator-horizontal.png";
+min: 0 1;
+max: -1 1;
+color: 204 204 204 255;
 rel1 {
relative: 0.0 1.0;
to_x: "base";
@@ -112,11 +114,13 @@ group { name: "elm/win/inwin/modal_window";
 fixed: 1 0;
 rel1 {
relative: 0.0 1.0;
+   offset: 20 13;
to_x: "base";
to_y: "separator.title";
 }
 rel2 {
relative: 1.0 0.0;
+   offset: -21 -20;
to_x: "base";
to_y: "separator.buttons";
 }
@@ -126,20 +130,20 @@ group { name: "elm/win/inwin/modal_window";
  type: SPACER;
  description { state: "default" 0.0;
 align: 0.5 1.0;
-min: 0 34;
-max: -1 34;
+min: 0 60;
+max: -1 60;
 rel1.to: "base";
 rel2.to: "base";
  }
   }
   part { name: "separator.buttons";
- type: IMAGE;
+ type: RECT;
  description { state: "default" 0.0;
 align: 0.5 1.0;
 fixed: 1 1;
-min: 0 2;
-max: -1 2;
-image.normal: "separator-horizontal.png";
+min: 0 1;
+max: -1 1;
+color: 176 176 176 255;
 rel1.to: "base";
 rel2 {

[EGIT] [tools/eflete] master 24/59: Tizen theme: change the bg for property genlist

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=63d46d454eeb5457fbdb600c46e82c295459ab40

commit 63d46d454eeb5457fbdb600c46e82c295459ab40
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 17:09:50 2016 +0300

Tizen theme: change the bg for property genlist

Change-Id: Iae3fb7be2e38c615553d788d274964d17ae87ce1
---
 data/themes/tizen/widgets/genlist_property.edc | 16 
 1 file changed, 16 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist_property.edc 
b/data/themes/tizen/widgets/genlist_property.edc
index 8a580c6..303da32 100644
--- a/data/themes/tizen/widgets/genlist_property.edc
+++ b/data/themes/tizen/widgets/genlist_property.edc
@@ -1,21 +1,5 @@
 group { name: "elm/genlist/base/property";
inherit: "elm/genlist/base/default";
-   parts {
-  part { name: "bg";
- type: RECT;
- description { state: "default" 0.0;
-visible: 0;
- }
-  }
-  part { name: "shadow";
- description { state: "default" 0.0;
-visible: 0;
- }
- description { state: "disabled" 0.0;
-visible: 0;
- }
-  }
-   }
 }
 
 group { name: "elm/genlist/item/caption/property";

-- 




[EGIT] [tools/eflete] master 07/59: Tizen theme: copy genlist item styles for a new propery.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=afd1d23e9c13c80467eab2ba00061f86487df5f3

commit afd1d23e9c13c80467eab2ba00061f86487df5f3
Author: Mykyta Biliavskyi 
Date:   Wed May 25 11:38:44 2016 +0300

Tizen theme: copy genlist item styles for a new propery.
---
 data/themes/tizen/default.edc  |   1 +
 data/themes/tizen/widgets/genlist_property.edc | 548 +
 2 files changed, 549 insertions(+)

diff --git a/data/themes/tizen/default.edc b/data/themes/tizen/default.edc
index 58d15ef..f5d76de 100644
--- a/data/themes/tizen/default.edc
+++ b/data/themes/tizen/default.edc
@@ -11,6 +11,7 @@ collections {
#include "widgets/inwin.edc"
#include "widgets/genlist.edc"
#include "widgets/gengrid.edc"
+   #include "widgets/genlist_property.edc"
#include "widgets/entry.edc"
#include "widgets/check.edc"
#include "widgets/toolbar.edc"
diff --git a/data/themes/tizen/widgets/genlist_property.edc 
b/data/themes/tizen/widgets/genlist_property.edc
new file mode 100644
index 000..8a580c6
--- /dev/null
+++ b/data/themes/tizen/widgets/genlist_property.edc
@@ -0,0 +1,548 @@
+group { name: "elm/genlist/base/property";
+   inherit: "elm/genlist/base/default";
+   parts {
+  part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+visible: 0;
+ }
+  }
+  part { name: "shadow";
+ description { state: "default" 0.0;
+visible: 0;
+ }
+ description { state: "disabled" 0.0;
+visible: 0;
+ }
+  }
+   }
+}
+
+group { name: "elm/genlist/item/caption/property";
+   data {
+  item: "treesize" "12";
+  item: "texts" "text.item.name";
+  item: "contents" "swallow.icon";
+  item: "stacking" "above";
+  item: "selectraise" "on";
+   }
+   parts {
+  part { name: "separator_right";
+ type: IMAGE;
+ description { state: "default" 0.0;
+rel1 {
+   to_x: "text.item.name";
+   relative: 1.0 0.0;
+   offset: 6 0;
+}
+rel2 {
+   offset: -7 -1;
+}
+align: 0.0 0.5;
+min: 0 2;
+max: -1 2;
+image {
+   normal: "separator-horizontal.png";
+   middle: DEFAULT;
+}
+ }
+  }
+  part { name: "elm.swallow.pad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+align: 0.0 0.5;
+fixed: 1 0;
+rel2 {
+   relative: 0.0 1.0;
+}
+ }
+  }
+  part { name: "swallow.icon";
+ type: SWALLOW;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+align: 0.0 0.5;
+min: 14 14;
+max: 14 14;
+aspect: 1.0 1.0;
+aspect_preference: VERTICAL;
+rel1 {
+   relative: 1.0 0.0;
+   offset: 6 3;
+   to_x: "elm.swallow.pad";
+}
+rel2 {
+   relative: 0.0 1.0;
+   offset: -1 -4;
+}
+ }
+  }
+  part { name: "text.item.name";
+ type: TEXT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+min: 0 26;
+color_class: "main";
+align: 0.0 0.5;
+rel1 {
+   relative: 1.0 0.0;
+   offset: 6 0;
+   to_x: "swallow.icon";
+}
+rel2 {
+   offset: -7 -1;
+}
+text {
+   min: 1 0;
+   max: 1 0;
+   elipsis: -1;
+   font: "PT";
+   size: 12;
+   align: 0.0 0.5;
+}
+ }
+  }
+  part { name: "disclip";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+color: 255 255 255 0;
+ }
+  }
+   }
+}
+
+group { name: "elm/genlist/tree/caption/property";
+   data {
+  item: "treesize" "12";
+  item: "texts" "text.item.name";
+  item: "stacking" "above";
+  item: "selectraise" "on";
+   }
+   parts {
+  part { name: "separator_left";
+ type: IMAGE;
+ description { state: "default" 0.0;
+rel1 {
+   offset: 6 0;
+}
+rel2 {
+   to_x: "elm.swallow.pad";
+}
+align: 0.0 0.5;
+min: 0 2;
+max: -1 2;
+image {
+   normal: "separator-horizontal.png";
+   middle: DEFAULT;
+}
+ }
+  }
+  part { name: "separator_right";
+ type: IMAGE;
+ description { state: "default" 0.0;
+rel1 {
+   to_x: "text.item.name";
+   relative: 1.0 0.0;
+ 

[EGIT] [tools/eflete] master 36/59: property_group: add afters support

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=166c134c29fae5949ae3c4cdbd22448b7f561a16

commit 166c134c29fae5949ae3c4cdbd22448b7f561a16
Author: Andrii Kroitor 
Date:   Wed May 25 18:12:43 2016 +0300

property_group: add afters support
---
 src/bin/ui/property/property_group.c   | 142 +
 src/bin/ui/property/property_private.h |   2 +
 2 files changed, 144 insertions(+)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index a61c98d..2b84907 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -246,6 +246,18 @@ _on_part_state_selected(void *data __UNUSED__,

property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_STATE_TITLE]);
 }
 
+static Eina_Bool _expand_done = true;
+static void
+_expand_later_job(void *data)
+{
+   if (elm_genlist_item_expanded_get(data))
+ {
+elm_genlist_item_expanded_set(data, false);
+elm_genlist_item_expanded_set(data, true);
+ }
+   _expand_done = true;
+}
+
 static void
 _on_program_selected(void *data,
  Evas_Object *obj __UNUSED__,
@@ -262,6 +274,12 @@ _on_program_selected(void *data,
 
GENLIST_FILTER_APPLY(pd->genlist);

property_item_update_recursively(_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_TITLE]);
+
+   if (_expand_done)
+ {
+_expand_done = false;
+ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_AFTER].glit);
+ }
 }
 
 static void
@@ -299,6 +317,15 @@ _on_editor_attribute_changed(void *data __UNUSED__,
Property_Attribute *pa = attribute_map[*attribute].pa;
Property_Action *action = attribute_map[*attribute].action;
 
+   if (*attribute == ATTRIBUTE_PROGRAM_AFTER)
+ {
+if (_expand_done)
+  {
+ _expand_done = false;
+ ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_AFTER].glit);
+  }
+return;
+ }
assert(pa != NULL);
assert(action != NULL);
assert(action->update_cb != NULL);
@@ -508,6 +535,7 @@ _subitems_get(Property_Attribute *pa)
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_FILTER_PART);
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_FILTER_STATE);
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TITLE);
+ APPEND(PROPERTY_GROUP_ITEM_PROGRAM_AFTER);
  break;
   case PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TITLE:
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_ACTION_STATE);
@@ -1063,6 +1091,114 @@ _color_classes_combobox_fill(Evas_Object *combo, const 
char *selected)
 }
 
 static void
+_programs_combobox_fill(Evas_Object *combo, const char *selected)
+{
+   Eina_List *l;
+   Program *program;
+
+   assert(combo != NULL);
+
+   if (selected)
+ ewe_combobox_text_set(combo, selected);
+   else
+ ewe_combobox_text_set(combo, STR_NONE);
+   ewe_combobox_item_add(combo, STR_NONE);
+
+   EINA_LIST_FOREACH(group_pd.group->programs, l, program)
+  ewe_combobox_item_add(combo, program->name);
+}
+
+static void
+_del_cb(Property_Attribute *pa)
+{
+   eina_stringshare_del(pa->name);
+   eina_stringshare_del(pa->data);
+   free(pa);
+}
+
+static void
+_afters_init_cb(Property_Attribute *pa, Property_Action *action)
+{
+   assert(pa != NULL);
+   assert(action != NULL);
+   assert(action->control != NULL);
+
+   _programs_combobox_fill(action->control, pa->data);
+}
+
+static void
+_afters_change_cb(Property_Attribute *pa, Property_Action *action)
+{
+   Eina_List *afters, *l;
+   Eina_Stringshare *name;
+   int i = 0;
+   Ewe_Combobox_Item *cb_item = NULL;
+   Eina_Bool added = false;
+
+   assert(pa != NULL);
+   assert(action != NULL);
+   assert(action->control != NULL);
+   assert(group_pd.history.change == NULL);
+
+   group_pd.history.change = change_add("program afters changed");
+
+   TODO("change this after migrating to elm_combobox");
+   cb_item = ewe_combobox_select_item_get(action->control);
+
+   assert(cb_item != NULL);
+
+   afters = edje_edit_program_afters_get(EDIT_OBJ, PROGRAM_ARGS);
+   EINA_LIST_REVERSE_FOREACH(afters, l, name)
+ {
+CRIT_ON_FAIL(editor_program_after_del(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, name));
+ }
+   EINA_LIST_FOREACH(afters, l, name)
+ {
+if (i != pa->int_data)
+  CRIT_ON_FAIL(editor_program_after_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, name));
+else if (cb_item->index != 0)
+  {
+ CRIT_ON_FAIL(editor_program_after_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, cb_item->title));
+ added = true;
+  }
+i++;
+ }
+   if (!added && (cb_item->index != 0))
+ CRIT_ON_FAIL(editor_program_after_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, cb_item->title));
+   history_change_add(group_pd.group->history, group_pd.history.change);
+   group_pd.history.change = NULL;
+}
+
+static Eina_List *

[EGIT] [tools/eflete] master 59/59: Tizen theme: update combobox item for color_class

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=adc9c5448a84865fb8514cedf29178d17a9625d8

commit adc9c5448a84865fb8514cedf29178d17a9625d8
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 23:09:29 2016 +0300

Tizen theme: update combobox item for color_class

Change-Id: I0551c7977927f878a4fd0134db60c460a6f03d98
---
 data/themes/ewe_tizen/widgets/combobox.edc | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/themes/ewe_tizen/widgets/combobox.edc 
b/data/themes/ewe_tizen/widgets/combobox.edc
index 2f8722e..58a8ebe 100644
--- a/data/themes/ewe_tizen/widgets/combobox.edc
+++ b/data/themes/ewe_tizen/widgets/combobox.edc
@@ -941,7 +941,7 @@ group { name: "ewe/combobox/item/color_class";
  type: SPACER;
  scale: 1;
  description { state: "default" 0.0;
-min: 0 19;
+min: 0 24;
 max: -1 0;
  }
   }
@@ -976,7 +976,7 @@ group { name: "ewe/combobox/item/color_class";
   part { name: "highlight";
  type: RECT;
  description { state: "default" 0.0;
-color: 0 0 0 0;
+color: TRANSPARENT_COLOR;
 rel1 {
to: "base";
 }
@@ -985,7 +985,7 @@ group { name: "ewe/combobox/item/color_class";
 }
  }
  description { state: "focused" 0.0;
-color: 58 110 155 255;
+color: 203 233 255 255;
 rel1 {
to: "base";
 }
@@ -999,7 +999,7 @@ group { name: "ewe/combobox/item/color_class";
  scale: 1;
  description { state: "default" 0.0;
 align: 0.0 0.5;
-color: 174 176 177 255;
+color: 85 85 85 255;
 rel1 {
relative: 1.0 0.0;
to_x: "padding.left.text";

-- 




[EGIT] [tools/eflete] master 58/59: Tizen theme: update layout for managers

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=2a8c5c7981623cd7b74e650f6f01a3ed81a463b7

commit 2a8c5c7981623cd7b74e650f6f01a3ed81a463b7
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 22:57:28 2016 +0300

Tizen theme: update layout for managers

Change-Id: I45a21720d25dade7770b96f2fb0d214edbe19b97
---
 data/themes/tizen/widgets/layouts/manager.edc | 27 +--
 1 file changed, 5 insertions(+), 22 deletions(-)

diff --git a/data/themes/tizen/widgets/layouts/manager.edc 
b/data/themes/tizen/widgets/layouts/manager.edc
index febf696..80c6a4c 100644
--- a/data/themes/tizen/widgets/layouts/manager.edc
+++ b/data/themes/tizen/widgets/layouts/manager.edc
@@ -7,16 +7,15 @@ group { name: "elm/layout/manager/internal";
 align: 0.0 0.0;
 fixed: 0 1;
 max: -1 19;
-color_class: "main";
+color_class: "genlist_text_tree";
 text {
font: "PT";
-   size: 12;
+   size: 13;
max: 1 0;
 }
 rel1.offset: 0 2;
 rel2 {
offset: -7 -1;
-   to_x: "separator";
 }
  }
   }
@@ -65,39 +64,23 @@ group { name: "elm/layout/manager/internal";
 rel2.offset: -4 -4;
  }
   }
-  part { name: "separator";
- type: IMAGE;
- description { state: "default" 0.0;
-align: 1.0 0.0;
-fixed: 1 0;
-min: 2 2;
-max: -1 2;
-image.normal: "separator-horizontal.png";
-rel1 {
-   relative: 0.0 1.0;
-   offset: 0 3;
-   to_y: "elm.swallow.menu";
-}
-rel2.offset: -4 -1;
- }
-  }
   part { name: "elm.subtext";
  type: TEXT;
  scale: 1;
  description { state: "default" 0.0;
 align: 0.0 0.0;
 max: -1 19;
-color_class: "main";
+color_class: "genlist_text_tree";
 text {
font: "PT";
-   size: 12;
+   size: 13;
max: 1 0;
 }
 rel1 {
relative: 0.0 1.0;
offset: 0 3;
to_x: "elm.swallow.list";
-   to_y: "separator";
+   to_y: "elm.swallow.menu";
 }
 rel2 {
relative: 0.0 1.0;

-- 




[EGIT] [tools/eflete] master 18/59: demo: send signal that program was edited

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=70355266997636e639f71e9a439f8a3b9fd6a348

commit 70355266997636e639f71e9a439f8a3b9fd6a348
Author: Vitalii Vorobiov 
Date:   Wed May 25 15:21:07 2016 +0300

demo: send signal that program was edited

to update demo_list
---
 src/bin/editor/editor_macro.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/editor/editor_macro.h b/src/bin/editor/editor_macro.h
index 8ff0a7f..aaa6d97 100644
--- a/src/bin/editor/editor_macro.h
+++ b/src/bin/editor/editor_macro.h
@@ -696,5 +696,6 @@ editor_program_## FUNC ##_set(Evas_Object *edit_object, 
Change *change, Eina_Boo
  return false; \
_editor_project_changed(); \
if (!_editor_signals_blocked) evas_object_smart_callback_call(ap.win, 
SIGNAL_EDITOR_ATTRIBUTE_CHANGED, ); \
+   evas_object_smart_callback_call(ap.win, SIGNAL_EDITOR_PROGRAM_UPDATE, (void 
*)program); \
return true; \
 }

-- 




[EGIT] [tools/eflete] master 38/59: history_ui: fix undo/redo of changes with same name

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=035db3746e60a37350465d5c5c120dde8cf19ab9

commit 035db3746e60a37350465d5c5c120dde8cf19ab9
Author: Andrii Kroitor 
Date:   Wed May 25 18:47:22 2016 +0300

history_ui: fix undo/redo of changes with same name
---
 src/bin/ui/history_ui.c | 37 -
 1 file changed, 8 insertions(+), 29 deletions(-)

diff --git a/src/bin/ui/history_ui.c b/src/bin/ui/history_ui.c
index 2e58bad..ad8277b 100644
--- a/src/bin/ui/history_ui.c
+++ b/src/bin/ui/history_ui.c
@@ -67,24 +67,11 @@ _undo_item_selected(void *data __UNUSED__,
void *ei)
 {
Ewe_Combobox_Item *it = (Ewe_Combobox_Item *)ei;
-   Change *cur_change = NULL;
+   unsigned int i;
+
+   for (i = 0; i <= it->index; i++)
+ CRIT_ON_FAIL(history_undo(hd.history));
 
-   while (true)
- {
-cur_change = eina_list_data_get(hd.history->current_change);
-if (!cur_change || cur_change->description == it->title)
-  {
- history_undo(hd.history);
- break;
-  }
-
-if (!history_undo(hd.history))
-  {
- ERR("Can't undo change. Something is wrong with object");
- TODO("Add error handling here");
- abort();
-  }
- }
evas_object_smart_callback_call(ap.win, SIGNAL_PROPERTY_ATTRIBUTE_CHANGED, 
NULL);
_list_update(data, obj, ei);
 }
@@ -95,19 +82,11 @@ _redo_item_selected(void *data __UNUSED__,
 void *ei)
 {
Ewe_Combobox_Item *it = (Ewe_Combobox_Item *)ei;
-   Change *cur_change = NULL;
+   unsigned int i;
+
+   for (i = 0; i <= it->index; i++)
+ CRIT_ON_FAIL(history_redo(hd.history));
 
-   do
- {
-   if (!history_redo(hd.history))
-  {
- ERR("Can't redo change. Something is wrong with object");
- TODO("Add error handling here");
- abort();
-  }
-cur_change = eina_list_data_get(hd.history->current_change);
-  }
-   while (cur_change->description != it->title);
evas_object_smart_callback_call(ap.win, SIGNAL_PROPERTY_ATTRIBUTE_CHANGED, 
NULL);
_list_update(data, obj, ei);
 }

-- 




[EGIT] [tools/eflete] master 34/59: group_manager: remove unnecessary assert

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=c3717731ae066136544e5f3056a44540a6c911da

commit c3717731ae066136544e5f3056a44540a6c911da
Author: Vitalii Vorobiov 
Date:   Wed May 25 19:09:10 2016 +0300

group_manager: remove unnecessary assert
---
 src/bin/project_manager/group_manager.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/project_manager/group_manager.c 
b/src/bin/project_manager/group_manager.c
index 843b94d..72b3d38 100644
--- a/src/bin/project_manager/group_manager.c
+++ b/src/bin/project_manager/group_manager.c
@@ -391,7 +391,6 @@ gm_group_del(Project *pro, Group *group)
assert(pro != NULL);
assert(group != NULL);
assert(group->edit_object == NULL);
-   assert(group->history == NULL);
 
/* Don't free the list data (Part), because data owners are another groups 
*/
group->used_in = eina_list_free(group->used_in);

-- 




[EGIT] [tools/eflete] master 04/59: Tizen theme: update style for check "eye".

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=018e2d9d62f6501056396a6404f3675ee3482009

commit 018e2d9d62f6501056396a6404f3675ee3482009
Author: Mykyta Biliavskyi 
Date:   Tue May 24 22:01:07 2016 +0300

Tizen theme: update style for check "eye".
---
 data/themes/tizen/images/eye_off_icon_nor.png | Bin 0 -> 1059 bytes
 data/themes/tizen/images/eye_on_icon_nor.png  | Bin 0 -> 1278 bytes
 data/themes/tizen/widgets/check.edc   | 156 +++---
 3 files changed, 38 insertions(+), 118 deletions(-)

diff --git a/data/themes/tizen/images/eye_off_icon_nor.png 
b/data/themes/tizen/images/eye_off_icon_nor.png
new file mode 100644
index 000..796ae63
Binary files /dev/null and b/data/themes/tizen/images/eye_off_icon_nor.png 
differ
diff --git a/data/themes/tizen/images/eye_on_icon_nor.png 
b/data/themes/tizen/images/eye_on_icon_nor.png
new file mode 100644
index 000..0adb9c9
Binary files /dev/null and b/data/themes/tizen/images/eye_on_icon_nor.png differ
diff --git a/data/themes/tizen/widgets/check.edc 
b/data/themes/tizen/widgets/check.edc
index 6dde5f7..f4b1c80 100644
--- a/data/themes/tizen/widgets/check.edc
+++ b/data/themes/tizen/widgets/check.edc
@@ -663,10 +663,8 @@ group { name: "elm/check/base/default";
 
 group { name: "elm/check/base/eye";
images {
-  image: "control-bg.png" COMP;
-  image: "control-bg-disabled.png" COMP;
-  image: "icon_eye.png" COMP;
-  image: "control-shadow.png" COMP;
+ image: "eye_on_icon_nor.png" COMP;
+ image: "eye_off_icon_nor.png" COMP;
}
parts {
   part { name: "bg";
@@ -675,27 +673,15 @@ group { name: "elm/check/base/eye";
  scale: 1;
  description { state: "default" 0.0;
 align: 0.0 0.5;
-min: 18 19;
-max: 18 19;
+min: 16 16;
+max: 16 16;
 aspect: 1.0 1.0;
-color_class: "bg_entry";
-image {
-   normal: "control-bg.png";
-   border: 8 8 8 8;
-   middle: DEFAULT;
-}
+image.normal: "eye_off_icon_nor.png";
  }
  description { state: "disabled" 0.0;
-align: 0.0 0.5;
-min: 18 19;
-max: 18 19;
-aspect: 1.0 1.0;
-color_class: "bg_entry";
-image {
-   normal: "control-bg-disabled.png";
-   border: 8 8 8 8;
-   middle: DEFAULT;
-}
+inherit: "default" 0.00;
+color_class: "bg_scroller_disabled";
+image.border: 8 8 8 8;
  }
   }
   part { name: "check";
@@ -705,7 +691,7 @@ group { name: "elm/check/base/eye";
  clip_to: "clipper";
  description { state: "default" 0.0;
 visible: 0;
-color_class: "main_alternative";
+image.normal: "eye_on_icon_nor.png";
 rel1 {
offset: 2 2;
to: "bg";
@@ -714,72 +700,31 @@ group { name: "elm/check/base/eye";
offset: -3 -3;
to: "bg";
 }
-image {
-   normal: "icon_eye.png";
-   middle: DEFAULT;
-}
  }
  description { state: "visible" 0.0;
+inherit: "default" 0.00;
 visible: 1;
-color_class: "main_alternative";
-rel1 {
-   offset: 0 0;
-   to: "bg";
-}
-rel2 {
-   offset: 0 0;
-   to: "bg";
-}
-image {
-   normal: "icon_eye.png";
-   middle: DEFAULT;
-}
+rel1.offset: 0 0;
+rel2.offset: 0 0;
  }
  description { state: "visible" 1.0;
-visible: 1;
-color_class: "main_alternative";
-rel1 {
-   offset: 1 1;
-   to: "bg";
-}
-rel2 {
-   offset: -2 -2;
-   to: "bg";
-}
-image {
-   normal: "icon_eye.png";
-   middle: DEFAULT;
-}
+inherit: "visible" 0.00;
+rel2.offset: -1 -1;
  }
   }
   part { name: "shadow";
  type: IMAGE;
  description { state: "default" 0.0;
-rel1 {
-   to: "bg";
-}
-rel2 {
-   to: "bg";
-}
 image {
normal: "control-shadow.png";
border: 8 8 8 8;
-   middle: DEFAULT;
 }
+rel1.to: "bg";
+rel2.to: "bg";
  }
  description { state: "disabled" 0.0;
+inherit: "default" 0.00;
 visible: 0;
-rel1 {
-   to: "bg";
-}
-rel2 {
-   to: "bg";
-}
-   

[EGIT] [tools/eflete] master 17/59: Tizen theme: update button default style.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4cdee698043ccbda2f406609d2956b224528ae1d

commit 4cdee698043ccbda2f406609d2956b224528ae1d
Author: Mykyta Biliavskyi 
Date:   Wed May 25 15:37:15 2016 +0300

Tizen theme: update button default style.
---
 data/themes/tizen/images/btn_widget.png | Bin 0 -> 2808 bytes
 data/themes/tizen/images/btn_widget_disable.png | Bin 0 -> 2808 bytes
 data/themes/tizen/images/btn_widget_hover.png   | Bin 0 -> 2807 bytes
 data/themes/tizen/images/btn_widget_push.png| Bin 0 -> 2789 bytes
 data/themes/tizen/widgets/button.edc| 371 ++--
 5 files changed, 225 insertions(+), 146 deletions(-)

diff --git a/data/themes/tizen/images/btn_widget.png 
b/data/themes/tizen/images/btn_widget.png
new file mode 100644
index 000..290e72d
Binary files /dev/null and b/data/themes/tizen/images/btn_widget.png differ
diff --git a/data/themes/tizen/images/btn_widget_disable.png 
b/data/themes/tizen/images/btn_widget_disable.png
new file mode 100644
index 000..a73c35e
Binary files /dev/null and b/data/themes/tizen/images/btn_widget_disable.png 
differ
diff --git a/data/themes/tizen/images/btn_widget_hover.png 
b/data/themes/tizen/images/btn_widget_hover.png
new file mode 100644
index 000..4e2f25b
Binary files /dev/null and b/data/themes/tizen/images/btn_widget_hover.png 
differ
diff --git a/data/themes/tizen/images/btn_widget_push.png 
b/data/themes/tizen/images/btn_widget_push.png
new file mode 100644
index 000..f197980
Binary files /dev/null and b/data/themes/tizen/images/btn_widget_push.png differ
diff --git a/data/themes/tizen/widgets/button.edc 
b/data/themes/tizen/widgets/button.edc
index 50bbc9e..bbc0455 100644
--- a/data/themes/tizen/widgets/button.edc
+++ b/data/themes/tizen/widgets/button.edc
@@ -1,186 +1,254 @@
+#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128
+#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25
+
 group { name: "elm/button/base/default";
alias: "elm/button/base/colorselector/default";
alias: "elm/button/base/fileselector/default";
alias: "elm/button/base/fileselector/actions/default";
alias: "elm/button/base/hoversel_vertical/fileselector/actions/default";
-   images {
-  image: "button_bg.png" COMP;
-  image: "button_click_bg.png" COMP;
-  image: "button_disabled_bg.png" COMP;
+images {
+  image: "btn_widget.png" COMP;
+  image: "btn_widget_push.png" COMP;
+  image: "btn_widget_disable.png" COMP;
+  image: "btn_widget_hover.png" COMP;
}
parts {
-  part { name: "bg";
- type: IMAGE;
+  part { name: "button_image";
+ mouse_events: 1;
  description { state: "default" 0.0;
-min: 19 19;
+min: 9 9;
 image {
-   normal: "button_bg.png";
-   border: 4 4 9 9;
+   normal: "btn_widget.png";
+   border: 3 3 3 3;
 }
  }
  description { state: "clicked" 0.0;
-min: 19 19;
+inherit: "default" 0.0;
 image {
-   normal: "button_click_bg.png";
-   border: 4 4 9 9;
+   normal: "btn_widget_push.png";
+   border: 3 3 3 3;
 }
  }
  description { state: "disabled" 0.0;
-min: 19 19;
+inherit:  "default" 0.0;
 image {
-   normal: "button_disabled_bg.png";
-   border: 4 4 9 9;
+   normal: "btn_widget_disable.png";
+   border: 3 3 3 3;
+}
+ }
+ description { state: "hovered" 0.0;
+inherit:  "default" 0.0;
+image {
+   normal: "btn_widget_hover.png";
+   border: 3 3 3 3;
 }
  }
   }
   part { name: "elm.swallow.content";
  type: SWALLOW;
- clip_to: "clipper";
  description { state: "default" 0.0;
+fixed: 1 0;
 visible: 0;
 align: 0.0 0.5;
-fixed: 1 0;
-rel2 {
-   relative: 0.0 1.0;
-}
+rel1.offset: 4 4;
+rel2.offset: 3 -5;
+rel2.relative: 0.0 1.0;
  }
  description { state: "visible" 0.0;
-align: 0.0 0.5;
-fixed: 1 1;
+inherit: "default" 0.0;
+fixed: 1 0;
+visible: 1;
 aspect: 1.0 1.0;
-aspect_preference: VERTICAL;
-rel1 {
-   offset: 6 2;
-}
-rel2 {
-   relative: 0.0 1.0;
-   offset: -1 -4;
-}
+//   aspect_preference: VERTICAL;
+rel2.offset: 4 -5;
  }
  description { state: "icononly" 0.0;
-aspect: 1.0 1.0;
-aspect_preference: VERTICAL;
-   

[EGIT] [tools/eflete] master 27/59: Tizen theme: update style for panes.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=cefe99948c232f256ac599d1b191f7adb94ce039

commit cefe99948c232f256ac599d1b191f7adb94ce039
Author: Mykyta Biliavskyi 
Date:   Wed May 25 17:58:59 2016 +0300

Tizen theme: update style for panes.
---
 .../tizen/images/window_scale_controller_h.png | Bin 0 -> 221 bytes
 .../tizen/images/window_scale_controller_v.png | Bin 0 -> 225 bytes
 data/themes/tizen/widgets/panes.edc| 235 ++---
 3 files changed, 65 insertions(+), 170 deletions(-)

diff --git a/data/themes/tizen/images/window_scale_controller_h.png 
b/data/themes/tizen/images/window_scale_controller_h.png
new file mode 100644
index 000..f314b49
Binary files /dev/null and 
b/data/themes/tizen/images/window_scale_controller_h.png differ
diff --git a/data/themes/tizen/images/window_scale_controller_v.png 
b/data/themes/tizen/images/window_scale_controller_v.png
new file mode 100644
index 000..c48a6bf
Binary files /dev/null and 
b/data/themes/tizen/images/window_scale_controller_v.png differ
diff --git a/data/themes/tizen/widgets/panes.edc 
b/data/themes/tizen/widgets/panes.edc
index 6b292a7..865f713 100644
--- a/data/themes/tizen/widgets/panes.edc
+++ b/data/themes/tizen/widgets/panes.edc
@@ -2,6 +2,7 @@ group { name: "elm/panes/vertical/default";
images {
   image: "panes_vertical.png" COMP;
   image: "panes_vertical_dots.png" COMP;
+  image: "window_scale_controller_v.png" COMP;
}
parts {
   part { name: "whole";
@@ -34,12 +35,8 @@ group { name: "elm/panes/vertical/default";
   part { name: "bar_area";
  type: SPACER;
  description { state: "default" 0.0;
-rel1 {
-   to_x: "left_constraint";
-}
-rel2 {
-   to_x: "right_constraint";
-}
+rel1.to_x: "left_constraint";
+rel2.to_x: "right_constraint";
  }
   }
   part { name: "elm.bar";
@@ -50,7 +47,8 @@ group { name: "elm/panes/vertical/default";
 confine: "bar_area";
  }
  description { state: "default" 0.0;
-min: 6 0;
+min: 13 0;
+max: 13 -1;
  }
   }
   part { name: "elm.swallow.event";
@@ -59,50 +57,30 @@ group { name: "elm/panes/vertical/default";
 visible: 0;
 fixed: 1 1;
 min: 6 0;
-rel1 {
-   to: "bar";
-}
-rel2 {
-   to: "bar";
-}
+rel1.to: "bar";
+rel2.to: "bar";
  }
   }
   part { name: "bar";
  type: IMAGE;
  description { state: "default" 0.0;
-rel1 {
-   to_x: "elm.bar";
-}
-rel2 {
-   to_x: "elm.bar";
-}
-image {
-   normal: "panes_vertical.png";
-   middle: DEFAULT;
-}
+image.normal: "panes_vertical.png";
+rel1.to_x: "elm.bar";
+rel2.to_x: "elm.bar";
  }
  description { state: "disabled" 0.0;
 visible: 0;
-rel1 {
-   to_y: "elm.swallow.event";
-}
-rel2 {
-   to_y: "elm.swallow.event";
-}
-image {
-   normal: "panes_vertical.png";
-   middle: DEFAULT;
-}
+image.normal: "panes_vertical.png";
+rel1.to_y: "elm.swallow.event";
+rel2.to_y: "elm.swallow.event";
  }
   }
   part { name: "hightlight";
  type: RECT;
  description { state: "default" 0.0;
-visible: 0;
-min: 4 0;
-max: 4 -1;
-color_class: "select";
-color: 255 255 255 0;
+min: 13 0;
+max: 13 -1;
+color: 229 229 229 255;
 rel1 {
offset: 1 0;
to: "bar";
@@ -113,44 +91,25 @@ group { name: "elm/panes/vertical/default";
 }
  }
  description { state: "focused" 0.0;
-min: 4 0;
-max: 4 -1;
-color_class: "select_dark";
-rel1 {
-   to: "bar";
-}
-rel2 {
-   to: "bar";
-}
+inherit: "default" 0.00;
+color: 191 193 196 255;
+rel1.offset: 0 0;
+rel2.offset: -1 -1;
  }
  description { state: "clicked" 0.0;
-min: 4 0;
-max: 4 -1;
-color_class: "select";
-rel1 {
-   to: "bar";
-}
-rel2 {
-   to: "bar";
-}
+inherit: "focused" 0.00;
+color: 185 187 190 255;
  }
   }
   part { name: "dots";
  type: IMAGE;
  description { state: 

[EGIT] [tools/eflete] master 39/59: Tizen theme: update workspace scroller layout.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=6d09abef1a96fa11c0568a064026a178eff50f24

commit 6d09abef1a96fa11c0568a064026a178eff50f24
Author: Mykyta Biliavskyi 
Date:   Wed May 25 19:29:30 2016 +0300

Tizen theme: update workspace scroller layout.
---
 data/themes/tizen/widgets/layouts/workspace.edc | 122 ++--
 1 file changed, 70 insertions(+), 52 deletions(-)

diff --git a/data/themes/tizen/widgets/layouts/workspace.edc 
b/data/themes/tizen/widgets/layouts/workspace.edc
index 4fb827c..9991749 100644
--- a/data/themes/tizen/widgets/layouts/workspace.edc
+++ b/data/themes/tizen/widgets/layouts/workspace.edc
@@ -80,25 +80,35 @@ group { name: "elm/layout/workspace/scroller";
  scale: 1;
  description { state: "default" 0.0;
 align: 0.0 0.0;
+fixed: 1 0;
 max: 25 25;
+rel1 {
+   relative: 1.0 1.0;
+   to_x: "border_right";
+   to_y: "border_top";
+}
  }
  description { state: "hide" 0.0;
-align: 0.0 0.0;
+inherit: "default" 0.00;
+fixed: 0 0;
 max: 0 0;
+rel1 {
+   relative: 0.0 0.0;
+   to_x: "";
+   to_y: "";
+}
  }
   }
   part { name: "bg.ruler_v";
  type: RECT;
  scale: 1;
  description { state: "default" 0.0;
-color_class: "bg_entry";
+color_class: "genlist_bg";
 rel1 {
relative: 0.0 1.0;
to_y: "area.ruler.cros";
 }
-rel2 {
-   to_x: "area.ruler.cros";
-}
+rel2.to_x: "area.ruler.cros";
  }
   }
   part { name: "elm.swallow.ruler_v";
@@ -111,46 +121,27 @@ group { name: "elm/layout/workspace/scroller";
relative: 0.0 1.0;
to_y: "area.ruler.cros";
 }
-rel2 {
-   to_x: "area.ruler.cros";
-}
+rel2.to_x: "area.ruler.cros";
  }
  description { state: "hidden" 0.0;
-align: 0.0 0.5;
+inherit: "default" 0.00;
 max: 0 -1;
-rel1 {
-   relative: 0.0 1.0;
-   to_y: "area.ruler.cros";
-}
-rel2 {
-   to_x: "area.ruler.cros";
-}
  }
-
   }
   part { name: "clipper.ruler_v";
  type: RECT;
  description { state: "default" 0.0;
-rel1 {
-   to: "elm.swallow.ruler_v";
-}
-rel2 {
-   to: "elm.swallow.ruler_v";
-}
+rel1.to: "elm.swallow.ruler_v";
+rel2.to: "elm.swallow.ruler_v";
  }
   }
   part { name: "bg.ruler_h";
  type: RECT;
  scale: 1;
  description { state: "default" 0.0;
-color_class: "bg_entry";
-rel1 {
-   relative: 0.0 0.0;
-   to: "area.ruler.cros";
-}
-rel2 {
-   to_y: "area.ruler.cros";
-}
+color_class: "genlist_bg";
+rel1.to: "area.ruler.cros";
+rel2.to_y: "area.ruler.cros";
  }
   }
   part { name: "elm.swallow.ruler_h";
@@ -158,36 +149,23 @@ group { name: "elm/layout/workspace/scroller";
  scale: 1;
  clip_to: "clipper.ruler_h";
  description { state: "default" 0.0;
-align: 0.5. 0.0;
+align: 0.5 0.0;
 rel1 {
relative: 1.0 0.0;
to_x: "area.ruler.cros";
 }
-rel2 {
-   to_y: "area.ruler.cros";
-}
+rel2.to_y: "area.ruler.cros";
  }
  description { state: "hidden" 0.0;
-align: 0.5. 0.0;
+inherit: "default" 0.00;
 max: -1 0;
-rel1 {
-   relative: 1.0 0.0;
-   to_x: "area.ruler.cros";
-}
-rel2 {
-   to_y: "area.ruler.cros";
-}
  }
   }
   part { name: "clipper.ruler_h";
  type: RECT;
  description { state: "default" 0.0;
-rel1 {
-   to: "elm.swallow.ruler_h";
-}
-rel2 {
-   to: "elm.swallow.ruler_h";
-}
+rel1.to: "elm.swallow.ruler_h";
+rel2.to: "elm.swallow.ruler_h";
  }
   }
   part { name: "elm.swallow.scroller";
@@ -203,11 +181,51 @@ group { name: "elm/layout/workspace/scroller";
   part { name: "elm.swallow.overlay";
  type: SWALLOW;
  description { state: "default" 0.0;
+rel1.to: "elm.swallow.scroller";
+rel2.to: "elm.swallow.scroller";
+ }
+  }
+  part { name: "border_top";
+ 

[EGIT] [tools/eflete] master 31/59: image_manager: remove preview from property and set it into panes (default theme)

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=a5ef52a475b2374a6fba6c43a07cf792a7054440

commit a5ef52a475b2374a6fba6c43a07cf792a7054440
Author: Vitalii Vorobiov 
Date:   Wed May 25 16:54:31 2016 +0300

image_manager: remove preview from property and set it into panes (default 
theme)

it will be different for TIZEN
---
 src/bin/ui/image_manager.c | 27 ---
 src/bin/ui/property/property_common.c  |  6 --
 src/bin/ui/property/property_image.c   | 27 +--
 src/bin/ui/property/property_private.h |  2 --
 4 files changed, 25 insertions(+), 37 deletions(-)

diff --git a/src/bin/ui/image_manager.c b/src/bin/ui/image_manager.c
index 0b1fe18..10bb765 100644
--- a/src/bin/ui/image_manager.c
+++ b/src/bin/ui/image_manager.c
@@ -45,6 +45,8 @@ struct _Image_Manager
 {
Evas_Object *win;
Evas_Object *panes;
+   Evas_Object *property_panes;
+   Evas_Object *image;
Evas_Object *del_button;
Evas_Object *gengrid;
Evas_Object *layout;
@@ -184,6 +186,20 @@ _grid_sel_cb(void *data __UNUSED__,
 /* if selected image is not used, we can delete it */
 if (!item->is_used)
   elm_object_disabled_set(mng.del_button, false);
+
+ /* apply picture */
+ if (item->comp_type == EDJE_EDIT_IMAGE_COMP_USER)
+   {
+  if (ecore_file_exists(item->source))
+elm_image_file_set(mng.image, item->source, NULL);
+  else
+elm_image_file_set(mng.image, EFLETE_THEME, 
"elm/image/icon/attention");
+   }
+ else
+   {
+  elm_image_file_set(mng.image, item->source, NULL);
+   }
+ evas_object_image_smooth_scale_set(mng.image, false);
  }
else
  {
@@ -197,6 +213,7 @@ _grid_sel_cb(void *data __UNUSED__,
   break;
}
   }
+elm_image_file_set(mng.image, EFLETE_IMG_PATH EFLETE_DUMMY_IMAGE_NAME, 
NULL);
  }
evas_object_smart_callback_call(ap.win, SIGNAL_IMAGE_SELECTED, item);
 }
@@ -396,7 +413,6 @@ _image_manager_init(void)
External_Resource *res;
 
images = ap.project->images;
-printf("FIXN");
 
if (images)
  {
@@ -419,7 +435,6 @@ printf("FIXN");
  }
 
evas_object_smart_callback_call(ap.win, SIGNAL_IMAGE_SELECTED, NULL);
-printf("FIXN");
return true;
 }
 
@@ -476,7 +491,13 @@ image_manager_add(void)
elm_layout_theme_set(mng.layout, "layout", "image_manager", "default");
mng.panes = elm_panes_add(mng.win);
elm_object_part_content_set(mng.panes, "left", mng.layout);
-   elm_object_part_content_set(mng.panes, "right", ap.property.image_manager);
+   mng.property_panes = elm_panes_add(mng.win);
+   elm_panes_horizontal_set(mng.property_panes, true);
+   elm_object_part_content_set(mng.panes, "right", mng.property_panes);
+   mng.image = elm_image_add(mng.property_panes);
+   evas_object_show(mng.image);
+   elm_object_part_content_set(mng.property_panes, "left", mng.image);
+   elm_object_part_content_set(mng.property_panes, "right", 
ap.property.image_manager);
 
if (!gic)
  {
diff --git a/src/bin/ui/property/property_common.c 
b/src/bin/ui/property/property_common.c
index 2d0deba..7344b6e 100644
--- a/src/bin/ui/property/property_common.c
+++ b/src/bin/ui/property/property_common.c
@@ -277,11 +277,6 @@ _control_create(Property_Attribute *pa, Property_Action 
*action, Evas_Object *pa
   case PROPERTY_CONTROL_LABEL:
  content = elm_label_add(parent);
  return content;
-  case PROPERTY_CONTROL_IMAGE_PREVIEW:
- content = elm_image_add(parent);
- evas_object_size_hint_min_set(content, 300, 300);
- evas_object_show(content);
- return content;
   case PROPERTY_CONTROL_IMAGE_NORMAL:
  content = property_image_normal_control_add(parent);
  evas_object_smart_callback_add(content, "image,changed", 
_start_change_stop_cb, pa);
@@ -571,7 +566,6 @@ property_common_itc_init(Property_Data *pd)
pd->item_classes[PROPERTY_CONTROL_COMBOBOX]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_COLORSEL]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_LABEL]  [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
-   pd->item_classes[PROPERTY_CONTROL_IMAGE_PREVIEW]  [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_IMAGE_NORMAL]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_IMAGE_TWEEN][PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
pd->item_classes[PROPERTY_CONTROL_SOUND_PLAYER]   [PROPERTY_CONTROL_NONE]   
  = pd->itc_1swallow;
diff --git a/src/bin/ui/property/property_image.c 
b/src/bin/ui/property/property_image.c
index a06d0f4..6a47b07 100644
--- a/src/bin/ui/property/property_image.c
+++ 

[EGIT] [tools/eflete] master 37/59: property_group: add program targets support

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=8a0fd1141cc7fce41239f88b294578c6b839fde7

commit 8a0fd1141cc7fce41239f88b294578c6b839fde7
Author: Andrii Kroitor 
Date:   Wed May 25 18:37:12 2016 +0300

property_group: add program targets support
---
 src/bin/ui/property/property_group.c   | 112 -
 src/bin/ui/property/property_private.h |   1 +
 2 files changed, 112 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 2b84907..1248097 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -279,6 +279,7 @@ _on_program_selected(void *data,
  {
 _expand_done = false;
 ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_AFTER].glit);
+ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TARGET].glit);
  }
 }
 
@@ -317,12 +318,14 @@ _on_editor_attribute_changed(void *data __UNUSED__,
Property_Attribute *pa = attribute_map[*attribute].pa;
Property_Action *action = attribute_map[*attribute].action;
 
-   if (*attribute == ATTRIBUTE_PROGRAM_AFTER)
+   if (*attribute == ATTRIBUTE_PROGRAM_AFTER ||
+   *attribute == ATTRIBUTE_PROGRAM_TARGET)
  {
 if (_expand_done)
   {
  _expand_done = false;
  ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_AFTER].glit);
+ ecore_job_add(_expand_later_job, 
group_pd.items[PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TARGET].glit);
   }
 return;
  }
@@ -535,6 +538,7 @@ _subitems_get(Property_Attribute *pa)
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_FILTER_PART);
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_FILTER_STATE);
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TITLE);
+ APPEND(PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TARGET);
  APPEND(PROPERTY_GROUP_ITEM_PROGRAM_AFTER);
  break;
   case PROPERTY_GROUP_ITEM_PROGRAM_ACTION_TITLE:
@@ -1199,6 +1203,103 @@ _afters_get(Property_Attribute *pa __UNUSED__)
 }
 
 static void
+_targets_init_cb(Property_Attribute *pa, Property_Action *action)
+{
+   assert(pa != NULL);
+   assert(action != NULL);
+   assert(action->control != NULL);
+
+   switch (group_pd.program->type)
+ {
+  case EDJE_ACTION_TYPE_ACTION_STOP:
+ _programs_combobox_fill(action->control, pa->data);
+ break;
+  case EDJE_ACTION_TYPE_STATE_SET:
+  case EDJE_ACTION_TYPE_SIGNAL_EMIT:
+  case EDJE_ACTION_TYPE_DRAG_VAL_SET:
+  case EDJE_ACTION_TYPE_DRAG_VAL_STEP:
+  case EDJE_ACTION_TYPE_DRAG_VAL_PAGE:
+ _parts_combobox_fill(action->control, pa->data, 0);
+ break;
+  default:
+ return;
+ }
+}
+
+static void
+_targets_change_cb(Property_Attribute *pa, Property_Action *action)
+{
+   Eina_List *targets, *l;
+   Eina_Stringshare *name;
+   int i = 0;
+   Ewe_Combobox_Item *cb_item = NULL;
+   Eina_Bool added = false;
+
+   assert(pa != NULL);
+   assert(action != NULL);
+   assert(action->control != NULL);
+   assert(group_pd.history.change == NULL);
+
+   group_pd.history.change = change_add("program targets changed");
+
+   TODO("change this target migrating to elm_combobox");
+   cb_item = ewe_combobox_select_item_get(action->control);
+
+   assert(cb_item != NULL);
+
+   targets = edje_edit_program_targets_get(EDIT_OBJ, PROGRAM_ARGS);
+   EINA_LIST_REVERSE_FOREACH(targets, l, name)
+ {
+CRIT_ON_FAIL(editor_program_target_del(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, name));
+ }
+   EINA_LIST_FOREACH(targets, l, name)
+ {
+if (i != pa->int_data)
+  CRIT_ON_FAIL(editor_program_target_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, name));
+else if (cb_item->index != 0)
+  {
+ CRIT_ON_FAIL(editor_program_target_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, cb_item->title));
+ added = true;
+  }
+i++;
+ }
+   if (!added && (cb_item->index != 0))
+ CRIT_ON_FAIL(editor_program_target_add(EDIT_OBJ, CHANGE_NO_MERGE, 
PROGRAM_ARGS, cb_item->title));
+   history_change_add(group_pd.group->history, group_pd.history.change);
+   group_pd.history.change = NULL;
+}
+
+
+static Eina_List *
+_targets_get(Property_Attribute *pa __UNUSED__)
+{
+   Property_Attribute *new_pa;
+   Eina_List *targets, *l, *items = NULL;
+   Eina_Stringshare *name;
+   int i = 0;
+
+   if (!group_pd.group) return NULL;
+   if (!group_pd.program) return NULL;
+
+   targets = edje_edit_program_targets_get(EDIT_OBJ, PROGRAM_ARGS);
+   targets = eina_list_append(targets, NULL);
+   EINA_LIST_FOREACH(targets, l, name)
+ {
+new_pa = mem_calloc(1, sizeof(Property_Attribute));
+if (!name)
+  new_pa->name = eina_stringshare_add("add new target");
+new_pa->del_cb = _del_cb;
+  

[EGIT] [tools/eflete] master 33/59: image_manager: apply different layout when TIZEN

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=e77e9a1e45f60c902e5d08e903e852217fedf6cb

commit e77e9a1e45f60c902e5d08e903e852217fedf6cb
Author: Vitalii Vorobiov 
Date:   Wed May 25 18:49:03 2016 +0300

image_manager: apply different layout when TIZEN
---
 src/bin/ui/image_manager.c | 112 -
 1 file changed, 111 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/image_manager.c b/src/bin/ui/image_manager.c
index 03dd62c..bce4057 100644
--- a/src/bin/ui/image_manager.c
+++ b/src/bin/ui/image_manager.c
@@ -46,10 +46,18 @@ struct _Image_Manager
Evas_Object *win;
Evas_Object *panes;
Evas_Object *property_panes;
+   Evas_Object *entry_prev;
Evas_Object *image;
Evas_Object *del_button;
Evas_Object *gengrid;
Evas_Object *layout;
+#ifdef HAVE_TIZEN
+   struct {
+Evas_Object *black;
+Evas_Object *tile;
+Evas_Object *white;
+   } bg_switcher;
+#endif
Search_Data image_search_data;
 };
 
@@ -470,6 +478,79 @@ _project_closed_cb(void *data __UNUSED__,
elm_gengrid_clear(mng.gengrid);
 }
 
+#ifdef HAVE_TIZEN
+static void
+_bg_cb(void *data,
+   Evas_Object *obj,
+   void *event_info __UNUSED__)
+{
+   Bg_Preview bg_mode;
+   const char *signal = NULL;
+   Evas_Object *entry_prev = data;
+
+   Evas_Object *bg = elm_object_part_content_get(entry_prev, 
"elm.swallow.background");
+   bg_mode = elm_radio_value_get(obj);
+   switch (bg_mode)
+ {
+  case BG_PREVIEW_WHITE:
+ signal = "elm,bg,white";
+ break;
+  case BG_PREVIEW_TILE:
+ signal = "elm,bg,tile";
+ break;
+  case BG_PREVIEW_BLACK:
+ signal = "elm,bg,black";
+ break;
+ }
+
+   elm_layout_signal_emit(bg, signal, "eflete");
+}
+
+static Evas_Object *
+_radio_switcher_add(Evas_Object *entry_prev,
+const char *style,
+Evas_Smart_Cb func,
+int state_value,
+Evas_Object *group)
+{
+   Evas_Object *radio;
+
+   radio = elm_radio_add(ap.win);
+   evas_object_show(radio);
+   elm_object_style_set(radio, style);
+   elm_radio_state_value_set(radio, state_value);
+   evas_object_smart_callback_add(radio, "changed", func, entry_prev);
+   elm_radio_group_add(radio, group);
+
+   return radio;
+}
+
+
+static Evas_Object*
+_add_box_bg(void)
+{
+   Evas_Object *box_bg;
+
+   BOX_ADD(ap.win, box_bg, true, false);
+   elm_box_padding_set(box_bg, 6, 6);
+   elm_box_align_set(box_bg, 1.0, 0.5);
+
+   /* add to toolbar bg switcher */
+   mng.bg_switcher.white = _radio_switcher_add(mng.entry_prev, "bg_white", 
_bg_cb, BG_PREVIEW_WHITE, NULL);
+   elm_box_pack_end(box_bg, mng.bg_switcher.white);
+
+   mng.bg_switcher.tile = _radio_switcher_add(mng.entry_prev, "bg_tile", 
_bg_cb, BG_PREVIEW_TILE, mng.bg_switcher.white);
+   elm_box_pack_end(box_bg, mng.bg_switcher.tile);
+
+   mng.bg_switcher.black = _radio_switcher_add(mng.entry_prev, "bg_black", 
_bg_cb, BG_PREVIEW_BLACK, mng.bg_switcher.white);
+   elm_box_pack_end(box_bg, mng.bg_switcher.black);
+
+   elm_radio_value_set(mng.bg_switcher.white, BG_PREVIEW_TILE);
+
+   return box_bg;
+}
+#endif
+
 Evas_Object *
 image_manager_add(void)
 {
@@ -487,6 +568,34 @@ image_manager_add(void)
 
if (mng.layout) goto done;
 
+#ifdef HAVE_TIZEN
+   Evas_Object *bg, *box_bg;
+
+   mng.layout = elm_layout_add(mng.win);
+   elm_layout_theme_set(mng.layout, "layout", "manager", "internal");
+   elm_object_part_text_set(mng.layout, "elm.text", _("Preview"));
+   elm_layout_text_set(mng.layout, "elm.subtext", _("Image Gallery"));
+   mng.panes = elm_panes_add(mng.win);
+   elm_object_part_content_set(mng.panes, "left", mng.layout);
+   elm_object_part_content_set(mng.panes, "right", ap.property.image_manager);
+
+   mng.entry_prev = elm_layout_add(mng.layout);
+   elm_layout_theme_set(mng.entry_prev, "layout", "manager", "preview");
+   evas_object_show(mng.entry_prev);
+
+   mng.image = elm_image_add(mng.panes);
+   evas_object_show(mng.image);
+
+   bg = elm_layout_add(mng.layout);
+   elm_layout_theme_set(bg, "layout", "workspace", "bg");
+   elm_object_part_content_set(mng.entry_prev, "elm.swallow.background", bg);
+   elm_object_part_content_set(mng.entry_prev, "elm.swallow.entry", mng.image);
+   elm_object_signal_emit(mng.entry_prev, "entry,show", "eflete");
+   elm_object_part_content_set(mng.layout, "elm.swallow.preview", 
mng.entry_prev);
+
+   box_bg = _add_box_bg();
+   elm_object_part_content_set(mng.layout, "elm.swallow.menu", box_bg);
+#else
mng.layout = elm_layout_add(mng.win);
elm_layout_theme_set(mng.layout, "layout", "image_manager", "default");
mng.panes = elm_panes_add(mng.win);
@@ -494,10 +603,11 @@ image_manager_add(void)
mng.property_panes = elm_panes_add(mng.win);
elm_panes_horizontal_set(mng.property_panes, true);
elm_object_part_content_set(mng.panes, "right", 

[EGIT] [tools/eflete] master 06/59: Tizen theme: update style for horizontal toolbar.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4a56824a2c1530d0169b24ad98aaf918048ab712

commit 4a56824a2c1530d0169b24ad98aaf918048ab712
Author: Mykyta Biliavskyi 
Date:   Wed May 25 10:09:57 2016 +0300

Tizen theme: update style for horizontal toolbar.
---
 data/themes/tizen/color_classes.edc   |  11 ++
 data/themes/tizen/widgets/toolbar.edc | 361 +++---
 2 files changed, 166 insertions(+), 206 deletions(-)

diff --git a/data/themes/tizen/color_classes.edc 
b/data/themes/tizen/color_classes.edc
index e7894ae..783fe65 100644
--- a/data/themes/tizen/color_classes.edc
+++ b/data/themes/tizen/color_classes.edc
@@ -1,4 +1,15 @@
 color_classes {
+   color_class { name: "text_tabs_default";
+  color: 102 102 102 255;
+  color2: 0 0 0 0;
+  color3: 0 0 0 0;
+   }
+   color_class { name: "text_tabs_selected";
+  color: 0 150 221 255;
+  color2: 0 0 0 0;
+  color3: 0 0 0 0;
+   }
+
color_class { name: "genlist_bg";
   color: 244 244 244 255;
   color2: 0 0 0 0;
diff --git a/data/themes/tizen/widgets/toolbar.edc 
b/data/themes/tizen/widgets/toolbar.edc
index c563128..916ec89 100644
--- a/data/themes/tizen/widgets/toolbar.edc
+++ b/data/themes/tizen/widgets/toolbar.edc
@@ -511,116 +511,60 @@ group { name: "elm/toolbar/base/tabs_horizontal";
data {
   item: "icon_size" "16";
}
-   images {
-  image: "icon_arrow_left.png" COMP;
-  image: "icon_arrow_right.png" COMP;
-   }
parts {
   part { name: "base";
  type: RECT;
  description { state: "default" 0.0;
-min: 0 27;
-max: -1 27;
-color: 255 255 255 0;
- }
-  }
-  part { name: "separator";
- type: RECT;
- description { state: "default" 0.0;
 align: 0.5 1.0;
-min: 0 1;
-max: -1 1;
-/* Don't touch this color, it's color not defined in the color
- * class and taked from tab item picture (border of tab item) */
-color: 0 0 0 255;
-rel1.to_y: "base";
+min: 0 32;
+max: -1 32;
+color: 215 215 215 255;
  }
   }
   part { name: "clipper_arrow_left";
  type: RECT;
  description { state: "default" 0.0;
+visible: 0;
+align: 0.0 0.5;
 min: 18 0;
 max: 18 -1;
-align: 0.0 0.5;
-visible: 0;
  }
  description { state: "visible" 0.0;
-min: 18 0;
-max: 18 -1;
-align: 0.0 0.5;
+inherit: "default" 0.00;
 visible: 1;
  }
   }
-  part { name: "arrow_left";
- type: IMAGE;
- clip_to: "clipper_arrow_left";
- description { state: "default" 0.0;
-max: 16 16;
-color_class: "main";
-rel1 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-rel2 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-image {
-   normal: "icon_arrow_left.png";
-}
- }
- description { state: "focused" 0.0;
-max: 16 16;
-color_class: "select_light";
-rel1 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-rel2 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-image {
-   normal: "icon_arrow_left.png";
-}
- }
- description { state: "clicked" 0.0;
-max: 16 16;
-color_class: "select";
-rel1 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-rel2 {
-   to_x: "clipper_arrow_left";
-   to_y: "elm.swallow.content";
-}
-image {
-   normal: "icon_arrow_left.png";
-}
- }
-  }
   part { name: "clipper_arrow_right";
  type: RECT;
  description { state: "default" 0.0;
+visible: 0;
+align: 1.0 0.5;
 min: 18 0;
 max: 18 -1;
-align: 1.0 0.5;
-visible: 0;
  }
  description { state: "visible" 0.0;
-min: 18 0;
-max: 18 -1;
-align: 1.0 0.5;
+inherit: "default" 0.00;
 visible: 1;
  }
   }
+  part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+align: 0.5 1.0;
+fixed: 1 0;
+min: 0 32;
+max: -1 32;
+rel2.to_y: "separator";
+ }
+

[EGIT] [tools/eflete] master 40/59: ewe: add spec ewe theme for tizen

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=213ccd98d8857a104dbd2c947db1ba7a33e0ada3

commit 213ccd98d8857a104dbd2c947db1ba7a33e0ada3
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 19:45:17 2016 +0300

ewe: add spec ewe theme for tizen

Change-Id: I8db56f6c16e44e2f878caa627bb19b89e42e2413
---
 data/Makefile.am   |   15 +-
 data/themes/ewe_tizen/default.edc  |9 +
 data/themes/ewe_tizen/fonts/PTS55F.ttf |  Bin 0 -> 430804 bytes
 data/themes/ewe_tizen/fonts/PTS56F.ttf |  Bin 0 -> 424296 bytes
 data/themes/ewe_tizen/fonts/PTS75F.ttf |  Bin 0 -> 458084 bytes
 data/themes/ewe_tizen/fonts/PTS76F.ttf |  Bin 0 -> 363048 bytes
 data/themes/ewe_tizen/macro.edc|   51 +
 data/themes/ewe_tizen/text_styles.edc  |   44 +
 data/themes/ewe_tizen/widgets/combobox.edc | 1668 
 .../ewe_tizen/widgets/images/Bookmark_v3.png   |  Bin 0 -> 270 bytes
 .../widgets/images/Bookmark_v3_current.png |  Bin 0 -> 248 bytes
 .../ewe_tizen/widgets/images/button_click_bg.png   |  Bin 0 -> 3007 bytes
 .../widgets/images/color-background-2.png  |  Bin 0 -> 2888 bytes
 .../ewe_tizen/widgets/images/color-shadow-2.png|  Bin 0 -> 2905 bytes
 .../ewe_tizen/widgets/images/combobox_small_bg.png |  Bin 0 -> 475 bytes
 .../widgets/images/combobox_small_bg_focused.png   |  Bin 0 -> 455 bytes
 .../widgets/images/combobox_small_bg_unactive.png  |  Bin 0 -> 488 bytes
 .../widgets/images/cursor-position-hor.png |  Bin 0 -> 3097 bytes
 .../widgets/images/cursor-position-ver.png |  Bin 0 -> 3079 bytes
 .../ewe_tizen/widgets/images/dropdown-bg.png   |  Bin 0 -> 260 bytes
 .../widgets/images/dropdown-bg_disabled.png|  Bin 0 -> 2877 bytes
 .../widgets/images/dropdown-bg_unactive.png|  Bin 0 -> 2939 bytes
 .../ewe_tizen/widgets/images/dropdown-focus-bg.png |  Bin 0 -> 353 bytes
 .../ewe_tizen/widgets/images/focus-outer-glow.png  |  Bin 0 -> 298 bytes
 data/themes/ewe_tizen/widgets/images/icon-add.png  |  Bin 0 -> 157 bytes
 .../ewe_tizen/widgets/images/icon-slidedown.png|  Bin 0 -> 150 bytes
 .../ewe_tizen/widgets/images/icon-slideup.png  |  Bin 0 -> 154 bytes
 .../widgets/images/input-text-bg_disable.png   |  Bin 0 -> 312 bytes
 .../ewe_tizen/widgets/images/ruler_relative.png|  Bin 0 -> 209 bytes
 .../ewe_tizen/widgets/images/scroll-area-dark.png  |  Bin 0 -> 206 bytes
 .../ewe_tizen/widgets/images/scroll-indicator.png  |  Bin 0 -> 186 bytes
 .../ewe_tizen/widgets/images/section-dark-bg.png   |  Bin 0 -> 176 bytes
 .../ewe_tizen/widgets/images/section-item-bg.png   |  Bin 0 -> 118 bytes
 .../ewe_tizen/widgets/images/tab-content-bg.png|  Bin 0 -> 136 bytes
 .../widgets/images/tab-head-active-bg.png  |  Bin 0 -> 228 bytes
 .../ewe_tizen/widgets/images/tab-head-bg.png   |  Bin 0 -> 240 bytes
 .../widgets/images/tool_s_ic_arrow_nor.png |  Bin 0 -> 156 bytes
 .../widgets/images/tool_s_ic_arrow_sel.png |  Bin 0 -> 156 bytes
 .../ewe_tizen/widgets/images/tool_s_redo_dim.png   |  Bin 0 -> 1117 bytes
 .../ewe_tizen/widgets/images/tool_s_redo_nor.png   |  Bin 0 -> 1117 bytes
 .../ewe_tizen/widgets/images/tool_s_redo_over.png  |  Bin 0 -> 1126 bytes
 .../ewe_tizen/widgets/images/tool_s_redo_sel.png   |  Bin 0 -> 1115 bytes
 .../ewe_tizen/widgets/images/tool_s_undo_dim.png   |  Bin 0 ->  bytes
 .../ewe_tizen/widgets/images/tool_s_undo_nor.png   |  Bin 0 ->  bytes
 .../ewe_tizen/widgets/images/tool_s_undo_over.png  |  Bin 0 -> 1122 bytes
 .../ewe_tizen/widgets/images/tool_s_undo_sel.png   |  Bin 0 -> 1112 bytes
 .../widgets/images/white_bar_vert_glow.png |  Bin 0 -> 370 bytes
 data/themes/ewe_tizen/widgets/ruler.edc|  467 ++
 data/themes/ewe_tizen/widgets/scroller.edc |  448 ++
 49 files changed, 2697 insertions(+), 5 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 42743fd..3dd87a5 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,6 +12,8 @@ EDJE_FLAGS = -id $(top_srcdir)/data/layouts/images -fd 
$(top_srcdir)/data/fonts
 EDJE_FLAGS_DEFAULT = -id $(top_srcdir)/data/themes/default/images -id 
$(top_srcdir)/data/themes/default/images/splash -fd $(top_srcdir)/data/fonts
 EDJE_FLAGS_TIZEN = -id $(top_srcdir)/data/themes/tizen/images -id 
$(top_srcdir)/data/themes/tizen/images/splash -fd $(top_srcdir)/data/fonts
 EDJE_FLAGS_RESOURCES = -id $(top_srcdir)/data/resources/images
+EDJE_FLAGS_EWE = -fd $(top_srcdir)/data/themes/ewe/fonts -id 
$(top_srcdir)/data/themes/ewe/widgets/images
+EDJE_FLAGS_EWE_TIZEN = -fd $(top_srcdir)/data/themes/ewe_tizen/fonts -id 
$(top_srcdir)/data/themes/ewe_tizen/widgets/images
 
 filesdir = $(datadir)/eflete/themes/default
 files_DATA = eflete_elm.edj
@@ -58,8 +60,10 @@ ewe_DATA = ewe.edj
 
 if WANT_TIZEN
 build_opt = 

[EGIT] [tools/eflete] master 16/59: Tizen theme: update scroller and genlist theme.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4535d05d49db6c8c86e180309dba0f41dea3f402

commit 4535d05d49db6c8c86e180309dba0f41dea3f402
Author: Mykyta Biliavskyi 
Date:   Wed May 25 15:11:36 2016 +0300

Tizen theme: update scroller and genlist theme.
---
 data/themes/tizen/images/scroll.png|  Bin 0 -> 2844 bytes
 data/themes/tizen/images/scroll_bg.png |  Bin 0 -> 2800 bytes
 data/themes/tizen/images/scroll_bg_h.png   |  Bin 0 -> 2774 bytes
 data/themes/tizen/images/scroll_btn_down.png   |  Bin 0 -> 3015 bytes
 .../tizen/images/scroll_btn_down_disable.png   |  Bin 0 -> 2955 bytes
 data/themes/tizen/images/scroll_btn_down_hover.png |  Bin 0 -> 3013 bytes
 data/themes/tizen/images/scroll_btn_down_push.png  |  Bin 0 -> 3089 bytes
 data/themes/tizen/images/scroll_btn_left.png   |  Bin 0 -> 3010 bytes
 .../tizen/images/scroll_btn_left_disable.png   |  Bin 0 -> 2949 bytes
 data/themes/tizen/images/scroll_btn_left_hover.png |  Bin 0 -> 3003 bytes
 data/themes/tizen/images/scroll_btn_left_push.png  |  Bin 0 -> 3089 bytes
 data/themes/tizen/images/scroll_btn_right.png  |  Bin 0 -> 3012 bytes
 .../tizen/images/scroll_btn_right_disable.png  |  Bin 0 -> 2952 bytes
 .../themes/tizen/images/scroll_btn_right_hover.png |  Bin 0 -> 3003 bytes
 data/themes/tizen/images/scroll_btn_right_push.png |  Bin 0 -> 3086 bytes
 data/themes/tizen/images/scroll_btn_up.png |  Bin 0 -> 3018 bytes
 data/themes/tizen/images/scroll_btn_up_disable.png |  Bin 0 -> 2962 bytes
 data/themes/tizen/images/scroll_btn_up_hover.png   |  Bin 0 -> 2996 bytes
 data/themes/tizen/images/scroll_btn_up_push.png|  Bin 0 -> 3100 bytes
 data/themes/tizen/images/scroll_h.png  |  Bin 0 -> 2839 bytes
 data/themes/tizen/images/scroll_h_hover.png|  Bin 0 -> 2886 bytes
 data/themes/tizen/images/scroll_h_push.png |  Bin 0 -> 2882 bytes
 data/themes/tizen/images/scroll_hover.png  |  Bin 0 -> 2891 bytes
 data/themes/tizen/images/scroll_push.png   |  Bin 0 -> 2889 bytes
 data/themes/tizen/widgets/genlist.edc  |  444 +
 data/themes/tizen/widgets/scroller.edc | 1024 +++-
 26 files changed, 550 insertions(+), 918 deletions(-)

diff --git a/data/themes/tizen/images/scroll.png 
b/data/themes/tizen/images/scroll.png
new file mode 100644
index 000..d71e813
Binary files /dev/null and b/data/themes/tizen/images/scroll.png differ
diff --git a/data/themes/tizen/images/scroll_bg.png 
b/data/themes/tizen/images/scroll_bg.png
new file mode 100644
index 000..029b1bc
Binary files /dev/null and b/data/themes/tizen/images/scroll_bg.png differ
diff --git a/data/themes/tizen/images/scroll_bg_h.png 
b/data/themes/tizen/images/scroll_bg_h.png
new file mode 100644
index 000..8a2e7ec
Binary files /dev/null and b/data/themes/tizen/images/scroll_bg_h.png differ
diff --git a/data/themes/tizen/images/scroll_btn_down.png 
b/data/themes/tizen/images/scroll_btn_down.png
new file mode 100644
index 000..e274de7
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_down.png differ
diff --git a/data/themes/tizen/images/scroll_btn_down_disable.png 
b/data/themes/tizen/images/scroll_btn_down_disable.png
new file mode 100644
index 000..6136ba3
Binary files /dev/null and 
b/data/themes/tizen/images/scroll_btn_down_disable.png differ
diff --git a/data/themes/tizen/images/scroll_btn_down_hover.png 
b/data/themes/tizen/images/scroll_btn_down_hover.png
new file mode 100644
index 000..47e2e67
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_down_hover.png 
differ
diff --git a/data/themes/tizen/images/scroll_btn_down_push.png 
b/data/themes/tizen/images/scroll_btn_down_push.png
new file mode 100644
index 000..f623819
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_down_push.png 
differ
diff --git a/data/themes/tizen/images/scroll_btn_left.png 
b/data/themes/tizen/images/scroll_btn_left.png
new file mode 100644
index 000..4c549cd
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_left.png differ
diff --git a/data/themes/tizen/images/scroll_btn_left_disable.png 
b/data/themes/tizen/images/scroll_btn_left_disable.png
new file mode 100644
index 000..b4c3ce1
Binary files /dev/null and 
b/data/themes/tizen/images/scroll_btn_left_disable.png differ
diff --git a/data/themes/tizen/images/scroll_btn_left_hover.png 
b/data/themes/tizen/images/scroll_btn_left_hover.png
new file mode 100644
index 000..0f03c38
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_left_hover.png 
differ
diff --git a/data/themes/tizen/images/scroll_btn_left_push.png 
b/data/themes/tizen/images/scroll_btn_left_push.png
new file mode 100644
index 000..4973c24
Binary files /dev/null and b/data/themes/tizen/images/scroll_btn_left_push.png 
differ
diff --git 

[EGIT] [tools/eflete] master 14/59: property: fix tween control creation

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=f74fae475fc4acad3dde9e429cbc271f30414b83

commit f74fae475fc4acad3dde9e429cbc271f30414b83
Author: Andrii Kroitor 
Date:   Wed May 25 14:37:03 2016 +0300

property: fix tween control creation
---
 src/bin/ui/property/property_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/property/property_common.c 
b/src/bin/ui/property/property_common.c
index aeb9656..2d0deba 100644
--- a/src/bin/ui/property/property_common.c
+++ b/src/bin/ui/property/property_common.c
@@ -289,6 +289,7 @@ _control_create(Property_Attribute *pa, Property_Action 
*action, Evas_Object *pa
   case PROPERTY_CONTROL_IMAGE_TWEEN:
  content = property_image_tween_control_add(parent);
  evas_object_smart_callback_add(content, "image,tween,changed", 
_start_change_stop_cb, pa);
+ return content;
   case PROPERTY_CONTROL_SOUND_PLAYER:
  content = sound_player_add(parent);
  evas_object_show(content);

-- 




[EGIT] [tools/eflete] master 46/59: popup_style: make specific TIZEN-related style

2016-05-25 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=789b05403b4c833b88b7dbdf20779a8f59e0a299

commit 789b05403b4c833b88b7dbdf20779a8f59e0a299
Author: Vitalii Vorobiov 
Date:   Wed May 25 21:14:55 2016 +0300

popup_style: make specific TIZEN-related style
---
 data/themes/tizen/widgets/layout.edc | 42 +++-
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index d0504ac..b1fe743 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -88,20 +88,20 @@ group { name: "elm/layout/popup/hint";
 color: 0 0 0 0;
  }
   }
+  part { name: "border";
+ type: RECT;
+ description { state: "default" 0.0;
+color: 0 138 238 255;
+rel1.offset: -7 -7;
+rel2.offset: 7 7;
+ }
+  }
   part { name: "bg";
- type: IMAGE;
+ type: RECT;
  description { state: "default" 0.0;
-rel1 {
-   offset: -6 -6;
-}
-rel2 {
-   offset: 6 6;
-}
-image {
-   normal: "hint-background.png";
-   border: 5 5 3 3;
-   middle: DEFAULT;
-}
+color: 215 215 215 255;
+rel1.offset: -6 -6;
+rel2.offset: 6 6;
  }
   }
   part { name: "elm.swallow.content";
@@ -141,7 +141,6 @@ group { name: "elm/layout/popup/hint";
}
 }
 
-
 group { name: "elm/layout/popup/hint_title";
images {
   image: "hint-background.png" COMP;
@@ -156,9 +155,18 @@ group { name: "elm/layout/popup/hint_title";
 color: 0 0 0 0;
  }
   }
+  part { name: "border";
+ type: RECT;
+ description { state: "default" 0.0;
+color: 0 138 238 255;
+rel1.offset: -7 -7;
+rel2.offset: 7 7;
+ }
+  }
   part { name: "bg";
- type: IMAGE;
+ type: RECT;
  description { state: "default" 0.0;
+color: 215 215 215 255;
 rel1 {
to_y: "elm.text";
to_x: "elm.swallow.content";
@@ -168,10 +176,6 @@ group { name: "elm/layout/popup/hint_title";
to: "elm.swallow.content";
offset: 6 6;
 }
-image {
-   normal: "hint-background.png";
-   border: 5 5 3 3;
-}
  }
   }
   part { name: "elm.text";
@@ -213,8 +217,6 @@ group { name: "elm/layout/popup/hint_title";
}
 }
 
-
-
 group { name: "elm/layout/property/default";
parts {
   part { name: "bg_content";

-- 




[EGIT] [tools/eflete] master 25/59: Tizen theme: delete the separator for property genlist caption item

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=8213e6f1d68b979be64fe366cf06704c872ca6d9

commit 8213e6f1d68b979be64fe366cf06704c872ca6d9
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 17:11:10 2016 +0300

Tizen theme: delete the separator for property genlist caption item

Change-Id: Icbbde36ec0d030087a744578ce64b25b219ded96
---
 data/themes/tizen/widgets/genlist_property.edc | 58 --
 1 file changed, 58 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist_property.edc 
b/data/themes/tizen/widgets/genlist_property.edc
index 303da32..472e297 100644
--- a/data/themes/tizen/widgets/genlist_property.edc
+++ b/data/themes/tizen/widgets/genlist_property.edc
@@ -11,26 +11,6 @@ group { name: "elm/genlist/item/caption/property";
   item: "selectraise" "on";
}
parts {
-  part { name: "separator_right";
- type: IMAGE;
- description { state: "default" 0.0;
-rel1 {
-   to_x: "text.item.name";
-   relative: 1.0 0.0;
-   offset: 6 0;
-}
-rel2 {
-   offset: -7 -1;
-}
-align: 0.0 0.5;
-min: 0 2;
-max: -1 2;
-image {
-   normal: "separator-horizontal.png";
-   middle: DEFAULT;
-}
- }
-  }
   part { name: "elm.swallow.pad";
  type: SWALLOW;
  description { state: "default" 0.0;
@@ -104,44 +84,6 @@ group { name: "elm/genlist/tree/caption/property";
   item: "selectraise" "on";
}
parts {
-  part { name: "separator_left";
- type: IMAGE;
- description { state: "default" 0.0;
-rel1 {
-   offset: 6 0;
-}
-rel2 {
-   to_x: "elm.swallow.pad";
-}
-align: 0.0 0.5;
-min: 0 2;
-max: -1 2;
-image {
-   normal: "separator-horizontal.png";
-   middle: DEFAULT;
-}
- }
-  }
-  part { name: "separator_right";
- type: IMAGE;
- description { state: "default" 0.0;
-rel1 {
-   to_x: "text.item.name";
-   relative: 1.0 0.0;
-   offset: 6 0;
-}
-rel2 {
-   offset: -7 -1;
-}
-align: 0.0 0.5;
-min: 0 2;
-max: -1 2;
-image {
-   normal: "separator-horizontal.png";
-   middle: DEFAULT;
-}
- }
-  }
   part { name: "elm.swallow.pad";
  type: SWALLOW;
  description { state: "default" 0.0;

-- 




[EGIT] [tools/eflete] master 05/59: Tizen theme: update toggle style for check

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ce3641d5be76958cdb75da6a8e8ce58125c2a3fa

commit ce3641d5be76958cdb75da6a8e8ce58125c2a3fa
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 08:51:33 2016 +0300

Tizen theme: update toggle style for check

Change-Id: Id21a6ea920fafe86017e8df9a3da941cdd99c169
---
 data/themes/tizen/images/toggle-off.png | Bin 695 -> 1174 bytes
 data/themes/tizen/images/toggle-on.png  | Bin 716 -> 2987 bytes
 data/themes/tizen/widgets/check.edc | 181 ++--
 3 files changed, 10 insertions(+), 171 deletions(-)

diff --git a/data/themes/tizen/images/toggle-off.png 
b/data/themes/tizen/images/toggle-off.png
index ae6c53d..6e8c215 100644
Binary files a/data/themes/tizen/images/toggle-off.png and 
b/data/themes/tizen/images/toggle-off.png differ
diff --git a/data/themes/tizen/images/toggle-on.png 
b/data/themes/tizen/images/toggle-on.png
index 99d8421..a854656 100644
Binary files a/data/themes/tizen/images/toggle-on.png and 
b/data/themes/tizen/images/toggle-on.png differ
diff --git a/data/themes/tizen/widgets/check.edc 
b/data/themes/tizen/widgets/check.edc
index f4b1c80..59c099f 100644
--- a/data/themes/tizen/widgets/check.edc
+++ b/data/themes/tizen/widgets/check.edc
@@ -1,61 +1,5 @@
 group { name: "elm/check/base/toggle";
-   script {
-  public g_velocity;
-  public g_timer;
-  public move_button(val_on) {
- new l_timer;
- new Float:vel;
- new Float:dx, Float:dy;
-
- /* getting current velocity and saving increased value */
- vel = get_float(g_velocity);
- set_float(g_velocity, vel * 1.1);
-
- /* getting current position */
- get_drag(PART:"button", dx, dy);
-
- if (val_on)
- {
-/* changing button picture. this can be accidently skiped with some
-   initial positions and velocity values. so we need to set it 
again
-   during final step to be sure that it is applied*/
-if (dx > 0.6)
-{
-   set_state(PART:"button", "on", 0.0);
-}
-/* moving button */
-if (dx > 1.0 - vel) /* this is last iteration, finalizing state */
-{
-   set_drag(PART:"button", 1.0, 0.0);
-   set_state(PART:"button", "on", 0.0);
-}
-else /* moving and sceduling next step */
-{
-   set_drag(PART:"button", dx + vel, 0.0);
-   l_timer = timer(0.02, "move_button", val_on);
-}
- }
- else
- {
-if (dx < 0.0 + vel)
-{
-   set_drag(PART:"button", 0.0, 0.0);
-   set_state(PART:"button", "default", 0.0);
-}
-else
-{
-   set_drag(PART:"button", dx - vel, 0.0);
-   l_timer = timer(0.02, "move_button", val_on);
-}
- }
- /* save timer id to stop it later if needed */
- set_int(g_timer, l_timer);
-  }
-   }
-
images {
-  image: "control-bg.png" COMP;
-  image: "control-shadow.png" COMP;
   image: "toggle-off.png" COMP;
   image: "toggle-on.png" COMP;
}
@@ -172,99 +116,29 @@ group { name: "elm/check/base/toggle";
  type: SPACER;
  scale: 1;
  description { state: "default" 0.0;
-min: 60 19;
-max: 60 19;
+min: 78 28;
+max: 78 28;
 rel1 {
relative: 1.0 0.0;
to_x: "padding.text";
 }
  }
   }
-  part { name: "bg";
- type: IMAGE;
- scale: 1;
- clip_to: "clipper";
- description { state: "default" 0.0;
-color_class: "bg_entry";
-rel1 {
-   to: "base";
-}
-rel2 {
-   to: "base";
-}
-image {
-   normal: "control-bg.png";
-   border: 8 8 8 9;
-   middle: DEFAULT;
-}
- }
-  }
-  part { name: "shadow";
- type: IMAGE;
- description { state: "default" 0.0;
-rel1 {
-   to: "bg";
-}
-rel2 {
-   to: "bg";
-}
-image {
-   normal: "control-shadow.png";
-   border: 8 8 8 9;
-   middle: DEFAULT;
-}
- }
-  }
-  part { name: "area.drag";
- type: SPACER;
- description { state: "default" 0.0;
-rel1 {
-   offset: 1 1;
-   to: "base";
-}
-rel2 {
-   offset: -2 -1;
-   to: "base";
-}
- }
-  }
   part { name: "button";
  type: IMAGE;
  scale: 1;
  clip_to: "clipper";
- dragable {
-x: 1 1 

[EGIT] [tools/eflete] master 19/59: Tizen theme: update default spinner style

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=3dde9043dae55b9f81501e1388d4bf36e1dd5882

commit 3dde9043dae55b9f81501e1388d4bf36e1dd5882
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 15:20:50 2016 +0300

Tizen theme: update default spinner style

Change-Id: Ie39f8cc1c846bb89d37f60ccc2b9c3aa0ee76ad4
---
 .../images/spinner-horizontal-down-clicked.png | Bin 304 -> 980 bytes
 .../tizen/images/spinner-horizontal-down.png   | Bin 302 -> 980 bytes
 .../tizen/images/spinner-horizontal-up-clicked.png | Bin 297 -> 981 bytes
 data/themes/tizen/images/spinner-horizontal-up.png | Bin 293 -> 981 bytes
 data/themes/tizen/widgets/colorselector.edc|   4 +-
 data/themes/tizen/widgets/spinner.edc  | 244 ++---
 6 files changed, 67 insertions(+), 181 deletions(-)

diff --git a/data/themes/tizen/images/spinner-horizontal-down-clicked.png 
b/data/themes/tizen/images/spinner-horizontal-down-clicked.png
index ee0a970..84ae03f 100644
Binary files a/data/themes/tizen/images/spinner-horizontal-down-clicked.png and 
b/data/themes/tizen/images/spinner-horizontal-down-clicked.png differ
diff --git a/data/themes/tizen/images/spinner-horizontal-down.png 
b/data/themes/tizen/images/spinner-horizontal-down.png
index a33c57f..0384af6 100644
Binary files a/data/themes/tizen/images/spinner-horizontal-down.png and 
b/data/themes/tizen/images/spinner-horizontal-down.png differ
diff --git a/data/themes/tizen/images/spinner-horizontal-up-clicked.png 
b/data/themes/tizen/images/spinner-horizontal-up-clicked.png
index 469791b..ca5d86c 100644
Binary files a/data/themes/tizen/images/spinner-horizontal-up-clicked.png and 
b/data/themes/tizen/images/spinner-horizontal-up-clicked.png differ
diff --git a/data/themes/tizen/images/spinner-horizontal-up.png 
b/data/themes/tizen/images/spinner-horizontal-up.png
index 2a70fdd..5cc15a5 100644
Binary files a/data/themes/tizen/images/spinner-horizontal-up.png and 
b/data/themes/tizen/images/spinner-horizontal-up.png differ
diff --git a/data/themes/tizen/widgets/colorselector.edc 
b/data/themes/tizen/widgets/colorselector.edc
index ac93376..6fa07a6 100644
--- a/data/themes/tizen/widgets/colorselector.edc
+++ b/data/themes/tizen/widgets/colorselector.edc
@@ -508,7 +508,7 @@ group { name: "elm/button/base/colorselector/left/default";
 min: 10 17;
 max: 10 17;
 image {
-   normal: "spinner-horizontal-down-disabled.png";
+   normal: "spinner-horizontal-down.png";
middle: DEFAULT;
 }
 fill.smooth: 0;
@@ -613,7 +613,7 @@ group { name: "elm/button/base/colorselector/right/default";
 min: 10 17;
 max: 10 17;
 image {
-   normal: "spinner-horizontal-up-disabled.png";
+   normal: "spinner-horizontal-up.png";
middle: DEFAULT;
 }
 fill.smooth: 0;
diff --git a/data/themes/tizen/widgets/spinner.edc 
b/data/themes/tizen/widgets/spinner.edc
index 13746f8..5676b70 100644
--- a/data/themes/tizen/widgets/spinner.edc
+++ b/data/themes/tizen/widgets/spinner.edc
@@ -1,40 +1,18 @@
 group { name: "elm/spinner/base/default";
alias: "elm/spinner/base/colorselector/default";
images {
-  image: "control-bg.png" COMP;
-  image: "control-bg-disabled.png" COMP;
-  image: "control-shadow.png" COMP;
   image: "spinner-horizontal-down.png" COMP;
   image: "spinner-horizontal-down-clicked.png" COMP;
-  image: "spinner-horizontal-down-disabled.png" COMP;
   image: "spinner-horizontal-up.png" COMP;
   image: "spinner-horizontal-up-clicked.png" COMP;
-  image: "spinner-horizontal-up-disabled.png" COMP;
}
parts {
   part { name: "bg";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
+ type: RECT;
  description { state: "default" 0.0;
-min: 60 19;
-max: -1 19;
-color_class: "bg_entry";
-image {
-   normal: "control-bg.png";
-   border: 8 8 8 9;
-   middle: DEFAULT;
-}
- }
- description { state: "disabled" 0.0;
-min: 60 19;
-max: -1 19;
-color_class: "bg_entry";
-image {
-   normal: "control-bg-disabled.png";
-   border: 8 8 8 9;
-   middle: DEFAULT;
-}
+min: 76 24;
+max: -1 24;
+color_class: "border";
  }
   }
   part { name: "area.drag";
@@ -51,75 +29,41 @@ group { name: "elm/spinner/base/default";
 }
  }
   }
-  part { name: "elm.text";
- type: TEXT;
- scale: 1;
+  part { name: "bg_text";
+ type: RECT;
  description { state: "default" 0.0;
-fixed: 1 1;
-color_class: "main_alternative";

[EGIT] [tools/eflete] master 20/59: ui: fix properties switching

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=486d4ccb476a90ca3173810d9002eac21d3bb471

commit 486d4ccb476a90ca3173810d9002eac21d3bb471
Author: Andrii Kroitor 
Date:   Wed May 25 16:13:09 2016 +0300

ui: fix properties switching
---
 src/bin/ui/main_window.c |  1 -
 src/bin/ui/tabs.c| 22 ++
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/src/bin/ui/main_window.c b/src/bin/ui/main_window.c
index 7599a74..7991b46 100644
--- a/src/bin/ui/main_window.c
+++ b/src/bin/ui/main_window.c
@@ -138,7 +138,6 @@ ui_main_window_add(void)
ap.property.style_manager = property_add(ap.win, PROPERTY_MODE_STYLE);
ap.property.color_manager = property_add(ap.win, PROPERTY_MODE_COLOR_CLASS);
ap.property.demo = property_add(ap.win, PROPERTY_MODE_DEMO);
-   elm_layout_content_set(ap.tabs, "elm.swallow.property", ap.property.group);
elm_object_part_content_set(ap.panes.right, "right", ap.property.group);
 
ap.menu = ui_menu_add();
diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index ff12544..c6c453d 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -100,6 +100,9 @@ _content_set(void *data,
 if (!item->group)
   {
  elm_object_part_content_set(ap.panes.left_ver, "right", 
workspace_group_navigator_get(NULL));
+ elm_object_part_content_unset(ap.panes.right, "right");
+ evas_object_hide(ap.property.group);
+ evas_object_hide(ap.property.demo);
  return;
   }
 
@@ -120,16 +123,16 @@ _content_set(void *data,
 /* and update property */
 if (workspace_active_demo_mode_get(tabs.current_workspace))
   {
- elm_layout_content_unset(ap.tabs, "elm.swallow.property");
+ elm_object_part_content_unset(ap.panes.right, "right");
  evas_object_hide(ap.property.group);
- elm_layout_content_set(ap.tabs, "elm.swallow.property", 
ap.property.demo);
+ elm_object_part_content_set(ap.panes.right, "right", 
ap.property.demo);
  evas_object_smart_callback_call(ap.win, 
SIGNAL_PROPERTY_MODE_DEMO, NULL);
   }
 else
   {
- elm_layout_content_unset(ap.tabs, "elm.swallow.property");
+ elm_object_part_content_unset(ap.panes.right, "right");
  evas_object_hide(ap.property.demo);
- elm_layout_content_set(ap.tabs, "elm.swallow.property", 
ap.property.group);
+ elm_object_part_content_set(ap.panes.right, "right", 
ap.property.group);
  evas_object_smart_callback_call(ap.win, 
SIGNAL_PROPERTY_MODE_GROUP, NULL);
   }
  }
@@ -150,15 +153,15 @@ _mode_changed(void *data __UNUSED__,
 
if (mode == MODE_DEMO)
  {
-elm_layout_content_unset(ap.tabs, "elm.swallow.property");
+elm_object_part_content_unset(ap.panes.right, "right");
 evas_object_hide(ap.property.group);
-elm_layout_content_set(ap.tabs, "elm.swallow.property", 
ap.property.demo);
+elm_object_part_content_set(ap.panes.right, "right", ap.property.demo);
  }
else
  {
-elm_layout_content_unset(ap.tabs, "elm.swallow.property");
+elm_object_part_content_unset(ap.panes.right, "right");
 evas_object_hide(ap.property.demo);
-elm_layout_content_set(ap.tabs, "elm.swallow.property", 
ap.property.group);
+elm_object_part_content_set(ap.panes.right, "right", 
ap.property.group);
  }
 }
 
@@ -990,6 +993,9 @@ _tab_close(void *data,
 content = elm_layout_content_unset(ap.panes.left_ver, "right");
 evas_object_hide(content);
 elm_layout_content_set(ap.panes.left_ver, "right", 
workspace_group_navigator_get(NULL));
+elm_object_part_content_unset(ap.panes.right, "right");
+evas_object_hide(ap.property.group);
+evas_object_hide(ap.property.demo);
  }
 }
 

-- 




[EGIT] [tools/eflete] master 03/59: Tizen theme: update styles for buttons up, down, plus, minus.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=f0533a4cb9db96ee2360797d3a140771dae73cc4

commit f0533a4cb9db96ee2360797d3a140771dae73cc4
Author: Mykyta Biliavskyi 
Date:   Tue May 24 21:25:58 2016 +0300

Tizen theme: update styles for buttons up, down, plus, minus.
---
 data/themes/tizen/images/create_icon_nor.png  | Bin 0 -> 2848 bytes
 data/themes/tizen/images/create_icon_over.png | Bin 0 -> 982 bytes
 data/themes/tizen/images/create_icon_sel.png  | Bin 0 -> 985 bytes
 data/themes/tizen/images/delete_icon_nor.png  | Bin 0 -> 2833 bytes
 data/themes/tizen/images/delete_icon_over.png | Bin 0 -> 963 bytes
 data/themes/tizen/images/delete_icon_sel.png  | Bin 0 -> 969 bytes
 data/themes/tizen/images/down_icon_nor.png| Bin 0 -> 2845 bytes
 data/themes/tizen/images/down_icon_over.png   | Bin 0 -> 981 bytes
 data/themes/tizen/images/down_icon_sel.png| Bin 0 -> 986 bytes
 data/themes/tizen/images/up_icon_nor.png  | Bin 0 -> 2842 bytes
 data/themes/tizen/images/up_icon_over.png | Bin 0 -> 975 bytes
 data/themes/tizen/images/up_icon_sel.png  | Bin 0 -> 981 bytes
 data/themes/tizen/widgets/button.edc  | 354 +-
 13 files changed, 292 insertions(+), 62 deletions(-)

diff --git a/data/themes/tizen/images/create_icon_nor.png 
b/data/themes/tizen/images/create_icon_nor.png
new file mode 100644
index 000..a5b65b7
Binary files /dev/null and b/data/themes/tizen/images/create_icon_nor.png differ
diff --git a/data/themes/tizen/images/create_icon_over.png 
b/data/themes/tizen/images/create_icon_over.png
new file mode 100644
index 000..b926b4b
Binary files /dev/null and b/data/themes/tizen/images/create_icon_over.png 
differ
diff --git a/data/themes/tizen/images/create_icon_sel.png 
b/data/themes/tizen/images/create_icon_sel.png
new file mode 100644
index 000..338b7c4
Binary files /dev/null and b/data/themes/tizen/images/create_icon_sel.png differ
diff --git a/data/themes/tizen/images/delete_icon_nor.png 
b/data/themes/tizen/images/delete_icon_nor.png
new file mode 100644
index 000..3f868ca
Binary files /dev/null and b/data/themes/tizen/images/delete_icon_nor.png differ
diff --git a/data/themes/tizen/images/delete_icon_over.png 
b/data/themes/tizen/images/delete_icon_over.png
new file mode 100644
index 000..b87294a
Binary files /dev/null and b/data/themes/tizen/images/delete_icon_over.png 
differ
diff --git a/data/themes/tizen/images/delete_icon_sel.png 
b/data/themes/tizen/images/delete_icon_sel.png
new file mode 100644
index 000..d57df8e
Binary files /dev/null and b/data/themes/tizen/images/delete_icon_sel.png differ
diff --git a/data/themes/tizen/images/down_icon_nor.png 
b/data/themes/tizen/images/down_icon_nor.png
new file mode 100644
index 000..6f3b0c8
Binary files /dev/null and b/data/themes/tizen/images/down_icon_nor.png differ
diff --git a/data/themes/tizen/images/down_icon_over.png 
b/data/themes/tizen/images/down_icon_over.png
new file mode 100644
index 000..6938ac4
Binary files /dev/null and b/data/themes/tizen/images/down_icon_over.png differ
diff --git a/data/themes/tizen/images/down_icon_sel.png 
b/data/themes/tizen/images/down_icon_sel.png
new file mode 100644
index 000..b9a6128
Binary files /dev/null and b/data/themes/tizen/images/down_icon_sel.png differ
diff --git a/data/themes/tizen/images/up_icon_nor.png 
b/data/themes/tizen/images/up_icon_nor.png
new file mode 100644
index 000..2e1de6f
Binary files /dev/null and b/data/themes/tizen/images/up_icon_nor.png differ
diff --git a/data/themes/tizen/images/up_icon_over.png 
b/data/themes/tizen/images/up_icon_over.png
new file mode 100644
index 000..5d06756
Binary files /dev/null and b/data/themes/tizen/images/up_icon_over.png differ
diff --git a/data/themes/tizen/images/up_icon_sel.png 
b/data/themes/tizen/images/up_icon_sel.png
new file mode 100644
index 000..e764744
Binary files /dev/null and b/data/themes/tizen/images/up_icon_sel.png differ
diff --git a/data/themes/tizen/widgets/button.edc 
b/data/themes/tizen/widgets/button.edc
index 07c6725..50bbc9e 100644
--- a/data/themes/tizen/widgets/button.edc
+++ b/data/themes/tizen/widgets/button.edc
@@ -621,45 +621,28 @@ group { name: "elm/button/base/close";
 
 group { name: "elm/button/base/plus";
images {
-  image: "button_click_bg.png" COMP;
-  image: "icon_plus.png" COMP;
+  image: "create_icon_nor.png" COMP;
+  image: "create_icon_over.png" COMP;
+  image: "create_icon_sel.png" COMP;
}
parts {
-  part { name: "bg";
- type: IMAGE;
- description { state: "default" 0.0;
-visible: 0;
-min: 18 19;
-max: 18 19;
-image {
-   normal: "button_click_bg.png";
-   border: 4 4 9 9;
-   middle: SOLID;
-}
- }
- description { state: "clicked" 0.0;
-inherit: "default" 0.0;
-   

[EGIT] [tools/eflete] master 12/59: Tizen theme: replace icon folder and file resources.

2016-05-25 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=a6383fb28d723fc07030d1c114f210251a2335fb

commit a6383fb28d723fc07030d1c114f210251a2335fb
Author: Mykyta Biliavskyi 
Date:   Wed May 25 14:22:49 2016 +0300

Tizen theme: replace icon folder and file resources.
---
 data/themes/tizen/images/icon_file.png   | Bin 359 -> 1063 bytes
 data/themes/tizen/images/icon_folder.png | Bin 648 -> 1096 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/data/themes/tizen/images/icon_file.png 
b/data/themes/tizen/images/icon_file.png
index 77422f7..62052a9 100644
Binary files a/data/themes/tizen/images/icon_file.png and 
b/data/themes/tizen/images/icon_file.png differ
diff --git a/data/themes/tizen/images/icon_folder.png 
b/data/themes/tizen/images/icon_folder.png
index 499eef7..0b5a0db 100644
Binary files a/data/themes/tizen/images/icon_folder.png and 
b/data/themes/tizen/images/icon_folder.png differ

-- 




[EGIT] [tools/eflete] master 15/59: property_group: avoid segfault on part selection

2016-05-25 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=8acce42111938cfa15084c2bce194724d8dc8521

commit 8acce42111938cfa15084c2bce194724d8dc8521
Author: Andrii Kroitor 
Date:   Wed May 25 14:51:49 2016 +0300

property_group: avoid segfault on part selection
---
 src/bin/ui/property/property_group.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index b8d261b..a61c98d 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -1100,6 +1100,8 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  break;
   case ATTRIBUTE_STATE_IMAGE:
  str_val1 = edje_edit_state_image_get(EDIT_OBJ, STATE_ARGS);
+ TODO("This case should not be called for non-image parts. Need to fix 
filters in genlist");
+ if (!str_val1) break;
  if (!strcmp(str_val1, EFLETE_DUMMY_IMAGE_NAME))
{
   edje_edit_string_free(str_val1);

-- 




[EGIT] [tools/eflete] master 23/59: Tizen theme: set the toggle size simular to other styles

2016-05-25 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=5a032ea54583d1a8c116bb4adf0b7b0013457fc4

commit 5a032ea54583d1a8c116bb4adf0b7b0013457fc4
Author: Vyacheslav Reutskiy 
Date:   Wed May 25 17:08:02 2016 +0300

Tizen theme: set the toggle size simular to other styles

Change-Id: I7e7117ccf907789ac4d3355e7b86e52388638de9
---
 data/themes/tizen/widgets/check.edc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/themes/tizen/widgets/check.edc 
b/data/themes/tizen/widgets/check.edc
index 59c099f..99444a7 100644
--- a/data/themes/tizen/widgets/check.edc
+++ b/data/themes/tizen/widgets/check.edc
@@ -116,8 +116,8 @@ group { name: "elm/check/base/toggle";
  type: SPACER;
  scale: 1;
  description { state: "default" 0.0;
-min: 78 28;
-max: 78 28;
+min: 78 26;
+max: 78 26;
 rel1 {
relative: 1.0 0.0;
to_x: "padding.text";

-- 




[EGIT] [tools/enventor] master 01/01: theme: increase minimum size of window.

2016-05-25 Thread Hermet Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=9749d0dfc4b8d6a3f2e16e42189e97a175480e7c

commit 9749d0dfc4b8d6a3f2e16e42189e97a175480e7c
Author: Hermet Park 
Date:   Thu May 26 04:32:43 2016 +0900

theme: increase minimum size of window.

there many features have come in enventor
it needs larger space.
---
 data/themes/default/layout_common.edc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/themes/default/layout_common.edc 
b/data/themes/default/layout_common.edc
index da684fd..713280a 100644
--- a/data/themes/default/layout_common.edc
+++ b/data/themes/default/layout_common.edc
@@ -2425,7 +2425,7 @@ group { name: "main_layout";
  type: SPACER;
  scale: 1;
  description {
-min: 640 440;
+min: 810 440;
  }
   }
   swallow { "elm.swallow.panes";

-- 




[EGIT] [core/efl] master 01/01: elput: Fix formatting

2016-05-25 Thread Chris Michael
devilhorns pushed a commit to branch master.

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

commit 03c42fd2cb523dad5602d1f5623069ea12560d9a
Author: Chris Michael 
Date:   Wed May 25 15:03:15 2016 -0400

elput: Fix formatting

NB: No functional changes, just making this readable

Signed-off-by: Chris Michael 
---
 src/lib/elput/elput_logind.c | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 475b1c6..9658fd2 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -343,11 +343,15 @@ _logind_device_take_async(Elput_Manager *em, int flags, 
uint32_t major, uint32_t
 
eldbus_message_arguments_append(msg, "uu", major, minor);
 
-   em->input.current_pending = eldbus_proxy_send(em->dbus.session, msg, 
_logind_device_take_cb, em, -1);
+   em->input.current_pending =
+ eldbus_proxy_send(em->dbus.session, msg, _logind_device_take_cb, em, -1);
if (!em->input.current_pending) CRIT("FAIL!");
-   eldbus_pending_data_set(em->input.current_pending, "major", 
(uintptr_t*)(uintptr_t)major);
-   eldbus_pending_data_set(em->input.current_pending, "minor", 
(uintptr_t*)(uintptr_t)minor);
-   eldbus_pending_data_set(em->input.current_pending, "flags", 
(intptr_t*)(intptr_t)flags);
+   eldbus_pending_data_set(em->input.current_pending, "major",
+   (uintptr_t*)(uintptr_t)major);
+   eldbus_pending_data_set(em->input.current_pending, "minor",
+   (uintptr_t*)(uintptr_t)minor);
+   eldbus_pending_data_set(em->input.current_pending, "flags",
+   (intptr_t*)(intptr_t)flags);
 }
 
 static int

-- 




[E-devel] Elm Layout box/table broken

2016-05-25 Thread Davide Andreoli
>From the last 2/3 days elm layout box and table legacy api is broken

just try the elm test "Layout 2", it fail with this output:
ERR<17789>:edje lib/edje/edje_util.c:3891
_edje_object_efl_container_content_get() Edje group
'elm/layout/application/toolbar-vbox' part 'elm.box.content' is not a
swallow. Did you mean to call efl_part() instead?
ERR<17789>:edje lib/edje/edje_util.c:3891
_edje_object_efl_container_content_get() Edje group
'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
swallow. Did you mean to call efl_part() instead?
ERR<17789>:edje lib/edje/edje_util.c:3891
_edje_object_efl_container_content_get() Edje group
'elm/layout/application/toolbar-table' part 'elm.table.content' is not a
swallow. Did you mean to call efl_part() instead?


I think that this is related to the recent efl_part changes,
or maybe the containers interface works.

both has been done by Jpeg, so I send a preliminary SPANK to him  :)

please give a look into this
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/enventor] master 01/01: setting: polish gui.

2016-05-25 Thread Hermet Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=4725daefd3845097029ecfa57443e0b036652f85

commit 4725daefd3845097029ecfa57443e0b036652f85
Author: Hermet Park 
Date:   Thu May 26 02:29:04 2016 +0900

setting: polish gui.
---
 data/themes/default/layout_setting.edc |  9 +
 src/bin/preference_setting.c   | 27 ---
 src/bin/text_setting.c | 10 +++---
 3 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/data/themes/default/layout_setting.edc 
b/data/themes/default/layout_setting.edc
index 877ceea..32a3012 100644
--- a/data/themes/default/layout_setting.edc
+++ b/data/themes/default/layout_setting.edc
@@ -458,12 +458,13 @@ group { name: "text_setting_layout";
  description {
 rel1.relative: 0 0;
 rel2.relative: 1 0;
+rel1.offset: 0 3;
 align: 0.5 0;
 min: 0 24;
 fixed: 0 1;
  }
   }
-  part { name: "elm.swallow.preference";
+  part { name: "elm.swallow.font_size";
  type: SWALLOW;
  scale: 1;
  description {
@@ -476,7 +477,7 @@ group { name: "text_setting_layout";
 rel1 { to_y: "preference_frame"; relative: 0 1; }
 rel2 { to_y: "preference_frame"; }
 align: 0.5 0;
-min: 0 10;
+min: 0 5;
 fixed: 0 1;
  }
   }
@@ -485,7 +486,7 @@ group { name: "text_setting_layout";
  scale: 1;
  effect: SHADOW BOTTOM;
  description {
-rel1 { to: "padding1"; relative: 0 1; offset: 5 0; }
+rel1 { to: "padding1"; relative: 0 1; offset: 2 0; }
 rel2 { to: "padding1"; relative: 0.65 1; }
 color: COL_NM;
 min: 0 20;
@@ -494,7 +495,7 @@ group { name: "text_setting_layout";
 text {
font: FN;
text: "Double click a keyword to change its color :";
-   size: 11;
+   size: 10;
align: 0 0.5;
min: 1 0;
ellipsis: -1;
diff --git a/src/bin/preference_setting.c b/src/bin/preference_setting.c
index add3787..8458bb1 100644
--- a/src/bin/preference_setting.c
+++ b/src/bin/preference_setting.c
@@ -5,7 +5,7 @@
 
 typedef struct preference_setting_s
 {
-   Evas_Object *scroller;
+   Evas_Object *box;
Evas_Object *view_size_w_entry;
Evas_Object *view_size_h_entry;
Evas_Object *toggle_tools;
@@ -113,19 +113,24 @@ preference_setting_content_get(preference_setting_data 
*psd,
static Elm_Entry_Filter_Limit_Size limit_filter_data;
 
if (!psd) return NULL;
-   if (psd->scroller) return psd->scroller;
+   if (psd->box) return psd->box;
 
//Preference
-   Evas_Object *scroller = elm_scroller_add(parent);
 
//Box
-   Evas_Object *box = elm_box_add(scroller);
-   elm_box_padding_set(box, 0, 10);
+   Evas_Object *box = elm_box_add(parent);
+   elm_box_padding_set(box, 0, ELM_SCALE_SIZE(5));
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(box);
 
-   elm_object_content_set(scroller, box);
+   Evas_Object *rect;
+
+   //Spacer
+   rect = evas_object_rectangle_add(evas_object_evas_get(box));
+   evas_object_size_hint_weight_set(rect, EVAS_HINT_EXPAND, 0);
+   evas_object_size_hint_min_set(rect, 0, ELM_SCALE_SIZE(1));
+   elm_box_pack_end(box, rect);
 
Evas_Object *box2;
Evas_Object *layout_padding3;
@@ -135,7 +140,7 @@ preference_setting_content_get(preference_setting_data *psd,
//Box for View Size
box2 = elm_box_add(box);
elm_box_horizontal_set(box2, EINA_TRUE);
-   elm_box_padding_set(box2, 5 * elm_config_scale_get(), 0);
+   elm_box_padding_set(box2, ELM_SCALE_SIZE(5), 0);
evas_object_size_hint_weight_set(box2, EVAS_HINT_EXPAND, 0);
evas_object_size_hint_align_set(box2, EVAS_HINT_FILL, 0);
evas_object_show(box2);
@@ -158,7 +163,7 @@ preference_setting_content_get(preference_setting_data *psd,
label_view_size);
 
//Spacer
-   Evas_Object *rect = evas_object_rectangle_add(evas_object_evas_get(box2));
+   rect = evas_object_rectangle_add(evas_object_evas_get(box2));
evas_object_size_hint_weight_set(rect, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rect, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(box2, rect);
@@ -235,7 +240,7 @@ preference_setting_content_get(preference_setting_data *psd,
evas_object_size_hint_align_set(toggle_smart_undo_redo, EVAS_HINT_FILL, 0);
elm_box_pack_end(box, toggle_smart_undo_redo);
 
-   psd->scroller = scroller;
+   psd->box = box;
psd->view_size_w_entry = entry_view_size_w;
psd->view_size_h_entry = entry_view_size_h;
psd->toggle_tools = toggle_tools;
@@ -244,7 +249,7 @@ 

[EGIT] [tools/enventor] master 01/01: replace enventor embedded image.

2016-05-25 Thread Hermet Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=431c055a8fa1ba9247e0b88a06f0dee4ea8073ed

commit 431c055a8fa1ba9247e0b88a06f0dee4ea8073ed
Author: Hermet Park 
Date:   Thu May 26 01:59:42 2016 +0900

replace enventor embedded image.
---
 data/images/ENVENTOR_EMBEDDED_IMAGE.png | Bin 0 -> 21335 bytes
 data/images/ENVENTOR_EMBEDDED_LOGO.png  | Bin 61036 -> 0 bytes
 data/images/Makefile.am |   5 +++--
 data/images/enventor_logo.png   | Bin 0 -> 5151 bytes
 data/templates/basic.edc|   4 ++--
 data/templates/clip.edc |   4 ++--
 data/templates/image.edc|   4 ++--
 data/templates/map.edc  |   4 ++--
 data/templates/proxy.edc|   4 ++--
 data/templates/rotation+zoom.edc|   4 ++--
 data/themes/default/images/Makefile.am  |   2 +-
 data/themes/default/images/image.png| Bin 0 -> 21335 bytes
 data/themes/default/images/logo.png | Bin 61036 -> 0 bytes
 data/themes/default/live_edit.edc   |   4 ++--
 src/bin/base_gui.c  |   2 +-
 src/bin/main.c  |   2 +-
 src/lib/template_code.h |  10 +-
 17 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/data/images/ENVENTOR_EMBEDDED_IMAGE.png 
b/data/images/ENVENTOR_EMBEDDED_IMAGE.png
new file mode 100644
index 000..09badf2
Binary files /dev/null and b/data/images/ENVENTOR_EMBEDDED_IMAGE.png differ
diff --git a/data/images/ENVENTOR_EMBEDDED_LOGO.png 
b/data/images/ENVENTOR_EMBEDDED_LOGO.png
deleted file mode 100644
index a6da587..000
Binary files a/data/images/ENVENTOR_EMBEDDED_LOGO.png and /dev/null differ
diff --git a/data/images/Makefile.am b/data/images/Makefile.am
index 0e1e3e4..fb0f3d1 100644
--- a/data/images/Makefile.am
+++ b/data/images/Makefile.am
@@ -1,7 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 filesdir = $(datadir)/$(PACKAGE)/images
-files_DATA = ENVENTOR_EMBEDDED_LOGO.png \
+files_DATA = ENVENTOR_EMBEDDED_IMAGE.png \
  ENVENTOR_EMBEDDED_TRIAB-01.png \
  ENVENTOR_EMBEDDED_TRIAB-02.png \
  ENVENTOR_EMBEDDED_TRIAB-03.png \
@@ -13,6 +13,7 @@ files_DATA = ENVENTOR_EMBEDDED_LOGO.png \
  ENVENTOR_EMBEDDED_TRIAB-09.png \
  ENVENTOR_EMBEDDED_TRIAB-10.png \
  ENVENTOR_EMBEDDED_TRIAB-11.png \
- ENVENTOR_EMBEDDED_TRIAB-12.png
+ ENVENTOR_EMBEDDED_TRIAB-12.png \
+enventor_logo.png
 
 EXTRA_DIST = $(files_DATA)
diff --git a/data/images/enventor_logo.png b/data/images/enventor_logo.png
new file mode 100644
index 000..725990a
Binary files /dev/null and b/data/images/enventor_logo.png differ
diff --git a/data/templates/basic.edc b/data/templates/basic.edc
index 2001744..c357c45 100644
--- a/data/templates/basic.edc
+++ b/data/templates/basic.edc
@@ -3,7 +3,7 @@ collections {
group { "main";
   /* TODO: Please replace embedded image files to your application image 
files. */
   images {
- image: "ENVENTOR_EMBEDDED_LOGO.png" COMP;
+ image: "ENVENTOR_EMBEDDED_IMAGE.png" COMP;
   }
   parts {
  image { "logo";
@@ -11,7 +11,7 @@ collections {
rel1.relative: 0.0 0.0;
rel2.relative: 0.5 0.5;
/* TODO: Please replace embedded image files to your 
application image files. */
-   image.normal: "ENVENTOR_EMBEDDED_LOGO.png";
+   image.normal: "ENVENTOR_EMBEDDED_IMAGE.png";
aspect: 1 1;
aspect_preference: BOTH;
 }
diff --git a/data/templates/clip.edc b/data/templates/clip.edc
index d238ab8..bc2c166 100644
--- a/data/templates/clip.edc
+++ b/data/templates/clip.edc
@@ -3,7 +3,7 @@ collections {
group { "main";
   /* TODO: Please replace embedded image files to your application image 
files. */
   images {
- image: "ENVENTOR_EMBEDDED_LOGO.png" COMP;
+ image: "ENVENTOR_EMBEDDED_IMAGE.png" COMP;
   }
   parts {
  rect { "clipper";
@@ -19,7 +19,7 @@ collections {
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
/* TODO: Please replace embedded image files to your 
application image files. */
-   image.normal: "ENVENTOR_EMBEDDED_LOGO.png";
+   image.normal: "ENVENTOR_EMBEDDED_IMAGE.png";
aspect: 1 1;
aspect_preference: BOTH;
 }
diff --git a/data/templates/image.edc b/data/templates/image.edc
index 3521a12..cbfffcb 100644
--- a/data/templates/image.edc
+++ b/data/templates/image.edc
@@ -3,7 +3,7 @@ collections {
group { "main";
   /* TODO: Please replace embedded image files to your application image 
files. */
   images {
- image: "ENVENTOR_EMBEDDED_LOGO.png" COMP;
+ image: "ENVENTOR_EMBEDDED_IMAGE.png" COMP;
   }
   parts {
  

[EGIT] [core/efl] master 03/05: elput: change some functions and internal flags to enable async input setup

2016-05-25 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 7fdcf841f57de11ea92f4b2d4eeec34c1c5a70e0
Author: Mike Blumenkrantz 
Date:   Tue May 24 16:14:41 2016 -0400

elput: change some functions and internal flags to enable async input setup

this sets attributes on the Elput_Manager struct so that devices created at
a later point can then have relevant attributes applied to them
---
 src/lib/elput/Elput.h | 35 ++-
 src/lib/elput/elput_evdev.c   |  8 
 src/lib/elput/elput_input.c   | 10 +++---
 src/lib/elput/elput_logind.c  | 10 --
 src/lib/elput/elput_manager.c | 17 +++--
 src/lib/elput/elput_private.h |  3 +++
 6 files changed, 39 insertions(+), 44 deletions(-)

diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 2f31160..77ba406 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -230,6 +230,24 @@ EAPI Eina_Bool elput_manager_vt_set(Elput_Manager 
*manager, int vt);
  */
 EAPI const Eina_List *elput_manager_seats_get(Elput_Manager *manager);
 
+
+/**
+ * Set which window to use for this input manager
+ *
+ * @brief This function should be used to specify which window to set on the
+ *input manager. Setting a window on the input manager is done so that
+ *when we raise events (mouse movement, keyboard key, etc) then
+ *this window is passed to the event structure as the window which
+ *the event occured on.
+ *
+ * @param manager
+ * @param window
+ *
+ * @ingroup Elput_Manager_Group
+ * @since 1.18
+ */
+EAPI void elput_manager_window_set(Elput_Manager *manager, unsigned int 
window);
+
 /**
  * @defgroup Elput_Input_Group Elput input functions
  *
@@ -329,23 +347,6 @@ EAPI void elput_input_pointer_max_set(Elput_Manager 
*manager, int maxw, int maxh
  */
 
 /**
- * Set which window to use for this input device
- *
- * @brief This function should be used to specify which window to set on the
- *input device. Setting a window on the input device is done so that
- *when we raise events (mouse movement, keyboard key, etc) then
- *this window is passed to the event structure as the window which
- *the event occured on.
- *
- * @param device
- * @param window
- *
- * @ingroup Elput_Device_Group
- * @since 1.18
- */
-EAPI void elput_device_window_set(Elput_Device *device, unsigned int window);
-
-/**
  * Set size of output for input device calibration
  *
  * @param device
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 4537019..5095320 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1345,14 +1345,6 @@ _evdev_touch_get(Elput_Seat *seat)
 }
 
 EAPI void
-elput_device_window_set(Elput_Device *device, unsigned int window)
-{
-   EINA_SAFETY_ON_NULL_RETURN(device);
-
-   device->window = window;
-}
-
-EAPI void
 elput_device_output_size_set(Elput_Device *device, int w, int h)
 {
EINA_SAFETY_ON_NULL_RETURN(device);
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index 8431c29..45778eb 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -500,12 +500,8 @@ elput_input_pointer_max_set(Elput_Manager *manager, int 
maxw, int maxh)
Elput_Seat *eseat;
 
EINA_SAFETY_ON_NULL_RETURN(manager);
+   manager->input.pointer_w = maxw;
+   manager->input.pointer_h = maxh;
 
-   EINA_LIST_FOREACH(manager->input.seats, l, eseat)
- {
-if (!eseat->ptr) continue;
-
-eseat->ptr->maxw = maxw;
-eseat->ptr->maxh = maxh;
- }
+   _elput_input_pointer_max_update(manager);
 }
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 8db4a11..475b1c6 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -200,16 +200,6 @@ _logind_dbus_setup(Elput_Manager *em)
_cb_device_paused, em);
eldbus_proxy_signal_handler_add(proxy, "ResumeDevice",
_cb_device_resumed, em);
-   proxy =
- eldbus_proxy_get(em->dbus.obj, "org.freedesktop.DBus.Properties");
-   if (!proxy)
- {
-ERR("Could not get dbus proxy");
-goto proxy_err;
- }
-
-   eldbus_proxy_unref(proxy);
-
return EINA_TRUE;
 
 proxy_err:
diff --git a/src/lib/elput/elput_manager.c b/src/lib/elput/elput_manager.c
index 3b127af..0dcc820 100644
--- a/src/lib/elput/elput_manager.c
+++ b/src/lib/elput/elput_manager.c
@@ -89,6 +89,7 @@ elput_manager_open(Elput_Manager *manager, const char *path, 
int flags)
  manager->vt_hdlr =
ecore_event_handler_add(ECORE_EVENT_KEY_DOWN,
_cb_key_down, manager);
+ manager->vt_fd = ret;
   }
  }
 
@@ -101,8 +102,11 @@ elput_manager_close(Elput_Manager *manager, int fd)

[EGIT] [core/efl] master 04/05: elput: further simplify device internals

2016-05-25 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 8c3f0ff640371f6e46d4dd73681a654af2e5bce9
Author: Mike Blumenkrantz 
Date:   Wed May 25 12:49:44 2016 -0400

elput: further simplify device internals

'window' and pointer max w/h attributes are set for a manager object,
so let the attributes stay there. this also resolves issues where devices
created at a later point would fail to be initialized with these attributes
---
 src/lib/elput/elput_evdev.c   | 44 +--
 src/lib/elput/elput_input.c   | 41 ++--
 src/lib/elput/elput_manager.c |  1 -
 src/lib/elput/elput_private.h |  3 +--
 4 files changed, 25 insertions(+), 64 deletions(-)

diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 5095320..7281532 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -300,9 +300,9 @@ _keyboard_key_send(Elput_Device *dev, enum 
libinput_key_state state, const char
ev->timestamp = timestamp;
ev->same_screen = 1;
 
-   ev->window = dev->window;
-   ev->event_window = dev->window;
-   ev->root_window = dev->window;
+   ev->window = dev->seat->manager->window;
+   ev->event_window = dev->seat->manager->window;
+   ev->root_window = dev->seat->manager->window;
 
if (state == LIBINPUT_KEY_STATE_PRESSED)
  ecore_event_add(ECORE_EVENT_KEY_DOWN, ev, NULL, NULL);
@@ -635,20 +635,20 @@ _pointer_motion_send(Elput_Device *edev)
 
if (x < ptr->minx)
  x = ptr->minx;
-   else if (x >= ptr->minx + ptr->maxw)
- x = ptr->minx + ptr->maxw - 1;
+   else if (x >= ptr->minx + ptr->seat->manager->input.pointer_w)
+ x = ptr->minx + ptr->seat->manager->input.pointer_w - 1;
 
if (y < ptr->miny)
  y = ptr->miny;
-   else if (y >= ptr->miny + ptr->maxh)
- y = ptr->miny + ptr->maxh - 1;
+   else if (y >= ptr->miny + ptr->seat->manager->input.pointer_h)
+ y = ptr->miny + ptr->seat->manager->input.pointer_h - 1;
 
ptr->x = x;
ptr->y = y;
 
-   ev->window = edev->window;
-   ev->event_window = edev->window;
-   ev->root_window = edev->window;
+   ev->window = edev->seat->manager->window;
+   ev->event_window = edev->seat->manager->window;
+   ev->root_window = edev->seat->manager->window;
ev->timestamp = ptr->timestamp;
ev->same_screen = 1;
 
@@ -736,9 +736,9 @@ _pointer_button_send(Elput_Device *edev, enum 
libinput_button_state state)
ev = calloc(1, sizeof(Ecore_Event_Mouse_Button));
if (!ev) return;
 
-   ev->window = edev->window;
-   ev->event_window = edev->window;
-   ev->root_window = edev->window;
+   ev->window = edev->seat->manager->window;
+   ev->event_window = edev->seat->manager->window;
+   ev->root_window = edev->seat->manager->window;
ev->timestamp = ptr->timestamp;
ev->same_screen = 1;
 
@@ -854,9 +854,9 @@ _pointer_axis_send(Elput_Device *dev, int direction, int 
value)
ev = calloc(1, sizeof(Ecore_Event_Mouse_Wheel));
if (!ev) return;
 
-   ev->window = dev->window;
-   ev->event_window = dev->window;
-   ev->root_window = dev->window;
+   ev->window = dev->seat->manager->window;
+   ev->event_window = dev->seat->manager->window;
+   ev->root_window = dev->seat->manager->window;
ev->timestamp = ptr->timestamp;
ev->same_screen = 1;
 
@@ -960,9 +960,9 @@ _touch_event_send(Elput_Device *dev, struct 
libinput_event_touch *event, int typ
ev = calloc(1, sizeof(Ecore_Event_Mouse_Button));
if (!ev) return;
 
-   ev->window = dev->window;
-   ev->event_window = dev->window;
-   ev->root_window = dev->window;
+   ev->window = dev->seat->manager->window;
+   ev->event_window = dev->seat->manager->window;
+   ev->root_window = dev->seat->manager->window;
ev->timestamp = libinput_event_touch_get_time(event);
ev->same_screen = 1;
 
@@ -1067,9 +1067,9 @@ _touch_motion_send(Elput_Device *dev, struct 
libinput_event_touch *event)
ev = calloc(1, sizeof(Ecore_Event_Mouse_Move));
if (!ev) return;
 
-   ev->window = dev->window;
-   ev->event_window = dev->window;
-   ev->root_window = dev->window;
+   ev->window = dev->seat->manager->window;
+   ev->event_window = dev->seat->manager->window;
+   ev->root_window = dev->seat->manager->window;
ev->timestamp = libinput_event_touch_get_time(event);
ev->same_screen = 1;
 
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index 45778eb..c7f55b1 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -1,35 +1,6 @@
 #include "elput_private.h"
 #include 
 
-void
-_elput_input_window_update(Elput_Manager *manager)
-{
-   Eina_List *l, *ll;
-   Elput_Seat *seat;
-   Elput_Device *device;
-
-   if (manager->input.thread) return;
-   EINA_LIST_FOREACH(manager->input.seats, l, seat)
- EINA_LIST_FOREACH(seat->devices, ll, device)
-   device->window = manager->window;
-}
-
-void

[EGIT] [core/efl] master 02/05: elput: define and implement an async device opening interface for libinput

2016-05-25 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 5f088b026d8f39aafc6b6e70fe3b04dff79b179e
Author: Mike Blumenkrantz 
Date:   Tue May 24 16:11:20 2016 -0400

elput: define and implement an async device opening interface for libinput

this adds an overly-complex method of removing blocking dbus calls from 
libinput's
synchronous device initialization architecture. libinput was clearly never 
meant
to be used in this way, but we're doing it anyway because we're efl.

 #SamsungFeatures
---
 src/lib/elput/Elput.h |   3 +-
 src/lib/elput/elput_input.c   | 191 +++
 src/lib/elput/elput_logind.c  | 226 +++---
 src/lib/elput/elput_manager.c |   8 ++
 src/lib/elput/elput_private.h |  16 +++
 5 files changed, 299 insertions(+), 145 deletions(-)

diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 07ebfa2..2f31160 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -240,14 +240,13 @@ EAPI const Eina_List 
*elput_manager_seats_get(Elput_Manager *manager);
  * Initialize input
  *
  * @param manager
- * @param seat
  *
  * @return EINA_TRUE on success, EINA_FALSE on failure
  *
  * @ingroup Elput_Input_Group
  * @since 1.18
  */
-EAPI Eina_Bool elput_input_init(Elput_Manager *manager, const char *seat);
+EAPI Eina_Bool elput_input_init(Elput_Manager *manager);
 
 /**
  * Shutdown input
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index d49a2d0..8431c29 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -1,12 +1,82 @@
 #include "elput_private.h"
+#include 
+
+void
+_elput_input_window_update(Elput_Manager *manager)
+{
+   Eina_List *l, *ll;
+   Elput_Seat *seat;
+   Elput_Device *device;
+
+   if (manager->input.thread) return;
+   EINA_LIST_FOREACH(manager->input.seats, l, seat)
+ EINA_LIST_FOREACH(seat->devices, ll, device)
+   device->window = manager->window;
+}
+
+void
+_elput_input_pointer_max_update(Elput_Manager *manager)
+{
+   Eina_List *l;
+   Elput_Seat *eseat;
+
+   if (manager->input.thread) return;
+   EINA_LIST_FOREACH(manager->input.seats, l, eseat)
+ {
+if (!eseat->ptr) continue;
+
+eseat->ptr->maxw = manager->input.pointer_w;
+eseat->ptr->maxh = manager->input.pointer_h;
+ }
+}
 
 static int
 _cb_open_restricted(const char *path, int flags, void *data)
 {
-   Elput_Manager *em;
-
-   em = data;
-   return elput_manager_open(em, path, flags);
+   Elput_Manager *em = data;
+   int ret = -1;
+   Elput_Async_Open *ao;
+   int p[2];
+
+   if (!em->input.thread)
+ return em->interface->open(em, path, flags);
+   if (!em->interface->open_async) return ret;
+   ao = calloc(1, sizeof(Elput_Async_Open));
+   if (!ao) return ret;
+   if (pipe2(p, O_CLOEXEC) < 0)
+ {
+free(ao);
+return ret;
+ }
+   ao->manager = em;
+   ao->path = strdup(path);
+   ao->flags = flags;
+   em->input.pipe = p[1];
+   ecore_thread_feedback(em->input.thread, ao);
+   while (!ecore_thread_check(em->input.thread))
+ {
+int avail, fd;
+fd_set rfds, wfds, exfds;
+struct timeval tv, *t;
+
+FD_ZERO();
+FD_ZERO();
+FD_ZERO();
+FD_SET(p[0], );
+tv.tv_sec = 0;
+tv.tv_usec = 300;
+t = 
+avail = select(p[0] + 1, , , , t);
+if (avail > 0)
+  {
+ read(p[0], , sizeof(int));
+ ret = fd;
+ break;
+  }
+if (avail < 0) break;
+ }
+   close(p[0]);
+   return ret;
 }
 
 static void
@@ -209,52 +279,91 @@ _cb_input_dispatch(void *data, Ecore_Fd_Handler *hdlr 
EINA_UNUSED)
return EINA_TRUE;
 }
 
-EAPI Eina_Bool
-elput_input_init(Elput_Manager *manager, const char *seat)
+static void
+_elput_input_init_cancel(void *data, Ecore_Thread *eth EINA_UNUSED)
 {
-   int fd;
-
-   EINA_SAFETY_ON_NULL_RETURN_VAL(manager, EINA_FALSE);
+   Elput_Manager *manager = data;
 
-   memset(>input, 0, sizeof(Elput_Input));
-
-   manager->input.lib =
- libinput_udev_create_context(&_input_interface, manager, eeze_udev_get());
-   if (!manager->input.lib)
+   manager->input.thread = NULL;
+   if (manager->input.current_pending)
  {
-ERR("libinput could not create udev context");
-goto udev_err;
+eldbus_pending_cancel(manager->input.current_pending);
+if (manager->input.pipe >= 0)
+  close(manager->input.pipe);
  }
+   if (manager->del)
+ elput_manager_disconnect(manager);
+}
 
-   /* if not seat name is passed in, just use default seat name */
-   if (!seat) seat = "seat0";
+static void
+_elput_input_init_end(void *data, Ecore_Thread *eth EINA_UNUSED)
+{
+   Elput_Manager *manager = data;
 
-   if (libinput_udev_assign_seat(manager->input.lib, seat) != 0)
+   manager->input.thread = NULL;
+   

[EGIT] [core/efl] master 05/05: elput: use physical name of seat when finding existing seats

2016-05-25 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit b9ecdcef6acb19ff2cc63ba1238bafd456156dc3
Author: Mike Blumenkrantz 
Date:   Wed May 25 12:54:25 2016 -0400

elput: use physical name of seat when finding existing seats

"seat0" is used as the default internal name, and this is a physical name.
using the logical name causes mismatches and allows devices to function
in unintended ways
---
 src/lib/elput/elput_input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index c7f55b1..e7cd92d 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -115,7 +115,7 @@ _udev_seat_get(Elput_Manager *em, struct libinput_device 
*device)
const char *name;
 
lseat = libinput_device_get_seat(device);
-   name = libinput_seat_get_logical_name(lseat);
+   name = libinput_seat_get_physical_name(lseat);
 
return _udev_seat_named_get(em, name);
 }

-- 




[EGIT] [core/efl] master 01/05: elput: remove 'sync' param from device management

2016-05-25 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 33a5d44dcf36557b13aeba1088461504bae97373
Author: Mike Blumenkrantz 
Date:   Tue May 24 16:18:26 2016 -0400

elput: remove 'sync' param from device management

unnecessarily complicates code
---
 src/lib/elput/Elput.h |  2 +-
 src/lib/elput/elput_logind.c  | 28 +++-
 src/lib/elput/elput_manager.c |  4 ++--
 src/lib/elput/elput_private.h |  4 +---
 4 files changed, 7 insertions(+), 31 deletions(-)

diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 6a4545d..07ebfa2 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -168,7 +168,7 @@ EAPI int elput_shutdown(void);
  * @ingroup Elput_Manager_Group
  * @since 1.18
  */
-EAPI Elput_Manager *elput_manager_connect(const char *seat, unsigned int tty, 
Eina_Bool sync);
+EAPI Elput_Manager *elput_manager_connect(const char *seat, unsigned int tty);
 
 /**
  * Disconnect an input manager
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index 394fca5..3beb8b4 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -103,7 +103,7 @@ _cb_device_paused(void *data, const Eldbus_Message *msg)
 if (!strcmp(type, "pause"))
   _logind_device_pause_complete(em, maj, min);
 
-if ((em->sync) && (maj == 226)) // DRM_MAJOR
+if (maj == 226) // DRM_MAJOR
   _logind_session_active_send(em, EINA_FALSE);
  }
 }
@@ -125,29 +125,11 @@ _cb_device_resumed(void *data, const Eldbus_Message *msg)
 
if (eldbus_message_arguments_get(msg, "u", ))
  {
-if ((em->sync) && (maj == 226)) // DRM_MAJOR
+if (maj == 226) // DRM_MAJOR
   _logind_session_active_send(em, EINA_TRUE);
  }
 }
 
-static void
-_cb_property_changed(void *data, Eldbus_Proxy *proxy EINA_UNUSED, void *event)
-{
-   Elput_Manager *em;
-   Eldbus_Proxy_Event_Property_Changed *ev;
-   Eina_Bool active = EINA_FALSE;
-
-   em = data;
-   ev = event;
-
-   if (!strcmp(ev->name, "Active"))
- {
-eina_value_get(ev->value, );
-if ((!em->sync) || (!active))
-  _logind_session_active_send(em, active);
- }
-}
-
 static Eina_Bool
 _logind_session_vt_get(const char *sid, unsigned int *vt)
 {
@@ -239,9 +221,6 @@ _logind_dbus_setup(Elput_Manager *em)
 goto proxy_err;
  }
 
-   eldbus_proxy_properties_monitor(proxy, EINA_TRUE);
-   eldbus_proxy_event_callback_add(proxy, ELDBUS_PROXY_EVENT_PROPERTY_CHANGED,
-   _cb_property_changed, em);
eldbus_proxy_unref(proxy);
 
return EINA_TRUE;
@@ -426,7 +405,7 @@ msg_err:
 }
 
 static Eina_Bool
-_logind_connect(Elput_Manager **manager, const char *seat, unsigned int tty, 
Eina_Bool sync)
+_logind_connect(Elput_Manager **manager, const char *seat, unsigned int tty)
 {
Elput_Manager *em;
int ret = 0;
@@ -436,7 +415,6 @@ _logind_connect(Elput_Manager **manager, const char *seat, 
unsigned int tty, Ein
if (!em) return EINA_FALSE;
 
em->interface = &_logind_interface;
-   em->sync = sync;
em->seat = eina_stringshare_add(seat);
 
ret = sd_pid_get_session(getpid(), >sid);
diff --git a/src/lib/elput/elput_manager.c b/src/lib/elput/elput_manager.c
index 9145e9c..b1378f5 100644
--- a/src/lib/elput/elput_manager.c
+++ b/src/lib/elput/elput_manager.c
@@ -35,7 +35,7 @@ _cb_key_down(void *data, int type EINA_UNUSED, void *event)
 }
 
 EAPI Elput_Manager *
-elput_manager_connect(const char *seat, unsigned int tty, Eina_Bool sync)
+elput_manager_connect(const char *seat, unsigned int tty)
 {
Elput_Interface **it;
 
@@ -45,7 +45,7 @@ elput_manager_connect(const char *seat, unsigned int tty, 
Eina_Bool sync)
 Elput_Manager *em;
 
 iface = *it;
-if (iface->connect(, seat, tty, sync))
+if (iface->connect(, seat, tty))
   return em;
  }
 
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index 1f6d608..c2f4b00 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -68,7 +68,7 @@ typedef enum _Elput_Device_Capability
 
 typedef struct _Elput_Interface
 {
-   Eina_Bool (*connect)(Elput_Manager **manager, const char *seat, unsigned 
int tty, Eina_Bool sync);
+   Eina_Bool (*connect)(Elput_Manager **manager, const char *seat, unsigned 
int tty);
void (*disconnect)(Elput_Manager *manager);
int (*open)(Elput_Manager *manager, const char *path, int flags);
void (*close)(Elput_Manager *manager, int fd);
@@ -234,8 +234,6 @@ struct _Elput_Manager
  } dbus;
 
Elput_Input input;
-
-   Eina_Bool sync : 1;
 };
 
 int _evdev_event_process(struct libinput_event *event);

-- 




[EGIT] [tools/enventor] master 01/01: theme: remove redundant code.

2016-05-25 Thread Hermet Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=75ff3baa67a6df96160eec945cb791ff7f6b831e

commit 75ff3baa67a6df96160eec945cb791ff7f6b831e
Author: Hermet Park 
Date:   Thu May 26 00:07:54 2016 +0900

theme: remove redundant code.
---
 data/themes/default/images.edc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/data/themes/default/images.edc b/data/themes/default/images.edc
index 8e91b69..c0b165a 100644
--- a/data/themes/default/images.edc
+++ b/data/themes/default/images.edc
@@ -20,7 +20,6 @@ images {
image: "live_image.png" COMP;
image: "live_rectangle.png" COMP;
image: "live_swallow.png" COMP;
-   image: "live_spacer.png" COMP;
image: "live_spacer_icon.png" COMP;
image: "live_text.png" COMP;
image: "live_textblock.png" COMP;
@@ -76,7 +75,6 @@ ICON_GROUP("expand", "expand.png")
 ICON_GROUP("invert", "invert.png")
 ICON_GROUP("Image", "live_image.png")
 ICON_GROUP("Rect", "live_rectangle.png")
-ICON_GROUP("Spacer", "live_spacer.png")
 ICON_GROUP("Spacer_Icon", "live_spacer_icon.png")
 ICON_GROUP("Swallow", "live_swallow.png")
 ICON_GROUP("Text", "live_text.png")

-- 




[EGIT] [tools/enventor] master 02/02: text_setting: Show current font name.

2016-05-25 Thread Jaehyun Cho
jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=2d2bb9e3a5a66e747b729f9a09319f143f18d820

commit 2d2bb9e3a5a66e747b729f9a09319f143f18d820
Author: Jaehyun Cho 
Date:   Wed May 25 23:44:23 2016 +0900

text_setting: Show current font name.

Previously, current font name was not visible because scroller of font
name did not move to the current font name list item.
Now, current font name is visible.
---
 src/bin/text_setting.c | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/text_setting.c b/src/bin/text_setting.c
index 6678491..87a1412 100644
--- a/src/bin/text_setting.c
+++ b/src/bin/text_setting.c
@@ -915,7 +915,11 @@ text_setting_content_get(text_setting_data *tsd, 
Evas_Object *parent)
   }
  }
elm_list_go(list_font_name);
-   if (font_name_it) elm_list_item_selected_set(font_name_it, EINA_TRUE);
+   if (font_name_it)
+ {
+elm_list_item_selected_set(font_name_it, EINA_TRUE);
+elm_list_item_show(font_name_it);
+ }
 
tsd->layout = layout;
tsd->text_edit_entry = entry;

-- 




[EGIT] [tools/enventor] master 01/02: setting: Reorganize items.

2016-05-25 Thread Jaehyun Cho
jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=75206cd36de1bd4158db0b46a31276571196d5b7

commit 75206cd36de1bd4158db0b46a31276571196d5b7
Author: Jaehyun Cho 
Date:   Wed May 25 23:34:56 2016 +0900

setting: Reorganize items.

Remove setting items which are already in toolbar area.
Reorganize items in text setting.
---
 data/themes/default/layout_common.edc  |   8 +-
 data/themes/default/layout_setting.edc |  71 
 src/bin/preference_setting.c   | 150 -
 src/bin/text_setting.c |  44 +-
 4 files changed, 80 insertions(+), 193 deletions(-)

diff --git a/data/themes/default/layout_common.edc 
b/data/themes/default/layout_common.edc
index 45f0927..da684fd 100644
--- a/data/themes/default/layout_common.edc
+++ b/data/themes/default/layout_common.edc
@@ -36,8 +36,8 @@ group { name: "fileselector_layout";
  scale: 1;
  clip_to: "clipper";
  description {
-min: 600 380;
-max: 600 380;
+min: 600 435;
+max: 600 435;
 fixed: 1 1;
 image.normal: "frame_bg.png";
 image.border: 10 10 10 10;
@@ -236,8 +236,8 @@ group { name: "newfile_layout";
  scale: 1;
  clip_to: "clipper";
  description {
-min: 600 380;
-max: 600 380;
+min: 600 435;
+max: 600 435;
 fixed: 1 1;
 image.normal: "frame_bg.png";
 image.border: 10 10 10 10;
diff --git a/data/themes/default/layout_setting.edc 
b/data/themes/default/layout_setting.edc
index b4940bd..877ceea 100644
--- a/data/themes/default/layout_setting.edc
+++ b/data/themes/default/layout_setting.edc
@@ -27,8 +27,8 @@ group { name: "setting_layout";
  scale: 1;
  clip_to: "clipper";
  description {
-min: 600 380;
-max: 600 380;
+min: 600 435;
+max: 600 435;
 fixed: 1 1;
 image.normal: "frame_bg.png";
 image.border: 10 10 10 10;
@@ -452,13 +452,32 @@ group { "build_setting_layout";
 
 group { name: "text_setting_layout";
parts {
-  part { name: "base_frame";
+  part { name: "preference_frame";
  type: SPACER;
  scale: 1;
  description {
-min: 580 265;
-max: 580 265;
-fixed: 1 1;
+rel1.relative: 0 0;
+rel2.relative: 1 0;
+align: 0.5 0;
+min: 0 24;
+fixed: 0 1;
+ }
+  }
+  part { name: "elm.swallow.preference";
+ type: SWALLOW;
+ scale: 1;
+ description {
+rel1.to: "preference_frame";
+rel2.to: "preference_frame";
+ }
+  }
+  spacer { "padding1";
+ desc {
+rel1 { to_y: "preference_frame"; relative: 0 1; }
+rel2 { to_y: "preference_frame"; }
+align: 0.5 0;
+min: 0 10;
+fixed: 0 1;
  }
   }
   part { name: "text_setting_guide";
@@ -466,11 +485,11 @@ group { name: "text_setting_layout";
  scale: 1;
  effect: SHADOW BOTTOM;
  description {
-rel1 {to: "base_frame"; relative: 0 0; offset: 5 0;}
-rel2 {to: "base_frame"; relative: 0.5 0;}
+rel1 { to: "padding1"; relative: 0 1; offset: 5 0; }
+rel2 { to: "padding1"; relative: 0.65 1; }
 color: COL_NM;
 min: 0 20;
-align: 0 0;
+align: 0.5 0;
 fixed: 0 1;
 text {
font: FN;
@@ -486,11 +505,8 @@ group { name: "text_setting_layout";
  type: SPACER;
  scale: 1;
  description {
-rel1 {to_x: "base_frame"; to_y: "text_setting_guide"; relative: 0 
1;}
-rel2 {to: "base_frame"; relative: 0.5 0;}
-align: 0.5 0;
-min: 0 245;
-fixed: 0 1;
+rel1 { to_y: "text_setting_guide"; relative: 0 1; }
+rel2 { to_x: "text_setting_guide"; }
  }
   }
   part { name: "elm.swallow.text_setting";
@@ -502,31 +518,20 @@ group { name: "text_setting_layout";
 rel2.to: "text_setting_frame";
  }
   }
-  part { name: "preference_frame";
- type: SPACER;
- scale: 1;
- description {
-rel1 {to: "base_frame"; relative: 0.5 0; offset: 5 0;}
-rel2 {to: "base_frame"; relative: 1 0;}
-align: 0.5 0;
-min: 0 120;
-fixed: 0 1;
- }
-  }
-  part { name: "elm.swallow.preference";
- type: SWALLOW;
- scale: 1;
- description {
-rel1.to: "preference_frame";
-rel2.to: "preference_frame";
+  spacer { "padding2";
+ desc {
+rel1 { to: "text_setting_guide"; 

Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Tom Hacohen
On 25/05/16 14:40, Daniel Kolesa wrote:
> On Wed, May 25, 2016 at 2:37 PM, Felipe Magno de Almeida
>  wrote:
>> On Wed, May 25, 2016 at 9:38 AM, Daniel Kolesa  wrote:
>>> On Wed, May 25, 2016 at 1:34 PM, Tom Hacohen  wrote:
>>
>> [snip]
>>
 Thank you for the attempted correction, but I mean increased burden,
 because that's yet another type they need to take care of.
>>>
>>> They need to take care of it either way, just in a different, more
>>> complicate way.
>>
>> I rather have a built-in
>
> I think most generator writers would rather have a builtin, but Tom
> just likes being wrong ;)
>

I don't like it that much, but I do enjoy it, and it's fun doing it 
every now and a while. I don't have your passion though, I'd get bored 
doing it all the time.

I'm fine with having it a builtin.

--
Tom.

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Daniel Kolesa
On Wed, May 25, 2016 at 2:37 PM, Felipe Magno de Almeida
 wrote:
> On Wed, May 25, 2016 at 9:38 AM, Daniel Kolesa  wrote:
>> On Wed, May 25, 2016 at 1:34 PM, Tom Hacohen  wrote:
>
> [snip]
>
>>> Thank you for the attempted correction, but I mean increased burden,
>>> because that's yet another type they need to take care of.
>>
>> They need to take care of it either way, just in a different, more
>> complicate way.
>
> I rather have a built-in

I think most generator writers would rather have a builtin, but Tom
just likes being wrong ;)

D5

>
>>> --
>>> Tom.
>
>
> Regards,
> --
> Felipe Magno de Almeida
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Felipe Magno de Almeida
On Wed, May 25, 2016 at 9:38 AM, Daniel Kolesa  wrote:
> On Wed, May 25, 2016 at 1:34 PM, Tom Hacohen  wrote:

[snip]

>> Thank you for the attempted correction, but I mean increased burden,
>> because that's yet another type they need to take care of.
>
> They need to take care of it either way, just in a different, more
> complicate way.

I rather have a built-in

>> --
>> Tom.


Regards,
-- 
Felipe Magno de Almeida

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Daniel Kolesa
On Wed, May 25, 2016 at 1:34 PM, Tom Hacohen  wrote:
> On 25/05/16 13:11, Daniel Kolesa wrote:
>> On Wed, May 25, 2016 at 12:53 PM, Tom Hacohen  wrote:
>>> On 25/05/16 12:01, Daniel Kolesa wrote:
 Hello,

 I've started removal of support for pointers in Eolian in order to
 bring the language one level up and make it easier to do bindings.
 This has already been done for class handles and for complex types
 like array, hash, iterator etc. but currently one big obstacle in the
 way is strings. I have a pretty clear idea in my head but it's
 possible I might have missed something so I'm asking here if anyone
 has any feedback or ideas or whatever that I could have missed before
 implementing it.

 Basically my idea currently is to introduce a new "string" builtin,
 which ALWAYS represents const char *. Mutable char pointers will not
 be possible with this system - I believe we don't want these either,
 because they're low level and represent something that you can change
 but not resize, plus it doesn't map well to various languages,
 especially scripting ones. I did some analysis on our API and it seems
 we actually have very few uses for mutable char pointers - there is
 currently only a handful of cases across the EFL, as opposed to
 countless const ones. APIs that currently use mutable char pointers
 would be dealt with on per-case basis and redesigned, probably to use
 something like Eina_Strbuf (in most cases; strbuf will get another
 builtin eolian type) with wrappers for legacy.
>>>
>>> evas_image_pixels_get returns a const char * that's not a string iirc.
>>> Or heck, maybe char *. It's a good idea to also have a buffer type for
>>> just dumping of raw data. This is useful for image pixel manipulation
>>> and etc.
>>>
>>> Strbuf: overkill, avoid it. I wouldn't bother.
>>>

 Another thing is stringshares - I'm considering introducing another
 builtin for that, but maybe that won't be necessary. I gotta
 investigate more - again, there's only a handful of cases across the
 EFL anyways.
>>>
>>> Waste of time and unnecessary increased burden on generators.
>>
>> You mean reduced burden - as then they can just directly emit calls to
>> stringshare APIs without going through another layer.
>
> Thank you for the attempted correction, but I mean increased burden,
> because that's yet another type they need to take care of.

They need to take care of it either way, just in a different, more
complicate way.

>
> --
> Tom.
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Tom Hacohen
On 25/05/16 13:11, Daniel Kolesa wrote:
> On Wed, May 25, 2016 at 12:53 PM, Tom Hacohen  wrote:
>> On 25/05/16 12:01, Daniel Kolesa wrote:
>>> Hello,
>>>
>>> I've started removal of support for pointers in Eolian in order to
>>> bring the language one level up and make it easier to do bindings.
>>> This has already been done for class handles and for complex types
>>> like array, hash, iterator etc. but currently one big obstacle in the
>>> way is strings. I have a pretty clear idea in my head but it's
>>> possible I might have missed something so I'm asking here if anyone
>>> has any feedback or ideas or whatever that I could have missed before
>>> implementing it.
>>>
>>> Basically my idea currently is to introduce a new "string" builtin,
>>> which ALWAYS represents const char *. Mutable char pointers will not
>>> be possible with this system - I believe we don't want these either,
>>> because they're low level and represent something that you can change
>>> but not resize, plus it doesn't map well to various languages,
>>> especially scripting ones. I did some analysis on our API and it seems
>>> we actually have very few uses for mutable char pointers - there is
>>> currently only a handful of cases across the EFL, as opposed to
>>> countless const ones. APIs that currently use mutable char pointers
>>> would be dealt with on per-case basis and redesigned, probably to use
>>> something like Eina_Strbuf (in most cases; strbuf will get another
>>> builtin eolian type) with wrappers for legacy.
>>
>> evas_image_pixels_get returns a const char * that's not a string iirc.
>> Or heck, maybe char *. It's a good idea to also have a buffer type for
>> just dumping of raw data. This is useful for image pixel manipulation
>> and etc.
>>
>> Strbuf: overkill, avoid it. I wouldn't bother.
>>
>>>
>>> Another thing is stringshares - I'm considering introducing another
>>> builtin for that, but maybe that won't be necessary. I gotta
>>> investigate more - again, there's only a handful of cases across the
>>> EFL anyways.
>>
>> Waste of time and unnecessary increased burden on generators.
>
> You mean reduced burden - as then they can just directly emit calls to
> stringshare APIs without going through another layer.

Thank you for the attempted correction, but I mean increased burden, 
because that's yet another type they need to take care of.

--
Tom.


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Daniel Kolesa
On Wed, May 25, 2016 at 12:53 PM, Tom Hacohen  wrote:
> On 25/05/16 12:01, Daniel Kolesa wrote:
>> Hello,
>>
>> I've started removal of support for pointers in Eolian in order to
>> bring the language one level up and make it easier to do bindings.
>> This has already been done for class handles and for complex types
>> like array, hash, iterator etc. but currently one big obstacle in the
>> way is strings. I have a pretty clear idea in my head but it's
>> possible I might have missed something so I'm asking here if anyone
>> has any feedback or ideas or whatever that I could have missed before
>> implementing it.
>>
>> Basically my idea currently is to introduce a new "string" builtin,
>> which ALWAYS represents const char *. Mutable char pointers will not
>> be possible with this system - I believe we don't want these either,
>> because they're low level and represent something that you can change
>> but not resize, plus it doesn't map well to various languages,
>> especially scripting ones. I did some analysis on our API and it seems
>> we actually have very few uses for mutable char pointers - there is
>> currently only a handful of cases across the EFL, as opposed to
>> countless const ones. APIs that currently use mutable char pointers
>> would be dealt with on per-case basis and redesigned, probably to use
>> something like Eina_Strbuf (in most cases; strbuf will get another
>> builtin eolian type) with wrappers for legacy.
>
> evas_image_pixels_get returns a const char * that's not a string iirc.
> Or heck, maybe char *. It's a good idea to also have a buffer type for
> just dumping of raw data. This is useful for image pixel manipulation
> and etc.
>
> Strbuf: overkill, avoid it. I wouldn't bother.
>
>>
>> Another thing is stringshares - I'm considering introducing another
>> builtin for that, but maybe that won't be necessary. I gotta
>> investigate more - again, there's only a handful of cases across the
>> EFL anyways.
>
> Waste of time and unnecessary increased burden on generators.

You mean reduced burden - as then they can just directly emit calls to
stringshare APIs without going through another layer.

>
>>
>> Overall, removing pointers will benefit probably everyone, I believe.
>> For one it will mean that there won't be any need to map pointer types
>> to higher level languages in generators; another thing is that it
>> means death of nested types in Eolian, which will make manipulation of
>> types with the API much simpler.
>>
>> If you have any objections or notes, please bring them up. Otherwise,
>> I will proceed with my approach.
>>
>> D5
>>
>> --
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Tom Hacohen
On 25/05/16 12:01, Daniel Kolesa wrote:
> Hello,
>
> I've started removal of support for pointers in Eolian in order to
> bring the language one level up and make it easier to do bindings.
> This has already been done for class handles and for complex types
> like array, hash, iterator etc. but currently one big obstacle in the
> way is strings. I have a pretty clear idea in my head but it's
> possible I might have missed something so I'm asking here if anyone
> has any feedback or ideas or whatever that I could have missed before
> implementing it.
>
> Basically my idea currently is to introduce a new "string" builtin,
> which ALWAYS represents const char *. Mutable char pointers will not
> be possible with this system - I believe we don't want these either,
> because they're low level and represent something that you can change
> but not resize, plus it doesn't map well to various languages,
> especially scripting ones. I did some analysis on our API and it seems
> we actually have very few uses for mutable char pointers - there is
> currently only a handful of cases across the EFL, as opposed to
> countless const ones. APIs that currently use mutable char pointers
> would be dealt with on per-case basis and redesigned, probably to use
> something like Eina_Strbuf (in most cases; strbuf will get another
> builtin eolian type) with wrappers for legacy.

evas_image_pixels_get returns a const char * that's not a string iirc. 
Or heck, maybe char *. It's a good idea to also have a buffer type for 
just dumping of raw data. This is useful for image pixel manipulation 
and etc.

Strbuf: overkill, avoid it. I wouldn't bother.

>
> Another thing is stringshares - I'm considering introducing another
> builtin for that, but maybe that won't be necessary. I gotta
> investigate more - again, there's only a handful of cases across the
> EFL anyways.

Waste of time and unnecessary increased burden on generators.

>
> Overall, removing pointers will benefit probably everyone, I believe.
> For one it will mean that there won't be any need to map pointer types
> to higher level languages in generators; another thing is that it
> means death of nested types in Eolian, which will make manipulation of
> types with the API much simpler.
>
> If you have any objections or notes, please bring them up. Otherwise,
> I will proceed with my approach.
>
> D5
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Jean-Philippe André
On 25 May 2016 at 20:48, Daniel Kolesa  wrote:

> On Wed, May 25, 2016 at 12:29 PM, Jean-Philippe André 
> wrote:
> > Hi q66,
> >
> > It would be good to keep pointer support for void*. These APIs would be
> > limited to C (and maybe C++) only.
> > I have the evas image native surface in mind, as well as the gfx buffer
> > map/unmap.
> >
> > Again, this is only for C/C++. Maybe a @native tag could come along?
> > If that's not possible, we need to go back to EAPI for those, and handle
> > the class hierarchy manually, somehow.
> >
> > The use cases for native pointers should be very limited.
>
> I don't think that's feasible, as it puts a burden on the Eolian API
> where not necessary - if we really need those, we can simply introduce
> a hardcoded builtin for them (which the C generator will handle
> specially) - this way it wouldn't have any special API requirements.
> But ideally even for stuff like evas image native surface I would like
> to come up with a way to map it to everything, I'm just not entirely
> sure yet how.
>

Yes, a special builtin type is fine.
The only thing is that generators other than C need to know to skip this
method / property.


> >
> > On 25 May 2016 at 20:01, Daniel Kolesa  wrote:
> >
> >> Hello,
> >>
> >> I've started removal of support for pointers in Eolian in order to
> >> bring the language one level up and make it easier to do bindings.
> >> This has already been done for class handles and for complex types
> >> like array, hash, iterator etc. but currently one big obstacle in the
> >> way is strings. I have a pretty clear idea in my head but it's
> >> possible I might have missed something so I'm asking here if anyone
> >> has any feedback or ideas or whatever that I could have missed before
> >> implementing it.
> >>
> >> Basically my idea currently is to introduce a new "string" builtin,
> >> which ALWAYS represents const char *. Mutable char pointers will not
> >> be possible with this system - I believe we don't want these either,
> >> because they're low level and represent something that you can change
> >> but not resize, plus it doesn't map well to various languages,
> >> especially scripting ones. I did some analysis on our API and it seems
> >> we actually have very few uses for mutable char pointers - there is
> >> currently only a handful of cases across the EFL, as opposed to
> >> countless const ones. APIs that currently use mutable char pointers
> >> would be dealt with on per-case basis and redesigned, probably to use
> >> something like Eina_Strbuf (in most cases; strbuf will get another
> >> builtin eolian type) with wrappers for legacy.
> >>
> >> Another thing is stringshares - I'm considering introducing another
> >> builtin for that, but maybe that won't be necessary. I gotta
> >> investigate more - again, there's only a handful of cases across the
> >> EFL anyways.
> >>
> >> Overall, removing pointers will benefit probably everyone, I believe.
> >> For one it will mean that there won't be any need to map pointer types
> >> to higher level languages in generators; another thing is that it
> >> means death of nested types in Eolian, which will make manipulation of
> >> types with the API much simpler.
> >>
> >> If you have any objections or notes, please bring them up. Otherwise,
> >> I will proceed with my approach.
> >>
> >
> > As for the rest, I think string and no pointers anywhere is a great idea.
> >
> > Regards,
> >
> > --
> > Jean-Philippe André
> >
> --
> > Mobile security can be enabling, not merely restricting. Employees who
> > bring their own devices (BYOD) to work are irked by the imposition of MDM
> > restrictions. Mobile Device Manager Plus allows you to control only the
> > apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Jean-Philippe André
--
Mobile security can be enabling, not merely 

Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Daniel Kolesa
On Wed, May 25, 2016 at 12:29 PM, Jean-Philippe André  wrote:
> Hi q66,
>
> It would be good to keep pointer support for void*. These APIs would be
> limited to C (and maybe C++) only.
> I have the evas image native surface in mind, as well as the gfx buffer
> map/unmap.
>
> Again, this is only for C/C++. Maybe a @native tag could come along?
> If that's not possible, we need to go back to EAPI for those, and handle
> the class hierarchy manually, somehow.
>
> The use cases for native pointers should be very limited.

I don't think that's feasible, as it puts a burden on the Eolian API
where not necessary - if we really need those, we can simply introduce
a hardcoded builtin for them (which the C generator will handle
specially) - this way it wouldn't have any special API requirements.
But ideally even for stuff like evas image native surface I would like
to come up with a way to map it to everything, I'm just not entirely
sure yet how.

>
> On 25 May 2016 at 20:01, Daniel Kolesa  wrote:
>
>> Hello,
>>
>> I've started removal of support for pointers in Eolian in order to
>> bring the language one level up and make it easier to do bindings.
>> This has already been done for class handles and for complex types
>> like array, hash, iterator etc. but currently one big obstacle in the
>> way is strings. I have a pretty clear idea in my head but it's
>> possible I might have missed something so I'm asking here if anyone
>> has any feedback or ideas or whatever that I could have missed before
>> implementing it.
>>
>> Basically my idea currently is to introduce a new "string" builtin,
>> which ALWAYS represents const char *. Mutable char pointers will not
>> be possible with this system - I believe we don't want these either,
>> because they're low level and represent something that you can change
>> but not resize, plus it doesn't map well to various languages,
>> especially scripting ones. I did some analysis on our API and it seems
>> we actually have very few uses for mutable char pointers - there is
>> currently only a handful of cases across the EFL, as opposed to
>> countless const ones. APIs that currently use mutable char pointers
>> would be dealt with on per-case basis and redesigned, probably to use
>> something like Eina_Strbuf (in most cases; strbuf will get another
>> builtin eolian type) with wrappers for legacy.
>>
>> Another thing is stringshares - I'm considering introducing another
>> builtin for that, but maybe that won't be necessary. I gotta
>> investigate more - again, there's only a handful of cases across the
>> EFL anyways.
>>
>> Overall, removing pointers will benefit probably everyone, I believe.
>> For one it will mean that there won't be any need to map pointer types
>> to higher level languages in generators; another thing is that it
>> means death of nested types in Eolian, which will make manipulation of
>> types with the API much simpler.
>>
>> If you have any objections or notes, please bring them up. Otherwise,
>> I will proceed with my approach.
>>
>
> As for the rest, I think string and no pointers anywhere is a great idea.
>
> Regards,
>
> --
> Jean-Philippe André
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Jean-Philippe André
Hi q66,

It would be good to keep pointer support for void*. These APIs would be
limited to C (and maybe C++) only.
I have the evas image native surface in mind, as well as the gfx buffer
map/unmap.

Again, this is only for C/C++. Maybe a @native tag could come along?
If that's not possible, we need to go back to EAPI for those, and handle
the class hierarchy manually, somehow.

The use cases for native pointers should be very limited.

On 25 May 2016 at 20:01, Daniel Kolesa  wrote:

> Hello,
>
> I've started removal of support for pointers in Eolian in order to
> bring the language one level up and make it easier to do bindings.
> This has already been done for class handles and for complex types
> like array, hash, iterator etc. but currently one big obstacle in the
> way is strings. I have a pretty clear idea in my head but it's
> possible I might have missed something so I'm asking here if anyone
> has any feedback or ideas or whatever that I could have missed before
> implementing it.
>
> Basically my idea currently is to introduce a new "string" builtin,
> which ALWAYS represents const char *. Mutable char pointers will not
> be possible with this system - I believe we don't want these either,
> because they're low level and represent something that you can change
> but not resize, plus it doesn't map well to various languages,
> especially scripting ones. I did some analysis on our API and it seems
> we actually have very few uses for mutable char pointers - there is
> currently only a handful of cases across the EFL, as opposed to
> countless const ones. APIs that currently use mutable char pointers
> would be dealt with on per-case basis and redesigned, probably to use
> something like Eina_Strbuf (in most cases; strbuf will get another
> builtin eolian type) with wrappers for legacy.
>
> Another thing is stringshares - I'm considering introducing another
> builtin for that, but maybe that won't be necessary. I gotta
> investigate more - again, there's only a handful of cases across the
> EFL anyways.
>
> Overall, removing pointers will benefit probably everyone, I believe.
> For one it will mean that there won't be any need to map pointer types
> to higher level languages in generators; another thing is that it
> means death of nested types in Eolian, which will make manipulation of
> types with the API much simpler.
>
> If you have any objections or notes, please bring them up. Otherwise,
> I will proceed with my approach.
>

As for the rest, I think string and no pointers anywhere is a great idea.

Regards,

-- 
Jean-Philippe André
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Abandoning pointers within Eolian and strings - request for feedback

2016-05-25 Thread Daniel Kolesa
Hello,

I've started removal of support for pointers in Eolian in order to
bring the language one level up and make it easier to do bindings.
This has already been done for class handles and for complex types
like array, hash, iterator etc. but currently one big obstacle in the
way is strings. I have a pretty clear idea in my head but it's
possible I might have missed something so I'm asking here if anyone
has any feedback or ideas or whatever that I could have missed before
implementing it.

Basically my idea currently is to introduce a new "string" builtin,
which ALWAYS represents const char *. Mutable char pointers will not
be possible with this system - I believe we don't want these either,
because they're low level and represent something that you can change
but not resize, plus it doesn't map well to various languages,
especially scripting ones. I did some analysis on our API and it seems
we actually have very few uses for mutable char pointers - there is
currently only a handful of cases across the EFL, as opposed to
countless const ones. APIs that currently use mutable char pointers
would be dealt with on per-case basis and redesigned, probably to use
something like Eina_Strbuf (in most cases; strbuf will get another
builtin eolian type) with wrappers for legacy.

Another thing is stringshares - I'm considering introducing another
builtin for that, but maybe that won't be necessary. I gotta
investigate more - again, there's only a handful of cases across the
EFL anyways.

Overall, removing pointers will benefit probably everyone, I believe.
For one it will mean that there won't be any need to map pointer types
to higher level languages in generators; another thing is that it
means death of nested types in Eolian, which will make manipulation of
types with the API much simpler.

If you have any objections or notes, please bring them up. Otherwise,
I will proceed with my approach.

D5

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [admin/devs] master 01/01: jaehwan: remove pub key. It's too short.

2016-05-25 Thread Jaehwan Kim
jaehwan pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=d4de0d10615e016f688d6574098d6eb96a807177

commit d4de0d10615e016f688d6574098d6eb96a807177
Author: Jaehwan Kim 
Date:   Wed May 25 19:50:05 2016 +0900

jaehwan: remove pub key. It's too short.
---
 developers/jaehwan/id_rsa.pub | 1 -
 1 file changed, 1 deletion(-)

diff --git a/developers/jaehwan/id_rsa.pub b/developers/jaehwan/id_rsa.pub
deleted file mode 100755
index b6e8a8a..000
--- a/developers/jaehwan/id_rsa.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-rsa 
B3NzaC1yc2EBIwAAAIEAzBIkD+Z6GQu6zaabK7S8Vbev6NV3dDGN1WASrXliy6fZv1XjQJqal/SIeQcnbC+bU4GSQUqFc518OaZ4HNHYM6yzWTAPesMX8ug428/Okkahjbr9conjtBdMm353d8KxJS20YW54OHNRi9u8RNF28T2Ygpl5TKjNeL4uz7rmY/0=
 jae.hwan@samsung.com

-- 




[EGIT] [admin/devs] master 01/01: jaehwan: add pub key at work

2016-05-25 Thread Shinwoo Kim
kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=c934bc0519ae9f6cdc5799db9fab5d6dbd501863

commit c934bc0519ae9f6cdc5799db9fab5d6dbd501863
Author: Shinwoo Kim 
Date:   Wed May 25 18:54:11 2016 +0900

jaehwan: add pub key at work
---
 developers/jaehwan/id_rsa_at_work.pub | 1 -
 1 file changed, 1 deletion(-)

diff --git a/developers/jaehwan/id_rsa_at_work.pub 
b/developers/jaehwan/id_rsa_at_work.pub
deleted file mode 100755
index b6e8a8a..000
--- a/developers/jaehwan/id_rsa_at_work.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-rsa 
B3NzaC1yc2EBIwAAAIEAzBIkD+Z6GQu6zaabK7S8Vbev6NV3dDGN1WASrXliy6fZv1XjQJqal/SIeQcnbC+bU4GSQUqFc518OaZ4HNHYM6yzWTAPesMX8ug428/Okkahjbr9conjtBdMm353d8KxJS20YW54OHNRi9u8RNF28T2Ygpl5TKjNeL4uz7rmY/0=
 jae.hwan@samsung.com

-- 




[EGIT] [admin/devs] master 01/01: jaehwan: add pub key at work

2016-05-25 Thread Shinwoo Kim
kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=5882345c259b05ff31819b5df80d3f7e52c34047

commit 5882345c259b05ff31819b5df80d3f7e52c34047
Author: Shinwoo Kim 
Date:   Wed May 25 18:54:11 2016 +0900

jaehwan: add pub key at work
---
 developers/jaehwan/id_rsa.pub | 1 +
 1 file changed, 1 insertion(+)

diff --git a/developers/jaehwan/id_rsa.pub b/developers/jaehwan/id_rsa.pub
new file mode 100755
index 000..b6e8a8a
--- /dev/null
+++ b/developers/jaehwan/id_rsa.pub
@@ -0,0 +1 @@
+ssh-rsa 
B3NzaC1yc2EBIwAAAIEAzBIkD+Z6GQu6zaabK7S8Vbev6NV3dDGN1WASrXliy6fZv1XjQJqal/SIeQcnbC+bU4GSQUqFc518OaZ4HNHYM6yzWTAPesMX8ug428/Okkahjbr9conjtBdMm353d8KxJS20YW54OHNRi9u8RNF28T2Ygpl5TKjNeL4uz7rmY/0=
 jae.hwan@samsung.com

-- 




[EGIT] [admin/devs] master 01/01: jaehwan: add pub key at work

2016-05-25 Thread Shinwoo Kim
kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=586593ad0d0d0bab72025a7fc55c9eca2fd6a75a

commit 586593ad0d0d0bab72025a7fc55c9eca2fd6a75a
Author: Shinwoo Kim 
Date:   Wed May 25 18:54:11 2016 +0900

jaehwan: add pub key at work
---
 developers/jaehwan/id_rsa_at_work.pub | 1 +
 1 file changed, 1 insertion(+)

diff --git a/developers/jaehwan/id_rsa_at_work.pub 
b/developers/jaehwan/id_rsa_at_work.pub
new file mode 100755
index 000..b6e8a8a
--- /dev/null
+++ b/developers/jaehwan/id_rsa_at_work.pub
@@ -0,0 +1 @@
+ssh-rsa 
B3NzaC1yc2EBIwAAAIEAzBIkD+Z6GQu6zaabK7S8Vbev6NV3dDGN1WASrXliy6fZv1XjQJqal/SIeQcnbC+bU4GSQUqFc518OaZ4HNHYM6yzWTAPesMX8ug428/Okkahjbr9conjtBdMm353d8KxJS20YW54OHNRi9u8RNF28T2Ygpl5TKjNeL4uz7rmY/0=
 jae.hwan@samsung.com

-- 




  1   2   >