Commit Graph

6085 Commits

Author SHA1 Message Date
Daniel Kolesa 660a4d7e1c elua lib: docs for elua_util_error_report + remove unnecessary arg 2015-05-06 15:05:22 +01:00
Daniel Kolesa a02bb195d9 elua lib: docs for elua_util_script_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa a5486874d5 elua lib: docs for elua_util_app_load 2015-05-06 15:05:22 +01:00
Daniel Kolesa ca056e51ef elua lib: docs for elua_util_string_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa f9520f7974 elua lib: docs for elua_util_file_run 2015-05-06 15:05:22 +01:00
Daniel Kolesa 1bc450402f elua lib: docs for elua_util_require 2015-05-06 15:05:22 +01:00
Daniel Kolesa 2a8eb85dff elua lib: docs for elua_io_loadfile 2015-05-06 15:05:22 +01:00
Daniel Kolesa 098b135799 elua lib: docs for elua_state_io_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 123955994b elua lib: docs for elua_state_modules_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 373ad4e9f6 elua lib: docs for elua_state_i18n_setup 2015-05-06 15:05:22 +01:00
Daniel Kolesa 8bd25cc966 elua lib: docs for elua_state_lua_state_get 2015-05-06 15:05:22 +01:00
Daniel Kolesa a27fe217df elua lib: docs for elua_state_appload_ref_push 2015-05-06 15:05:22 +01:00
Daniel Kolesa 9d46c23403 elua lib: docs for elua_state_require_ref_push 2015-05-06 15:05:22 +01:00
Daniel Kolesa 6a8c807f81 elua lib: docs for elua_state_include_path_add 2015-05-06 15:05:22 +01:00
Daniel Kolesa a54fa7abb9 elua lib: add docs for elua_state_prog_name_get 2015-05-06 15:05:22 +01:00
Daniel Kolesa 4d6f254885 elua lib: add docs for the dir retrieval APIs. 2015-05-06 15:05:22 +01:00
Daniel Kolesa eab576db61 elua lib: add doc for elua_state_dirs_fill 2015-05-06 15:05:22 +01:00
Daniel Kolesa fcf865f7ae elua lib: add docs for elua_state_dirs_set 2015-05-06 15:05:21 +01:00
Daniel Kolesa 002dc5a6b9 elua lib: add state_free doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 8f7c9a3b26 elua lib: add state_from_lua_state_get doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 8b6dd5a417 elua lib: add state_new doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa f16f21f37d elua lib: add init/shutdown doc 2015-05-06 15:05:21 +01:00
Daniel Kolesa 81e3f753da elua lib: start adding documentation 2015-05-06 15:05:21 +01:00
Daniel Kolesa 7cb8d13980 elua lib: hide some APIs that should not be public 2015-05-06 15:05:21 +01:00
Daniel Kolesa e77ba60a58 elua lib: tests for core dirs + fix core dirs 2015-05-06 15:05:21 +01:00
Daniel Kolesa 7f05cfc0e6 elua lib: error_report is now in util namespace 2015-05-06 15:05:20 +01:00
Daniel Kolesa f8f9cc14a7 elua lib: API rename 2015-05-06 15:05:20 +01:00
Daniel Kolesa d8890209af elua lib: unify API conventions 2015-05-06 15:05:20 +01:00
Daniel Kolesa 24a694026a elua lib: add elua_state_setup_modules + use 2015-05-06 15:05:20 +01:00
Daniel Kolesa 8041b042fe elua lib: move i18n initialization there 2015-05-06 15:05:20 +01:00
Daniel Kolesa 0496762057 elua: utilize the new elua_util APIs 2015-05-06 15:05:20 +01:00
Daniel Kolesa 5aca5e13a1 elua lib: add elua_util_ APIs 2015-05-06 15:05:20 +01:00
Daniel Kolesa e806ae6f5c elua lib: add a way to retrieve the progname 2015-05-06 15:05:20 +01:00
Daniel Kolesa 13bd7ba653 elua lib: add progname to state 2015-05-06 15:05:20 +01:00
Daniel Kolesa 18da22a468 elua lib: add APIs to retrieve refs to require/appload 2015-05-06 15:05:20 +01:00
Daniel Kolesa 6be9b662fb elua lib: add APIs for include path management 2015-05-06 15:05:19 +01:00
Daniel Kolesa 5f6109bc47 elua: new API elua_state_dirs_fill + utilize 2015-05-06 15:05:19 +01:00
Daniel Kolesa 329fae97b0 elua lib: manage bound modules within Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa ad999df598 elua lib: make Elua_State fields private (opaque pointers) 2015-05-06 15:05:19 +01:00
Daniel Kolesa b563ae007e elua lib: add elua_state_lua_state_get 2015-05-06 15:05:19 +01:00
Daniel Kolesa 51a5d09018 elua lib: const correctness 2015-05-06 15:05:19 +01:00
Daniel Kolesa 19bb7eb460 elua lib: new APIs to retrieve dirs 2015-05-06 15:05:19 +01:00
Daniel Kolesa f17e8025b8 elua lib: more Elua_State usage 2015-05-06 15:05:19 +01:00
Daniel Kolesa 128aa3a1ea elua lib: elua_io_loadfile now uses Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa e4baa1bc12 elua lib: use eina safety checks 2015-05-06 15:05:19 +01:00
Daniel Kolesa ed3f24943f elua lib: add elua_state_dirs_set 2015-05-06 15:05:19 +01:00
Daniel Kolesa cf98f846e9 elua lib: Elua_State for elua_state_setup_i18n 2015-05-06 15:05:18 +01:00
Daniel Kolesa c1487c8b11 elua: elua_report_error now takes Elua_State* 2015-05-06 15:05:18 +01:00
Daniel Kolesa 357d902b87 elua lib: add elua_state_from_lua_get 2015-05-06 15:05:18 +01:00
Daniel Kolesa bf4837dbbf elua lib: add elua_state_new and elua_state_free 2015-05-06 15:05:18 +01:00
Daniel Kolesa e0917331f6 elua lib: add Elua_State (used later to hold elua-specific data) 2015-05-06 15:05:18 +01:00
Chris Michael 26ebd007af ecore-drm: Add missing doxy for ecore_drm_output_enable
Summary: This adds missing doxygen for function ecore_drm_output_enable

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-05 13:51:00 -04:00
Andrii Kroitor 179e36f5fc edje: _check_recursive_reference reworked to fix segv in Edje_Edit.
Summary:
in some cases collections cache "ref" can be NULL and old code fails.
Replaced with reliable way of getting part list that was found in
_edje_edit_group_references_update

