platform/upstream/efl.git
6 years agosvg_parse: save global size variable to use when gradient size recalc
Vitalii Vorobiov [Tue, 14 Feb 2017 15:51:13 +0000 (17:51 +0200)]
svg_parse: save global size variable to use when gradient size recalc

For example while userSpaceOnUse it uses not figure's x,y,w,h
but entire canvas, so we need to save it publically and recalc while
parsing (or after)

6 years agovg_common: parse and store userSpaceOnUse (for gradient) when it is set
Vitalii Vorobiov [Tue, 14 Feb 2017 15:37:27 +0000 (17:37 +0200)]
vg_common: parse and store userSpaceOnUse (for gradient) when it is set

So it can be calculated during the draw later on

6 years agoefl_gfx_path: fix typo in _path_bounds_get
Vitalii Vorobiov [Mon, 13 Feb 2017 14:27:55 +0000 (16:27 +0200)]
efl_gfx_path: fix typo in _path_bounds_get

Wrong position was used while going through the array of
points

@fix

6 years agovg_loaders/svg: set up default focal values for radialGradient
Vitalii Vorobiov [Tue, 7 Feb 2017 16:59:03 +0000 (18:59 +0200)]
vg_loaders/svg: set up default focal values for radialGradient

Since when not specified, focal values same as center points
fx = cx, fy = cy by default

@fix

6 years agoector: use cairo_pattern_add_color_stop_rgba in gradient_radial
Vitalii Vorobiov [Tue, 7 Feb 2017 15:05:02 +0000 (17:05 +0200)]
ector: use cairo_pattern_add_color_stop_rgba in gradient_radial

It actually invoked SIGSEGV when trying to load SVG file with Radial
Gradient

@fix

6 years agosaver/svg: parse loaded tree data into svg XML file and save it
Vitalii Vorobiov [Tue, 31 Jan 2017 16:06:36 +0000 (18:06 +0200)]
saver/svg: parse loaded tree data into svg XML file and save it

Just base source code which will parse all structures of svg tree into
xml text to save current vector image into file

@feature

6 years agovg_savers/svg: empty (for now) module that will save svg in original file
Vitalii Vorobiov [Fri, 27 Jan 2017 11:54:47 +0000 (13:54 +0200)]
vg_savers/svg: empty (for now) module that will save svg in original file

Just as a starter to make a working background that, later on, will go
through Svg_Node's and build a certain source code to be saved in SVG
picture as a file

6 years agoevas_vg_cache: load svg from any file, not from defined only
Vitalii Vorobiov [Tue, 24 Jan 2017 12:12:29 +0000 (14:12 +0200)]
evas_vg_cache: load svg from any file, not from defined only

so it doesn't only load from eet or edj only
but also from those any extensions who is ACTUALLY eet, but named as,
for example, like, "file_with_svg.dev"

@fix

6 years agoevas: Fix invalid header protector
Jean-Philippe Andre [Tue, 7 Nov 2017 02:52:54 +0000 (11:52 +0900)]
evas: Fix invalid header protector

clang is smart enough to warn about this.
I've mentioned it multiple times...

6 years agoRemove evas internal dependency from the evas_font module
subhransu mohanty [Tue, 7 Nov 2017 02:22:09 +0000 (11:22 +0900)]
Remove evas internal dependency from the evas_font module

Summary:
dev branch : devs/subhransu/font

The Final goal is to move the evas_font module to ector so that both ector and evas can reuse the code.
make the api simple so that sam eapi can be used by evas_textblock and ector text.

This is the 1st stage to achive that gola, first remove the evas internal dependancy as much as possible before moving to ector library.

Reviewers: jpeg, raster, herdsman, cedric, id213sin

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5419

6 years agoelm: Try to fix compilation (link) for OSX
Jean-Philippe Andre [Tue, 7 Nov 2017 01:39:28 +0000 (10:39 +0900)]
elm: Try to fix compilation (link) for OSX

