Commit Graph

21811 Commits

Author SHA1 Message Date
Ryuan Choi 08aa4222e6 cmake : EcoreConfig.cmake should be able to find ecore sub modules. 2013-04-17 17:40:51 +01:00
Carsten Haitzler 6ccae99bd1 let's fix eeze sensors to not segv on shutdown.. dup registered fake
(udev registered it as fake)... and in the process i found that we
probably double free as sensor is calloced in the module and AGAIN in
eeze sensor core... oh and symbols probably might lak from modules..
so static them up yo.
2013-04-18 00:30:04 +09:00
Daniel Willmann 8a19bb4b29 Eo: Print location of the calling functions in eo log output
Because of the way eo is dispatching method calls of objects the usual
error log you get if you mix up objects or try to call non-existent
methods is:

ERR<12404>:eo lib/eo/eo.c:362 _eo_dov_internal() Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

Of course the problem is not really in lib/eo/eo.c, but in the function
calling eo_do()

Now the macros pass source file and line number on to the _internal
functions so we can log where the error originally happened:

ERR<1938>:eo lib/eo/eo.c:362 _eo_dov_internal() in
lib/ecore_audio/ecore_audio_obj_out_pulse.c:119: Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

This makes debugging with eo a lot easier.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-17 15:56:45 +01:00
Stefan Schmidt f58ffeb7be eeze/sensor: Add small udev module to read temperature from sysfs
This module does only provide a temperature sensor. Some pieces
borrowed from the temget code.
2013-04-17 09:09:42 +01:00
Daniel Juyung Seo 4497815caf evas_object_main.c: added Clipper information for debug info.
Eina value type does not support pointer so I used int as of now.
This needs to be converted into hexa later.
By using Clouseau, one can see this Clipper information.
2013-04-17 16:58:30 +09:00
Daniel Juyung Seo 1605cd354b Evas.h: fixed documentation source formatting while reading it. 2013-04-17 16:52:18 +09:00
Yakov Goldberg 0389d46014 Evas textblock: fix split cursor tests; FIXME ligatures tests
- re-enabling split BiDi cursor tests, disabled in 0d68ffbe;
    ligatures tests are still disabled;
  - change "fail_if" to "ck_assert_int_*",
    because it prints error message with values;
  - fixing usage of embedding LTR/RTL codes in tests;

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-17 10:07:29 +03:00
Tom Hacohen 8d7fdf94ed Fixed make install with DESDIR. 2013-04-16 14:33:42 +01:00
Tom Hacohen 14f7c774ff Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR. 2013-04-16 13:57:00 +01:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.

This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.

As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Tom Hacohen 3ccc7e7cf8 Eo gdb: Change eo_backtrace to catch more cases.
If you know where I can find decent docs about the python gdb bindings,
please let me know.
2013-04-16 12:21:20 +01:00
Tom Hacohen 9ad398be60 Eo gdb: eo gdb script is now autoloaded by gdb, added eo_backtrace.
If you install the efl to a different path than the one gdb was installed to
either set gdb's data dir, or just symlink the file to the other prefix.
You can still use the old method of just loading the module.
2013-04-16 11:45:34 +01:00
Igor Murzov 32f27fee7e Evas: Fix double fclose() in WebP loader 2013-04-16 12:07:36 +04:00
Igor Murzov 1373f0ba4a Fix incorrect printf format usage 2013-04-16 12:07:36 +04:00
Igor Murzov 380df67f84 Install CMake configs to the proper path 2013-04-16 12:07:35 +04:00
ChunEon Park 4163b2f509 Evas: If an object goes to be hidden without replacing the cur/prev state info, the object context can be corrupted at the next show time. Now it replaces the cur/prev in that rare case. 2013-04-16 03:05:16 +09:00
Tom Hacohen 3f3ad67616 Evas textblock: Fixed a bug with deletion of ranges.
Fixed a bug with deletion of ranges that end just before a visual format.
Thanks to WooHyun Jung for reporting.
2013-04-15 17:15:22 +01:00
Tom Hacohen d77a7bb39b Evas polygon: Cleaned up the way we clean the points. 2013-04-15 10:48:42 +01:00
Tom Hacohen 9e96e8f122 Evas font: Fixed use-after-free. 2013-04-15 10:42:58 +01:00
Jiyoun Park ccea9eca41 Evas: fix gif bug related with scale down decode. 2013-04-15 13:45:18 +09:00
Jiyoun Park 8aea52b847 remove tab 2013-04-15 13:25:50 +09:00
Jiyoun Park 5ba104b46e * Evas: fix gif decoding bug related with background color. 2013-04-14 20:49:45 +09:00
Carsten Haitzler b851e10caf fix calling edje api on objects that may not be edje objects... 2013-04-14 11:47:07 +09:00
ChunEon Park 59bd729ca9 evas/image - actually, no need to check both. one is enough. 2013-04-14 05:36:28 +09:00
ChunEon Park 6b9a895c59 evas/image - don't update evas render area by a clipper if the image object visible is changed. 2013-04-14 05:18:31 +09:00
Carsten Haitzler 9ec8064638 Work around new intel Mesa/xorg bug where alpha
channel in NON-ARGB windows is not filled in with 0xff
even if all the code does things right.
2013-04-14 01:14:58 +09:00
ChunEon Park 4d703c12b3 evas - fix identation 2013-04-13 19:01:27 +09:00
ChunEon Park b660465410 evas - Don't be crashed even if the map image size is 0. 2013-04-13 18:58:08 +09:00
Jihoon Kim af31393a09 ecore_imf: Add ecore_imf_context_input_panel_event_callback_call, clear API 2013-04-13 17:11:32 +09:00
Jihoon Kim 58d7c5c1dc ecore_imf: Add ecore_imf_input_panel_hide() API 2013-04-13 17:01:56 +09:00
Jihoon Kim 373fb30096 ecore_imf/scim: remove unused function declaration 2013-04-13 15:25:00 +09:00
Tom Hacohen 269e3a7797 Eo: Fixed an error in in _eo_callback_remove and a few minor things.
The other things are not really issues but more about silencing clang.
Thanks to clang-analyzer.
2013-04-12 17:17:38 +01:00
Stefan Schmidt 6b70dd57d3 eeze/sensor: Move eeze_Sernsor_obj_get into private header.
Together with eeze_sensor_module_register/unregister these are the functions
that are irrelevant for developer when they just want to use the eeze_sensor
API.