@fix

Reviewers: raster, Hermet, seoz, reutskiy.v.v, FurryMyad, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2450

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-05 10:46:13 +02:00
Amitesh Singh 24a5e2cdba evas: fix typo in API documentation.
Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: raster, Hermet

Subscribers: seoz, cedric, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2462

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-05 10:44:41 +02:00
Chris Michael 403e5ad385 ecore-drm: Remove debug noise
Summary: No real function changes, just commented out some debug lines
so we have less noise for release

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 11:41:25 -04:00
Daniel Kolesa 9b167d953c eolian: fix lexer assertion failure
The function was missing an "else", so a wrong branch was always
executed with errors at EOF. This fixes that.
@fix
2015-05-01 11:58:05 +01:00
Daniel Kolesa a74000a65c eolian: specialize tmp free for typedef (avoid double free issue)
@fix
2015-05-01 11:48:41 +01:00
Derek Foreman ccbcf3db0b ecore-drm: close fd when asked to close fd
Summary:
the logind device close function just lets logind revoke fd permissions
but doesn't actually close the (now useless) fd.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2457
2015-04-30 14:31:14 -04:00
Derek Foreman f7ae5f28d4 ecore-drm: don't return EINA_FALSE as an invalid fd
Summary:
0 is a valid fd.  EINA_FALSE is 0.  EINA_FALSE is a valid fd.

@fix

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2456
2015-04-30 14:29:51 -04:00
Derek Foreman c5a21aaf84 ecore-drm: append O_CLOEXEC always
Summary:
Seems libinput wasn't bothering to set this so all child processes get
their hands on input devices

