Marcel Hollerbach [Thu, 22 Sep 2016 19:35:20 +0000 (21:35 +0200)]
ecore_wl2: add more documentation on ecore_wl2 cnp/dnd api
Marcel Hollerbach [Thu, 22 Sep 2016 19:22:51 +0000 (21:22 +0200)]
elm_cnp: handle actions probebly
ecore_wl2 passes the action which should be performed, this action is
now converted and passed to the action of the elm callback.
Marcel Hollerbach [Thu, 22 Sep 2016 07:13:48 +0000 (09:13 +0200)]
ecore_wl2: introduce offer api
This commits adds api to deal with wayland offers.
It also ports elm_cnp to use the new api.
The selection_get and dnd_drag_get calls are replaced by simply receive
data from the offer.
The Offer object is now also emitted in every Enter,Motion,Drop and
Leave event, so a potential user can prefetch data and display it.
To finish a dnd operation positiv, the user has to call the finish call
before the offer is destroyed
Marcel Hollerbach [Thu, 22 Sep 2016 07:26:02 +0000 (09:26 +0200)]
ecore_wl2: save action of data source in seperated field
the drag.source is only available if the drag is happing inside the same
client.
So for the case there are two efl apps (A,B) , where A started the dnd and
the B is currently entered by the dnd, then A has the data source, and B
has the offer, if B sets a action on the offer A tried to set it on a
field which does not exist there, this fixes that. It saves the action
to a undepended field.
Thiep Ha [Fri, 23 Sep 2016 08:51:37 +0000 (17:51 +0900)]
text/entry: add more key controls for os x
In OS X, cmd-c,v, ... keys are used instead of ctrl-c,v...,
this patch adapts these key handlings.
Thiep Ha [Fri, 23 Sep 2016 08:49:34 +0000 (17:49 +0900)]
ecore_cocoa: quit application with key
In OS X, cmd-q is used to quit application,
this patch adds that feature.
Jean-Philippe Andre [Fri, 23 Sep 2016 08:28:57 +0000 (17:28 +0900)]
evas_fb: Avoid invalid dereference
If buf->priv.fb.fb was NULL the function would have crashed. So
buf->priv.fb.fb can't be NULL. I'm keeping the if(buf->priv.fb.fb)
anyway, but not sure the else case is valid.
Thanks @jiin.moon for the report.
Jee-Yong Um [Fri, 23 Sep 2016 02:56:19 +0000 (11:56 +0900)]
edje_cc: allow combine lazEDC keywords
Summary:
Fix parsing error which occurs when lazEDC keyword is combined
with other keyword by period. (like parts.rect)
@fix
Test Plan: Download attached file and run "make"
Reviewers: Hermet, cedric, jpeg
Subscribers: taxi2se
Differential Revision: https://phab.enlightenment.org/D4309
Jean-Philippe Andre [Thu, 22 Sep 2016 11:45:04 +0000 (20:45 +0900)]
evas: Prevent crashes in case of error
SEGV would happen if the cache was NULL, as the error pointer
was also NULL in some cases (root cause for cache == NULL not
quite known, happens in elm_suite with CK_FORK=no).
Note: simply adding evas_common_init() to evas_init() leads to
a whole new set of issues with CK_FORK=no elm_suite - not good.
Jean-Philippe Andre [Thu, 22 Sep 2016 06:24:40 +0000 (15:24 +0900)]
elm_image: Add smart cbs for async open
This adds a few callbacks to inform applications about
async open and preload:
- load,open
- load,ready
- load,error
- load,cancel
This patch adds a new EAPI as well: elm_image_async_open_set.
This is the only way to use async file open with the legacy APIs
and should be easily matched with whatever EO API we end up using
(be it based on promises or events).
Alter the test cases for make check as they were using the
unstable EO API which I just removed.
Thanks @arosis for the original patch. And sorry for the huge
delay in merging this.
See also: https://phab.enlightenment.org/D4215
@feature
WooHyun Jung [Fri, 23 Sep 2016 01:08:01 +0000 (10:08 +0900)]
elm: _propagate_event should react only when the obj is focused obj
In efl_ui_win, _evas_event_key_cb gives efl_event_callback_call,
though the focused object is not the window itself.
Becuase of this, _propagate_event was called twice for event single
key down.
So, now, _propagate_event returns itself whenever focused object is
not the win but it's called from efl_ui_win's event call.
The problem can be checked with following stpes.
1. elementary_test -> focus
2. Input any directions (ex: Down)
3. Focus movement happens twice for every single input.
Felipe Magno de Almeida [Thu, 22 Sep 2016 22:27:56 +0000 (19:27 -0300)]
eina-cxx: Implement aligned_union for GCC 4.9
Derek Foreman [Thu, 22 Sep 2016 19:52:14 +0000 (14:52 -0500)]
drm: Fix typoe
DRM_MODE_ATOMIC_ALLOW_MODSET should have been _MODESET
Chris Michael [Thu, 22 Sep 2016 18:26:05 +0000 (14:26 -0400)]
Merge branch 'devs/devilhorns/atomic'
This merge adds initial support for Atomic Modesetting and Nuclear
Pageflipping. These features require a new kernel (>= 4.8) and have
only been testing on Intel i915 drivers. There are runtime checks in
the code to only enable these features when supported so this should
not break anything for "normal users". For those lucky enough to be
able to use these features, please enjoy the buttery smoothness ;)
@feature
Derek Foreman [Thu, 22 Sep 2016 18:20:13 +0000 (13:20 -0500)]
ecore-drm2: Merge initial modesetting with atomic flip code
Chris Michael [Thu, 22 Sep 2016 18:18:58 +0000 (14:18 -0400)]
ecore-drm2: Use just DRM_MODE_ATOMIC_ALLOW_MODESET for initial setting
of mode
This fixes an issue where gl_drm engine would end up flickering
everytime a frame was being set.
Thanks derek ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 17:30:49 +0000 (13:30 -0400)]
ecore-drm2: Add support for Atomic Pageflips
This patch modifies our ecore_drm2_fb_flip code to use Atomic/Nuclear
pageflips.
NB: Works perfectly under software drm engine .. some flickering with the
gl_drm engine that needs investigating.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 16:35:23 +0000 (12:35 -0400)]
ecore-drm2: Add code to support setting DPMS levels via Atomic
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 16:28:07 +0000 (12:28 -0400)]
ecore-drm2: Add code to use Atomic for Edid if available
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 16:13:18 +0000 (12:13 -0400)]
ecore-drm2: Add code to setup Plane Atomic state for Outputs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 16:01:38 +0000 (12:01 -0400)]
ecore-drm2: Add code to setup Connector Atomic state for Outputs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 16:00:53 +0000 (12:00 -0400)]
ecore-drm2: Add code to setup Crtc Atomic state for Outputs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 15:42:57 +0000 (11:42 -0400)]
ecore-drm2: Add code to free Atomic state on shutdown
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 15:07:17 +0000 (11:07 -0400)]
ecore-drm2: Add code to fill Plane Atomic state
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 15:02:49 +0000 (11:02 -0400)]
ecore-drm2: Add code to fill Connector Atomic state
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 14:58:27 +0000 (10:58 -0400)]
ecore-drm2: Add code to fill Atomic Crtc State
This patch adds code to enable Atomic Modesetting support (via ioctl)
and to fill in Atomic Crtc state during startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 14:34:03 +0000 (10:34 -0400)]
ecore-drm2: Add code to check if Atomic Modesettting is usable
This code will detect the drm driver name and check that the kernel
itself is new enough to use Atomic Modesetting. This is needed as some
drivers (i915) do not handle Atomic Modesetting propertly without a
new enough kernel.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 13:35:44 +0000 (09:35 -0400)]
ecore-drm2: Add private structures to support Atomic Modesetting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 22 Sep 2016 17:50:09 +0000 (13:50 -0400)]
elementary: Remove unused but set variable in test_image
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Shuhrat Dehkanov [Thu, 22 Sep 2016 13:57:28 +0000 (22:57 +0900)]
elm: remove dulicate ELM_POPUP_ACTION_BUTTON_MAX definition
Summary: ELM_POPUP_ACTION_BUTTON_MAX is already defined in the included header file, elm_widget_popup.h.
Reviewers: cedric, jpeg, minkyu, Hermet
Reviewed By: Hermet
Subscribers: seoz, jehun.lim
Differential Revision: https://phab.enlightenment.org/D4312
Tom Hacohen [Thu, 22 Sep 2016 13:07:44 +0000 (14:07 +0100)]
Update gitignore.
Tom Hacohen [Thu, 22 Sep 2016 12:16:18 +0000 (13:16 +0100)]
Eo: introducing libeo_dbg.so.
This has been in the making for a very long time. Thanks to Marcel for
reminding me to do it.
What is it?
This is a tool to help application developers debug their apps with
everything Eo. Eo is strict, but not as strict as it can be. Many strict
tests and debug are very expensive to implement, and we have so many
hot-paths that even basic "ifs" to check if debugging is enabled will
add significant overhead to normal running applications. This is why I
created this library. All the expensive tests and bookkeeping should be
wrapped around with "#ifdef EO_DEBUG". With this change, libeo.so is
compiled twice, once normally, and once with this define set (as
libeo_dbg.so). This means that normal eo code will not be affected, but
if you decide to debug your application, all you need to do is:
LD_PRELOAD=/path/to/libeo_dbg.so ./app
Or use the convenient wrapper:
eo_debug ./app
Which will load the debug heavy version.
What's currently there: at the moment, EO_DEBUG enables xref and
data_xref and stricter tests when fetching object data.
In the future, I also plan introducing "zombie objects", which
essentially mean that objects are never really deleted, so you can query
them long after they are gone to get more information on what they were.
So if for example you have an object id that you want to query after the
object has been deleted, you can.
I also plan on having a way to disable/enable certain debug mode
features via env vars, and maybe make the test suite link against this
one instead of the normal one, and possibly add more internal hooks for
the test suite to better inspect internal state?
P.S: The amount of errors spewed out when running it on elementary_test
makes me wish I wrote this earlier. :(
@feature
Stefan Schmidt [Thu, 22 Sep 2016 09:44:59 +0000 (11:44 +0200)]
modules: emotion: fix event name after EFL Canvas Video convert
In commit
7b90e1147442d6a8023422400bffd77e2815fe0b the event name changed but
this module was not updated. Luckily we are building it on Jenkins or it would
have gone unnoticed for a long time.
Stefan Schmidt [Thu, 22 Sep 2016 09:43:34 +0000 (11:43 +0200)]
examples: emotion: fix event naming after convert to EFL Canvas Object
In commit
7b90e1147442d6a8023422400bffd77e2815fe0b the event names changed
but examples have not been updated.
Jean-Philippe Andre [Thu, 22 Sep 2016 03:36:27 +0000 (12:36 +0900)]
elm_image: Move back download events to legacy only
The events for (async) image download will be redefined by
@cedric later. So, remove them from eo now and only keep their
legacy implementation.
Also, improve elm_test example and add docs.
Amitesh Singh [Thu, 22 Sep 2016 05:04:54 +0000 (10:34 +0530)]
photocam: add missing EOLIAN prefix
Hosang Kim [Wed, 21 Sep 2016 11:44:53 +0000 (20:44 +0900)]
scrollable_interface: fixed gravity_set() API.
Summary: elm_scroller_gravity_set() API is not working.
Test Plan: elementary_test -> scroller3
Reviewers: jaehwan, SanghyeonLee, Hermet, jypark, raster, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4252
Carsten Haitzler (Rasterman) [Wed, 21 Sep 2016 23:31:04 +0000 (08:31 +0900)]
Revert "edje/edje_cc: use strncpy() instead of strcpy()."
This reverts commit
ab1a72f5e7df6fe0adef54bdcddd9867a2ebe3a6.
just dismiss in coverity if the code is not actually wrong
Carsten Haitzler (Rasterman) [Wed, 21 Sep 2016 23:31:00 +0000 (08:31 +0900)]
Revert "edje edje_embryo: use strncpy()."
This reverts commit
06bd8dcf330fe31891475c92aa340d4886f47e2b.
just dismiss in coverity if the code is not actually wrong
Carsten Haitzler (Rasterman) [Wed, 21 Sep 2016 23:30:37 +0000 (08:30 +0900)]
Revert "edje edje_cc_out: use strncpy()."
This reverts commit
6de3b2c5d36993cf3dbe94e8fbefd04043f91740.
just dismiss in coverity if the code is not actually wrong
Cedric BAIL [Wed, 21 Sep 2016 23:19:26 +0000 (16:19 -0700)]
ecore,ecore_con: simplify destructor by linking future life cycle with object.
maxerba [Wed, 21 Sep 2016 19:40:50 +0000 (21:40 +0200)]
Updating slovenian translation
Yeshwanth Reddivari [Wed, 21 Sep 2016 17:37:59 +0000 (10:37 -0700)]
emotion: convert Emotion_Object into Efl.Canvas.Video
Reviewers: singh.amitesh, raster, jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3994
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 21 Sep 2016 17:34:05 +0000 (10:34 -0700)]
emile: fix typos.
Cedric BAIL [Wed, 21 Sep 2016 17:33:44 +0000 (10:33 -0700)]
eet: fix gnutls support with newer version.
Stefan Schmidt [Wed, 21 Sep 2016 08:56:36 +0000 (10:56 +0200)]
tests: elm_win: fix compiler warning about signed vs. unsigned comparison
The variable i only goes from 0 to 4 here but it gets compared against a normal
int so we make sure i also is a normal int.
Stefan Schmidt [Wed, 21 Sep 2016 08:41:58 +0000 (10:41 +0200)]
elm: progressbar: hide unit if unit_format_func is invalid
In commit
03882d558824f657f5c5a54fcd2d632eafeafd87 this was introduced but in
the end the visible signal was send in all cases. This looks like an oversight
to me. Fixed.
Stefan Schmidt [Wed, 21 Sep 2016 08:29:18 +0000 (10:29 +0200)]
evas: model_save: remove unused label after error handling change
In commit
8272d1492796657978c5591971768d37d4e15a7e the error handling was
moved upwards and the need for the goto label removed. Catching up here and
removing the label as well.
Sungtaek Hong [Wed, 21 Sep 2016 08:40:53 +0000 (17:40 +0900)]
evas: remove unnecessary check for clip coords.
Summary: (dst_clip_w <= 0 || dst_clip_h <= 0) is already checked.
Reviewers: jpeg, cedric, Hermet
Reviewed By: Hermet
Subscribers: conr2d
Differential Revision: https://phab.enlightenment.org/D4303
Thiep Ha [Wed, 21 Sep 2016 07:54:09 +0000 (16:54 +0900)]
elm_config: add null check before usage
Thiep Ha [Wed, 21 Sep 2016 07:49:12 +0000 (16:49 +0900)]
elm_atspi: remove redundant null checking
The type is always _ADDED or _REMOVED, therefore atspi_desc
is always "add" or "remove"; no need to have null checking for it.
Hermet Park [Wed, 21 Sep 2016 07:24:42 +0000 (16:24 +0900)]
evas software_engine: ++safety code.
Hermet Park [Wed, 21 Sep 2016 06:19:19 +0000 (15:19 +0900)]
edje edje_cc_out: use strncpy().
This change is not much meaningful but avoids an annoying coverity detection.
Hermet Park [Wed, 21 Sep 2016 06:03:11 +0000 (15:03 +0900)]
edje edje_embryo: use strncpy().
This change is not meaningful but avoids an annoying coverity detection.
Hermet Park [Wed, 21 Sep 2016 04:30:44 +0000 (13:30 +0900)]
edje/edje_cc: use strncpy() instead of strcpy().
strncpy() is better for security.
Also, this change avoids annoying coverity detection.
Hermet Park [Wed, 21 Sep 2016 04:16:36 +0000 (13:16 +0900)]
evas engine: correct null check
check null first, before access it.
Hermet Park [Wed, 21 Sep 2016 04:06:18 +0000 (13:06 +0900)]
Revert "evas engine: return as soon as possible if the surface or context is not valid."
This reverts commit
2f158ebe65cc3d007c1eae0e25590f092931ee25.
misunderstood ^ operator.
pinged by jpeg.
previous code was correct.
Hermet Park [Wed, 21 Sep 2016 03:24:49 +0000 (12:24 +0900)]
evas engine: return as soon as possible if the surface or context is not valid.
And later, the surface and context are accessed.
So both of arguments should be valid necessarily.
Felipe Magno de Almeida [Wed, 21 Sep 2016 02:30:13 +0000 (23:30 -0300)]
eo-cxx: Add progress to future and promise
JunsuChoi [Tue, 20 Sep 2016 14:34:17 +0000 (23:34 +0900)]
edje_edit : add null check and close eet
Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
JunsuChoi [Tue, 20 Sep 2016 14:23:29 +0000 (23:23 +0900)]
edje_decc: modified fclose location
modified fclose location. because of file pointer can become NULL.
Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Bruno Dilly [Tue, 20 Sep 2016 23:13:25 +0000 (16:13 -0700)]
ecore_con,elput: fix warnings
Summary:
elput: fix warning for unused write result
ecore_con: fix warning for unused asprintf result
Reviewers: iscaro, devilhorns, cedric
Reviewed By: cedric
Subscribers: cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D4308
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Sungtaek Hong [Tue, 20 Sep 2016 23:07:18 +0000 (16:07 -0700)]
elm_progressbar: show status when unit_format_func is set
Summary:
- elm,state,units,visible signal is emitted only when
unit is set, but not when unit_format_func is set.
- Since default unit has been set, this signal is emitted
but signal will not be emitted after unit is set to NULL.
Test Plan:
1. Create a progressbar.
2. elm_progressbar_unit_format_set(obj, NULL);
3. set unit_format_func by elm_progressbar_unit_format_function_set()
and observe elm.text.status part visible.
Reviewers: Hermet, jpeg, cedric
Reviewed By: cedric
Subscribers: D-TAU, eunue, conr2d, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4210
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Piotr Ganicz [Tue, 20 Sep 2016 21:46:11 +0000 (14:46 -0700)]
atspi: fix parent-child relationship for elm_list and elm_toolbar
Summary:
This patch provides proper parent-child relationship for elm_list and elm_toolbar
while atsapi_mode is set for icon and end element.
This patch is moved from:
bf188e59431ad9c4ca877b2632884d3d430de6b1
Change-Id: Iae855aacf29bef3808a0b5ec159f46cbf0f4539d
Reviewers: stanluk, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4259
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Piotr Ganicz [Tue, 20 Sep 2016 21:44:53 +0000 (14:44 -0700)]
atspi: fix state macros
Summary:
This patch changes the value of 1 to 1ULL in STATE_TYPE macros
to signal the compiler that the value must be considered
as a unsigned long long, it has to be done cause state_set variable
can be longer than 32 bits.
This patch is moved. Orginal commit hash:
a559e473c21c8da7c4e5a87b9c8583ce519cc35e
Change-Id: Ida89f3be185736f61543d37010d0f5cb8d80a751
Reviewers: cedric, stanluk
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4260
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
jiin.moon [Tue, 20 Sep 2016 21:22:33 +0000 (14:22 -0700)]
eet: fix memory leak
Summary:
If ef is null, have to return before _set_material_to_eet_file_from_mesh api.
New momory will be allocated in the api.
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4305
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Sungtaek Hong [Tue, 20 Sep 2016 21:20:48 +0000 (14:20 -0700)]
eet: set alpha_texture for ETC1+Alpha
Summary:
alpha_texture need to be set EINA_TRUE to support ETC1+Alpha
@fix
Test Plan:
Create an EDC file with png image with Alpha.
compress image with ETC1 and ETC2.
Observe Alpha is properly applied in both case.
Reviewers: jpeg, Hermet, cedric
Reviewed By: cedric
Subscribers: conr2d
Differential Revision: https://phab.enlightenment.org/D4307
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Stephen Houston [Tue, 20 Sep 2016 21:02:33 +0000 (16:02 -0500)]
Evas: Don't access members of a null struct. Fixes T4616
Gustavo Sverzut Barbieri [Tue, 20 Sep 2016 18:00:17 +0000 (15:00 -0300)]
libproxy: dlopen() and make it runtime optional.
Artem Popov [Tue, 20 Sep 2016 16:52:23 +0000 (19:52 +0300)]
ecore_file: Fix improper way of comparing in ecore_file_path_dir_exists @fix
Summary: There is wrong comparing while using strcmp function. Should be inverted.
Reviewers: cedric, raster, NikaWhite
Reviewed By: NikaWhite
Subscribers: cedric, NikaWhite, jpeg
Differential Revision: https://phab.enlightenment.org/D4291
Derek Foreman [Tue, 20 Sep 2016 16:33:33 +0000 (11:33 -0500)]
eina_cpu, evas: Remove _eina_cpu_fast_core_get, don't set render thread affinity
We've decided it would be best to just let the scheduler do its job.
Carsten Haitzler (Rasterman) [Tue, 20 Sep 2016 12:57:47 +0000 (21:57 +0900)]
eina - eina file map populate fallback to use log int not int... for size
this makes the size match other sizes in eina_file. doesn't affect
linux but i think bsd's get hit.
Stefan Schmidt [Tue, 20 Sep 2016 10:43:29 +0000 (12:43 +0200)]
tests: ecore: switch from fprintf to ck_asser_msg macro for custom error message
The ck_assert_msg macro can do this for us already in a failed case.
Ji-Youn Park [Tue, 20 Sep 2016 09:40:32 +0000 (18:10 +0830)]
eldbus: fix null value usage
Daniel Hirt [Sun, 18 Sep 2016 14:02:27 +0000 (17:02 +0300)]
Evas font: force freetype v35 ttf interpreter
Ref T4623
v40 bytecode interpreter is official as of freetype 2.7.
The results don't look so good at the moment. The text looks and glyph
positioning seem worse than they were with the previous v35 interpreter.
So, in the meantime we'll keep using v35, just so everything looks
normal again.
Although the v40 is relevant since around 2.6.3, I rather not do any
FREETYPE_MINOR checks in this patch, because distributions might ship
previous versions with the other (v38) interpreter enabled.
Ji-Youn Park [Tue, 20 Sep 2016 07:44:04 +0000 (16:14 +0830)]
ecore_con_local: fix memory leak.
after socket function call, close file descriptor.
JEONGHYUN YUN [Tue, 20 Sep 2016 07:01:16 +0000 (15:31 +0830)]
embryo : Prevent buffer overflow in embryo_cc_sc2
Reviewers: jypark
Reviewed By: jypark
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4304
Carsten Haitzler (Rasterman) [Tue, 20 Sep 2016 05:01:59 +0000 (14:01 +0900)]
efreet xml parse - handle 0 sized xml specially to avoid crash
fixes T4493
Carsten Haitzler (Rasterman) [Sun, 18 Sep 2016 23:58:56 +0000 (08:58 +0900)]
eina - redo a lot of the static inlines to have better instr cache usage
this moves a lot of logic that is rare away from the linear/flat asm
path of code so we et fewer l1 cache misses when executing chuncks of
our code. this also reduces the code size and takes some funcs like in
eina_inline_lock_posix.x and makes them real functions to reduce code
size thus better l1 cache usage - only for new/free of locks.
spinlocks, semaphores etc. as these will have no advantage being
inlined but simply bloat out code size instead.
overall this actually reduces efl lib binary sizes 0.4%, so that's a
good sign.
this passes make check and i think i got it right... let me know if i
didn't. i'm also not sure i should just keep the static inlines and
not make the formerly static inline funcs full EAPI ones now... good q.
Jaehwan Kim [Tue, 20 Sep 2016 04:46:29 +0000 (13:46 +0900)]
edje_edit: add null checking
Jaehwan Kim [Tue, 20 Sep 2016 04:45:36 +0000 (13:45 +0900)]
ecore: fix the parameter of strerror
WooHyun Jung [Tue, 20 Sep 2016 04:40:37 +0000 (13:40 +0900)]
elm fileselector: add null checking before strlen
WooHyun Jung [Tue, 20 Sep 2016 02:18:52 +0000 (11:18 +0900)]
eldbus: null checking before using the pointer
Cedric BAIL [Mon, 19 Sep 2016 23:27:14 +0000 (16:27 -0700)]
ecore: fix warning in timer test.
Cedric BAIL [Mon, 19 Sep 2016 23:12:31 +0000 (16:12 -0700)]
elementary: patch got pushed before the complete fix.
Cedric BAIL [Mon, 19 Sep 2016 23:07:03 +0000 (16:07 -0700)]
elementary: be more conservative on the amount of data requested from disk.
Cedric BAIL [Mon, 19 Sep 2016 21:02:43 +0000 (14:02 -0700)]
eina: populate memory in the right limit.
Cedric BAIL [Mon, 19 Sep 2016 20:05:32 +0000 (13:05 -0700)]
ecore: remove useless ecore_parent.eo.
Derek Foreman [Mon, 19 Sep 2016 15:34:44 +0000 (10:34 -0500)]
eina_cpu: Fix coverity defects in eina_cpu_map_init
Fixes a potential fd leak on failure and wrong core to
speed mapping on systems with > 31 cpu cores
CID: 1362860
CID: 1362859
CID: 1362857
Vitalii Vorobiov [Mon, 19 Sep 2016 15:09:13 +0000 (18:09 +0300)]
edje_edit: make tweens able to work with image sets
it's important because some tweens of loaded edje group might use image sets
instead of images, so now making edje_edit API to work with them correctly
@fix
Derek Foreman [Mon, 19 Sep 2016 14:39:35 +0000 (09:39 -0500)]
render_thread: Attempt to set affinity to a random fast core
We've been pinning the render thread for every EFL process to core 0.
This is a bit silly in the first place, but some big.LITTLE arm systems,
such as exynos 5422, have the LITTLE cores first.
On those systems we put all the render threads on a slow core.
This attempts to fix that by using a random core from the pool of fast
cores.
If we can't determine which cores are fast (ie: we're not on a
linux kernel with cpufreq enabled) then we'll continue doing what we've
always done - pin to core 0.
Hermet Park [Mon, 19 Sep 2016 14:39:19 +0000 (23:39 +0900)]
edje example: fix broken batman svg resource.
correct missing '/' at the end of svg tag.
Derek Foreman [Mon, 19 Sep 2016 14:23:59 +0000 (09:23 -0500)]
eina_cpu: Fix error handling in eina_cpu_fast_core_get
I introduced a crash on linux systems where the cpufreq directory
doesn't exist. This fixes it.
Gustavo Sverzut Barbieri [Mon, 19 Sep 2016 13:00:36 +0000 (10:00 -0300)]
efl_net_dialer_http: use libproxy.
query libproxy in a thread (since it's nasty and blocks), then apply
proxy to curl and execute the request.
Gustavo Sverzut Barbieri [Mon, 19 Sep 2016 06:19:16 +0000 (03:19 -0300)]
efl_net_dialer_tcp: use libproxy settings.
libproxy allows various means to configure a proxy, will load from
gnome and kde configuration settings, envvars, macos and even windows
registry.
curl still doesn't use it, but we can make that later.
Gustavo Sverzut Barbieri [Mon, 19 Sep 2016 06:18:35 +0000 (03:18 -0300)]
efl_net_dialer_websocket: remove unused variable.
efl-future will null the pointer, so pd is not needed anymore.
Stefan Schmidt [Mon, 19 Sep 2016 12:01:19 +0000 (14:01 +0200)]
tests: ecore: relax the timing precision for the promise timeout test
This test has been failing on Jenkins again and again. After adding the debug
a while ago it now shows that the value is between 0.01 and 0.02 in all cases
I have seen. Relaxing the timeout here a bit to make it pass in situation where
our CI is under load.
Marcel Hollerbach [Mon, 19 Sep 2016 11:00:36 +0000 (13:00 +0200)]
eo: fix headr to header
if you enable EO_DEBUG you cannot build eo, since the field is called
header not headr
Marcel Hollerbach [Mon, 19 Sep 2016 10:58:52 +0000 (12:58 +0200)]
eo: fix reference to constants
they are renamed from the prefix EO_ to EFL_
Marcel Hollerbach [Sat, 17 Sep 2016 13:17:25 +0000 (15:17 +0200)]
eo: fix callback cmp
Summary:
as told in _eina_stringshared_key_cmp in eina_hash.c:
originally we want to do this:
return key1 - key2;
but since they are ptrs and an int can't store the different of 2 ptrs in
either 32 or 64bit (signed hasn't got enough range for the diff of 2
32bit values regardless of their type... we'd need 33bits or 65bits)
So changing this to the same logic.
Reviewers: tasn, raster
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4298