aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* efl_ui_popup: Rebase masterdevs/jaehyun/efl_popupJaehyun Cho2017-11-276-29/+16
|
* efl_ui_popup_alert: Remove expandable property for nowJaehyun Cho2017-11-277-188/+6
| | | | | | It needs more time to stabilize expandable property. So the expandable property is removed for now. The expandable property will be added later.
* examples: Add popup cxx exampleJaehyun Cho2017-11-273-0/+327
|
* efl_ui_popup: Make backwall efl part object of Efl.Ui.PopupJaehyun Cho2017-11-276-51/+106
|
* efl_ui_popup: Rename bg_set with backwall_setJaehyun Cho2017-11-274-49/+49
| | | | | Since "background" is used as a basic part property, "backwall" is used to indicate the area behind efl_ui_popup.
* test_ui_popup: Move code for Efl.Ui.Popup classes from test_popupJaehyun Cho2017-11-275-595/+541
| | | | | Code refactoring to replace legacy APIs and move test code for Efl.Ui.Popup and its sub classes from test_popup to test_ui_popup.
* test_popup: modify Efl.Ui.Popup Sample CodeTaehyub Kim2017-11-271-87/+274
| | | | | | | | | | | | | | Summary: make Efl.Ui.Popup sample codes simpler Test Plan: 1. run elementary_test -to efluipopup 2. test various options of efluipopup by clicking each button Reviewers: Jaehyun_Cho, Blackmole, jpeg, cedric, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5366
* efl_ui_popup: add _calc_align function in sizing eval functionTaehyub Kim2017-11-271-0/+2
| | | | | | | | | | Summary: add _calc_align function in sizing eval function to show popup correctly. Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5373
* efl_ui_popup: add timeout signalTaehyub Kim2017-11-272-0/+2
| | | | | | | | | | Summary: add the timeout signal for user notification Reviewers: Jaehyun_Cho, jpeg, cedric, Blackmole, thiepha, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5372
* efl_ui_popup_alert: Define Clicked_Event structureJaehyun Cho2017-11-273-11/+29
|
* efl_ui_popup: Replace group_add/del with constructor/destructorJaehyun Cho2017-11-2710-51/+67
|
* efl_ui_popup: Code refactoring to replace legacy APIsJaehyun Cho2017-11-2714-332/+285
|
* efl_ui_popup: remove parent_window_get methodJinYong Park2017-11-273-18/+30
| | | | | | | | | | | | | | Summary: remove Efl.Ui.Popup's internal method "parent_window_get" Test Plan: elementary_test -to efluipopup Reviewers: jpeg, Jaehyun_Cho, woohyun, herb Reviewed By: Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5363
* efl_ui_popup: replace title_set to efl_text_set with efl_partJinYong Park2017-11-275-30/+76
| | | | | | | | | | | | | | Summary: Replace Efl.Ui.Popup.Alert's title set method to using efl_text_set with efl_part Test Plan: elementary_test -to efluipopupalert Reviewers: jpeg, Jaehyun_Cho, woohyun, herb Reviewed By: Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5359
* test_popup: Fix Efl Ui Popup Anchor test titleJaehyun Cho2017-11-271-1/+1
|
* efl_ui_popup: add timeout propertyTaehyub Kim2017-11-274-1/+93
| | | | | | | | | | | | | | Summary: add timeout property Test Plan: 1. run elementary_test -to efluipopup 2. after 3 seconds, popup will be delete Reviewers: Jaehyun_Cho, jpeg, woohyun, thiepha, Blackmole, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5205
* efl_ui_popup_anchor: add Efl.Ui.Popup.Anchor classJinYong Park2017-11-277-0/+537
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Anchor class. It supports adding anchor object to popup. Test Plan: 1. run elementary_test -to efluipopupanchor Reviewers: Jaehyun_Cho, thiepha, herb, jpeg, cedric, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5126
* efl_ui_popup: remove unnecessary function callJinYong Park2017-11-271-4/+1
| | | | | | | | | | | | Summary: In _calc_align function, it could get align property through Efl_Ui_Popup_Data *pd directly, but call align_get function previously. Reviewers: Jaehyun_Cho, herb, thiepha, jpeg, cedric, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5207
* efl_ui_popup_alert_scroll: check sizing evaluation while scroller is changedTaehyub Kim2017-11-272-0/+7
| | | | | | | | | | | | | | | Summary: add a sizing check variable for safety of sizing evaluation when the min size of scroller is changed. Test Plan: 1. run elementary_test 2. search the sample with "popup" keyword 3. click the Efl Ui Popup Alert Scroll sample Reviewers: Jaehyun_Cho, jpeg, woohyun, thiepha, Blackmole, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5204
* efl_ui_popup: remove efl_ui_popup_position_setJinYong Park2017-11-273-22/+7
| | | | | | | | | | | | | | | Summary: Remove efl_ui_popup_position_set. Its functionality is replaced with efl_gfx_position_set. Test Plan: 1. elementary_test -to efluipopup Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, jpeg, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5129
* efl_ui_popup: use efl_data_scope_get instead of using 'self' objectJinYong Park2017-11-272-19/+16
| | | | | | | | | | | | Summary: Use efl_data_scope_get to get Efl_Ui_Popup_Data structure. There is no reason using "self" object in Efl_Ui_Popup_Data. Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, jpeg, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D5128
* efl_ui_popup_alert_text: add Efl.Ui.Popup.Alert.Text ClassTaehyub Kim2017-11-278-0/+271
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert.Text Class. It supports setting texts on the content area. Test Plan: 1. run elementary_text -to efluipopupalerttext Reviewers: Jaehyun_Cho, jpeg, thiepha, cedric, woohyun, Blackmole Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5124
* efl_ui_popup_alert_scroll: add Efl.Ui.Popup.Alert.Scroll classTaehyub Kim2017-11-278-0/+323
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert.Scroll Class. It supports scrolling content. Test Plan: 1. run elementary_test -to efluipopupalertscroll Reviewers: Jaehyun_Cho, jpeg, thiepha, cedric, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5123
* efl_ui_popup: cover the corner case of popup sizing evaluationTaehyub Kim2017-11-271-1/+1
| | | | | | | | | | | | Summary: cover the corner case of popup sizing evaluation Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, jpeg, thiepha, Blackmole, woohyun, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5146
* efl_ui_popup_alert: add Efl.Ui.Popup.Alert classTaehyub Kim2017-11-277-0/+330
| | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert class. It supports setting title and buttons. Test Plan: 1. run elementary_test -to efluipopupalert Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D5108
* efl_ui_popup: make popup size expandableTaehyub Kim2017-11-271-0/+10
| | | | | | | | Summary: make popup size expandable Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D5107
* efl_ui_popup: add align and position propertiesTaehyub Kim2017-11-274-15/+189
| | | | | | | | | | | | | | | Summary: add align feature and position properties (center, left, right, top, bottom) efl_ui_popup_position_set should be seperated from evas_object_move since evas_object_move can be called internally. Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5105
* efl_ui_popup: add bg_set and bg_repeat_events_set/get APIJinYong Park2017-11-274-9/+119
| | | | | | | | | | | | | | | | | | | | | | Summary: add bg_set and bg_repeat_events_set/get API bg_set enables user change popup's outside bg bg_repeat_events_set enables popup's outside bg repeat events Test Plan: 1. run elementary_test -to efluipopup 2. click outside area of popup 3. click button in popup Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, cedric, jpeg, singh.amitesh Reviewed By: Jaehyun_Cho Subscribers: jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D5054
* efl_ui_popup: add Efl.Ui.Popup classTaehyub Kim2017-11-277-0/+199
| | | | | | | | | | | | | | Summary: add initial code for Efl.Ui.Popup class Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, Blackmole, thiepha, woohyun, cedric Reviewed By: Jaehyun_Cho Subscribers: bu5hm4n, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5037
* efl_ui_bg: add Efl.Gfx.color_get.Sungtaek Hong2017-11-273-24/+43
| | | | | | | | | | | | | | | | | | Summary: since legacy elm_bg_color_set/get is changed to efl_gfx_color_set/get, efl_gfx_color_get also should get color of inner rect. @fix Test Plan: 1) run elementary test. 2) run Bg EO API(Efl.Ui.Bg) 3) set/unset "Bg color" check. 4) observe printed color values. Reviewers: jpeg, woohyun, cedric Differential Revision: https://phab.enlightenment.org/D5429
* elm: fix legacy codeMarcel Hollerbach2017-11-261-0/+9
| | | | | | | earlier elm_object_focused_object_get returned gengrid genlist toolbar objects if a item of them is focused. This should fix that. thank you @davemds for the report!
* ecore-wl2: Fix resource leakChris Michael2017-11-261-1/+7
| | | | | | | | | Coverity detected a resource leak here because we were not freeing the malloc'd 'obo' variable. Fixes Coverity CID1382907 Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elm_code: set the color scheme from the default edc.Al Poole2017-11-261-75/+57
| | | | | This allows us to override in the application also. Work from myself and @ajwillia.ms.
* ecore ipc/con: fix nasty ... they dont mutually excludeCarsten Haitzler (Rasterman)2017-11-262-2/+0
| | | | | | | | | | | by deleting the socket they wont mutually exclude at bind which means eny new server just nides the pror one and you can get lots of copies of the same server. this wasnt the case before. it shouldnt have been. i think ther was an rm path for stale sockets when connecting failed or something. anyway... this here was causing multilpe efreetd's and all sorts of nastiness. this is the root cause. so... fix it. @fix
* elm ifrace scrollable - fix uninitialized values on scroll asjustCarsten Haitzler (Rasterman)2017-11-241-3/+3
| | | | | | | dragable values were invalid (not fetched) so vx/y were junk and this was making decisions based on that. guarantee it to be 0. @fix
* efl ui slider - fix crashes with fmt callback data and class dataCarsten Haitzler (Rasterman)2017-11-241-3/+3
| | | | | | | the format free cb was passed the class data (sd) as the callback data but this was freed by the time _indi_default_format_free_cb was called causing an invalid access. fix this by looking it up from the obj which is probably invalid at this point...
* elua: correctly wrap gettext funcsDaniel Kolesa2017-11-242-21/+38
| | | | | | Now, we cannot directly register funcs defined by a different signature than the lua standard (int (*)(lua_State *)) so we have to correctly wrap those with proper conversions etc.
* elua - use safeptr with lightuserdata to work around luajit 64bit issueCarsten Haitzler (Rasterman)2017-11-242-14/+13
| | | | | | | luajit only supports 47bits on 64bit for lightuser data (bad! don't mess with opaque pointers... really unexpected and bad and probably should be fixed in luajit by doing things like on 32bit where pointers are not messed with etc.)
* eina safepointer - mimic 47 bit eoid patchCarsten Haitzler (Rasterman)2017-11-241-7/+20
| | | | same thing as b209b9a92286209281c12e81fd9dd72dc28c7495 but for safeptr
* eo - by default on 64bit only use 47 bits because of luajitCarsten Haitzler (Rasterman)2017-11-241-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | luajit wants to check the upper 17 bits of pointers and assume they are all 0 if on a 64bit architecture. it will panic and barf if they are used. we have been using them in our eoid's for a long time. my take on this is that this is unportable. assuming how many bits are or are not valid in an opaque pointer (void *) that is simply passed to you and you cannot dereference or use (no size information even for what amount of data it points to etc.), is just wrong. it's not portable and it's trying to be too smart and creating such issues. my take is that luajit needs a fix for this in the longer term. but for now let's have a 47 bit mode and go with that. it does mean i have to drop our generation counter to 10 bits on 64bit (from 27 bits) which increases likelihood of eoid re-use being falsely detected as valid (before on 64bit it was 1 in 130 million or so chance, with this 47 bit change it's 1 in 1000. but to be fair on 32bit it's 7 bits for gen count so 1 in 127 ... so still more than 10x "safer" than on 32bit... but still...). the relevant check in luajit is: (((uint64_t)(p) >> 47) ? (lj_err_msg(L, LJ_ERR_BADLU), NULL) : (p)) it ONLY does this on 64bit. on 32bit pointers are not checked for validity at all. as an aside, armv8.2 seemingly will bring 52bit addresses so luajit is going to fall over flat on a newer rev of armv8. it may be x86 also uses more bits. last i knew it was 48bits so the 47 bit check luajit does i think is even wrong for x86-64. to be detailed i read: amd64 arch == 48 bits (so luajit is wrong). even better In addition, the AMD specification requires that the most significant 16 bits of any virtual address, bits 48 through 63, must be copies of bit 47 (in a manner akin to sign extension). so if the upper bit of 48 is set THEN all the 16 upper bits must be 1... breaking luajit, even if it were 47bit and this rule applied. I read the architecture allows for up to 52bits of actual addresses so architecture-wise this is even wrong... So I smell a core bug here in luajit. Certainly in the number of bits it insists must be 0 (the upper 17 bits where on amd64/x86-64 it should be the upper 16 bits... and even then these may NOT be 0 if bit 47 (the upper bit of the lower 48 is 1).... so the whole check is invalid... :( at least the above is at a theoretical level. i believe that the addresses divide the 48 bits into 2 chunks (thus 47)... but at the PHYSICAL level with no mmu and virtual memory. arm64 has this: https://www.kernel.org/doc/Documentation/arm64/memory.txt note in all cases the 2nd chunk of memory has at leats some upper bits of physical addresses beign 1 ... which makes luajit invalid tyo use without virtual memory remapping these away from high bits. @fix
* mbe: Fix invalid part handlingJean-Philippe Andre2017-11-242-33/+12
| | | | | Only the text parts need special handling. Ping @CHAN :)
* win: Fix window background EO APIsJean-Philippe Andre2017-11-241-2/+0
| | | | Broken in a previous commit
* elm: add custom access state for Elm.HoverLukasz Stanislawski2017-11-242-0/+11
| | | | | | | | Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5523
* layout: Fix erroneous warnings (from earlier patch)Jean-Philippe Andre2017-11-241-4/+5
| | | | Oops. Bad check :)
* elm_part: Mark as auto-unref before finalizeJean-Philippe Andre2017-11-241-6/+10
| | | | | | This simplifies the IMPLEMENT macro, which can now be a proper function. Also, do not set a parent for the part object, as it's not useful and could mess up the refcount.
* eo: Make sure auto_unref only applies after finalizeJean-Philippe Andre2017-11-241-3/+3
| | | | | | It would be pretty stupid to create an object that dies before it even gets created. Auto-unref is for parts and should probably not be used anywhere else :)
* part bg: Fix up some unnecessary complexityJean-Philippe Andre2017-11-247-120/+76
| | | | | | | See previous commit :) Note: right now the background part has a small 3d indent which comes from the legacy theme being used. This will be fixed soon.
* efl_ui_layout: create efl_ui_bg when efl_part for background is called.Sungtaek Hong2017-11-2411-5/+411
| | | | | | | | Reviewers: woohyun, jpeg, cedric Subscribers: felipealmeida, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5151
* Efl.Ui.Format: add string format checking for user inputAmitesh Singh2017-11-241-0/+76
|
* widget: Add EINA_UNUSEDJean-Philippe Andre2017-11-241-1/+1
|