platform/upstream/efl.git
5 years agoevas vg: optimize gradient sequences.
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

5 years agoevas textblock: remove white space after line-break by a next item
Youngbok Shin [Wed, 14 Nov 2018 07:19:30 +0000 (09:19 +0200)]
evas textblock: remove white space after line-break by a next item

Summary:
In some cases, white space at end of line is remained after line-break.
This issue is happened when Textblock do word wrap at the next item. Without
spliting a previous text item. Then, Textblock just skipped calling
_layout_item_text_split_strip_white() function.

This patch also fixed a wrong test case based on wrong logic.
The range rectangles shouldn't be overlapped. Because of remained white space,
a meaningless rectangle was added. And it overlapped by next rectangle.
@fix

Test Plan:
Fixed an exising test case for range renctangles.
Run test case.

Reviewers: herdsman, woohyun, raster, cedric, subodh, subodh6129

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoector/software: remove duplicate call.
Hermet Park [Wed, 14 Nov 2018 07:06:55 +0000 (16:06 +0900)]
ector/software: remove duplicate call.

5 years agoevas - add evas_common_types.h to makefile.am to fix distckeck
Carsten Haitzler (Rasterman) [Tue, 13 Nov 2018 18:36:22 +0000 (18:36 +0000)]
evas - add evas_common_types.h to makefile.am to fix distckeck

5 years agoelm_widget_item_static_focus: prepare the gengrid before preparing items
Marcel Hollerbach [Mon, 1 Oct 2018 08:51:18 +0000 (10:51 +0200)]
elm_widget_item_static_focus: prepare the gengrid before preparing items

this fixes some missing registrations, which lead to errors.

ref T7391

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

5 years agogengrid: unset last_focused pointer when focus moved away
Marcel Hollerbach [Mon, 1 Oct 2018 08:50:12 +0000 (10:50 +0200)]
gengrid: unset last_focused pointer when focus moved away

this was requested by T7391.

fix T7391

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

5 years agoefl_ui_focus: add flag to indicate if a child has the focus
Marcel Hollerbach [Mon, 24 Sep 2018 09:02:09 +0000 (11:02 +0200)]
efl_ui_focus: add flag to indicate if a child has the focus

this is usefull for later implementations in spinner and fileselector.
A event for this was not added because the result is only really usefull
after a focus operation has been successfull.

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

5 years agoelm: add unfocus / focus signals to gen* and toolbar
Marcel Hollerbach [Fri, 21 Sep 2018 17:06:04 +0000 (19:06 +0200)]
elm: add unfocus / focus signals to gen* and toolbar

this adds back unfocus / focus emitting when items in those containers
are getting focus.

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

5 years agodoc: Fix misuse of $ instead of @ in comments
Xavi Artigas [Tue, 13 Nov 2018 11:41:51 +0000 (12:41 +0100)]
doc: Fix misuse of $ instead of @ in comments

$ renders the next word monospaced whereas @ turns the next word into a link.

5 years agoeo: Avoid namespace clashes.
Lauro Moura [Tue, 13 Nov 2018 08:27:02 +0000 (09:27 +0100)]
eo: Avoid namespace clashes.

Summary:
This commit removes some clashes (i.e. names as classes and namespaces
at the same time). It'll avoid nested items that are either forbidden
(C#) or problematic (Python) in some languages.

Reviewers: segfaultxavi, bu5hm4n, felipealmeida

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeo: fix and rework efl_replace()
Vitor Sousa [Mon, 12 Nov 2018 20:10:20 +0000 (18:10 -0200)]
eo: fix and rework efl_replace()

Summary:
Check if the Eo to be replaced is NULL before calling efl_unref.
The documentation implies that the replaced object can be NULL, so this
check avoids unnecessary function calls and warning logs.

Add an EINA_SAFETY check in order to properly print an error message
when the function is used with an NULL storage pointer.
The documentation specifies that the first parameter can not be NULL.
So printing an error message should be better than silently returning.

Add a boolean return to the function that signalizes if the content of
the storage was changed. It is NOT an success/error flag, it is just a
simple helper to quickly test for a change in content.
This feature was inspired by eina_stringshare_replace that is used in
similar ways around the code.

Change the documentation to match the changes and to be more specific
about what is expected and how the arguments are treated.

Reviewers: raster, bu5hm4n, cedric, felipealmeida

Reviewed By: bu5hm4n

Subscribers: #reviewers, #committers, larryolj

Tags: #efl

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

5 years agoeina test - fix build with magic debug disabled
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 17:05:46 +0000 (17:05 +0000)]
eina test - fix build with magic debug disabled

5 years agoRevert "meson: fix a potential race in evas_opt build"
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:42:44 +0000 (16:42 +0000)]
Revert "meson: fix a potential race in evas_opt build"

This reverts commit 32b79c7986a188ac17a5b8e18446e8221ad01fc4.

don't need eo as a dep anymore as i unlinked eo from the sse opt build

