platform/upstream/efl.git
8 years agoevas textblock - fix deref before null check shown by coverity
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 03:07:10 +0000 (12:07 +0900)]
evas textblock - fix deref before null check shown by coverity

fixes CID 1356927

8 years agoelput - simplify and fix handling of string overflow with xdg runtimedir
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 03:01:51 +0000 (12:01 +0900)]
elput - simplify and fix handling of string overflow with xdg runtimedir

this addresses an issue pointed to by CID 1357168

8 years agoelput - remove pointless code in handling touch event
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 02:57:30 +0000 (11:57 +0900)]
elput - remove pointless code in handling touch event

i commented the pointless code out. this fixes CID 1357145

8 years agoelm atspi bridge - fix resource leak
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 02:49:59 +0000 (11:49 +0900)]
elm atspi bridge - fix resource leak

previous fix brought out a new leak not found before by coverity.

fix CID 1353602

8 years agoevas gl generic - fix ector end to place return in right var
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 02:43:12 +0000 (11:43 +0900)]
evas gl generic - fix ector end to place return in right var

fixes new CID 1357394

8 years agoedje_cc - fix new coverity issue
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 02:39:31 +0000 (11:39 +0900)]
edje_cc - fix new coverity issue

fix CID 1357395

8 years agoedje: fix build without ephysics.
Cedric Bail [Fri, 8 Jul 2016 21:16:39 +0000 (14:16 -0700)]
edje: fix build without ephysics.

T4050

8 years agoedje: add a helper for recursive searching in hash
Jee-Yong Um [Fri, 8 Jul 2016 17:50:16 +0000 (10:50 -0700)]
edje: add a helper for recursive searching in hash

Summary:
If color class of an edje part is defined as "aaa/bbb/ccc/ddd",
edje will search for color class by the following sequence.
   "aaa/bbb/ccc/ddd"
   "aaa/bbb/ddd"
   "aaa/ddd"
   "ddd"
So, without additional lookup table, edje classes (color, text, size)
can have the functionality like inheritance.

Reviewers: jpeg, raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoedje_player: create scene in the edje_player if there are some 3D-components
perepelits.m [Fri, 8 Jul 2016 17:13:14 +0000 (10:13 -0700)]
edje_player: create scene in the edje_player if there are some 3D-components

Summary: check if the size of scene is bigger than 0x0 and build 3D scene in the edje_player in this case and use "opengl_x11"

Reviewers: Hermet, jpeg, cedric

Subscribers: NikaWhite, Oleksander, artem.popov, cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agospinner: fix entry align of spinner.
Woochan Lee [Fri, 8 Jul 2016 17:03:57 +0000 (10:03 -0700)]
spinner: fix entry align of spinner.

Summary:
Spinner's entry align changed to center.
(Makes same align with spinner's text.)

Test Plan: elementary_test

Reviewers: jpeg

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelput: Fix horrid typo
Chris Michael [Fri, 8 Jul 2016 12:54:45 +0000 (08:54 -0400)]
elput: Fix horrid typo

Not sure how this happened, but use a ; not a : ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelput: Fix insecure temporary file
Chris Michael [Fri, 8 Jul 2016 12:48:27 +0000 (08:48 -0400)]
elput: Fix insecure temporary file

Fix using mkstemp directly without securely setting umask first by
making use of eina_file_mkstemp which does set unmask.

Fixes Coverity CID1357165

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-wayland-shm: Fix Insecure temporary file
Chris Michael [Fri, 8 Jul 2016 12:46:12 +0000 (08:46 -0400)]
evas-wayland-shm: Fix Insecure temporary file

Fix using mkstemp directly without securely setting umask first by
making use of eina_file_mkstemp function which does set umask.

Fixes Coverity CID1357164

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelm: Fix potential null point dereferences.
Wonki Kim [Fri, 8 Jul 2016 12:28:18 +0000 (21:28 +0900)]
elm: Fix potential null point dereferences.

Summary:
If every assigning logics to enginelist is not performed some how,
system will crash because the first parameter of strcmp is null.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, Hermet, raster, jpeg

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

8 years agoedje: fix the map state issue.
Hermet Park [Fri, 8 Jul 2016 12:16:16 +0000 (21:16 +0900)]
edje: fix the map state issue.

While the part state switching, map won't gonna be disabled again,
due to the incorrect state checking.

If there param1 indicates the current state with map off.
then it should disable the map obviously.
But It assumed the param1 is the previous state, not the current!,
so the map didn't go disabled state.

It was intended to avoid the duplicated map state setting.
So to keeping the intention, now it disable the map, only if
the map is actually enabled.

So both are fine.

@fix

8 years agoeina thread - fix window build with sigprocmask
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 12:09:17 +0000 (21:09 +0900)]
eina thread - fix window build with sigprocmask

