summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
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: https://phab.enlightenment.org/D5222 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: https://phab.enlightenment.org/D5645
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: https://phab.enlightenment.org/D5616
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
2017-12-18ecore: Fix clean shutdownJean-Philippe Andre
There is no good reason to not shutdown a library properly. The loop object can easily be deleted safely, if it is properly initialized. The del event happens before destruction so it is too early to set the singleton variable to NULL. Do that as late as possible and all calls to efl_loop_main_get() will work as expected. The issue with fd's was simply that they were not initialized to -1 (timer_fd), as some #ifdef statements have disappeared.
2017-12-18ecore: Fix warning with enumJean-Philippe Andre
2017-12-18Efl.Ui.Popup.Anchor: remove event callback when popup is deletedJinYong Park
Summary: When popup is deleted, popup didn't remove event callback which its parent and anchor object. So before popup destruction, detach anchor. Test Plan: elementary_test -to efl.ui.popup.anchor Reviewers: Jaehyun_Cho, herb, woohyun, jpeg, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5667
2017-12-18efl_ui_spin_button: Fix can't input number in case of the min value is ↵Woochan Lee
bigger than 1. Summary: Min Max validate logic has been changed to support decimal point counting. It makes this side effect. Test Plan: elementary_test -> efl_ui_spin_button sample. (On the min max filter enabled.) Reviewers: jpeg, Jaehyun_Cho, woohyun Reviewed By: Jaehyun_Cho Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5580
2017-12-17eolian cxx: pass state when getting declsDaniel Kolesa
2017-12-17ecore: Additional safety for bad futuresAndy Williams
Fixes T6519
2017-12-17ecore - remove warning for win buildCarsten Haitzler (Rasterman)
2017-12-17windows build - try fix againCarsten Haitzler (Rasterman)
2017-12-17ecore main - try fix windows buildCarsten Haitzler (Rasterman)
i hope this fixes T6517
2017-12-16elm widget - remove unused vars from new shadow part codeCarsten Haitzler (Rasterman)
fill isn't used... maybe at some point someone jpeg wanted to.. but he didn't, so let's not have warnings.
2017-12-16efl loop - fix merge issue with future changes.Carsten Haitzler (Rasterman)
2017-12-16efl loop message stuff - document the eo files.Carsten Haitzler (Rasterman)
2017-12-15eolian_mono: fix handling of regular ptr() typesVitor Sousa
2017-12-15efl_mono: fix test and example compilation on WindowsVitor Sousa
2017-12-15efl_mono: tests and better support for structs, plus some other fixesVitor Sousa
Fix several integer binding type deduction based in its size on C. Generation for function pointers no longer use modified argument name which is different from the parameter name. New generation context for structs. bool from UnmanagedType.I1 to UnmanagedType.U1 (correct use inside structs according to mono documentation). byte (signed char) and int8 now is correctly represented by sbyte in C#. Check parameter direction in some out generators in parameter.hh. Add efl_libs.csv to gitignore. Make eina.Value pointer constructor public. Add missing fields to efl.kw_event.Description struct. Remove eina.File workaround (let struct gen handle it). Remove is_function_ptr bool from regular_type_def and add a typedecl_type enum to it. Also add some helper methods for easier comparison. Left some test cases commented for when pointer parameters are properly working.
2017-12-15elementary: fix definition of EAPI.Cedric BAIL
2017-12-15eio: remove uneeded function.Cedric BAIL
2017-12-15eolian: remove now unused database init/shutdownDaniel Kolesa
2017-12-15eolian: remove remaining global state (+ modify APIs accordingly)Daniel Kolesa
2017-12-15eolian: filename retrieval APIs are read onlyDaniel Kolesa
2017-12-15eolian: make declaration APIs use unitsDaniel Kolesa
2017-12-15efl_ui_focus_manager_calc: dont use sqrtMarcel Hollerbach
We only need the order, not the exact value
2017-12-15efl_ui_focus_manager_calc: use pow instead of powerof2Marcel Hollerbach
2017-12-15eo: Fix crash with invalid objectsJean-Philippe Andre
Not a legacy fix as auto-unref is new in 1.21.
2017-12-15ecore - unify comment styleCarsten Haitzler (Rasterman)
2017-12-15tests - disable loop fd and timer lifecycle testsCarsten Haitzler (Rasterman)
these tests assume we delete the loop object on shutdown which we are not doing atm as it's a lot of trouble... and frankly of little value.
2017-12-15tests - ecore promise - assuming a single loop iterate... wrongCarsten Haitzler (Rasterman)
this should really be an ecore_main_loop_begin plus a quit condition.
2017-12-15tests - ecore suite - dont shadow a global var - use different oneCarsten Haitzler (Rasterman)
2017-12-15eo - set opts hash to NULL after freeCarsten Haitzler (Rasterman)
2017-12-15eldbus test - del not unref obj as it has a parent ...Carsten Haitzler (Rasterman)
if you ONLy unref it wont force an unparent if you never del'd. @fix
2017-12-15efl model tests - fix mainloop iterate to not assume a single iterCarsten Haitzler (Rasterman)
it may have to loop multiple times as there isnt a guarantee on WHEN the result comes back.... :)
2017-12-15eo - fi missed error condition if eoid passed in is NULLCarsten Haitzler (Rasterman)
in some cases construction can fail badly and this causes a crash... eoid is NULL going in and this causes a cascade of failure. survive and be more robust.