path: root/src/lib (unfollow)
AgeCommit message (Collapse)Author
2017-12-22Efl.Gfx.Color: add color_code{}Amitesh Singh
color_code allows user to pass/get the color hex string (e.g. efl_gfx_color_code_set(o, "#FFAA22CC")) Also make this interface as mixin class.
2017-12-22interface: add Efl.Gfx.Color interface for color related APIsAmitesh Singh
This would eventually turn into mixin class later after adding more color related helper functions.
2017-12-21elm_code: Cancel selection if clicked outside of the editor areaAndy Williams
2017-12-21ecore/efl loop - refactor idle stuff to be less convluted whenCarsten Haitzler (Rasterman)
less jumping around the codebase and no need for a message exists method on the loop as we can find out internally, so only the process left.
2017-12-21ecore/efl loop. remove internal ecore_timer legacy api usage for eflloopCarsten Haitzler (Rasterman)
efl.loop was still using legacy ecore_timer_* calls inside. of course this is a big no-no if we are to allow multiple loops, so clean this up and convert them to efl.loop.timers.
2017-12-20eolian-mono: Add documentation generation supportLauro Moura
This commit adds the "documentation" generator, which gets the documentation_def attribute of the given item and generates xml comments to be exported by MCS. For items requiring some customization of the generated comments (e.g. functions and its parameters), the helpers to generate the preamble (summary), body (paragraphs) and epilogue (currently just the @since tag) were added. Currently we do not support converting Eolian references into xmldoc references. As we explicitly generate Get/Set methods for properties, for now the generator tries to get the get/set specific documentation first. If it is not present, fallback to the common docs. Later this could be changed to generate the common one as paragraphs of the Get/Set. Also some generated code like the wrappers for calling C# methods from C can be private. This will cleanup the introspection results and warnings when generating documentation. Due to this visibility change, the binbuf tests had to be changed to add redirect calls to the native methods instead of directly calling the DllImport'd methods.
2017-12-20Canvas image: fix endless call to 'load_error_get'Daniel Hirt
Fixes a bug introduce with c8c4572d7005d19cf50f8c53bb7408606cf3ee40. My guess is that the true intention was to query the Efl.File mixin first, and the check the specific load_error. Basically a call to 'efl_file_load_error_get' on an Efl.Canvas.Image triggered this.
2017-12-20docs: Update ecore_con eo files for grammar and readabilityAndy Williams
Author: Nate Drake
2017-12-20elm - scroll manager - fix up momentum animator code to use real constsCarsten Haitzler (Rasterman)
use real constnants and remove useless vasriables as well as fix up formatting... so we don't get compilers complaining about non-const values etc. @fix
2017-12-20ecore_con: bug workaround SO_REUSEADDR and EADDRINUSE from bind (fix)Carsten Haitzler (Rasterman)
what i'm seeing is this with local unix sockets: 1. server process not cleanly shut down (kill -9 for example). 2. run server process again and bind fails due to EADDRINUSE 3. we ARE doing setsockopt() with SO_REUSEADDR set to 1 ... this just makes no sense because setsockopt() SHOULD allow use to re-use... the previous efreetd process for example is gone. no such process, yet socket is not re-usable. this should just not happen due to SO_REUSEADDR, but it does. this has nasty consequences like efreetd maybe never running because of stale sockets. this should never have happened, but it does. odd. so a hacky workaround: 1. try bind. 2. if bind fails with EADDRINUSE and its a socket path AND pd->unlink_before_bind is NOT set... then try a connect to the socket. 3. if connect succeeds then fail as normal (close socket and error on bind'ing) if connect fails then we have a stale socket, so unlink it forcibly. create the socket again and try bind again. hacky but... fixes the core issue. @fix
2017-12-20elm build for osx - try another dotting of i's and crossing of t'sCarsten Haitzler (Rasterman)
try this and fix T6448 ...
2017-12-20eo: Update grammar and readabilityAndy Williams
2017-12-20Eo docs: update for grammar and readabilityAndy Williams
2017-12-20ecore_imf: Add prediction hint hash APIsJihoon Kim
Change-Id: Id012fd172d3b15bfa3e9ea10c22216db10ba23b5 Signed-off-by: Jihoon Kim <>
2017-12-20ecore_imf: Add autofill hints in input hintJihoon Kim
Change-Id: I4e51adf179afa69a077de8ecabf7fa763c03f871 Signed-off-by: Jihoon Kim <>
2017-12-20remove all specific including of elm headers inside out src treeCarsten Haitzler (Rasterman)
... other than Elementary.h after d6e3ce3df422751cb1c4524f1ea0b16ce897410 etc.
2017-12-20efl_ui_scroll : fix scroll bar size visibility issue in efl_ui_listSangHyeon Lee
Summary : mostly, bar-related event callback will be registered after scroll manager creation, so in scroll manager constructor, visibility_update cannot update their visiblity properly.
2017-12-20elm: Fix duplicate EO APIJean-Philippe Andre
elm_interface_scrollable is used by legacy but isn't public API.
2017-12-20elm: apply new scroll interface in efl_ui_listSangHyeon Lee
Summary: Apply new scroll inteface in efl_ui_list. Test Plan: tested by examples Reviewers: jpeg, eagleeye Subscribers: cedric Differential Revision:
2017-12-20loop: Fix loop_get search priorityJean-Philippe Andre
According to comments by @k-s & @raster. See 784a5b56a3c798e5a8 this was intended to be a fallback, not the first lookup indeed. Since this is an error case, let's print an ERR message at least.
2017-12-20scroller: Fix compilation on WindowsJean-Philippe Andre
Thanks @vtorri for the report. Fixes T6528
2017-12-19eina: fixup EAPI definition.Cedric BAIL
2017-12-20efl build... let's not break building against efl...Carsten Haitzler (Rasterman)
yet again headers messed up and building against efl is broken!
2017-12-19eina: fix random segfaults when displaying BTJean Guyomarc'h
Under some circumstances, eina crashes when attempting to display the backtrace, because dladdr() may yield a dli_fname that is NULL. This is especially annoying in realease, when the backtrace is shown by default when CRI/ERR are thrown. @fix
2017-12-19evas/elm: fix visibility of some symbolsJean Guyomarc'h
Public symbols were defined internal to Evas/Elementary on macOS, making the link of external modules unfeasible. - EAPI was messed up by an invalid inclusion of evas_text_utils.h, making some symbols private instead of public. - A similar issue was present in evas_font_draw.c, where the symbols were directly imported without the proper definition of EAPI. - Elementary.h did include some eo-generated headers, but for windows only. It should not been restricted to windows, as it allows to export symbols to external modules. Fixes T6448.
2017-12-19evas: include missing headerJean Guyomarc'h
This fixes a compilation warning telling a function was used without prior declaration.
2017-12-19win: Show windows created by efl_add with a jobJean-Philippe Andre
This fixes efl_add(WIN) on wayland, using an internal API. Test scenario: ELM_DISPLAY=wl elementary_test -to "Part Shadow"
2017-12-19scroll: Fix a warning (and probably the logic too)Jean-Philippe Andre
2017-12-19efl_ui_spin_button: remove needless focus_setYeongjong Lee
Summary: because _entry_show_cb callback call focus_set function, efl_ui_focus_manager_focus_set is unnecessary. also, this fixes focus error message. Test Plan: 1. elementary_test -to Efl.Ui.Spin.Button 2. click the entry. Reviewers: CHAN, Jaehyun_Cho, bu5hm4n Reviewed By: CHAN Subscribers: cedric, jpeg Differential Revision:
2017-12-19interface : change efl_pack_grid and efl_ui_grid to efl_pack_table and ↵SangHyeon Lee
efl_ui_table Summary: Change name of 'grid' to 'table' for matching on common ui naming and avoiding confusion with 'gengrid' and 'grid view'. grid will be introduced as grid image view after. Test Plan: checked make & make install checked make check - there are errors but not related with these changes. checked make examples - there are errors in cxx but not related with these changes. checked make discheck - failed test in elementary_test with Efl.Ui.Table and Table_static. Reviewers: raster, cedric, jpeg, felipealmeida Differential Revision:
2017-12-19ecore: Properly shutdown pollersJean-Philippe Andre
2017-12-19efl: Reset ecore event types on initJean-Philippe Andre
This fixes cycles of init/shutdown/init where ecore event types would become invalid, since they are now stored in a dynamic array rather than a statically stored array. The risk here is that if a module of EFL tends to init/shutdown in a "normal" scenario then the event type array will grow in a leaking manner. This could be fixed by resetting those event ID's only when the loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using EFL_EVENT_DEL in this patch as this would add too many event callbacks to the main loop object, which may result in slightly slower event calls to it, affecting the overall performance.
2017-12-19scroller: Introducing Efl.Ui.ScrollerWonki Kim
Summary: scrollable widgets had a interface_scrollable as a mixin so that the widgets had a 'is-a' relation with interface_scrollabe. however, new scroller concept don't have 'is-a' relationship, but 'has-a' relationship. scrollable widgets should have a scroll manager inside them, then scroll manager handles event from user and api implementations. and also we cut the features such as paging because there will be aka 'elm_pager'. we are expecting that the new concept make us to maintain the scroller easier. please excuse for many unorganized code and logics. : ( [contained commit] scrollable: add efl_ui_scroller example scrollable: refactoring for behavior in case of multiple scroller scrollable: remove repetitive scrollbar code. scrollable: combine calculating bounce distance code. scroll_manager: mouse up function refactoring scroll_manager: mouse move function refactoring scroll_manager: warp animator wip scroll_manager: fix denominator value when calculating flicking behavior. Fix to disconnect bounce animator once animation is done gather duplicated animator drop logics gather duplicated conditions Rearrange prototypes and append comment Add manipulate functions for animators scroll_manager: change member_add function. scroll_manger: apply mirroring logic scroll_manager: apply scrollbar apply API to scroller widget scroll_manager: apply scroll event callback Change logics for all about scroll animating efl_ui_pan: add efl_ui_pan scrollable: change content_min_limit to match_content scroll theme: apply overlapped scrollbar + many others! Reviewers: akanad, woohyun, cedric, jpeg Subscribers: jenkins, cedric, jpeg Differential Revision: Note by @jpeg: Unfortunately this patch comes in a massive single blob, after too many rebase operations. It has now come to a point where I think the API is nice and it works as I'd expect. Now I only wonder how applicable this will be for Efl.Ui.List. As we can see Photocam (legacy and unified API) could be transformed to use this new API.
2017-12-19eina: Add missing eina_internal.hJean-Philippe Andre
2017-12-18eina: make __eina_promise_cancel_all an internal only function.Cedric BAIL
2017-12-18ecore: make message_process and message_exists internal function.Cedric BAIL
2017-12-19eolian: fix use-after-free in eo_parserDaniel Kolesa
Thanks @netstar for finding this. Fixes T6523.
2017-12-18efl_ui_image: apply load_size when API is calledSungtaek Hong
Summary: when efl_image_load_size_set() is called, image only sets internal variable and not apply to the internal image. elm_image_prescale_set() is also affected. Test Plan: Run elementary_test->Image Prescale Reviewers: jpeg, eunue, woohyun Subscribers: cedric Differential Revision:
2017-12-18efl_ui_bg_widget: replace internal image to efl_ui_imageSungtaek Hong
2017-12-18efl_ui_bg: add Efl.Ui.Bg interfaceSungtaek Hong
Summary: - Previous class efl_ui_bg moved to efl_ui_bg_widget. - Scale_type moved to efl_image from efl_ui_image. - Previous enum Efl_Ui_Image_Scale_Type moved to Efl_Image_Scale_Type. Test Plan: Run elementary_test 1.Image Scale Type 2.Efl.Ui.Bg 3.Efl.Ui.Win 4.Part Background Reviewers: jpeg, woohyun, cedric Differential Revision:
2017-12-18ecore: Avoid access to invalid eo idJean-Philippe Andre
Not a fan of the solution, as I think some of the logic handling those futures is a bit broken. I'm not 100% sure about this patch. But this improves make check with CK_FORK=no in elm_suite.
2017-12-18ecore: Simplify codeJean-Philippe Andre
2017-12-18ecore_con: Make sure the proxy helper is validJean-Philippe Andre
If the http proxy helper gets deleted at shutdown rather than because the process actually exited, the object pointer becomes invalid. This patch tries to avoid a situation where the object is not valid.
2017-12-18ecore_con: Properly shutdown and unregister log domainJean-Philippe Andre
I believe the comment saying we should not unregister the log domain is invalid as we try to flush the pending ecore events.
2017-12-18ecore_con: Always get the loop on initJean-Philippe Andre
In case of init/shutdown/init cycles, the loop EO ID has changed, so it must be fetched again.
2017-12-18ecore_con: Avoid safety errors when closing httpJean-Philippe Andre
When setting EOS on the dialoer, it's possible that it will also get automatically closed (by a callback). This results in safety check error messages, while everything is fine (at least I believe it is).
2017-12-18loop: Try harder to find the main loopJean-Philippe Andre
If the object has no parent or anything else goes a bit wrong, efl_loop_get() may fail to return the loop object. It's a bit ridiculous when we're in the main loop as we know which loop object was requested. This avoids returning NULL.
2017-12-18ecore: Avoid double free with promisesJean-Philippe Andre
2017-12-18ecore: Fix legacy message handlers destructionJean-Philippe Andre
2017-12-18eo/eina: Add HACK to avoid calls to EO after shutdownJean-Philippe Andre
Efl.Future is an EO object which means even cancelling Efl.Future objects requires EO. So this should be done before shutting down EO, otherwise everything fails badly. I believe Efl.Future is going to disappear soon, but the problem will remain: if any promise/future uses EO or anything else outside of Eina (so, basically anything) then it needs to be canceled before shutting down the above layers. This is the same situation as with ecore events, for which we've introduced ecore_event_type_flush. Ping @cedric