@fix

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2455
2015-04-30 14:28:56 -04:00
Derek Foreman 1d887a1005 ecore_drm: close fd if flag set fails
@fix

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2454
2015-04-30 14:27:48 -04:00
Mike Blumenkrantz ae095bb5c5 ecore-x: use async pointer grab mode in ecore_x_window_key_grab()
using a sync grab here causes the device to be frozen in the xserver,
preventing any event processing on the device until the grab ends. it also
prevents new grabs, such as the ones which would be created by xkill when
launched from a keybinding; this means that as long as the grabbed key is
held, the pointer is effectively dead to the world.

I attempted to find the reason for using sync pointer grabs here,
but the original commit message was:

  aaaahmmm.. no.. this.. oops

see https://git.enlightenment.org/legacy/ecore.git/commit/?id=f62faeae288fc8211d5f97b43d3b81de87db0942

fix T2228
2015-04-29 22:05:44 -04:00
Mun, Gwan-gyeong 34fd2cfa4a ecore-drm: add touch_motion event on touch_down event handler.
Summary:
  ecore-drm touch down handler does not produce ECORE_EVENT_MOUSE_MOVE event.
  so, when user touches screen, application can't handle mouse down event correctly.
  this fix adds touch_motion event on touch_down event handler.

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2427
2015-04-29 08:55:06 -04:00
Boram Park 5c7cfdc133 ecore_drm: send a fake motion event to let other know the initial pos of mouse
Summary:
At the first time after finishing booting, the position of mouse cursor is in the
center of screen. But e doesn't know it. ecore_drm should let e know the initial
position of cursor by sending a fake motino event.

Reviewers: devilhorns, ManMower, zmike, raster, gwanglim

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2410
2015-04-29 08:54:03 -04:00
MinJeong Kim 45abf35ec0 ecore-drm: Fix using uninitialized output value
Summary:
This revision fixed using of uninitialized value 'output'.
The usage can cause segmentation fault when it try to refer current_mode

@fix

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2448
2015-04-29 08:47:32 -04:00
Cedric BAIL 32d614639f eina: in fact this is gone and won't come back.
Eo and Efl.Model are here for that task.
2015-04-29 09:47:58 +02:00
Vincent Torri c086d505a9 Eina: fix eina_file_split on Windows and update unit test
@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-04-29 15:27:47 +09:00
Jean-Philippe Andre e88fe439f0 Edje embryo: Fix invalid check for get_state_val (text str)
@fix
2015-04-29 13:38:58 +09:00
Jean Guyomarc'h 537f11278f eina: fix eina_stringshare format warning after commit 912924a
Summary:
Since the type of 'r' changed from unsigned short to unsigned int we
need to change its format as well.

Reviewers: stefan_schmidt, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2446

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 23:51:00 +02:00
Mike Blumenkrantz e65de76e52 ecore-drm: shutup libinput log info 2015-04-28 16:12:55 -04:00
Cedric BAIL 39b14d705a elocation: allow usage of it with C++. 2015-04-28 15:18:09 +02:00
Srivardhan Hebbar 5af99bdc7a ecore_con: fix double free issue in ecore_con_eet.
Summary:
While creating ecore_con_eet_server, if client is not set to false, then while deleting, it is checking for client and it is by default not false. So set it.
ecore_con_reply object is being deleted twice. So removed code to delete the reply object as it would be deleted after the callback.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Subscribers: cedric

Maniphest Tasks: T2372

Differential Revision: https://phab.enlightenment.org/D2445

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:14:07 +02:00
Cedric BAIL 92568eee9d ephysics: trying to fix build on Windows. 2015-04-28 11:37:11 +02:00
Carsten Haitzler 912924a634 eina stringshare - make short internal string refs ints not shorts
this should fix T2088 - at the expense of more memory but a short was
just too little here.
2015-04-28 15:10:32 +09:00
Chris Michael f03cf3dba3 ecore-wayland: Fix issue of efl/elm apps not setting opaque & input regions
Summary: Since evas handles surface damage & surface commit roles now,
we no longer are calling ecore_wl_commit inside ecore_evas. This was
causing the surface opaque & input regions to no longer be set. We fix
that here by creating and setting opaque/input regions whenever the
appropriate ecore_wl region functions are called.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-27 13:20:59 -04:00
Mike Blumenkrantz 1361775ddf ecore-wl: reject key events which do not correlate to a valid keysym 2015-04-27 12:57:35 -04:00
Jean-Philippe Andre 5209aaebdb Evas masking: Free mask surfaces during evas dump
On minimizing, free all mask surfaces. This could save a lot
of memory.

