platform/upstream/efl.git
5 years agoemotion modules - warn - fix possible uninit var
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:14:01 +0000 (15:14 +0000)]
emotion modules - warn - fix possible uninit var

5 years agoedje modules - warn - use proper hash free func prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:13:01 +0000 (15:13 +0000)]
edje modules - warn - use proper hash free func prototype

5 years agoedje program - warn - handle theoretical null seat string
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:11:41 +0000 (15:11 +0000)]
edje program - warn - handle theoretical null seat string

5 years agoedje cc - warn - use correct free prorotype for has free func
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:09:16 +0000 (15:09 +0000)]
edje cc - warn - use correct free prorotype for has free func

5 years agoedje player - fix ridiculous use of srncat
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:05:37 +0000 (15:05 +0000)]
edje player - fix ridiculous use of srncat

another case of blind strncat usage rthat seemingly did a:

strcat(buf, str); -> strncat(buf, str, strlen(tr));

which is the most pointless thing to do ever. it's no better. it's
worse as it makes it harder to identify issues. thanks these days
compilers warn about this as a stupid thing to do... so i looked at it
and fixed it properly.

again - don't do this stuff above - it's pointless. patches that do
this should be rejected. fix it properly or leave it as-is.

5 years agoelocation - only define ebta api support if needed - not needed here...
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:50:04 +0000 (14:50 +0000)]
elocation - only define ebta api support if needed - not needed here...

5 years agoedje_cc - warn - fix buf truncation by snprintf by extending buffers
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:47:25 +0000 (14:47 +0000)]
edje_cc - warn - fix buf truncation by snprintf by extending buffers

5 years agoedje_cc - warn - fix free cb to be of right prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:44:18 +0000 (14:44 +0000)]
edje_cc - warn - fix free cb to be of right prototype

wrap by correctly typed func.

5 years agoevas gl extn sym finding - warn - use void catss for no more warns
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:39:11 +0000 (14:39 +0000)]
evas gl extn sym finding - warn - use void catss for no more warns

so gcc now is being very picky about types. since we'r ereallyjast
throwing void *'s around for pointers to funcs and looking them up by
hand - use void *'s to avoid warnings.

5 years agoedje_cc_parse - use memcpy instead of strncpy as we are truncating
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:33:19 +0000 (14:33 +0000)]
edje_cc_parse - use memcpy instead of strncpy as we are truncating

we mean it here so it's right - use memcpy as its equivalent without
warnings.

5 years agoedje_cc_parse - warn - make buffers bigger to avoid truncation
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:30:54 +0000 (14:30 +0000)]
edje_cc_parse - warn - make buffers bigger to avoid truncation

5 years agoeo suit - warn - include ptr indirection not privater to avoid warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:27:10 +0000 (14:27 +0000)]
eo suit - warn - include ptr indirection not privater to avoid warnings

5 years agoeldbus tests - warn - fix func structs/arrays to init every field
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:19:43 +0000 (14:19 +0000)]
eldbus tests - warn - fix func structs/arrays to init every field

5 years agoefreet test - use correct free func prototype for desktyp type add
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:14:45 +0000 (14:14 +0000)]
efreet test - use correct free func prototype for desktyp type add

5 years agoelm map - warn - set vars to valueto avoid uninit warning
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:10:52 +0000 (14:10 +0000)]
elm map - warn - set vars to valueto avoid uninit warning

5 years agoelm map - warn - avoid buffer truncation warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:09:35 +0000 (14:09 +0000)]
elm map - warn - avoid buffer truncation warnings

make buffers bigger to asvoid truncation to also avoid warnings.

5 years agoefl net - warn - fix eldbus service struct to fill all fields
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 14:03:18 +0000 (14:03 +0000)]
efl net - warn - fix eldbus service struct to fill all fields

no more warnings about uninit fields

5 years agoeeze test - warn - fix ecore event callback prototypes
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 13:42:57 +0000 (13:42 +0000)]
eeze test - warn - fix ecore event callback prototypes

5 years agoecore con - fix buffer truncate warnign by a bigger buffer
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 12:48:01 +0000 (12:48 +0000)]
ecore con - fix buffer truncate warnign by a bigger buffer