6 years agoevas: Add some crash prevention checks
Jean-Philippe Andre [Mon, 6 Nov 2017 07:36:23 +0000 (16:36 +0900)]
evas: Add some crash prevention checks

This could happen if objects still have references while evas is being
shut down (a bad situation).

6 years agotests: Fix make check for atspi beta APIs
Jean-Philippe Andre [Mon, 6 Nov 2017 07:18:42 +0000 (16:18 +0900)]
tests: Fix make check for atspi beta APIs

See 5c997b3aaac6277b8c4965ee8e90d05e1959ac05
Ref D5365

6 years agocxx: (Temporary) fix for make check
Jean-Philippe Andre [Mon, 6 Nov 2017 06:55:54 +0000 (15:55 +0900)]
cxx: (Temporary) fix for make check

This fixes the C++ compilation tests.

list<int> is not allowed by eolian anymore, as the semantics were
unclear whether a pointer to int was passed, or if the int was stuffed
inside the list by casting.

ptr(string) is also not allowed as it's a pointer to a pointer type.

Both of the above types are strange when it comes to bindings. While C++
could probably be made to work, it's not clear we could have such types
in other bindings. Those types are in fact likely not so useful, as most
APIs can be designed around those restrictions.

6 years agocxx: Fix log color in eina_log.hh
Jean-Philippe Andre [Mon, 6 Nov 2017 06:23:20 +0000 (15:23 +0900)]
cxx: Fix log color in eina_log.hh

Changed from invalid "black" to arbitrary choice of green.

6 years agoelm: Fix examples/tests using elementary_config
Jean-Philippe Andre [Mon, 6 Nov 2017 06:12:21 +0000 (15:12 +0900)]
elm: Fix examples/tests using elementary_config

elementary_config.h should not even exist. It's been hijacked as a
private header for elementary, but all "real" configuration is stored in
efl's main config.h now.

6 years agocxx: Fix some examples, disable or remove others
Jean-Philippe Andre [Mon, 6 Nov 2017 05:25:22 +0000 (14:25 +0900)]
cxx: Fix some examples, disable or remove others

make examples now builds all c++ examples but some of them are in fact
empty skeletons. Those either need some c++ love or the final eo api to
be ready (eg. menu, popup, ...).

I removed some examples that don't have an exact equivalent in EO since
the widget is legacy only.

6 years agocxx: Add beta define to Evas.hh
Jean-Philippe Andre [Mon, 6 Nov 2017 05:23:57 +0000 (14:23 +0900)]
cxx: Add beta define to Evas.hh

This is probably temporary as well, but it's necessary to make examples
compile (with rectangle).

6 years agocxx: Fix binding temporarily (efl/interfaces)
Jean-Philippe Andre [Mon, 6 Nov 2017 05:22:33 +0000 (14:22 +0900)]
cxx: Fix binding temporarily (efl/interfaces)

This uses the new cref keyword instead of inout, as the c++ code has no
access to the internals of struct Efl.Text.Cursor.Cursor

Something tells me cref may not be the perfect solution here (we lose
information on whether this is in, out or inout).

6 years agocxx: Fix ifdef protections in function impl
Jean-Philippe Andre [Mon, 6 Nov 2017 04:37:18 +0000 (13:37 +0900)]
cxx: Fix ifdef protections in function impl

Mote: for protected we should use "protected:" if that is somehow
possible.

6 years agocxx: Add support for operator == with objects
Jean-Philippe Andre [Mon, 6 Nov 2017 03:26:05 +0000 (12:26 +0900)]
cxx: Add support for operator == with objects

6 years agocxx: Modify button example with wref
Jean-Philippe Andre [Thu, 2 Nov 2017 09:42:09 +0000 (18:42 +0900)]
cxx: Modify button example with wref

This is more of an experiment than anything else.
@felipealmeida I would like to know what you think.