Still all three need to be marked with EAPI as they are used in the backend
modules and due to our visibility hidden usage the module loading would fail
if we remove EAPI from them.

Moving them into the private header should give an indication that these are
not meant for pure API users.
2013-04-12 15:35:08 +01:00
Tom Hacohen 882b7a72eb Evas dev: Fixed usage of uninitialized variable. 2013-04-12 15:17:19 +01:00
Tom Hacohen 263e54d705 Eo: Moved the debug info functions to the base class code. 2013-04-12 13:49:26 +01:00
Tom Hacohen 0ed15b04f8 Eo array: Add more testing. 2013-04-12 13:49:26 +01:00
Carsten Haitzler 9b0e7626f4 Add subclasses for evas device api (new in 1.8) and document the evas
device api... :)
2013-04-12 20:05:16 +09:00
Tom Hacohen 3e11c380c9 Eo: Added eo_event_callback_array_* functions.
These functions let you pass an array of callbacks instead of just one.
It's more memory efficient to use this if you just add a bulk of events
on the same object.

This commits breaks ABI, and breaks API of the EO_EV_CALLBACK_ADD/DEL
signals (the event info passed).
2013-04-12 12:02:49 +01:00
Stefan Schmidt 858b45e3be eeze/sensor: Make sensor init and shutdown symbols private.
These are called only from eeze_init/shutdown. No need to have them public.
2013-04-12 11:35:05 +01:00
Daniel Willmann 53e7fb6edc ecore_timer test: Pre-increment variable to prevent buffer overflow
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-12 10:10:25 +01:00
Sung W. Park 34ce73badd [Evas] Updated eglMap/UnmapImageSEC extension definition
Recently Samsung specific eglMap/UnmapImageSEC has been updated to
support new features.  The extension definition was updated in evas
accordingly.
2013-04-12 17:34:13 +09:00
Sung W. Park 00cffc0585 [Evas GL] Initialize evas gl engine after evas stuff is initialized first. 2013-04-12 17:02:43 +09:00
Cedric Bail d1c502fe26 evas: remove warning, no need for double (). 2013-04-12 11:24:14 +09:00
Cedric Bail 483029a717 edje: silence warning by doing explicit conversion. 2013-04-12 11:23:55 +09:00
Cedric Bail 38543ae53b ecore: reduce risk of rounding error. 2013-04-12 11:19:39 +09:00
Valerii Kanunik 89f108312e ecore: add tests for ecore_poll module.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 11:07:11 +09:00
ChunEon Park fbec2b33db evas - removed unused 2013-04-12 11:06:03 +09:00
Dmytro Kaidalov fc0d46411c ecore: add tests for Ecore_Evas.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00
Vitaliy Venzak b3159a889c ecore: add ecore timer test.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00
Valerii Kanunik 4c992a4f85 ecore: Added tests for ecore_app_args procedures.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00