5 years agoeldbus- fix warning by casting through void
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 12:42:07 +0000 (12:42 +0000)]
eldbus- fix warning by casting through void

so eldbus does silly things like use a cb ptr with a different type of
cb - very explicitly. so it casts but warnigns don't like it and
assume it maybe a bug, so use void *'s so have some silence for this
bit of evil.

5 years agoecore wl2 - fix wl protocol listyener to init all struct fields
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 12:32:52 +0000 (12:32 +0000)]
ecore wl2 - fix wl protocol listyener to init all struct fields

5 years agoefl net - fix dbus field init to init all fields in a struct
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 12:32:28 +0000 (12:32 +0000)]
efl net - fix dbus field init to init all fields in a struct

5 years agoevas test - actually use result of add of rect obj for test
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 18:07:09 +0000 (18:07 +0000)]
evas test - actually use result of add of rect obj for test

5 years agomeson - add checks/options for mmx, sse3, neon, altivec
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 18:01:48 +0000 (18:01 +0000)]
meson - add checks/options for mmx, sse3, neon, altivec

so we can build our assembly fast-paths again.... - also clean up the
code a bit to match...

5 years agoevas blur filter - fix warnigns about unused labels
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 17:16:45 +0000 (17:16 +0000)]
evas blur filter - fix warnigns about unused labels

if no asm is defined.. then you hit this.

5 years agoemile test - fix dtata struct init missing initted fields - warn
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 17:06:04 +0000 (17:06 +0000)]
emile test - fix dtata struct init missing initted fields - warn

5 years agoelm naviframe - fix buffer size handling and strncat
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:59:05 +0000 (16:59 +0000)]
elm naviframe - fix buffer size handling and strncat

strncat where the size passed is tghe size of the string is pointless.
it is strcat. so chekc before the strcat... and be simpler and honest

5 years agoelm calendar - stop truncation of text printed into buffer
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:55:41 +0000 (16:55 +0000)]
elm calendar - stop truncation of text printed into buffer

5 years agoefl ui calendar - expand buffers so trucnation doesnt happen
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:55:14 +0000 (16:55 +0000)]
efl ui calendar - expand buffers so trucnation doesnt happen

5 years agoefl ui text -0 fix warns on unused params/vars
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:43:28 +0000 (16:43 +0000)]
efl ui text -0 fix warns on unused params/vars

5 years agoelm web - fix warn of possibly uninit var
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:40:06 +0000 (16:40 +0000)]
elm web - fix warn of possibly uninit var

set to a default value...

5 years agoeio test -0 fix lots of ecore event handler prototypes.... warn
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:33:33 +0000 (16:33 +0000)]
eio test -0 fix lots of ecore event handler prototypes.... warn

lots of warnigns because the ecore event prototyeps were WRONG. you
must return true/fals if more handlers shoudl handle it or not... not
return nothing... these tests were just broken.

5 years agoelm theme - initialize all struct members to null
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:21:09 +0000 (16:21 +0000)]
elm theme - initialize all struct members to null

missing aded struct members...

5 years agoelm test config - ensure buffer does't get overfilled with lots of profs
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:14:16 +0000 (16:14 +0000)]
elm test config - ensure buffer does't get overfilled with lots of profs

the "let's use strncpy" brigade of course made sure to use it to "be
secure" and yet still overtflow the buffer... this is a perfect lesson
in DOP NOT USE strncpy unless you carefully think about the code and
get it right. i mean things like:

   strncat(buf, profiles[i], strlen(profiles[i]) + 1);

is blindly using strncpy ... and it's no better than strcpy, but mroe
complex and giving the illusion of "it's safe". pay attention to your
code people. please. thanks.

5 years agoelm quicklaunch - fix defines to handle no-environ case without warnings
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 16:00:09 +0000 (16:00 +0000)]
elm quicklaunch - fix defines to handle no-environ case without warnings

5 years agomeson build - fix build to check for environ like autofoo did
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 15:57:37 +0000 (15:57 +0000)]
meson build - fix build to check for environ like autofoo did

5 years agoelm quicklaunch - warn - explicitly handle socket length being too long
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 15:22:48 +0000 (15:22 +0000)]
elm quicklaunch - warn - explicitly handle socket length being too long