Notes:
 - events still need a better API (event_add isn't part of the object
   definition...).
 - references are an issue, when you want to actually delete an object.

6 years agocxx: Add experimental "easy" way to use wref
Jean-Philippe Andre [Thu, 2 Nov 2017 09:39:47 +0000 (18:39 +0900)]
cxx: Add experimental "easy" way to use wref

I hid it behind ifdef for now as I'm very much unsure of what I'm doing.
This whole modern C++ thing is still weird to me :)

Prerequisite:
 #define EFL_CXX_WREF_EASY

This allows constructs such as:

  auto wobj = obj._get_wref();
  std::cout << wobj->text_get() << std::endl;

6 years agocxx: Add _get_wref() convenience to all classes
Jean-Philippe Andre [Thu, 2 Nov 2017 09:14:59 +0000 (18:14 +0900)]
cxx: Add _get_wref() convenience to all classes

This allows constructs like:

  auto w_obj = obj._get_wref();
  auto cb = std::bind([w_obj]() {
    auto o = w_obj.lock();
    if (!o) return;
    o->call();
  });
  event_add(..., obj, cb);

Note: I don't like how those wref work. Close to c++ wref but far from
EFL wref.

6 years agocxx: Mark wref::lock as const
Jean-Philippe Andre [Thu, 2 Nov 2017 08:59:17 +0000 (17:59 +0900)]
cxx: Mark wref::lock as const

This allows passing in wref to a lambda.
If we passed normal refs, we would end up with dangling references and
many ERR messages.

6 years agocxx: Add nullptr constructor for weak refs
Jean-Philippe Andre [Thu, 2 Nov 2017 05:26:59 +0000 (14:26 +0900)]
cxx: Add nullptr constructor for weak refs

This allows constructs such as:

  wref_obj = obj;
  ...
  wref_obj = nullptr;

6 years agocxx: Completely rewrite box example
Jean-Philippe Andre [Thu, 2 Nov 2017 03:13:53 +0000 (12:13 +0900)]
cxx: Completely rewrite box example

This was showing off box transitions, which don't exist in EO API.

6 years agocxx: Fix a few examples
Jean-Philippe Andre [Wed, 1 Nov 2017 13:42:04 +0000 (22:42 +0900)]
cxx: Fix a few examples

 - Calendar: Some examples can't be ported. Not good.
 - Toolbar: Needs the new API to be completed.
 - Clock: Crashes at runtime.

Ping @felipealmeida

6 years agocxx: Instantiate objects with 2 refs
Jean-Philippe Andre [Wed, 1 Nov 2017 13:01:11 +0000 (22:01 +0900)]
cxx: Instantiate objects with 2 refs

This is the original meaning of efl_add_ref().
Somehow the "ref" bool was set to true in the first call, and false in
the second call.

6 years agocxx: Place beta API declarations behind ifdef
Jean-Philippe Andre [Wed, 1 Nov 2017 12:59:17 +0000 (21:59 +0900)]
cxx: Place beta API declarations behind ifdef

NOTE: protected APIs are placed behind ifdef as well in the
implementation file. This makes sense since the define is required for
the C code to compile, but this isn't what @protected means.

6 years agodocs: be better at a responsive layout when embedded
Andy Williams [Mon, 6 Nov 2017 18:43:06 +0000 (18:43 +0000)]
docs: be better at a responsive layout when embedded

6 years agoedje_pick: Fix segfault due to wrong memory free
Jeeyong Um [Mon, 6 Nov 2017 15:34:32 +0000 (00:34 +0900)]
edje_pick: Fix segfault due to wrong memory free

6 years agoevas-object-main: Fix potential null dereference
Chris Michael [Mon, 6 Nov 2017 15:17:29 +0000 (10:17 -0500)]
evas-object-main: Fix potential null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). As such, we should not be calling
_event_animation_object_get with a null object so add a null check here.

