platform/upstream/efl.git
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.

8 years agoelc_combobox: fix theme and style set for combobox
Vitalii Vorobiov [Mon, 4 Jul 2016 14:53:33 +0000 (17:53 +0300)]
elc_combobox: fix theme and style set for combobox

@fix

8 years agoefl - threads and signals - make efl work on "insane" os's with signals
Carsten Haitzler (Rasterman) [Mon, 4 Jul 2016 14:47:25 +0000 (23:47 +0900)]
efl - threads and signals - make efl work on "insane" os's with signals

so. on linux signals are delivered to the main process thread/loop.
thats' where signal handlers are set up and always run. this is sane.
it's predicatble. but of course this is not the same in bsd land.
there "just send the signal to any old thread and call the signal
handler there" seems to tbe the order of the day. this explains why
wer are losing sigchld signals in edje_cc - it's heavily threaded and
bsd is just randombly picking a thread to call it on.

this fixes that. in theory. i hope. i can't test, but putting it in to
share

@fix

8 years agoeo: use ref types in eo_base
Daniel Kolesa [Mon, 4 Jul 2016 13:55:33 +0000 (14:55 +0100)]
eo: use ref types in eo_base

8 years agoefl - fix lots of little init/shutdown pairs that are wrong
Carsten Haitzler (Rasterman) [Mon, 4 Jul 2016 11:07:30 +0000 (20:07 +0900)]
efl - fix lots of little init/shutdown pairs that are wrong

i've fixed almost all the eina init/shutdown pairs to do the right
thing now... except one (ecore_shutdown) with comment inline where
eo_shutdown is not called. if this is called we are in crash land.
this needs further inspection.

8 years agoeina btlog - add -n option to not use color escapes
Carsten Haitzler (Rasterman) [Mon, 4 Jul 2016 11:04:38 +0000 (20:04 +0900)]
eina btlog - add -n option to not use color escapes

8 years agoEvasGL: Add support for Evas GL 3.1
DaeKwang Ryu [Mon, 4 Jul 2016 11:30:50 +0000 (20:30 +0900)]
EvasGL: Add support for Evas GL 3.1

Summary:
2 wrapper functions are added.
(glFramebufferParameteri, glGetFramebufferParameteriv)

update gl2ext.h(generated 20160209) in evas_gl.h

Test Plan: OpenGL ES Conformance Test

Reviewers: jpeg

Subscribers: spacegrapher, wonsik, cedric, jpeg

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

8 years agoedje: Remove shadow variable
Jean-Philippe Andre [Mon, 4 Jul 2016 11:25:17 +0000 (20:25 +0900)]
edje: Remove shadow variable

8 years agoelm_frame: updated the eo prefix and documentation
Subhransu Mohanty [Mon, 4 Jul 2016 11:10:29 +0000 (20:10 +0900)]
elm_frame: updated the eo prefix and documentation

Summary: No idea what else can be done with this widget.

Reviewers: jpeg, cedric, woohyun

Subscribers: raster, cedric, jpeg

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

8 years agospinner: spinner entry reactivate when focus come again.
Woochan Lee [Mon, 4 Jul 2016 10:55:53 +0000 (19:55 +0900)]
spinner: spinner entry reactivate when focus come again.

Summary:
When user edit spinner value on entry.
The user want to back on entry to edit spinner value even swiching view(focus out and focus in).

I considered a couple of exception case ( case that entry should not reactivate.)
1. User click spinner button to give focus.
2. User give focus to spinner's object using key action.

Test Plan:
Add sample in elementary_test.
Edit spinner value.
Gives focus to other window.
Back to spinner view.
See the action.

Reviewers: Hermet, woohyun, cedric, jpeg

Subscribers: cedric, jpeg

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

8 years agotest: Fix strange black rectangle in a test case
Jean-Philippe Andre [Mon, 4 Jul 2016 08:22:11 +0000 (17:22 +0900)]
test: Fix strange black rectangle in a test case

elementary_test -to "Entry on Page Scroll"

Click on "Click this and close popup"

A weird rectangle would be temporarily visible while the
popup is fading in. The rectangle was the block_events
rectangle. By default, elm_popup blocks events, and its
parent must be the whole blocked input area. This fixes the
parent in the example.

I think the block_events region should be fading in and out
as well, because it looks terrible right now.

Note: this changes the position of the popup, but makes
the whole "block_events" thing actually work (avoiding
other render artifacts).

