Commit Graph

27173 Commits

Author SHA1 Message Date
Carsten Haitzler 43a932ab3c evas image loaders - silence noisy warnings that are just not needed
several loaders make too much noise when a file fails to load - almost
all of this is because the file isnt actually an image format file at
all, and an ap is just asking evas to try do a load to see if it is a
loadable image at all. this results in noisy strerr output that simply
shouldnt be there. so silence for loaders. @fix
2014-08-15 12:45:01 +09:00
Carsten Haitzler 2098e8c856 evas gl - fix yuv smooth rendering
i found that we are not setting u and v to be smooth (linear
interpolate) for yuv reendering, even when asked. they remain at a
default "nearest". this enables linear for u and v always, meaning
even when smooth is off, we still interpolate u and v (not y), and
even when at 1:1 with no scaling u and v get interpolation for better
quality.

@fix!
2014-08-15 12:11:33 +09:00
zmike 0ece308bb1 edje text should actually call ellipsis functions instead of attempting to call -1(obj) 2014-08-14 14:19:04 -04:00
Carsten Haitzler 0823a2159f edje - and make logic right for no elipsis with min.x too 2014-08-15 01:36:14 +09:00
Carsten Haitzler 0a457c3f8b elipsis fix - use -1 not 0 to turn off - unusual value for off 2014-08-15 01:26:38 +09:00
Carsten Haitzler 47f22cc997 edje - fix elipsis complaints/bugs with "old" themes
this fixes the elipsis changes xmike made by assuming elipsis of 0
whenn text min x is set (which is what we want anyway). this is a
complaint that is all through phab and other places where people
complain about "x..." or something now replacing formerly perfectly
find labels
2014-08-15 00:45:14 +09:00
Carsten Haitzler 3539afeaf0 make indenting consistent
this doesnt mean its right - it just matches. efreet needs some indent
love.
2014-08-14 20:56:55 +09:00
Adrien Nader a2d8c1651b efreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).
buf is a local variable defined as:
  char buf[4096];
The current code is correct; this change only makes sure the value won't
get out-of-sync later on.
2014-08-14 20:55:58 +09:00
Adrien Nader 3778036926 efreet: reverse if's condition and swap then/else blocks for readability
The reversal makes it possible to merge two #if and unspaghetti the code
a bit.

Since the diff is not very readable, here is the before/after to show
the spirit:

  before:

    #if cond
      if (...)
    #endif
        do_foo();
    #if cond
      else
        do_bar();
    #endif

  after:

    #if cond
      if ( ! ...)
        do_bar();
      else
    #endif
        do_foo();
2014-08-14 20:55:58 +09:00
Adrien Nader 0fb9f5d516 efreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false). 2014-08-14 20:55:58 +09:00
Sebastian Dransfeld e7198621c5 efreet: use eina_file_mkstemp to create filename 2014-08-14 13:30:48 +02:00
Sebastian Dransfeld b9c2a08105 benchmarks: close mkstemp file
eina_file_mkstemp returns an open filedescriptor, so we need to close
it.
2014-08-14 13:30:48 +02:00
Carsten Haitzler 5a722ca6fe fix structurally dead code warning
CID 1039494
2014-08-14 20:21:19 +09:00
Carsten Haitzler 111fd9339c evas gl - fix structurally dead code
unused var protection in ifdef - use unused macro instead. fixes
CID 1039495
2014-08-14 20:18:56 +09:00
Carsten Haitzler 029c6847d7 evas render i386 - comment out structurally dead code
this code has bugs, so comment it out rather than just have a return
get rid of it - CID 1039499
2014-08-14 20:17:16 +09:00
Carsten Haitzler d399921724 fix structurally dead code
this cleans up fixing of unused param warnings - fix

