[EGIT] [website/www-content] master 01/01: Wiki page ubuntu-start changed with summary [] by Philippe Jean Guillaumie
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=612a3ce0dfb3a43e56f4956e5ab2989e5458c92f commit 612a3ce0dfb3a43e56f4956e5ab2989e5458c92f Author: Philippe Jean Guillaumie Date: Fri Dec 8 11:23:41 2017 -0800 Wiki page ubuntu-start changed with summary [] by Philippe Jean Guillaumie --- pages/docs/distros/ubuntu-start.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/docs/distros/ubuntu-start.txt b/pages/docs/distros/ubuntu-start.txt index 227817257..5a6fcd79b 100644 --- a/pages/docs/distros/ubuntu-start.txt +++ b/pages/docs/distros/ubuntu-start.txt @@ -40,9 +40,9 @@ export PATH=$HOME/.local/bin:$PATH at the bottom of your ~/.bashrc file. -Alternatively, if you do not want to delve into the many subtleties of the compilation process — while retaining a fully functional Ubuntu system after the build has finished — check out [[http://build-enlightenment.monsite-orange.fr/|batden's script]] (covering Ubuntu 16.04 LTS and 17.10). +Alternatively, if you do not want to delve into the many subtleties of the compilation process — while retaining a fully functional Ubuntu system after the build has finished — check out [[http://build-enlightenment.monsite-orange.fr/|batden's script]]: Covering Ubuntu 16.04 LTS and 17.10 with Wayland support. - Packages + Binary Packages The available packages in the official Ubuntu repositories are outdated. The [[https://help.ubuntu.com/community/PPA|PPA]] below provides the latest //stable version// of E22. --
[EGIT] [core/efl] master 01/02: docs: Complete removal of object type from API URLs
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=42368d16e8b373a523d8d9301158c7512f2656e6 commit 42368d16e8b373a523d8d9301158c7512f2656e6 Author: Andy Williams Date: Fri Dec 8 18:16:51 2017 + docs: Complete removal of object type from API URLs We still have the subtypes for now, that is less likely to cause user confusion as they are unlikely to browse method names in the address bar. --- src/scripts/elua/apps/docgen/writer.lua | 10 -- src/scripts/elua/apps/gendoc.lua| 8 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/scripts/elua/apps/docgen/writer.lua b/src/scripts/elua/apps/docgen/writer.lua index 648aa54465..9042c8481c 100644 --- a/src/scripts/elua/apps/docgen/writer.lua +++ b/src/scripts/elua/apps/docgen/writer.lua @@ -270,16 +270,14 @@ writers["dokuwiki"] = util.Object:clone { write_link = function(self, target, title) if type(target) == "table" then -if target[#target] == true then -target[#target] = nil -target = ":" .. root_nspace .. ":" - .. table.concat(target, ":") -elseif target[#target] == false then +if target[#target] == false then target[#target] = nil target = ":" .. root_nspace .. "-include:" .. table.concat(target, ":") else -target = table.concat(target, ":") +target[#target] = nil +target = ":" .. root_nspace .. ":" + .. table.concat(target, ":") end end if not title then diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua index f950d5bd81..04c0764475 100644 --- a/src/scripts/elua/apps/gendoc.lua +++ b/src/scripts/elua/apps/gendoc.lua @@ -315,7 +315,7 @@ local build_reftable = function(f, title, ctitle, ctype, t, iscl) nt[#nt + 1] = { writer.Buffer():write_link( iscl and v:nspaces_get(true) - or dtree.Node.nspaces_get(v, ctype, true), + or dtree.Node.nspaces_get(v, true), v:full_name_get() ):finish(), v:doc_get():brief_get() @@ -1026,7 +1026,7 @@ local write_tsigs = function(f, tp, ns) end local build_alias = function(tp) -local ns = dtree.Node.nspaces_get(tp, "alias") +local ns = dtree.Node.nspaces_get(tp) local fulln = tp:full_name_get() local f = writer.Writer(ns, fulln) printgen("Generating alias: " .. fulln) @@ -1044,7 +1044,7 @@ local build_alias = function(tp) end local build_struct = function(tp) -local ns = dtree.Node.nspaces_get(tp, "struct") +local ns = dtree.Node.nspaces_get(tp) local fulln = tp:full_name_get() local f = writer.Writer(ns, fulln) printgen("Generating struct: " .. fulln) @@ -1077,7 +1077,7 @@ local build_struct = function(tp) end local build_enum = function(tp) -local ns = dtree.Node.nspaces_get(tp, "enum") +local ns = dtree.Node.nspaces_get(tp) local fulln = tp:full_name_get() local f = writer.Writer(ns, fulln) printgen("Generating enum: " .. fulln) --
[EGIT] [core/efl] master 02/02: docs: remove resolved FIXMEs
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b8b183bfcb9e0feb7a680a41b70ed09b1c411e57 commit b8b183bfcb9e0feb7a680a41b70ed09b1c411e57 Author: Andy Williams Date: Fri Dec 8 18:23:06 2017 + docs: remove resolved FIXMEs --- src/scripts/elua/apps/docgen/doctree.lua | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua index bbc1e50da7..0a031d2656 100644 --- a/src/scripts/elua/apps/docgen/doctree.lua +++ b/src/scripts/elua/apps/docgen/doctree.lua @@ -294,7 +294,6 @@ M.Class = Node:clone { if ret then return ret end --- FIXME: unit local v = eolian.class_get_by_name(eos:unit_get(), name) if not v then return nil @@ -310,7 +309,6 @@ M.Class = Node:clone { if ret then return ret end --- FIXME: unit local v = eolian.class_get_by_file(eos:unit_get(), name) if not v then return nil @@ -323,7 +321,6 @@ M.Class = Node:clone { all_get = function() local ret, had = get_cache(M.Class, "_cache_all") if not had then --- FIXME: unit for cl in eolian.all_classes_get(eos:unit_get()) do ret[#ret + 1] = M.Class(cl) end @@ -714,7 +711,6 @@ M.Type = Node:clone { end, class_get = function(self) --- FIXME: unit return self.type:class_get(eos:unit_get()) end, @@ -894,7 +890,6 @@ M.Typedecl = Node:clone { end, c_type_get = function(self) --- FIXME: unit return self.typedecl:c_type_get(eos:unit_get()) end, @@ -930,7 +925,6 @@ M.Typedecl = Node:clone { all_aliases_get = function() local ret = {} --- FIXME: unit for tp in eolian.typedecl_all_aliases_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end @@ -939,7 +933,6 @@ M.Typedecl = Node:clone { all_structs_get = function() local ret = {} --- FIXME: unit for tp in eolian.typedecl_all_structs_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end @@ -948,7 +941,6 @@ M.Typedecl = Node:clone { all_enums_get = function() local ret = {} --- FIXME: unit for tp in eolian.typedecl_all_enums_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end @@ -957,7 +949,6 @@ M.Typedecl = Node:clone { aliases_by_file_get = function(fn) local ret = {} --- FIXME: unit for tp in eolian.typedecl_aliases_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end @@ -966,7 +957,6 @@ M.Typedecl = Node:clone { structs_by_file_get = function(fn) local ret = {} --- FIXME: unit for tp in eolian.typedecl_structs_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end @@ -975,7 +965,6 @@ M.Typedecl = Node:clone { enums_by_file_get = function(fn) local ret = {} --- FIXME: unit for tp in eolian.typedecl_enums_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end @@ -983,7 +972,6 @@ M.Typedecl = Node:clone { end, alias_by_name_get = function(tn) --- FIXME: unit local v = eolian.typedecl_alias_get_by_name(eos:unit_get(), tn) if not v then return nil @@ -992,7 +980,6 @@ M.Typedecl = Node:clone { end, struct_by_name_get = function(tn) --- FIXME: unit local v = eolian.typedecl_struct_get_by_name(eos:unit_get(), tn) if not v then return nil @@ -1001,7 +988,6 @@ M.Typedecl = Node:clone { end, enum_by_name_get = function(tn) --- FIXME: unit local v = eolian.typedecl_enum_get_by_name(eos:unit_get(), tn) if not v then return nil @@ -1284,7 +1270,6 @@ M.Variable = Node:clone { all_globals_get = function() local ret = {} --- FIXME: unit for v in eolian.variable_all_globals_get(eos:unit_get()) do ret[#ret + 1] = M.Variable(v) end @@ -1293,7 +1278,6 @@ M.Variable = Node:clone { all_constants_get = function() local ret = {} --- FIXME: unit for v in eolian.variable_all_constants_get(eos:unit_get()) do ret[#ret + 1] = M.Variable(v) end @@ -1302,7 +1286,6 @@ M.Variable = Node:clone { globals_by_file_get = function(fn) local ret = {} --- FIXME: unit for v in eolian.variable_globals_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Variable(v) end @@ -1311,7 +1294,6 @@ M.Variable = Node:clone { constants_by_file_get = function(fn) local ret = {} --- FIX
[EGIT] [core/efl] master 02/05: docs: add missing items for efl_gfx* eo classes
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=44f18909ca93fae75e448ab776a16a077db10b3a commit 44f18909ca93fae75e448ab776a16a077db10b3a Author: Stefan Schmidt Date: Fri Dec 8 17:05:43 2017 +0100 docs: add missing items for efl_gfx* eo classes --- src/lib/efl/interfaces/efl_gfx_color_class.eo | 5 +++-- src/lib/efl/interfaces/efl_gfx_size_class.eo | 1 + src/lib/efl/interfaces/efl_gfx_text_class.eo | 1 + src/lib/efl/interfaces/efl_gfx_types.eot | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/efl/interfaces/efl_gfx_color_class.eo b/src/lib/efl/interfaces/efl_gfx_color_class.eo index 0f9b89badc..23df735233 100644 --- a/src/lib/efl/interfaces/efl_gfx_color_class.eo +++ b/src/lib/efl/interfaces/efl_gfx_color_class.eo @@ -2,6 +2,7 @@ import efl_gfx_types; interface Efl.Gfx.Color_Class { + [[Efl Gfx Color Class interface]] methods { @property color_class { set { @@ -19,7 +20,7 @@ interface Efl.Gfx.Color_Class the given color. Note: These color values are expected to be premultiplied by \@p a.]] -return: bool; +return: bool; [[$true if setting the color succeeded, $false otherwise]] } get { [[Get the color of color class. @@ -32,7 +33,7 @@ interface Efl.Gfx.Color_Class to text parts). Note: These color values are expected to be premultiplied by \@p a.]] -return: bool; +return: bool; [[$true if getting the color succeeded, $false otherwise]] } keys { color_class: string; [[The name of color class]] diff --git a/src/lib/efl/interfaces/efl_gfx_size_class.eo b/src/lib/efl/interfaces/efl_gfx_size_class.eo index 1fa3dad5da..a3e7fc96b2 100644 --- a/src/lib/efl/interfaces/efl_gfx_size_class.eo +++ b/src/lib/efl/interfaces/efl_gfx_size_class.eo @@ -1,5 +1,6 @@ interface Efl.Gfx.Size_Class { + [[Efl Gfx Size Class interface]] methods { @property size_class { set { diff --git a/src/lib/efl/interfaces/efl_gfx_text_class.eo b/src/lib/efl/interfaces/efl_gfx_text_class.eo index 481202403d..bf2c5a1339 100644 --- a/src/lib/efl/interfaces/efl_gfx_text_class.eo +++ b/src/lib/efl/interfaces/efl_gfx_text_class.eo @@ -2,6 +2,7 @@ import efl_gfx_types; interface Efl.Gfx.Text_Class { + [[Efl Gfx Text Class interface]] methods { @property text_class { set { diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot b/src/lib/efl/interfaces/efl_gfx_types.eot index 58ccdfca49..d81f50b700 100644 --- a/src/lib/efl/interfaces/efl_gfx_types.eot +++ b/src/lib/efl/interfaces/efl_gfx_types.eot @@ -198,6 +198,7 @@ enum Efl.Image.Load.Error } enum Efl.Gfx.Color_Class.Layer { + [[Efl Gfx Color Class layer enum]] normal = 0, [[Default color]] outline, [[Outline color]] shadow [[Shadow color]] --
[EGIT] [core/efl] master 01/05: docs: fil in missing items for efl_model eo class
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b4b2711408aa17bccedb56dd14646f4d196a2dd9 commit b4b2711408aa17bccedb56dd14646f4d196a2dd9 Author: Stefan Schmidt Date: Fri Dec 8 17:04:35 2017 +0100 docs: fil in missing items for efl_model eo class --- src/lib/ecore/efl_model_composite_selection.eo | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore/efl_model_composite_selection.eo b/src/lib/ecore/efl_model_composite_selection.eo index cc66ed482c..c122de5d82 100644 --- a/src/lib/ecore/efl_model_composite_selection.eo +++ b/src/lib/ecore/efl_model_composite_selection.eo @@ -3,14 +3,16 @@ class Efl.Model.Composite.Selection (Efl.Model.Composite.Boolean) [[Efl model composite selection class]] methods { select { + [[Select composition]] params { - idx: int; + idx: int; [[Index]] } - return: future; + return: future; [[Future on the selected composition]] } @property exclusive_selection { + [[Exclusive Selection property]] values { - exclusive: bool; + exclusive: bool; [[$true is selection is exclusive, $flase otherwise]] } } } --
[EGIT] [core/efl] master 01/03: docs: Use more meaningful titles for when we only inherit
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=809354652189fa9b54e0ec35d15b67efe95048c2 commit 809354652189fa9b54e0ec35d15b67efe95048c2 Author: Andy Williams Date: Fri Dec 8 16:17:15 2017 + docs: Use more meaningful titles for when we only inherit --- src/scripts/elua/apps/gendoc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua index 7b2a776639..f950d5bd81 100644 --- a/src/scripts/elua/apps/gendoc.lua +++ b/src/scripts/elua/apps/gendoc.lua @@ -1001,10 +1001,10 @@ local build_class = function(cl) find_callables(cl, omeths, ievs, written) build_functable(f, "Members", cl, meths, true) -build_functable(f, "Inherited", cl, omeths, false) +build_functable(f, "Inherited Members", cl, omeths, false) build_evtable(f, "Events", cl, cl:events_get(), true) -build_evtable(f, "Inherited", cl, ievs, false) +build_evtable(f, "Inherited Events", cl, ievs, false) f:finish() end --
[EGIT] [core/efl] master 04/05: docs: add the last docs for efl_io_manager eo class
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=5f288dfde0ba005936c49b2221c8f3f94794002c commit 5f288dfde0ba005936c49b2221c8f3f94794002c Author: Stefan Schmidt Date: Fri Dec 8 17:09:46 2017 +0100 docs: add the last docs for efl_io_manager eo class --- src/lib/eio/efl_io_manager.eo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eio/efl_io_manager.eo b/src/lib/eio/efl_io_manager.eo index 39c89c3077..dfa33b439a 100644 --- a/src/lib/eio/efl_io_manager.eo +++ b/src/lib/eio/efl_io_manager.eo @@ -8,12 +8,14 @@ struct Eio.Data } function EflIoPath { + [[EflIoPath function]] params { @in paths: accessor; [[Accessor to an array of path.]] } }; function EflIoDirectInfo { + [[EflIoDirectInfo function]] params { @in entries: accessor; [[Accessor to an array of info.]] } --
[EGIT] [core/efl] master 03/03: docs: Strip class type from URLs, avoid user confusion
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3cccf56795dad728de328f92e5bfac13d7a37031 commit 3cccf56795dad728de328f92e5bfac13d7a37031 Author: Andy Williams Date: Fri Dec 8 16:19:10 2017 + docs: Strip class type from URLs, avoid user confusion --- src/scripts/elua/apps/docgen/doctree.lua | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua index df1e50e123..bbc1e50da7 100644 --- a/src/scripts/elua/apps/docgen/doctree.lua +++ b/src/scripts/elua/apps/docgen/doctree.lua @@ -29,7 +29,7 @@ M.Node = util.Object:clone { PROTECTED = eolian.object_scope.PROTECTED }, -nspaces_get = function(self, subn, root) +nspaces_get = function(self, root) local tbl = self:namespaces_get() -- temporary workaround if type(tbl) ~= "table" then @@ -38,7 +38,7 @@ M.Node = util.Object:clone { for i = 1, #tbl do tbl[i] = tbl[i]:lower() end -table.insert(tbl, 1, subn) + tbl[#tbl + 1] = self:name_get():lower() if root ~= nil then tbl[#tbl + 1] = not not root @@ -279,7 +279,7 @@ M.Class = Node:clone { end, nspaces_get = function(self, root) -return M.Node.nspaces_get(self, self:type_str_get(), root) +return M.Node.nspaces_get(self, root) end, is_same = function(self, other) @@ -923,7 +923,7 @@ M.Typedecl = Node:clone { end, nspaces_get = function(self, root) -return M.Node.nspaces_get(self, self:type_str_get(), root) +return M.Node.nspaces_get(self, root) end, -- static getters @@ -1215,7 +1215,7 @@ M.Variable = Node:clone { end, nspaces_get = function(self, root) -return M.Node.nspaces_get(self, self:type_str_get(), root) +return M.Node.nspaces_get(self, root) end, serialize = function(self) --
[EGIT] [core/efl] master 02/03: docs: Don't confuse with dokuwiki user namespace
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=da29942989dd67575b0a44642a744c9cebcc0ddb commit da29942989dd67575b0a44642a744c9cebcc0ddb Author: Andy Williams Date: Fri Dec 8 16:18:16 2017 + docs: Don't confuse with dokuwiki user namespace --- src/scripts/elua/apps/docgen/writer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/elua/apps/docgen/writer.lua b/src/scripts/elua/apps/docgen/writer.lua index d195619247..648aa54465 100644 --- a/src/scripts/elua/apps/docgen/writer.lua +++ b/src/scripts/elua/apps/docgen/writer.lua @@ -77,7 +77,7 @@ local write_include = function(self, tp, name, flags) .. table.concat(name, ":") elseif name[#name] == false then name[#name] = nil -name = ":" .. root_nspace .. ":user:" +name = ":" .. root_nspace .. "-include:" .. table.concat(name, ":") else name = table.concat(name, ":") @@ -276,7 +276,7 @@ writers["dokuwiki"] = util.Object:clone { .. table.concat(target, ":") elseif target[#target] == false then target[#target] = nil -target = ":" .. root_nspace .. ":user:" +target = ":" .. root_nspace .. "-include:" .. table.concat(target, ":") else target = table.concat(target, ":") --
[EGIT] [core/efl] master 05/05: docs: even document this external types
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ec18f8a5e05304ffcb6825d57cb43c3cf6b6b30a commit ec18f8a5e05304ffcb6825d57cb43c3cf6b6b30a Author: Stefan Schmidt Date: Fri Dec 8 17:10:06 2017 +0100 docs: even document this external types They might be removed later but right now they have been the last two items blocking 100% doc coverage in the EO files. --- src/lib/elementary/elm_general.eot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_general.eot b/src/lib/elementary/elm_general.eot index 1a0dfadf68..52bf386fda 100644 --- a/src/lib/elementary/elm_general.eot +++ b/src/lib/elementary/elm_general.eot @@ -137,8 +137,8 @@ enum Elm.Icon.Type } /* FIXME: shouldn't exist */ -struct @extern Elm_Gen_Item; -struct @extern Efl_Access_Action_Data; +struct @extern Elm_Gen_Item; [[Elementary gen item]] +struct @extern Efl_Access_Action_Data; [[Efl access action data]] /* Enums from elm_entry.eo, also used by efl_ui_text */ --
[EGIT] [core/efl] master 03/05: docs: add the last missing items for eo files in efl/interfaces
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2cd8c4adb4c8b1ba33d73f628e87fa7ec4794ec2 commit 2cd8c4adb4c8b1ba33d73f628e87fa7ec4794ec2 Author: Stefan Schmidt Date: Fri Dec 8 17:08:56 2017 +0100 docs: add the last missing items for eo files in efl/interfaces --- src/lib/efl/interfaces/efl_canvas_pointer.eo | 1 + src/lib/efl/interfaces/efl_dup.eo| 2 +- src/lib/efl/interfaces/efl_text_markup.eo| 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/efl/interfaces/efl_canvas_pointer.eo b/src/lib/efl/interfaces/efl_canvas_pointer.eo index 57111a7896..bb6596500f 100644 --- a/src/lib/efl/interfaces/efl_canvas_pointer.eo +++ b/src/lib/efl/interfaces/efl_canvas_pointer.eo @@ -2,6 +2,7 @@ import efl_input_device; interface Efl.Canvas.Pointer () { + [[Efl Canvas Pointer interface]] methods { @property pointer_inside { get { diff --git a/src/lib/efl/interfaces/efl_dup.eo b/src/lib/efl/interfaces/efl_dup.eo index 9d40f1f895..56549830d0 100644 --- a/src/lib/efl/interfaces/efl_dup.eo +++ b/src/lib/efl/interfaces/efl_dup.eo @@ -11,7 +11,7 @@ interface Efl.Dup The newly created object will have no event handlers or anything of the sort. ]] - return: Efl.Dup @owned; + return: Efl.Dup @owned; [[Returned carbon copy]] } } } diff --git a/src/lib/efl/interfaces/efl_text_markup.eo b/src/lib/efl/interfaces/efl_text_markup.eo index 99ea34b4ba..5f1782703b 100644 --- a/src/lib/efl/interfaces/efl_text_markup.eo +++ b/src/lib/efl/interfaces/efl_text_markup.eo @@ -5,6 +5,7 @@ interface Efl.Text.Markup(Efl.Text.Cursor) { ]] methods { @property markup { + [[Markup property]] values { markup: string; [[The markup-text representation set to this text.]] } --
[EGIT] [core/efl] master 07/07: docs: fix last missing doc item for elm_code eo class
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6902a684922f04b3b927e255095f72ea1de9217e commit 6902a684922f04b3b927e255095f72ea1de9217e Author: Stefan Schmidt Date: Fri Dec 8 15:49:57 2017 +0100 docs: fix last missing doc item for elm_code eo class --- src/lib/elementary/elm_code_widget.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_widget.eo b/src/lib/elementary/elm_code_widget.eo index 026e7cc815..9dbdc48b07 100644 --- a/src/lib/elementary/elm_code_widget.eo +++ b/src/lib/elementary/elm_code_widget.eo @@ -156,7 +156,7 @@ class Elm.Code_Widget (Efl.Ui.Layout, Efl.Access.Text) get { } values { -alpha: int; +alpha: int; [[Alpha value]] } } @property syntax_enabled { --
[EGIT] [core/efl] master 05/07: docs: fill in last missing bits for efl_ui_popup* eo classes
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7c6ce2a53232cf7d7116efb3e25e29a8608e35e1 commit 7c6ce2a53232cf7d7116efb3e25e29a8608e35e1 Author: Stefan Schmidt Date: Fri Dec 8 15:42:45 2017 +0100 docs: fill in last missing bits for efl_ui_popup* eo classes --- src/lib/elementary/efl_ui_popup_alert_scroll.eo | 1 + src/lib/elementary/efl_ui_popup_alert_text.eo | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/elementary/efl_ui_popup_alert_scroll.eo b/src/lib/elementary/efl_ui_popup_alert_scroll.eo index af13c9b395..af801158df 100644 --- a/src/lib/elementary/efl_ui_popup_alert_scroll.eo +++ b/src/lib/elementary/efl_ui_popup_alert_scroll.eo @@ -1,5 +1,6 @@ class Efl.Ui.Popup_Alert_Scroll(Efl.Ui.Popup_Alert) { + [[EFL UI Popup Alert Scroll class]] implements { Efl.Object.constructor; Efl.Part.part; diff --git a/src/lib/elementary/efl_ui_popup_alert_text.eo b/src/lib/elementary/efl_ui_popup_alert_text.eo index bca77299f5..c4d1a60f29 100644 --- a/src/lib/elementary/efl_ui_popup_alert_text.eo +++ b/src/lib/elementary/efl_ui_popup_alert_text.eo @@ -1,5 +1,6 @@ class Efl.Ui.Popup_Alert_Text(Efl.Ui.Popup_Alert, Efl.Text) { + [[EFL UI Popup Alert Text class]] implements { Efl.Object.constructor; Efl.Text.text { get; set; } --
[EGIT] [core/efl] master 03/07: docs: fill in missing documentation ein efl_gesture* eo classes
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2ed70844568e26adf41a47eecc7d5feb7e7897e8 commit 2ed70844568e26adf41a47eecc7d5feb7e7897e8 Author: Stefan Schmidt Date: Fri Dec 8 15:05:00 2017 +0100 docs: fill in missing documentation ein efl_gesture* eo classes --- src/lib/evas/gesture/efl_gesture.eo | 1 + src/lib/evas/gesture/efl_gesture_long_tap.eo| 1 + src/lib/evas/gesture/efl_gesture_manager.eo | 1 + src/lib/evas/gesture/efl_gesture_recognizer.eo | 1 + src/lib/evas/gesture/efl_gesture_recognizer_long_tap.eo | 1 + src/lib/evas/gesture/efl_gesture_recognizer_tap.eo | 1 + src/lib/evas/gesture/efl_gesture_tap.eo | 1 + src/lib/evas/gesture/efl_gesture_touch.eo | 4 +++- src/lib/evas/gesture/efl_gesture_types.eot | 4 ++-- 9 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/gesture/efl_gesture.eo b/src/lib/evas/gesture/efl_gesture.eo index 18881a7471..5fd6de9913 100644 --- a/src/lib/evas/gesture/efl_gesture.eo +++ b/src/lib/evas/gesture/efl_gesture.eo @@ -2,6 +2,7 @@ import efl_gesture_types; abstract Efl.Gesture(Efl.Object) { + [[EFL Gesture abstract class]] methods { @property type { [[This property holds the type of the gesture.]] diff --git a/src/lib/evas/gesture/efl_gesture_long_tap.eo b/src/lib/evas/gesture/efl_gesture_long_tap.eo index cb2f4a908f..4bb0869bcc 100644 --- a/src/lib/evas/gesture/efl_gesture_long_tap.eo +++ b/src/lib/evas/gesture/efl_gesture_long_tap.eo @@ -2,6 +2,7 @@ import efl_gesture_types; class Efl.Gesture.Long_Tap (Efl.Gesture) { + [[EFL Gesture Long Tap class]] event_prefix: efl; events { gesture,long_tap; [[Event for tap gesture]] diff --git a/src/lib/evas/gesture/efl_gesture_manager.eo b/src/lib/evas/gesture/efl_gesture_manager.eo index 1f0bed434b..52d48ec0af 100644 --- a/src/lib/evas/gesture/efl_gesture_manager.eo +++ b/src/lib/evas/gesture/efl_gesture_manager.eo @@ -2,6 +2,7 @@ import efl_gesture_types; class Efl.Gesture.Manager (Efl.Object) { + [[EFL Gesture Manager class]] methods { recognizer_register { [[This function is called to register a new Efl.Gesture.Recognizer]] diff --git a/src/lib/evas/gesture/efl_gesture_recognizer.eo b/src/lib/evas/gesture/efl_gesture_recognizer.eo index 24001b4d0c..617638147e 100644 --- a/src/lib/evas/gesture/efl_gesture_recognizer.eo +++ b/src/lib/evas/gesture/efl_gesture_recognizer.eo @@ -2,6 +2,7 @@ import efl_gesture_types; abstract Efl.Gesture.Recognizer (Efl.Object) { + [[EFL Gesture Recognizer abstract class]] methods { create @pure_virtual { [[This function is called to create a new Efl.Gesture object for the given target]] diff --git a/src/lib/evas/gesture/efl_gesture_recognizer_long_tap.eo b/src/lib/evas/gesture/efl_gesture_recognizer_long_tap.eo index 8d619a163d..94b5b10913 100644 --- a/src/lib/evas/gesture/efl_gesture_recognizer_long_tap.eo +++ b/src/lib/evas/gesture/efl_gesture_recognizer_long_tap.eo @@ -1,5 +1,6 @@ class Efl.Gesture.Recognizer_Long_Tap (Efl.Gesture.Recognizer) { + [[EFL Gesture Recognizer Long Tap class]] data: null; implements { Efl.Gesture.Recognizer.create; diff --git a/src/lib/evas/gesture/efl_gesture_recognizer_tap.eo b/src/lib/evas/gesture/efl_gesture_recognizer_tap.eo index f91964c55a..bf2ceef326 100644 --- a/src/lib/evas/gesture/efl_gesture_recognizer_tap.eo +++ b/src/lib/evas/gesture/efl_gesture_recognizer_tap.eo @@ -1,5 +1,6 @@ class Efl.Gesture.Recognizer_Tap (Efl.Gesture.Recognizer) { + [[EFL Gesture Recognizer Tap class]] data: null; implements { Efl.Gesture.Recognizer.create; diff --git a/src/lib/evas/gesture/efl_gesture_tap.eo b/src/lib/evas/gesture/efl_gesture_tap.eo index cdd51ee7a2..993d2067c1 100644 --- a/src/lib/evas/gesture/efl_gesture_tap.eo +++ b/src/lib/evas/gesture/efl_gesture_tap.eo @@ -2,6 +2,7 @@ import efl_gesture_types; class Efl.Gesture.Tap(Efl.Gesture) { + [[EFL Gesture Tap class]] event_prefix: efl; events { gesture,tap; [[Event for tap gesture]] diff --git a/src/lib/evas/gesture/efl_gesture_touch.eo b/src/lib/evas/gesture/efl_gesture_touch.eo index a124dfcc69..b85d14599c 100644 --- a/src/lib/evas/gesture/efl_gesture_touch.eo +++ b/src/lib/evas/gesture/efl_gesture_touch.eo @@ -5,8 +5,10 @@ import efl_input_types; class Efl.Gesture.Touch(Efl.Object) { + [[EFL Gesture Touch class]] methods { point_record { + [[Touch point record method]] params { @in tool : int; [[The finger id ]] @in pos: Eina.Vector2; [[Position of the event]] @@ -39,7 +41,7 @@ class Efl.Gesture.Touch(Efl.Object) @property multi_touch { [[This property tells if the event is multi touch.]] get { -return: bool; [[returns true if its a multi touch]] +
[EGIT] [core/efl] master 01/07: docs: fill in all missing item documentation for efl_ui_focus_*
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=246b44ed35acba69e58a72a6dd5b23483dba3f57 commit 246b44ed35acba69e58a72a6dd5b23483dba3f57 Author: Stefan Schmidt Date: Fri Dec 8 14:47:34 2017 +0100 docs: fill in all missing item documentation for efl_ui_focus_* There has been gaps in various files. Makre sure we have them all covered. --- src/lib/elementary/efl_ui.eot | 2 +- src/lib/elementary/efl_ui_focus_composition.eo | 2 +- src/lib/elementary/efl_ui_focus_composition_adapter.eo | 4 +++- src/lib/elementary/efl_ui_focus_layer.eo| 1 + src/lib/elementary/efl_ui_focus_manager.eo | 6 +++--- src/lib/elementary/efl_ui_focus_parent_provider.eo | 5 +++-- src/lib/elementary/efl_ui_focus_parent_provider_gen.eo | 7 +-- src/lib/elementary/efl_ui_focus_parent_provider_standard.eo | 1 + src/lib/elementary/efl_ui_focus_rectangle.eo| 1 + src/lib/elementary/efl_ui_focus_util.eo | 4 +++- 10 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/lib/elementary/efl_ui.eot b/src/lib/elementary/efl_ui.eot index 69afcccbf0..f3efc840aa 100644 --- a/src/lib/elementary/efl_ui.eot +++ b/src/lib/elementary/efl_ui.eot @@ -20,7 +20,7 @@ enum Efl.Ui.Focus.Direction down = 3, [[ down direction ]] right = 4,[[ right direction ]] left = 5, [[ left direction ]] - last = 6 + last = 6 [[ last direction ]] } enum Efl.Ui.Interest_Region_Mode diff --git a/src/lib/elementary/efl_ui_focus_composition.eo b/src/lib/elementary/efl_ui_focus_composition.eo index dd7fcaa856..8d5644330f 100644 --- a/src/lib/elementary/efl_ui_focus_composition.eo +++ b/src/lib/elementary/efl_ui_focus_composition.eo @@ -39,7 +39,7 @@ mixin Efl.Ui.Focus.Composition (Efl.Interface, Elm.Widget ) { Set to $null to register them in the same manager as the implementor is ]] values { -custom_manager : Efl.Ui.Focus.Manager; +custom_manager : Efl.Ui.Focus.Manager; [[EFL focus manager]] } } @property logical_mode @protected { diff --git a/src/lib/elementary/efl_ui_focus_composition_adapter.eo b/src/lib/elementary/efl_ui_focus_composition_adapter.eo index 016d5d959a..b6e9fc927b 100644 --- a/src/lib/elementary/efl_ui_focus_composition_adapter.eo +++ b/src/lib/elementary/efl_ui_focus_composition_adapter.eo @@ -1,9 +1,11 @@ class Efl.Ui.Focus.Composition.Adapter (Efl.Object, Efl.Ui.Focus.Object) { + [[EFL UI Focus Composition Adapter class]] methods { @property canvas_object { + [[Canvas Object Property]] values { -v : Efl.Canvas.Object; +v : Efl.Canvas.Object; [[EFL canvas object]] } } } diff --git a/src/lib/elementary/efl_ui_focus_layer.eo b/src/lib/elementary/efl_ui_focus_layer.eo index 1728a7dbce..7063c13c96 100644 --- a/src/lib/elementary/efl_ui_focus_layer.eo +++ b/src/lib/elementary/efl_ui_focus_layer.eo @@ -7,6 +7,7 @@ mixin Efl.Ui.Focus.Layer (Efl.Interface, Elm.Widget, Efl.Gfx, Efl.Ui.Focus.Manag ]] methods { @property enable @protected { +[[Enable property]] values { v : bool; [[$true to set enable the layer $false to disable it]] } diff --git a/src/lib/elementary/efl_ui_focus_manager.eo b/src/lib/elementary/efl_ui_focus_manager.eo index 3d26ab20fc..60d7b8b69b 100644 --- a/src/lib/elementary/efl_ui_focus_manager.eo +++ b/src/lib/elementary/efl_ui_focus_manager.eo @@ -14,7 +14,7 @@ struct Efl.Ui.Focus.Relations { parent : Efl.Ui.Focus.Object; [[Parent object]] redirect : Efl.Ui.Focus.Manager; [[Redirect manager]] node : Efl.Ui.Focus.Object; [[The node where this is the information from]] -logical : bool; [[true if this node is only logical]] +logical : bool; [[$true if this node is only logical]] position_in_history : int; [[The position in the history stack]] } @@ -116,9 +116,9 @@ interface Efl.Ui.Focus.Manager { so you can call this function out of a prepare call. ]] params { - child : Efl.Ui.Focus.Object; + child : Efl.Ui.Focus.Object; [[Parent for returned child]] } - return : Efl.Ui.Focus.Object; + return : Efl.Ui.Focus.Object; [[Child of passed parameter]] } fetch { [[This will fetch the data from a registered node. diff --git a/src/lib/elementary/efl_ui_focus_parent_provider.eo b/src/lib/elementary/efl_ui_focus_parent_provider.eo index 13d4638cf2..04fa38ae31 100644 --- a/src/lib/elementary/efl_ui_focus_parent_provider.eo +++ b/src/lib/elementary/efl_ui_focus_parent_provider.eo @@ -1,11 +1,12 @@ interface Efl.Ui.Focus.Parent_Provider { + [[EFL UI Focus Parent Provider interface]] methods { find_logical_pare
[EGIT] [core/efl] master 06/07: docs: document the elm_calendar_item eo class
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=fa270a8a2b306bcc45cb646aa444aca750ecdea1 commit fa270a8a2b306bcc45cb646aa444aca750ecdea1 Author: Stefan Schmidt Date: Fri Dec 8 15:45:34 2017 +0100 docs: document the elm_calendar_item eo class --- src/lib/elementary/elm_calendar_item.eo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_calendar_item.eo b/src/lib/elementary/elm_calendar_item.eo index 7aa9495b2b..e5c2696ba4 100644 --- a/src/lib/elementary/elm_calendar_item.eo +++ b/src/lib/elementary/elm_calendar_item.eo @@ -1,9 +1,11 @@ class Elm.Calendar.Item (Efl.Object, Efl.Ui.Focus.Object) { +[[Elm Calendar Item class]] methods { @property day_number { + [[Day number property]] values { -i : int; +i : int; [[Day number]] } } } --
[EGIT] [core/efl] master 04/07: docs: fill missing items in efl_interpolator_* eo classes
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1aeec585b9f785e30141379f2d9b746569ee3217 commit 1aeec585b9f785e30141379f2d9b746569ee3217 Author: Stefan Schmidt Date: Fri Dec 8 15:12:45 2017 +0100 docs: fill missing items in efl_interpolator_* eo classes --- src/lib/ecore/efl_interpolator_accelerate.eo | 1 + src/lib/ecore/efl_interpolator_bounce.eo | 1 + src/lib/ecore/efl_interpolator_cubic_bezier.eo | 1 + src/lib/ecore/efl_interpolator_decelerate.eo | 1 + src/lib/ecore/efl_interpolator_divisor.eo | 1 + src/lib/ecore/efl_interpolator_sinusoidal.eo | 1 + src/lib/ecore/efl_interpolator_spring.eo | 1 + 7 files changed, 7 insertions(+) diff --git a/src/lib/ecore/efl_interpolator_accelerate.eo b/src/lib/ecore/efl_interpolator_accelerate.eo index a83869eda7..9aaf70f7ab 100644 --- a/src/lib/ecore/efl_interpolator_accelerate.eo +++ b/src/lib/ecore/efl_interpolator_accelerate.eo @@ -7,6 +7,7 @@ class Efl.Interpolator.Accelerate (Efl.Interpolator) data: Efl_Interpolator_Accelerate_Data; methods { @property factor { + [[Factor property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_bounce.eo b/src/lib/ecore/efl_interpolator_bounce.eo index f3d9ae152b..87955a4278 100644 --- a/src/lib/ecore/efl_interpolator_bounce.eo +++ b/src/lib/ecore/efl_interpolator_bounce.eo @@ -4,6 +4,7 @@ class Efl.Interpolator.Bounce (Efl.Interpolator) data: Efl_Interpolator_Bounce_Data; methods { @property factors { + [[Factors property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_cubic_bezier.eo b/src/lib/ecore/efl_interpolator_cubic_bezier.eo index 4f1459046b..6b59226286 100644 --- a/src/lib/ecore/efl_interpolator_cubic_bezier.eo +++ b/src/lib/ecore/efl_interpolator_cubic_bezier.eo @@ -4,6 +4,7 @@ class Efl.Interpolator.Cubic_Bezier (Efl.Interpolator) data: Efl_Interpolator_Cubic_Bezier_Data; methods { @property factors { + [[Factors property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_decelerate.eo b/src/lib/ecore/efl_interpolator_decelerate.eo index 9682c42084..30d02fd582 100644 --- a/src/lib/ecore/efl_interpolator_decelerate.eo +++ b/src/lib/ecore/efl_interpolator_decelerate.eo @@ -7,6 +7,7 @@ class Efl.Interpolator.Decelerate (Efl.Interpolator) data: Efl_Interpolator_Decelerate_Data; methods { @property factor { + [[Factor property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_divisor.eo b/src/lib/ecore/efl_interpolator_divisor.eo index 4733f99e75..bf5918fe4d 100644 --- a/src/lib/ecore/efl_interpolator_divisor.eo +++ b/src/lib/ecore/efl_interpolator_divisor.eo @@ -4,6 +4,7 @@ class Efl.Interpolator.Divisor (Efl.Interpolator) data: Efl_Interpolator_Divisor_Data; methods { @property factors { + [[Factors property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_sinusoidal.eo b/src/lib/ecore/efl_interpolator_sinusoidal.eo index 9ac25c7c16..351dd0d21d 100644 --- a/src/lib/ecore/efl_interpolator_sinusoidal.eo +++ b/src/lib/ecore/efl_interpolator_sinusoidal.eo @@ -7,6 +7,7 @@ class Efl.Interpolator.Sinusoidal (Efl.Interpolator) data: Efl_Interpolator_Sinusoidal_Data; methods { @property factor { + [[Factor property]] set { } get { diff --git a/src/lib/ecore/efl_interpolator_spring.eo b/src/lib/ecore/efl_interpolator_spring.eo index ffcbe9e3f7..71a13787d6 100644 --- a/src/lib/ecore/efl_interpolator_spring.eo +++ b/src/lib/ecore/efl_interpolator_spring.eo @@ -4,6 +4,7 @@ class Efl.Interpolator.Spring (Efl.Interpolator) data: Efl_Interpolator_Spring_Data; methods { @property factors { + [[Factors property]] set { } get { --
[EGIT] [core/efl] master 02/07: docs: add last missing documentation in efl_animation_object
stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7bc3ea400c5ac2110dd9b111bb62e18a831ab06d commit 7bc3ea400c5ac2110dd9b111bb62e18a831ab06d Author: Stefan Schmidt Date: Fri Dec 8 14:53:58 2017 +0100 docs: add last missing documentation in efl_animation_object --- src/lib/evas/canvas/efl_animation_object.eo | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/evas/canvas/efl_animation_object.eo b/src/lib/evas/canvas/efl_animation_object.eo index 80b33b925a..2543982fa1 100644 --- a/src/lib/evas/canvas/efl_animation_object.eo +++ b/src/lib/evas/canvas/efl_animation_object.eo @@ -6,6 +6,7 @@ class Efl.Animation.Object (Efl.Object) data: Efl_Animation_Object_Data; methods { @property auto_del { + [[Auto delete property]] set { } get { --
[EGIT] [website/www-content] master 01/01: Wiki page generic-value.md changed with summary [] by Gareth Halfacree
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=04c033fb899d4111bc47ae4f7fd32675fb028c6a commit 04c033fb899d4111bc47ae4f7fd32675fb028c6a Author: Gareth Halfacree Date: Fri Dec 8 07:15:26 2017 -0800 Wiki page generic-value.md changed with summary [] by Gareth Halfacree --- pages/develop/guides/c/eina/generic-value.md.txt | 134 +-- 1 file changed, 77 insertions(+), 57 deletions(-) diff --git a/pages/develop/guides/c/eina/generic-value.md.txt b/pages/develop/guides/c/eina/generic-value.md.txt index 5a94bdd17..0bc11ed60 100644 --- a/pages/develop/guides/c/eina/generic-value.md.txt +++ b/pages/develop/guides/c/eina/generic-value.md.txt @@ -4,38 +4,57 @@ # Generic Value # -The ``Eina_Value`` object provides generic data storage and access, allowing you to store what you want in one single type of ``Eina_Value``. It is meant for simple data types, providing uniform access and release functions useful to exchange data while preserving their types. ``Eina_Value`` supports a number of predefined types, can be extended with additional user-provided types, and it can convert between data types, including strings. +The ``Eina_Value`` object provides storage of and access to generic data, allowing you to store whatever you want in a single ``Eina_Value`` type. It is meant for simple data types, providing uniform access and release functions for the exchange of data while preserving their types. ``Eina_Value`` supports a number of predefined types, can be extended with additional user-provided types and can convert between differing data types including strings. -You can find many usage example in the [EFL examples repository](https://git.enlightenment.org/tools/examples.git/) in [reference/c/eina/src/eina_value.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/eina/src/eina_value.c). +Examples of ``Eina_Value`` usage can be found in the [EFL examples git repository](https://git.enlightenment.org/tools/examples.git/) in the file [reference/c/eina/src/eina_value.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/eina/src/eina_value.c). ## Value Types ## -``Eina_Value`` can handle the common **simple** types: ``EINA_VALUE_TYPE_UCHAR`` (unsigned char), ``EINA_VALUE_TYPE_USHORT`` (unsigned short), ``EINA_VALUE_TYPE_UINT`` (unsigned int), ``EINA_VALUE_TYPE_ULONG`` (unsigned long), ``EINA_VALUE_TYPE_TIMESTAMP`` (unsigned long, used for timestamps), ``EINA_VALUE_TYPE_UINT64`` (unsigned integer of 64 bits), ``EINA_VALUE_TYPE_CHAR`` (char), ``EINA_VALUE_TYPE_SHORT`` (short), ``EINA_VALUE_TYPE_INT`` (int), ``EINA_VALUE_TYPE_LONG`` (long), ``EINA_ [...] - -In addition, a number of specializations of ``Eina_Value`` exist to handle **aggregate** types: - -* ``EINA_VALUE_TYPE_ARRAY``: Manages arrays of elements through the ``Eina_Value_Array`` object. -* ``EINA_VALUE_TYPE_LIST``: Manages lists of elements through the ``Eina_Value_List`` object. -* ``EINA_VALUE_TYPE_HASH``: Manages hash tables through the ``Eina_Value_Hash`` object. -* ``EINA_VALUE_TYPE_BLOB``: Manages blobs of bytes (memory buffers) through the ``Eina_Value_Blob`` object. -* ``EINA_VALUE_TYPE_STRUCT``: Manages user-defined compound types (structures) through the ``Eina_Value_Struct`` object. +``Eina_Value`` can handle the following common *simple* types: + +* ``EINA_VALUE_TYPE_UCHAR`` - Unsigned char +* ``EINA_VALUE_TYPE_USHORT`` - Unsigned short +* ``EINA_VALUE_TYPE_UINT`` - Unsigned int +* ``EINA_VALUE_TYPE_ULONG`` - Unsigned long +* ``EINA_VALUE_TYPE_TIMESTAMP`` An unsigned long variant used for timestamps +* ``EINA_VALUE_TYPE_UINT64`` - Unsigned 64-bit integer +* ``EINA_VALUE_TYPE_CHAR`` - Char +* ``EINA_VALUE_TYPE_SHORT`` - Short +* ``EINA_VALUE_TYPE_INT`` - Int +* ``EINA_VALUE_TYPE_LONG`` - Long +* ``EINA_VALUE_TYPE_INT64`` - 64-bit integer +* ``EINA_VALUE_TYPE_FLOAT`` - Float +* ``EINA_VALUE_TYPE_DOUBLE`` - Double +* ``EINA_VALUE_TYPE_STRINGSHARE`` - Stringshared string +* ``EINA_VALUE_TYPE_STRING`` - String +* ``EINA_VALUE_TYPE_TIMEVAL`` - 'Struct timeval' + +In addition ``Eina_Value`` has a number of specializations to handle the following *aggregate* types: + +* ``EINA_VALUE_TYPE_ARRAY`` - Manages arrays of elements through the ``Eina_Value_Array`` object +* ``EINA_VALUE_TYPE_LIST`` - Manages lists of elements through the ``Eina_Value_List`` object +* ``EINA_VALUE_TYPE_HASH`` - Manages hash tables through the ``Eina_Value_Hash`` object +* ``EINA_VALUE_TYPE_BLOB`` - Manages blobs of bytes (memory buffers) through the ``Eina_Value_Blob`` object +* ``EINA_VALUE_TYPE_STRUCT``: Manages user-defined compound types (structures) through the ``Eina_Value_Struct`` object ## Simple Values ## ### Creating and Destroying Simple Values ### -New values can be allocated with ``eina_value_new()`` and disposed of with ``eina_value_free()``. The *type* parameter must be one of th
[EGIT] [core/efl] master 01/01: evas_event: add missing comments about code.
ami pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=39793f4cd589ca0e8c61c3faca74486ea0b9b816 commit 39793f4cd589ca0e8c61c3faca74486ea0b9b816 Author: Amitesh Singh Date: Fri Dec 8 22:57:20 2017 +0900 evas_event: add missing comments about code. --- src/lib/evas/canvas/evas_events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index 7e15ead38b..3448ec26e8 100644 --- a/src/lib/evas/canvas/evas_events.c +++ b/src/lib/evas/canvas/evas_events.c @@ -3892,8 +3892,8 @@ _efl_canvas_object_efl_canvas_pointer_pointer_inside_get(Eo *eo_obj, if (!obj->is_smart) return obj_pdata->mouse_in; - /* This is to keep the legacy APIs evas_object_pointer_inside_by_device_get & -* evas_object_pointer_inside_get. */ + /* This is to keep the legacy APIs evas_object_pointer_inside_by_device_get() & +* evas_object_pointer_inside_get() old behaviour. */ if (obj->is_pointer_inside_legacy) return EINA_FALSE; /* For smart objects, this is a bit expensive obj->mouse_in will not be set. --
[EGIT] [core/efl] master 01/01: docs: always pass eos unit in gendoc
q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=324e3dedeaef7191242e5ba04f30ed606465bebb commit 324e3dedeaef7191242e5ba04f30ed606465bebb Author: Daniel Kolesa Date: Fri Dec 8 13:18:38 2017 +0100 docs: always pass eos unit in gendoc --- src/scripts/elua/apps/docgen/doctree.lua | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua index 3d761dd53a..df1e50e123 100644 --- a/src/scripts/elua/apps/docgen/doctree.lua +++ b/src/scripts/elua/apps/docgen/doctree.lua @@ -295,7 +295,7 @@ M.Class = Node:clone { return ret end -- FIXME: unit -local v = eolian.class_get_by_name(nil, name) +local v = eolian.class_get_by_name(eos:unit_get(), name) if not v then return nil end @@ -311,7 +311,7 @@ M.Class = Node:clone { return ret end -- FIXME: unit -local v = eolian.class_get_by_file(nil, name) +local v = eolian.class_get_by_file(eos:unit_get(), name) if not v then return nil end @@ -324,7 +324,7 @@ M.Class = Node:clone { local ret, had = get_cache(M.Class, "_cache_all") if not had then -- FIXME: unit -for cl in eolian.all_classes_get(nil) do +for cl in eolian.all_classes_get(eos:unit_get()) do ret[#ret + 1] = M.Class(cl) end end @@ -715,7 +715,7 @@ M.Type = Node:clone { class_get = function(self) -- FIXME: unit -return self.type:class_get(nil) +return self.type:class_get(eos:unit_get()) end, is_owned = function(self) @@ -895,7 +895,7 @@ M.Typedecl = Node:clone { c_type_get = function(self) -- FIXME: unit -return self.typedecl:c_type_get(nil) +return self.typedecl:c_type_get(eos:unit_get()) end, name_get = function(self) @@ -931,7 +931,7 @@ M.Typedecl = Node:clone { all_aliases_get = function() local ret = {} -- FIXME: unit -for tp in eolian.typedecl_all_aliases_get(nil) do +for tp in eolian.typedecl_all_aliases_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -940,7 +940,7 @@ M.Typedecl = Node:clone { all_structs_get = function() local ret = {} -- FIXME: unit -for tp in eolian.typedecl_all_structs_get(nil) do +for tp in eolian.typedecl_all_structs_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -949,7 +949,7 @@ M.Typedecl = Node:clone { all_enums_get = function() local ret = {} -- FIXME: unit -for tp in eolian.typedecl_all_enums_get(nil) do +for tp in eolian.typedecl_all_enums_get(eos:unit_get()) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -958,7 +958,7 @@ M.Typedecl = Node:clone { aliases_by_file_get = function(fn) local ret = {} -- FIXME: unit -for tp in eolian.typedecl_aliases_get_by_file(nil, fn) do +for tp in eolian.typedecl_aliases_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -967,7 +967,7 @@ M.Typedecl = Node:clone { structs_by_file_get = function(fn) local ret = {} -- FIXME: unit -for tp in eolian.typedecl_structs_get_by_file(nil, fn) do +for tp in eolian.typedecl_structs_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -976,7 +976,7 @@ M.Typedecl = Node:clone { enums_by_file_get = function(fn) local ret = {} -- FIXME: unit -for tp in eolian.typedecl_enums_get_by_file(nil, fn) do +for tp in eolian.typedecl_enums_get_by_file(eos:unit_get(), fn) do ret[#ret + 1] = M.Typedecl(tp) end return ret @@ -984,7 +984,7 @@ M.Typedecl = Node:clone { alias_by_name_get = function(tn) -- FIXME: unit -local v = eolian.typedecl_alias_get_by_name(nil, tn) +local v = eolian.typedecl_alias_get_by_name(eos:unit_get(), tn) if not v then return nil end @@ -993,7 +993,7 @@ M.Typedecl = Node:clone { struct_by_name_get = function(tn) -- FIXME: unit -local v = eolian.typedecl_struct_get_by_name(nil, tn) +local v = eolian.typedecl_struct_get_by_name(eos:unit_get(), tn) if not v then return nil end @@ -1002,7 +1002,7 @@ M.Typedecl = Node:clone { enum_by_name_get = function(tn) -- FIXME: unit -local v = eolian.typedecl_enum_get_by_name(nil, tn) +local v = eolian.typedecl_enum_get_by_name(eos:unit_get(), tn) if not v then
[EGIT] [core/efl] master 03/03: update .gitignore for vscode ide
ami pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6e4138293d018df5ab3a5866313693326bad06c3 commit 6e4138293d018df5ab3a5866313693326bad06c3 Author: Amitesh Singh Date: Fri Dec 8 19:53:25 2017 +0900 update .gitignore for vscode ide --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 58817cf060..76dd79784d 100644 --- a/.gitignore +++ b/.gitignore @@ -91,3 +91,4 @@ Session.vim .project /.settings/ efl_libs.csv +.vscode/ --
[EGIT] [core/efl] master 01/03: interface: add Efl.Canvas.Pointer intf for pointer related functions.
ami pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=80463f0e2ed6a951ab5449b987d18bb47daf23e8 commit 80463f0e2ed6a951ab5449b987d18bb47daf23e8 Author: Amitesh Singh Date: Wed Dec 6 14:34:51 2017 +0900 interface: add Efl.Canvas.Pointer intf for pointer related functions. and remove pointer_inside function from Efl.Canvas{} --- src/Makefile_Efl.am | 1 + src/lib/efl/CMakeLists.txt | 1 + src/lib/efl/Efl.h| 1 + src/lib/efl/interfaces/efl_canvas.eo | 25 -- src/lib/efl/interfaces/efl_canvas_pointer.eo | 32 src/lib/efl/interfaces/efl_interfaces_main.c | 1 + src/lib/elementary/efl_ui_win.c | 2 +- src/lib/elementary/efl_ui_win.eo | 4 ++-- src/lib/evas/canvas/evas_canvas.eo | 4 ++-- src/lib/evas/canvas/evas_main.c | 6 +++--- 10 files changed, 44 insertions(+), 33 deletions(-) diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index 0584602894..d623743d77 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -14,6 +14,7 @@ efl_eolian_legacy_files = \ efl_eolian_files = \ lib/efl/interfaces/efl_canvas.eo \ + lib/efl/interfaces/efl_canvas_pointer.eo \ lib/efl/interfaces/efl_config.eo \ lib/efl/interfaces/efl_control.eo \ lib/efl/interfaces/efl_dup.eo \ diff --git a/src/lib/efl/CMakeLists.txt b/src/lib/efl/CMakeLists.txt index 6637bedfc4..e6efc3b680 100644 --- a/src/lib/efl/CMakeLists.txt +++ b/src/lib/efl/CMakeLists.txt @@ -5,6 +5,7 @@ set(LIBRARIES eo eina) set(PUBLIC_EO_FILES interfaces/efl_animator.eo interfaces/efl_canvas.eo + interfaces/efl_canvas_pointer.eo interfaces/efl_config.eo interfaces/efl_container.eo interfaces/efl_content.eo diff --git a/src/lib/efl/Efl.h b/src/lib/efl/Efl.h index fa66d95044..e80e5de9d9 100644 --- a/src/lib/efl/Efl.h +++ b/src/lib/efl/Efl.h @@ -134,6 +134,7 @@ typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command; /* Canvas & UI */ #include "interfaces/efl_canvas.eo.h" +#include "interfaces/efl_canvas_pointer.eo.h" #include "interfaces/efl_ui_view.eo.h" #include "interfaces/efl_ui_model_connect.eo.h" #include "interfaces/efl_ui_factory.eo.h" diff --git a/src/lib/efl/interfaces/efl_canvas.eo b/src/lib/efl/interfaces/efl_canvas.eo index 98da146f5f..98d70a3851 100644 --- a/src/lib/efl/interfaces/efl_canvas.eo +++ b/src/lib/efl/interfaces/efl_canvas.eo @@ -193,31 +193,6 @@ interface Efl.Canvas () pos: Eina.Position2D; [[The pointer position in pixels.]] } } - @property pointer_inside { - get { -[[Returns whether the mouse pointer is logically inside the - canvas. - - When this function is called it will return a value of either - $false or $true, depending on whether a pointer,in or pointer,out - event has been called previously. - - A return value of $true indicates the mouse is logically - inside the canvas, and $false implies it is logically - outside the canvas. - - A canvas begins with the mouse being assumed outside ($false). -]] - } - keys { -seat: Efl.Input.Device @optional; [[The seat to consider, if $null - then the default seat will be used.]] - } - values { -inside: bool; [[$true if the mouse pointer is inside the canvas, -$false otherwise]] - } - } /* FIXME: maybe not necessary if gesture supports this */ pointer_iterate @const { [[Returns an iterator over the current known pointer positions. diff --git a/src/lib/efl/interfaces/efl_canvas_pointer.eo b/src/lib/efl/interfaces/efl_canvas_pointer.eo new file mode 100644 index 00..57111a7896 --- /dev/null +++ b/src/lib/efl/interfaces/efl_canvas_pointer.eo @@ -0,0 +1,32 @@ +import efl_input_device; + +interface Efl.Canvas.Pointer () +{ + methods { + @property pointer_inside { + get { +[[Returns whether the mouse pointer is logically inside the + canvas. + + When this function is called it will return a value of either + $false or $true, depending on whether a pointer,in or pointer,out + event has been called previously. + + A return value of $true indicates the mouse is logically + inside the canvas, and $false implies it is logically + outside the canvas. + + A canvas begins with the mouse being assumed outside ($false). +]] + } + keys { +seat: Efl.Input.Device @optional; [[The seat to consider, if $null + then the default seat will be used.]] + } + values { +inside: bool; [[$true if the mo
[EGIT] [core/efl] master 02/03: efl.canvas.object: implement pointer_inside of Efl.Canvas.Pointer.
ami pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b734c132f93f86b34a2bdf3e12ee62c22404d295 commit b734c132f93f86b34a2bdf3e12ee62c22404d295 Author: Amitesh Singh Date: Fri Dec 8 16:04:18 2017 +0900 efl.canvas.object: implement pointer_inside of Efl.Canvas.Pointer. remove eo apis pointer_in, pointer_device_in, pointer_inside_get & pointer_inside_by_device_get and add legacy APIs for pointer_inside_get & pointer_inside_by_device_get. These four APIs do almost same things. --- src/lib/elementary/els_cursor.c | 2 +- src/lib/evas/Evas_Legacy.h | 33 src/lib/evas/canvas/efl_canvas_object.eo | 68 +--- src/lib/evas/canvas/evas_events.c| 17 src/lib/evas/canvas/evas_object_main.c | 34 +++- src/lib/evas/include/evas_private.h | 1 + 6 files changed, 59 insertions(+), 96 deletions(-) diff --git a/src/lib/elementary/els_cursor.c b/src/lib/elementary/els_cursor.c index 69d541835e..a90c7daf25 100644 --- a/src/lib/elementary/els_cursor.c +++ b/src/lib/elementary/els_cursor.c @@ -570,7 +570,7 @@ _elm_cursor_cur_set(Elm_Cursor *cur) } } - if (efl_canvas_object_pointer_in_get(cur->eventarea)) + if (efl_canvas_pointer_inside_get(cur->eventarea, NULL)) _elm_cursor_set(cur); } diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index de7bf35d45..94b06d0f12 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -2210,6 +2210,39 @@ EAPI void evas_object_scale_set(Evas_Object *obj, double scale); */ EAPI double evas_object_scale_get(const Evas_Object *obj); +/** + * @brief Returns whether the mouse pointer is logically inside the object. + * + * @param[in] dev The pointer device. + * + * @return @c true if the pointer is inside, @c false otherwise. + * + * @since 1.20 + * + * @ingroup Evas_Object + */ +EAPI Eina_Bool evas_object_pointer_inside_by_device_get(const Evas_Object *obj, Efl_Input_Device * dev); + +/** + * @brief Returns whether the default mouse pointer is logically inside the + * object. + * + * When this function is called it will return a value of either @c false or + * @c true, depending on if event_feed_mouse_in or event_feed_mouse_out have + * been called to feed in a mouse enter event into the object. + * + * A return value of @c true indicates the mouse is logically inside the + * object, and @c false implies it is logically outside the object. + * + * If @c e is not a valid object, the return value is undefined. + * + * @return @c true if the mouse pointer is inside the object, @c false + * otherwise + * + * @ingroup Evas_Object + */ +EAPI Eina_Bool evas_object_pointer_inside_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; + #include "canvas/efl_canvas_object.eo.legacy.h" diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo index 7deae67d95..86c74b2431 100644 --- a/src/lib/evas/canvas/efl_canvas_object.eo +++ b/src/lib/evas/canvas/efl_canvas_object.eo @@ -3,7 +3,7 @@ import efl_animation_types; abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx, Efl.Gfx.Stack, Efl.Animator, Efl.Input.Interface, Efl.Gfx.Size.Hint, -Efl.Gfx.Map, Efl.Loop_User, Efl.Ui.Base) +Efl.Gfx.Map, Efl.Loop_User, Efl.Ui.Base, Efl.Canvas.Pointer) { [[Efl canvas object abstract class]] legacy_prefix: evas_object; @@ -56,41 +56,6 @@ abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx, Efl.Gfx.Stack, Efl.Animator, pointer_mode: Efl.Input.Object_Pointer_Mode; [[Input pointer mode]] } } - @property pointer_in { - [[Read-only value indicating whether the main pointer is in the object. - - This shall be true between pointer,in and pointer,out events (coming - in matching numbers). Note that group objects may receive multiple - pointer,in in a row. See algo @.pointer_device_in.get - - @since 1.19 - ]] - get { -legacy: null; - } - values { -in: bool; [[If $true the main pointer has entered this object.]] - } - } - @property pointer_device_in { - [[Read-only value indicating whether a pointer is in the object. - - This shall be true between pointer,in and pointer,out events (coming - in matching numbers). Note that group objects may receive multiple - pointer,in in a row. - - @since 1.19 - ]] - get { -legacy: null; - } - keys { -pointer: Efl.Input.Device; [[The pointer. Use $null for the defaul pointer]] - } - values { -in: bool; [[If $true the pointer has entered this object.]] - } - } @property render_op { [[Render mode to be used for
[EGIT] [core/efl] master 02/03: docs: Attach the google analytics code to our docs pages too
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7b5551c5485afa4191e9e6af6dc1fa1b3f4272cd commit 7b5551c5485afa4191e9e6af6dc1fa1b3f4272cd Author: Andy Williams Date: Fri Dec 8 11:00:15 2017 + docs: Attach the google analytics code to our docs pages too --- doc/head.html | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/head.html b/doc/head.html index 7b94f0f794..cd743b2fd1 100644 --- a/doc/head.html +++ b/doc/head.html @@ -3,6 +3,17 @@ $title + + + https://www.googletagmanager.com/gtag/js?id=UA-110876574-1";> + +window.dataLayer = window.dataLayer || []; +function gtag(){dataLayer.push(arguments);} +gtag('js', new Date()); + +gtag('config', 'UA-110876574-1'); + + --
[EGIT] [core/efl] master 01/03: gendoc: Update to latest eolian syntax
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6cdcaf846b0df5747c2330c14b56dc000ce280d9 commit 6cdcaf846b0df5747c2330c14b56dc000ce280d9 Author: Andy Williams Date: Fri Dec 8 10:59:43 2017 + gendoc: Update to latest eolian syntax --- src/scripts/elua/apps/docgen/doctree.lua | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua index 857165f0e1..3d761dd53a 100644 --- a/src/scripts/elua/apps/docgen/doctree.lua +++ b/src/scripts/elua/apps/docgen/doctree.lua @@ -9,6 +9,7 @@ local dutil = require("docgen.util") local writer local M = {} +local eos = eolian:new() local get_cache = function(o, nm) local ret = o[nm] @@ -1501,26 +1502,26 @@ M.DocTokenizer = Node:clone { M.scan_directory = function(dir) if not dir then -if not eolian.system_directory_scan() then +if not eos:system_directory_scan() then error("failed scanning system directory") end return end -if not eolian.directory_scan(dir) then +if not eos:directory_scan(dir) then error("failed scanning directory: " .. dir) end end M.parse = function(st) -if not eolian.all_eot_files_parse() then +if not eos:all_eot_files_parse() then error("failed parsing eo type files") end if st and st:match("%.") then -if not eolian.file_parse(st:gsub("%.", "_"):lower() .. ".eo") then +if not eos:file_parse(st:gsub("%.", "_"):lower() .. ".eo") then error("failed parsing eo file") end else -if not eolian.all_eo_files_parse() then +if not eos:all_eo_files_parse() then error("failed parsing eo files") end end --
[EGIT] [core/efl] master 03/03: gendoc: Allow script to be run from other directories
ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=dc821546ad6e4b4c90be6854410e39038648b00d commit dc821546ad6e4b4c90be6854410e39038648b00d Author: Andy Williams Date: Fri Dec 8 11:00:40 2017 + gendoc: Allow script to be run from other directories --- src/scripts/elua/apps/gendoc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/elua/apps/gendoc.sh b/src/scripts/elua/apps/gendoc.sh index 73618c2125..f14fcfda6e 100755 --- a/src/scripts/elua/apps/gendoc.sh +++ b/src/scripts/elua/apps/gendoc.sh @@ -1,5 +1,6 @@ #!/bin/sh # a parallel doc generation script +cd "$(dirname "$(realpath "$0")")"; # exit on failure set -e --
[EGIT] [core/efl] feature/eo_theme 01/01: efl_ui_popup_alert: Remove unnecessary elm_layout_sizing_eval
jaehyun pushed a commit to branch feature/eo_theme. http://git.enlightenment.org/core/efl.git/commit/?id=2fb702b811ca1b346258f8b7ed747c59d409f332 commit 2fb702b811ca1b346258f8b7ed747c59d409f332 Author: Jaehyun Cho Date: Fri Dec 8 18:13:54 2017 +0900 efl_ui_popup_alert: Remove unnecessary elm_layout_sizing_eval --- src/lib/elementary/efl_ui_popup_alert.c | 17 - 1 file changed, 17 deletions(-) diff --git a/src/lib/elementary/efl_ui_popup_alert.c b/src/lib/elementary/efl_ui_popup_alert.c index 58922b12d8..bf659db386 100644 --- a/src/lib/elementary/efl_ui_popup_alert.c +++ b/src/lib/elementary/efl_ui_popup_alert.c @@ -23,20 +23,6 @@ static const char BUTTON_SWALLOW_NAME[EFL_UI_POPUP_ALERT_BUTTON_COUNT][20] = "elm.swallow.button2", "elm.swallow.button3"}; -EOLIAN static void -_efl_ui_popup_alert_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Alert_Data *pd EINA_UNUSED) -{ - elm_layout_sizing_eval(efl_super(obj, MY_CLASS)); - - ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); - Evas_Coord minw = -1, minh = -1; - - elm_coords_finger_size_adjust(1, &minw, 1, &minh); - edje_object_size_min_restricted_calc - (wd->resize_obj, &minw, &minh, minw, minh); - efl_gfx_size_hint_min_set(obj, EINA_SIZE2D(minw, minh)); -} - static Eina_Bool _efl_ui_popup_alert_text_set(Eo *obj, Efl_Ui_Popup_Alert_Data *pd, const char *part, const char *label) { @@ -223,7 +209,4 @@ ELM_PART_OVERRIDE_TEXT_GET(efl_ui_popup_alert, EFL_UI_POPUP_ALERT, Efl_Ui_Popup_ /* Efl.Part end */ -#define EFL_UI_POPUP_ALERT_EXTRA_OPS \ - ELM_LAYOUT_SIZING_EVAL_OPS(efl_ui_popup_alert) - #include "efl_ui_popup_alert.eo.c" --
[EGIT] [core/efl] feature/eo_theme 01/01: efl_ui_popup: Update size calculation logic
jaehyun pushed a commit to branch feature/eo_theme. http://git.enlightenment.org/core/efl.git/commit/?id=05007e59aaf7c2a54a50074c52bc38e38811d8ee commit 05007e59aaf7c2a54a50074c52bc38e38811d8ee Author: Jaehyun Cho Date: Fri Dec 8 18:11:09 2017 +0900 efl_ui_popup: Update size calculation logic Instead of doing size calculation whenever elm_layout_sizing_eval() is called, do size calculation when the object is rendered like efl_ui_layout. --- src/lib/elementary/efl_ui_popup.c | 27 +-- src/lib/elementary/efl_ui_popup.eo| 1 + src/lib/elementary/efl_ui_popup_private.h | 1 + 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_popup.c b/src/lib/elementary/efl_ui_popup.c index a270ea3740..7a43362320 100644 --- a/src/lib/elementary/efl_ui_popup.c +++ b/src/lib/elementary/efl_ui_popup.c @@ -239,8 +239,8 @@ _efl_ui_popup_efl_object_destructor(Eo *obj, Efl_Ui_Popup_Data *pd) efl_destructor(efl_super(obj, MY_CLASS)); } -EOLIAN static void -_efl_ui_popup_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) +static void +_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); Evas_Coord minw = -1, minh = -1; @@ -260,6 +260,29 @@ _efl_ui_popup_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) _calc_align(obj); } +EOLIAN static void +_efl_ui_popup_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd) +{ + if (pd->needs_size_calc) return; + pd->needs_size_calc = EINA_TRUE; + + evas_object_smart_changed(obj); +} + +EOLIAN static void +_efl_ui_popup_efl_canvas_group_group_calculate(Eo *obj, Efl_Ui_Popup_Data *pd) +{ + /* When elm_layout_sizing_eval() is called, just flag is set instead of size +* calculation. +* The actual size calculation is done here when the object is rendered to +* avoid duplicate size calculations. */ + if (pd->needs_size_calc) + { +_sizing_eval(obj, pd); +pd->needs_size_calc = EINA_FALSE; + } +} + /* Standard widget overrides */ ELM_PART_CONTENT_DEFAULT_SET(efl_ui_popup, "elm.swallow.content") diff --git a/src/lib/elementary/efl_ui_popup.eo b/src/lib/elementary/efl_ui_popup.eo index dd5032a2e3..8de3202db6 100644 --- a/src/lib/elementary/efl_ui_popup.eo +++ b/src/lib/elementary/efl_ui_popup.eo @@ -52,6 +52,7 @@ class Efl.Ui.Popup(Efl.Ui.Layout, Efl.Content) implements { Efl.Object.constructor; Efl.Object.destructor; + Efl.Canvas.Group.group_calculate; Efl.Gfx.position { set; } Efl.Gfx.size { set;} Efl.Gfx.visible { set; } diff --git a/src/lib/elementary/efl_ui_popup_private.h b/src/lib/elementary/efl_ui_popup_private.h index a62a654046..f018812389 100644 --- a/src/lib/elementary/efl_ui_popup_private.h +++ b/src/lib/elementary/efl_ui_popup_private.h @@ -9,6 +9,7 @@ struct _Efl_Ui_Popup_Data Efl_Ui_Popup_Align align; Ecore_Timer *timer; double timeout; + Eina_Bool needs_size_calc : 1; }; #endif --
[EGIT] [tools/clouseau] master 01/01: Client: delete extensions on close application.
nikawhite pushed a commit to branch master. http://git.enlightenment.org/tools/clouseau.git/commit/?id=0130202924dba6c1205e50d2416f62ff7415028e commit 0130202924dba6c1205e50d2416f62ff7415028e Author: Mykyta Biliavskyi Date: Fri Dec 8 10:14:23 2017 +0200 Client: delete extensions on close application. Summary: The Profiling viewer extension require to be notifyed that clouseau_client is closing. Another extensions also could require to make some routine before extension will be closed. Such as storing session info etc . Reviewers: i.furs, JackDanielZ, Deepwarrior Reviewed By: JackDanielZ, Deepwarrior Differential Revision: https://phab.enlightenment.org/D5608 --- src/bin/clouseau_client.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/bin/clouseau_client.c b/src/bin/clouseau_client.c index 4b60b99..9b6ccd3 100644 --- a/src/bin/clouseau_client.c +++ b/src/bin/clouseau_client.c @@ -935,6 +935,14 @@ save_load_perform(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev else _fs_activate(EINA_FALSE); } +static void +_main_window_del(void *data EINA_UNUSED, + Evas_Object *obj EINA_UNUSED, + void *event_info EINA_UNUSED) +{ + _all_extensions_delete(); +} + EAPI_MAIN int elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) { @@ -999,6 +1007,8 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); _main_widgets = gui_main_win_create(NULL); + evas_object_smart_callback_add(_main_widgets->main_win, "delete,request", + _main_window_del, NULL); for (i = 0; i < LAST_CONNECTION; i++) { --