fixes T4048

8 years agoecore-drm2: Perform input device calibration based on output name
Chris Michael [Thu, 7 Jul 2016 18:34:47 +0000 (14:34 -0400)]
ecore-drm2: Perform input device calibration based on output name

When a new input device gets added, device calibration may need to be
performed. In order for that to be done properly, we need to know
which output this input device is associated with. This patch makes a
function call to Elput in order to retrieve that output name and
perform the proper calibration.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoelput: Add API function to return output name associated with input
Chris Michael [Thu, 7 Jul 2016 18:33:38 +0000 (14:33 -0400)]
elput: Add API function to return output name associated with input
device

This patch adds a new API function which we can call from Ecore_Drm2
which will return the name of an output which is associated with a
given input device. This output name can then be used to find a
matching output, and perform any device calibration that is needed.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoemotion xine module - silence coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 10:15:10 +0000 (19:15 +0900)]
emotion xine module - silence coverity

silence CID 1357140 as its harmless to not check fcntl here, but dont
confuse coverity.

8 years agoemotion vlc module - fix potential divide by 0
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 10:12:41 +0000 (19:12 +0900)]
emotion vlc module - fix potential divide by 0

fix CID 1357146

8 years agoemotion xine module - silence coverity complaint
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 10:06:57 +0000 (19:06 +0900)]
emotion xine module - silence coverity complaint

getting the fd from a valid fd handler wont return < 0 but in theory
it can, so just be silent coverity

silence CID 1357155

8 years agoemotion xine module - fix minor complaints but not bugs
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 10:02:50 +0000 (19:02 +0900)]
emotion xine module - fix minor complaints but not bugs

silence CID 1357156 , 1357172

8 years agoevas module load - make coverity happy but not a bug
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:59:21 +0000 (18:59 +0900)]
evas module load - make coverity happy but not a bug

silence CID 1357364

8 years agoedje cc mo encoding leak - ensure data is freed when setting up encoding
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:53:11 +0000 (18:53 +0900)]
edje cc mo encoding leak - ensure data is freed when setting up encoding

this should fix CID 1306604

8 years agoelm_prefs_cc - clean up return with added brackets to be clear
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:33:02 +0000 (18:33 +0900)]
elm_prefs_cc - clean up return with added brackets to be clear

it seems coverity gets confused with the sizeof(c) / sizeof(type). add
() hoping it will silence it. this is related to:

CID 1353600 and 1353599

8 years agoelm_prefs_cc - fix correct struct size calculation
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:24:06 +0000 (18:24 +0900)]
elm_prefs_cc - fix correct struct size calculation

use correct struct type even though previous struct was the same size
and it wasnt an actual bug - but a potential one.

8 years agoeio model - fix leak found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:15:05 +0000 (18:15 +0900)]
eio model - fix leak found by coverity

fix CID 1355012

8 years agogl generic ector leak - fix not using return value of eng_image_data_put
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 08:13:17 +0000 (17:13 +0900)]
gl generic ector leak - fix not using return value of eng_image_data_put

