Commit Graph

30578 Commits

Author SHA1 Message Date
Vitor Sousa c27c2c15d5 eolian_cxx: Fix @beta on generated bindings for C++ 2015-05-12 11:45:54 -03:00
Daniel Kolesa 6e7ab244f7 eolian: fix wrong enum tests 2015-05-12 14:37:16 +01:00
Daniel Kolesa 5f32c178e9 eolian: update eolian_type_base_type_get for REGULAR types 2015-05-12 14:27:24 +01:00
Chris Michael d278cd5f49 ecore-wayland: Input grab_count is unsigned int, no need for comparison < 0
Summary: As input->grab_count is an unsigned int there is no need for
the < 0 comparison as that will always return false

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-12 09:14:26 -04:00
jhyuni.kang aee186b4f3 ecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab with pointer and touch event
Summary:
The touch screen device generates touch events.
         But in some special enviroments, a first finger will be matched to a pointer event(not touch event).
         And other fingers (second, third, ...) will be matched touch events.
         In that case ecore_wl_input_ungrab() is called abnormally.
         A first finger pressed, _ecore_wl_input_cb_pointer_button() call ecore_wl_input_grab().
         A second finger pressed, _ecore_wl_input_cb_touch_down() is called but not grab.
         But when a second finger is released, _ecore_wl_input_cb_touch_up() call ecore_wl_input_ungrab()
         So ungrab function generate two mouse up events and a first finger is released.
         In other case, first finger pressed -> second finger pressed -> first finger release.
         That case when a first finger released a second finger release event is generated.
         So after that application doesn't get a release event about a second finger
         when a second finger is really released.

         I think in a multitouch case, ungrab function will be called when a all finger are released.
         So I add a grab_count variable for count currently touched fingers.
         And only called a ungrab funtion all fingers are released.

Test Plan:
In a touch screen supported multitouch, press two or more fingers and release.
           And watch events generation.

Reviewers: raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2481
2015-05-12 08:57:47 -04:00
Chris Michael 8a3441dfe9 ecore-drm: Add API function to test if an output can go on a given crtc
Summary: This adds a new API function to test if a given
Ecore_Drm_Output can be used on a given crtc. This is needed for DRM
RandR support

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-12 08:57:47 -04:00
Jean-Philippe Andre 22ef03cd53 Eina log: Fix previous commit (ERR & CRI -> bt)
This was a < comparison, not <=
I don't totally agree on taking the bts for each error... just try
to cat a binary file in terminology and have fun.
2015-05-12 19:37:25 +09:00
Jean-Philippe Andre 65b53f4a37 Eina log: Enable backtrace only for CRI and ERR by default
Using EINA_LOG_LEVEL=4 for standard debugging has now become
absolutely horrible (and slow!). Backtraces may make sense in
case of ERR and CRI messages, but are just pollution for other
levels.

WRN could be argued over but the old env variable is still there
so just use it if you want backtraces:

$ export EINA_LOG_BACKTRACE=2
2015-05-12 19:06:00 +09:00
Jean-Philippe Andre 55eb75ad86 Evas GL common: Skip shaders generation if there is no change
Based on a quick git diff we check that the glsl code has not changed.
This should fix out-of-tree builds and avoid all source modification
unless required.

When compiling from a tarball there should be no git tree (err 129),
or if there's one the files should not be checked in (ie. no diff).
If you changed the glsl files in a tarball... too bad for you.

If this is still not enough to fix the build, then go ahead and disable
the script from Makefile_Evas.am

I would like to note that the auto-generation during make is extremely
useful when working on the shaders, which is why I'd rather keep it enabled.

@fix
2015-05-12 12:31:34 +09:00
Stefan Schmidt 9f29974292 data: Silent another mkdir when usign automake silent rules
Visible when running as verbose.
2015-05-11 18:38:02 +02:00
Daniel Kolesa 3dc27cb482 eolian: fix up remaining doc comments in the tree 2015-05-11 15:38:03 +01:00
Daniel Kolesa 8c51033d49 eolian: fix doc comments across the tree 2015-05-11 15:38:03 +01:00
Boram Park 842969c231 ecore_wl: get dpi after all pending events are handled
Summary: ecore_wl_dpi_get will return the correct value after wl_output's events are handled

