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
Carsten Haitzler
b279ff77cc
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.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
b4f9021e55
eina strbuf tests - fix tests to properly check fail unless conditions
...
the contiions were wrong - warnings picked it up. fix.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
9fd36d7037
efl check - fix uniit var warning by setting to 0 to start
2018-11-09 11:43:59 +00:00
Carsten Haitzler
ce400382d8
eo parser - fix buffer size warning for snprintf truncation
...
make buffers bigger so it can't be truncated.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
9f63f356fc
eolian - fix warnings about strin truncation by expanding buffers
...
fixes noisy warnings...
2018-11-09 11:43:59 +00:00
Carsten Haitzler
172f6000d6
evas mempool bench - fix warning about unused param
...
unused in some ifdefs - so make as unused.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
e8b9492600
evas list benchmarks - fix warning about if guarding
2018-11-09 11:43:59 +00:00
Carsten Haitzler
98042f98eb
eina bench array - fix warning about if case not guarding
...
fix warning noise... no change in code function though.
2018-11-09 11:43:59 +00:00
Carsten Haitzler
e15c663c0a
eina inline hash - fix warn about switch case fallthrough
...
fallthrough is intended so add fallthrough markers to silence warning
2018-11-09 11:43:59 +00:00
Carsten Haitzler
ea6edad4fb
eina bech - hash - warn - fix type for hash func to have proper types
...
wrap cityhash with proepr typed hash gen func. fix warning
2018-11-09 11:43:58 +00:00
Carsten Haitzler
0a2c3557cb
eina vpath - warning - remove unused variable
2018-11-09 11:43:58 +00:00
Carsten Haitzler
642fe42cfc
eina - btlog - fix warnign about uninit struct field
...
sentinel should fill all members to null.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
2ec2d97356
eina vpath - warning - fix constness of string pointer
...
fixes bad const usage, butnot an actual bug.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
9a4e25a7a8
eina promise - warning fix - init storage field on return
...
fix a warning but this actually is a bug with storage being left
uninitialized.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
79c783d16f
eina file - fix unused param warning by marking as unused
...
unsued in some ifdef paths, so mark as such to avouid warning noise
2018-11-09 11:43:58 +00:00
Carsten Haitzler
ea9ab2dd5a
eina debug - fix buffer truncation warning
...
make buf the size of the unix socket path to truncate early to avoid
warning
2018-11-09 11:43:58 +00:00
Carsten Haitzler
01139b419d
eo - parser - fix warning about truncated strings with snprintf
...
expand buffer to never truncate.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
07177d540c
eina - vpath - silence buffer size truncation warning
...
add more space in dest buffer to silence warning about possible
truncation by snprintf.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
cc9f4b8bd0
eo - parser - fix warning about fallthrough case
...
goto end with unknown return in possible fallthrough case.
2018-11-09 11:43:58 +00:00
Carsten Haitzler
2017c169e7
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
2018-11-09 11:43:58 +00:00