this fixes CID 1339963

@fix

8 years agoecotr gl - fix leak found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 08:08:37 +0000 (17:08 +0900)]
ecotr gl - fix leak found by coverity

fix CID 1347412

8 years agoelm map - fix coverity found leak in xml parsing
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 08:00:48 +0000 (17:00 +0900)]
elm map - fix coverity found leak in xml parsing

fix CID 1352814

8 years agoelm map - fix mem leak in xml parsing found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 07:58:05 +0000 (16:58 +0900)]
elm map - fix mem leak in xml parsing found by coverity

fix CID 1352815

8 years agoatspi bridge - fix leak on error found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:57:50 +0000 (15:57 +0900)]
atspi bridge - fix leak on error found by coverity

fix CID 1353602

8 years agoatspi bridge - fix leak on error found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:48:58 +0000 (15:48 +0900)]
atspi bridge - fix leak on error found by coverity

fix CID 1353604

8 years agoedje cc - fix leake found by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:38:52 +0000 (15:38 +0900)]
edje cc - fix leake found by coverity

fixes CID 1355586

8 years agoedje cc - fix leak of name string on edje compilation time
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:36:39 +0000 (15:36 +0900)]
edje cc - fix leak of name string on edje compilation time

fixes CID 1355587

8 years agoedje edit - fix leaks spotted by coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:33:19 +0000 (15:33 +0900)]
edje edit - fix leaks spotted by coverity

fixes CID 1356630

8 years agoelm cnp - wl - fix memory leak
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:16:06 +0000 (15:16 +0900)]
elm cnp - wl - fix memory leak

fix memory leak specified in CID 1357160 , 1357159 , 1357158 , 1357157

8 years agoelm: Fix cnp crash on WL
Jean-Philippe Andre [Fri, 8 Jul 2016 05:33:01 +0000 (14:33 +0900)]
elm: Fix cnp crash on WL

See D4144.

Original author: @slotus.lee

SEG_FAULT happens when the object which has selection is deleted,
and new selection is done at another object.
Reason: loss_cb is not removed when the object which has selection is deleted.
When new selection is set for new object, the loss_cb is called for deleted
object. As result, SEG_FAULT happens.
This issue was also happened in X11 (https://phab.enlightenment.org/D2763)

Test plan:
(on wayland environment) Run elementary test, open Entry, do selection,
close Entry window, open Entry one more time, do selection.

8 years agoevas: Fix warning about unused function
Jean-Philippe Andre [Fri, 8 Jul 2016 03:26:55 +0000 (12:26 +0900)]
evas: Fix warning about unused function

I kept it here for the record. It was useful, could be useful
again.

8 years agoeo: Fix warnins (return NULL instead of bool)
Jean-Philippe Andre [Fri, 8 Jul 2016 03:26:07 +0000 (12:26 +0900)]
eo: Fix warnins (return NULL instead of bool)

8 years agoecore: Fix warning about err_no
Jean-Philippe Andre [Fri, 8 Jul 2016 03:24:42 +0000 (12:24 +0900)]
ecore: Fix warning about err_no

Double warning, yay:
 explicitly assigning value of variable of type 'int' to itself
 variable 'err_no' is uninitialized when used here

See 1abbfdd1f7b09ba9931657d57ffc4172c662c2eb

8 years agoelm quicklaunch binary - fix possible 0 termination issue with strings
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 03:18:59 +0000 (12:18 +0900)]
elm quicklaunch binary - fix possible 0 termination issue with strings

the input strings for agrs/env could be not 0 terminated tho the
sender guarantees it. ensure they are by 0'ing the last byte

fix CID 1353607

8 years agoevas regions in render2 - work around coverity complaints
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 03:05:08 +0000 (12:05 +0900)]
evas regions in render2 - work around coverity complaints

CID 1352392 is a false positive as the ptr is not dereferenced, but
not making coverity confused it good.