Reviewers: zmike, devilhorns, bryceharrington

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2479
2015-05-11 09:27:13 -04:00
Stefan Schmidt d1b414a6ec rg_etc: Correct ifdef to keep function available for debug build
In the nightly builds we have debug enabled and this spotted the case where
rg_etc1_solution_coordinates_block_colors_get is actually still used:

lib/eet/.libs/libeet.so: undefined reference to `rg_etc1_solution_coordinates_block_colors_get'

Showed only after we switched back from release to dev mode.

@fix
2015-05-11 15:00:12 +02:00
Sebastian Dransfeld 9e0a00d768 efreet: fix signed warning
Update to 6a0d23. Casting to int isn't a real solution, since we could
have values which overflows.

Since we want the absolute value, just make sure we subtract the larger
value from the smaller.
2015-05-11 13:34:10 +02:00
Sebastian Dransfeld 3433c1449e edje: rename variable
Give variable a name which better describes its purpose.
2015-05-11 13:34:10 +02:00
Ji-Youn Park 4a4d5f2705 evas: fix bug in evas gl texture.
Summary: bytecount always 1,2,4. so changed for simple code.
2015-05-11 20:07:12 +09:00
Stefan Schmidt 3d8c0794b8 build: Fix benchmark and exmaples dep on all target as well.
Same as the check-build target I fixed in my previous commit these two need
the all dependency to compile everything needed before being run.
2015-05-11 12:45:44 +02:00
Stefan Schmidt 42e535b086 build: Add correct dependency for check-build target.
We need to build everythign else before. Without this dep running check-build
as first target from a fresh build will fail due to wrong dependency handling
(like no eolian run over the eo files, etc)

Inspired by D2489 from Kabeer Khan.
2015-05-11 12:34:54 +02:00
Ji-Youn Park 9bf8a0e56b evas: fix bug in evas gl texture.
Summary: If the pixel size of image is not 32 bit like EVAS_COLORSPACE_AGRY88,
         GL_UNPACK_ALIGNMENT have to be changed.
2015-05-11 19:08:12 +09:00
Carsten Haitzler b309a3e0f1 eina debug monitor - dont shadow vars 2015-05-11 14:03:44 +09:00
Carsten Haitzler b444540fe6 eina debug monitor - add types.h include 2015-05-11 14:01:32 +09:00
Carsten Haitzler ca0a253167 efl debug - make event log header .. nicer with a block header and size 2015-05-11 12:28:18 +09:00
Cedric BAIL 419e8f2ffe evas: fixing examples after change on Evas_3D. 2015-05-10 23:23:26 +02:00
se.osadchy f5e1151148 evas: fix bug in the example of evas-3d-cube-rotate.
Summary: Refactoring of code and fix work of signals for normal rotation of cube.

Reviewers: cedric, raster, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-10 23:08:46 +02:00
Yomi 2305084d09 eio: fix grammar and spelling mistakes in Eio.h.
Summary: Fix grammar and spelling mistakes in Eio.h

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-10 23:02:11 +02:00
Jean Guyomarc'h 3a3b12d403 ecore_cocoa,ethumb: fix compiling after EAPI policy changes
Summary:
I went through a lot of undefined symbols while compiling ecore_evas_cocoa
module and ethumb-related binaries. E.g.:

  Undefined symbols for architecture x86_64:
    "_ECORE_COCOA_EVENT_EXPOSE", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_GOT_FOCUS", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_LOST_FOCUS", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_RESIZE", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_WINDOW_DESTROY", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_init", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_screen_size_get", referenced from:
        __ecore_evas_screen_geometry_get in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_shutdown", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
        __ecore_evas_cocoa_free in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o

  Undefined symbols for architecture x86_64:
    "_ethumb_calculate_aspect_from_ratio", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_calculate_fill_from_ratio", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_ecore_evas_get", referenced from:
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_evas_get", referenced from:
        __thumb_generate in modules_ethumb_emotion_module_la-emotion.o
        __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_finished_callback_call", referenced from:
        __thumb_generate in modules_ethumb_emotion_module_la-emotion.o
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
        __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_image_save", referenced from:
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_image_resize", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_register", referenced from:
        __module_init in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_unregister", referenced from:
        __module_shutdown in modules_ethumb_emotion_module_la-emotion.o

EAPI was not well re-defined in both cases. It has been handled in
ecore_cocoa_private.h and ethumb_private.h. These files must be included
after a main library header (because EAPI is undef there).

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-10 22:58:14 +02:00
Oleksandr Shcherbina b85713a0a4 evas: pass disable atlas flag between Evas_3D_Texture and Evas_GL_Image
Summary:
Bind flag atlas_enable.
Build adjusting matrix only in case getting texture unit with atlas.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-10 22:55:59 +02:00
Carsten Haitzler db6a1af45e efl debugd - fix evlog writing - dont duplicate empty blocks 2015-05-10 22:42:35 +09:00
Carsten Haitzler 6c99fb6c92 eina evlog - make log dumps simple binary from debugd with header 2015-05-10 22:36:39 +09:00
Carsten Haitzler 71182a57a3 eina evlog - remove stolen count - unecessary 2015-05-10 22:27:37 +09:00
Carsten Haitzler 2aeb289063 eina - begin event log infra we can get from the new debug monitor
we can down dump event logs. some ecore mainloop bits are logging at
the moment.
2015-05-10 19:05:54 +09:00
Subhransu Mohanty 1ce417eb8b evas/engine: Fix the ector drawing for gl backend 2015-05-09 20:00:01 +09:00
Subhransu Mohanty d82c0ae1bf evas/canvas : Call correct engine function for setting clip color 2015-05-09 19:59:00 +09:00
Tom Hacohen a00bbffd3f Ecore tests: REMOVE wayland tests.
These tests aren't really testing anything, and are just broken and annoying.
They only test init and shutdown, and they require a running wayland compositor.

They fail for anyone that has wayland enabled but not running in a wayland session.

They should be brought back once they actual test something, or once we allow skipping
tests that can't be run due to environment issues.
2015-05-08 16:18:36 +01:00
Tom Hacohen 7072ca435a Ecore tests: Properly split (some) unit tests to units
Units were not properly split. We also had to resort to hacks we are not
allowed to do before, which are now fixed.
We don't allow shutting down and powering up again. Once something is off,
it's off.
2015-05-08 16:18:36 +01:00
Tom Hacohen e27f40111d Eo: Mark composite APIs as beta.
Until now we used @protected, but now we can finally properly use @beta.
2015-05-08 16:18:36 +01:00
Tom Hacohen f5494bd906 Ecore audio test: Remove unneeded test.
We don't need to test eo works in the ecore audio suite.
If you mark it as virtual, it's virtual.
2015-05-08 16:18:36 +01:00
Daniel Kolesa 8920a69284 eolian: generation for beta events 2015-05-08 14:45:10 +01:00
Daniel Kolesa a5ce9e5d75 eolian: API and tests for beta events 2015-05-08 14:37:02 +01:00
Daniel Kolesa fbf622db0c eolian: fix generation tests 2015-05-08 14:28:42 +01:00
Daniel Kolesa f0e40d2c55 eolian: oops... forgot to add a param 2015-05-08 14:23:23 +01:00
Daniel Kolesa c8b0b06971 eolian: parsing for beta events 2015-05-08 14:22:32 +01:00
Daniel Kolesa 5726cf3b0f eolian: beta funcs generation 2015-05-08 14:19:02 +01:00
Stefan Schmidt 2bd6c423d7 build: Pass on makeflags and use proper @$(MAKE)
Going with the build in automake stuff allows us to run this target also in
parallel. Before we got the warning that the jobserver was missing and it
would only run as -j1. Thanks to Tom for spotting and Flameeyes for the blog
post:
https://blog.flameeyes.eu/2010/10/tell-tale-signs-that-your-makefile-is-broken#gsc.tab=0
2015-05-08 15:12:46 +02:00
Daniel Kolesa 0c07b9bea4 eolian: is_beta API plus tests 2015-05-08 14:12:27 +01:00
Daniel Kolesa b33e2b21a1 eolian: parse the @beta qualifier 2015-05-08 14:00:07 +01:00
Tom Hacohen a08583d4d4 Efl debug: Rename shadowing variable. 2015-05-08 13:55:39 +01:00
Stefan Schmidt d1a5770a77 libunibreak: Follow README rename in EXTRA_DIST for distcheck.
The latest libunibreak updated changed the README name to README.md. Follow
this for the EXTRA_DIST files.
2015-05-08 14:29:13 +02:00
kabeer khan d00c89de11 autotools: enable make check-build which builds only test suites
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: tasn, cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2480
2015-05-08 14:19:48 +02:00