CID 1039524 1039504 1039523 1039503 1039522 1039502 1039521 1039501
1039540 1039520 1039539 1039519 1039538 1039537 1039517 1039536
1039516 1039535 1039515 1039534 1039514 1039533 1039513 1039532
1039512 1039531 1039511 1039530 1039510 1039529 1039509 1039528
1039508 1039527 1039507 1039526 1039506 1039525 1039505
2014-08-14 20:17:16 +09:00
Carsten Haitzler 2bd42962e3 eet init - fix structurally dead code
CID 1039542
2014-08-14 20:17:16 +09:00
Carsten Haitzler 9d40475b22 edje - edje load - remove structurally dead code
CID 1039543
2014-08-14 20:17:16 +09:00
Carsten Haitzler eeab470cf1 evas xpm loader - fix xpm loader overrun check
coverity CID 1039596 - the code actually was wrong. do not multiple by
sizeof(DATA32) for ptr compare here.
2014-08-14 20:17:16 +09:00
Sebastian Dransfeld 95a02295c1 efreet: remove creation of XDG_RUNTIME_DIR
XDG_RUNTIME_DIR should be created and set by the system, not a library.
2014-08-14 13:01:29 +02:00
Carsten Haitzler 03f7ff5f27 evas sw-x11 - fix pointless code in dri swapper
this fixes CID 1039620 - it pointed out a pointless null check.
2014-08-14 19:49:34 +09:00
Carsten Haitzler 1294a91201 evas gl generic - remove dead code
coverity CID 1039633 pointed out dead code and some invalid null
checks. fixed!
2014-08-14 19:44:16 +09:00
Carsten Haitzler 257e853407 eio - fix possible stringhare del bug in dir chmod
coverity picked this up - CID 1039645. it does indeed look like a real
bug. if order->dirs is empty. for example.
2014-08-14 19:40:54 +09:00
Carsten Haitzler 8da87146b4 formatting fix 2014-08-14 19:39:46 +09:00
Carsten Haitzler 4771d25e9f edje swallow resize handling
this fixes some deadcode in CID 1039646 that suggests we should do a
check for rp->typedata.swallow first before we go using it.
2014-08-14 19:36:40 +09:00
Carsten Haitzler bc6eb8fcec edje entry - fix format appending with just empty strings
this fixes CID 1039647 - it caught a real bug. we were not skipping
out on an empty + or - push/pop format fomamnt if it had nothing
there. not actually something people do - but possible. fix!
2014-08-14 19:32:45 +09:00
Carsten Haitzler 53ddf83842 edje_pick - remove unused var that we just free and nothing else
this should fix CID 1039669
2014-08-14 19:25:32 +09:00
Carsten Haitzler 90bbc73c6e eina unicode - remove pointless operands
fixes CID 1039676
2014-08-14 19:18:46 +09:00
Carsten Haitzler bcbe9f621e embryo_cc - check return value
this matches the check for fgetpos()
2014-08-14 19:11:06 +09:00
Carsten Haitzler 4e85b6b57b embryo_cc - fix return value checking
fixes CID 1039712
2014-08-14 19:09:30 +09:00
Carsten Haitzler f9cef6f079 epp - fix unchecked return
fix CID 1039717
2014-08-14 19:04:38 +09:00
Carsten Haitzler 00d3bd1747 epp - fix unchecked return
this fixes CID 1039718
2014-08-14 19:02:39 +09:00
Carsten Haitzler 27ef84e372 edje_decc - fix unchecked return value
fix CID 1039719
2014-08-14 19:00:37 +09:00
Carsten Haitzler 2ee14e5997 embryo_cc - make assert clearer
this fixes coverity warning CID 1039730
2014-08-14 18:55:02 +09:00
Carsten Haitzler e263af08c9 eldbus - fix varargs missing end in iter get and next
there was an error return handler that would return without doing
va_end(). coverity picked this up. this fixes CID 1039883
2014-08-14 18:53:40 +09:00
Carsten Haitzler ff12b4b955 evas cache - fix logically dead code
fix CID 1039928
2014-08-14 18:53:40 +09:00
Carsten Haitzler bd3c2c245d evas cache - fix logically dead code
fixes CID 1039929
2014-08-14 18:53:39 +09:00
Carsten Haitzler cb9a2410af evas cache - fix logically dead code
fixes CID 1039930
2014-08-14 18:53:39 +09:00
Carsten Haitzler 18e2302184 evas cache - fix logically dead code
fixes CID 1039931
2014-08-14 18:53:39 +09:00
Carsten Haitzler d24af520dc evas cache - fix logically dead code
this fixes CID 1039932
2014-08-14 18:53:39 +09:00
Carsten Haitzler cf704cc5a0 evas cache - remove logically dead code
fix CID 1039934
2014-08-14 18:53:39 +09:00
Carsten Haitzler 6b312e9818 evas cache - fix logically dead code
this fixes CID 1039935
2014-08-14 18:53:39 +09:00
Carsten Haitzler 13917c8769 eina_inlist_sorted_state_insert - fix logically dead code
this fixes CID 1039938
2014-08-14 18:53:39 +09:00
Carsten Haitzler 9767fa2b9c eina list insert sorted - fix logically dead code
this fixes CID 1039941
2014-08-14 18:53:39 +09:00
Stefan Schmidt d37b312141 README: Update statement about C++ usage.
Its no longer interfacing to bullet only but also our C++ bindings that
need the C++ compiler.
2014-08-14 11:36:11 +02:00
Carsten Haitzler 874e87e8df fix noop self-assignment
this fixes CID 1040028
2014-08-14 18:25:42 +09:00
Carsten Haitzler 4b431d3638 evas font - fix null access of font format possibility
this fixes NULL access in CID 1099705, 1099703, 1099704
2014-08-14 18:14:08 +09:00
Carsten Haitzler 24a1c444b0 evas scalecache - fix thread deadlock posssibility
there is a re-ordering of how locks are taken and this should cover
that deadlock possibility. fixes CID 1106338
2014-08-14 18:10:11 +09:00
Carsten Haitzler eec2daf31b evas preload + locking - fix deadlock
there is a possible deadlock condition where locks are not taken in
the same order (img lock then cancel lock). re-order so this doesn't
happen. this fixes CID 1106339
2014-08-14 18:03:07 +09:00
Carsten Haitzler 31045df0d2 evas gl - fix possible null tls resource access in bindframebuffer
this fixes CID 1181887
2014-08-14 17:41:55 +09:00