8 years agoelm view list - just be less obviously a possible bug to coverity
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 02:54:57 +0000 (11:54 +0900)]
elm view list - just be less obviously a possible bug to coverity

CID 1355014 is a false positive, but it's god to not confuse it too
often. clean up.

8 years agoemotion libvlc module - fix possible argv init issue with tokens
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 02:45:07 +0000 (11:45 +0900)]
emotion libvlc module - fix possible argv init issue with tokens

fixes CID 1357170

8 years agoelm conform - fix leak on jproperty change
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 02:36:23 +0000 (11:36 +0900)]
elm conform - fix leak on jproperty change

this fixes CID 1353606

@fix

8 years agoelm layout - fix possible leak
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 02:02:41 +0000 (11:02 +0900)]
elm layout - fix possible leak

fixes CID 1357365 (new!)

8 years agoecore - be paranoid about storing errno from select immediately
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 02:00:55 +0000 (11:00 +0900)]
ecore - be paranoid about storing errno from select immediately

in theory another libc call could overwrite errno between select
exiting and errno being used for errors. be paranoid. i know of no
real bug that this causes though.

8 years agoevas event handling4- fix more corner cases where bounding is bad
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 00:54:33 +0000 (09:54 +0900)]
evas event handling4- fix more corner cases where bounding is bad

so smart object bounding box wasnt updated properly in several other
cases. fix those other cases too by dirtying bounding box region.

this continues on from:

f6b3c31561276a6c7afc8fb56ae2e5363772782c
25d77bc1d24d9fd539c681fa58db976c1ca65051
9f0fd66ab818d212fa88faef316ac17625f1a2f5

this fixes T4017

@fix

8 years agoelm_panes : modified to keep panes content left size after orientation changed
JEONGHYUN YUN [Fri, 8 Jul 2016 00:49:50 +0000 (09:49 +0900)]
elm_panes : modified to keep panes content left size after orientation changed

Reviewers: woohyun

Subscribers: cedric, jpeg

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

8 years agoedje_edit: on save_all firstly save all cached group, then all other
Vitalii Vorobiov [Thu, 7 Jul 2016 17:31:01 +0000 (20:31 +0300)]
edje_edit: on save_all firstly save all cached group, then all other

this will fix case when aliased group was changed and alias-group was loaded,
so then on saving alias-group WON'T rewrite all changed to aliased group

@fix

8 years agoeolian: simplify enum generation logic
Daniel Kolesa [Thu, 7 Jul 2016 14:59:09 +0000 (15:59 +0100)]
eolian: simplify enum generation logic

8 years agodocs: much improved enum/struct/typedef C signatures
Daniel Kolesa [Thu, 7 Jul 2016 14:52:00 +0000 (15:52 +0100)]
docs: much improved enum/struct/typedef C signatures

8 years agodocs: support refs and new types in generator
Daniel Kolesa [Thu, 7 Jul 2016 14:23:45 +0000 (15:23 +0100)]
docs: support refs and new types in generator

8 years agoelua: support is_restart for events in eolian api
Daniel Kolesa [Thu, 7 Jul 2016 14:15:03 +0000 (15:15 +0100)]
elua: support is_restart for events in eolian api

8 years agodata: fix last set of data files with executable bit
Stefan Schmidt [Thu, 7 Jul 2016 12:32:41 +0000 (14:32 +0200)]
data: fix last set of data files with executable bit

8 years agoexamples: edje: remove executable bit from svg files
Stefan Schmidt [Thu, 7 Jul 2016 12:21:03 +0000 (14:21 +0200)]
examples: edje: remove executable bit from svg files

These are plain data files, no need for an executable bit here.

8 years agoexamples: edje: make sure new svg files are packaged
Stefan Schmidt [Thu, 7 Jul 2016 12:15:47 +0000 (14:15 +0200)]
examples: edje: make sure new svg files are packaged

