Jérémy Zurcher
2036f7d344
eina: add eina_inlist_first and eina_inlist_last
...
- both as static inline functions
- test added in eina_inlist_simple
2013-04-09 12:03:05 +02:00
Carsten Haitzler
a1e0190725
add a little code to alloc engine info in outs.. but we need a new
...
engine api for this... i guess we have no choice... it's time for a new
engine api anyway...
2013-04-09 16:52:49 +09:00
Tom Hacohen
920c1b2af8
Evas font: Fixed a bug with cluster sizes and ligatures.
...
This casused cursor position (among other things) to look wrong with texts
ending with ligatures.
Thanks to Yakov Goldberg for reporting.
2013-04-08 13:31:09 +01:00
Carsten Haitzler
2364f4514b
evas device new/free -> add/del (new 1.8 api so no log).
2013-04-08 20:10:06 +09:00
Carsten Haitzler
21c2209de8
clean up outputs list on evas free.
2013-04-08 20:10:06 +09:00
Carsten Haitzler
93dc78216c
Add multiple output api support to evas... just "eo infra stubs" right
...
now.
2013-04-08 20:10:06 +09:00
Cedric Bail
948ea14379
edje: always invalidate and recalc the correct Edje object.
2013-04-08 20:03:43 +09:00
Cedric Bail
131936b640
evas: correctly define bounding box in all case.
2013-04-08 15:05:58 +09:00
Cedric Bail
1f56f1a3ab
edje: rename variable to match the rest of the library.
2013-04-08 12:24:44 +09:00
Cedric Bail
fb50c9b366
edje: reuse existing index instead of a direct pointer (-30KB).
...
This one does account for the fact that we always read relative
information even when only computing a part of it.
2013-04-08 12:16:22 +09:00
Cedric Bail
4437235c85
Revert "edje: reuse existing index instead of a direct pointer (-30KB)."
...
This reverts commit 6a6e6dda68
.
2013-04-08 00:14:50 +09:00
Cedric Bail
6a6e6dda68
edje: reuse existing index instead of a direct pointer (-30KB).
2013-04-07 23:50:29 +09:00
Cedric Bail
70f0f9c6b5
evas: get the bounding box from the right object and always update it.
2013-04-07 23:45:23 +09:00
Cedric Bail
4151f89e2d
evas: correctly initialize and get the bounding box at the right time.
2013-04-07 23:45:23 +09:00
Cedric Bail
244cca7503
evas: revert useless change.
2013-04-07 23:45:23 +09:00
Cedric Bail
162df16598
edje: fix little bug with table naming.
2013-04-07 20:18:50 +09:00
Cedric Bail
10afabb68c
edje: increase item number in the mempool to reduce its over head.
2013-04-07 17:04:21 +09:00
Cedric Bail
d27bdb4726
evas: small reorder for a little bit of memory win.
2013-04-07 15:33:58 +09:00
Cedric Bail
7739267d8b
evas: bounding box is only relevant to smart object.
2013-04-07 15:11:56 +09:00
Cedric Bail
f1dfbc4e0e
evas: remove one useless pointer (-30KB).
2013-04-07 14:00:10 +09:00
Cedric Bail
0cee296fa7
edje: don't use 30K of pointers for an indirection in some event path.
2013-04-07 11:39:20 +09:00
Cedric Bail
a645c8153f
edje: one less pointer per Edje_Real_Part.
2013-04-07 02:18:48 +09:00
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
Cedric Bail
fa8c469453
eina: align allocated memory to 4096.
2013-04-04 23:50:14 +09:00
Tom Hacohen
d26f78813f
Evas clouseau: Cleaned up and added more clouseau map info.
2013-04-04 13:32:06 +01:00
Yakov Goldberg
fb7994e0d9
evas/font: fixing tests
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-04 14:35:30 +03: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
98806b17e2
eeze/sensor/tizen: Big update to support all new tizen sensor types.
...
This needs quite soem testing but it should copver all new sensors now.
2013-04-03 17:14:20 +01:00
Stefan Schmidt
f5b322a824
eeze/sensor/tizen: USe enum sentinel to iterate over sensor types.
...
With the newer version we now have a sentinel that marks the last item of the enum.
2013-04-03 17:14:20 +01: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
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
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
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
Stefan Schmidt
911dc0f2a9
eina/examples: Return in a non-void function.
...
Reported by Simotek. Thanks!
2013-03-28 10:56:05 +00:00
Carsten Haitzler
1f1704924d
fix word start/end logic to be consistent with other toolkits.
2013-03-28 18:51:18 +09:00
ChunEon Park
7751a996c8
evas/render - better efficient check.
2013-03-28 10:34:26 +09:00
ChunEon Park
7fca35d848
evas - updated doc
2013-03-28 10:15:11 +09:00
Stefan Schmidt
f7c055b0ce
eeze/sensor: Setup all ecore event types in init.
...
We had some set up but not all. Do that and avoid the redo'ing in
eeze_sensor test.
2013-03-27 17:15:27 +00:00
Stefan Schmidt
fdb479d060
eeze/sensor/test: Remove useless check.
...
Thsi would only test ecore_event_add and nothing wrt to eeze sensor.
2013-03-27 17:14:31 +00:00
Vladislav Brovko
7584a7e84d
eina: add eina_file_mkdtemp and tests for Eina_File.
...
Test added for :
eina_file_direct_ls_simple
eina_file_ls_simple
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-27 22:45:34 +09:00
Cedric BAIL
6f6d425f0d
eina: do not report timing for already stopped domain.
2013-03-27 22:37:15 +09:00
Stefan Schmidt
85d7dddbde
eeze/sensor: Make sure we send out ecore events for all async reads in fake module
2013-03-27 13:23:53 +00:00
Stefan Schmidt
2613394b66
eeze/sensor: Create a new sensor object for the async test.
...
Its a demo so we should do all the steps and create a new object
instead of re-using the other one.
2013-03-27 13:14:21 +00:00