Also, write "proxy" COW only when there is a surface (the "proxy"
pointer itself is always valid and non-NULL).
2015-04-27 16:40:34 +09:00
Cedric BAIL 97e24931e3 emile: correctly free buffer allocated for compressed image.
CID 1295688
2015-04-26 09:38:13 +02:00
Thiep Ha 47f5d668cc ecore_evas: move docs from .c to .h and make it consistence
Summary:
There are some documents in .c file. This patch moves them to .h
file. This also uses primitive verbs in brief section to make document
more consistence.

Reviewers: Hermet, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2432

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-26 09:20:15 +02:00
Cedric BAIL 02bfb82da0 eet: fix interger overflow
CID 1256196
2015-04-25 20:14:26 +02:00
Cedric BAIL eaf9822094 emile: fix memory leak.
CID 1288918 & 1288919
2015-04-25 20:00:44 +02:00
Thiep Ha 663bdcaf07 ecore_con: fix typos and improve document consistence.
Summary:
This patch fixes typos and uses primitive verb in brief section
to improve document consistence for ecore_con.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2424

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-25 19:35:27 +02:00
Thiep Ha 5c997ea4a3 eina: correct document for eina_hash_list_prepend/remove.
Summary:
The eina_hash_list_preprend/remove API have wrong description.
This patch fixes it.

@fix

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2423

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-25 19:34:19 +02:00
Cedric BAIL 888057f0bc emile: fix memory leak.
CID 1288924 & 1288923
2015-04-25 19:27:20 +02:00
Cedric BAIL 5d59a403cd emile: fix typo. 2015-04-25 19:08:36 +02:00
Cedric BAIL 5010daa31e emile: opts can be NULL, so checking it before using it.
CID 1288927
2015-04-25 18:58:30 +02:00
Cedric BAIL 1c597b4373 emile: check that we actually do have option before using them.
CID 1288929
2015-04-25 18:52:22 +02:00
Cedric BAIL bb963f274b emile: fix support of AGRY88.
CID 1288931
2015-04-25 18:26:58 +02:00
Mike Blumenkrantz 054fed5336 ecore-drm: fix multiclick interval time
libinput returns timestamps in milliseconds as int, not double
2015-04-24 13:40:32 -04:00
Mike Blumenkrantz 3a3552ec66 ecore-drm: fix improper conditional syntax in _ecore_drm_tty_switch() 2015-04-24 12:53:01 -04:00
Mike Blumenkrantz 3d71a10891 ecore-drm: add safety checks to all EAPI functions 2015-04-24 12:53:01 -04:00
Raoul Hecky a01b243405 ecore-con: try to load libcurl.so.5 before .so.4
Curl is using a strange soname bumping where soname version is changed by configure when it detects some differences with off_t.
Explanations here: http://curl.haxx.se/dev/readme-curl_off_t.html

As we are not using curl_off_t in our code, we can simply load libcurl.so.5 if present.
2015-04-24 09:23:34 +02:00
Andrii Kroitor d985ae7ed4 edje_util: fix memory leak
Summary:
list returned by evas_object_box_children_get should be freed

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2413
2015-04-24 16:03:16 +09:00
Felipe Magno de Almeida 5791065d29 Fix uninitialized member by coverity CID 1294558
Initialize the scope member in the default constructor.
2015-04-23 21:24:06 -03:00
Mike Blumenkrantz e95488ded5 ecore-drm: refactor _ecore_drm_output_backlight_init() to use fewer gotos 2015-04-23 13:21:32 -04:00
Mike Blumenkrantz e6ed330dce ecore-drm: use eeze_udev_find_by_filter() to only return relevant backlight devices 2015-04-23 13:17:25 -04:00
Mike Blumenkrantz 4d9b5b8f19 ecore-drm: restrict output backlight detection to drm device
previously this would pull in any available backlight device regardless
of whether it was actually attached to the device or output in any way
2015-04-23 13:12:18 -04:00
Jaehwan Kim c3ae53bb9c evas_text: fix default return value.
@fix
2015-04-23 22:11:32 +09:00
Mike Blumenkrantz ee5c81b736 ecore-file: use hash list for inotify monitor tracking
inotify reuses watches for multiple instances on the same file, so
keeping a multimap here is necessary to avoid hash collision

