Commit Graph

60071 Commits

Author SHA1 Message Date
Carsten Haitzler 791cd5b157 edje test - part content should be null as nothing is swallowed yet
fix test
2018-11-10 16:31:18 +00:00
Carsten Haitzler 1dda6461be meson - make having asm headers errors requiring explicit disables 2018-11-10 15:52:51 +00:00
Carsten Haitzler a6f9a1b4f6 meson - set sloppy spec define as default for efreet
matches autofoo build now
2018-11-09 12:37:14 +00:00
Carsten Haitzler 5aa8afd60d evas textblock - fix unused params/vars 2018-11-09 12:37:09 +00:00
Carsten Haitzler ff2765c4af edje util - handle missing case in switch 2018-11-09 12:22:58 +00:00
Carsten Haitzler 65e9ad0b03 efreet menu - fix truncation in snprintf to have bigger buffers 2018-11-09 12:21:30 +00:00
Carsten Haitzler 14d501d17b efreet icon - move func into ifdef as only used if ifdef is true 2018-11-09 12:20:08 +00:00
Carsten Haitzler f3cea4b53a eio test - fix 32bit test to use correct type for eina value get 2018-11-09 12:18:59 +00:00
Carsten Haitzler df9957a7c4 eina debug - fix 32bit warning for casting down to 32bit ptrs 2018-11-09 12:18:59 +00:00
Carsten Haitzler df02d9a8e2 libunibreak - warn - add fallthrough attributes to minimize warnings 2018-11-09 12:18:59 +00:00
Carsten Haitzler 8292e8c937 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.
2018-11-09 12:18:59 +00:00
Carsten Haitzler c490c71119 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.
2018-11-09 12:18:59 +00:00
Carsten Haitzler b05472eb9d elm code - warn - explicit truncation via custom truncate func 2018-11-09 12:18:59 +00:00
Carsten Haitzler b601e6f54b 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.
2018-11-09 12:18:59 +00:00
Carsten Haitzler dd677aa2f6 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...
2018-11-09 12:18:59 +00:00
Carsten Haitzler 5641910ed2 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.
2018-11-09 12:18:59 +00:00
Carsten Haitzler db3fe9b03f efreet mime cache - expand buffer to avoid truncation by snprintf 2018-11-09 12:18:59 +00:00
Carsten Haitzler 02105219a8 efreetd - warn - expand buffer to avoid truncation by snprintf 2018-11-09 12:18:59 +00:00
Carsten Haitzler 721b72ce87 efreet trash - warn - expand buffer to avoid truncation by snprintf 2018-11-09 12:18:59 +00:00
Carsten Haitzler 80d7f0b7c1 efreet menu - only build internal cmp func if used in ifdefs 2018-11-09 12:18:59 +00:00
Carsten Haitzler a0171db3f2 efreet icon - fix constness of char ptr 2018-11-09 11:44:00 +00:00
Carsten Haitzler ce8e11764c ecore imf - xim module - use proper prorotypes and returns for xim 2018-11-09 11:44:00 +00:00
Carsten Haitzler 391955627c ecore imf - ibus - fill all struct fields 2018-11-09 11:44:00 +00:00
Carsten Haitzler c18d45816d ecore imf - wl - fill all stgruct fields with something... 2018-11-09 11:44:00 +00:00
Carsten Haitzler 0bec6826b1 ecore evas extn - warn - ensure all fields in ecore evas func struct set 2018-11-09 11:44:00 +00:00
Carsten Haitzler c76ea749c1 embryo_cc - warn - bigger buffer to avoid truncation warning 2018-11-09 11:44:00 +00:00
Carsten Haitzler 34b45b235c evas textblock - use proepr free iterator prototype 2018-11-09 11:44:00 +00:00
Carsten Haitzler ca26f83ec9 evas - warn - use correct free func prototype 2018-11-09 11:44:00 +00:00
Carsten Haitzler d70ee74ded evas - neon blend - warn - color mul, not used in one asm func - mark as such 2018-11-09 11:44:00 +00:00
Carsten Haitzler 91184f7324 evas gl - shader cache - warn - use bigger buffer to avoid trunc warn 2018-11-09 11:44:00 +00:00
Carsten Haitzler df5702a609 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.
2018-11-09 11:44:00 +00:00
Carsten Haitzler 7090e49335 ecore evas - warn - buffer engine - set last tick get field to null
missing field not set- set to null so we know its not set.
2018-11-09 11:44:00 +00:00
Carsten Haitzler d52709eca6 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
2018-11-09 11:44:00 +00:00
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