summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* elm: rename elm_multibuttonentry to Efl.Ui.Multibuttonentrydevs/jaehyun/mbeWoochan Lee2017-09-1514-162/+379
| | | | | | | | | | | | | | Summary: @ref T5358 Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Jaehyun, bu5hm4n, cedric, jpeg Maniphest Tasks: T5358 Differential Revision: https://phab.enlightenment.org/D5169
* elm - focus manager - revert free listCarsten Haitzler (Rasterman)2017-08-313-3/+0
| | | | | | revert 65d2dfc8925a183bf7f2709677d87edcd759e9c3 no no. this fixes the leak ... but it adds new segv bugs. revrt it.
* naviframe: Fix to load default style if the given style does not existJaehyun Cho2017-08-311-1/+9
| | | | | | | Naviframe item theme name is combined with item style name and widget style name. Therefore, if the item theme name is not found, then "item/basic" item style name should be loaded as a default item style name.
* elm focus manager - dont leak child lists when updating focus orderCarsten Haitzler (Rasterman)2017-08-313-0/+3
| | | | | | this should fix T5800 @fix
* efl_ui_clock: Add 'O' character to ignore POSIX alternative format in format.Woochan Lee2017-08-311-1/+2
| | | | | | | | | | | | | | | | | | | | Summary: _parse_format() function filtering "_/-/0/^/*" to filter POSIX alternatvie/extension formats, But the Datetime do not appear in some locale(fa_IR, lzh_TW, my_MM, or_IN) with 'O'. + improve code. (not compare with all of the characters. instead of that using strchr) https://lh.2xlibre.net/values/d_t_fmt/ @fix Test Plan: Set locale as fa_IR and create DateTime. and see fields, not appears. Reviewers: jpeg, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5020
* mbe: Fix infinite recursion on focus changeJean-Philippe Andre2017-08-312-1/+7
| | | | Ref D4882
* multibuttonentry: Separate selected item and focused item logic.Woochan Lee2017-08-312-5/+15
| | | | | | | | | | | | | | | | | | Summary: When user set a selected item on MBE creation time. The internal logic will be broke. So we need to separate logic them. @fix Test Plan: Calling elm_multibuttonentry_item_selected_set() before MBE got a focus. in elementary_test. Reviewers: cedric, jpeg, woohyun Subscribers: bu5hm4n, marcelhollerbach, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4882
* widget: Fix legacy for focus_mouse_up_handle (EO)Jean-Philippe Andre2017-08-314-19/+12
| | | | | | | | | This removes the special code in the legacy API for elm_widget_focus_mouse_up_handle. Add an internal helper to find the first widget parent. And mark as protected. Apparently this functions is still required for the new focus manager. Ref T5363
* widget: Mark old focus API as beta.Jean-Philippe Andre2017-08-3148-209/+160
| | | | | | | | | | It's not beta. It's about to die. Also, move #define ELM_WIDGET_BETA to the common header file, as it is consequently required by ALL widgets. :( Ping @bu5hm4n :) Ref T5363
* Luncher Theme: Set no border for alpha. This needs to be backported.Stephen 'Okra' Houston2017-08-301-5/+3
|
* efl_ui_focus_manager_calc: only focus none NULL candidatesMarcel Hollerbach2017-08-301-1/+2
|
* efl_ui_focus_manager: make logical_end work betterMarcel Hollerbach2017-08-304-12/+29
| | | | | | | | | | | | | | it turns out that we should also repsect logical elements that are having a redirect_manager, since they are more at the "end" then a potential regular node. The user now needs to handle the logical_end call on this manager, or handle at all what he wants to do with this information. efl_ui_win now handles it in the way that it just focuses that logical node, (which results in the redirect manager beeing set, then calling again logical_end on that manager. Repeating this until we have finally found a regular node that does fit out needs.
* ecore_wl2: Kill the wl idle entererDerek Foreman2017-08-302-42/+0
| | | | | | | | We do flushes when we need them now, so we don't need this somewhat non deterministic flush mechanism anymore. Anything that breaks as a result of this should be fixable by adding an ecore_wl2_display_flush() somewhere appropriate.
* ecore_wl2: Use ecore_wl2_window_commit for all wl_surface_commitsDerek Foreman2017-08-302-3/+5
| | | | This adds an explicit flush to every surface commit.
* ecore-wl2: FormattingChris Michael2017-08-301-2/+2
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* wayland: Force a display flush when committing surfacesDerek Foreman2017-08-302-1/+6
| | | | | | | | | | | | | | | | | We had a hack in place to flush the display from an idle enterer instead of after a surface commit. This led to a problem where the idle enterer dispatch order was: renderer for main canvas wayland dispatch idle enterer renderer for mouse cursor canvas The surface commit for the mouse cursor was never dispatched, so the mouse cursor animation would only update at the rate other events occurred. By flushing at the appropriate times instead we ensure a proper update. ref T5850
* ecore_wl2: Add ecore_wl2_display_flush() apiDerek Foreman2017-08-302-0/+33
| | | | | Allowing engines to explicitly flush at the right times will remove some awkwardness and bugs from our current display flush paradigm
* wayland: Store Ecore_Wl2_Display instead of wl_display in enginesDerek Foreman2017-08-306-13/+14
| | | | | We'll need to call ecore_wl2 functions on it soon, and anything that really needs the wl_display can query it.
* walyand_shm: Remove unused variableDerek Foreman2017-08-301-2/+0
| | | | Nothing in here actually cares about the wl_display anymore.
* ecore_wl2: Fix small bug in flush handlerDerek Foreman2017-08-301-1/+1
| | | | | | | | If wl_display_flush() returns a non negative number it was successful, so we should disable the write handler then. We were theoretically always doing an extra flush on an empty buffer. This is mostly cosmetic as that's not a costly operation.
* ecore_drm2: Fix warning with a dirty hackDerek Foreman2017-08-303-3/+3
| | | | | | | | | | | So because we include wayland-server.h we're told that wl_buffer is deprecated - however clients are still expected to use it, it's only deprecated for usage in a compositor. Making these into void pointers shuts up the warning. We need to include wayland-server.h since some of the code provided by ecore_wl2 is for compositors, but some of it is also for clients...
* evas font: do floating point division for calculating more accuratelyYoungbok Shin2017-08-301-2/+2
| | | | | | | | | | | | | | | | | | Summary: Assigning a result of integral division to a double type variable is not useful for next division calculation. For more accurate calculation, it needs to be casted to double before doing division. It does not fix some bugs. It was reported by a code quality advisor. Test Plan: N/A Reviewers: raster, cedric, jpeg, herdsman, eunue Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D5069 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elua: load regular file if bytecode cache failsDaniel Kolesa2017-08-301-4/+34
| | | | | | | | | | | If bytecode is requested and fails to load, load original file instead. Force re-write of bytecode if that succeeds. This is useful if there is bytecode newer than the source file that the current Lua version can't load, for example when migrating from LuaJIT 2.0 to 2.1, which changed bytecode format. Fixes confusing cases such as in T2728.
* elua: update eolian bindings and make docgen work againDaniel Kolesa2017-08-303-12/+68
|
* eolian: remove c_onlyDaniel Kolesa2017-08-3011-70/+13
| | | | Unused and of questionable value.
* evas: we always do use the common backend, so always init.Cedric Bail2017-08-303-13/+4
|
* efl_ui_focus_manager: reset focus stack once we are changing redirectMarcel Hollerbach2017-08-303-7/+49
| | | | ref T5923
* eolian: @extern for function pointersDaniel Kolesa2017-08-301-9/+12
|
* eolian: clean up and fix function pointer generationDaniel Kolesa2017-08-304-27/+13
| | | | Out/inout params are now correctly handled.
* efl interfaces: fix incorrect enum valDaniel Kolesa2017-08-302-2/+2
|
* eolian gen: clean up param genDaniel Kolesa2017-08-301-80/+54
|
* eolian: remove unused variableDaniel Kolesa2017-08-301-5/+4
|
* ecore-wl2: FormattingChris Michael2017-08-301-23/+36
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* widget: Simplify & document "translate"Jean-Philippe Andre2017-08-3015-54/+22
| | | | | | | | | | | This is a protected function. It doesn't need to return anything, as all implementation just returned true, always. Also, the legacy API was just a wrapper doing nothing special (except verify that we have a widget, which the recursive code already does). Tested with fr_FR :) Ref T5363
* widget: Remove part_text from EOJean-Philippe Andre2017-08-308-32/+41
| | | | | | | | | | | | | | | | | | | It should be implemented as a efl_part() API. For now I've only done a quick hack, as the only overrides were: - notify: already a Part implementation. Also it turns out the default theme does not even have any text part in the notify group. - combobox: not a Part implementation, but also very badly defined wrt. parts in general. efl_part() is handled by the parent class (button) which makes it tricky to override just for one function. With this patch I'm trying to keep the same behaviour as earlier (where efl_part() is used for layouts and there is a special path for combobox). Ref T5363
* widget: Mark some functions as protectedJean-Philippe Andre2017-08-301-17/+21
| | | | | | | | | | | | I believe all of those APIs are in fact meant for widgets to use themselves: - on_focus - on_show_region_hook - focus_region - focus_register - focus_manager_factory Ref T5363
* widget: Move item_loop_enabled to scrollable (EO)Jean-Philippe Andre2017-08-3012-30/+36
| | | | | | | | | | I was told that the scrollable interface is being redesigned for EO. This API definitely does not belong to the base Widget class, as it's quite specific to item-based scrollable widgets, such as lists and grids. Since Elm.Interface_Scrollable is itself being revamped, it is a good place to move that EO API for now. Ref T5363
* widget: Use rectangle in show_regionJean-Philippe Andre2017-08-307-70/+65
| | | | | | | Also make it a property. It's asymmetric because of the force show argument, but the get is much cleaner. Ref T5363
* eina: Add convenience eina_rectangle_equalJean-Philippe Andre2017-08-302-0/+21
| | | | @feature
* widget: Remove scroll_lock from EOJean-Philippe Andre2017-08-305-65/+65
| | | | | | | | | | | | | | | | 1. Uniformize the API, which is now for internal use: This uses the same enum as scroller "movement_block" instead of 2 separate properties. Less APIs, more consistence. 2. Remove scroll_lock x/y from EO widget. I was told it is not going to exist in the upcoming scrollable interface. 3. Remove scroll hold/freeze getters. scroll hold/freeze push/pop are still there but it remains to be seen how the EO scrollable interface will exploit them. Right now they are full of bugs. Ref T5363
* scroll: Rename elm enum to efl.uiJean-Philippe Andre2017-08-307-64/+89
| | | | | | This scroll block enum should also be used in widget itself. Ref T5363
* widget: Rename drag_lock to scroll_lock (EO)Jean-Philippe Andre2017-08-305-57/+55
| | | | | | | | | | This also includes the drag_child_lock APIs. This had nothing to do with dragging beyond maybe the case where scrolling is done by thumbscroll (ie. finger drag). Note that the EAPI were called already scroll_lock, not drag_lock. Ref T5363
* widget: Remove drag_child_locked APIs (EO)Jean-Philippe Andre2017-08-302-16/+8
| | | | | | | These are just internal helper functions for the scrollable mixin. I don't think they need to appear in the external API. Ref T5363
* widget: Use rectangle on the stack for region_showJean-Philippe Andre2017-08-308-61/+67
| | | | | | | Follow @k-s recommendation and simply use rectangles on the stack rather than by pointer. Ref T5363
* docs: remove outdated NOTES files with random notes about evas_vgStefan Schmidt2017-08-301-31/+0
| | | | | | | | | | I have to say I am buffled that this file made it into the tree. The naming is very generic (similar to NEWS; README, etc) but it only contains some random notes about evas_vg. It has not been updated since its initial commit in 2015 either. Cedric, if you want to have these notes somewhere put them into src/lib/evas, or better make it a real doc and put it into the wiki.
* eina mmap safety - only map zeropages if it's an eina file that sigbusesCarsten Haitzler (Rasterman)2017-08-303-26/+34
| | | | | | | | | | | | restrict mapping /dev/zero to only eina files having a sigbus reported. the mmap was before all our file access used eina_file i think thus the raw mmap of it. now walk all eina files and find the candidate and only then if it exists flag is as having a faulty i/o backing and map the zerto pages then return, otherwise call abort. more restricted mapping and perhaps a fix for not trapping non-efl issues. @fix
* eina file - use recursive locks for cache and file to avoid deadlockCarsten Haitzler (Rasterman)2017-08-301-2/+2
| | | | | | | | | | | | since we have a sigbusd handler that flags an eina file with io errors it has to walk the file cache and every file... taking locks. if those locks were taking already in the current thread the sighandler was called in... we'd deadlock. since this basicallly never happens (when do we see i/o errors really? not much)... we never saw this as it'd also reauire this race condition to happen too. but it is a problem waiting to happen. this fixes that by moving to recrusive locks. @fix
* emotion: gst: use proper GStreamer time-unit macrosReynaldo H. Verdejo Pinochet2017-08-291-4/+10
| | | | | | | | | | | | | | Summary: Do not harcode numbers that make no immediate sense. Additionally: add some wont-hurt doc note and fix two related typos. Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5145 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* emotion: gst: drop Frenglish from English messagesReynaldo H. Verdejo Pinochet2017-08-291-3/+3
| | | | | | | | Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5144 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ector: cleanup grammar in commentsBryce Harrington2017-08-296-27/+27
| | | | | | | | | | Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5132 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>