Jiyoun Park [Fri, 5 Apr 2013 04:05:25 +0000 (13:05 +0900)]
Evas font: fix font source have wrong current size.
Cedric BAIL [Fri, 5 Apr 2013 03:20:37 +0000 (12:20 +0900)]
eet: enable more debug information regarding memory allocation.
Cedric BAIL [Fri, 5 Apr 2013 03:14:50 +0000 (12:14 +0900)]
eet: remove use of prev to reduce memory usage (30KB on 32bits system).
Cedric BAIL [Fri, 5 Apr 2013 02:50:54 +0000 (11:50 +0900)]
eet: do the correct math for allocation.
U. Artie Eoff [Thu, 4 Apr 2013 18:00:53 +0000 (11:00 -0700)]
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>
Tom Hacohen [Thu, 4 Apr 2013 15:05:27 +0000 (16:05 +0100)]
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.
Cedric Bail [Thu, 4 Apr 2013 14:43:23 +0000 (23:43 +0900)]
eina: add some more debug information.
Cedric Bail [Thu, 4 Apr 2013 13:54:12 +0000 (22:54 +0900)]
eina: align allocated memory to 4096.
Tom Hacohen [Thu, 4 Apr 2013 12:32:06 +0000 (13:32 +0100)]
Evas clouseau: Cleaned up and added more clouseau map info.
Yakov Goldberg [Thu, 4 Apr 2013 11:26:52 +0000 (14:26 +0300)]
evas/font: fixing tests
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Daniel Willmann [Thu, 4 Apr 2013 10:46:35 +0000 (11:46 +0100)]
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>
Yakov Goldberg [Sun, 6 Jan 2013 07:53:17 +0000 (09:53 +0200)]
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>
Ryuan Choi [Thu, 4 Apr 2013 08:28:34 +0000 (09:28 +0100)]
Added EFLConfigVersion.cmake.in for all XXXConfigVersion.cmakeNeeds Review
Cedric BAIL [Thu, 4 Apr 2013 06:12:40 +0000 (15:12 +0900)]
eet: round above.
Cedric BAIL [Thu, 4 Apr 2013 03:36:03 +0000 (12:36 +0900)]
evas: let's not force an allocation and write for nothing.
Cedric BAIL [Thu, 4 Apr 2013 03:21:05 +0000 (12:21 +0900)]
eo: let's not duplicate our align code with a less efficient one.
Cedric BAIL [Thu, 4 Apr 2013 03:01:07 +0000 (12:01 +0900)]
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.
Cedric BAIL [Thu, 4 Apr 2013 02:22:43 +0000 (11:22 +0900)]
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.
Stefan Schmidt [Wed, 3 Apr 2013 15:48:00 +0000 (16:48 +0100)]
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.
Stefan Schmidt [Wed, 3 Apr 2013 15:23:33 +0000 (16:23 +0100)]
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.
Stefan Schmidt [Wed, 3 Apr 2013 15:18:23 +0000 (16:18 +0100)]
eeze/sensor/tizen: Require a minimum tizen system sensor lib version.
This allows us to use more sensor types without any ifdef hell.
Stefan Schmidt [Tue, 2 Apr 2013 14:59:51 +0000 (15:59 +0100)]
eeze/sensor: Add more sensor types used in Tizen.
Just setting up the sensor types in the lib and fake module.
Mike McCormack [Wed, 3 Apr 2013 11:39:57 +0000 (22:39 +1100)]
Check for -Wshadow warnings with globals
Signed-off-by: Mike McCormack <mike@atratus.org>
Cedric BAIL [Wed, 3 Apr 2013 10:21:51 +0000 (19:21 +0900)]
eina: fix test logic after change in Eina_Cow GC.
Cedric BAIL [Wed, 3 Apr 2013 10:18:58 +0000 (19:18 +0900)]
evas: fix crash with Evas buffer when target colorspace has no alpha.
Daniel Juyung Seo [Wed, 3 Apr 2013 00:31:17 +0000 (09:31 +0900)]
eo.c: fixed formatting.
Rafael Antognolli [Tue, 2 Apr 2013 20:11:10 +0000 (17:11 -0300)]
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.
Daniel Willmann [Tue, 2 Apr 2013 17:45:53 +0000 (18:45 +0100)]
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>
Rafael Antognolli [Sun, 31 Mar 2013 19:15:53 +0000 (16:15 -0300)]
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.
Rafael Antognolli [Wed, 27 Mar 2013 20:18:09 +0000 (17:18 -0300)]
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.
Rafael Antognolli [Tue, 26 Mar 2013 22:25:29 +0000 (19:25 -0300)]
ecore/wayland: Destroy the frame_callback on window_free.
Rafael Antognolli [Tue, 26 Mar 2013 16:49:18 +0000 (13:49 -0300)]
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.
Rafael Antognolli [Tue, 26 Mar 2013 16:42:03 +0000 (13:42 -0300)]
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.
Rafael Antognolli [Tue, 26 Mar 2013 17:51:54 +0000 (14:51 -0300)]
evas/wayland: Add framespace offset to newly created objects.
Patch originally done by: Christopher Michael <cp.michael@samsung.com>
Rafael Antognolli [Tue, 26 Mar 2013 17:51:05 +0000 (14:51 -0300)]
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.
Rafael Antognolli [Fri, 22 Mar 2013 19:18:10 +0000 (16:18 -0300)]
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.
Daniel Willmann [Fri, 22 Mar 2013 17:28:56 +0000 (17:28 +0000)]
edje_multisense: Support sample speed
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Mon, 18 Mar 2013 16:08:34 +0000 (16:08 +0000)]
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>
Daniel Willmann [Mon, 18 Mar 2013 16:05:03 +0000 (16:05 +0000)]
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>
Daniel Willmann [Tue, 2 Apr 2013 15:21:44 +0000 (16:21 +0100)]
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>
Daniel Willmann [Tue, 2 Apr 2013 14:06:33 +0000 (15:06 +0100)]
eina_cow: Fix compilation for tests again
eina_cow_add now requires a gc parameter
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Juyung Seo [Tue, 2 Apr 2013 12:58:32 +0000 (21:58 +0900)]
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.
Daniel Juyung Seo [Tue, 2 Apr 2013 10:44:30 +0000 (19:44 +0900)]
evas_render.c: added EINA_UNUSED for unused parameter.
Raphael Kubo da Costa [Tue, 2 Apr 2013 12:10:14 +0000 (15:10 +0300)]
edje: Remove duplicate check introduced in 9157c51.
Cedric BAIL [Tue, 2 Apr 2013 08:10:35 +0000 (17:10 +0900)]
eina: make it possible to disable Eina_Cow GC at instantiation time.
Daniel Juyung Seo [Tue, 2 Apr 2013 07:25:51 +0000 (16:25 +0900)]
Ecore.h: fixed ecore documentation.
Daniel Juyung Seo [Tue, 2 Apr 2013 07:06:50 +0000 (16:06 +0900)]
Evas.h: fixed documentation.
Cedric BAIL [Tue, 2 Apr 2013 04:41:47 +0000 (13:41 +0900)]
eina: let's not run the GC on memcpy things.
Carsten Haitzler (Rasterman) [Tue, 2 Apr 2013 03:28:06 +0000 (12:28 +0900)]
valgrind complain--
Daniel Juyung Seo [Mon, 1 Apr 2013 11:57:41 +0000 (20:57 +0900)]
eina_stringshare.h: more acurate documentation for Eina_Stringshare.
Daniel Juyung Seo [Mon, 1 Apr 2013 08:27:54 +0000 (17:27 +0900)]
evas_object_smart.c: internal comment++.
Cedric BAIL [Mon, 1 Apr 2013 09:39:50 +0000 (18:39 +0900)]
evas: call Eina_Cow garbage collector on surface dump.
Cedric BAIL [Mon, 1 Apr 2013 09:39:29 +0000 (18:39 +0900)]
evas: forgotten destruction of Eina_Cow pool for objects state.
Cedric BAIL [Mon, 1 Apr 2013 09:38:24 +0000 (18:38 +0900)]
eina: correctly remove reference from hash and make cow garbage collector work.
Cedric BAIL [Mon, 1 Apr 2013 06:27:38 +0000 (15:27 +0900)]
edje: prevent segv when not defining item before setting there property.
Cedric BAIL [Mon, 1 Apr 2013 03:42:30 +0000 (12:42 +0900)]
efl: don't track generated file.
Carsten Haitzler (Rasterman) [Sun, 31 Mar 2013 13:22:19 +0000 (22:22 +0900)]
we have spec files... lets add arch pkgbuild stuff too :)
Cedric Bail [Sat, 30 Mar 2013 15:09:37 +0000 (00:09 +0900)]
Evil: add mkdtemp
Cedric Bail [Sat, 30 Mar 2013 09:09:41 +0000 (18:09 +0900)]
systemd: make it require at least 192 to work.
Cedric Bail [Sat, 30 Mar 2013 09:09:16 +0000 (18:09 +0900)]
ecore: add some usefull debugging information.
Cedric Bail [Sat, 30 Mar 2013 09:20:19 +0000 (18:20 +0900)]
eina: add <errno.h> for build on Win32.
Daniel Juyung Seo [Fri, 29 Mar 2013 17:04:41 +0000 (02:04 +0900)]
README: call ldconfig after installing bullet.
Alex-P. Natsios [Fri, 29 Mar 2013 13:14:34 +0000 (22:14 +0900)]
Fixed behavior of --disable{-xine,-v4l2}
Carsten Haitzler (Rasterman) [Fri, 29 Mar 2013 10:42:54 +0000 (19:42 +0900)]
Fix edje entry to resepct filter callbacks and not clear
selections if filters filter out all contents.
Cedric BAIL [Fri, 29 Mar 2013 02:44:48 +0000 (11:44 +0900)]
eina: use a global variable to hold the same string accross other library.
Carsten Haitzler (Rasterman) [Fri, 29 Mar 2013 00:21:20 +0000 (09:21 +0900)]
matching fix to evas test suite to account for changes in word
start/end changes as per log message/changelog
Stefan Schmidt [Thu, 28 Mar 2013 13:54:29 +0000 (13:54 +0000)]
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.
Stefan Schmidt [Thu, 28 Mar 2013 13:52:58 +0000 (13:52 +0000)]
eeze/sensor/fake: Finally fix fake module to send out correct ecore events.
Sensor type is completely different from event type.
Stefan Schmidt [Thu, 28 Mar 2013 13:52:09 +0000 (13:52 +0000)]
eeze/sensor: Print out what feature we are testing right now.
Cedric Bail [Thu, 28 Mar 2013 14:28:32 +0000 (23:28 +0900)]
ecore: add systemd watchdog support to Ecore main loop.
Cedric Bail [Thu, 28 Mar 2013 11:54:25 +0000 (20:54 +0900)]
eina: forgotten header for make dist.
Carsten Haitzler (Rasterman) [Thu, 28 Mar 2013 11:11:24 +0000 (20:11 +0900)]
warn--
Stefan Schmidt [Thu, 28 Mar 2013 10:55:05 +0000 (10:55 +0000)]
eina/examples: Return in a non-void function.
Reported by Simotek. Thanks!
Carsten Haitzler (Rasterman) [Thu, 28 Mar 2013 09:51:18 +0000 (18:51 +0900)]
fix word start/end logic to be consistent with other toolkits.
ChunEon Park [Thu, 28 Mar 2013 01:34:26 +0000 (10:34 +0900)]
evas/render - better efficient check.
ChunEon Park [Thu, 28 Mar 2013 01:15:11 +0000 (10:15 +0900)]
evas - updated doc
Stefan Schmidt [Wed, 27 Mar 2013 17:15:27 +0000 (17:15 +0000)]
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.
Stefan Schmidt [Wed, 27 Mar 2013 17:14:31 +0000 (17:14 +0000)]
eeze/sensor/test: Remove useless check.
Thsi would only test ecore_event_add and nothing wrt to eeze sensor.
Vladislav Brovko [Wed, 27 Mar 2013 13:40:28 +0000 (22:40 +0900)]
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>
Cedric BAIL [Wed, 27 Mar 2013 13:36:14 +0000 (22:36 +0900)]
eina: do not report timing for already stopped domain.
Stefan Schmidt [Wed, 27 Mar 2013 13:23:53 +0000 (13:23 +0000)]
eeze/sensor: Make sure we send out ecore events for all async reads in fake module
Stefan Schmidt [Wed, 27 Mar 2013 12:03:32 +0000 (12:03 +0000)]
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.
Cedric BAIL [Wed, 27 Mar 2013 12:42:55 +0000 (21:42 +0900)]
efl: integrate eina_log_timing.
Cedric BAIL [Wed, 27 Mar 2013 12:39:55 +0000 (21:39 +0900)]
eina: add eina_log_timing.
Stefan Schmidt [Wed, 27 Mar 2013 11:57:04 +0000 (11:57 +0000)]
eeze/sensor: Use the correct data get method in the test.
Light and proximity sensors only have one data item to fetch.
Jihoon Kim [Wed, 27 Mar 2013 08:28:53 +0000 (17:28 +0900)]
edje: Add edje_object_part_text_input_panel_layout_variation_set/get API
Ryuan Choi [Wed, 27 Mar 2013 07:30:11 +0000 (16:30 +0900)]
edje_entry: alt+home should not move to first letter. Patch by ryuan.choi.
When user pressed home and ctrl+home, caret is normaly moved to first letter.
But, it is not common behavior for alt+home.
For example, gedit does not have any behavior and urlbar of firefox open
home page when alt+home is pressed.
Iván Briano [Wed, 27 Mar 2013 02:11:32 +0000 (23:11 -0300)]
Add mouse_events option on the group level
No runtime changes. This makes it possible to set mouse_events on a
group, and it will use this value as the default for mouse_events on
every part of that group. It defaults to 1 if not set, to keep things
working as they do now.
That is, instead of setting mouse_events: 0; on every single part you
don't want to receive events, it's now possible to set it for the group
and only use mouse_events: 1; explicitly on those that should handle
events.
Jihoon Kim [Wed, 27 Mar 2013 01:15:42 +0000 (10:15 +0900)]
ecore_imf: Add ecore_imf_context_input_panel_layout_variation_set/get API
Eduardo Lima (Etrunko) [Tue, 26 Mar 2013 18:48:41 +0000 (15:48 -0300)]
Ecore_Wayland: Add ecore_wl_window_surface_create() API
On some use cases, it is necessary to create a new wl_surface without
associating it to a wl_shell_surface. This new API makes it possible.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Stefan Schmidt [Tue, 26 Mar 2013 17:25:35 +0000 (17:25 +0000)]
m4: With efl with binary macro to help cross-compilation
Stumbled over it while trying to give configure a working edje_cc
when doing cross-compile. The path was picked up but never set as
the Makefile_Edje_Helper.am guarded it with HAVE_EDJE_CC which we
never successfully assigned due to this typo.
Thanks goes to Daniel for another round of pair-bug-spotting.
Tom Hacohen [Tue, 26 Mar 2013 14:58:19 +0000 (14:58 +0000)]
Evas tests: Fix TESTS_BUILD_DIR to point to the build dir.
Tom Hacohen [Tue, 26 Mar 2013 11:24:17 +0000 (11:24 +0000)]
Eina examples: Fixed eina magic example.
Return a value in the "new" function...
Tom Hacohen [Tue, 26 Mar 2013 11:09:41 +0000 (11:09 +0000)]
Evas text: Add apparently important NULL checks.
Apparently obj->layer and obj->layer->evas can sometimes be NULL. It is
checked in other objects, for example, image object. Add the checks here
to "fix" a crash reported by Christopher Michael.
Stefan Schmidt [Tue, 26 Mar 2013 11:04:07 +0000 (11:04 +0000)]
eeze: Decrement eeze init count also in error cases
Stefan Schmidt [Tue, 26 Mar 2013 09:24:57 +0000 (09:24 +0000)]
eeze: Unregister all log domains in eeze shutdown.
We only unregistered _udev so far. Now also doing it for _net and _sensor
Stefan Schmidt [Tue, 26 Mar 2013 08:47:54 +0000 (08:47 +0000)]
evas_extn: Tag parameter as unused.
Maybe we should switch to use -Wno-unused-parameter in our default cflags?
I mean unused parameters are really common and I do not see their harm.
Using -Wno-unused-parameter would let us remove all the cluttered EINA_UNUSED
and __UNUSED__ and also be safe when a paramter gets is use later as the
compiler could optimize it out when tagged with unused. Still we would avoid
the warnings to find the important ones.
Stefan Schmidt [Tue, 26 Mar 2013 08:46:01 +0000 (08:46 +0000)]
embryo: Removed unused variable
Stefan Schmidt [Tue, 26 Mar 2013 08:43:16 +0000 (08:43 +0000)]
eeze: Make eeze sensor log domain private and use different ones for the modules
The main eeze sensor log domain was EAPI as it was used in the modules as well.
(Gives some nice runtime error when loading the shared object). Switch to different
domains for the module and make the main domain private.
Spotted by zmike.
Stefan Schmidt [Tue, 26 Mar 2013 08:35:59 +0000 (08:35 +0000)]
eeze/fake/module: Correct error message and fix typo.