8 years agotheme: Add fade-in/out for block regions (popup & notify)
Jean-Philippe Andre [Mon, 4 Jul 2016 09:01:40 +0000 (18:01 +0900)]
theme: Add fade-in/out for block regions (popup & notify)

Those are a bit faster than the content transitions. I believe the
popup transition time should be reduced. 500ms is way too long for
such animations.

8 years agoelm: test_glview - allow window to close
Amitesh Singh [Mon, 4 Jul 2016 08:03:25 +0000 (13:33 +0530)]
elm: test_glview - allow window to close

8 years agoevas: Fix rare issue with recursive proxy src invisible
Jean-Philippe Andre [Mon, 4 Jul 2016 07:06:04 +0000 (16:06 +0900)]
evas: Fix rare issue with recursive proxy src invisible

Scenario:
  smart {
    text
    proxy -> text, src_invisible
  }
  proxy -> smart

What we should see:
  smart {
    (blank)
    proxy -> text
  }
  proxy -> {
    (blank)
    proxy -> text
  }

What we saw:
  smart {
    (blank)
    proxy -> text
  }
  proxy -> {
    text
    proxy -> text
  }

Solution:
Check in evas render, when we're inside a proxy render, and the
proxy src_invisible flag is on (evas_object_source_visible_set(0),
that we're rendering the object itself to its proxy surface. If not,
it means we're rendering another proxy surface, ie. a parent smart
object's proxy surface.

Still loving evas render.

Fixes T4006.

@fix

8 years agoecore: Fix obvious crash with legacy timers
Jean-Philippe Andre [Mon, 4 Jul 2016 06:10:17 +0000 (15:10 +0900)]
ecore: Fix obvious crash with legacy timers

ecore_timer_del() checks a flag "inside_call" that can be
set before calling the timer cb... but it was never reset
to 0. So, all legacy timers would keep on ticking forever
and ever, until they return CANCEL.

Anyway, I find the distinction between eo_del and
ecore_timer_del very troubling. eo_del() should work
on a legacy timer. Ping @cedric. Maybe override eo_del()?

Fixes T3898

8 years agoedje - reduce memory footprint by rearranging structs and types
Carsten Haitzler (Rasterman) [Mon, 4 Jul 2016 05:59:59 +0000 (14:59 +0900)]
edje - reduce memory footprint by rearranging structs and types

this should cut some memory used by edje by using smaller types like
shorts instead of ints where we just dont need a full int range and
short will do, and re-ordering in memory data soit packs better when
accoutning for alignment

8 years agoexamples: Fix typo in filename
Jean-Philippe Andre [Mon, 4 Jul 2016 04:45:48 +0000 (13:45 +0900)]
examples: Fix typo in filename

8 years agoElementary: cnp - check on NULL data in elm_drag_start
Artem Popov [Mon, 4 Jul 2016 01:49:55 +0000 (10:49 +0900)]
Elementary: cnp - check on NULL data in elm_drag_start

Summary:
check on NULL add in wayland elm_drag_start API
@fix

Test Plan: Call elm_grag_start with data = NULL under wayland

Reviewers: zmike, NikaWhite, jpeg

Reviewed By: NikaWhite, jpeg

Subscribers: bu5hm4n, myoungwoon, cedric, jpeg

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

8 years agoelm/gengrid: Fix null pointer dereferences.
Daniel Juyung Seo [Sun, 3 Jul 2016 22:29:53 +0000 (07:29 +0900)]
elm/gengrid: Fix null pointer dereferences.

CID: 1357210 and 1357209.

8 years agoevas/textblock: Mark unused variable.
Daniel Juyung Seo [Sun, 3 Jul 2016 22:24:21 +0000 (07:24 +0900)]
evas/textblock: Mark unused variable.

8 years agoecore-wl2: Fix error handling for bad fd
Chris Michael [Sun, 3 Jul 2016 22:23:45 +0000 (18:23 -0400)]
ecore-wl2: Fix error handling for bad fd

If we end up failing to get the fd from ecore_main_fd_handler_fd_get,
then we should just bail out of this function and try again later.

Fixes Coverity CID1357213

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Grab all key presses in elm_code for now
Andy Williams [Sun, 3 Jul 2016 19:48:14 +0000 (20:48 +0100)]
elementary: Grab all key presses in elm_code for now

Working around issues where new key bindings were breaking the editor

8 years agoelementary: add test for edje external combobox
Jean Guyomarc'h [Sun, 3 Jul 2016 10:00:33 +0000 (12:00 +0200)]
elementary: add test for edje external combobox

8 years agoelementary: release genlist item classes when done
Jean Guyomarc'h [Sun, 3 Jul 2016 09:31:09 +0000 (11:31 +0200)]
elementary: release genlist item classes when done

8 years agoedje_external: add combobox external
Jean Guyomarc'h [Sun, 3 Jul 2016 09:29:35 +0000 (11:29 +0200)]
edje_external: add combobox external

The combobox widget can now be used from edje externals.
It accepts the "guide" parameter, which is of type string.

8 years agoelementary: document elm_table parameters
Jean Guyomarc'h [Sat, 2 Jul 2016 18:41:28 +0000 (20:41 +0200)]
elementary: document elm_table parameters

8 years agoelementary: Update connman theme for all security
Andy Williams [Sun, 3 Jul 2016 16:25:37 +0000 (17:25 +0100)]
elementary: Update connman theme for all security

Provide the appropriate lock icon for less common security types.
@fix
also allow the icons to grow on scaled displays

8 years agoUi text: port changed_cb from entry
Daniel Hirt [Sun, 3 Jul 2016 16:57:23 +0000 (16:57 +0000)]
Ui text: port changed_cb from entry

8 years agoCanvas text: simplify efl_text_get
Daniel Hirt [Sun, 3 Jul 2016 16:40:34 +0000 (16:40 +0000)]
Canvas text: simplify efl_text_get

8 years agoUi text: move defer call to a function
Daniel Hirt [Sun, 3 Jul 2016 16:38:03 +0000 (16:38 +0000)]
Ui text: move defer call to a function

Make it easier to call/debug this.

8 years agoUi text: fix leak in selection_changed
Daniel Hirt [Thu, 30 Jun 2016 19:39:29 +0000 (19:39 +0000)]
Ui text: fix leak in selection_changed

8 years agoCanvas text: fix leak in annotation_insert
Daniel Hirt [Thu, 30 Jun 2016 19:37:02 +0000 (19:37 +0000)]
Canvas text: fix leak in annotation_insert

8 years agoCanvas text: fix leak in efl_text_set
Daniel Hirt [Thu, 30 Jun 2016 19:36:06 +0000 (19:36 +0000)]
Canvas text: fix leak in efl_text_set

8 years agoUi text: fix invalid call to image api
Daniel Hirt [Tue, 28 Jun 2016 19:01:01 +0000 (19:01 +0000)]
Ui text: fix invalid call to image api

8 years agoUi text: send signals to cursors explicitly
Daniel Hirt [Tue, 28 Jun 2016 12:24:35 +0000 (12:24 +0000)]
Ui text: send signals to cursors explicitly

The edje code used to register the cursor objects as "edje sub-objects" of the
edje entry object. This is not edje API, so will send these signals explicitly
to the objects.

8 years agoCanvas text cursor: fix bug after code port
Daniel Hirt [Sun, 3 Jul 2016 13:57:22 +0000 (13:57 +0000)]
Canvas text cursor: fix bug after code port

Fixes T4005.
Also, unified repeated code and added a test for multiple cursors.

8 years agoevas update buf - dont ref and unref outbug as an evas image - it's not
Carsten Haitzler (Rasterman) [Sun, 3 Jul 2016 06:43:04 +0000 (15:43 +0900)]
evas update buf - dont ref and unref outbug as an evas image - it's not

we need calls to ref/unref them from engines, but atm it's ok because
they dont get deleted until the flush is done and not used after that...

@fix

8 years agoelm layout - add and delete signal cbs from the same consistent obj
Carsten Haitzler (Rasterman) [Sun, 3 Jul 2016 05:04:45 +0000 (14:04 +0900)]
elm layout - add and delete signal cbs from the same consistent obj

elm layout signal handling was all over the place. using 3 different
ways of adding or deleteing signals from the object. it uses either
obj directly, eo_super(obj) or wd->resize_obj. come on. be consistent.
so using wd->resize_obj worked before and now works properly with
sgnal cbs PROPELY deleted unlike before.

@fix

8 years agoedje signal cb - dont delete already deleted signals
Carsten Haitzler (Rasterman) [Sun, 3 Jul 2016 05:01:04 +0000 (14:01 +0900)]
edje signal cb - dont delete already deleted signals

let's assume you registered a callback twice with the same ptr data
and same func and same sig/src... if you delete it once you're ok.
delete twice... and you re-delete the first one (just makging it for
delete_me). this fixes this corner case

@fix

8 years agoecore-wl2: Fix uninitialized variable
Chris Michael [Sat, 2 Jul 2016 11:17:23 +0000 (07:17 -0400)]
ecore-wl2: Fix uninitialized variable

Coverity reports that len is used un-init here, so let's give it a
value at declaration time

Fixes Coverity CID1357214

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoeolian: cleanup type serialization logic
Daniel Kolesa [Fri, 1 Jul 2016 13:34:24 +0000 (14:34 +0100)]
eolian: cleanup type serialization logic

8 years agogengrid: fix focus issue when prev/next item is disabled
Jehun Lim [Fri, 1 Jul 2016 02:52:39 +0000 (11:52 +0900)]
gengrid: fix focus issue when prev/next item is disabled

Summary:
After setting focus to disabled item, focus does not work properly.
It is necessary to consider disabled state of each item
when selecting next focused item.

Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Test Plan:
1. elementary_test -to 'gengrid disabled item focus'
2. check 'item select on focus disable'
3. move focus to disabled item
4. observe focus and compare before this patch

Reviewers: cedric

Subscribers: minkyu, cedric, jpeg

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

8 years agotests: Disable profile_exists as it fails on jenkins
Jean-Philippe Andre [Fri, 1 Jul 2016 07:52:24 +0000 (16:52 +0900)]
tests: Disable profile_exists as it fails on jenkins

8 years agotheme: return enum from elm_widget_style_set instead of bool
Jinyong Park [Fri, 1 Jul 2016 06:09:42 +0000 (15:09 +0900)]
theme: return enum from elm_widget_style_set instead of bool

Summary:
if trying to apply incorrect theme, widget apply default theme and return TRUE.
so there is no way to check it really apply correct theme.
To resolve this problem, _elm_theme_set return three type enum

* related history : 4ca3ef45146e05908a13d1010909abeba9693ad6
* elm_object_style_set is public api, so I didn't change it.
* typedef name [ Theme_Apply ] is temporarily, please suggest better one.

@fix

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

Subscribers: cedric, jpeg

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

8 years agoelm: fix compilation
Amitesh Singh [Fri, 1 Jul 2016 04:25:51 +0000 (09:55 +0530)]
elm: fix compilation

"
make[1]: *** No rule to make target 'efl_ui_text.h', needed by 'all-am'.  Stop.
"

8 years agoedje_pick: load just used images.
Jaehwan Kim [Fri, 1 Jul 2016 02:18:27 +0000 (11:18 +0900)]
edje_pick: load just used images.

If the edj is made by partial groups, the images that groups use
should be included.

@fix

8 years agowayland_shm: free dmabuf resources on fallback
Derek Foreman [Thu, 30 Jun 2016 18:44:51 +0000 (13:44 -0500)]
wayland_shm: free dmabuf resources on fallback

Add destructors for the buffer managers, and clean up properly when
falling back.

Fixes Coverity CID1357163 and CID1357162

8 years agoelc_hoversel: just little fix of expand/noitem behavior
Vitalii Vorobiov [Thu, 30 Jun 2016 18:12:52 +0000 (21:12 +0300)]
elc_hoversel: just little fix of expand/noitem behavior

when hoversel has no item at all and use clicks on it, then it goes into
state called "expanded".
and so then, no matter how many items user would try to add, hoversel won't work
anymore.

@fix

8 years agoexamples: update various gitignore files for new example binaries
Stefan Schmidt [Thu, 30 Jun 2016 16:14:38 +0000 (18:14 +0200)]
examples: update various gitignore files for new example binaries

These have been forgotten to be added recently.

8 years agoatspi_image: improve existing documentation
Stefan Schmidt [Thu, 30 Jun 2016 16:11:18 +0000 (18:11 +0200)]
atspi_image: improve existing documentation

Mixin and property descriptions.

8 years agoatspi_widget_action: add mixin description
Stefan Schmidt [Thu, 30 Jun 2016 16:10:29 +0000 (18:10 +0200)]
atspi_widget_action: add mixin description

8 years agoelm_scrollable: add mixin description
Stefan Schmidt [Thu, 30 Jun 2016 16:09:41 +0000 (18:09 +0200)]
elm_scrollable: add mixin description

8 years agoatspi_component: improve existing documentation
Stefan Schmidt [Thu, 30 Jun 2016 15:31:56 +0000 (17:31 +0200)]
atspi_component: improve existing documentation

Ad more descriptions, consolidate property descriptions and fix smaller
problems.

8 years agoatspi_action: improve existing documentation
Stefan Schmidt [Thu, 30 Jun 2016 15:31:10 +0000 (17:31 +0200)]
atspi_action: improve existing documentation

Fix typos, add parameter descriptions and consolidate property describtions.

8 years agoatspi_accessible: improve existing documentation
Stefan Schmidt [Thu, 30 Jun 2016 14:34:24 +0000 (16:34 +0200)]
atspi_accessible: improve existing documentation

Make sure we describe whole properties and not getters and setters only. Adding
some more docs while being there.

8 years agoeolian: add support for static and terminated arrays
Daniel Kolesa [Thu, 30 Jun 2016 13:04:03 +0000 (14:04 +0100)]
eolian: add support for static and terminated arrays

Adds two new type types, STATIC_ARRAY and TERMINATED_ARRAY. Static arrays are
only allowed as struct members right now - they translate to regular C static
arrays (allowing them elsewhere wouldn't be good, as C isn't very good at
working with the size information). Terminated arrays are basically sequences
of data terminated at the end. The base type of static arrays can be any type
that is not marked ref (explicit ref may get allowed later). The base type of
terminated arrays has the same restriction plus that it has to be either
implicitly reference type (i.e. translating to pointer in C), integer type
or a character. In case of ref types, the terminator is NULL. In case of
integer types, the terminator is a zero. In case of character types, the
terminator is also a zero (null terminator like C strings).

@feature

8 years agoecore-wl2: Fix issue where hash would not get destroyed on error
Chris Michael [Thu, 30 Jun 2016 15:14:40 +0000 (11:14 -0400)]
ecore-wl2: Fix issue where hash would not get destroyed on error

Coverity reports that we could not reach the eina_hash_free here on
erorr condition. This was due to an erroneous return NULL above the if
(hash_create) check.

Fixes Coverity CID1357171

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Don't leak return from _output_name_get function
Chris Michael [Thu, 30 Jun 2016 15:11:22 +0000 (11:11 -0400)]
ecore-drm2: Don't leak return from _output_name_get function

Coverity reports that we end up leaking the return from
_output_name_get as the storage is never freed.

Fixes Coverity CID1357161

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Fix issue of passing negative number to close() and read()
Chris Michael [Thu, 30 Jun 2016 15:07:09 +0000 (11:07 -0400)]
ecore-wl2: Fix issue of passing negative number to close() and read()

We should be checking the return value of ecore_main_fd_handler_fd_get
calls as they can return a negative number...which cannot be passed to
the close() or read() functions.

Fixes Coverity CID1357152 and CID1357153

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Check the return value of ecore_main_fd_handler_fd_get
Chris Michael [Thu, 30 Jun 2016 15:05:14 +0000 (11:05 -0400)]
ecore-wl2: Check the return value of ecore_main_fd_handler_fd_get

This patch fixes an issue where ecore_main_fd_handler_fd_get could be
returning a negative number and passing that to close() which cannot
accept negative numbers.

Fixes Coverity CID1357152

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-wayland: Fix issue of passing wrong values to resize
Chris Michael [Thu, 30 Jun 2016 15:03:07 +0000 (11:03 -0400)]
ecore-evas-wayland: Fix issue of passing wrong values to resize

Coverity detected that the same code was being passed to resize
regardless of canvas orientation. This patch fixes the issue by
passing the proper values to window_resize.

Fixes Coverity CID1357150

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Fix derefence after null check
Chris Michael [Thu, 30 Jun 2016 15:01:22 +0000 (11:01 -0400)]
ecore-wl2: Fix derefence after null check

'window' here could potentially be null so we should be checking that
it is valid before trying to assign event window

Fixes Coverity CID1357148

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Fix explicit null dereference
Chris Michael [Thu, 30 Jun 2016 14:59:28 +0000 (10:59 -0400)]
elementary: Fix explicit null dereference

This patch fixes an issue reported by coverity where 'type' variable
could be null and passing null to strcmp is not good ;)

Fixes Coverity CID1357147

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-wayland-shm: Remove logically dead code
Chris Michael [Thu, 30 Jun 2016 14:56:01 +0000 (10:56 -0400)]
evas-wayland-shm: Remove logically dead code

Coverity reports that this bpp check is actuall dead code due to the
fact that bpp can never be < 0.

Fixes Coverity CID1357144

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>