Commit Graph

51910 Commits

Author SHA1 Message Date
Bruno Dilly d57d17723e edje: refactor _edje_program_run for FOCUS_SET action
Improve code readability and avoid code repetition.
2016-12-21 23:03:33 -02:00
Cedric BAIL 18f41e12bc eina: try slight improvement of eina tests suite.
Still need to go through individual test to improve them.
2016-12-21 16:40:22 -08:00
Cedric BAIL a5a587510e efl: add helper to run tests suite under valgrind. 2016-12-21 16:40:22 -08:00
Cedric BAIL b734d18cca efl: improve help displayed by each tests suite. 2016-12-21 16:40:22 -08:00
Cedric BAIL a8807b5c28 eldbus: always run the main loop.
Now that future result are always delayed, we always need to run
the main loop to collect them.
2016-12-21 11:36:42 -08:00
Cedric BAIL ef166eff14 ecore: we need to process future and promise before the internal start loop. 2016-12-21 11:36:42 -08:00
Chris Michael 06e014959b evas: don't use float comparison for integers
As derek pointed out, 'stride' here is an integer so does not need a
float comparison, so just use a simple integer comparison.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-21 13:18:02 -05:00
Daniel Kolesa 12fad8444b eolian: fix doc tests to match generation output 2016-12-21 19:01:32 +01:00
Daniel Kolesa 431d36e9a0 eolian gen: fix enum member reference generation 2016-12-21 15:12:58 +01:00
Daniel Kolesa 620a3a06ae edje object: fix doc refs for part_external_param_type 2016-12-21 15:07:46 +01:00
Daniel Kolesa b74dd5b7f4 edje object: return EDJE_EXTERNAL_PARAM_TYPE_MAX properly
The getter of part_external_type should return this enum value
on error. Thanks Artem Popov for original fix, which however
involved using an integer value directly instead of the less
error-prone enum (see D4502).
2016-12-21 14:41:05 +01:00
Stefan Schmidt 877f55e13b Revert "build: enable -Wfloat-equal for compiling"
This reverts commit 25792d6416.

100 patches later the build output is still noisy with all these warnings.
I'm happy to see this warnings added to the default CFLAGS once the current
warnings have been dealt with.

Enable this warning in the local CFLAGS, get the current warnings fixed,
add it to the efl default flags to make the warning prominent for newly added
code.
2016-12-21 10:42:34 +01:00
Carsten Haitzler 92b2c86ed8 evas gl engine - fix loading of pager backgrounds in e again...
fixes recent commitby jpeg
2016-12-21 17:58:38 +09:00
Carsten Haitzler d5e88e4cf9 eina freeq - add ability to set freeval and add a final freeval
this allows environment variables to set the byte falue to fill a
freeq item added to the queue and then another item to actually fill
memory with just before the free function so memory content difference
will tell you if its inside the free queue or already freed from it
completely. if you set tyhe freed value to 0 this will not fill with a
value just before free and leave the value as-is determined by the
first fill pattern value.
2016-12-21 15:44:15 +09:00
Carsten Haitzler ffefbe0718 eina freeq - add explicit bypass on/off env var controls
this fixes T5032
2016-12-21 15:44:15 +09:00
Jean-Philippe Andre 1d4affadd1 evas: Try to fix compilation with EGLAttrib 2016-12-21 13:56:14 +09:00
Jean-Philippe Andre 2e89702d57 evas: Fix image save with GL engine and orientation
This fixes evas_object_image_save after changing the orientation
of an image in the GL engine. In SW engine the pixel data is rotated
in memory, so things worked fine from the beginning. In GL we may
have to go through loops and hoops in order to rotate and fetch the
data from the GL texture.

This should fix ce45d44.
2016-12-21 13:56:05 +09:00
Jean-Philippe Andre 01af35de6f ecore_evas_convert: Fix crazy use of objects from a thread
I did that originally to implement a slightly nice way for
Ctrl+C to work. But it was clearly a hack (as mentioned in
the comments), and stopped working since domains were
introduced.

Should we rename this standalone tool as "efl_image_convert",
or even just "efl_convert"?
2016-12-21 13:56:04 +09:00
Woochan Lee 01d3139dba elmentary: prevent crash in multibuttonentry.
Summary: Do Null checking to prevent crash, if 'elm_object_text_get()' return NULL here.

