Carsten Haitzler
8da330739c
eeze mount tool - warn - fix prototypes used for ecore events
2018-11-09 11:44:00 +00:00
Carsten Haitzler
7847af7f57
edje calc - wanr - move fallthrough tag to just before next case
...
fixes warning for it not being there... no bug here though
2018-11-09 11:44:00 +00:00
Carsten Haitzler
921d3b4979
edje calc - warn - fix warn about initting all fields of calc params
2018-11-09 11:44:00 +00:00
Carsten Haitzler
8fc3942713
edje load - warn - fix buffer trucn warning
2018-11-09 11:44:00 +00:00
Carsten Haitzler
71ee265130
edje edit - warn - use bigger buffer to avoid buf trunc warnings
2018-11-09 11:44:00 +00:00
Carsten Haitzler
d6f2b20998
emotion modules - warn - fix possible uninit var
2018-11-09 11:44:00 +00:00
Carsten Haitzler
003323f244
edje modules - warn - use proper hash free func prototype
2018-11-09 11:44:00 +00:00
Carsten Haitzler
0bf371856c
edje program - warn - handle theoretical null seat string
2018-11-09 11:44:00 +00:00
Carsten Haitzler
a492851aed
edje cc - warn - use correct free prorotype for has free func
2018-11-09 11:44:00 +00:00
Carsten Haitzler
c7a22fb2c7
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.
2018-11-09 11:44:00 +00:00
Carsten Haitzler
5f24a64968
elocation - only define ebta api support if needed - not needed here...
2018-11-09 11:44:00 +00:00
Carsten Haitzler
882b1796d1
edje_cc - warn - fix buf truncation by snprintf by extending buffers
2018-11-09 11:44:00 +00:00
Carsten Haitzler
f2e1116667
edje_cc - warn - fix free cb to be of right prototype
...
wrap by correctly typed func.
2018-11-09 11:44:00 +00:00
Carsten Haitzler
143bef348f
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.
2018-11-09 11:44:00 +00:00
Carsten Haitzler
906183f2cd
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.
2018-11-09 11:44:00 +00:00
Carsten Haitzler
24b345bb53
edje_cc_parse - warn - make buffers bigger to avoid truncation
2018-11-09 11:43:59 +00:00
Carsten Haitzler
832620f8fd
eo suit - warn - include ptr indirection not privater to avoid warnings
2018-11-09 11:43:59 +00:00
Carsten Haitzler
dd4eb20c75
eldbus tests - warn - fix func structs/arrays to init every field
2018-11-09 11:43:59 +00:00
Carsten Haitzler
7c075c7431
efreet test - use correct free func prototype for desktyp type add
2018-11-09 11:43:59 +00:00
Carsten Haitzler
d6b5cdf7a1
elm map - warn - set vars to valueto avoid uninit warning
2018-11-09 11:43:59 +00:00
Carsten Haitzler
f08ed1af12
elm map - warn - avoid buffer truncation warnings
...
make buffers bigger to asvoid truncation to also avoid warnings.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
33ed41f4fd
efl net - warn - fix eldbus service struct to fill all fields
...
no more warnings about uninit fields
2018-11-09 11:43:59 +00:00
Carsten Haitzler
64190277ea
eeze test - warn - fix ecore event callback prototypes
2018-11-09 11:43:59 +00:00
Carsten Haitzler
95a538d1f8
ecore con - fix buffer truncate warnign by a bigger buffer
2018-11-09 11:43:59 +00:00
Carsten Haitzler
64975b1e95
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
37806b5bf9
ecore wl2 - fix wl protocol listyener to init all struct fields
2018-11-09 11:43:59 +00:00
Carsten Haitzler
0fd2b812cc
efl net - fix dbus field init to init all fields in a struct
2018-11-09 11:43:59 +00:00
Carsten Haitzler
11b9f9a4dd
evas test - actually use result of add of rect obj for test
2018-11-09 11:43:59 +00:00
Carsten Haitzler
c1ad0879a1
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...
2018-11-09 11:43:59 +00:00
Carsten Haitzler
a447bbd489
evas blur filter - fix warnigns about unused labels
...
if no asm is defined.. then you hit this.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
a176524f95
emile test - fix dtata struct init missing initted fields - warn
2018-11-09 11:43:59 +00:00
Carsten Haitzler
603adee731
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
2018-11-09 11:43:59 +00:00
Carsten Haitzler
927bd2a656
elm calendar - stop truncation of text printed into buffer
2018-11-09 11:43:59 +00:00
Carsten Haitzler
a23f09d590
efl ui calendar - expand buffers so trucnation doesnt happen
2018-11-09 11:43:59 +00:00
Carsten Haitzler
aaecb2579a
efl ui text -0 fix warns on unused params/vars
2018-11-09 11:43:59 +00:00
Carsten Haitzler
98a23c5660
elm web - fix warn of possibly uninit var
...
set to a default value...
2018-11-09 11:43:59 +00:00
Carsten Haitzler
309e5a57e1
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
659473a7bf
elm theme - initialize all struct members to null
...
missing aded struct members...
2018-11-09 11:43:59 +00:00
Carsten Haitzler
b15772853c
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
6359236420
elm quicklaunch - fix defines to handle no-environ case without warnings
2018-11-09 11:43:59 +00:00
Carsten Haitzler
3a18900441
meson build - fix build to check for environ like autofoo did
2018-11-09 11:43:59 +00:00
Carsten Haitzler
fdde914bac
elm quicklaunch - warn - explicitly handle socket length being too long
...
make socket too long an error. fixes warning.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
b8b2253f85
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
1a782c9318
eolain generation test - handle buffer size limit warnings
...
expand buffers or handle if they get over-filled and abort as an error.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
eae67c02e3
edje test - fix unused return val and actually check its value
2018-11-09 11:43:59 +00:00
Carsten Haitzler
665a75378f
xxx - fix eina_future_then calls to pass sotrage val - fix warns
2018-11-09 11:43:59 +00:00
Carsten Haitzler
f80b8979ba
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
03a919d6e0
eet data - if xwarning about possibly uninit var
2018-11-09 11:43:59 +00:00
Carsten Haitzler
f447bc1316
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
ba372625a9
eina magic debug test - fix xarnings about double-defining
...
only domagic debug test if magic debug is enabled, otherwise have no
test. fixes warning
2018-11-09 11:43:59 +00:00