fix T2360
2015-04-23 08:55:35 -04:00
Jaehwan Kim bd71d818f9 ecore_timer: fix the default return value.
When this function fails to get the interval value, it should return -1.0.
Currently, the value can be integer(-1.0 has an Error).
Maybe it should be fixed.

@fix
2015-04-23 18:34:54 +09:00
ChunEon Park 023a91dc7d eina thread_queue: fix typo in doc. 2015-04-23 11:37:16 +09:00
Mike Blumenkrantz c8c9da3e19 ecore-drm: fix uninitialized output mode pointers when creating outputs 2015-04-22 21:11:51 -04:00
Mike Blumenkrantz 4e7549683b ecore-drm: fix ecore_drm_devices_get() to return a const value
this is the internal device list, we're pretty hosed if someone decides
to free it because there's no const
2015-04-22 19:34:59 -04:00
Mike Blumenkrantz 3571e7364e efreet: fix leak in efreet_util_desktop_exec_find()
@fix
2015-04-22 19:34:59 -04:00
Derek Foreman 67460e2d78 ecore_drm: Don't crash if a device is assigned a bad output
Summary:
If an input device is assigned via udev to an output that we can't find
we just assign it to the first output instead.

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2408
2015-04-22 14:32:16 -04:00
ChunEon Park 0d1d62a6ab eina thread_queue: fix typo in doc. 2015-04-22 23:12:57 +09:00
Srivardhan Hebbar 05881ea61a ecore_con: fix dns lookup crash issue.
Summary:
When executed ecore_con_lookup_example function, we were getting a crash. This is the fix for the crash. I analysed it in the valgrind and found the error. Valgrind reported invalid free at this place.
svr->name is getting freed in _ecore_con_server_eo_base_destructor function and svr is getting freed in ecore_con_shutdown function.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2398

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-22 15:10:19 +02:00
Tom Hacohen 5e4b523d51 Eldbus: fix potential unsigned int underflow.
Subtracting two unsigned values results in an unsigned value, which means
abs() will have no effect.
This also means that if base is smaller than size, we'll have an
unsigned int underflow.

I did it this way (with the if) because it looked like base might be
smaller than size. However, please remove the if (and don't reinstate
the abs) if this is not the case.
2015-04-22 13:17:31 +01:00
Tom Hacohen 450ff212e2 Evas text utils: move the non-ot function into the current ifdef.
This function should only be build when OT is off. Move
it to the #else part of the ifdef.
2015-04-22 13:11:58 +01:00
Tom Hacohen 811058a1ff Eina safety: remove unused error string.
At the moment there are no errors possible for safety checks.
This may change in the future (unlikely), so we have the eina_error
already exposed for that. However, there's no need for the string.

One more down towards a warningless build.
2015-04-22 13:06:16 +01:00
Jean-Philippe Andre 4ba0227bf4 Edje smart: Add NULL safety
This case actually happens with E. It's invalid but still happening,
and because Eo doesn't actually check the parent (or its type) fully,
an invalid, non-NULL object was returned.

See T2336 (this is not fixing the root cause!).
2015-04-22 11:33:04 +09:00
Chris Michael 39e380f754 ecore-drm: Change ecore_drm_fb_set warning level
Summary: This is not actually "critical", it just means that we tried
to set a dumb buffer of the wrong size. Ecore_Evas will call this
function again after the canvas has been resized to the proper size,
so just issue a WRN here.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-21 13:59:56 -04:00
Chris Michael f7fb534562 evas-blend-ops: fix off-by-1 in the C MUL3_SYM "simd" multiplier
Summary: op_blend functions give off-by-1 using NEON intrinsics in C
MUL3_SYM, this commit fixes that issue with no ill effects on other
platforms.

@fix

Reviewers: raster, cedric