Fixes Coverity CID1381713

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-object-main: Fix null dereference
Chris Michael [Mon, 6 Nov 2017 15:13:08 +0000 (10:13 -0500)]
evas-object-main: Fix null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). The _all_animation_objects_cancel function
directly dereferences the obj parameter passed into it, so lets null check it
before calling that function.

Fixes Coverity CID1381711

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-object-main: Fix null dereference
Chris Michael [Mon, 6 Nov 2017 15:10:50 +0000 (10:10 -0500)]
evas-object-main: Fix null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). The _all_animation_objects_cancel function directly
dereferences the obj parameter passed into it, so lets null check it
before calling that function.

Fixes Coverity CID1381710

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoemotion: Fix data race condition
Chris Michael [Mon, 6 Nov 2017 15:07:48 +0000 (10:07 -0500)]
emotion: Fix data race condition

Coverity reports that we access vfmapped here without holding a lock.
This patch implements eina_lock_take/release while accessing
priv->vfmapped.

Fixes Coverity CID1381624

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-wayland-shm: Do not dereference a potentially freed pointer
Chris Michael [Mon, 6 Nov 2017 15:02:35 +0000 (10:02 -0500)]
evas-wayland-shm: Do not dereference a potentially freed pointer

Coverity reports that _evas_dmabuf_buffer_init function here can
potentially free the surface that was passed into it. If that happens,
we should not be calling the _fallback function with surface as the
parameter as that will directly dereference the freed pointer.

Fixes Coverity CID1381707

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-gl-cocoa: Remove need for useless region_free function
Chris Michael [Mon, 6 Nov 2017 14:28:53 +0000 (09:28 -0500)]
evas-gl-cocoa: Remove need for useless region_free function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-gl-drm: Remove need for useless region_free function
Chris Michael [Mon, 6 Nov 2017 14:27:39 +0000 (09:27 -0500)]
evas-gl-drm: Remove need for useless region_free function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-gl-sdl: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:26:13 +0000 (09:26 -0500)]
evas-gl-sdl: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-gl-x11: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:25:19 +0000 (09:25 -0500)]
evas-gl-x11: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-wayland-egl: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:23:13 +0000 (09:23 -0500)]
evas-wayland-egl: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-wayland-shm: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:21:59 +0000 (09:21 -0500)]
evas-wayland-shm: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-software-x11: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:19:20 +0000 (09:19 -0500)]
evas-software-x11: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-software-gdi: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:17:02 +0000 (09:17 -0500)]
evas-software-gdi: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-software-ddraw: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:15:54 +0000 (09:15 -0500)]
evas-software-ddraw: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-eglfs: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:14:14 +0000 (09:14 -0500)]
evas-eglfs: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-drm: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:13:12 +0000 (09:13 -0500)]
evas-drm: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-software-generic: Check for render engine function before calling
Chris Michael [Mon, 6 Nov 2017 14:10:28 +0000 (09:10 -0500)]
evas-software-generic: Check for render engine function before calling

In most engines which inherit from software_generic, they do not
implement the outbuf_free_region_for_update function. Most engines
have it as an unused function. If we simply add a check here, then we
can reduce the need for having useless function in multiple engines.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoefl_ui_calendar: apply efl_ui_focus_composition
WooHyun Jung [Mon, 6 Nov 2017 07:28:29 +0000 (16:28 +0900)]
efl_ui_calendar: apply efl_ui_focus_composition

6 years agoevas textblock: handle ellipsis when text's height exceed its area by "br"
Youngbok Shin [Mon, 6 Nov 2017 02:29:43 +0000 (11:29 +0900)]
evas textblock: handle ellipsis when text's height exceed its area by "br"

Summary:
Textblock's ellipsis feature only worked when text's width exceeds its area.
So, it didn't work when text's height exceeds its area by "br" tags.
This patch will do ellipsis when only ellipsis=1.0 is set.
@fix

