path: root/src/lib (unfollow)
AgeCommit message (Collapse)Author
2016-08-04evas: Clip objects to framespace properlydevs/devilhorns/framespaceChris Michael
This patch removes the old method of forcing objects to be clipped to a master framespace clipping rectangle. Signed-off-by: Chris Michael <>
2016-08-04Elm.Entry: use proper theme_set function on edje objectDaniel Hirt
Shouldn't use elm_widget_theme_object_set for handlers/anchors here. Fixes T4091. @fix
2016-08-04edje object shutdown - be far more paranoid about ptrs and orderCarsten Haitzler (Rasterman)
so we didnt set everything to null after being freed and object sae freed after some data. do the data frees after objects are deleted so callbacks cant access null data anyway. this makes this edje shutdown far more robust and safe. massive improvement in stability i hope.
2016-08-04edje - fix access to freed data struct during object shutdownCarsten Haitzler (Rasterman)
this fixes T4181
2016-08-04elementary widget: actually this is a right fix than ↵Hermet Park
fa4a72d3fcb6a96f6291a0717036b28277c78413 Now rage and enventor both will be fine.
2016-08-04elm key events/disabling/focus - fix after another disabled widget fixCarsten Haitzler (Rasterman)
this fixes key events in rage again after ea2b5e40485a49b5c5aadae98ed379f1c3cf5f71 broke them. this fixes T4285
2016-08-03edje: updated the start index of vector resource from 1 to 0Subhransu Mohanty
Reviewers: cedric, jpeg Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-08-04elm image - silence warnings of setting smooth if image is edjeCarsten Haitzler (Rasterman)
2016-08-03elm: scrollable: add guards to include eo and legacy header only when allowedStefan Schmidt
Make sure the eo and legacy headers are only included when the matching defines are enabled.
2016-08-03elm: fileselector: add guards to include eo and legacy header only when allowedStefan Schmidt
Make sure the eo and legacy headers are only included when the matching defines are enabled.
2016-08-03elm image - store smooth scale var in object as intendedCarsten Haitzler (Rasterman)
this fixesa bug reported by davemds and kuuko in python bindings test suite where setting smooth flag != getting it right after.
2016-08-03widget: Fix propagation of events on holdJean-Philippe Andre
Because of the translation between legacy and eo key events, the on_hold flag state could sometimes be lost. Symptom: elementary_test -to Focus Click on a button inside the scroller Up/down would jump to the end of the scroller, rather than the next button. Thanks a lot to Woohyeon for the very good bug report.
2016-08-03elm theme - don't use empty env vars eina_prefix handles anywayCarsten Haitzler (Rasterman)
in 14ec825aa9ed9c6ede79d1729fdb291285b3bd6d cedric added trying ELM_DATA_DIR env var explicitly for looking for themes. first if this is NULL then we look in a bogus directory (null). secondly eina_prefix already takes care of env vars like thsi as part of figuring out prefix with correct namespace etc. so this just is a bug as opposed to anything useful and the CORRECt implementation is already done in eina_prefix. @fix
2016-08-02edje: fix color class broken by b543f4c896d9.Davide Andreoli
T4270 Signed-off-by: Cedric Bail <>
2016-08-02ecore_audio: use the correct module wrapperJean Guyomarc'h
This was code for sndfile. sndfile module should have been used instead of the pulseaudio one. It led to a build break when having sndfile but not pulseaudio. Ref: 879d93377b219dca00be63f8139fee79b7938147
2016-08-02ecore_drm2: Fix a condition where no outputs are enabledDerek Foreman
If the first output we test is disconnected but has the crtc of the primary display assigned then we'll fail to assign the crtc to the connector it's really connected to later. This is a quick hack as trying to sort this out properly may be too invasive for the upcoming 1.18 and isn't really important until 1.19 supports multihead anyway.
2016-08-02Eo: Move Eo back into beta.Tom Hacohen
Eo should now be considered beta again. This commit puts it back in beta and makes it necessary to define EFL_BETA_API_SUPPORT before including Eo.h.
2016-08-02edje_edit: delete swallowed object before unswallowing (for part type GROUP)Vitalii Vorobiov
unswallowing set swallowed_object to NULL inside of _edje_real_part_swallow_clear so it is impossible to delete object anymore. And so, changing sources leaves fantoms and undeleted objects. @fix
2016-08-02elementary widget: fix a wrong disabled behavior.Hermet Park
This is a corner case bug I spontaneously found. * Scenario. A. Disable A widget. B. Add a child B widget to A. C. Now B Widget theme will be followed to A that is performed by elm_widget_theme_apply() D. This elm_widget_theme_apply() calls elm_widget_disabled_set() (originally.) E. Now B widget will be logically disabled. D. Let's enable A widget again. E. After going through widget disabled sequence, elm_widget_disabled_eval() will be called in the last F. In this function, A widget tries to enable its children. But B widget won't be enabled because its logically disabled! Acutally, nowhere widget change children's disabled states logically, but it propagates its state to children within volatile way so that A widget perfectly keeps the disabled/enabled state with its children and recover the children's enable/disable state once their relationship is cut off. @fix
2016-08-02elm scroller accel was broken by default confgis setting it to 0. fixCarsten Haitzler (Rasterman)
now set default wheel scroll accel to 7 as epr the confgi upgrade code and also improve the acceleration to "rely on itself" and feedback loop. this is so much better now i can scroll through things in a whisk with the wheel. fixes T4263 @fix
2016-08-02efl runtime dynamic lib loading - make errors consistent and usefulCarsten Haitzler (Rasterman)
so drop trying to appease the openbsd packages and stick to "upstream so major versions" and let users fix their systems with symlinks. also report what we are looking for so they have a chance to symlink to make efl happy. at some point we should make a single simple runtime lib linker subsystem in efl so all these errors are reported in the same way, input libray names are listed in a simple consistent way etc. etc. for now we have 3 locations in efl that do this and they are roughly similar. we can unify it later.
2016-08-01autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL
remove per directory support.
2016-08-01elementary: remove *.eo.h files from includesub_HEADERSRomain Naour
Otherwise *.eo.h files will be installed twice, so it can break a parallel install on fast machines, whereby two make jobs may run concurently, trying to install the same files. With elementary 1.17.1: /usr/bin/install -c -m 644 elm_sys_notify.eo.h /usr/bin/install -c -m 644 elm_sys_notify.eo.h usr/bin/install: cannot create regular file 'elm_sys_notify.eo.h': File exists Fixed in Buildroot: While applying the fix on latest master (1.18.0-beta1), the only remaining *.eo.h file is efl_ui_text.eo.h. Fixes: Signed-off-by: Romain Naour <>
2016-08-01ecore-imf - fix stupidity of loading ALL modules even if not neededCarsten Haitzler (Rasterman)
eocre-imf loaded all input modules even though an env var was set to tell it to use a specific one. this just wastes memory and slows down startup time. this uses the env var to choose ro auto-guesses wayland or xim input if the right env vars are set, and if it doesnt know falls back to "load all" as before. this saves 28kb of dirty pages. this helps address T4227 @fix
2016-08-01edje - reduce memory footrpint by dlopening ephysics on demandCarsten Haitzler (Rasterman)
this saves about another 80Kb or so in dirty pages by only loading ephysics when needed. This removed ephysics and bullet library dirty pages from the process space. this is another patch to address T4227. @fix
2016-08-01ecore_audio - save 232k of real RAM by dlopening depedneciesCarsten Haitzler (Rasterman)
so libpuls and libsndfile suck in dependencies. they suck in so much that by the time linking is done we've written to about 230kb of PRIVATE MEMORY as dirty pages in symbol tablesm global veriables etc. etc. - this is just horrible. especially if an app never makes any sound... it's just wasted memory. this stuff is invisible to normal memory debug tools. so this begins to address things. please see T4227. my numbers now put me at: 1780Kb total dirty writable mapped from library file pages. down from 2012Kb. This fixes some memory bloat reported in the above ticket, but there is more to fix for sure. @fix
2016-08-01edje: Fix handling of polygon and polyline node.Subhransu Mohanty
Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision:
2016-08-01ecore_evas: Register animators for inline image eeJean-Philippe Andre
In ecore_evas_object_image_new, register animator tick del/add catchers, so that animators can work. This fixes mouse scroll in an inline window.
2016-08-01scrollable: Avoid useless connect to animatorJean-Philippe Andre
If scrolling Y no need to register X animators. And vice versa. It's a minor optimization.
2016-07-31Canvas text: fix range geometry calculation for RTLDaniel Hirt
Fixes T3627. @fix
2016-07-29eina: promise: fix memory leak in error pathStefan Schmidt
If we would not get a promise back here the allocated array would leak when we return. Make sure we also free it in this case. CID: 1360468
2016-07-29ecore: xcb: make sure length_name is always initializedStefan Schmidt
lib/ecore_x/xcb/ecore_xcb_icccm.c: In function ‘ecore_x_icccm_name_class_set’: lib/ecore_x/xcb/ecore_xcb_icccm.c:320:11: warning: ‘length_name’ may be used uninitialized in this function [-Wmaybe-uninitialized] s += length_name + 1; Looking at the code this is indeed possible so better play safe here.
2016-07-29elm: object_item: add guards to include eo and legacy header only when allowedStefan Schmidt
Make sure the eo and legacy headers are only included when the matching defines are enabled.
2016-07-29elm: sys_notify: add guards to inlcude eo and legacy header only when allowedStefan Schmidt
Make sure the eo and legacy headers arte onl yincluded when the matching defines are enabled.
2016-07-29eldbus: make sure eldbus model is hidden behind the BETA API flagStefan Schmidt
Make sure we keep this in beta for now until our EO based interfaces are ready.
2016-07-29multibuttonentry: Fix wrong definitions.Woochan Lee
Summary: There is no "ELM_MULTIBUTTONENTRY_EVENT_CHANGED" Because of this, MBE's Internal entry did not get a changed callback. And MBE does not have changed smart callback. Those things made by someone during EO interface working i think. Test Plan: elementary_test Reviewers: Hermet, cedric, jpeg Subscribers: cedric, jpeg Differential Revision:
2016-07-29efl - elm genlist - clean up sanghyeon's patch to be less codeCarsten Haitzler (Rasterman)
use if not while, no first, and timing checkis already done at end so remove from if/while. cleaner now.
2016-07-29fix warnings in sanhyeons's patch/fixCarsten Haitzler (Rasterman)
2016-07-29[CONFIG] call elm_rescale() only when scale value is changedJonghee Choi
Summary: it doesn't need to call elm_rescale() in _config_flush_get() when the scale value is not changed. Reviewers: jaehwan, cedric, raster Subscribers: minkyu Differential Revision:
2016-07-29genlist: fix memory-leak in filter queue and refactoring queue iterationSangHyeon Lee
Summary: There are critical memory-leak in filter queue process. It looks typo so I fix it and refactoring queue iteration logic to spend less time in for and while loop. Test Plan: Tested by filter elementary test Reviewers: shashank0990 Reviewed By: shashank0990 Subscribers: raster, cedric, jpeg Differential Revision:
2016-07-29evas canvas destruction - detect zombie objs and hack at them with axesCarsten Haitzler (Rasterman)
ok. so here's the issue at least now. we have eo objects in the canvas and they have a refcount of 2 user_refcount is 0. the calls stack does NOT show we are calling callbacks at that time on these objects. they are not in the backtrace (the canvas is, the objects themselves are not). SOMETHING is keeping 2 eo "internal" refs on these objects and i have no idea what/how/who. it's a royal pain in the butt to find out as the only way is lots and lots of logging and you get drowned in the logging... so what I have now done is a super ugly workaround that detects these zombie objects that refuse to die and just FORCES them to die when the evas canvas frees and clears out layers. ac10a00acc6bacf01bfd208cc78b4eb2a6a925d8 doesn't really cause the issue, it just brings it out in the open for all to see far more easily. but something is deeply wrong SOMEWHERE with SOME objects and our refcounts. this fixes T4187
2016-07-28entry: allow force recalc on "size,eval" "elm" signalAmitesh Singh
Summary: In some use cases, font (style) of elm.text in elm entry is changed on focus and unfocus. user must send "size,eval",elm signal to entry to force recalc, but this was not happening. This patch fixes that issue. fixes T4233 Reviewers: tasn, herdsman, raster Subscribers: cedric, seoz, jpeg Maniphest Tasks: T4233 Differential Revision:
2016-07-28win: Fix evas framespace under XJean-Philippe Andre
Mouse inputs would not work if the window is rotated, because the framespace was invalid. Fixes T4132
2016-07-28edje entry - check all minor struct callocs and on fail report + unwindCarsten Haitzler (Rasterman)
lots of unchecked malloc/calloc returns, so check these, unwind safely and complain (highly unlikely to happen unless the system is about to fall over). this should fix T4230
2016-07-27elementary: fix legacy path set/get for Fileselector specializationsVitor Sousa
Fix legacy functions elm_fileselector_path_get and elm_fileselector_path_set. Make these functions call the correct function when called with a specialization of Elm.Fileselector (instead of the base class function). Create internal versions of path set/get functions to avoid warnings about deprecated function calls. Fix T4198 @fix
2016-07-27ecore-drm2: Silence compiler warningDerek Foreman
We probably can't actually use this variable uninitialized, but let's init it anyway to keep gcc happy.
2016-07-27ecore-drm2: Fix issue of VT-Switching going blank on returnsChris Michael
As it turns out, when we vt-switch Back to a running Enlightenment, it ends up processing all outputs and causes Evas to create a giant canvas to cover all outputs. This new canvas causes a blank screen as the pageflipping fails (due to fb being too large). As we do not yet support output on more an one screen anyway, temporarily disable any output which is not marked as primary. Signed-off-by: Chris Michael <>
2016-07-27ecore-drm2: Add API for vt-switchingChris Michael
This commit adds a function we can call from inside Enlightenment in order to fix an issue with VT-Switching. The problem was when a client application is open, the compositor does not pass along the key-combo for vt-switch but rather sends it to an application. This patch (along with upcoming Enlightenment one) fixes the issue. NB: This late API add approved by Stefan ;) @feature Signed-off-by: Chris Michael <>
2016-07-27elementary: Reduce variable usageChris Michael
As we don't use the framespace x, y here then there is really no need to have them. Signed-off-by: Chris Michael <>
2016-07-27elementary: Fix issue of wrong minimum size for some E dialogsChris Michael
When we are calculating minimum size hints for the window object, we should be adding framespace to maximum size, not subtracting it... Honestly this just looks like a brain-dead typo. Fixes T44225 Signed-off-by: Chris Michael <>