Subscribers: cedric

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2394
2015-04-21 11:26:03 -04:00
Jean-Philippe Andre 3b35e354f2 Edje: Silence more clang stuff
And make it explicit that the enum is unsigned
2015-04-21 20:46:04 +09:00
Jean-Philippe Andre 02d94f5e5e Evas tiler: Remove unused functions (clang)
rect_list_add_split_strict is still kept for reference in
eina_tiler.c
2015-04-21 20:46:04 +09:00
Jean-Philippe Andre 841403e415 Ector: More clang silencing 2015-04-21 20:40:27 +09:00
Jean-Philippe Andre 6a0d2382f1 Efreet: Silence clang warning
[unsigned - unsigned] is unsigned and might wrap around, the implicit
conversion to int (by calling abs()) saved the game here.
2015-04-21 20:32:54 +09:00
Jean-Philippe Andre 98f56df657 Edje edit: Fix clang warning
Remove useless variable
2015-04-21 20:28:44 +09:00
Jean-Philippe Andre de567368f8 Evas: Fix clang warning (actually use function)
Those helper functions are barely ever used...
2015-04-21 20:16:21 +09:00
Jean-Philippe Andre a812df7311 Ecore_Con: Fix clang warnings 2015-04-21 20:11:02 +09:00
Jean-Philippe Andre 25b4846314 Evas/cserve2: Fix clang warning 2015-04-21 20:11:02 +09:00
Jean-Philippe Andre 45b15037ef Ector: Fix (probably valid) clang warning
This time it looks like this is a valid warning.
if (abs(double) <= 0.00001f) might too often be true since abs() returns
an int.
2015-04-21 20:11:02 +09:00
Jean-Philippe Andre 5bc153c6fb Ector: Fix clang warning
Invalid type used for field and implicit conversions
2015-04-21 20:11:02 +09:00
Jean-Philippe Andre 6637e7cda9 Evas filters: Fix clang warnings 2015-04-21 20:11:02 +09:00
Jean-Philippe Andre fb812c13b3 Evas render2: Fix clang warnings
More unused functions. Kept around for later debugging.
2015-04-21 20:11:01 +09:00
Jean-Philippe Andre 92a844fd36 Eolian: Fix clang warnings
Return proper type (NULL, not bool)
2015-04-21 20:11:01 +09:00
Jean-Philippe Andre 12b562482e Eina: Fix clang warnings
Use fabs for double values
2015-04-21 20:11:01 +09:00
Jean-Philippe Andre a3897562c5 Eina: Fix clang warnings
Remove unused static function
2015-04-21 20:11:01 +09:00
Jean-Philippe Andre 63204da26a Edje: Fix compilation warnings with clang
Fixes T2343.

Thanks for the report.
2015-04-21 18:07:34 +09:00
Carsten Haitzler 555f09009a eet - fix emile changes to not leak in eet_cipher/deciper()
coverity spotted a missing binbuf free for the in binbuf created in
CID 1288921 and CID 1288920. this fixes both of these. leak. new.
2015-04-21 11:01:54 +09:00
Carsten Haitzler efdca32fe8 ecore_x - axis events - if event struct alloc fails, free axis data
this frees the axis data coming in if struct alloc fails - should
basically never happen, but if it does we don't lose axis data as
caller asumes this data will be freed in the event

related to CID 1256115
2015-04-21 10:32:40 +09:00
Chris Michael 820eca333e emile: Fix resource leak
Summary: This fixes Coverity CID1288919 where buffer variable was
being leaked if emile failed to load the image due to corrupt file.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 13:13:55 -04:00
Chris Michael 843d4705d8 emile: Fix resource leak
Summary: This fixes Coverity CID1288918 where data_start variable was
being leaked if the rectangles did not intersect.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 13:06:41 -04:00
Chris Michael d5005d0efc ecore-drm: Use #if 0 to comment out unused function
Summary: It was mentioned on the mailing list to use #if 0 instead of
commenting the block. This does not change any functionality

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 12:15:13 -04:00
Chris Michael 6195910698 Revert "ecore-drm: Remove 'defined but not used' function"
This reverts commit d625167e07.