5 years agomeson - move static libs sraw sse2 inot sse3 build options set
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:41:32 +0000 (16:41 +0000)]
meson - move static libs sraw sse2 inot sse3 build options set

this fixes builds when sse3 is enabled by building with sse3 opts...

5 years agobuild - evas - sse3 optimized code - decouple from eo
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:10:08 +0000 (16:10 +0000)]
build - evas - sse3 optimized code - decouple from eo

5 years agomeson: fix a potential race in evas_opt build
Daniel Kolesa [Mon, 12 Nov 2018 15:22:20 +0000 (16:22 +0100)]
meson: fix a potential race in evas_opt build

We need to declare dependencies for .eo file generation to prevent
compiling files depending on generated files before they are
generated.

5 years agocxx: explicitly require c++11 and fix tests to conform
Daniel Kolesa [Mon, 12 Nov 2018 14:43:13 +0000 (15:43 +0100)]
cxx: explicitly require c++11 and fix tests to conform

We weren't setting a C++ version for build previously, which would
result in compiler specific default being used, most likely C++11
with GNU extensions on modern compilers and C++03 with GNU exts
on old compilers. This is bad because it potentially breaks build
on older toolchains that don't default to a modern C++.

Now we enable pure C++11 without GNU exts; this resulted in some
of the build breaking because of use of typeof() GNU C/C++ ext
in tests code, so fix that to use standard decltype() from C++11.

@fix

5 years agoefl interface: update efl_gfx_shape_stroke_dash doc.
Hermet Park [Mon, 12 Nov 2018 14:08:48 +0000 (23:08 +0900)]
efl interface: update efl_gfx_shape_stroke_dash doc.

5 years agomeson - define WORDS_BIGENDIAN if on big endian
Carsten Haitzler (Rasterman) [Sun, 11 Nov 2018 09:15:14 +0000 (09:15 +0000)]
meson - define WORDS_BIGENDIAN if on big endian

5 years agoedje test - part content should be null as nothing is swallowed yet
Carsten Haitzler (Rasterman) [Sat, 10 Nov 2018 16:31:18 +0000 (16:31 +0000)]
edje test - part content should be null as nothing is swallowed yet

fix test

5 years agomeson - make having asm headers errors requiring explicit disables
Carsten Haitzler (Rasterman) [Sat, 10 Nov 2018 15:52:51 +0000 (15:52 +0000)]
meson - make having asm headers errors requiring explicit disables

5 years agomeson - set sloppy spec define as default for efreet
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:32:03 +0000 (12:32 +0000)]
meson - set sloppy spec define as default for efreet

matches autofoo build now

5 years agoevas textblock - fix unused params/vars
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:27:11 +0000 (12:27 +0000)]
evas textblock - fix unused params/vars

5 years agoedje util - handle missing case in switch
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:22:58 +0000 (12:22 +0000)]
edje util - handle missing case in switch

5 years agoefreet menu - fix truncation in snprintf to have bigger buffers
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:21:30 +0000 (12:21 +0000)]
efreet menu - fix truncation in snprintf to have bigger buffers

5 years agoefreet icon - move func into ifdef as only used if ifdef is true
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:20:08 +0000 (12:20 +0000)]
efreet icon - move func into ifdef as only used if ifdef is true

5 years agoeio test - fix 32bit test to use correct type for eina value get
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 21:15:17 +0000 (21:15 +0000)]
eio test - fix 32bit test to use correct type for eina value get

5 years agoeina debug - fix 32bit warning for casting down to 32bit ptrs
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 21:14:58 +0000 (21:14 +0000)]
eina debug - fix 32bit warning for casting down to 32bit ptrs

5 years agolibunibreak - warn - add fallthrough attributes to minimize warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:36:08 +0000 (17:36 +0000)]
libunibreak - warn - add fallthrough attributes to minimize warnings

5 years agomeson build - fix libunibreak build to not directly build wordbreakdata
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:16:34 +0000 (17:16 +0000)]
meson build - fix libunibreak build to not directly build wordbreakdata

wordbreakdata.c is #included. dont compile it on its own. also
graphemebreakdata.c too is inthe same boat.

5 years agoefl ui text - stop being brain damaged with cnp mode
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:12:35 +0000 (17:12 +0000)]
efl ui text - stop being brain damaged with cnp mode

cnp mode type was a mess. thankfully it was a bit simpler than it
seemed. cleaned up code to deal with it sanely and keep it a single
type  as intended byt he api too.

5 years agoelm code - warn - explicit truncation via custom truncate func
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:11:07 +0000 (17:11 +0000)]
elm code - warn - explicit truncation via custom truncate func

5 years agoelm entry - warn - write a specirfic string truncate func to avoid warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:54:28 +0000 (16:54 +0000)]
elm entry - warn - write a specirfic string truncate func to avoid warnings

so gcc likes to warn even if the truncation is intended. there are
verious ways around this, but in this case it's really just writing
your own ... which is pretty simple.

there is just too much warning noise for efl.

5 years agoeina file test - warn - silence wanring wirth a bit of hand str trunc
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:40:51 +0000 (16:40 +0000)]
eina file test - warn - silence wanring wirth a bit of hand str trunc