In commit 0fc151cddc4cdb50661d11a124d42a9d42fa9875 these new svg files have
been added but forgotten to be made part of DATA_FILES.

8 years agoelm: efl_ui_frame: add back last efl_ui_frame_eo.h header
Stefan Schmidt [Thu, 7 Jul 2016 10:18:50 +0000 (12:18 +0200)]
elm: efl_ui_frame: add back last efl_ui_frame_eo.h header

During the rename this header got lost and distcheck broke for me due to
problems when generating the files from eo. I fixed a similar problem after
the rename ro efl_ui_flip in commit c3c344da4184ec3b790986c4b7d9008ade3dd9d6

Subhransu, please keep this in mind when renaming another one so I do not have
to do another of these fixes. :)

8 years agoeo base - add weak object refs as per jpeg needs
Carsten Haitzler (Rasterman) [Thu, 7 Jul 2016 09:41:23 +0000 (18:41 +0900)]
eo base - add weak object refs as per jpeg needs

so after some discussion with jpeg, weak referenced keys are also a
good idea. these need del track handling to be weak, so i made strong
reffed keys also do del tracking again as it's just nice to do this
and be more robust. also added and improved the test suites for this
key value stuff.

@feature

8 years agoedje/svg: added _edje_svg_node_free() function
Subhransu Mohanty [Thu, 7 Jul 2016 07:29:21 +0000 (16:29 +0900)]
edje/svg: added _edje_svg_node_free() function

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agosvg/loader: use stringshare instead of malloc for storing string.
Subhransu Mohanty [Thu, 7 Jul 2016 07:27:17 +0000 (16:27 +0900)]
svg/loader: use stringshare instead of malloc for storing string.

Reviewers: cedric, jpeg

Subscribers: cedric, jpeg

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

8 years agoecore_drm2: Fix mouse pointer when using absolute coords
Jean-Philippe Andre [Thu, 7 Jul 2016 07:01:58 +0000 (16:01 +0900)]
ecore_drm2: Fix mouse pointer when using absolute coords

Running E wl2 in KVM led to the following issue: integrated mouse
pointer would always be stuck at (0,0).

The reason was that calibration would never happen, and it's
required* for absolute pointing devices, such as the qemu mouse
integration.

Fix: Listen to device add and calibrate based on the first
output. No idea if we could calibrate on any other output,
or how this should be done in case of multiple screens.

[*] I believe calibration might actually not be required, as
    the absolute position is already the correct one when
    received from libinput.

8 years agoedje_pick: realloc bug fix
Jaehwan Kim [Thu, 7 Jul 2016 05:30:17 +0000 (14:30 +0900)]
edje_pick: realloc bug fix

@fix

8 years agoevas event handling3 - fix yet more corner cases for clipped objects
Carsten Haitzler (Rasterman) [Thu, 7 Jul 2016 05:10:24 +0000 (14:10 +0900)]
evas event handling3 - fix yet more corner cases for clipped objects

this is a continuation fix from
25d77bc1d24d9fd539c681fa58db976c1ca65051 and
9f0fd66ab818d212fa88faef316ac17625f1a2f5

this fixes yet more corner cases after the above 2 fixes. our clip
cache tracking code seems to be broken somewhere and not updating - at
least when events are processed so i did ti the slightly slower way
and recursed through clippers to figure it out in this path. it all
works now it seems but it's got a small speed hit. better be right
than a little faster.

@fix

8 years agosvg/example: updated svg example with gradient svg files
Subhransu Mohanty [Thu, 7 Jul 2016 02:20:11 +0000 (11:20 +0900)]
svg/example: updated svg example with gradient svg files

Reviewers: cedric, Hermet, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agosvg/loader: parse the style attribute in doc node
Subhransu Mohanty [Thu, 7 Jul 2016 02:20:04 +0000 (11:20 +0900)]
svg/loader: parse the style attribute in doc node