Reverting this to use #if 0 as suggested by q66
2015-04-20 12:14:27 -04:00
Chris Michael d625167e07 ecore-drm: Remove 'defined but not used' function
Summary: As we no longer require the idler to repaint outputs, comment
out the function that was defined for the idler.

NB: I left it commented (and not totally removed) just in case it is
needed for a later (undiscovered) issue

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 11:47:55 -04:00
Tom Hacohen c7999fbf42 Evas 3d mesh: remove non-implemented functions from "implements".
They are not implemented, so they should not be marked as implemented.
Eo already properly handles functions that are not implemented, this is
completely unnecessary.
2015-04-20 15:00:40 +01:00
Tom Hacohen 1807adf70b Ector: remove use of #warning directive as TODO.
There's already a fixme in code, and an error output at runtime.
As discussed on the ML, using #warning this way is bad.
2015-04-20 15:00:13 +01:00
Carsten Haitzler 7d36abad25 eio - fix crashes due to stale eio files in tracking list
so eio_eet didnt free fiels the same as the rest of eio. it thought it
was special. it thought it could just go free() it's objects (even
though they inherit the core Eio_File object type in their structs).
everyone else ended up calling eio_file_free() EXCEPT eio_eet. so the
eio_(long)_file_set() funcs ewnded up adding this eio file to the
tracking list via eio_file_register() but never unregistered because
they really liked to just do their own thing anyway...

BAD CEDRIC! SPANKING TIME

http://33.media.tumblr.com/3422c76c33c3b9b045f623ff73e0bf8d/tumblr_mhvu61N9br1rbavngo1_500.gi

so this unifies all allocation to now use a single allocator (that
also ensures all eio async io objects are zero'd out), and a SINGLE
free path, and then it all works. no more valgrind complaints on e
shutdown/restart whilst eio "things" were used before or ... maybe
still around.

this should fix T2129

so try again "git master" after this commit.

@fix
2015-04-20 21:55:24 +09:00
Jean-Philippe Andre 1dddbbd8f7 Evas: Remove callbacks in reverse order with callback_del
This function is deprecated, because del_full should be used instead.
Still, the documentation specifies in which order the callbacks should
be deleted.

Fixes T2077 (not really fixes according to the comment but fixes
according to the doc).
2015-04-20 16:41:12 +09:00
Vincent Torri d1722eb394 evil: remove unused files (evil_p*) and uneeded evil_uuid.c file (managed by mingw-w64)
Just keeping up with latest mingw-w64.
2015-04-19 09:51:41 +02:00
Cedric BAIL 0784d5cc2a eio: reorder include to fix build on Windows. 2015-04-18 17:28:46 +02:00
Adrien Nader 7b3332ddf4 ecore_win32: don't fail if OleInitialize() had been called before. 2015-04-18 17:24:53 +02:00
kabeer khan 963fe509ca ecore_file: less confusing documentation of ecore_file_download API
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2373

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-17 12:06:47 +02:00
Subhransu Mohanty 451a15802a evas: update matrix calulation as the behaviour of eina_matrix api changed.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-17 10:52:28 +02:00
Subhransu Mohanty ee99232b36 eina: updated matrix_translate, matrix_scale and matrix_rotate implementation to do compose of the matrix in not identity matrix.
This is a late change that has been discussing on the ML as we don't want to release an API, we can't make faster.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-17 10:52:16 +02:00
Tom Hacohen c9232109f0 Revert "edje: refactor styles_del() logic like styles_add()"
We are in a feature freeze. No room for refactoring/new features, only
surgical (or if you must, non-surgical) fixes!

This reverts commit fa0384ed2c.
2015-04-17 09:26:48 +01:00
Sohyun Kim fa0384ed2c edje: refactor styles_del() logic like styles_add() 2015-04-17 17:22:31 +09:00
Sohyun Kim e48792a81e Evas textblock: remove freed item from the line list
@fix
2015-04-17 16:10:20 +09:00
Jean-Philippe Andre a871ac96a8 Evas masking: Skip GL fast path for border images
Right now the engines don't support mask tiles so we can't
just scale up an image on-the-fly when doing a masking operation.

Skip fast path and force render of border images into their own surface.
2015-04-17 09:33:37 +09:00