Test Plan: make check

Reviewers: herdsman, raster, cedric, jpeg, sohyun

Reviewed By: raster

Subscribers: woohyun

Differential Revision: https://phab.enlightenment.org/D5412

6 years agogitignores - update for new pc files
Carsten Haitzler (Rasterman) [Mon, 6 Nov 2017 02:25:26 +0000 (11:25 +0900)]
gitignores - update for new pc files

6 years agoedje: don't return negative width and height from _parts_extends
Youngbok Shin [Mon, 6 Nov 2017 02:06:41 +0000 (11:06 +0900)]
edje: don't return negative width and height from _parts_extends

Summary:
It should return width and height with positive values or zero.
@fix

Test Plan: make check

Reviewers: raster, jpeg, cedric

Reviewed By: raster

Subscribers: jiin.moon

Differential Revision: https://phab.enlightenment.org/D5422

6 years agoAdding danish translation
maxerba [Sun, 5 Nov 2017 11:22:51 +0000 (12:22 +0100)]
Adding danish translation

6 years agoeo: fix typo.
Cedric Bail [Sat, 4 Nov 2017 20:26:21 +0000 (13:26 -0700)]
eo: fix typo.

Thanks Gustavo.

6 years agoedje_cc_script: remove build warning
Sungtaek Hong [Sat, 4 Nov 2017 05:41:44 +0000 (14:41 +0900)]
edje_cc_script: remove build warning

Summary: initiate pointer var with NULL to remove build warning

Reviewers: conr2d

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5423

6 years agoeo: add helper to manipulate Eo object as Eina_Value.
Cedric Bail [Mon, 30 Oct 2017 23:08:09 +0000 (16:08 -0700)]
eo: add helper to manipulate Eo object as Eina_Value.

6 years agoeo: refactor use of efl_replace.
Cedric Bail [Mon, 30 Oct 2017 23:02:58 +0000 (16:02 -0700)]
eo: refactor use of efl_replace.

6 years agoeina: add a function return a reference to a copy of Eina_Value.
Cedric BAIL [Fri, 3 Nov 2017 22:19:25 +0000 (15:19 -0700)]
eina: add a function return a reference to a copy of Eina_Value.

6 years agoelm_code: Trying some markdown syntax, this is complex
Andy Williams [Fri, 3 Nov 2017 21:05:08 +0000 (21:05 +0000)]
elm_code: Trying some markdown syntax, this is complex

6 years agoelm_code: Trying some markdown syntax, this is complex
Andy Williams [Fri, 3 Nov 2017 21:03:58 +0000 (21:03 +0000)]
elm_code: Trying some markdown syntax, this is complex

6 years agoedje_recc: don't use negative exit code in a /bin/sh script
Derek Foreman [Fri, 3 Nov 2017 20:46:11 +0000 (15:46 -0500)]
edje_recc: don't use negative exit code in a /bin/sh script

Apparently this isn't well supported by dash, which will print an
error and return a 2, where zsh and bash will return 255.

Explicitly returning 255 seems least surprising.

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772322

 #IHaveNoIdeaWhatThisScriptDoes

6 years agoA more readable layout for doxygen landing page
Andy Williams [Fri, 3 Nov 2017 18:17:53 +0000 (18:17 +0000)]
A more readable layout for doxygen landing page

Also moved out the C++ reference as that should be separate.
(C++ link now on the main /docs page)

6 years agoeolian: disallow ptr() on things that are already pointer-like
Daniel Kolesa [Fri, 3 Nov 2017 14:30:10 +0000 (15:30 +0100)]
eolian: disallow ptr() on things that are already pointer-like

This disallows deeply nested pointers, you can only explicitly
ptr() on types that are strictly value types.

For a few cases where it was necessary to override this behavior,
you can use legacy(ptr(x)) as a temporary measure.