make socket too long an error. fixes warning.

5 years agoelm prefs cc - warn - use memcpy instead since we are really truncating
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 15:17:14 +0000 (15:17 +0000)]
elm prefs cc - warn - use memcpy instead since we are really truncating

fix strncpy warning... and use memcpy as we are explicitly truncating.
we mean it.

5 years agoeolain generation test - handle buffer size limit warnings
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 15:07:55 +0000 (15:07 +0000)]
eolain generation test - handle buffer size limit warnings

expand buffers or handle if they get over-filled and abort as an error.

5 years agoedje test - fix unused return val and actually check its value
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 14:56:08 +0000 (14:56 +0000)]
edje test - fix unused return val and actually check its value

5 years agoxxx - fix eina_future_then calls to pass sotrage val - fix warns
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 14:52:41 +0000 (14:52 +0000)]
xxx - fix eina_future_then calls to pass sotrage val - fix warns

5 years agoecore thread - fix warn - callback prototypes to match correct type
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 14:33:27 +0000 (14:33 +0000)]
ecore thread - fix warn - callback prototypes to match correct type

we pass void *'s to these cb's not int's or thread handled (whatever
typt they may be). so cast inside func not use wrong type.

5 years agoeet data - if xwarning about possibly uninit var
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 13:42:16 +0000 (13:42 +0000)]
eet data - if xwarning about possibly uninit var

5 years agoeina iterator test - warn - fix prototype of cb func to have right params
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 13:35:22 +0000 (13:35 +0000)]
eina iterator test - warn - fix prototype of cb func to have right params

fix warning. wrong func prototype for cb... ad void *data param at end.

5 years agoeina magic debug test - fix xarnings about double-defining
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 13:23:06 +0000 (13:23 +0000)]
eina magic debug test - fix xarnings about double-defining

only domagic debug test if magic debug is enabled, otherwise have no
test. fixes warning

5 years agoecore imf modules - check ecore x display state beofre doing x things
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 11:21:27 +0000 (11:21 +0000)]
ecore imf modules - check ecore x display state beofre doing x things

using an uninitted x display is not good/useful so ... don't do it.
leads to crashes.

5 years agoeina strbuf tests - fix tests to properly check fail unless conditions
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 11:05:25 +0000 (11:05 +0000)]
eina strbuf tests - fix tests to properly check fail unless conditions

the contiions were wrong - warnings picked it up. fix.

5 years agoefl check - fix uniit var warning by setting to 0 to start
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 09:48:43 +0000 (09:48 +0000)]
efl check - fix uniit var warning by setting to 0 to start

5 years agoeo parser - fix buffer size warning for snprintf truncation
Carsten Haitzler (Rasterman) [Wed, 7 Nov 2018 09:44:42 +0000 (09:44 +0000)]
eo parser - fix buffer size warning for snprintf truncation

make buffers bigger so it can't be truncated.

5 years agoeolian - fix warnings about strin truncation by expanding buffers
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 18:00:39 +0000 (18:00 +0000)]
eolian - fix warnings about strin truncation by expanding buffers

fixes noisy warnings...

5 years agoevas mempool bench - fix warning about unused param
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:32:48 +0000 (17:32 +0000)]
evas mempool bench - fix warning about unused param

unused in some ifdefs - so make as unused.

5 years agoevas list benchmarks - fix warning about if guarding
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:31:24 +0000 (17:31 +0000)]
evas list benchmarks - fix warning about if guarding

5 years agoeina bench array - fix warning about if case not guarding
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:26:43 +0000 (17:26 +0000)]
eina bench array - fix warning about if case not guarding

fix warning noise... no change in code function though.

5 years agoeina inline hash - fix warn about switch case fallthrough
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:23:54 +0000 (17:23 +0000)]
eina inline hash - fix warn about switch case fallthrough

fallthrough is intended so add fallthrough markers to silence warning

5 years agoeina bech - hash - warn - fix type for hash func to have proper types
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:18:42 +0000 (17:18 +0000)]
eina bech - hash - warn - fix type for hash func to have proper types

wrap cityhash with proepr typed hash gen func. fix warning