Reviewers: cedric, Hermet, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoRevert "elm_entry: remove unnecessary text clearing in text_set"
Hermet Park [Thu, 7 Jul 2016 02:13:05 +0000 (11:13 +0900)]
Revert "elm_entry: remove unnecessary text clearing in text_set"

This reverts commit 38db4b4c0397ce599d5c50859d8431fbbdff284c.

This changes entry behavior that introduce enventor break.
Can't accept it until that break is reasonable.

8 years agosvg/loader: refactored the copy of structure.
Subhransu Mohanty [Thu, 7 Jul 2016 01:42:03 +0000 (10:42 +0900)]
svg/loader: refactored the copy of structure.

Reviewers: cedric, jpeg, Hermet

Subscribers: cedric, jpeg

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

8 years agoelementary: use initialization information to initialize test application once.
Cedric BAIL [Wed, 6 Jul 2016 22:52:05 +0000 (15:52 -0700)]
elementary: use initialization information to initialize test application once.

8 years agoecore: on first arguments event notify the needs to initialize the process state.
Cedric BAIL [Wed, 6 Jul 2016 22:51:25 +0000 (15:51 -0700)]
ecore: on first arguments event notify the needs to initialize the process state.

8 years agoevas: fix initialisation and shutdown of eet and eina by mesh loader and saver.
Cedric BAIL [Wed, 6 Jul 2016 20:26:15 +0000 (13:26 -0700)]
evas: fix initialisation and shutdown of eet and eina by mesh loader and saver.

8 years agoedje: fix parsing and and visualizing gradients.
Subhransu Mohanty [Wed, 6 Jul 2016 19:51:56 +0000 (12:51 -0700)]
edje: fix parsing and and visualizing gradients.

Reviewers: jpeg, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelc_popup: move the code making buttons buffer for readability
Taehyub Kim [Wed, 6 Jul 2016 19:50:36 +0000 (12:50 -0700)]
elc_popup: move the code making buttons buffer for readability

Summary:
The code of making buttons buffer is away from related codes.
@fix

Reviewers: Hermet, Jaehyun_Cho, jpeg, raster, cedric

Subscribers: Blackmole

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_calendar: fix first week is not changed
Jiwon Kim [Wed, 6 Jul 2016 19:49:43 +0000 (12:49 -0700)]
elm_calendar: fix first week is not changed

Summary: @fix

Test Plan:
1. elm_calendar_first_day_of_week_set(cal, ELM_DAY_MONDAY);
2. First week string should be changed to "Mon"

Reviewers: tasn, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_entry: remove unnecessary text clearing in text_set
Jiwon Kim [Wed, 6 Jul 2016 19:48:56 +0000 (12:48 -0700)]
elm_entry: remove unnecessary text clearing in text_set

Summary:
When text_set is called for entry, it sets to empty text
before calling _entry_text_append().
but, _entry_text_append() has 'set' parameter.
Therefore text is set in that function, and clearing is not needed.

It can fix "changed" smart callback is invoked multipe times
when a short text is set to entry.

In addition, if text length is larger than ELM_ENTRY_CHUNK_SIZE,
set text directly as amount of chunk size and idler will append
about remain text.

@fix

Test Plan:
1. elementary_test -to "entry5"
2. click "set 10000" button
2-1. changed message should be printed 1 time
3. click "set 10001" button
3-1. changed message should be printed 2 times

Reviewers: tasn, Hermet, id213sin, cedric

Reviewed By: cedric

Subscribers: woohyun, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: clear callbacks before destroying object to avoid crash.
Cedric BAIL [Wed, 6 Jul 2016 17:39:23 +0000 (10:39 -0700)]
elementary: clear callbacks before destroying object to avoid crash.

@fix

T3188

8 years agoefl_ui_image: fix documentation
Ji-Youn Park [Wed, 6 Jul 2016 10:58:45 +0000 (19:28 +0830)]
efl_ui_image: fix documentation