Reviewers: Hermet, woohyun, jpeg, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-20 16:39:30 -08:00
Jee-Yong Um f1ab136abc doxygen: remove reference warnings.
Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-20 16:39:30 -08:00
Marcel Hollerbach 4e9656feac eina: add api for assessing the relative position of two rectangles
Summary:
the api returns if a rectangle is positioned above/below/right or left
of a other rectangle.

Code which does simular things are part of verne and e, i think its a good idea to provide api for that.

Test Plan: Just run the test suite

Reviewers: raster, jpeg, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-20 16:39:30 -08:00
Cedric BAIL a5804c970d edje: fix float comparison warning in vector loading logic.
Hum, there is no use of our fixed point infrastructure for vector.
2016-12-20 16:39:30 -08:00
Cedric BAIL 4c465772f9 edje: fix float comparison warning in edje programs. 2016-12-20 16:39:30 -08:00
Cedric BAIL 48fb9856c0 edje: fix float comparison warning in edje text logic. 2016-12-20 16:39:30 -08:00
Cedric BAIL 14d7ec478c edje: fix float comparison warning in edje edit logic. 2016-12-20 16:39:30 -08:00
Cedric BAIL 7abe432992 edje: fix float comparison warning in edje callback code. 2016-12-20 16:39:30 -08:00
Cedric BAIL b3ce8381e2 edje: fix float comparison warning in edje calc. 2016-12-20 16:39:30 -08:00
Cedric BAIL dc022d602d edje: fix float comparison warning in Box Layout logic. 2016-12-20 16:39:30 -08:00
Cedric BAIL 9730eb1f47 edje: fix float comparison warning in edje_cc. 2016-12-20 16:39:30 -08:00
Cedric BAIL 4cbca7c357 edje: fix float comparison warning in edje_external_inspector. 2016-12-20 16:39:30 -08:00
Cedric BAIL f89cc21ef0 edje: fix float comparison warning in edje SVG loader. 2016-12-20 16:39:30 -08:00
Cedric BAIL 6e40fd890b edje: fix float comparison warning in edje_pick. 2016-12-20 16:39:30 -08:00
Cedric BAIL a27561b5f5 edje: add infrastructure to test value. 2016-12-20 16:39:30 -08:00
Cedric BAIL 4fd1aa8958 elementary: fix float comparison warning in player. 2016-12-20 16:39:30 -08:00
Cedric BAIL 71df83120c elementary: fix float comparison warning in popup. 2016-12-20 16:39:30 -08:00
Cedric BAIL bec8a19080 elementary: fix float comparison warning in multi button entry. 2016-12-20 16:39:30 -08:00
Cedric BAIL a65cb62853 elementary: fix float comparison warning in action slider. 2016-12-20 16:39:30 -08:00
Cedric BAIL a07a267145 elementary: fix float comparison warning in c&p. 2016-12-20 16:39:30 -08:00
Cedric BAIL df0894f2bf elementary: fix float comparison warning in button. 2016-12-20 16:39:30 -08:00
Cedric BAIL 8952d505c2 elementary: fix float comparison warning for panes. 2016-12-20 16:39:30 -08:00
Cedric BAIL 5e5da80c62 elementary: fix float comparison warning in map. 2016-12-20 16:39:30 -08:00
Cedric BAIL 691ba877d7 elementary: fix float warning in scroller. 2016-12-20 16:39:30 -08:00
Cedric BAIL 33e43c5608 elementary: fix float comparison warning in thumb. 2016-12-20 16:39:30 -08:00
Cedric BAIL 0f6383b73e elementary: fix float warning in progressbar. 2016-12-20 16:39:30 -08:00
Cedric BAIL c994976cdb elementary: fix float warning in Efl.Ui.Image. 2016-12-20 16:39:30 -08:00
Cedric BAIL 144c7deaae elementary: fix float comparison warning in photocam. 2016-12-20 16:39:30 -08:00
Cedric BAIL 30ff98f8fd elementary: fix float warning in Efl.Ui.Box_Layout. 2016-12-20 16:39:30 -08:00
Cedric BAIL a5bc6f7b00 elementary: fix float comparison warning in flip page test. 2016-12-20 16:39:30 -08:00
Cedric BAIL ee79b90066 elementary: fix float comparison warning in bg test. 2016-12-20 16:39:30 -08:00
Cedric BAIL 233cb77c1e evas_cserve2: fix float comparison warning. 2016-12-20 16:39:30 -08:00