5 years agoeina vpath - warning - remove unused variable
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:05:47 +0000 (17:05 +0000)]
eina vpath - warning - remove unused variable

5 years agoeina - btlog - fix warnign about uninit struct field
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:03:45 +0000 (17:03 +0000)]
eina - btlog - fix warnign about uninit struct field

sentinel should fill all members to null.

5 years agoeina vpath - warning - fix constness of string pointer
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 17:01:47 +0000 (17:01 +0000)]
eina vpath - warning - fix constness of string pointer

fixes bad const usage, butnot an actual bug.

5 years agoeina promise - warning fix - init storage field on return
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:59:26 +0000 (16:59 +0000)]
eina promise - warning fix - init storage field on return

fix a warning but this actually is a bug with storage being left
uninitialized.

5 years agoeina file - fix unused param warning by marking as unused
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:53:24 +0000 (16:53 +0000)]
eina file - fix unused param warning by marking as unused

unsued in some ifdef paths, so mark as such to avouid warning noise

5 years agoeina debug - fix buffer truncation warning
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:52:01 +0000 (16:52 +0000)]
eina debug - fix buffer truncation warning

make buf the size of the unix socket path to truncate early to avoid
warning

5 years agoeo - parser - fix warning about truncated strings with snprintf
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:07:28 +0000 (16:07 +0000)]
eo - parser - fix warning about truncated strings with snprintf

expand buffer to never truncate.

5 years agoeina - vpath - silence buffer size truncation warning
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:05:10 +0000 (16:05 +0000)]
eina - vpath - silence buffer size truncation warning

add more space in dest buffer to silence warning about possible
truncation by snprintf.

5 years agoeo - parser - fix warning about fallthrough case
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:02:48 +0000 (16:02 +0000)]
eo - parser - fix warning about fallthrough case

goto end with unknown return in possible fallthrough case.

5 years agoeina - fix warnigns of possibly too msall buffers for large numbers
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 16:00:26 +0000 (16:00 +0000)]
eina - fix warnigns of possibly too msall buffers for large numbers

strings would get  truncated thanks to snprintf but make buffers
bigger to avoid warning noise

5 years agoevas gl engines - avoid getting context if possible
Carsten Haitzler (Rasterman) [Tue, 6 Nov 2018 11:54:04 +0000 (11:54 +0000)]
evas gl engines - avoid getting context if possible

