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

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

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

commit cef04bc168e7340599d3c325fd53dcefa77e1404
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 16:56:41 2016 +0900

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

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 8eb1cb7..693fc80 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -611,7 +611,7 @@ table {
margin-right: 0px;
width: 24px;
height: 24px;
-   float: ;
+   float: right;
 }
 
 .anss_del_img:hover {
@@ -628,7 +628,7 @@ table {
margin-right: 0px;
width: 24px;
height: 24px;
-   float: clear;
+   float: right;
 }
 
 .anss_edit_img {
@@ -645,7 +645,7 @@ table {
margin-right: 0px;
width: 24px;
height: 24px;
-   float: clear;
+   float: right;
 }
 
 .anss_edit_img:hover {
@@ -662,5 +662,5 @@ table {
margin-right: 0px;
width: 24px;
height: 24px;
-   float: clear;
+   float: right;
 }

-- 




[EGIT] [website/www] master 01/01: www - nws css - add icons

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

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

commit 9bfcfe66ce1b870eb5fb7a9ffa481f52098ac2a8
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:04:45 2016 +0900

www - nws css - add icons
---
 public_html/lib/tpl/e/images/delete.png | Bin 0 -> 472 bytes
 public_html/lib/tpl/e/images/delete_hov.png | Bin 0 -> 368 bytes
 public_html/lib/tpl/e/images/edit.png   | Bin 0 -> 407 bytes
 public_html/lib/tpl/e/images/edit_hov.png   | Bin 0 -> 307 bytes
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/public_html/lib/tpl/e/images/delete.png 
b/public_html/lib/tpl/e/images/delete.png
new file mode 100644
index 000..93bf5c2
Binary files /dev/null and b/public_html/lib/tpl/e/images/delete.png differ
diff --git a/public_html/lib/tpl/e/images/delete_hov.png 
b/public_html/lib/tpl/e/images/delete_hov.png
new file mode 100644
index 000..d644a38
Binary files /dev/null and b/public_html/lib/tpl/e/images/delete_hov.png differ
diff --git a/public_html/lib/tpl/e/images/edit.png 
b/public_html/lib/tpl/e/images/edit.png
new file mode 100644
index 000..8126d2c
Binary files /dev/null and b/public_html/lib/tpl/e/images/edit.png differ
diff --git a/public_html/lib/tpl/e/images/edit_hov.png 
b/public_html/lib/tpl/e/images/edit_hov.png
new file mode 100644
index 000..48bab47
Binary files /dev/null and b/public_html/lib/tpl/e/images/edit_hov.png differ

-- 




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

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

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

commit aa1d905e6b478e85b6aa01c484c44b19977799a7
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:07:43 2016 +0900

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

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 693fc80..967829f 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -601,7 +601,7 @@ table {
border: 0;
border-radius: 4px;
background-color: #202020;
-   background-image: url(/images/delete.png);
+   background-image: url(images/delete.png);
background-repeat: no-repeat;
background-position: center;
padding: 8px;
@@ -618,7 +618,7 @@ table {
border: 0;
border-radius: 4px;
background-color: #606060;
-   background-image: url(/images/delete_hov.png) !important;
+   background-image: url(images/delete_hov.png) !important;
background-repeat: no-repeat;
background-position: center;
padding: 8px;
@@ -635,7 +635,7 @@ table {
border: 0;
border-radius: 4px;
background-color: #202020;
-   background-image: url(/images/edit.png);
+   background-image: url(images/edit.png);
background-repeat: no-repeat;
background-position: center;
padding: 8px;
@@ -652,7 +652,7 @@ table {
border: 0;
border-radius: 4px;
background-color: #606060;
-   background-image:url(/images/edit_hov.png) !important;
+   background-image:url(images/edit_hov.png) !important;
background-repeat: no-repeat;
background-position: center;
padding: 8px;

-- 




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

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

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

commit 12be70d388274e098e40227d75d430955c28a219
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:14:22 2016 +0900

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

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 967829f..9fecb81 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -578,19 +578,19 @@ table {
 }
 
 .news_date {
-   font-size: 50%;
+   font-size: 10px;
font-style: italic;
color: #88;
 }
 
 .news_subtitle {
-   font-size: 80%;
+   font-size: 12px;
font-style: italic;
color: #aa;
 }
 
 .news_preview {
-   font-size: 100%;
+   font-size: 14px;
line-height: 100%;
color: #88;
margin: 0;

-- 




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

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

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

commit f1b6b509d88247a2b2ebde5dd724f8b6fe283944
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:21:16 2016 +0900

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

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 9fecb81..5c5341a 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -601,7 +601,7 @@ table {
border: 0;
border-radius: 4px;
background-color: #202020;
-   background-image: url(images/delete.png);
+   background-image: url("/lib/tpl/e/images/delete.png");
background-repeat: no-repeat;
background-position: center;
padding: 8px;
@@ -611,56 +611,56 @@ table {
margin-right: 0px;
width: 24px;
height: 24px;
-   float: right;
+   float: none;
 }
 
 .anss_del_img:hover {
border: 0;
border-radius: 4px;
background-color: #606060;
-   background-image: url(images/delete_hov.png) !important;
+   background-image: url("/lib/tpl/e/images/delete_hov.png") !important;
background-repeat: no-repeat;
background-position: center;
padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-right: 0px;
+   margin-none: 0px;
width: 24px;
height: 24px;
-   float: right;
+   float: none;
 }
 
 .anss_edit_img {
border: 0;
border-radius: 4px;
background-color: #202020;
-   background-image: url(images/edit.png);
+   background-image: url("/lib/tpl/e/images/edit.png");
background-repeat: no-repeat;
background-position: center;
padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-right: 0px;
+   margin-none: 0px;
width: 24px;
height: 24px;
-   float: right;
+   float: none;
 }
 
 .anss_edit_img:hover {
border: 0;
border-radius: 4px;
background-color: #606060;
-   background-image:url(images/edit_hov.png) !important;
+   background-image:url("/lib/tpl/e/images/edit_hov.png") !important;
background-repeat: no-repeat;
background-position: center;
padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
-   margin-right: 0px;
+   margin-none: 0px;
width: 24px;
height: 24px;
-   float: right;
+   float: none;
 }

-- 




[EGIT] [website/www] master 01/01: www - nws css - scale down icons

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

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

commit daabc5d8d295dca0f4d8e4c72fc184b1a610acfc
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:23:29 2016 +0900

www - nws css - scale down icons
---
 public_html/lib/tpl/e/images/delete.png | Bin 472 -> 341 bytes
 public_html/lib/tpl/e/images/delete_hov.png | Bin 368 -> 267 bytes
 public_html/lib/tpl/e/images/edit.png   | Bin 407 -> 296 bytes
 public_html/lib/tpl/e/images/edit_hov.png   | Bin 307 -> 241 bytes
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/public_html/lib/tpl/e/images/delete.png 
b/public_html/lib/tpl/e/images/delete.png
index 93bf5c2..70dd521 100644
Binary files a/public_html/lib/tpl/e/images/delete.png and 
b/public_html/lib/tpl/e/images/delete.png differ
diff --git a/public_html/lib/tpl/e/images/delete_hov.png 
b/public_html/lib/tpl/e/images/delete_hov.png
index d644a38..ac9cec3 100644
Binary files a/public_html/lib/tpl/e/images/delete_hov.png and 
b/public_html/lib/tpl/e/images/delete_hov.png differ
diff --git a/public_html/lib/tpl/e/images/edit.png 
b/public_html/lib/tpl/e/images/edit.png
index 8126d2c..b591345 100644
Binary files a/public_html/lib/tpl/e/images/edit.png and 
b/public_html/lib/tpl/e/images/edit.png differ
diff --git a/public_html/lib/tpl/e/images/edit_hov.png 
b/public_html/lib/tpl/e/images/edit_hov.png
index 48bab47..6c322fe 100644
Binary files a/public_html/lib/tpl/e/images/edit_hov.png and 
b/public_html/lib/tpl/e/images/edit_hov.png differ

-- 




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

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

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

commit ead0296b468fb17ffed55e81368019d0a89ad4c4
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:24:15 2016 +0900

www - news - remove padding
---
 public_html/lib/tpl/e/css/modifications.css | 4 
 1 file changed, 4 deletions(-)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 5c5341a..5888f5b 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -604,7 +604,6 @@ table {
background-image: url("/lib/tpl/e/images/delete.png");
background-repeat: no-repeat;
background-position: center;
-   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
@@ -621,7 +620,6 @@ table {
background-image: url("/lib/tpl/e/images/delete_hov.png") !important;
background-repeat: no-repeat;
background-position: center;
-   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
@@ -638,7 +636,6 @@ table {
background-image: url("/lib/tpl/e/images/edit.png");
background-repeat: no-repeat;
background-position: center;
-   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
@@ -655,7 +652,6 @@ table {
background-image:url("/lib/tpl/e/images/edit_hov.png") !important;
background-repeat: no-repeat;
background-position: center;
-   padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;

-- 




[EGIT] [website/www] master 01/01: www - news - fix add news form

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

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

commit bd4bfd3bb93d64a89561a32c65f40809b198176a
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:30:34 2016 +0900

www - news - fix add news form
---
 public_html/lib/tpl/e/css/modifications.css | 9 +
 1 file changed, 9 insertions(+)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 5888f5b..7c971fc 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -660,3 +660,12 @@ table {
height: 24px;
float: none;
 }
+
+.news_form_div {
+   border: 0px
+   background: transparent;
+   width: 100%;
+   padding: 0px;
+   border-radius: 0px;
+   box-shadow: none;
+}

-- 




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

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

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

commit a4ee93daf2850527b73c477a8441e66e248adeb2
Author: Carsten Haitzler (Rasterman) 
Date:   Mon Feb 15 17:44:15 2016 +0900

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

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index e3162be..15c9668 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -579,7 +579,7 @@ table {
 
 .news_date {
font-size: 10px !important;
-   font-style: italic;
+   font-style: ;
color: #808080;
 }
 
@@ -591,7 +591,8 @@ table {
 
 .news_preview {
font-size: 14px !important;
-   line-height: 100%;
+   font-style: normal;
+   line-height: 100% !important;
color: #88;
margin: 0;
padding: 0;

-- 




[EGIT] [website/www-content] master 01/01: Wiki page newsdata changed with summary [[ News has moved to WWW Wiki] ] by Raster

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

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

commit cffece5853f8c8f85acf9044e94b58d0e9eca66b
Author: Raster 
Date:   Mon Feb 15 00:56:18 2016 -0800

Wiki page newsdata changed with summary [[ News has moved to WWW Wiki] ] 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 ba3eba1..4d3a0c5 100644
--- a/pages/news/newsdata.txt
+++ b/pages/news/newsdata.txt
@@ -9,7 +9,7 @@
   * 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]] ]
+[ [[https://phab.enlightenment.org/phame/blog/view/3/|Old News]] ][ 
[[https://phab.enlightenment.org/phame/blog/view/1/|Old Blogs]] ]
 
 
   * author: raster

-- 




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

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

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

commit d4ed2941063909b30149960eba3840a4965a4a21
Author: Raster 
Date:   Mon Feb 15 01:16:07 2016 -0800

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

diff --git a/pages/news.txt b/pages/news.txt
index aa9b322..59f0472 100644
--- a/pages/news.txt
+++ b/pages/news.txt
@@ -1,4 +1,7 @@
 ~~Title: News~~
+
+{{page>start-shortcuts}}
+
  News 
 ~~NOCACHE~~
 {{page>news-add}}

-- 




[EGIT] [tools/eflete] master 04/05: configure: disable print info about enventor

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

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

commit dfecc8da2522a08d3386ea7177e875b275fdd324
Author: Vyacheslav Reutskiy 
Date:   Mon Feb 15 09:42:34 2016 +0200

configure: disable print info about enventor

Unfortunately but in this version Eflete not supported Enventor
module. Will be enabled in the next versions.

Change-Id: I8ffb64b47958525bf734e8222142c41e80eb6349
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5a9fc54..53c5878 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,9 +240,9 @@ echo "   ${os_remark}"
 echo "  efl: ${have_efl}"
 echo "  elementary.: ${have_elm}"
 echo ""
-echo "Features:"
-echo "  enventor...: ${summery_enventor}"
-echo ""
+dnl echo "Features:"
+dnl echo "  enventor...: ${summery_enventor}"
+dnl echo ""
 echo "edje-cc path.: ${edje_cc}"
 echo ""
 echo "Testing:"

-- 




[EGIT] [tools/eflete] master 03/05: update NEWS and README for release 0.6.0

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

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

commit 69e0503e5bef5ae8a7480209263513c3fb3acaf0
Author: Vyacheslav Reutskiy 
Date:   Mon Feb 15 09:39:13 2016 +0200

update NEWS and README for release 0.6.0

Change-Id: I5b1584cfa4292d8d928829a788c621cdfb43110a
---
 NEWS   | 61 -
 NOTES  | 27 ---
 README |  8 +++-
 3 files changed, 63 insertions(+), 33 deletions(-)

diff --git a/NEWS b/NEWS
index 4ae0d0f..36e5545 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,65 @@
 
-Eflete 0.5.0
+Eflete 0.6.0
 
+Changes since 0.5.0
+---
+Features:
+* new project navigator: use tree to navigate within groups
+* tabs: move the managers to tabs
+* tabs: edit several groups at one time
+* history: support all group arrtibutes
+* group navigator: merge the parts, states and programs lists
+* demo: additional options for swallowed object
+* navigator: posible to add new group, copy or make alias of existing one
+* Eflete: add option for import edj file from command line
+* Property: make possible to rename layouts and styles
+
+Fixes:
+* navigator: fix group deletion
+* image_manager: disable del button after deletion
+* property_group: fix doubling rename change
+* tabs: avoid double tab clicking
+* live_gengrid: fix SIGSEV on item text load
+* shortcuts: delete extra assert
+* image_editor: disable del button when no image is selected
+* popup: disallow empty group addition when popup just showed
+* property_group: better logic with filter
+* property: select program back if it was selected after tab change
+* property_sound: fix the close Eflete after a sound play end
+* property_macros: set None for targets and afters when NULL is selected
+* tabs: clear property so when loaded again it won't show last property
+* property_group: unset Program Property after program deletion
+* project_manager: fix import edc, set correct edje_cc params
+* Config: fix set projects dir path.
+* Main window: hide History block controls.
+* Property: unset and hide any previous content.
+* workspace: fix segfault after closing tab
+* project_navigator: set the corrent string to entry
+* project_navigator: fix group add
+* popup: get the selected path from fs on 'done'
+* property: fix bug with property over history
+* Popup: do not delete list of selected files returned by fileselector while 
multi
+* style_editor: fix abort while 'open,close,open' routine
+* sound_editor: fix abort after sound editor close
+* Shortcuts: Hot key now work after export project as edc
+* Styles: fix the single line entry size calculation
+* History: fix the wrong property update on undo
+* History: disacart changes only if it exist
+* Styles: do not change the bg state if button disabled
+* Wizards: disable button 'Apply' if project name is invalid
+* History: fix part restack
+* Widget List: Nesting level does not match indentation
+* Part dialog: free validator before close the dialog
+* Connect: don't try unselect the deleted part
+* Property: set the correct name for image fill start and end points.
+* Groupedit: discard set text to part two times
+* Groupedit: discard the double object calculation
+* Colorsel: fix colorsel in property that changes it's size while moving window
+* History: update live view on all other redo/undo changes
+* Connector: rename part gets more and more laggy with every change
+* Live View Property: change parent for Check
+* Property: multiplier min value should be 0
+* Property: don't unset the color_class on part color set
 
 Changes since 0.5.0-beta
 -
diff --git a/NOTES b/NOTES
deleted file mode 100644
index 88a4245..000
--- a/NOTES
+++ /dev/null
@@ -1,27 +0,0 @@
-Elementary:
-[ ] panes: add setter for minimal size of content;
-[ ] gengrid: add opportunity to set item (cell) diferent size;
-[ ] functionality: circle (ring) focus for widgets,
- opportunity to set list of widget who can be focused;
-[ ] hoversel: scrollable list of item, new style;
-[ ] Elm_Object_Item - add to api a item index getter;
-
-Edje:
-[*] aliases: when group has some aliases it won't save any changes user is 
doing on it with eflete application;
-[*] aliases: we need API into edje_edit for detecting aliases;
-[*] aliases: if we cant detect alias then we cant delete group;
-[*] edje_edit_save: fix generating text description for parts;
-[*] edje_edit_state_aspect_pref_get - now returned value type is unsigned 
char, it not useful
-Edje consist the struct Edje_Internal_Aspect need to share it structure to 
public api;
-[*] edje_edit_state_color_class_set - Not work. it func only set new string, 
but not update
-color fields :-(;
-[*] missing getter and setter for fixed;
-[*] missing getter and setter for text_souce;
-[*] missing getter and setter for style for 

[EGIT] [tools/eflete] master 05/05: bump verion for 0.6.0 release

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

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

commit 96084930ed9ed5810c5e4d902feba278701104d4
Author: Vyacheslav Reutskiy 
Date:   Mon Feb 15 09:54:07 2016 +0200

bump verion for 0.6.0 release

Change-Id: If45c28939c349629c4466bfa0c786ae584951c0e
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 53c5878..71fb4b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-EFLETE_VERSION([0], [6], [0], [beta2])
+EFLETE_VERSION([0], [6], [0], [release])
 AC_INIT([eflete], [eflete_version], 
[enlightenment-de...@lists.sourceforge.net],
 [eflete])
 AC_PREREQ([2.60])

-- 




[EGIT] [tools/eflete] annotated tag v0.6.0 created (now 388611d)

2016-02-15 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

rimmed pushed a change to annotated tag v0.6.0
in repository tools/eflete.

at  388611d   (tag)
   tagging  96084930ed9ed5810c5e4d902feba278701104d4 (commit)
  replaces  v0.6.0-beta2
 tagged by  Vyacheslav Reutskiy
on  Mon Feb 15 11:42:43 2016 +0200

- Log -
Version v0.6.0

Andrii Kroitor (55):
  Revert "diff: do not abort on undo merged diffs (text name undo)"
  editor: fix abort on redoing part rename
  editor: use correct type for program rename
  property: fix SEGFAULT after part rename from history
  editor_part: fix wrong undo value stored
  demo: add missing initialization of variable
  project_manager: correct declaration of function with no parameters
  fix clang warning: equality comparison with extraneous parentheses
  config: remove wrong check
  editor: fix targets clean logic on program action set
  container: remove unused calculation
  demo/live_segment_control: remove unused function call
  tabs: fix unsafe list usage
  groupedit_calc: remove unnecessaty evas_object_table_col_row_size_get 
calls
  live_popup: fix possible out of bounds
  group_navigator: fix clang "Dead assignment" warning
  property: disable entries for group and program names
  hitory: fix genlist item style
  group_navigator: move part type selection from menu to combobox
  theme: expand "elm/genlist/tree/item/default" style
  group_navigator: use states for parts instead of separate item classes
  group_navigator: fix bug with double clicking on state
  group_manager: fix state reset after save
  managers: reset property on opening project
  group_navigator: remove elm_check animation on genlist_item_realize
  shortcuts: implement hisoty undo/redo
  history_ui: fix wrong item states when change is made while history is 
open
  history_ui: optimize genlist callbacks
  editor: add missing saves
  group_navigator: use separate style for items caption
  group_navigator: update parts/programs caption
  group_navigator: update gelist part style
  group_navigator: update states and items styles
  group_navigator: update program style
  project_manager: disable aggresive resource checks
  genlist: fix disabled state
  property_group: fix doubling rename change
  image_manager: disable del button after deletion
  image_manager: fix adding of deleted image
  navigator: fix group deletion
  project_navigator: fix group name regex
  history_ui: fix reverted change color
  history_ui: implement Discard
  history_ui: implement Clean
  property_group: fix text size units label
  editor: apply Eflete default values to new parts and states
  editor: change default text size to 12
  editor: reset relative values if rel_to is set to None
  group_navigator: return focus to entry after part type is changed
  group_navigator: passing data to part_ok callback simplified
  group_navigator: add activated callback to new part/state/item/program 
dialogs
  demo: fix default color for swallow parts
  demo: fix image update
  sound_manager: fix validation
  ewe: fix make dist

Viacheslav Reutskyi (14):
  style_manager: No sence to point action in the names
  style_manager: disable menu item 'Tag' if any style not selected
  demo_group: update the caption style for part lst in the demo mode
  demo_group: caption item expanded by default
  entry.edc: align to top the text in the multiliner entry
  toolbar.edc: fix the separator color
  segment_control.edc: make size smaller, text size to 12
  workspace: turnoff the mouse wheel event while zoom is out
  layouts.edc: make the plus/minus buttons smaller
  tabs.edc: set correct padding for content
  sound_manager: unable to add the folder as sample sound
  popup: show the 'Cancel' button
  property_style: attributes name should be in lower case
  property_sound: delete colon after attributes name

Vitalii Vorobiov (84):
  genlist: Doubleclick on layout does not work correct
  UTC: include to make colorclasses compilable
  UTC: make change compilable (add include for Diff)
  UTC: include group_manager to make history compilable
  UTC: some minor structure and function renames in History Tests
  UTC: update sound editor tests
  UTC: make test_logger compilable
  UTC: no more notify
  UTC: even while workspace tests doesn't work right now, make it buildable
  UTC: live view prop and live view is no more exist
  property_group: fix SIGSEV on filters
  property_macros: only programs to select in afters
  image_editor: disable del button when no image is selected
  image_editor: unselect image property after del button is clicked
  

[EGIT] [tools/eflete] master 02/05: ewe: fix make dist

2016-02-15 Thread Andrii Kroitor
rimmed pushed a commit to branch master.

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

commit 2ae39c6b465e37b9ac560b683eaf10e035fd6462
Author: Andrii Kroitor 
Date:   Mon Feb 15 10:55:15 2016 +0200

ewe: fix make dist
---
 src/lib/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 1351093..5d11000 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -60,4 +60,4 @@ ewe_combobox.eo.h \
 ewe_ruler.eo.c \
 ewe_ruler.eo.h
 
-EXTRA_DIST = $(BUILT_SOURCES)
+EXTRA_DIST = ewe_combobox.eo ewe_ruler.eo

-- 




[EGIT] [core/efl] master 01/01: Evas text: set NULL free'd pointers in evas_object_text_free()

2016-02-15 Thread Youngbok Shin
tasn pushed a commit to branch master.

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

commit b85ae776335e2e4d8c232c263eba94ecbc309ec5
Author: Youngbok Shin 
Date:   Mon Feb 15 10:41:37 2016 +

Evas text: set NULL free'd pointers in evas_object_text_free()

Summary:
_render_pre() function could be called for an object which is
going to be deleted. According to state changes of the object,
text could be recalculated with free'd pointers. It caused an
invalid read and crash.
@fix

Test Plan:
1. Apply D1747.
2. Run elementary_test.
3. Put any character in elm_entry and change paragraph direction.
4. Put any character again.
5. It can cause a crash which is caused by invalid read in Evas Text.

Reviewers: herdsman, woohyun, tasn, raster

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3445
---
 src/lib/evas/canvas/evas_object_text.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 3ccac40..91fcfa1 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1631,8 +1631,16 @@ evas_object_text_free(Evas_Object *eo_obj, 
Evas_Object_Protected_Data *obj)
if (o->font && obj->layer && obj->layer->evas)
   evas_font_free(obj->layer->evas->evas, o->font);
o->font = NULL;
+   o->cur.utf8_text = NULL;
+   o->cur.font = NULL;
+   o->cur.fdesc = NULL;
+   o->cur.source = NULL;
+   o->bidi_delimiters = NULL;
+   o->cur.text = NULL;
+   o->prev = o->cur;
 #ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(o->bidi_par_props);
+   o->bidi_par_props = NULL;
 #endif
 }
 

-- 




[EGIT] [core/efl] master 01/01: ecore-drm: Make ecore_drm_output_rotation_set fail properly

2016-02-15 Thread Duna Oh
devilhorns pushed a commit to branch master.

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

commit 5ae5aade0aa291392bfe5f4e57a4cdc99f8fa605
Author: Duna Oh 
Date:   Mon Feb 15 08:44:55 2016 -0500

ecore-drm: Make ecore_drm_output_rotation_set fail properly

When trying to set a rotation on a given output, we would previously
always be returning EINA_TRUE. We should be returning EINA_FALSE when
the rotation_set fails.

@fix

Summary: ecore_drm_output_rotation_set should be returning EINA_FALSE when 
the output doesn't have a plane of requested type.

Test Plan:
1. call ecore_drm_output_rotation_set() with ECORE_DRM_PLANE_TYPE_CURSOR
2. If output doesn't have a plane of ECORE_DRM_PLANE_TYPE_CURSOR, the for 
statement does nothing. But return value is TRUE;

Reviewers: raster, stefan_schmidt, gwanglim, devilhorns, zmike

Subscribers: input.hacker, cedric, JHyun, ManMower, jpeg

Differential Revision: https://phab.enlightenment.org/D3678
---
 src/lib/ecore_drm/ecore_drm_output.c | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 1ac8f9a..9322ab9 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -1510,6 +1510,7 @@ ecore_drm_output_rotation_set(Ecore_Drm_Output *output, 
Ecore_Drm_Plane_Type typ
 {
Ecore_Drm_Plane *plane;
Eina_List *l;
+   Eina_Bool ret = EINA_FALSE;
 
EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
 
@@ -1522,13 +1523,18 @@ ecore_drm_output_rotation_set(Ecore_Drm_Output *output, 
Ecore_Drm_Plane_Type typ
  return EINA_FALSE;
   }
 
-drmModeObjectSetProperty(output->dev->drm.fd,
- output->primary_plane_id,
- DRM_MODE_OBJECT_PLANE,
- output->rotation_prop_id,
- plane->rotation_map[ffs(rotation)]);
+if (drmModeObjectSetProperty(output->dev->drm.fd,
+ output->primary_plane_id,
+ DRM_MODE_OBJECT_PLANE,
+ output->rotation_prop_id,
+ plane->rotation_map[ffs(rotation)]) < 0)
+  {
+ WRN("Failed to set Rotation");
+ return EINA_FALSE;
+  }
+ret = EINA_TRUE;
 break;
  }
 
-   return EINA_TRUE;
+   return ret;
 }

-- 




[EGIT] [tools/edi] master 03/04: [editor] double click and triple do selections

2016-02-15 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=55ecf31ccda3b1e7a9805fb66a9d4a8ff1539124

commit 55ecf31ccda3b1e7a9805fb66a9d4a8ff1539124
Author: Andy Williams 
Date:   Mon Feb 15 22:54:12 2016 +

[editor] double click and triple do selections

double for a word (space or tab delimited for now)
triple selects whole line.
---
 NEWS   |  1 +
 elm_code/src/lib/widget/elm_code_widget.c  | 15 -
 .../src/lib/widget/elm_code_widget_selection.c | 65 +
 .../src/lib/widget/elm_code_widget_selection.h |  4 ++
 .../tests/widget/elm_code_test_widget_selection.c  | 66 ++
 5 files changed, 149 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index ad8171d..935a2de 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Features:
   * Option to inserts spaces instead of tabs
   * Update to EFL 1.17 release for better toolbar handling
   * Add file filtering for hunting down files in the list
+  * Double click to select word, triple click to select line
 
 Bug fixes:
 
diff --git a/elm_code/src/lib/widget/elm_code_widget.c 
b/elm_code/src/lib/widget/elm_code_widget.c
index a6cde05..a5ef0de 100644
--- a/elm_code/src/lib/widget/elm_code_widget.c
+++ b/elm_code/src/lib/widget/elm_code_widget.c
@@ -678,7 +678,7 @@ _elm_code_widget_clicked_readonly_cb(Elm_Code_Widget 
*widget, unsigned int row)
 
 static void
 _elm_code_widget_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
-void *event_info)
+   void *event_info)
 {
Elm_Code_Widget *widget;
Elm_Code_Widget_Data *pd;
@@ -689,12 +689,23 @@ _elm_code_widget_mouse_down_cb(void *data, Evas *e 
EINA_UNUSED, Evas_Object *obj
widget = (Elm_Code_Widget *)data;
pd = eo_data_scope_get(widget, ELM_CODE_WIDGET_CLASS);
event = (Evas_Event_Mouse_Down *)event_info;
+   _elm_code_widget_position_at_coordinates_get(widget, pd, event->canvas.x, 
event->canvas.y, , );
 
elm_code_widget_selection_clear(widget);
+   if (event->flags & EVAS_BUTTON_TRIPLE_CLICK)
+ {
+elm_code_widget_selection_select_line(widget, row);
+return;
+ }
+   else if (event->flags & EVAS_BUTTON_DOUBLE_CLICK)
+ {
+elm_code_widget_selection_select_word(widget, row, col);
+return;
+ }
+
if (!pd->editable)
  return;
 
-   _elm_code_widget_position_at_coordinates_get(widget, pd, event->canvas.x, 
event->canvas.y, , );
if (col > 0 && row <= elm_code_file_lines_get(pd->code->file))
  elm_code_widget_selection_start(widget, row, col);
 }
diff --git a/elm_code/src/lib/widget/elm_code_widget_selection.c 
b/elm_code/src/lib/widget/elm_code_widget_selection.c
index dd3ee74..ae2d122 100644
--- a/elm_code/src/lib/widget/elm_code_widget_selection.c
+++ b/elm_code/src/lib/widget/elm_code_widget_selection.c
@@ -226,6 +226,71 @@ elm_code_widget_selection_delete(Evas_Object *widget)
eo_do(widget, 
eo_event_callback_call(ELM_CODE_WIDGET_EVENT_SELECTION_CLEARED, widget));
 }
 
+EAPI void
+elm_code_widget_selection_select_line(Evas_Object *widget, unsigned int line)
+{
+   Elm_Code_Widget_Data *pd;
+   Elm_Code_Line *lineobj;
+
+   pd = eo_data_scope_get(widget, ELM_CODE_WIDGET_CLASS);
+   lineobj = elm_code_file_line_get(pd->code->file, line);
+
+   if (!lineobj)
+ return;
+
+   elm_code_widget_selection_start(widget, line, 1);
+   elm_code_widget_selection_end(widget, line, lineobj->length);
+}
+
+static Eina_Bool
+_elm_code_widget_selection_char_breaks(char chr)
+{
+   if (chr == 0)
+ return EINA_TRUE;
+   else if (chr == ' ')
+ return EINA_TRUE;
+   else if (chr == '\t')
+ return EINA_TRUE;
+
+   return EINA_FALSE;
+}
+
+EAPI void
+elm_code_widget_selection_select_word(Evas_Object *widget, unsigned int line, 
unsigned int col)
+{
+   Elm_Code_Widget_Data *pd;
+   Elm_Code_Line *lineobj;
+   unsigned int colpos, length, pos;
+   const char *content;
+
+   pd = eo_data_scope_get(widget, ELM_CODE_WIDGET_CLASS);
+   lineobj = elm_code_file_line_get(pd->code->file, line);
+   content = elm_code_line_text_get(lineobj, );
+
+   _elm_code_widget_selection_limit(widget, pd, , );
+   colpos = elm_code_widget_line_text_position_for_column_get(widget, lineobj, 
col);
+
+   pos = colpos;
+   while (pos > 0)
+ {
+if (_elm_code_widget_selection_char_breaks(content[pos - 1]))
+  break;
+pos--;
+ }
+   elm_code_widget_selection_start(widget, line,
+   
elm_code_widget_line_text_column_width_to_position(widget, lineobj, pos));
+
+   pos = colpos;
+   while (pos < length - 1)
+ {
+if (_elm_code_widget_selection_char_breaks(content[pos + 1]))
+  break;
+pos++;
+ }
+   elm_code_widget_selection_end(widget, line,
+ 

[EGIT] [tools/edi] master 01/04: Elm_Interface_Atspi_Text changed to Elm.Interface_Atspi_Text.

2016-02-15 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=47651ec2cc142a43b6bb390023ccb803ffb90b78

commit 47651ec2cc142a43b6bb390023ccb803ffb90b78
Author: Andy Williams 
Date:   Mon Feb 15 17:20:41 2016 +

Elm_Interface_Atspi_Text changed to Elm.Interface_Atspi_Text.

@author conr2d
---
 configure.ac   | 2 +-
 elm_code/src/lib/widget/elm_code_widget.eo | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 07a0680..e3ad0db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ PKG_CHECK_MODULES([EFL],
  ecore >= 1.17.0
  edje >= 1.17.0
  eo >= 1.17.0
- elementary >= 1.17.0
+ elementary >= 1.17.99
  eio >= 1.17.0
 ])
 
diff --git a/elm_code/src/lib/widget/elm_code_widget.eo 
b/elm_code/src/lib/widget/elm_code_widget.eo
index 0e11331..b8ab71d 100644
--- a/elm_code/src/lib/widget/elm_code_widget.eo
+++ b/elm_code/src/lib/widget/elm_code_widget.eo
@@ -1,4 +1,4 @@
-class Elm.Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
+class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
 {
eo_prefix: elm_obj_code_widget;
legacy_prefix: elm_code_widget;

-- 




[EGIT] [tools/edi] master 02/04: fix some autogen warnings

2016-02-15 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=16728b2500cc8c517922c3631f1196349cdfe7a8

commit 16728b2500cc8c517922c3631f1196349cdfe7a8
Author: Andy Williams 
Date:   Mon Feb 15 22:53:14 2016 +

fix some autogen warnings
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e3ad0db..1fd2e05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_HEADERS([config.h])
 
-AM_INIT_AUTOMAKE([1.10 dist-bzip2 -Wall color-tests])
+AM_INIT_AUTOMAKE([1.10 dist-bzip2 -Wall color-tests subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 

-- 




[EGIT] [tools/edi] master 01/02: [tabs] add a close all feature

2016-02-15 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

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

commit a744f48420f44002d4c4565a75bc27986693fd47
Author: Andy Williams 
Date:   Tue Feb 16 00:15:52 2016 +

[tabs] add a close all feature

For the times when you just have too many tabs open!
---
 src/bin/edi_main.c  |  8 
 src/bin/mainview/edi_mainview.c | 32 ++--
 src/bin/mainview/edi_mainview.h |  7 +++
 3 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c
index d95f0ab..9358574 100644
--- a/src/bin/edi_main.c
+++ b/src/bin/edi_main.c
@@ -705,6 +705,13 @@ _edi_menu_close_cb(void *data EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
 }
 
 static void
+_edi_menu_closeall_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+   void *event_info EINA_UNUSED)
+{
+   edi_mainview_closeall();
+}
+
+static void
 _edi_menu_settings_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   void *event_info EINA_UNUSED)
 {
@@ -815,6 +822,7 @@ _edi_menu_setup(Evas_Object *win)
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, "stock_close", "Close", 
_edi_menu_close_cb, NULL);
+   elm_menu_item_add(menu, menu_it, "stock_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);
diff --git a/src/bin/mainview/edi_mainview.c b/src/bin/mainview/edi_mainview.c
index ccd9f07..923e8e0 100644
--- a/src/bin/mainview/edi_mainview.c
+++ b/src/bin/mainview/edi_mainview.c
@@ -479,17 +479,15 @@ edi_mainview_new_window()
edi_mainview_open_window_path(item->path);
 }
 
-void
-edi_mainview_close()
+static void
+_edi_mainview_close_item(Edi_Mainview_Item *item)
 {
-   Edi_Mainview_Item *item;
-
-   item = edi_mainview_item_current_get();
if (!item)
  return;
 
+   elm_naviframe_item_promote(item->view);
elm_naviframe_item_pop(nf);
-   elm_object_item_del(elm_toolbar_selected_item_get(tb));
+   elm_object_item_del(item->tab);
_edi_mainview_items = eina_list_remove(_edi_mainview_items, item);
 
_edi_project_config_tab_remove(item->path);
@@ -498,6 +496,28 @@ edi_mainview_close()
 }
 
 void
+edi_mainview_close()
+{
+   Edi_Mainview_Item *item;
+
+   item = edi_mainview_item_current_get();
+
+   _edi_mainview_close_item(item);
+}
+
+void
+edi_mainview_closeall()
+{
+   Eina_List *list, *next;
+   Edi_Mainview_Item *item;
+
+   EINA_LIST_FOREACH_SAFE(_edi_mainview_items, list, next, item)
+ {
+_edi_mainview_close_item(item);
+ }
+}
+
+void
 edi_mainview_cut()
 {
Evas_Object *content;
diff --git a/src/bin/mainview/edi_mainview.h b/src/bin/mainview/edi_mainview.h
index b8c26a1..cd815b1 100644
--- a/src/bin/mainview/edi_mainview.h
+++ b/src/bin/mainview/edi_mainview.h
@@ -111,6 +111,13 @@ void edi_mainview_new_window();
 void edi_mainview_close();
 
 /**
+ * Close all open files.
+ *
+ * @ingroup Content
+ */
+void edi_mainview_closeall();
+
+/**
  * Cut the current selection into the clipboard.
  *
  * @ingroup Content

-- 




[EGIT] [tools/edi] master 02/02: optimise edge case checking

2016-02-15 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=687af9c86fd10bf0fd98b66c3f8ba87673ec4558

commit 687af9c86fd10bf0fd98b66c3f8ba87673ec4558
Author: Andy Williams 
Date:   Tue Feb 16 00:16:34 2016 +

optimise edge case checking
---
 src/bin/mainview/edi_mainview.c | 26 --
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/src/bin/mainview/edi_mainview.c b/src/bin/mainview/edi_mainview.c
index 923e8e0..4fb2e26 100644
--- a/src/bin/mainview/edi_mainview.c
+++ b/src/bin/mainview/edi_mainview.c
@@ -57,13 +57,16 @@ edi_mainview_item_prev()
current = elm_naviframe_top_item_get(nf);
first = (Edi_Mainview_Item *)eina_list_nth(_edi_mainview_items, 0);
 
+   if (first->view == current)
+ {
+prev = eina_list_nth(_edi_mainview_items, 
eina_list_count(_edi_mainview_items)-1);
+edi_mainview_item_select(prev);
+return;
+ }
+
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
  {
-if (first->view == current)
-  {
- prev = eina_list_nth(_edi_mainview_items, 
eina_list_count(_edi_mainview_items)-1);
- edi_mainview_item_select(prev);
-  }
+
 if (it && it->view == current)
   {
  if (prev)
@@ -86,13 +89,16 @@ edi_mainview_item_next()
current = elm_naviframe_top_item_get(nf);
last = eina_list_nth(_edi_mainview_items, 
eina_list_count(_edi_mainview_items)-1);
 
+   if (last->view == current)
+ {
+next = eina_list_nth(_edi_mainview_items, 0);
+edi_mainview_item_select(next);
+return;
+ }
+
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
  {
-if (last->view == current)
-  {
- next = eina_list_nth(_edi_mainview_items, 0);
- edi_mainview_item_select(next);
-  }
+
 if (it && open_next)
   {
  edi_mainview_item_select(it);

-- 




[EGIT] [core/elementary] master 01/01: gengrid: add all contents unset API for content unset and reusing

2016-02-15 Thread SangHyeon Lee
sanghyeonlee pushed a commit to branch master.

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

commit ee70e7fcbccbd93ac70892af1eb425c56f510e1a
Author: SangHyeon Lee 
Date:   Tue Feb 16 15:28:45 2016 +0900

gengrid: add all contents unset API for content unset and reusing

Add elm_gengrid_item_all_contents_unset API for support content reuse
and unset. User can get back content objects in unrealized smart callback 
in item.
see elm_genlist_item_all_contents_unset also.

@feature
---
 src/lib/elm_gengrid.c   | 18 ++
 src/lib/elm_gengrid_item.eo | 12 
 2 files changed, 30 insertions(+)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 729f9cd..3d93480 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -984,6 +984,24 @@ _view_clear(Evas_Object *view, Eina_List **texts, 
Eina_List **contents)
  evas_object_del(c);
 }
 
+EOLIAN static void
+_elm_gengrid_item_all_contents_unset(Eo *eo_item EINA_UNUSED, Elm_Gen_Item 
*it, Eina_List **l)
+{
+   Evas_Object *content;
+
+   ELM_GENGRID_ITEM_CHECK_OR_RETURN(it);
+
+   EINA_LIST_FREE (it->contents, content)
+ {
+evas_object_smart_member_del(content);
+// edje can be reused by item caching,
+// content should be un-swallowed from edje
+edje_object_part_unswallow(VIEW(it), content);
+evas_object_hide(content);
+if (l) *l = eina_list_append(*l, content);
+ }
+}
+
 static void
 _elm_gengrid_item_unrealize(Elm_Gen_Item *it,
 Eina_Bool calc)
diff --git a/src/lib/elm_gengrid_item.eo b/src/lib/elm_gengrid_item.eo
index efc8c4c..8bfc4e1 100644
--- a/src/lib/elm_gengrid_item.eo
+++ b/src/lib/elm_gengrid_item.eo
@@ -191,6 +191,18 @@ class Elm.Gengrid_Item(Elm.Widget_Item)
  @in itc: const (Elm.Gengrid.Item.Class) *; [[The gengrid 
item class describing the function pointers and the item style.]]
 }
}
+   all_contents_unset{
+
+ [[Unset all contents fetched by the item class
+
+ This instructs gengrid to release references to contents in 
the item,
+ meaning that they will no longer be managed by gengrid and are
+ floating "orphans" that can be re-used elsewhere if the user 
wants
+ to.]]
+params {
+ @out l: own(list *); [[The contents 
list to return.]]
+}
+   }
   }
   implements {
Eo.Base.constructor;

--