6 years agoecore_evas: always find a source for ticking legacy animator.
Cedric Bail [Thu, 2 Nov 2017 22:21:37 +0000 (15:21 -0700)]
ecore_evas: always find a source for ticking legacy animator.

As we do not know when a window won't be able to tick, and we do
not know which window a legacy animator is attached to, we require
all windows to tick as often as they can and only generate one tick
per loop run.

This might need more adjustement especially with multi output.

6 years agoCorrect struct labelling
Andy Williams [Thu, 2 Nov 2017 20:57:47 +0000 (20:57 +0000)]
Correct struct labelling

Avoids linking every occurrence of 'The'

6 years agocxx: fix application build error
Daniel Zaoui [Thu, 2 Nov 2017 18:46:49 +0000 (20:46 +0200)]
cxx: fix application build error

gesture files are not found because the include path is not supplied by
pkg-config.

6 years agoeo files: convert various to use @cref
Daniel Kolesa [Thu, 2 Nov 2017 15:40:42 +0000 (16:40 +0100)]
eo files: convert various to use @cref

6 years agoefl-ui-focus-manager: Remove set but not used variable
Chris Michael [Thu, 2 Nov 2017 14:05:56 +0000 (10:05 -0400)]
efl-ui-focus-manager: Remove set but not used variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoelm radio: fix build of things that don't enable eo APIs
Daniel Kolesa [Thu, 2 Nov 2017 13:48:52 +0000 (14:48 +0100)]
elm radio: fix build of things that don't enable eo APIs

6 years agodocgen: better space out includes
Daniel Kolesa [Thu, 2 Nov 2017 13:36:00 +0000 (14:36 +0100)]
docgen: better space out includes

6 years agodocgen: fix generation and generate notes correctly
Daniel Kolesa [Thu, 2 Nov 2017 13:29:20 +0000 (14:29 +0100)]
docgen: fix generation and generate notes correctly

6 years agoeolian: fix tests following the container restrictions
Daniel Kolesa [Thu, 2 Nov 2017 13:03:30 +0000 (14:03 +0100)]
eolian: fix tests following the container restrictions

6 years agoeio: properly mark array contents as ptr
Daniel Kolesa [Thu, 2 Nov 2017 12:53:14 +0000 (13:53 +0100)]
eio: properly mark array contents as ptr

6 years agoeolian: only allow reference (ownable) types in containers
Daniel Kolesa [Thu, 2 Nov 2017 12:51:02 +0000 (13:51 +0100)]
eolian: only allow reference (ownable) types in containers

6 years agoUpdate my name in more places
Andy Williams [Thu, 2 Nov 2017 10:34:05 +0000 (10:34 +0000)]
Update my name in more places

6 years agoUpdate auto API doc styling to match main website
Andy Williams [Thu, 2 Nov 2017 10:27:05 +0000 (10:27 +0000)]
Update auto API doc styling to match main website

Not perfect, but it's a good start

6 years agoelm test: panes - revert the code
Amitesh Singh [Thu, 2 Nov 2017 08:37:25 +0000 (17:37 +0900)]
elm test: panes - revert the code

test_panes.c code was added into previous patch by accident.

6 years agoEfl.Ui.Radio: remove value{} api
Amitesh Singh [Thu, 2 Nov 2017 08:26:12 +0000 (17:26 +0900)]
Efl.Ui.Radio: remove value{} api

Efl.Ui.Nstate already implements value{}.

@fix

6 years agoecore_evas: if an async rendering is still going on, there won't be a new one starting.
Cedric BAIL [Wed, 1 Nov 2017 22:33:44 +0000 (15:33 -0700)]
ecore_evas: if an async rendering is still going on, there won't be a new one starting.

6 years agoecore_evas: do not propagate drawing change blindly from sub surface to parent.
Cedric BAIL [Wed, 1 Nov 2017 22:25:53 +0000 (15:25 -0700)]
ecore_evas: do not propagate drawing change blindly from sub surface to parent.

