Commit Graph

19 Commits

Author SHA1 Message Date
Mike Blumenkrantz 20b592cef7 fix various trivial null derefs
Summary:
CIDs 1401081, 1401044, 1400983, 1400960, 1400927, 1400799, 1396946, 1396944,
     1383851, 1383847, 1382211, 1379921, 1379921

Reviewers: cedric

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10452
2019-10-18 13:30:10 -04:00
Carsten Haitzler ea48df482c ephysics - fix stringshare double del
fix CID 1402707
2019-08-05 13:33:01 +01:00
Subodh Kumar a91a4b4ca5 ephysic: comparing with same statement.
Summary:
There is no effect of comparing with same expression.
@fix

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-09 16:40:17 -07:00
Carsten Haitzler 51cc2e0ec6 ephysics - fix stacking comparsion correctly if 1 smaller than 1
this fixes a pretty trivial comparison issue..

found by PVS studio

@fix
2017-07-29 09:08:40 +09:00
Bruno Dilly 30b8c1ce82 ephysics: set proper geometry when setting an object to a face
Summary:
It was missing a break statement in a switch.

Fixes T5547

@fix

Reviewers: cedric

Subscribers: jpeg

Maniphest Tasks: T5547

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-06-06 14:00:33 -07:00
Jean-Philippe Andre 6b8228ffbd evas: Move map to a separate mixin
Evas map is not translated to proper eo apis yet.
Efl.Canvas.Map will be a mixin implementing the evas map
API in a bindable API.
2016-06-29 09:12:26 +09:00
Jean-Philippe Andre 7bf8da2baa evas: Rename Evas.Object to Efl.Canvas.Object
One step closer to make the EO inheritance tree look like
it's all Efl.
2016-06-21 14:35:19 +09:00
Stefan Schmidt ec4dbd88a6 ephysics: add missing break in switch to avoid override variable with other cases
Due to the missing break we would fall into the next case here which might lead
to variables overridden with wrong values.

CID: 1261441, 1261440, 1261438
2015-10-21 14:37:18 +02:00
Cedric BAIL 92568eee9d ephysics: trying to fix build on Windows. 2015-04-28 11:37:11 +02:00
Carsten Haitzler 1670fa27d9 ephysics - Dereference after null check - fix
fix CID 1039416
2014-09-01 19:40:47 +09:00
Carsten Haitzler db78176151 ephysics - fix uninitialized var
fixes CID 1232735
2014-08-27 11:28:25 +09:00
Carsten Haitzler 56dc04b019 ehysics - fix potential divide by zero
fix CID 1039435
2014-08-22 20:14:59 +09:00
Carsten Haitzler 683834cfc4 ephysics - fix null dereference
this fixes a real bug in ephysics where we explicitly deref a null
ponter. fix CID 1039418
2014-08-22 20:14:59 +09:00
Carsten Haitzler 91c0198273 ephysics - fix explicit possible null deref
fix CID 1039417
2014-08-22 20:14:59 +09:00
Stefan Schmidt 95b8c98e91 ephysics: Avoid use after free.
body gets deleted here so better not access it afterwards. My guess is that
in many cases the actual free gets delayed long enough to not crash here but
better avoid this race in the first place.

CID: 1039896
2013-09-12 15:48:58 +01:00
Henrique Dante de Almeida b9ac180af6 ephysics: turn EPhysics_Body into a POD-type struct
EPhysics_Body is an Eina_Inlist, and Eina_Inlist iterator macros use
offsetof(). Since using offsetof in C++ classes is invalid,
EPhysics_Body must be a POD-type struct.
2013-02-26 10:17:28 -03:00
Gustavo Sverzut Barbieri df701d8ca2 some clang warning cleanups i forgot to commit
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Leandro Dorileo f97e2750e4 Ephysics: get rid of shadow warnings
Get rid of -Wshadow warnings on bullet's C++ "shadowed" variables.


SVN revision: 82136
2013-01-04 01:21:07 +00:00
Gustavo Sverzut Barbieri 9e0788cc2e efl: merge ephysics
changes:
 * __UNUSED__ -> EINA_UNUSED
 * Fixed doc hierarchy



SVN revision: 82126
2013-01-03 22:10:40 +00:00