Commit Graph

883 Commits

Author SHA1 Message Date
Jérémy Zurcher 1231faf8d9 eina_inlist: fix eina_inlist_sort doc 2013-04-05 23:58:46 +02:00
Rafael Antognolli 133e3e38f0 ecore/wayland: Sync before assuming that there's no output.
This will make the mainloop block waiting for the output info, if it's
not there yet, but it's better than just returning with no screen size.
2013-04-05 17:26:00 -03:00
Rafael Antognolli e38c985cd0 ecore/wayland: Actually wait for the sync callback on ecore_wl_sync().
The wl_display_sync() request doesn't really wait for all the requests
to be processed, but instead sends a request for the "done" event.
Wayland relies on the fact that the requests are processed in order, so
when the "done" event is received, it means that all the other requests
requested prior to the respective "sync" have been processed already.

This commit makes the ecore_wl_sync() call actually wait for its "done"
event (thus blocking the ecore mainloop).
2013-04-05 16:31:43 -03:00
Cedric BAIL f5b01e32ac evas: stop over redraw of Evas_Map content with Smart Object.
Clip object would always stay in a changed state. Nobody was walking them
to reset. Now we do reset there state as soon as we do render them.
2013-04-05 15:19:48 +09:00
Jiyoun Park 810f1ca972 Evas font: fix font source have wrong current size. 2013-04-05 13:05:25 +09:00
Cedric BAIL 359d7034ba eet: enable more debug information regarding memory allocation. 2013-04-05 12:20:37 +09:00
Cedric BAIL 5465eb3acc eet: remove use of prev to reduce memory usage (30KB on 32bits system). 2013-04-05 12:14:50 +09:00
Cedric BAIL f001cfac38 eet: do the correct math for allocation. 2013-04-05 11:50:54 +09:00
U. Artie Eoff 5b8ce3026f evas: fix documentation sample code format specifiers
%f causes 0.0000 to always be printed... changed to %d
to get the desired/correct output result.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-04-04 15:26:02 -03:00
Tom Hacohen 2da15ced65 Evas font: Disable run-time emboldment in some cases.
If OS/2 table is available and the font is demi-bold, don't do runtime
emboldment.
2013-04-04 16:05:42 +01:00
Cedric Bail dd4a5215d7 eina: add some more debug information. 2013-04-04 23:50:18 +09:00
Tom Hacohen d26f78813f Evas clouseau: Cleaned up and added more clouseau map info. 2013-04-04 13:32:06 +01:00
Daniel Willmann af13c1f60f edje_multisense: Remove unnecessary calls to eet_{open,close}
We have the Eet_File already open in ed->file->ef so use that.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-04 11:50:41 +01:00
Yakov Goldberg d55c3f2bb7 evas/font: fix handling querying char at coords (click on gap)
If query at x coord, which points to rigth half of LTR char,
      next position will be returned. The same for left half of RTL char.

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-04 13:10:22 +03:00
Cedric BAIL 4a4ab2bb48 eet: round above. 2013-04-04 15:12:40 +09:00
Cedric BAIL 54b9b19b66 evas: let's not force an allocation and write for nothing. 2013-04-04 12:36:03 +09:00
Cedric BAIL a13456b04c eo: let's not duplicate our align code with a less efficient one. 2013-04-04 12:21:05 +09:00
Cedric BAIL fa20ab7269 eet: another big boolean removed.
By merging all boolean in their own array I avoid loosing 2.9 bytes on
32bits and 6.9 bytes on 64bits system.
2013-04-04 12:01:07 +09:00
Cedric BAIL a11fe38afc eina: remove the most costly boolean ever.
We did use this 'begin' boolean to make eina_hash always allocate only
once per item it push in the hash. This boolean was alone at the end of
a structure. It would have costed us 4bytes on 32bits system and 8bytes
on 64bits. Removing it make elemines consume 100KB less on 32bits system.

We may have a speed impact on hash insertion here, but I don't think we
do use eina_hash_add and friends in any hot path, at the moment. If that
was the case there would be some way to mitigate this, just not worth it
at the moment.
2013-04-04 11:22:43 +09:00
Stefan Schmidt 9d47faa761 eeze/sensor: Add more sensor types used in Tizen.
Just setting up the sensor types in the lib and fake module.
2013-04-03 17:14:20 +01: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
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 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 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
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 1c50ffe83f Evil: add mkdtemp 2013-03-31 00:13:06 +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
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