8 years agoefl_ui_image: fix documentation
Ji-Youn Park [Wed, 6 Jul 2016 10:29:09 +0000 (18:59 +0830)]
efl_ui_image: fix documentation

8 years agoelm_icon: Mark lookup_order functions as deprecated
Jean-Philippe Andre [Wed, 6 Jul 2016 02:43:11 +0000 (11:43 +0900)]
elm_icon: Mark lookup_order functions as deprecated

I can't mark the enum itself as deprecated as it's used in too
many legacy APIs.

Fixes T3910 (@jypark)

8 years agoefl: Rename "pointer" device class to "wand"
Jean-Philippe Andre [Wed, 6 Jul 2016 02:09:06 +0000 (11:09 +0900)]
efl: Rename "pointer" device class to "wand"

Because I like magic. And to avoid confusion with mouse pointer.
Suggested by @zmike in D3858 (Ecore_Device).

8 years agoeolian-cxx: Fix generation for ref generic_values and Eolian classes
Felipe Magno de Almeida [Tue, 5 Jul 2016 19:31:35 +0000 (16:31 -0300)]
eolian-cxx: Fix generation for ref generic_values and Eolian classes

8 years agoEdje_Edit: allow set NULL as a style name for textblock part.
Mykyta Biliavskyi [Tue, 5 Jul 2016 17:18:32 +0000 (20:18 +0300)]
Edje_Edit: allow set NULL as a style name for textblock part.

NULL as 'style' value remove style name from textblock part state.

8 years agoelm widget - stop segv during shutdown when objects become deleted
Carsten Haitzler (Rasterman) [Tue, 5 Jul 2016 13:55:16 +0000 (22:55 +0900)]
elm widget - stop segv during shutdown when objects become deleted

@fix

8 years agoevas event handling2 - fix incorrect object reporting
Carsten Haitzler (Rasterman) [Tue, 5 Jul 2016 13:38:02 +0000 (22:38 +0900)]
evas event handling2 - fix incorrect object reporting

this fixes a new bug brought up by
9f0fd66ab818d212fa88faef316ac17625f1a2f5 which fixes event reporting
etc. etc. .. this fixes T4017

@fix

8 years agoelc_combobox: add/remove item doesn't resize container with genlist
Vitalii Vorobiov [Tue, 5 Jul 2016 12:04:02 +0000 (15:04 +0300)]
elc_combobox: add/remove item doesn't resize container with genlist

recalculation of item count is getting only on a first load of combobox.
whenever user add more items, size of container with items doesn't getting more
place (provoking scroller to appear).
but its event more annoying when user delete items, then there are lots of
free spaces left that looks ridiculus

@fix

8 years agonotify: change return value of "theme_apply" function with inner _theme_apply
Jinyong Park [Tue, 5 Jul 2016 12:03:42 +0000 (21:03 +0900)]
notify: change return value of "theme_apply" function with inner _theme_apply

Summary:
notify's theme_apply function return value with eo_do_super(... elm_object_widget_theme_apply)
but notify's super class is widget, widget_theme_apply return always ELM_THEME_APPLY_SUCCESS.
so, notify's theme_apply function always return ELM_THEME_APPLY_SUCCESS, if it couldn't apply style correctly.

notify apply style via _notify_theme_apply function, so that function must decide theme_apply function's return value.

Reviewers: herb, singh.amitesh, Hermet, cedric, raster, jpeg

Reviewed By: jpeg

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

8 years agoevas: Fix crash (?) in evas events
Jean-Philippe Andre [Tue, 5 Jul 2016 10:53:13 +0000 (19:53 +0900)]
evas: Fix crash (?) in evas events

Reported by Shuhrat Dehkanov on the ML.
See f0fd66ab818d212fa88faef316ac17625f1a2f5.

Note: I didn't have a crash myself.

