[EGIT] [website/www] master 01/01: www - news css

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=17de74278e7a090b8ad68f6bdf93ad43e0de8347

commit 17de74278e7a090b8ad68f6bdf93ad43e0de8347
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:55:40 2016 +0900

www - news css
---
 public_html/lib/tpl/e/css/modifications.css | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index a4b3110..8eb1cb7 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -607,11 +607,11 @@ table {
padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
-   margin-right: 0px;
margin-left: 0px;
+   margin-right: 0px;
width: 24px;
height: 24px;
-   float: clear;
+   float: ;
 }
 
 .anss_del_img:hover {
@@ -625,7 +625,7 @@ table {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-left: 0px;
+   margin-right: 0px;
width: 24px;
height: 24px;
float: clear;
@@ -642,7 +642,7 @@ table {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-left: 0px;
+   margin-right: 0px;
width: 24px;
height: 24px;
float: clear;
@@ -659,7 +659,7 @@ table {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-left: 0px;
+   margin-right: 0px;
width: 24px;
height: 24px;
float: clear;

-- 




[EGIT] [website/www] master 01/01: www - news css

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=e8e4be0ee5be1b1cb6fb9a5af8f9111240381804

commit e8e4be0ee5be1b1cb6fb9a5af8f9111240381804
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:53:44 2016 +0900

www - news css
---
 public_html/lib/tpl/e/css/modifications.css | 30 -
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 9ecf55a..a4b3110 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -590,7 +590,7 @@ table {
 }
 
 .news_preview {
-   font-size: 14px;
+   font-size: 100%;
line-height: 100%;
color: #88;
margin: 0;
@@ -604,13 +604,14 @@ table {
background-image: url(/images/delete.png);
background-repeat: no-repeat;
background-position: center;
+   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
-   width: 40px;
-   height: 40px;
-   float: left;
+   width: 24px;
+   height: 24px;
+   float: clear;
 }
 
 .anss_del_img:hover {
@@ -620,13 +621,14 @@ table {
background-image: url(/images/delete_hov.png) !important;
background-repeat: no-repeat;
background-position: center;
+   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-left: 0px;
-   width: 40px;
-   height: 40px;
-   float: left;
+   width: 24px;
+   height: 24px;
+   float: clear;
 }
 
 .anss_edit_img {
@@ -636,13 +638,14 @@ table {
background-image: url(/images/edit.png);
background-repeat: no-repeat;
background-position: center;
+   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-left: 0px;
-   width: 40px;
-   height: 40px;
-   float: left;
+   width: 24px;
+   height: 24px;
+   float: clear;
 }
 
 .anss_edit_img:hover {
@@ -652,11 +655,12 @@ table {
background-image:url(/images/edit_hov.png) !important;
background-repeat: no-repeat;
background-position: center;
+   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-left: 0px;
-   width: 40px;
-   height: 40px;
-   float: left;
+   width: 24px;
+   height: 24px;
+   float: clear;
 }

-- 




[EGIT] [website/www] master 01/01: www - news css

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=c6064ffa4a6fe965f14a5215ba99dc33dd8c2a92

commit c6064ffa4a6fe965f14a5215ba99dc33dd8c2a92
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:51:28 2016 +0900

www - news css
---
 public_html/lib/tpl/e/css/modifications.css | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 2774a83..9ecf55a 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -610,7 +610,7 @@ table {
margin-left: 0px;
width: 40px;
height: 40px;
-   float: right;
+   float: left;
 }
 
 .anss_del_img:hover {
@@ -622,11 +622,11 @@ table {
background-position: center;
margin-top: 0px;
margin-bottom: 0px;
-   margin-right: 0px;
+   margin-left: 0px;
margin-left: 0px;
width: 40px;
height: 40px;
-   float: right;
+   float: left;
 }
 
 .anss_edit_img {
@@ -638,11 +638,11 @@ table {
background-position: center;
margin-top: 0px;
margin-bottom: 0px;
-   margin-right: 0px;
+   margin-left: 0px;
margin-left: 0px;
width: 40px;
height: 40px;
-   float: right;
+   float: left;
 }
 
 .anss_edit_img:hover {
@@ -654,9 +654,9 @@ table {
background-position: center;
margin-top: 0px;
margin-bottom: 0px;
-   margin-right: 0px;
+   margin-left: 0px;
margin-left: 0px;
width: 40px;
height: 40px;
-   float: right;
+   float: left;
 }

-- 




[EGIT] [website/www] master 01/01: e www - news - update css

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=c76b66b31d2f72aec55aef36f08ea43af9868eac

commit c76b66b31d2f72aec55aef36f08ea43af9868eac
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:47:31 2016 +0900

e www - news - update css
---
 public_html/lib/tpl/e/css/modifications.css | 84 +
 1 file changed, 84 insertions(+)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 5bb8f41..2774a83 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -576,3 +576,87 @@ table {
margin-top: 10px;
margin-bottom: 10px;
 }
+
+.news_date {
+   font-size: 50%;
+   font-style: italic;
+   color: #88;
+}
+
+.news_subtitle {
+   font-size: 80%;
+   font-style: italic;
+   color: #aa;
+}
+
+.news_preview {
+   font-size: 14px;
+   line-height: 100%;
+   color: #88;
+   margin: 0;
+   padding: 0;
+}
+
+.anss_del_img {
+   border: 0;
+   border-radius: 4px;
+   background-color: #202020;
+   background-image: url(/images/delete.png);
+   background-repeat: no-repeat;
+   background-position: center;
+   margin-top: 0px;
+   margin-bottom: 0px;
+   margin-right: 0px;
+   margin-left: 0px;
+   width: 40px;
+   height: 40px;
+   float: right;
+}
+
+.anss_del_img:hover {
+   border: 0;
+   border-radius: 4px;
+   background-color: #606060;
+   background-image: url(/images/delete_hov.png) !important;
+   background-repeat: no-repeat;
+   background-position: center;
+   margin-top: 0px;
+   margin-bottom: 0px;
+   margin-right: 0px;
+   margin-left: 0px;
+   width: 40px;
+   height: 40px;
+   float: right;
+}
+
+.anss_edit_img {
+   border: 0;
+   border-radius: 4px;
+   background-color: #202020;
+   background-image: url(/images/edit.png);
+   background-repeat: no-repeat;
+   background-position: center;
+   margin-top: 0px;
+   margin-bottom: 0px;
+   margin-right: 0px;
+   margin-left: 0px;
+   width: 40px;
+   height: 40px;
+   float: right;
+}
+
+.anss_edit_img:hover {
+   border: 0;
+   border-radius: 4px;
+   background-color: #606060;
+   background-image:url(/images/edit_hov.png) !important;
+   background-repeat: no-repeat;
+   background-position: center;
+   margin-top: 0px;
+   margin-bottom: 0px;
+   margin-right: 0px;
+   margin-left: 0px;
+   width: 40px;
+   height: 40px;
+   float: right;
+}

-- 




[EGIT] [tools/eflete] master 10/16: layouts.edc: make the plus/minus buttons smaller

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 8c23ca8e554d791749ecaa3c1406567aae379a40
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 11:05:55 2016 +0200

layouts.edc: make the plus/minus buttons smaller
---
 data/themes/default/widgets/layout.edc | 32 
 src/bin/ui/colorclass_manager.c|  2 ++
 src/bin/ui/image_manager.c |  2 ++
 src/bin/ui/sound_manager.c |  2 ++
 src/bin/ui/style_manager.c |  2 ++
 5 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/data/themes/default/widgets/layout.edc 
b/data/themes/default/widgets/layout.edc
index c23035d..de36853 100644
--- a/data/themes/default/widgets/layout.edc
+++ b/data/themes/default/widgets/layout.edc
@@ -276,8 +276,8 @@ group { name: "elm/layout/style_color_editor/list";
   part { name: "swallow.button_rm";
  type: SWALLOW;
  description { state: "default" 0.0;
-align: 0.0 0.0;
-FIXED_SIZE(31, 21);
+align: 1.0 0.0;
+FIXED_SIZE(18, 19);
 rel1 {
to: "label.list";
relative: 1.0 0.0;
@@ -287,22 +287,22 @@ group { name: "elm/layout/style_color_editor/list";
   part { name: "pad_between_but";
  type: SPACER;
  description { state: "default" 0.0;
-align: 0.0 0.0;
-FIXED_SIZE(6, 21);
-rel1 {
+align: 1.0 0.0;
+FIXED_SIZE(3, 21);
+rel2 {
to: "swallow.button_rm";
-   relative: 1.0 0.0;
+   relative: 0.0 0.0;
 }
  }
   }
   part { name: "swallow.button_add";
  type: SWALLOW;
  description { state: "default" 0.0;
-align: 0.0 0.0;
-FIXED_SIZE(31, 21);
-rel1 {
+align: 1.0 0.0;
+FIXED_SIZE(18, 19);
+rel2 {
to: "pad_between_but";
-   relative: 1.0 0.0;
+   relative: 0.0 0.0;
 }
  }
   }
@@ -933,8 +933,8 @@ group { name: "elm/layout/image_manager/default";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 0.0;
-min: 30 19;
-max: 30 19;
+min: 18 19;
+max: 18 19;
 rel1 {
to: "area.edit";
 }
@@ -947,8 +947,8 @@ group { name: "elm/layout/image_manager/default";
  type: SPACER;
  description { state: "default" 0.0;
 align: 1.0 1.0;
-min: 6 6;
-max: 6 6;
+min: 3 3;
+max: 3 3;
 rel1 {
to: "area.edit";
 }
@@ -962,8 +962,8 @@ group { name: "elm/layout/image_manager/default";
  type: SWALLOW;
  description { state: "default" 0.0;
 align: 1.0 1.0;
-min: 30 19;
-max: 30 19;
+min: 18 19;
+max: 18 19;
 rel1 {
to: "area.edit";
 }
diff --git a/src/bin/ui/colorclass_manager.c b/src/bin/ui/colorclass_manager.c
index 333ccda..0a431b8 100644
--- a/src/bin/ui/colorclass_manager.c
+++ b/src/bin/ui/colorclass_manager.c
@@ -393,6 +393,7 @@ _form_list_side(Colorclasses_Manager *edit)
 
/* Controls (add, remove) of colorclasses */
button = elm_button_add(layout);
+   elm_object_style_set(button, "anchor");
evas_object_show(button);
ICON_STANDARD_ADD(button, ic, true, "plus");
elm_object_part_content_set(button, NULL, ic);
@@ -401,6 +402,7 @@ _form_list_side(Colorclasses_Manager *edit)
elm_object_part_content_set(layout, "swallow.button_add", button);
 
edit->del_button = elm_button_add(layout);
+   elm_object_style_set(edit->del_button, "anchor");
evas_object_show(edit->del_button);
ICON_STANDARD_ADD(button, ic, true, "minus");
elm_object_part_content_set(edit->del_button, NULL, ic);
diff --git a/src/bin/ui/image_manager.c b/src/bin/ui/image_manager.c
index fc437b0..8460049 100644
--- a/src/bin/ui/image_manager.c
+++ b/src/bin/ui/image_manager.c
@@ -517,6 +517,7 @@ image_manager_add()
evas_object_show(img_mng->gengrid);
 
button = elm_button_add(img_mng->layout);
+   elm_object_style_set(button, "anchor");
evas_object_show(button);
ic = elm_icon_add(button);
elm_icon_standard_set(ic, "plus");
@@ -527,6 +528,7 @@ image_manager_add()
"eflete.swallow.add_btn", button);
 
img_mng->del_button = elm_button_add(img_mng->layout);
+   elm_object_style_set(img_mng->del_button, "anchor");
evas_object_show(img_mng->del_button);
ic = elm_icon_add(img_mng->del_button);
elm_icon_standard_set(ic, "minus");
diff --git a/src/bin/ui/sound_manager.c b/src/bin/ui/sound_manager.c
index e094bd1..1a2aa7b 100644
--- 

[EGIT] [tools/eflete] master 06/16: entry.edc: align to top the text in the multiliner entry

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 8a051bb56f4e0ddb3a2a9bab581e6fad7b6e5671
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 12:01:58 2016 +0200

entry.edc: align to top the text in the multiliner entry
---
 data/themes/default/widgets/entry.edc | 4 
 1 file changed, 4 insertions(+)

diff --git a/data/themes/default/widgets/entry.edc 
b/data/themes/default/widgets/entry.edc
index ddfc3af..b5060b6 100644
--- a/data/themes/default/widgets/entry.edc
+++ b/data/themes/default/widgets/entry.edc
@@ -9,6 +9,9 @@ group { name: "elm/entry/base/default";
 rel2.to: "elm.text";
 text {
style: "eflete_text_guide_style";
+   align: 0.5 0.0;
+   min: 1 1;
+   elipsis: -1;
 }
  }
  description { state: "hidden" 0.0;
@@ -29,6 +32,7 @@ group { name: "elm/entry/base/default";
  description { state: "default" 0.0;
 text {
style: "entry_main_text";
+   align: 0.5 0.0;
min: 1 1;
elipsis: -1;
 }

-- 




[EGIT] [tools/eflete] master 13/16: popup: show the 'Cancel' button

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit c51c37766346b733e11150f18552d40bf203d7de
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 12:58:11 2016 +0200

popup: show the 'Cancel' button
---
 src/bin/ui/popup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index c51cc90..a1e14eb 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -299,8 +299,6 @@ _fileselector_helper(const char *title,
elm_fileselector_path_set(fs, path ? path : 
profile_get()->general.projects_folder);
evas_object_smart_callback_add(fs, "done", _done, follow_up);
evas_object_smart_callback_add(fs, "activated", _done, follow_up);
-   /* small hack, hide not necessary button */
-   evas_object_hide(elm_layout_content_unset(fs, "elm.swallow.cancel"));
evas_object_size_hint_min_set(helper, FS_W, FS_H);
evas_object_resize(helper, FS_W, FS_H);
 

-- 




[EGIT] [tools/eflete] master 04/16: demo_group: update the caption style for part lst in the demo mode

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 2c9b5b0c92a76e72cb93e2ddf169351b68660aca
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 10:21:11 2016 +0200

demo_group: update the caption style for part lst in the demo mode
---
 src/bin/ui/demo_group.c | 92 +++--
 1 file changed, 59 insertions(+), 33 deletions(-)

diff --git a/src/bin/ui/demo_group.c b/src/bin/ui/demo_group.c
index 9c9093b..2340731 100644
--- a/src/bin/ui/demo_group.c
+++ b/src/bin/ui/demo_group.c
@@ -38,20 +38,33 @@ typedef struct
Eina_List *signal_list;
 } Part_Demo_List;
 
-static Elm_Genlist_Item_Class *itc_group;
+static Elm_Genlist_Item_Class *itc_swallow, *itc_text, *itc_signal;
 static Elm_Genlist_Item_Class *itc_part;
 static Elm_Genlist_Item_Class *itc_part_selected;
 static Elm_Genlist_Item_Class *itc_signals;
 
-static char *
-_group_label_get(void *data,
-Evas_Object *obj __UNUSED__,
-const char *pr __UNUSED__)
-{
-   assert(data);
-
-   return strdup(data);
+#define CAPTION_GENLIST_ITEM_TEXT_GET(TYPE, TITLE) \
+static char * \
+_##TYPE##_label_cb(void *data, \
+   Evas_Object *obj __UNUSED__, \
+   const char *part) \
+{ \
+   assert(data != NULL); \
+   char buf[5]; /* I'm really think that 5 symbol for parts count enough */ \
+   Part_Demo_List *pl = (Part_Demo_List *)data; \
+   if (!strcmp(part, "elm.text")) \
+ return strdup(TITLE); \
+   if (!strcmp(part, "elm.text.end")) \
+ { \
+snprintf(buf, 5, "%d", eina_list_count(pl->TYPE##_list)); \
+return strdup(buf); \
+ } \
+   return NULL; \
 }
+CAPTION_GENLIST_ITEM_TEXT_GET(swallow, "Swallows")
+CAPTION_GENLIST_ITEM_TEXT_GET(text, "Texts")
+CAPTION_GENLIST_ITEM_TEXT_GET(signal, "Signals")
+
 static char *
 _part_label_get(void *data,
 Evas_Object *obj __UNUSED__,
@@ -228,12 +241,25 @@ demo_group_add(Group *group)
 
pl->group = group;
/* add some genlists */
-   if (!itc_group)
+   if (!itc_swallow)
+ {
+itc_swallow = elm_genlist_item_class_new();
+itc_swallow->item_style = "caption";
+itc_swallow->func.text_get = _swallow_label_cb;
+ }
+   if (!itc_text)
+ {
+itc_text = elm_genlist_item_class_new();
+itc_text->item_style = "caption";
+itc_text->func.text_get = _text_label_cb;
+ }
+   if (!itc_signal)
  {
-itc_group = elm_genlist_item_class_new();
-itc_group->item_style = "part";
-itc_group->func.text_get = _group_label_get;
+itc_signal = elm_genlist_item_class_new();
+itc_signal->item_style = "caption";
+itc_signal->func.text_get = _signal_label_cb;
  }
+
if (!itc_part)
  {
 itc_part = elm_genlist_item_class_new();
@@ -269,26 +295,26 @@ demo_group_add(Group *group)
evas_object_data_set(pl->genlist, DEMO_GROUP_DATA, pl);
 
pl->it_swallow = elm_genlist_item_append(pl->genlist,
-itc_group,
-eina_stringshare_add("Swallows"),
-NULL,
-ELM_GENLIST_ITEM_TREE,
-NULL,
-NULL);
-   pl->it_text = elm_genlist_item_append(pl->genlist,
- itc_group,
- eina_stringshare_add("Text"),
- NULL,
- ELM_GENLIST_ITEM_TREE,
- NULL,
- NULL);
-   pl->it_signal = elm_genlist_item_append(pl->genlist,
-   itc_group,
-   eina_stringshare_add("Signals"),
-   NULL,
-   ELM_GENLIST_ITEM_TREE,
-   NULL,
-   NULL);
+itc_swallow,
+pl,
+NULL,
+ELM_GENLIST_ITEM_TREE,
+NULL,
+NULL);
+   pl->it_text =elm_genlist_item_append(pl->genlist,
+itc_text,
+pl,
+NULL,
+ELM_GENLIST_ITEM_TREE,
+NULL,
+NULL);
+   pl->it_signal =  elm_genlist_item_append(pl->genlist,
+ 

[EGIT] [tools/eflete] master 12/16: sound_manager: unable to add the folder as sample sound

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 764055ff6841dee447ff569024cf684f03f89839
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 12:56:08 2016 +0200

sound_manager: unable to add the folder as sample sound
---
 src/bin/ui/sound_manager.c | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/ui/sound_manager.c b/src/bin/ui/sound_manager.c
index 1a2aa7b..4cebed4 100644
--- a/src/bin/ui/sound_manager.c
+++ b/src/bin/ui/sound_manager.c
@@ -262,6 +262,12 @@ _add_sample_done(void *data,
 ERR(_("File '%s' is not exist"), selected);
 return false;
  }
+   if (ecore_file_is_dir(selected))
+ {
+ERR(_("Unable to add folder"))
+return true;
+ }
+
file_name = ecore_file_file_get(selected);
sound_name = eina_stringshare_add(file_name);
EINA_LIST_FOREACH(samples_list, l, res)

-- 




[EGIT] [tools/eflete] master 07/16: toolbar.edc: fix the separator color

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit ecae8108c529af93a2312516a744fb51061f70f5
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 19:46:54 2016 +0200

toolbar.edc: fix the separator color
---
 data/themes/default/widgets/toolbar.edc | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/data/themes/default/widgets/toolbar.edc 
b/data/themes/default/widgets/toolbar.edc
index 4750fe4..1961c9c 100644
--- a/data/themes/default/widgets/toolbar.edc
+++ b/data/themes/default/widgets/toolbar.edc
@@ -30,7 +30,9 @@ group { name: "elm/toolbar/base/default";
 align: 0.5 1.0;
 min: 0 1;
 max: -1 1;
-color_class: "bg_scroller";
+/* 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;
  }
   }
}
@@ -245,7 +247,9 @@ group { name: "elm/toolbar/base/tabs_horizontal";
 align: 0.5 1.0;
 min: 0 1;
 max: -1 1;
-color_class: "bg_scroller";
+/* 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;
  }
   }
   part { name: "clipper_arrow_left";
@@ -766,7 +770,9 @@ group { name: "elm/toolbar/base/editor_tabs_horizontal";
 align: 0.5 1.0;
 min: 0 1;
 max: -1 1;
-color_class: "bg_scroller";
+/* 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;
  }
   }
   part { name: "clipper";

-- 




[EGIT] [tools/eflete] master 08/16: segment_control.edc: make size smaller, text size to 12

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit fc1f2a96f67fb2038ec10acbde8a51008085b4a1
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 21:27:34 2016 +0200

segment_control.edc: make size smaller, text size to 12
---
 data/themes/default/widgets/segment_control.edc | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/data/themes/default/widgets/segment_control.edc 
b/data/themes/default/widgets/segment_control.edc
index 62ed3dc..53a79b4 100644
--- a/data/themes/default/widgets/segment_control.edc
+++ b/data/themes/default/widgets/segment_control.edc
@@ -7,7 +7,7 @@ group { name: "elm/segment_control/base/default";
#define SEGMENT_STATE_SELECTED 3
#define SEGMENT_STATUS_ENABLED 0
#define SEGMENT_STATUS_DISABLED 1
-   #define MIN_MAX min: 0 24; max: -1 24;
+   #define MIN_MAX min: 0 19; max: -1 -1;
parts {
   part { name: "bg";
  type: RECT;
@@ -15,12 +15,13 @@ group { name: "elm/segment_control/base/default";
  description {
 state: "default" 0.0;
 color: 0 0 0 0;
-SET_SIZE(160, 26)
+min: 100 19;
  }
   }
}
 }
 group { name: "elm/segment_control/item/default";
+   /* TODO("Need to remake to programs with filters") */
images {
   image: "segment_control_center.png" COMP;
   image: "segment_control_end.png" COMP;
@@ -157,7 +158,6 @@ group { name: "elm/segment_control/item/default";
  type: TEXT;
  mouse_events: 0;
  scale: 1;
- effect: SHADOW BOTTOM;
  description {
 state: "default" 0.0;
 fixed: 1 1;
@@ -167,11 +167,13 @@ group { name: "elm/segment_control/item/default";
offset: 0 -1;
 }
 rel2.offset: -6 -2;
-color: FN_COL_DEFAULT;
+color_class: "main";
 text {
-   font: FN;
-   size: 11;
-   text_class: "button";
+   font: "PT";
+   size: 12;
+   min: 1 1;
+   max: 1 1;
+   elipsis: -1;
 }
  }
  description { state: "pressed" 0.0;
@@ -181,7 +183,7 @@ group { name: "elm/segment_control/item/default";
  description { state: "disabled" 0.0;
 inherit: "default" 0.0;
 visible: 1;
-color: FN_COL_DISABLE;
+color_class: "main_disable";
  }
   }
   part { name: "disabler";

-- 




[EGIT] [tools/eflete] master 01/16: eflete: orient all popups to center

2016-02-14 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

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

commit b19001e5abd450b764b83e1a9f5475c257e27ca8
Author: Vyacheslav Reutskiy 
Date:   Fri Feb 12 18:39:02 2016 +0200

eflete: orient all popups to center

Change-Id: I15620e9ebc9cadcde486af1412c48d04a3e704da
---
 src/bin/ui/group_navigator.c   | 4 
 src/bin/ui/modal_window/modal_window.c | 1 +
 src/bin/ui/sound_manager.c | 2 +-
 src/bin/ui/style_manager.c | 2 ++
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/group_navigator.c b/src/bin/ui/group_navigator.c
index f8f0ee7..07d6c24 100644
--- a/src/bin/ui/group_navigator.c
+++ b/src/bin/ui/group_navigator.c
@@ -801,6 +801,7 @@ _on_menu_add_part_clicked(void *data __UNUSED__,
assert(pl != NULL);
 
ap.popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(ap.popup, ELM_POPUP_ORIENT_CENTER);
title = eina_stringshare_printf(_("Add new part to group \"%s\""), 
pl->group->name);
elm_object_part_text_set(ap.popup, "title,text", title);
eina_stringshare_del(title);
@@ -951,6 +952,7 @@ _on_menu_add_state_clicked(void *data __UNUSED__,
part = elm_object_item_data_get(pl->selected_part_item);
 
ap.popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(ap.popup, ELM_POPUP_ORIENT_CENTER);
title = eina_stringshare_printf(_("Add new state to part \"%s\""), 
part->name);
elm_object_part_text_set(ap.popup, "title,text", title);
eina_stringshare_del(title);
@@ -1075,6 +1077,7 @@ _on_menu_add_item_clicked(void *data __UNUSED__,
part = elm_object_item_data_get(pl->selected_part_item);
 
ap.popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(ap.popup, ELM_POPUP_ORIENT_CENTER);
title = eina_stringshare_printf(_("Add new item to part \"%s\""), 
part->name);
elm_object_part_text_set(ap.popup, "title,text", title);
eina_stringshare_del(title);
@@ -1156,6 +1159,7 @@ _on_menu_add_program_clicked(void *data __UNUSED__,
assert(pl != NULL);
 
ap.popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(ap.popup, ELM_POPUP_ORIENT_CENTER);
elm_object_part_text_set(ap.popup, "title,text", _("Add new program"));
 
BOX_ADD(ap.popup, box, false, false);
diff --git a/src/bin/ui/modal_window/modal_window.c 
b/src/bin/ui/modal_window/modal_window.c
index 3fec502..f17ab96 100644
--- a/src/bin/ui/modal_window/modal_window.c
+++ b/src/bin/ui/modal_window/modal_window.c
@@ -46,6 +46,7 @@ _mw_info(void *data,
Evas_Object *mwin = elm_object_parent_widget_get(obj);
 
popup = elm_popup_add(mwin);
+   elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
elm_object_part_text_set(popup, "title,text", _("Title will be deleted"));
LABEL_ADD(popup, content, info);
evas_object_size_hint_weight_set(content, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
diff --git a/src/bin/ui/sound_manager.c b/src/bin/ui/sound_manager.c
index ba685b1..e094bd1 100644
--- a/src/bin/ui/sound_manager.c
+++ b/src/bin/ui/sound_manager.c
@@ -428,9 +428,9 @@ _tone_add_cb(void *data,
Eina_Stringshare *title;
 
popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
title = eina_stringshare_add(_("Add new tone to the project"));
elm_object_part_text_set(popup, "title,text", title);
-   elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
edit->popup = popup;
 
assert(edit->tone_validator == NULL);
diff --git a/src/bin/ui/style_manager.c b/src/bin/ui/style_manager.c
index 3fc28ba..93086ca 100644
--- a/src/bin/ui/style_manager.c
+++ b/src/bin/ui/style_manager.c
@@ -346,6 +346,7 @@ _on_bt_style_add(void *data,
assert(style_edit != NULL);
 
POPUP.dialog = elm_popup_add(ap.win);
+   elm_popup_orient_set(POPUP.dialog, ELM_POPUP_ORIENT_CENTER);
elm_object_part_text_set(POPUP.dialog, "title,text", _("Add textblock 
style"));
 
BOX_ADD(POPUP.dialog, box, false, false);
@@ -428,6 +429,7 @@ _on_bt_tag_add(void *data,
eina_list_free(tags);
 
POPUP.dialog = elm_popup_add(ap.win);
+   elm_popup_orient_set(POPUP.dialog, ELM_POPUP_ORIENT_CENTER);
buf = eina_stringshare_printf(_("Add tag to style: %s"), style_name);
elm_object_part_text_set(POPUP.dialog, "title,text", buf);
 

-- 




[EGIT] [tools/eflete] master 14/16: property_style: attributes name should be in lower case

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit b77a6f8dc225d4b8b4968d6d72b671604446f796
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 13:13:07 2016 +0200

property_style: attributes name should be in lower case
---
 src/bin/ui/property_style.c | 46 ++---
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/bin/ui/property_style.c b/src/bin/ui/property_style.c
index e17f13e..a583f9d 100644
--- a/src/bin/ui/property_style.c
+++ b/src/bin/ui/property_style.c
@@ -779,17 +779,17 @@ CHANGE_CALLBACK(segment_ctrl, "underline", SEGMENT, NULL)
 static void
 _add_text_part(Style_Prop_Data *pd)
 {
-   ADD_1SWALLOW_ITEM(_("Font name:"), pd->box_frame_text, pd->font_name, item, 
EWE_COMBOBOX);
-   ADD_1SWALLOW_ITEM(_("Font style:"), pd->box_frame_text, pd->font_style, 
item, EWE_COMBOBOX);
+   ADD_1SWALLOW_ITEM(_("font name"), pd->box_frame_text, pd->font_name, item, 
EWE_COMBOBOX);
+   ADD_1SWALLOW_ITEM(_("font style"), pd->box_frame_text, pd->font_style, 
item, EWE_COMBOBOX);
evas_object_smart_callback_add(pd->font_style, "selected", 
_on_font_style_change, pd);
ADD_1SWALLOW_ITEM(_(""), pd->box_frame_text, pd->font_weight, item, 
EWE_COMBOBOX);
evas_object_smart_callback_add(pd->font_weight, "selected", 
_on_font_weight_change, pd);
 
-   _prop_text_color_add(_("Color:"), pd->box_frame_text, >font_color);
+   _prop_text_color_add(_("color"), pd->box_frame_text, >font_color);
evas_object_event_callback_add(pd->font_color, EVAS_CALLBACK_MOUSE_DOWN,
   _on_font_color_clicked, pd);
 
-   _prop_spin_add(_("Size:"), _(""), _("px"),
+   _prop_spin_add(_("size"), _(""), _("px"),
   pd->box_frame_text, >font_size, MIN_SP, MAX_SP, STEP_SP);
 
evas_object_smart_callback_add(pd->font_size, "changed", 
_on_font_size_change, pd);
@@ -812,19 +812,19 @@ _add_text_frame(Style_Prop_Data *pd, Evas_Object *parent)
 static void
 _add_position_part(Style_Prop_Data *pd)
 {
-   ADD_1SWALLOW_ITEM(_("Horizontal align:"), pd->box_frame_position, 
pd->hor_align, item, EWE_COMBOBOX);
+   ADD_1SWALLOW_ITEM(_("horizontal align"), pd->box_frame_position, 
pd->hor_align, item, EWE_COMBOBOX);
evas_object_smart_callback_add(pd->hor_align, "selected", 
_on_hor_align_change, pd);
 
-   ADD_1SWALLOW_ITEM(_("Vertical align:"), pd->box_frame_position, 
pd->vert_align, item, EWE_COMBOBOX);
+   ADD_1SWALLOW_ITEM(_("vertical align"), pd->box_frame_position, 
pd->vert_align, item, EWE_COMBOBOX);
evas_object_smart_callback_add(pd->vert_align, "selected", 
_on_vert_align_change, pd);
 
-   _prop_spin_add(_("Margin:"), _("left"), _("px"), pd->box_frame_position, 
>left_margin, MARGIN_MIN_SP, MAX_SP, STEP_SP);
+   _prop_spin_add(_("margin"), _("left"), _("px"), pd->box_frame_position, 
>left_margin, MARGIN_MIN_SP, MAX_SP, STEP_SP);
evas_object_smart_callback_add(pd->left_margin, "changed", 
_on_left_margin_change, pd);
 
_prop_spin_add(_(""), _("right"), _("px"), pd->box_frame_position, 
>right_margin, MARGIN_MIN_SP, MAX_SP, STEP_SP);
evas_object_smart_callback_add(pd->right_margin, "changed", 
_on_right_margin_change, pd);
 
-   ADD_1SWALLOW_ITEM(_("Wrap:"), pd->box_frame_position, pd->wrap, item, 
EWE_COMBOBOX);
+   ADD_1SWALLOW_ITEM(_("wrap"), pd->box_frame_position, pd->wrap, item, 
EWE_COMBOBOX);
evas_object_smart_callback_add(pd->wrap, "selected", _on_wrap_change, pd);
 }
 
@@ -845,25 +845,25 @@ _add_position_frame(Style_Prop_Data *pd, Evas_Object 
*parent)
 static void
 _add_text_format_part(Style_Prop_Data *pd)
 {
-   _prop_spin_add(_("Text tabstops:"), _(""), _("px"), pd->box_format_frame, 
>tab_stops, MIN_SP, MAX_SP, STEP_SP);
+   _prop_spin_add(_("text tabstops"), _(""), _("px"), pd->box_format_frame, 
>tab_stops, MIN_SP, MAX_SP, STEP_SP);
evas_object_smart_callback_add(pd->tab_stops, "changed", 
_on_tab_stops_change, pd);
 
-   _prop_spin_add(_("Line size:"), _(""), _("px"), pd->box_format_frame, 
>line_size, MIN_SP, MAX_SP, STEP_SP);
+   _prop_spin_add(_("line size"), _(""), _("px"), pd->box_format_frame, 
>line_size, MIN_SP, MAX_SP, STEP_SP);
evas_object_smart_callback_add(pd->line_size, "changed", 
_on_line_size_change, pd);
 
-   _add_1check_color_item(_("Background color"), pd->box_format_frame, 
>check_color, >bg_color);
+   _add_1check_color_item(_("background color"), pd->box_format_frame, 
>check_color, >bg_color);
evas_object_smart_callback_add(pd->check_color, "changed", 
_on_check_color_change, pd);
evas_object_event_callback_add(pd->bg_color, EVAS_CALLBACK_MOUSE_DOWN,
   _on_bg_color_clicked, pd);
 
-   ADD_1SWALLOW_ITEM(_("Password field:"), pd->box_format_frame, 
pd->check_psw, item, CHECK);
+   ADD_1SWALLOW_ITEM(_("password field"), pd->box_format_frame, pd->check_psw, 
item, CHECK);

[EGIT] [tools/eflete] master 15/16: property_sound: delete colon after attributes name

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 780936cef511918945e87cf01829b55c6ba94e98
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 13:16:09 2016 +0200

property_sound: delete colon after attributes name
---
 src/bin/ui/property_sound.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/bin/ui/property_sound.c b/src/bin/ui/property_sound.c
index 9505a4c..686d8cc 100644
--- a/src/bin/ui/property_sound.c
+++ b/src/bin/ui/property_sound.c
@@ -129,7 +129,7 @@ static Evas_Object *
 prop_sound_editor_tone_frequency_add(Evas_Object *parent,
  Sound_Prop_Data *pd)
 {
-   PROPERTY_ITEM_ADD(parent, _("tone frequency"), "2swallow")
+   PROPERTY_ITEM_ADD(parent, _("requency"), "2swallow")
SPINNER_ADD(item, pd->snd_data.tone_frq, 200, 2, 10, false)
elm_layout_content_set(item, "swallow.content1", pd->snd_data.tone_frq);
elm_object_disabled_set(pd->snd_data.tone_frq, true);
@@ -661,13 +661,13 @@ _sample_info_create(Evas_Object *parent, Sound_Prop_Data 
*edit)
BOX_ADD(edit->info_frame, edit->sample_box, false, false);
elm_box_align_set(edit->sample_box, 0.5, 0.0);
 
-   item = prop_item_label_add(edit->sample_box, >snd_data.file_name, 
_("file name:"), _(" - "));
+   item = prop_item_label_add(edit->sample_box, >snd_data.file_name, 
_("file name"), _(" - "));
elm_box_pack_end(edit->sample_box, item);
-   item = prop_item_label_add(edit->sample_box, >snd_data.duration, 
_("duration:"), _(" - "));
+   item = prop_item_label_add(edit->sample_box, >snd_data.duration, 
_("duration"), _(" - "));
elm_box_pack_end(edit->sample_box, item);
-   item = prop_item_label_add(edit->sample_box, >snd_data.type, 
_("type:"), _(" - "));
+   item = prop_item_label_add(edit->sample_box, >snd_data.type, 
_("type"), _(" - "));
elm_box_pack_end(edit->sample_box, item);
-   item = prop_item_label_add(edit->sample_box, >snd_data.size, 
_("size:"), _(" - "));
+   item = prop_item_label_add(edit->sample_box, >snd_data.size, 
_("size"), _(" - "));
elm_box_pack_end(edit->sample_box, item);
 
item = prop_sound_editor_compression_type_add(edit->sample_box, edit);
@@ -690,7 +690,7 @@ _tone_info_create(Evas_Object *parent, Sound_Prop_Data 
*edit)
BOX_ADD(edit->info_frame, edit->tone_box, false, false);
elm_box_align_set(edit->tone_box, 0.5, 0.0);
 
-   item = prop_item_label_add(edit->tone_box, >snd_data.tone_name, 
_("name:"), _(" - "));
+   item = prop_item_label_add(edit->tone_box, >snd_data.tone_name, 
_("name"), _(" - "));
elm_box_pack_end(edit->tone_box, item);
 
item = prop_sound_editor_tone_frequency_add(edit->tone_box, edit);

-- 




[EGIT] [tools/eflete] master 11/16: tabs.edc: set correct padding for content

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 083e0a2b8968f3f5751a51f5a4b6097ce266a749
Author: Viacheslav Reutskyi 
Date:   Sun Feb 14 12:48:12 2016 +0200

tabs.edc: set correct padding for content
---
 data/themes/default/widgets/layouts/tabs.edc | 34 ++--
 1 file changed, 7 insertions(+), 27 deletions(-)

diff --git a/data/themes/default/widgets/layouts/tabs.edc 
b/data/themes/default/widgets/layouts/tabs.edc
index 6d470ed..4bbe548 100644
--- a/data/themes/default/widgets/layouts/tabs.edc
+++ b/data/themes/default/widgets/layouts/tabs.edc
@@ -1390,7 +1390,7 @@ group { name: "elm/layout/tab_style/style_color_editor";
  description { state: "default" 0.0;
 align: 0.5 0.0;
 fixed: 0 1;
-max: -1 20;
+max: -1 2;
  }
   }
   part { name: "left_pad";
@@ -1398,7 +1398,7 @@ group { name: "elm/layout/tab_style/style_color_editor";
  description { state: "default" 0.0;
 align: 0.0 0.0;
 fixed: 1 0;
-max: 6 -1;
+max: 0 -1;
  }
   }
   part { name: "right_pad";
@@ -1406,7 +1406,7 @@ group { name: "elm/layout/tab_style/style_color_editor";
  description { state: "default" 0.0;
 align: 1.0 1.0;
 fixed: 1 0;
-max: 6 -1;
+max: 0 -1;
  }
   }
   part { name: "bottom_pad";
@@ -1414,7 +1414,7 @@ group { name: "elm/layout/tab_style/style_color_editor";
  description { state: "default" 0.0;
 align: 0.0 1.0;
 fixed: 0 1;
-max: -1 6;
+max: -1 0;
  }
   }
   part { name: "label.preview";
@@ -1437,27 +1437,6 @@ group { name: "elm/layout/tab_style/style_color_editor";
 }
  }
   }
-  part { name: "separator_hor";
- type: IMAGE;
- description { state: "default" 0.0;
-align: 1.0 1.0;
-min: 0 2;
-max: -1 2;
-rel1 {
-   relative: 1.0 0.0;
-   to_x: "left_pad";
-}
-rel2 {
-   relative: 0.0 0.0;
-   to_x: "right_pad";
-   to_y: "bottom_pad";
-}
-image {
-   normal: "separator-horizontal.png";
-   middle: DEFAULT;
-}
- }
-  }
   part { name: "swallow.list";
  type: SWALLOW;
  description { state: "default" 0.0;
@@ -1469,8 +1448,9 @@ group { name: "elm/layout/tab_style/style_color_editor";
to: "top_pad";
 }
 rel2 {
-   relative: 1.0 0.0;
-   to: "separator_hor";
+   relative: 0.0 0.0;
+   to_x: "right_pad";
+   to_y: "bottom_pad";
 }
  }
   }

-- 




[EGIT] [tools/eflete] master 03/16: style_manager: disable menu item 'Tag' if any style not selected

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 951fde9f19c88cc25ae7cf298afd21a3921d0e0c
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 09:08:41 2016 +0200

style_manager: disable menu item 'Tag' if any style not selected
---
 src/bin/ui/style_manager.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/style_manager.c b/src/bin/ui/style_manager.c
index cb04f7a..38a568d 100644
--- a/src/bin/ui/style_manager.c
+++ b/src/bin/ui/style_manager.c
@@ -64,6 +64,7 @@ struct _Style_Editor
Evas_Object *entry_prev;
Evas_Object *button_del;
Evas_Object *menu;
+   Elm_Object_Item *menu_tag;
Search_Data style_search_data;
struct {
   const char *st_name;
@@ -819,9 +820,13 @@ _on_bt_add(void *data,
assert(style_edit != NULL);
 
evas_object_geometry_get(obj, , , NULL, );
-
elm_menu_move(style_edit->menu, x, y + h);
evas_object_show(style_edit->menu);
+
+   if (elm_genlist_selected_item_get(style_edit->glist))
+ elm_object_item_disabled_set(style_edit->menu_tag, false);
+   else
+ elm_object_item_disabled_set(style_edit->menu_tag, true);
 }
 
 /* Creating the view of the mwin!!! */
@@ -897,7 +902,7 @@ _form_right_side(Style_Editor *style_edit)
 
style_edit->menu = elm_menu_add(ap.win);
elm_menu_item_add(style_edit->menu, NULL, NULL, _("Style"), 
_on_bt_style_add, style_edit);
-   elm_menu_item_add(style_edit->menu, NULL, NULL, _("Tag"), _on_bt_tag_add, 
style_edit);
+   style_edit->menu_tag = elm_menu_item_add(style_edit->menu, NULL, NULL, 
_("Tag"), _on_bt_tag_add, style_edit);
 
button_add = elm_button_add(ap.win);
evas_object_show(button_add);

-- 




[EGIT] [tools/eflete] master 16/16: colorclass_manager: set the correct aling items in the popup

2016-02-14 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

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

commit ea0f229c2091f89ff46f9a527cbcab147b404ad4
Author: Vyacheslav Reutskiy 
Date:   Mon Feb 15 08:54:18 2016 +0200

colorclass_manager: set the correct aling items in the popup

Change-Id: I754fb2f56e3e69455a123e89d11e5fa518abe169
---
 src/bin/ui/colorclass_manager.c | 17 +
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/src/bin/ui/colorclass_manager.c b/src/bin/ui/colorclass_manager.c
index 0a431b8..f3b4cdd 100644
--- a/src/bin/ui/colorclass_manager.c
+++ b/src/bin/ui/colorclass_manager.c
@@ -66,7 +66,7 @@ _on_button_add_clicked_cb(void *data __UNUSED__,
   Evas_Object *obj __UNUSED__,
   void *event_info __UNUSED__)
 {
-   Evas_Object *box, *item;
+   Evas_Object *item;
Colorclasses_Manager *edit = (Colorclasses_Manager *)data;
Colorclass_Item *it = NULL;
Elm_Object_Item *glit_ccl = NULL;
@@ -75,23 +75,16 @@ _on_button_add_clicked_cb(void *data __UNUSED__,
 
assert(edit != NULL);
 
-   box = elm_box_add(ap.win);
-   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);
-
edit->name_validator = resource_name_validator_new(NAME_REGEX, NULL);
resource_name_validator_list_set(edit->name_validator, 
>colorclasses, true);
-   LAYOUT_PROP_ADD(box, _("Color class name: "), "property", "1swallow")
-   ENTRY_ADD(box, edit->entry, true);
+   LAYOUT_PROP_ADD(ap.win, _("Color class name: "), "property", "1swallow")
+   ENTRY_ADD(item, edit->entry, true);
eo_do(edit->entry, eo_event_callback_add(ELM_ENTRY_EVENT_VALIDATE, 
resource_name_validator_helper, edit->name_validator));
evas_object_smart_callback_add(edit->entry, "changed", _validation, edit);
elm_object_part_text_set(edit->entry, "guide", _("Type new color class name 
here"));
elm_object_part_content_set(item, "elm.swallow.content", edit->entry);
 
-   elm_box_pack_end(box, item);
-   elm_box_pack_end(box, edit->entry);
-
-   btn_res = popup_want_action(_("Create a new layout"), NULL, box,
+   btn_res = popup_want_action(_("Create a new layout"), NULL, item,
edit->entry, BTN_OK|BTN_CANCEL,
NULL, edit->entry);
 
@@ -120,7 +113,7 @@ _on_button_add_clicked_cb(void *data __UNUSED__,
 
 end:
resource_name_validator_free(edit->name_validator);
-   evas_object_del(box);
+   evas_object_del(item);
 }
 
 static void

-- 




[EGIT] [tools/eflete] master 02/16: style_manager: No sence to point action in the names

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 4599ed3b67947a465834802624776288180f64e3
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 08:54:18 2016 +0200

style_manager: No sence to point action in the names

Delete the word 'New' from the menu item for style namager. This is
dropdown menu and for user clearly that the new style or tag for
style.
---
 src/bin/ui/style_manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/style_manager.c b/src/bin/ui/style_manager.c
index 93086ca..cb04f7a 100644
--- a/src/bin/ui/style_manager.c
+++ b/src/bin/ui/style_manager.c
@@ -896,8 +896,8 @@ _form_right_side(Style_Editor *style_edit)
  }
 
style_edit->menu = elm_menu_add(ap.win);
-   elm_menu_item_add(style_edit->menu, NULL, NULL, _("New style"), 
_on_bt_style_add, style_edit);
-   elm_menu_item_add(style_edit->menu, NULL, NULL, _("New tag"), 
_on_bt_tag_add, style_edit);
+   elm_menu_item_add(style_edit->menu, NULL, NULL, _("Style"), 
_on_bt_style_add, style_edit);
+   elm_menu_item_add(style_edit->menu, NULL, NULL, _("Tag"), _on_bt_tag_add, 
style_edit);
 
button_add = elm_button_add(ap.win);
evas_object_show(button_add);

-- 




[EGIT] [tools/eflete] master 05/16: demo_group: caption item expanded by default

2016-02-14 Thread Viacheslav Reutskyi
rimmed pushed a commit to branch master.

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

commit 24ce6bfcb014c9e769dea9d0083e5485bc193c2d
Author: Viacheslav Reutskyi 
Date:   Sat Feb 13 10:47:16 2016 +0200

demo_group: caption item expanded by default
---
 src/bin/ui/demo_group.c | 27 ++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/demo_group.c b/src/bin/ui/demo_group.c
index 2340731..b9b640d 100644
--- a/src/bin/ui/demo_group.c
+++ b/src/bin/ui/demo_group.c
@@ -135,7 +135,6 @@ _expanded_cb(void *data,
Demo_Part *part;
Demo_Signal *sig;
 
-   TODO("remove this hack after https://phab.enlightenment.org/D2965 will be 
accepted");
assert(pl != NULL);
 
if (glit == pl->it_text)
@@ -301,6 +300,7 @@ demo_group_add(Group *group)
 ELM_GENLIST_ITEM_TREE,
 NULL,
 NULL);
+   elm_genlist_item_expanded_set(pl->it_swallow, true);
pl->it_text =elm_genlist_item_append(pl->genlist,
 itc_text,
 pl,
@@ -308,6 +308,7 @@ demo_group_add(Group *group)
 ELM_GENLIST_ITEM_TREE,
 NULL,
 NULL);
+   elm_genlist_item_expanded_set(pl->it_text, true);
pl->it_signal =  elm_genlist_item_append(pl->genlist,
 itc_signal,
 pl,
@@ -315,6 +316,7 @@ demo_group_add(Group *group)
 ELM_GENLIST_ITEM_TREE,
 NULL,
 NULL);
+   elm_genlist_item_expanded_set(pl->it_signal, true);
 
EINA_LIST_FOREACH(pl->group->parts, l, part)
  {
@@ -325,6 +327,13 @@ demo_group_add(Group *group)
  demo_part->name = eina_stringshare_add(part->name);
  demo_part->type = part->type;
  pl->text_list = eina_list_append(pl->text_list, demo_part);
+ elm_genlist_item_append(pl->genlist,
+ itc_part,
+ demo_part,
+ pl->it_text,
+ ELM_GENLIST_ITEM_NONE,
+ NULL,
+ NULL);
   }
 else if (part->type == EDJE_PART_TYPE_SWALLOW)
   {
@@ -336,6 +345,14 @@ demo_group_add(Group *group)
  demo_part->g = 255;
  demo_part->b = 255;
  pl->swallow_list = eina_list_append(pl->swallow_list, demo_part);
+ elm_genlist_item_append(pl->genlist,
+ itc_part,
+ demo_part,
+ pl->it_swallow,
+ ELM_GENLIST_ITEM_NONE,
+ NULL,
+ NULL);
+
   }
  }
 
@@ -354,6 +371,14 @@ demo_group_add(Group *group)
  demo_sig->sig_name = eina_stringshare_add(sig_name);
  demo_sig->source_name = eina_stringshare_add(source_name);
  pl->signal_list = eina_list_append(pl->signal_list, demo_sig);
+ elm_genlist_item_append(pl->genlist,
+ itc_signals,
+ demo_sig,
+ pl->it_signal,
+ ELM_GENLIST_ITEM_NONE,
+ NULL,
+ NULL);
+
   }
  }
 

-- 




[EGIT] [website/www-content] master 01/01: www: news - make all news same as main news page

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=072d6494ae9d1dd36cf9a74f1883f9d7c5d4

commit 072d6494ae9d1dd36cf9a74f1883f9d7c5d4
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:11:10 2016 +0900

www: news - make all news same as main news page
---
 pages/news/allnewsdata.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pages/news/allnewsdata.txt b/pages/news/allnewsdata.txt
index 9676f21..df3ce40 100644
--- a/pages/news/allnewsdata.txt
+++ b/pages/news/allnewsdata.txt
@@ -1,4 +1,4 @@
-~~Title: Latest News~~
-== Latest News ==
+~~Title: News~~
+ News 
 ~~NOCACHE~~
 {{anss>allnews}}

-- 




[EGIT] [games/etypers] master 01/01: elm: fix path to data dir (typo)

2016-02-14 Thread Jean-Philippe Andre
jpeg pushed a commit to branch master.

http://git.enlightenment.org/games/etypers.git/commit/?id=05ad52486687eb7503621de8ef0cd206ae149cd9

commit 05ad52486687eb7503621de8ef0cd206ae149cd9
Author: Jean-Philippe Andre 
Date:   Mon Feb 15 15:21:44 2016 +0900

elm: fix path to data dir (typo)

this made custom paths unusable (no resources found)
---
 src/bin/etypers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/etypers.c b/src/bin/etypers.c
index bd27730..02ffba9 100644
--- a/src/bin/etypers.c
+++ b/src/bin/etypers.c
@@ -1046,7 +1046,7 @@ elm_steup(void)
elm_need_efreet();
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
-   elm_app_compile_bin_dir_set(PACKAGE_DATA_DIR);
+   elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
elm_app_info_set(main, "etypers", "images/etypers.png");
 }
 

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=8580ac827f52ef7d164d63b98422352a220d0b80

commit 8580ac827f52ef7d164d63b98422352a220d0b80
Author: Raster 
Date:   Sun Feb 14 20:05:21 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 17 +
 1 file changed, 17 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
new file mode 100644
index 000..d0e7fd1
--- /dev/null
+++ b/pages/news/newsdata.txt
@@ -0,0 +1,17 @@
+== This is a sample article ==
+
+  * anchor: #20160214200356
+  * head: This is a sample article
+  * subtitle: Subtitle goes here
+  * link: /news/allnewsdata#20160214200356
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: 
+The content goes here. It can be long or short. This is going to at least have 
a few lines in a single paragraph to see how things go. Define a Headline and 
the content of the news article you want to create. You may use standard 
DokuWiki Syntax within the article, it will be recognized and handled 
accordingly. The link is automatically created but for what reason ever you may 
want to change it. Take care that you properly set the anchor or the link will 
jump to the top of the referenced [...]
+
+Now for a second paragraph. Define a Headline and the content of the news 
article you want to create. You may use standard DokuWiki Syntax within the 
article, it will be recognized and handled accordingly. The link is 
automatically created but for what reason ever you may want to change it. Take 
care that you properly set the anchor or the link will jump to the top of the 
referenced page. There is a small counter on top of the text input area to give 
you the quantity of entered words.
+
+And a third short one goes here **some bold text** as well to test
+  * author: raster
+  * tags: moo
+

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=5a01ea837af0d881b52eb459a2a5ece6dc4722cb

commit 5a01ea837af0d881b52eb459a2a5ece6dc4722cb
Author: Raster 
Date:   Sun Feb 14 20:11:42 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 17 +
 1 file changed, 17 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index d0e7fd1..fc615a7 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,3 +1,20 @@
+== News has moved to WWW Wiki ==
+
+  * anchor: #20160214200731
+  * head: News has moved to WWW Wiki
+  * subtitle: We have moved news to the main wiki, old news is still on Phab
+  * link: /news/allnewsdata#20160214200731
+  * start: 2016-02-14
+  * stop: 2099-01-01
+  * text: 
+Due to changes in an update of Phabricator, we lost all news styling control, 
and so we have moved news to the main WWW Wiki.
+
+[ [[https://phab.enlightenment.org/phame/blog/view/3/|Old News]]  
[[https://phab.enlightenment.org/phame/blog/view/1/|Old Blogs]] ]
+
+
+  * author: raster
+  * tags: 
+
 == This is a sample article ==
 
   * anchor: #20160214200356

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata deleted with reason [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=050bd292055a02af560845b1f81884690bd26842

commit 050bd292055a02af560845b1f81884690bd26842
Author: Raster 
Date:   Sun Feb 14 20:03:11 2016 -0800

Wiki page newsdata deleted with reason [] by Raster
---
 pages/news/newsdata.txt | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
deleted file mode 100644
index f0f68d2..000
--- a/pages/news/newsdata.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-== Number 3 is here ==
-
-  * anchor: #20160214195111
-  * head: Number 3 is here
-  * subtitle: Sub goes here
-  * link: /news/allnewsdata#20160214195111
-  * start: 2016-02-14
-  * stop: 2016-06-14
-  * text: 
-Blah blah
-
-More blah!
-  * author: raster
-  * tags: blah
-

-- 




[EGIT] [website/www-content] master 01/03: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=585456c55c5da941191b4327cb628c2c763b7b8e

commit 585456c55c5da941191b4327cb628c2c763b7b8e
Author: Raster 
Date:   Sun Feb 14 20:00:33 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 12 
 1 file changed, 12 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index 08109b7..ee91eb3 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,3 +1,15 @@
+== Boo booboobobobo ==
+
+  * anchor: #20160214200016
+  * head: Boo booboobobobo
+  * subtitle: nyanyanay
+  * link: /news/allnewsdata#20160214200016
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: content is here...
+  * author: raster
+  * tags: 
+
 == Number 3 is here ==
 
   * anchor: #20160214195111

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=352a324cc52dd43b73b798a540a34af53e3d1f1c

commit 352a324cc52dd43b73b798a540a34af53e3d1f1c
Author: Raster 
Date:   Sun Feb 14 20:02:13 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 21 -
 1 file changed, 21 deletions(-)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index 08109b7..46a90e6 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -13,27 +13,6 @@ More blah!
   * author: raster
   * tags: blah
 
-== Sample 2 ==
-
-  * anchor: #20160214191846
-  * head: Sample 2
-  * subtitle: Another subtitle goes here
-  * link: /news/allnewsdata#20160214191846
-  * start: 2016-02-14
-  * stop: 2016-06-14
-  * text: 
-Test multiple lines and //paragraphs// here.
-
-Also test inlined images to see what they do
-
-A screenshot is here:
-
-{{:shot-enlightenment.png?nolink&320}}
-
-It's above.
-  * author: raster
-  * tags: 
-
 == Sample Heading ==
 
   * anchor: #20160214191739

-- 




[EGIT] [website/www-content] master 03/03: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=738b7e6a5d37ac0e2bb1f5e9f6f57e41b8ba4ad7

commit 738b7e6a5d37ac0e2bb1f5e9f6f57e41b8ba4ad7
Author: Raster 
Date:   Sun Feb 14 20:02:01 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 12 
 1 file changed, 12 deletions(-)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index ee91eb3..08109b7 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,15 +1,3 @@
-== Boo booboobobobo ==
-
-  * anchor: #20160214200016
-  * head: Boo booboobobobo
-  * subtitle: nyanyanay
-  * link: /news/allnewsdata#20160214200016
-  * start: 2016-02-14
-  * stop: 2016-06-14
-  * text: content is here...
-  * author: raster
-  * tags: 
-
 == Number 3 is here ==
 
   * anchor: #20160214195111

-- 




[EGIT] [website/www-content] master 01/01: www: add alllnewsdata

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=cd354c8c7a15f65aa35556d016a76e2652ef35ad

commit cd354c8c7a15f65aa35556d016a76e2652ef35ad
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 12:59:37 2016 +0900

www: add alllnewsdata
---
 pages/news/allnewsdata.txt | 4 
 1 file changed, 4 insertions(+)

diff --git a/pages/news/allnewsdata.txt b/pages/news/allnewsdata.txt
new file mode 100644
index 000..9676f21
--- /dev/null
+++ b/pages/news/allnewsdata.txt
@@ -0,0 +1,4 @@
+~~Title: Latest News~~
+== Latest News ==
+~~NOCACHE~~
+{{anss>allnews}}

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=4008cffb168f3ef5575bffadb4d821fecb7f37a5

commit 4008cffb168f3ef5575bffadb4d821fecb7f37a5
Author: Raster 
Date:   Sun Feb 14 19:51:34 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index 3ce1fa8..08109b7 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,3 +1,18 @@
+== Number 3 is here ==
+
+  * anchor: #20160214195111
+  * head: Number 3 is here
+  * subtitle: Sub goes here
+  * link: /news/allnewsdata#20160214195111
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: 
+Blah blah
+
+More blah!
+  * author: raster
+  * tags: blah
+
 == Sample 2 ==
 
   * anchor: #20160214191846

-- 




[EGIT] [website/www-content] master 01/01: Wiki page news-add changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=afc719e6d6d959a3b7f0760e8d8b7a9a5d07f8e4

commit afc719e6d6d959a3b7f0760e8d8b7a9a5d07f8e4
Author: Raster 
Date:   Sun Feb 14 19:45:40 2016 -0800

Wiki page news-add changed with summary [] by Raster
---
 pages/news-add.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pages/news-add.txt b/pages/news-add.txt
index 1b18c82..8446e0c 100644
--- a/pages/news-add.txt
+++ b/pages/news-add.txt
@@ -1,3 +1,3 @@
-**[[news:news|Add News]]**
-
+
+**[[news:news|Add News Item]]**
 

-- 




[EGIT] [website/www-content] master 01/01: www - move news-add toa separate page to be included

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=4d2c0044f235d722adf0bfa02c397488cea7307a

commit 4d2c0044f235d722adf0bfa02c397488cea7307a
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 12:42:29 2016 +0900

www - move news-add toa  separate page to be included
---
 pages/news-add.txt | 3 +++
 pages/news.txt | 5 +
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pages/news-add.txt b/pages/news-add.txt
new file mode 100644
index 000..1b18c82
--- /dev/null
+++ b/pages/news-add.txt
@@ -0,0 +1,3 @@
+**[[news:news|Add News]]**
+
+
diff --git a/pages/news.txt b/pages/news.txt
index ce7a39d..aa9b322 100644
--- a/pages/news.txt
+++ b/pages/news.txt
@@ -1,8 +1,5 @@
 ~~Title: News~~
  News 
 ~~NOCACHE~~
-**[[news:news|Add News]]**
-
-
-
+{{page>news-add}}
 {{anss>allnews}}

-- 




[EGIT] [website/www-content] master 01/01: www - remove empty news

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=0a505b0ebb4bbca5b2b194165f762f8ab4d56e1c

commit 0a505b0ebb4bbca5b2b194165f762f8ab4d56e1c
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 12:34:06 2016 +0900

www - remove empty news
---
 pages/news/newsdata.txt | 12 
 1 file changed, 12 deletions(-)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index eee6d14..3ce1fa8 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,15 +1,3 @@
-==  ==
-
-  * anchor: #20160214192756
-  * head: 
-  * subtitle: 
-  * link: /news/allnewsdata#20160214192756
-  * start: 2016-02-14
-  * stop: 2016-06-14
-  * text: 
-  * author: raster
-  * tags: 
-
 == Sample 2 ==
 
   * anchor: #20160214191846

-- 




[EGIT] [website/www-content] master 01/01: Wiki page news changed with summary [created] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=f0ce0abd243c9e894b751369d2512bdc75e3e7eb

commit f0ce0abd243c9e894b751369d2512bdc75e3e7eb
Author: Raster 
Date:   Sun Feb 14 19:27:48 2016 -0800

Wiki page news changed with summary [created] by Raster
---
 pages/news/news.txt | 4 
 1 file changed, 4 insertions(+)

diff --git a/pages/news/news.txt b/pages/news/news.txt
new file mode 100644
index 000..b426d85
--- /dev/null
+++ b/pages/news/news.txt
@@ -0,0 +1,4 @@
+~~Title: Add News~~
+ Add News 
+~~NOCACHE~~
+{{anss>author}} 

-- 




[EGIT] [website/www-content] master 01/01: Wiki page news changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=378164f74ca5ac9dcc961c2a26a808105b419948

commit 378164f74ca5ac9dcc961c2a26a808105b419948
Author: Raster 
Date:   Sun Feb 14 19:27:32 2016 -0800

Wiki page news changed with summary [] by Raster
---
 pages/news.txt | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pages/news.txt b/pages/news.txt
index 2ba8951..ce7a39d 100644
--- a/pages/news.txt
+++ b/pages/news.txt
@@ -1,10 +1,8 @@
 ~~Title: News~~
  News 
 ~~NOCACHE~~
-{{anss>allnews}}
+**[[news:news|Add News]]**
 
 
 
-**[ [[news:allnewsdata|All]] | [[news:news|Add]] | 
[[news:newsdata?do=edit|Edit]] ]**
- 
-{{anss>author}} 
+{{anss>allnews}}

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=9a75c48b84c72124377d189f278f8eb9ee3a3d7f

commit 9a75c48b84c72124377d189f278f8eb9ee3a3d7f
Author: Raster 
Date:   Sun Feb 14 19:27:58 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 12 
 1 file changed, 12 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index 3ce1fa8..eee6d14 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,3 +1,15 @@
+==  ==
+
+  * anchor: #20160214192756
+  * head: 
+  * subtitle: 
+  * link: /news/allnewsdata#20160214192756
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: 
+  * author: raster
+  * tags: 
+
 == Sample 2 ==
 
   * anchor: #20160214191846

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=0ac9afd6875823864c35094a17dd1496c8c6a16b

commit 0ac9afd6875823864c35094a17dd1496c8c6a16b
Author: Raster 
Date:   Sun Feb 14 19:20:11 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 21 +
 1 file changed, 21 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index cf94e3c..f0e1275 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -1,3 +1,24 @@
+== Sample 2 ==
+
+  * anchor: #20160214191846
+  * head: Sample 2
+  * subtitle: Another subtitle goes here
+  * link: /news/allnewsdata#20160214191846
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: 
+Test multiple lines and //paragraphs// here.
+
+Also test inlined images to see what they do
+
+A screenshot is here:
+
+{{  :shot-enlightenment.png?nolink&320}}
+
+It's above.
+  * author: raster
+  * tags: 
+
 == Sample Heading ==
 
   * anchor: #20160214191739

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [[ Sample 2] ] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=93b5a7a5833de90e3d24cb100bf24df33ad8f446

commit 93b5a7a5833de90e3d24cb100bf24df33ad8f446
Author: Raster 
Date:   Sun Feb 14 19:21:02 2016 -0800

Wiki page newsdata changed with summary [[ Sample 2] ] by Raster
---
 pages/news/newsdata.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
index f0e1275..3ce1fa8 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -13,7 +13,7 @@ Also test inlined images to see what they do
 
 A screenshot is here:
 
-{{  :shot-enlightenment.png?nolink&320}}
+{{:shot-enlightenment.png?nolink&320}}
 
 It's above.
   * author: raster

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=de9dc64d4dc9928ac2e51ef4d8cf5189320a3f34

commit de9dc64d4dc9928ac2e51ef4d8cf5189320a3f34
Author: Raster 
Date:   Sun Feb 14 19:18:46 2016 -0800

Wiki page newsdata changed with summary [] by Raster
---
 pages/news/newsdata.txt | 12 
 1 file changed, 12 insertions(+)

diff --git a/pages/news/newsdata.txt b/pages/news/newsdata.txt
new file mode 100644
index 000..cf94e3c
--- /dev/null
+++ b/pages/news/newsdata.txt
@@ -0,0 +1,12 @@
+== Sample Heading ==
+
+  * anchor: #20160214191739
+  * head: Sample Heading
+  * subtitle: Sample Subtitle Here
+  * link: /news/allnewsdata#20160214191739
+  * start: 2016-02-14
+  * stop: 2016-06-14
+  * text: Here is some **content** with //markdown//.
+  * author: raster
+  * tags: tag1 tag2 tag-blah
+

-- 




[EGIT] [website/www-content] master 01/01: Wiki page news changed with summary [created] by Raster

2016-02-14 Thread Raster
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=54923c9ee6c8ea0381a9b3c9b74d3e6984e6d86a

commit 54923c9ee6c8ea0381a9b3c9b74d3e6984e6d86a
Author: Raster 
Date:   Sun Feb 14 19:17:37 2016 -0800

Wiki page news changed with summary [created] by Raster
---
 pages/news.txt | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/pages/news.txt b/pages/news.txt
new file mode 100644
index 000..2ba8951
--- /dev/null
+++ b/pages/news.txt
@@ -0,0 +1,10 @@
+~~Title: News~~
+ News 
+~~NOCACHE~~
+{{anss>allnews}}
+
+
+
+**[ [[news:allnewsdata|All]] | [[news:news|Add]] | 
[[news:newsdata?do=edit|Edit]] ]**
+ 
+{{anss>author}} 

-- 




[EGIT] [website/www] master 01/01: www - fix nav synatx

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=f7694afa4b853e3b34d649a3d349a7395c716013

commit f7694afa4b853e3b34d649a3d349a7395c716013
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 12:07:20 2016 +0900

www - fix nav synatx
---
 public_html/lib/tpl/e/nav.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public_html/lib/tpl/e/nav.html b/public_html/lib/tpl/e/nav.html
index e564bb2..520907c 100644
--- a/public_html/lib/tpl/e/nav.html
+++ b/public_html/lib/tpl/e/nav.html
@@ -3,6 +3,6 @@
 Download
 Contact
 Docs
-News
-Blog
+News
+Blog
 https://phab.enlightenment.org/;>Devel

-- 




[EGIT] [website/www] master 01/01: e www: link news and blog to wiki pages no phab

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=7a0b7222ddedf70bc465a48d8fc1e4fa003ee2d0

commit 7a0b7222ddedf70bc465a48d8fc1e4fa003ee2d0
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 12:05:53 2016 +0900

e www: link news and blog to wiki pages no phab

phab now dropped styling for blogs. we'll migrate news over to wiki
then. this startes things off.
---
 public_html/lib/tpl/e/nav.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public_html/lib/tpl/e/nav.html b/public_html/lib/tpl/e/nav.html
index 37e5c74..e564bb2 100644
--- a/public_html/lib/tpl/e/nav.html
+++ b/public_html/lib/tpl/e/nav.html
@@ -3,6 +3,6 @@
 Download
 Contact
 Docs
-https://phab.enlightenment.org/phame/live/3;>News
-https://phab.enlightenment.org/phame/live/1;>Blog
+News
+Blog
 https://phab.enlightenment.org/;>Devel

-- 




[EGIT] [website/www] master 01/01: dokuwiki plugins - add news plugin

2016-02-14 Thread Carsten Haitzler (Rasterman)
raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=7de8d9f02dba2b57540df8a91af015490c19ca65

commit 7de8d9f02dba2b57540df8a91af015490c19ca65
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 11:15:16 2016 +0900

dokuwiki plugins - add news plugin
---
 public_html/lib/plugins/anewssystem/INFO   |8 +
 public_html/lib/plugins/anewssystem/README |   28 +
 public_html/lib/plugins/anewssystem/VERSION|1 +
 public_html/lib/plugins/anewssystem/action.php |  241 
 public_html/lib/plugins/anewssystem/backlink.js|   42 +
 .../lib/plugins/anewssystem/conf/default.php   |   23 +
 .../lib/plugins/anewssystem/conf/metadata.php  |   21 +
 .../lib/plugins/anewssystem/dropdowncontent.js |  137 +++
 .../lib/plugins/anewssystem/images/bullet.png  |  Bin 0 -> 206 bytes
 .../lib/plugins/anewssystem/images/delete.gif  |  Bin 0 -> 925 bytes
 .../lib/plugins/anewssystem/images/delete_hov.gif  |  Bin 0 -> 925 bytes
 public_html/lib/plugins/anewssystem/images/dot.gif |  Bin 0 -> 832 bytes
 .../lib/plugins/anewssystem/images/dot2.gif|  Bin 0 -> 832 bytes
 .../lib/plugins/anewssystem/images/edit.gif|  Bin 0 -> 926 bytes
 .../lib/plugins/anewssystem/images/edit_hov.gif|  Bin 0 -> 926 bytes
 .../lib/plugins/anewssystem/images/toc-arrows.png  |  Bin 0 -> 225 bytes
 .../lib/plugins/anewssystem/images/toc-bullet.png  |  Bin 0 -> 121 bytes
 .../plugins/anewssystem/images/toolbar/bold.png|  Bin 0 -> 251 bytes
 .../plugins/anewssystem/images/toolbar/code.png|  Bin 0 -> 658 bytes
 .../plugins/anewssystem/images/toolbar/enlarge.png |  Bin 0 -> 379 bytes
 .../lib/plugins/anewssystem/images/toolbar/h1.png  |  Bin 0 -> 290 bytes
 .../lib/plugins/anewssystem/images/toolbar/h2.png  |  Bin 0 -> 328 bytes
 .../lib/plugins/anewssystem/images/toolbar/h3.png  |  Bin 0 -> 322 bytes
 .../lib/plugins/anewssystem/images/toolbar/h4.png  |  Bin 0 -> 310 bytes
 .../lib/plugins/anewssystem/images/toolbar/h5.png  |  Bin 0 -> 325 bytes
 .../lib/plugins/anewssystem/images/toolbar/hr.png  |  Bin 0 -> 254 bytes
 .../plugins/anewssystem/images/toolbar/italic.png  |  Bin 0 -> 241 bytes
 .../plugins/anewssystem/images/toolbar/link.png|  Bin 0 -> 405 bytes
 .../anewssystem/images/toolbar/linkextern.png  |  Bin 0 -> 904 bytes
 .../plugins/anewssystem/images/toolbar/mono.png|  Bin 0 -> 296 bytes
 .../lib/plugins/anewssystem/images/toolbar/ol.png  |  Bin 0 -> 304 bytes
 .../plugins/anewssystem/images/toolbar/reduce.png  |  Bin 0 -> 356 bytes
 .../plugins/anewssystem/images/toolbar/strike.png  |  Bin 0 -> 318 bytes
 .../anewssystem/images/toolbar/subscript.png   |  Bin 0 -> 359 bytes
 .../anewssystem/images/toolbar/superscript.png |  Bin 0 -> 357 bytes
 .../lib/plugins/anewssystem/images/toolbar/ul.png  |  Bin 0 -> 291 bytes
 .../anewssystem/images/toolbar/underline.png   |  Bin 0 -> 317 bytes
 .../lib/plugins/anewssystem/lang/de/lang.php   |   33 +
 .../lib/plugins/anewssystem/lang/de/settings.php   |   21 +
 .../lib/plugins/anewssystem/lang/en/lang.php   |   33 +
 .../lib/plugins/anewssystem/lang/en/settings.php   |   21 +
 .../lib/plugins/anewssystem/lang/it/lang.php   |   35 +
 .../lib/plugins/anewssystem/lang/it/settings.php   |   17 +
 .../lib/plugins/anewssystem/plugin.info.txt|9 +
 public_html/lib/plugins/anewssystem/style.css  |  353 ++
 public_html/lib/plugins/anewssystem/syntax.php | 1187 
 .../lib/plugins/anewssystem/tpl/newstemplate.txt   |   10 +
 .../plugins/anewssystem/tpl/newstemplate_de.txt|   10 +
 .../plugins/anewssystem/tpl/newstemplate_en.txt|   10 +
 .../plugins/anewssystem/tpl/newstemplate_it.txt|   10 +
 50 files changed, 2250 insertions(+)

diff --git a/public_html/lib/plugins/anewssystem/INFO 
b/public_html/lib/plugins/anewssystem/INFO
new file mode 100644
index 000..56ee566
--- /dev/null
+++ b/public_html/lib/plugins/anewssystem/INFO
@@ -0,0 +1,8 @@
+# PLUGIN INFO - DO NOT EDIT!
+
+author  Taggic
+email   tag...@t-online.de
+date2015-02-11
+nameanewssystem
+descprovides an easy to handle, page based news system
+url http://www.dokuwiki.org/plugin:anewssystem
diff --git a/public_html/lib/plugins/anewssystem/README 
b/public_html/lib/plugins/anewssystem/README
new file mode 100644
index 000..2efd0b0
--- /dev/null
+++ b/public_html/lib/plugins/anewssystem/README
@@ -0,0 +1,28 @@
+/** 
+*  anewssystem Plugin: 
+*
+* @licenseGPL 2 (http://www.gnu.org/licenses/gpl.html)
+* @author Taggic 
+*/
+
+Intro
+-- 
+ 
+Syntax
+--- 
+
+
+Installation
+
+ Just download and extract it as folder �anewssystem� into your �\lib\plugins� 
+ directory or put the link into the Plugin Manager for automated installation:
+ https://github.com/Taggic/anewssystem/zipball/master
+
+
+Configuration
+--
+
+
+Examples/Usage
+--

[EGIT] [core/enlightenment] master 01/01: e po: add completeness lister script into po dir

2016-02-14 Thread Carsten Haitzler
raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=97525a44d1116f823620cdf8629012d72b69b9f0

commit 97525a44d1116f823620cdf8629012d72b69b9f0
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 11:41:05 2016 +0900

e po: add completeness lister script into po dir

./complete *.po

:)
---
 po/complete.sh | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/po/complete.sh b/po/complete.sh
new file mode 100755
index 000..57440af
--- /dev/null
+++ b/po/complete.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+while [ 1 ]; do
+  FILE="$1"
+  shift
+  if test -z "$FILE"; then
+break
+  else
+TOTAL=`grep '^msgid ' $FILE | wc -l`
+MISSING=`grep '^msgstr ""' $FILE | wc -l`
+DONE=`expr $TOTAL - $MISSING`
+COMPLETE=`expr $DONE \\* 100 / $TOTAL`
+echo "$FILE: $DONE/$TOTAL = $COMPLETE%"
+  fi
+done

-- 




[EGIT] [core/efl] master 01/02: Revert "Evas textblock: Properly ifdef hyphenation out."

2016-02-14 Thread Daniel Hirt
herdsman pushed a commit to branch master.

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

commit 196029316d6d63810db3acb429c647f6780217d7
Author: Daniel Hirt 
Date:   Sun Feb 14 13:18:49 2016 +0200

Revert "Evas textblock: Properly ifdef hyphenation out."

This reverts commit 5b083ace84ca91496810cd1826c9469a6c741700.

The "--enable-hyphen" option refers to using the optional hyphenation
dictionaries. We support hyphenation via SHY-HYPHEN hints regardless of
this option.
The following commit will provide finer handling to address the issue in
the reverted one.
---
 src/lib/evas/canvas/evas_object_textblock.c | 95 ++---
 1 file changed, 46 insertions(+), 49 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 80e9774..841918b 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -3725,6 +3725,8 @@ _layout_text_cutoff_get(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
return -1;
 }
 
+static Evas_Object_Textblock_Text_Item * _layout_hyphen_item_new(Ctxt *c, 
const Evas_Object_Textblock_Text_Item *cur_ti);
+
 /**
  * @internal
  * Split before cut, and strip if str[cut - 1] is a whitespace.
@@ -4443,7 +4445,6 @@ _layout_get_charwrap(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
 #define ALLOW_BREAK(i) \
(breaks[i] <= LINEBREAK_ALLOWBREAK)
 
-#ifdef HAVE_HYPHEN
 /* Give a position in text, find the end of word by using Unicode word
  * boundary rules */
 static inline size_t
@@ -4454,58 +4455,13 @@ _layout_word_end(const char *breaks, size_t pos, size_t 
len)
return pos;
 }
 
-/* Hyphenation (since 1.17) */
-static Evas_Object_Textblock_Text_Item *
-_layout_hyphen_item_new(Ctxt *c, const Evas_Object_Textblock_Text_Item *cur_ti)
-{
-   /* U+2010 - Unicode HYPHEN */
-   const Eina_Unicode _hyphen_str[2] = { 0x2010, '\0' };
-   Evas_Object_Textblock_Text_Item *hyphen_ti;
-   Evas_Script_Type script;
-   Evas_Font_Instance *script_fi = NULL, *cur_fi;
-   size_t len = 1; /* The length of _hyphen_str */
-
-   if (c->hyphen_ti)
- {
-_item_free(c->obj, NULL, _ITEM(c->hyphen_ti));
- }
-   c->hyphen_ti = hyphen_ti = _layout_text_item_new(c, cur_ti->parent.format);
-   hyphen_ti->parent.text_node = cur_ti->parent.text_node;
-   hyphen_ti->parent.text_pos = cur_ti->parent.text_pos + 
cur_ti->text_props.text_len - 1;
-   script = evas_common_language_script_type_get(_hyphen_str, len);
-
-   evas_common_text_props_bidi_set(_ti->text_props,
- c->par->bidi_props, hyphen_ti->parent.text_pos);
-   evas_common_text_props_script_set (_ti->text_props, script);
-
-   if (hyphen_ti->parent.format->font.font)
- {
-Evas_Object_Protected_Data *obj = eo_data_scope_get(c->obj, 
EVAS_OBJECT_CLASS);
-/* It's only 1 char anyway, we don't need the run end. */
-(void) ENFN->font_run_end_get(ENDT,
-  hyphen_ti->parent.format->font.font, _fi, _fi,
-  script, _hyphen_str, len);
-
-ENFN->font_text_props_info_create(ENDT,
-  cur_fi, _hyphen_str, _ti->text_props,
-  c->par->bidi_props, hyphen_ti->parent.text_pos, len, 
EVAS_TEXT_PROPS_MODE_SHAPE,
-  hyphen_ti->parent.format->font.fdesc->lang);
- }
-
-   _text_item_update_sizes(c, hyphen_ti);
-   return hyphen_ti;
-}
-
 #define SHY_HYPHEN 0xad
 
-#endif
-
 static int
 _layout_get_hyphenationwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt,
   const Evas_Object_Textblock_Item *it, size_t line_start,
   const char *breaks, const char *wordbreaks)
 {
-#ifdef HAVE_HYPHEN
size_t wrap;
size_t orig_wrap;
const Eina_Unicode *str = eina_ustrbuf_string_get(
@@ -4586,7 +4542,9 @@ _layout_get_hyphenationwrap(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
size_t i = 0;
size_t pos = 0;
 
+#ifdef HAVE_HYPHEN
hyphens = _layout_wrap_hyphens_get(str, 
it->format->font.fdesc->lang, word_start, word_len);
+#endif
 
/* This only happens one time, if the cutoff is in
 * the middle of this word */
@@ -4650,9 +4608,6 @@ _layout_get_hyphenationwrap(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
  return wrap;
   }
  }
-#else
-   (void) wordbreaks;
-#endif
 
/* Hyphenation falls-back to char wrapping at start of line */
return _layout_get_charwrap(c, fmt, it,
@@ -7554,6 +7509,48 @@ _layout_item_obstacle_get(Ctxt *c, 
Evas_Object_Textblock_Item *it)
return min_obs;
 }
 
+/* Hyphenation (since 1.17) */
+static Evas_Object_Textblock_Text_Item *
+_layout_hyphen_item_new(Ctxt *c, const Evas_Object_Textblock_Text_Item *cur_ti)
+{
+   /* U+2010 - Unicode HYPHEN */
+   const Eina_Unicode _hyphen_str[2] = { 0x2010, '\0' };
+   Evas_Object_Textblock_Text_Item *hyphen_ti;
+   

[EGIT] [core/efl] master 02/02: Evas textblock: ifdef unused 'hyphens' code

2016-02-14 Thread Daniel Hirt
herdsman pushed a commit to branch master.

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

commit d79a1ade6c005b778b18b5b065cec5ad3885098b
Author: Daniel Hirt 
Date:   Sun Feb 14 14:20:34 2016 +0200

Evas textblock: ifdef unused 'hyphens' code

The usage of the 'hyphens' array is only relevant when
"--enable-hyphen" is used.
This fixes the dead code addressed in
5b083ace84ca91496810cd1826c9469a6c741700.
---
 src/lib/evas/canvas/evas_object_textblock.c | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 841918b..79e6754 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -4537,13 +4537,14 @@ _layout_get_hyphenationwrap(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
 
   if (word_len >= 4)
 {
-   char *hyphens = NULL;
size_t hyphen_off;
size_t i = 0;
size_t pos = 0;
 
 #ifdef HAVE_HYPHEN
-   hyphens = _layout_wrap_hyphens_get(str, 
it->format->font.fdesc->lang, word_start, word_len);
+   char *hyphens = _layout_wrap_hyphens_get(
+ str, it->format->font.fdesc->lang,
+ word_start, word_len);
 #endif
 
/* This only happens one time, if the cutoff is in
@@ -4563,18 +4564,23 @@ _layout_get_hyphenationwrap(Ctxt *c, 
Evas_Object_Textblock_Format *fmt,
 
for (i = hyphen_off, pos = word_end ; pos > word_start 
; i--, pos--)
  {
-if ((hyphens && (hyphens[i] & 1)) || str[pos] == 
SHY_HYPHEN)
+if (
+#ifdef HAVE_HYPHEN
+  (hyphens && (hyphens[i] & 1)) ||
+#endif
+  (str[pos] == SHY_HYPHEN))
   {
  found_hyphen = EINA_TRUE;
  break;
   }
  }
 
+#ifdef HAVE_HYPHEN
if (hyphens)
  {
 free(hyphens);
-hyphens = NULL;
  }
+#endif
 
/* Rejecting sequences smaller than 2 characters.
 * This also works with 'i' initialized to 0 */

-- 




[EGIT] [tools/erigo] master 01/01: Update class names according to Elementary changes 2

2016-02-14 Thread Yakov Goldberg
yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=e5de65625aa1c3a09fbc237ad3ec6ba436006ee7

commit e5de65625aa1c3a09fbc237ad3ec6ba436006ee7
Author: Yakov Goldberg 
Date:   Sun Feb 14 14:58:58 2016 +0200

Update class names according to Elementary changes 2
---
 data/config/func_names.json | 10 +-
 data/layouts/factory.json   |  4 ++--
 src/lib/generator.c |  8 
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/data/config/func_names.json b/data/config/func_names.json
index a7b3655..61c6124 100644
--- a/data/config/func_names.json
+++ b/data/config/func_names.json
@@ -191,22 +191,22 @@
"display_name" : "Alignment"
 },
 {
-   "class" : "Elm_Interface_Scrollable",
+   "class" : "Elm.Interface_Scrollable",
"name" : "bounce_allow",
"display_name" : "Bounce Allow"
 },
 {
-   "class" : "Elm_Interface_Scrollable",
+   "class" : "Elm.Interface_Scrollable",
"name" : "policy",
"display_name" : "Policy"
 },
 {
-   "class" : "Elm_Interface_Scrollable",
+   "class" : "Elm.Interface_Scrollable",
"name" : "content_min_limit_cb",
"display_name" : "Content Min Limit Cb"
 },
 {
-   "class" : "Elm_Interface_Scrollable",
+   "class" : "Elm.Interface_Scrollable",
"name" : "content_min_limit",
"display_name" : "Content Min Limit"
 },
@@ -312,7 +312,7 @@
"display_name" : "Content Left Size"
 },
 {
-   "class" : "Elm_Interface_Fileselector",
+   "class" : "Elm.Interface_Fileselector",
"name" : "path",
"display_name" : "Path"
 },
diff --git a/data/layouts/factory.json b/data/layouts/factory.json
index 96434bc..979c249 100644
--- a/data/layouts/factory.json
+++ b/data/layouts/factory.json
@@ -261,7 +261,7 @@
  },
  "Properties":
  {
-"Elm_Interface_Fileselector.path":["/home"],
+"Elm.Interface_Fileselector.path":["/home"],
 "Evas.Object.size_hint_weight":[1, 1],
 "Efl.Gfx.Base.visible":[true],
 "Efl.Gfx.Base.size":[165, 200]
@@ -276,7 +276,7 @@
  "Properties":
  {
 "Elm.Widget.part_text":[null, "Select a file"],
-"Elm_Interface_Fileselector.path":["/home"],
+"Elm.Interface_Fileselector.path":["/home"],
 "Evas.Object.size_hint_weight":[1, 1],
 "Efl.Gfx.Base.visible":[true],
 "Efl.Gfx.Base.size":[165, 30]
diff --git a/src/lib/generator.c b/src/lib/generator.c
index a10882f..2e5005b 100644
--- a/src/lib/generator.c
+++ b/src/lib/generator.c
@@ -248,10 +248,10 @@ static _Eo_Legacy_Info eo_legacy_infos[] =
  { "elm_image_file_set", DB_DEF_EFL_FILE_INTERFACE, FILE_SET, 
DB_DEF_ICON_CLASS},
  { "elm_image_file_set", DB_DEF_EFL_FILE_INTERFACE, FILE_SET, 
DB_DEF_IMAGE_CLASS},
  { "evas_object_image_file_set", DB_DEF_EFL_FILE_INTERFACE, FILE_SET, 
DB_DEF_EVAS_IMAGE_CLASS},
- { "elm_scroller_policy_set", "Elm_Interface_Scrollable", "policy", NULL},
- { "elm_scroller_bounce_set", "Elm_Interface_Scrollable", "bounce_allow", 
NULL},
- { "elm_fileselector_entry_path_set", "Elm_Interface_Fileselector", 
"path", DB_DEF_FILESELECTOR_ENTRY_CLASS},
- { "elm_fileselector_path_set", "Elm_Interface_Fileselector", "path", 
DB_DEF_FILESELECTOR_CLASS},
+ { "elm_scroller_policy_set", "Elm.Interface_Scrollable", "policy", NULL},
+ { "elm_scroller_bounce_set", "Elm.Interface_Scrollable", "bounce_allow", 
NULL},
+ { "elm_fileselector_entry_path_set", "Elm.Interface_Fileselector", 
"path", DB_DEF_FILESELECTOR_ENTRY_CLASS},
+ { "elm_fileselector_path_set", "Elm.Interface_Fileselector", "path", 
DB_DEF_FILESELECTOR_CLASS},
  { "elm_layout_content_set", DB_DEF_CONTAINER_CLASS, CONTENT_SET, NULL },
  { "elm_naviframe_item_push", DB_DEF_NAVIFRAME_CLASS, ITEM_PUSH, NULL },
  { "elm_object_part_text_set", DB_DEF_WIDGET_CLASS, PART_TEXT_SET, NULL },

-- 




[EGIT] [core/elementary] master 01/01: transit: rename from elm_transit_revert_go() to elm_transit_revert()

2016-02-14 Thread Hermet Park
hermet pushed a commit to branch master.

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

commit 9fceae128e2f38cf2317c723c7def2ac4c49ad18
Author: Hermet Park 
Date:   Sun Feb 14 20:45:50 2016 +0900

transit: rename from elm_transit_revert_go() to elm_transit_revert()

elm_transit_revert_go() sounds like it triggers animation on reverse way.

but this api acutally just change a current state.
It doesn't trigger the transtion.
---
 src/bin/test_transit.c|  2 +-
 src/bin/test_transit_bezier.c |  2 +-
 src/lib/elm_transit.c | 11 ---
 src/lib/elm_transit.h |  3 ++-
 4 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/bin/test_transit.c b/src/bin/test_transit.c
index bfdd2d9..17b3911 100644
--- a/src/bin/test_transit.c
+++ b/src/bin/test_transit.c
@@ -25,7 +25,7 @@ static void
 _transit_revert(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
Elm_Transit *trans = (Elm_Transit*)data;
-   elm_transit_revert_go(trans);
+   elm_transit_revert(trans);
 }
 
 static void
diff --git a/src/bin/test_transit_bezier.c b/src/bin/test_transit_bezier.c
index 24966e8..d448666 100644
--- a/src/bin/test_transit_bezier.c
+++ b/src/bin/test_transit_bezier.c
@@ -29,7 +29,7 @@ static void
 _transit_revert(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
Elm_Transit *trans = (Elm_Transit*)data;
-   elm_transit_revert_go(trans);
+   elm_transit_revert(trans);
 }
 
 static void
diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c
index ea70529..13f6d78 100644
--- a/src/lib/elm_transit.c
+++ b/src/lib/elm_transit.c
@@ -773,10 +773,13 @@ elm_transit_duration_get(const Elm_Transit *transit)
return transit->time.duration;
 }
 
-EAPI void
-elm_transit_revert_go(Elm_Transit *transit)
+EAPI Eina_Bool
+elm_transit_revert(Elm_Transit *transit)
 {
-   ELM_TRANSIT_CHECK_OR_RETURN(transit);
+   ELM_TRANSIT_CHECK_OR_RETURN(transit, EINA_FALSE);
+
+   if (!transit->animator) return EINA_FALSE;
+
if (transit->revert_mode)
  {
 transit->total_revert_time += transit->time.revert_elapsed;
@@ -788,6 +791,8 @@ elm_transit_revert_go(Elm_Transit *transit)
 transit->time.revert_elapsed = 0;
 transit->revert_begin_progress = 0;
  }
+
+   return EINA_TRUE;
 }
 
 EAPI void
diff --git a/src/lib/elm_transit.h b/src/lib/elm_transit.h
index 6464d52..ced6656 100644
--- a/src/lib/elm_transit.h
+++ b/src/lib/elm_transit.h
@@ -591,11 +591,12 @@ EAPI void   elm_transit_go(Elm_Transit 
*transit);
  * @note @p transit can not be NULL
  *
  * @param transit The transit object.
+ * @return @c EINA_TRUE if transition is reverted, @c EINA_FALSE otherwise.
  *
  * @since 1.18
  * @ingroup Transit
  */
-EAPI void   elm_transit_revert_go(Elm_Transit *transit);
+EAPI Eina_Bool   elm_transit_revert(Elm_Transit *transit);
 
 /**
  * Starts the transition in given seconds.

-- 




[EGIT] [bindings/cxx/eflxx] master 01/01: access part param (I don't like the interface, but it works for my application until I write something better)

2016-02-14 Thread Andreas Volz
andreas pushed a commit to branch master.

http://git.enlightenment.org/bindings/cxx/eflxx.git/commit/?id=36d22d50fce81e6bb7afc1440bb98790190ab313

commit 36d22d50fce81e6bb7afc1440bb98790190ab313
Author: Andreas Volz 
Date:   Sun Feb 14 11:37:08 2016 +0100

access part param (I don't like the interface, but it works for my 
application until I write something better)
---
 edjexx/include/edjexx/ExternalParam.h |  8 -
 edjexx/include/edjexx/Part.h  |  6 +++-
 edjexx/src/ExternalParam.cpp  | 10 ++
 edjexx/src/Part.cpp   | 10 ++
 elementaryxx/doc/Doxyfile |  4 +--
 elementaryxx/doc/foot.html| 19 ---
 elementaryxx/doc/head.html| 64 ---
 7 files changed, 34 insertions(+), 87 deletions(-)

diff --git a/edjexx/include/edjexx/ExternalParam.h 
b/edjexx/include/edjexx/ExternalParam.h
index f6fd61f..ef850f5 100644
--- a/edjexx/include/edjexx/ExternalParam.h
+++ b/edjexx/include/edjexx/ExternalParam.h
@@ -23,11 +23,17 @@ public:
   ExternalParam (const std::string , const char *c);
   ExternalParam (const std::string , const std::string );
 
+  static ExternalParam* wrap (Edje_External_Param *param);
+
+  Edje_External_Param mParam;
+  
 protected:
   Edje_External_Param *getRaw ();
 
 private:  
-  Edje_External_Param mParam;
+  ExternalParam (Edje_External_Param *param);
+  
+  
   std::string mName;
   std::string mStr;
 };
diff --git a/edjexx/include/edjexx/Part.h b/edjexx/include/edjexx/Part.h
index 7ee980c..7f53c6b 100644
--- a/edjexx/include/edjexx/Part.h
+++ b/edjexx/include/edjexx/Part.h
@@ -50,9 +50,13 @@ public:
 
   Evasxx::Object  (const std::string );
 
-  // TODO: wrap Param?
+  
   bool setParam (Edjexx::ExternalParam *param);
 
+  bool getParam (Edjexx::ExternalParam );
+
+  Edje_External_Param_Type getParamType (const std::string );
+
   //const Evasxx::Object* getObject ( const char* name );
 
 private:
diff --git a/edjexx/src/ExternalParam.cpp b/edjexx/src/ExternalParam.cpp
index 8d5b1df..deda8c5 100644
--- a/edjexx/src/ExternalParam.cpp
+++ b/edjexx/src/ExternalParam.cpp
@@ -61,4 +61,14 @@ Edje_External_Param *ExternalParam::getRaw ()
   return 
 }
 
+ExternalParam::ExternalParam (Edje_External_Param *param)
+{
+  mParam = *param;
+}
+
+ExternalParam* ExternalParam::wrap (Edje_External_Param *param)
+{
+  return new ExternalParam (param);
+}
+
 } // end namespace Edjexx
diff --git a/edjexx/src/Part.cpp b/edjexx/src/Part.cpp
index 0808ce3..ee7ef3a 100644
--- a/edjexx/src/Part.cpp
+++ b/edjexx/src/Part.cpp
@@ -111,6 +111,16 @@ bool Part::setParam (Edjexx::ExternalParam *param)
   return edje_object_part_external_param_set (mParent->obj (), mPartname.c_str 
(), param->getRaw ());
 }
 
+bool Part::getParam (Edjexx::ExternalParam )
+{  
+  return edje_object_part_external_param_get (mParent->obj (), mPartname.c_str 
(), inOutparam.getRaw());
+}
+
+Edje_External_Param_Type Part::getParamType (const std::string )
+{
+  return edje_object_part_external_param_type_get (mParent->obj (), 
mPartname.c_str (), param.c_str ());
+}
+
 /*const Evasxx::Object* Part::getObject ( const char* name )
 {
   return Evasxx::Object::objectLink( edje_object_part_object_get( static_cast 
 (mParent->obj()), name ) );
diff --git a/elementaryxx/doc/Doxyfile b/elementaryxx/doc/Doxyfile
index 07235de..0beae80 100644
--- a/elementaryxx/doc/Doxyfile
+++ b/elementaryxx/doc/Doxyfile
@@ -734,13 +734,13 @@ HTML_FILE_EXTENSION= .html
 # each generated HTML page. If it is left blank doxygen will generate a 
 # standard header.
 
-HTML_HEADER= head.html
+HTML_HEADER=
 
 # The HTML_FOOTER tag can be used to specify a personal HTML footer for 
 # each generated HTML page. If it is left blank doxygen will generate a 
 # standard footer.
 
-HTML_FOOTER= foot.html
+HTML_FOOTER= 
 
 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
 # style sheet that is used by each HTML page. It can be used to 
diff --git a/elementaryxx/doc/foot.html b/elementaryxx/doc/foot.html
deleted file mode 100644
index 78ef911..000
--- a/elementaryxx/doc/foot.html
+++ /dev/null
@@ -1,19 +0,0 @@
- 
- 
-  
-   
- 
-  
- 
- 
-  
-
-  
-  Copyright $year Enlightenment
-  Docs generated $datetime
-
-  
-
-
-
-
diff --git a/elementaryxx/doc/head.html b/elementaryxx/doc/head.html
deleted file mode 100644
index 44a5551..000
--- a/elementaryxx/doc/head.html
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-$title
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Enlightenment
-Beauty at your fingertips
-
-
-
-
-   http://web.enlightenment.org/p.php?p=docs;>Docs
-http://trac.enlightenment.org/e;>Tracker
-http://www.enlightenment.org/p.php?p=contact;>Contact
-http://www.enlightenment.org/p.php?p=contribute;>Contribute