truncation is intended. the way i can find to silence the warning is
use memcpy with a manually computed size...

5 years agoedje entry - be clearer and more efficient on string appending
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:34:16 +0000 (16:34 +0000)]
edje entry - be clearer and more efficient on string appending

using strncpy with strlen of the string you append is pointless.
again... strcpy will do - but use memcpy to be exact and pre-compute
sizing etc. only once. fixes warnings.

5 years agoefreet mime cache - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:29:16 +0000 (16:29 +0000)]
efreet mime cache - expand buffer to avoid truncation by snprintf

5 years agoefreetd - warn - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:28:19 +0000 (16:28 +0000)]
efreetd - warn - expand buffer to avoid truncation by snprintf

5 years agoefreet trash - warn - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:27:22 +0000 (16:27 +0000)]
efreet trash - warn - expand buffer to avoid truncation by snprintf

5 years agoefreet menu - only build internal cmp func if used in ifdefs
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:26:29 +0000 (16:26 +0000)]
efreet menu - only build internal cmp func if used in ifdefs

5 years agoefreet icon - fix constness of char ptr
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:24:57 +0000 (16:24 +0000)]
efreet icon - fix constness of char ptr

5 years agoecore imf - xim module - use proper prorotypes and returns for xim
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:22:21 +0000 (16:22 +0000)]
ecore imf - xim module - use proper prorotypes and returns for xim

5 years agoecore imf - ibus - fill all struct fields
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:17:40 +0000 (16:17 +0000)]
ecore imf - ibus - fill all struct fields

5 years agoecore imf - wl - fill all stgruct fields with something...
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:15:15 +0000 (16:15 +0000)]
ecore imf - wl - fill all stgruct fields with something...

5 years agoecore evas extn - warn - ensure all fields in ecore evas func struct set
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:11:52 +0000 (16:11 +0000)]
ecore evas extn - warn - ensure all fields in ecore evas func struct set

5 years agoembryo_cc - warn - bigger buffer to avoid truncation warning
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:00:11 +0000 (16:00 +0000)]
embryo_cc - warn - bigger buffer to avoid truncation warning

5 years agoevas textblock - use proepr free iterator prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:59:02 +0000 (15:59 +0000)]
evas textblock - use proepr free iterator prototype

5 years agoevas - warn - use correct free func prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:53:11 +0000 (15:53 +0000)]
evas - warn - use correct free func prototype

5 years agoevas - neon blend - warn - color mul, not used in one asm func - mark as such
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:45:51 +0000 (15:45 +0000)]
evas - neon blend - warn - color mul, not used in one asm func - mark as such

5 years agoevas gl - shader cache - warn - use bigger buffer to avoid trunc warn
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:38:28 +0000 (15:38 +0000)]
evas gl - shader cache - warn - use bigger buffer to avoid trunc warn

5 years agoevas sw x11 - warn - use void ptr for error handler
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:36:38 +0000 (15:36 +0000)]
evas sw x11 - warn - use void ptr for error handler

warnings now are being super picky with:

../src/modules/evas/engines/software_x11/evas_xlib_buffer.c: In
function â€˜evas_software_xlib_x_output_buffer_new’:
../src/modules/evas/engines/software_x11/evas_xlib_buffer.c:306:56:
warning: cast between incompatible function types from â€˜void
(*)(Display *, XErrorEvent *)’ {aka â€˜void (*)(struct _XDisplay *,
struct <anonymous> *)’} to â€˜int (*)(Display *, XErrorEvent *)’ {aka
‘int (*)(struct _XDisplay *, struct <anonymous> *)’}
[-Wcast-function-type]
                                  ph = XSetErrorHandler((XErrorHandler)

can we really match a struct <anonymous> somehow? i don't think so...
so... void to the rescue.

5 years agoecore wl2 - fix wl touch handler struct to set extra cb fields
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:30:42 +0000 (15:30 +0000)]
ecore wl2 - fix wl touch handler struct to set extra cb fields

sape and orient were not set, set them to NULL with fixme's

5 years agoeeze mount tool - warn - fix prototypes used for ecore events
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:28:23 +0000 (15:28 +0000)]
eeze mount tool - warn - fix prototypes used for ecore events

5 years agoedje calc - wanr - move fallthrough tag to just before next case
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:21:15 +0000 (15:21 +0000)]
edje calc - wanr - move fallthrough tag to just before next case

fixes warning for it not being there... no bug here though

5 years agoedje calc - warn - fix warn about initting all fields of calc params
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:19:48 +0000 (15:19 +0000)]
edje calc - warn - fix warn about initting all fields of calc params

5 years agoedje load - warn - fix buffer trucn warning
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:17:53 +0000 (15:17 +0000)]
edje load - warn - fix buffer trucn warning

5 years agoedje edit - warn - use bigger buffer to avoid buf trunc warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:16:06 +0000 (15:16 +0000)]
edje edit - warn - use bigger buffer to avoid buf trunc warnings

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.