8 years agoefl: Remove del_intercept before calling eo_del
Jean-Philippe Andre [Tue, 5 Jul 2016 10:19:18 +0000 (19:19 +0900)]
efl: Remove del_intercept before calling eo_del

In class destructor. Still not sure if we should do this
or just set the pointer to NULL.

Ping @TAsn

8 years agoeo: Fix crash during eo_shutdown
Jean-Philippe Andre [Tue, 5 Jul 2016 10:12:23 +0000 (19:12 +0900)]
eo: Fix crash during eo_shutdown

I was getting a crash in eo_shutdown, inside
_efl_event_pointer_class_destructor as I was calling eo_del
from there. But the parent class was already destroyed.

Assuming class IDs can only go up, and child classes are only
instanciated after all their parents, it is safer to call the
class destructors in reverse order.

Obviously, still pretty sure eo_del() in a class_destructor
is not a good idea...

8 years agotests: ecore_audio: disable stalling audio_obj_pulse test
Stefan Schmidt [Tue, 5 Jul 2016 09:02:36 +0000 (11:02 +0200)]
tests: ecore_audio: disable stalling audio_obj_pulse test

This test is stalling. Locally as well as on Jenkins. I tried to bisect it
without any luck. Even running it from the 1.17 release it does no longer work
so i guess it is some change coming from a pulse update on my system. I have
version 7.1 here. As we have no-one working actively on ecore_audio I disable
the test here and we can track the problem on T4018.

8 years agotests: ecore_audio: remove dead code
Stefan Schmidt [Tue, 5 Jul 2016 08:44:28 +0000 (10:44 +0200)]
tests: ecore_audio: remove dead code

These test cases do not exist and the code is commented out for a long time.

8 years agotests: ecore_audio: move _finished_cb behind PULSE guard
Stefan Schmidt [Tue, 5 Jul 2016 08:42:05 +0000 (10:42 +0200)]
tests: ecore_audio: move _finished_cb behind PULSE guard

This callback is only used from the pulse object test.

8 years agoefreet - fix mime file path messing with short paths like /
Carsten Haitzler (Rasterman) [Tue, 5 Jul 2016 06:56:43 +0000 (15:56 +0900)]
efreet - fix mime file path messing with short paths like /

this fixes T4015

@fix

8 years ago[efl_ui_image] fix documentation
Ji-Youn Park [Tue, 5 Jul 2016 06:48:32 +0000 (15:18 +0830)]
[efl_ui_image] fix documentation

8 years agoevas event handling - fix incorrect object reporting
Carsten Haitzler (Rasterman) [Tue, 5 Jul 2016 06:40:12 +0000 (15:40 +0900)]
evas event handling - fix incorrect object reporting

this fixes event reporting for mouse in/out/move/down/up due to evas
just totally getting tese objects wrong.

this fixes T3718

@fix

8 years agoEvas GL: Fix warning about invalid type (GLES 3.1)
Jean-Philippe Andre [Tue, 5 Jul 2016 04:40:15 +0000 (13:40 +0900)]
Evas GL: Fix warning about invalid type (GLES 3.1)

8 years agoelementary/fileselector: Fix legacy path set/get of Fileselector.Entry
Vitor Sousa [Mon, 4 Jul 2016 20:17:38 +0000 (17:17 -0300)]
elementary/fileselector: Fix legacy path set/get of Fileselector.Entry

8 years ago elementary config: Use SI units.
Chidambar Zinnoury [Mon, 4 Jul 2016 20:42:12 +0000 (22:42 +0200)]
 elementary config: Use SI units.

8 years ago efl ui frame: Update the file name for translation purposes.
Chidambar Zinnoury [Mon, 4 Jul 2016 19:00:36 +0000 (21:00 +0200)]
 efl ui frame: Update the file name for translation purposes.

 This unbreaks build.

 See 53035f23e6d4d0cfc93356c1776d8a2a58d18f91.