It is not because a round of rendering happen for a child, that it result in
actually drawing anything in the parent. The parent will always be aware of
the rendering request of the sub surface and we should only track what the
parent think.

T6049

Tested-by: Derek Foreman <derekf@osg.samsung.com>
6 years agoefl_ui_radio: remove some legacy code
Sungtaek Hong [Wed, 1 Nov 2017 17:15:48 +0000 (10:15 -0700)]
efl_ui_radio: remove some legacy code

Summary:
This uses constructor/destructor instead of group_add/group_del.

Note: finalize can't be used for theme loading as any action done
inside
efl_add(...) would be lost (eg. part text set).

Test Plan: 1) run elementary_test -to radio

Reviewers: jpeg, woohyun, cedric

Subscribers: akanad

Differential Revision: https://phab.enlightenment.org/D5404

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas-wayland-shm: Fix formatting
Chris Michael [Thu, 26 Oct 2017 18:23:23 +0000 (14:23 -0400)]
evas-wayland-shm: Fix formatting

Make this line readable in 80 columns

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas: Minor formatting fixes
Chris Michael [Tue, 5 Sep 2017 15:48:52 +0000 (11:48 -0400)]
evas: Minor formatting fixes

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-drm: Fix formatting
Chris Michael [Wed, 30 Aug 2017 14:04:31 +0000 (10:04 -0400)]
evas-drm: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoefl_ui_focus_manager: remove strange naming of a function
Marcel Hollerbach [Wed, 1 Nov 2017 14:25:00 +0000 (15:25 +0100)]
efl_ui_focus_manager: remove strange naming of a function

this is just normal next or prev, the prepare is done on the caller side
now

6 years agoefl_ui_focus_manager: improve debug informations
Marcel Hollerbach [Wed, 1 Nov 2017 14:24:36 +0000 (15:24 +0100)]
efl_ui_focus_manager: improve debug informations

6 years agoecore-drm2: Fix issue of not being able to set output mode
Chris Michael [Wed, 1 Nov 2017 12:52:03 +0000 (08:52 -0400)]
ecore-drm2: Fix issue of not being able to set output mode

If we pass in screen geometry here when trying to set an output mode,
we can encounter "out of memory" errors from libdrm with outputs
that have a high resolution. As it turns out, we should be passing 0, 0 for
the x/y values when trying to set an output mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoefl_ui_win: revert accidental override remove
Daniel Kolesa [Wed, 1 Nov 2017 12:40:09 +0000 (13:40 +0100)]
efl_ui_win: revert accidental override remove

6 years agoelm: mark access interfaces as beta
Lukasz Stanislawski [Wed, 1 Nov 2017 12:31:46 +0000 (21:31 +0900)]
elm: mark access interfaces as beta

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5365

6 years agoelm: Major cleanup of EO files
Jean-Philippe Andre [Wed, 1 Nov 2017 06:16:30 +0000 (15:16 +0900)]
elm: Major cleanup of EO files

This prevents legacy EO classes from being exposed through .eo.h headers
or .eo in share/eolian/includes. Also removes a slew of useless xxx_eo.h
intermediate headers.

Notes:
 - elm_systray has no proper API: it's not clear if the EO API should be
   released (in which case it needs to be renamed to efl_something) and
   there is no legacy API to create a systray object.
 - Some files have been placed in a "FIXME" section, as I believe they
   are necessary within EO land, but at the same time still don't
   conform to the interfaces (eg. name starts with elm_).
 - elm_interface_scrollable is required by photocam. This means photocam
   needs to be adapted to fit the EO scroller API (still to be
   completed, I believe).

Bugs:
 - This breaks most C++ examples. I KNOW. And I'm working on it.

Ref T5301

6 years agoeolian: add part validation (including dup check with funcs)
Daniel Kolesa [Wed, 1 Nov 2017 12:19:33 +0000 (13:19 +0100)]
eolian: add part validation (including dup check with funcs)

