Commit Graph

21672 Commits

Author SHA1 Message Date
Mike McCormack 6777b743d2 Check for -Wshadow warnings with globals
Signed-off-by: Mike McCormack <mike@atratus.org>
2013-04-03 22:39:57 +11:00
Cedric BAIL be2cebab17 eina: fix test logic after change in Eina_Cow GC. 2013-04-03 19:21:51 +09:00
Cedric BAIL f11dc2f184 evas: fix crash with Evas buffer when target colorspace has no alpha. 2013-04-03 19:18:58 +09:00
Daniel Juyung Seo c16daf940f eo.c: fixed formatting. 2013-04-03 09:31:24 +09:00
Rafael Antognolli 97d06e5b3f ecore/wayland: Fix screen geometry when it is rotated.
Width and height should be swapped when the screen is rotated by 90 or
270 degrees.

Additionally, add a command to the ecore_evas_window_sizes_example which
returns the screen geometry.
2013-04-02 17:27:39 -03:00
Daniel Willmann 1cb5a8f63a evas_textblock: Avoid dereferencing out-of-bounds element
Address sanitizer found this. Not really a serious error as text[i] will
be 0 in that case (I believe) and the loop is aborted in any case.

Still, better safe than sorry.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 18:57:43 +01:00
Rafael Antognolli 3e43ad338d evas/map: Consider framespace offset when populating map points.
Since the objects are moved by the framespace offset, it must be
considered when populating map points. This is done when the map is
applied to an object (the map points are updated with the framespace
offset of the canvas that is parent of that object.

Additionally, a flag is set on the map struct to indicate that it had
its points updated already to avoid re-adding the offset.
2013-04-02 14:40:00 -03:00
Rafael Antognolli c7cdcf4e0e evas/wayland: Take framespace offsets into account on pointer_xy_get().
Applications using these functions should not know of any offset. This
patch makes the canvas pointer position to be returned exactly the same
as on X11 backends.
2013-04-02 14:40:00 -03:00
Rafael Antognolli f5f589429e ecore/wayland: Destroy the frame_callback on window_free. 2013-04-02 14:40:00 -03:00
Rafael Antognolli 41d00df3d7 evas/wayland: Remove wrong check from framespace position_get.
This check makes no sense, since objects can be on outside of the
screen, with negative position, but they still need to be adjusted by
the framespace offset.
2013-04-02 14:40:00 -03:00
Rafael Antognolli 8d88a73f68 evas/events: Fix evas_events framespace offset.
Framespace offset adjustment should be applied to every object not
marked with "is_frame".

Additionally, it should be applied only once. Since it is already being
applied on the *_feed_mouse_* functions, there's no need to apply it
again on the _evas_event_source_mouse_* functions, which are called by
the former ones.

Also add the missing adjustment to the feed_mouse_move one.
2013-04-02 14:40:00 -03:00
Rafael Antognolli 89f20765ab evas/wayland: Add framespace offset to newly created objects.
Patch originally done by: Christopher Michael <cp.michael@samsung.com>
2013-04-02 14:40:00 -03:00
Rafael Antognolli 6006432c3f evas/wayland: Several fixes to make the framespace behave correctly.
- mark all children of a given smart object as "is_frame" if the smart
object is also marked as a frame;
- when moving a smart object, use the originally requested move
coordinate to calculate the offset that the children should be moved
too;
- _smart_move_children_relative will fetch the child position with
geometry_get(), this way getting the corrected object position, before
adding the offset.
2013-04-02 14:40:00 -03:00
Rafael Antognolli b73786814c ecore_evas/wayland: Ecore_Evas geometry should report the client size.
The real canvas size contains enough space for rendering the frame, but
ecore_evas_geometry_get() should be consistent accross all the engines
and report only the client area.
2013-04-02 14:39:59 -03:00
Daniel Willmann 262c67b56d edje_multisense: Support sample speed
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:26:48 +01:00
Daniel Willmann 1ba22c2bc4 ecore_audio_playback: Support changing of speed
Implement ecore_audio_input_speed_set() in playback example
Fix volume limit off-by-one check while I'm at it

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:26:47 +01:00
Daniel Willmann 4d318ba913 ecore_audio: Implement speed get/set functions
You can now change the playback speed of an input

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:26:47 +01:00
Daniel Willmann 75aa9118d0 ecore_audio: Rename ecore_audio_*_userdata_{get,set} userdata -> data
As mentioned by Cedric *_data_set is used in other places of EFL
already.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:21:44 +01:00
Daniel Willmann 35d203d9e7 eina_cow: Fix compilation for tests again
eina_cow_add now requires a gc parameter

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 15:07:25 +01:00
Daniel Juyung Seo 20ff3f1bd2 evas_object_image.c/Evas.h: Added Eo apis for image preload.
1. Added evas_obj_image_preload_begin/cancel APIs.
2. Removed evas_obj_image_preload. This accepts 'cancel' as a parameter and it's so confusing to developers.
3. No ChangeLog/NEWS for this change because Eo APIs were not released yet.
4. Discussed with Raster.
5. It's encouraged to use elm_image however. elm_image has elm_image_preload_disabled_set() API.
2013-04-02 22:00:55 +09:00
Daniel Juyung Seo 8027d5f5d7 evas_render.c: added EINA_UNUSED for unused parameter. 2013-04-02 22:00:55 +09:00
Raphael Kubo da Costa e307f2fa8e edje: Remove duplicate check introduced in 9157c51. 2013-04-02 15:10:14 +03:00
Cedric BAIL 7ebe7373e6 eina: make it possible to disable Eina_Cow GC at instantiation time. 2013-04-02 17:11:05 +09:00
Daniel Juyung Seo 3b9f8e4847 Ecore.h: fixed ecore documentation. 2013-04-02 16:25:51 +09:00
Daniel Juyung Seo 45a2beaf92 Evas.h: fixed documentation. 2013-04-02 16:06:50 +09:00
Cedric BAIL 7e004cea85 eina: let's not run the GC on memcpy things. 2013-04-02 13:41:47 +09:00
Carsten Haitzler 140c1afefb valgrind complain-- 2013-04-02 12:28:06 +09:00
Daniel Juyung Seo b8395bd119 eina_stringshare.h: more acurate documentation for Eina_Stringshare. 2013-04-01 20:57:57 +09:00
Daniel Juyung Seo b992ec4894 evas_object_smart.c: internal comment++. 2013-04-01 20:57:57 +09:00
Cedric BAIL ad861e9eab evas: call Eina_Cow garbage collector on surface dump. 2013-04-01 18:39:50 +09:00
Cedric BAIL 0970b7dca5 evas: forgotten destruction of Eina_Cow pool for objects state. 2013-04-01 18:39:29 +09:00
Cedric BAIL 78984b9e7a eina: correctly remove reference from hash and make cow garbage collector work. 2013-04-01 18:38:24 +09:00
Cedric BAIL 9157c51f32 edje: prevent segv when not defining item before setting there property. 2013-04-01 15:27:38 +09:00
Cedric BAIL fc22deac88 efl: don't track generated file. 2013-04-01 12:42:30 +09:00
Carsten Haitzler d0bfeaf7eb we have spec files... lets add arch pkgbuild stuff too :) 2013-03-31 22:22:19 +09:00
Cedric Bail 1c50ffe83f Evil: add mkdtemp 2013-03-31 00:13:06 +09:00
Cedric Bail fe409a5b42 systemd: make it require at least 192 to work. 2013-03-30 19:29:14 +09:00
Cedric Bail a49d3d6bb2 ecore: add some usefull debugging information. 2013-03-30 19:29:14 +09:00
Cedric Bail 5da94cfc89 eina: add <errno.h> for build on Win32. 2013-03-30 18:20:19 +09:00
Daniel Juyung Seo fe003af31a README: call ldconfig after installing bullet. 2013-03-30 02:04:41 +09:00
Alex-P. Natsios 75777b2304 Fixed behavior of --disable{-xine,-v4l2} 2013-03-29 22:14:34 +09:00
Carsten Haitzler 22bccb7e1e Fix edje entry to resepct filter callbacks and not clear
selections if filters filter out all contents.
2013-03-29 19:42:54 +09:00
Cedric BAIL ad406d7353 eina: use a global variable to hold the same string accross other library. 2013-03-29 11:44:48 +09:00
Carsten Haitzler 332e215b41 matching fix to evas test suite to account for changes in word
start/end changes as per log message/changelog
2013-03-29 09:21:20 +09:00
Stefan Schmidt 5706c6027b eeze/sensor/tests: Catch all callbacks from async read.
Originally we quit mainloop on the first event we got. As we expect a bit
more we are now counting them and only leave when all arrived.
2013-03-28 14:38:12 +00:00
Stefan Schmidt bc93fd6aa7 eeze/sensor/fake: Finally fix fake module to send out correct ecore events.
Sensor type is completely different from event type.
2013-03-28 14:38:12 +00:00
Stefan Schmidt ad9fbb41d2 eeze/sensor: Print out what feature we are testing right now. 2013-03-28 14:38:12 +00:00
Cedric Bail 7bb467819b ecore: add systemd watchdog support to Ecore main loop. 2013-03-28 23:28:32 +09:00
Cedric Bail ebcd5e22bc eina: forgotten header for make dist. 2013-03-28 20:54:43 +09:00
Carsten Haitzler 4f4681ebd8 warn-- 2013-03-28 20:13:40 +09:00