so getting context at least on some dviers is expensive. it may really
impact cpu usage a lot (in this cate getpid() was being called by the
nouveau drivers and that can be expensive. it is on ARM as it's a full
syscall and 1-2% of cpu time was just getting pid all the time thanks
to this...

@opt

5 years agoelm_theme: Fix to set default style group name correctly
Jaehyun Cho [Fri, 9 Nov 2018 05:19:30 +0000 (14:19 +0900)]
elm_theme: Fix to set default style group name correctly

"default" should not be appended to the group name in new EFL interface
theme. e.g. "efl/button"

Therefore, if "default" is given as a style name, then the style name
should be converted to NULL for the group name in new EFL interface
theme.

5 years agoefl_ui_win: Fix to check efl_ui_bg_widget theme version for non-legacy win
Jaehyun Cho [Fri, 9 Nov 2018 04:59:05 +0000 (13:59 +0900)]
efl_ui_win: Fix to check efl_ui_bg_widget theme version for non-legacy win

Check efl_ui_bg_widget theme version instead of elm_bg for non-legacy
win if win must swallow bg manually or not.

5 years agoCanvas layout: fix test for meson builds
Daniel Hirt [Thu, 8 Nov 2018 09:33:46 +0000 (11:33 +0200)]
Canvas layout: fix test for meson builds

Fixes T7456

5 years ago evas rect update calculation - account for clipped color changes 86/193286/1
Jiyoun Park [Mon, 19 Nov 2018 02:30:13 +0000 (11:30 +0900)]
evas rect update calculation - account for clipped color changes

    if clipped color changed and not object color on rect objects, then
    the updates could be missed. this also fixes some corner cases where
    opaqueness should not count for update deletion too. this bug seems to
    have been here a while unnoticed.

Change-Id: I7520cf2af98d2e72d4a8c2f41a020c9789f9143b

5 years agoevas vg: support default_size get api. 61/193161/1
Hermet Park [Thu, 15 Nov 2018 10:54:18 +0000 (19:54 +0900)]
evas vg: support default_size get api.

efl_canvas_vg_default_size_get()
returns origin resource's default size.

Change-Id: I4b2778a85558e252703f9fdaf225001afa2f3bce

5 years agoevas canvas: re-submit broken code-sync while happend in efl migration. 60/193160/1
Hermet Park [Thu, 15 Nov 2018 11:18:37 +0000 (20:18 +0900)]
evas canvas: re-submit broken code-sync while happend in efl migration.

Change-Id: I4a152f0d60c57ba708681fe652c30a186199a7c0

5 years agoector: fix wrong initalization count reference. 26/193126/1
Hermet Park [Thu, 15 Nov 2018 03:15:58 +0000 (12:15 +0900)]
ector: fix wrong initalization count reference.

Ector shutdown couldn't terminate engine properly
since it's counting statement is wrong.

Change-Id: Ibd9bc6c79293a23d5dd34d2de75b202e69c903f4

5 years agoevas ector: fix memory leaks. 01/193101/1
Hermet Park [Wed, 14 Nov 2018 12:51:24 +0000 (21:51 +0900)]
evas ector: fix memory leaks.

Summary:
Make it sure ref/unref pairs.

unpaired reference count occures object dangled.

@fix

Reviewers: #committers

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I51f167bf506f110236b6ee04da60c13cfbdd5fa3

5 years agoevas vg: optimize gradient sequences. 00/193100/1
Hermet Park [Wed, 14 Nov 2018 12:50:50 +0000 (21:50 +0900)]
evas vg: optimize gradient sequences.

Summary:
1. Pointed out gradient prepare step triggered duplicatedly,
because they are immediate children of container.
But gradients is desigend to fill shape,
shape could get ready of the gradients which are applied to.
So, container doesn't need to prepare gradient children.

2. Ector shape does prepare its gradient renderer in it's prepare time,
each gradients objects doesn't need to prepare renderer separately.

Here code skip duplication of sequences of gradients preparation step.
by cleaning up logic.

Reviewers: #committers

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ia0132b333756201ad9cf84a4b261f79e7eaa6d97

5 years agoedje: fix an overflow issue for state values 61/193061/1
Youngbok Shin [Wed, 14 Nov 2018 07:43:13 +0000 (16:43 +0900)]
edje: fix an overflow issue for state values

Summary:
Whenever _edje_recalc_do() is called, a state value of
Edje structure is increased. This increased value will be stored
in Edje_Real_Part and Edje_Real_Part_State for calculation optimazation.
But, once the state value is overflowed, it ruins calculation logic.
@fix

Test Plan:
Run an Edje file which has infinite animation for over an hour.
I'll attach an example to phab.

Reviewers: raster, cedric, woohyun, Hermet

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: If4d941fa9e5496fdd694625d7f4c1f36b2345abb
Signed-off-by: Youngbok Shin <youngb.shin@samsung.com>
5 years agoevas json: implement radial gradient. 43/192943/1
Hermet Park [Mon, 12 Nov 2018 15:13:39 +0000 (00:13 +0900)]
evas json: implement radial gradient.

Change-Id: Ibbd69e3cecb7c76e1789e7045c495cec31c227e2

5 years agoevas json: implement stroke dash. 05/192905/3
Hermet Park [Mon, 12 Nov 2018 13:57:14 +0000 (22:57 +0900)]
evas json: implement stroke dash.

Change-Id: Idc95bc89ee76d3e8d05f5125676afba170318e5e

5 years agoecore event_loop: add the error handler for event_loop 38/192738/2
lsj119 [Fri, 9 Nov 2018 01:49:18 +0000 (10:49 +0900)]
ecore event_loop: add the error handler for event_loop

When the return value of select is ZERO, _ecore_main_fdh_mark_active did not called.
So in _ecore_main_awake_handler, we cannot guarantee right operation. For this problem,
Even the return valie of select is ZERO, call the _ecore_main_fdh_mark_active()
with NULL parameters. and In _ecore_main_fdh_mark_active(), reset the all flags for each
fd_handlers.

Change-Id: I6f47f6ce9f824a21e668c099d1601243b3af8b53

5 years agoevas json: implement stroke join style. 04/192904/1
Hermet Park [Mon, 12 Nov 2018 13:19:30 +0000 (22:19 +0900)]
evas json: implement stroke join style.

Change-Id: I8b77354bf632dcc627ead8ba33c1b00349411ce5

5 years agoevas json: implement shape fill rule. 03/192903/1
Hermet Park [Mon, 12 Nov 2018 13:06:20 +0000 (22:06 +0900)]
evas json: implement shape fill rule.

Change-Id: I2a9e958c62a131072e04b79186516d41e7246250

5 years agoevas json: fix wrong color integration. 00/192900/1
Hermet Park [Mon, 12 Nov 2018 12:41:29 +0000 (21:41 +0900)]
evas json: fix wrong color integration.

It must be a mistake while writing code.

Change-Id: Ifc95524633d04cef0bc7325a5ad751b91d9c3509

5 years agoevas json: Implemenent missing linear gradient and stroke cap. 67/192867/3
Hermet Park [Fri, 9 Nov 2018 13:02:30 +0000 (22:02 +0900)]
evas json: Implemenent missing linear gradient and stroke cap.

Change-Id: Id5daed129bd0e2173cdac5d2deff0b4af71cfa2f

5 years agoevas vg: skip current cached frame. 06/192806/1
Hermet Park [Fri, 9 Nov 2018 11:05:51 +0000 (20:05 +0900)]
evas vg: skip current cached frame.

There is a missing scenario that doesn't hit the current cached frame.
Re-use the node tree that constructed before,
if the same frame number is requested.

Change-Id: I10148b18de257e1de96ee65886003ce5afdd873d

5 years agoRevert "bug fixed : ignore_output_transform is should not processed." 77/192777/1
joogab yun [Fri, 9 Nov 2018 09:26:20 +0000 (09:26 +0000)]
Revert "bug fixed : ignore_output_transform is should not processed."

This reverts commit ae5fa3014d06a3fc88c7377ecbd38f12688607e9.

Change-Id: Id4ca163021d2f32b5af0abe3cc00ff926d53d397

5 years agobug fixed : ignore_output_transform is should not processed. 37/192737/2
Joogab Yun [Fri, 9 Nov 2018 01:31:50 +0000 (10:31 +0900)]
bug fixed : ignore_output_transform is should not processed.

Change-Id: I0885ba6e25b9667e8ea7a32bed16c1f7ee2561fe

5 years agoefl_ui_dnd: fix migration issue
Yeongjong Lee [Fri, 9 Nov 2018 01:40:12 +0000 (10:40 +0900)]
efl_ui_dnd: fix migration issue

It doesn't need for tizen. also this break backward

Change-Id: I06bc61dfcfa566894710367f5c70e2f957724df5

5 years agoevas vg: free ector surface if they are not cached. 07/192707/2
Hermet Park [Thu, 8 Nov 2018 09:37:57 +0000 (18:37 +0900)]
evas vg: free ector surface if they are not cached.

Ector surfaces which not gonna cached should be destroyed immediately.
Those surfaces was introduced for animation frames.

Here patch decides which one is cacheable or not.

This is a regresion bug by 7dff71295c3c99ea136955625ba0ebbfa4beee32

Change-Id: Iebde8ae0f29104b49cca1665778c404f3eba0278

5 years agomeson: fix hyphen support submit/tizen/20181108.080505 submit/tizen/20181109.041614
Marcel Hollerbach [Wed, 7 Nov 2018 08:42:35 +0000 (09:42 +0100)]
meson: fix hyphen support

there was a missing define for the search directory

5 years agoCanvas layout: support more Efl.Text.* with efl_part
Daniel Hirt [Tue, 6 Nov 2018 14:52:53 +0000 (16:52 +0200)]
Canvas layout: support more Efl.Text.* with efl_part

This adds many Efl.Text.* that are useful for manipulating the
underlying TEXTBLOCK object's propeties using efl_part.

This has been implemented as part of the "user-defined" properties of
the layout part, so that the changes on the part persist across load of
different groups.

Note that text styles have precedence over the TEXTBLOCK (Canvas.Text)
object's properties. if an edc provides a style, the properties it
manipulates as part of the "base:" string would not be affected by this
API.

In general, this helps reducing the amount of styles for objects (or
modes of the same objects) that share the same setup, but are different
in some properties (e.g.  ellipsis, wrap etc).

@feature

Canvas layout: add text part "expand" property

This adds "expansion modes", which are essentially the same as min/max
hints in the edje part's 'description.text' fields.

The user can then customize his widget to different modes without being
forced to create a new edje group in the theme.

Note that there is an added check in case one of the min/max text flags
are provided from the theme. In such case, all flags from this new API
will be ignored.
This fortifies misuse where the flags are set both in theme and the API.

@feature

5 years agoEfl text style: remove 'underline2_type' property
Daniel Hirt [Tue, 6 Nov 2018 14:53:03 +0000 (16:53 +0200)]
Efl text style: remove 'underline2_type' property

This moves the logic to the 'underline_type' property, in which we
define the type.

5 years agoCanvas text: share common style strings in style_set
Daniel Hirt [Tue, 5 Jun 2018 18:02:37 +0000 (21:02 +0300)]
Canvas text: share common style strings in style_set

Style strings will now be implicitly handled and shared by the object.

Also, some of the code was simplified for better readability.

@optimize

5 years agoCanvas text: remove old style tag 'replace_len' field
Daniel Hirt [Tue, 5 Jun 2018 18:02:31 +0000 (21:02 +0300)]
Canvas text: remove old style tag 'replace_len' field

The result isn't used at all, so the field is useless.
Maybe we should use stringshare comparisons.

5 years agoUi internal text scroller: fix meson build
Daniel Hirt [Mon, 5 Nov 2018 22:41:50 +0000 (00:41 +0200)]
Ui internal text scroller: fix meson build

This adds missing files to `meson.build`.

5 years agoUi internal text scroller: move .eo.h to internal usage
Daniel Hirt [Mon, 5 Nov 2018 21:55:20 +0000 (23:55 +0200)]
Ui internal text scroller: move .eo.h to internal usage

This fixes the broken `Elementary.h` header.

5 years agoEfl selection: remove cancelled promises
Daniel Hirt [Fri, 7 Sep 2018 09:31:46 +0000 (12:31 +0300)]
Efl selection: remove cancelled promises

This removes the promises in case multiple selection_set are used and
future_cancel were called.

5 years agoUi scroll: fix update scrollbar arrows on pos change
Daniel Hirt [Mon, 15 Oct 2018 14:32:11 +0000 (17:32 +0300)]
Ui scroll: fix update scrollbar arrows on pos change

5 years agoUi text: port widget to new interfaces
Daniel Hirt [Thu, 13 Sep 2018 09:45:29 +0000 (12:45 +0300)]
Ui text: port widget to new interfaces

This is a big rewrite. In addition to implementing functionality with
the new Efl interfaces, a lot of legacy (Elm) code was removed.

A lot of work is squashed in this patch as the widget would've been
completely broken otherwise.

The major changes are:

Life-cycle:
  - Code was split to have 'finalize'
  - Item anchors (emoticons, images) were rewritten to have proper
  life-cycle

Scrolling logic:
  - Efl.Ui.Internal_Text_Scroller widget was added, and replaces the old
  Elm.Interface_Scrollable implementation. Singe-line and multi-line
  modes were fixed as well as sizing calculations. The object is now
  swallowed inside the Ui.Text widget.

Copy and paste:
  - Code was converted to Efl.Selection logic.

Modified tests:
    elementary_test -to "efl.ui.text"
    elementary_test -to "efl.ui.text label"

Added tests:
    elementary_test -to "efl.ui.text inputfield"

Removed test:
    elementary_test -to "efl.ui.text.async"

5 years agoCanvas text: emit text,changed event on markup_insert
Daniel Hirt [Mon, 5 Nov 2018 16:15:19 +0000 (18:15 +0200)]
Canvas text: emit text,changed event on markup_insert

5 years agoText: add markup_range_get
Daniel Hirt [Wed, 12 Sep 2018 18:17:53 +0000 (21:17 +0300)]
Text: add markup_range_get

This allows to retrieve the markup representation of the current text.

@feature