6 years agoelementary: use @cref where possible
Daniel Kolesa [Wed, 1 Nov 2017 11:10:05 +0000 (12:10 +0100)]
elementary: use @cref where possible

6 years agoeolian: add @cref as alternative to @in
Daniel Kolesa [Wed, 1 Nov 2017 11:00:14 +0000 (12:00 +0100)]
eolian: add @cref as alternative to @in

This is a "pass by reference to const" equivalent. There is no explicit pointer
and currently it's the same as ptr(const(x)) on the type. However, it is also
usable on properties.

6 years agoGenlist Item Pin Feature
Godly T.Alias [Wed, 1 Nov 2017 07:11:30 +0000 (16:11 +0900)]
Genlist Item Pin Feature

Summary:
**@feature** T6241

This feature enables genlist to pin an item to viewport which will
be available always for user to view/select.

**Use Case**:
In a big list of music, most times when user finds a song which they
like, before playing that they may want to go through the entire list
to check whether there is some other good songs, but
after seeing the entire list user have to again scroll back to the
position of item which they liked to play it then.
In this case item pinning can be used, so that the item
which they want to keep for future selection can be pinned
and then it will remain in viewport, finally when user want to do
operation on item, it will be readily available in viewport.

Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Test Plan: Elementary Test -> Genlist -> Double click on items to enable/disable pinning

Reviewers: raster, cedric, prince.dubey, SanghyeonLee

Subscribers: rajeshps, jpeg, shilpasingh

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5340

6 years agoEcore_Imf: fix wrong annotation and enum name
JinYong Park [Wed, 1 Nov 2017 04:09:17 +0000 (13:09 +0900)]
Ecore_Imf: fix wrong annotation and enum name

Summary:
There are wrong annotation about version and wrong enum name
so fix that.

Reviewers: jpeg, cedric, akanad

Differential Revision: https://phab.enlightenment.org/D5403

6 years agoEet: fix wrong doxygen definition
JinYong Park [Wed, 1 Nov 2017 04:08:58 +0000 (13:08 +0900)]
Eet: fix wrong doxygen definition

Summary:
Eet_Image_Encoding and Eet_Colorclass is from enumeration in Emile,
but it's definition is typedef, not enum.

It makes broken link like below webpage.
https://docs.enlightenment.org/efl/current/group__Eet__File__Image__Group.html

In above page, Eet_Image_Encoding is not linked.

So doxygen documentation should be changed to typedef.

Reviewers: cedric, jpeg, myoungwoon, conr2d

Differential Revision: https://phab.enlightenment.org/D5411

6 years agoElm_Entry: Add annotation to unnamed enum
JinYong Park [Wed, 1 Nov 2017 04:08:36 +0000 (13:08 +0900)]
Elm_Entry: Add annotation to unnamed enum

Summary:
There are unnamed enumeration in Elm_Entry,
so add annotation and names like D5376 (https://phab.enlightenment.org/D5376)

Reviewers: jpeg, cedric, myoungwoon

Differential Revision: https://phab.enlightenment.org/D5401

6 years agoeina: Fix spelling errors in documentation (log..matrix)
Bryce Harrington [Wed, 1 Nov 2017 02:36:50 +0000 (11:36 +0900)]
eina: Fix spelling errors in documentation (log..matrix)

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

Differential Revision: https://phab.enlightenment.org/D5417

6 years agoevas: Move evas_canvas.eo to legacy-only
Jean-Philippe Andre [Tue, 31 Oct 2017 07:36:32 +0000 (16:36 +0900)]
evas: Move evas_canvas.eo to legacy-only

This isn't meant to be installed. The canvas API in EO is based around
the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is
not EO (eg: ecore_evas, evas, ...)

Note: evas_canvas3d is the last remaining thing that is installed along
EO files, but those are all beta APIs.