summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-25inwin: Fix inwin (default content set/get/unset)Jean-Philippe Andre
Thanks @JackDanielZ for the report! This makes efl_content_set/get/unset APIs work on the inwin, even though this is a legacy-only widget (at least right now).
2017-09-25layout: Remove default content implementationJean-Philippe Andre
Legacy API is supposed to resolve the default content part name before calling the EO API. Efl.Ui.Layout itself doesn't handle default content.
2017-09-25docs: eina_value: fix a typoJeeyong Um
2017-09-23elm_hover: do not register itselfMarcel Hollerbach
we are already registered as root in that manager
2017-09-23elm_widget: abort is probebly a bit too muchMarcel Hollerbach
2017-09-23ecore exe - add an "isolate io"f lag for sending io to /dev/nullCarsten Haitzler (Rasterman)
this is useful for security to disallow child processes access to stdio/err of the parent process. @feature
2017-09-22ecore: force initialization of Efl.Io.Closer.Fd.Cedric Bail
This will prevent closing magically fd 0 when the object is not initialized yet.
2017-09-22ecore_evas: skip deleted Ecore_Evas while searching for a general animator ↵Cedric Bail
source.
2017-09-22eolian cxx: rename generic_value to any_valueDaniel Kolesa
2017-09-22eolian: add tests for builtin queriesDaniel Kolesa
2017-09-22elua: bind new eolian type builtin APIDaniel Kolesa
2017-09-22eolian: add a way to query the builtin type of a typeDaniel Kolesa
2017-09-22eolian: add any_value_ptrDaniel Kolesa
Because pointer Eina_Values and value Eina_Values have slightly different semantics (when it comes to resource management) it's better to split them.
2017-09-22eolian: rename generic_value to any_valueDaniel Kolesa
2017-09-22eolian: remove leftover codeDaniel Kolesa
2017-09-22eolian: remove static_array and terminated_arrayDaniel Kolesa
These types are of questionable value and the API was not entirely thought out - remove for now, and if a legitimate use is found later, they may be readded (with a better API), but typically it seems best to redesign the bad APIs around safe containers...
2017-09-22eolian: merge REGULAR and COMPLEX typesDaniel Kolesa
2017-09-22eolian: add mstringDaniel Kolesa
This is a new type representing a mutable string (no const). Regular strings cannot be made mutable with @owned because they might be hidden behind typedefs.
2017-09-22eo: make more freefuncs implicitDaniel Kolesa
2017-09-22ecore-x: reject successive MappingNotify events if they are identicalMike Blumenkrantz
in some cases loading an xmodmap on enlightenment startup can trigger an infinite number of identical events which hard locks the xserver for a very, very long time @fix
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-09-22ecore: Avoid using newer check.h functions.Lauro Moura
Summary: The ptr_null/nonnull were added in the 0.11 version of libcheck. The required version in configure.ac is 0.9.10 (some distros still use this old one). Reviewers: felipealmeida, stefan_schmidt Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5220
2017-09-21elm_code: respect event hold for key_downAndy Williams
2017-09-21layout: Fix slider label using proper part typeJean-Philippe Andre
This relies on the new edje API that gives us the exact type of a part. This fixes the shortcomings of edje_edit_part_type_get() and returns a proper Text part type for efl_part(slider, "elm.units.max"). See previous commits: "edje: Add part_type_get API" "elm: Split off text and content for efl_part"
2017-09-21edje: Add part_type_get APIJean-Philippe Andre
For now I made this EO-only but this definitely could be expose in legacy API as well. This simply gives exact information about the type of part, after doing a recursive search. Edit Edit doesn't do a recursive search, only a direct one, which can yield invalid results (eg. RECT or NONE instead of TEXT in case of "elm.units.max" for a slider). @feature
2017-09-21hover: Fix hover parts usageJean-Philippe Andre
The string comparison was invalid for full part names. It worked with the aliases, by chance, not by design. This got broken by eee60abbcf but using full part names from the application side was already broken before that. @fix
2017-09-21elm: Remove eo.h header from MakefileJean-Philippe Andre
Fixes make distcheck
2017-09-21elm: Resolve part alias in legacy APIs onlyJean-Philippe Andre
This fixes make check.
2017-09-21elm: Remove range "span_size" API in EOJean-Philippe Andre
Reasons: - This API has been confused with the min size of the widget, resulting in badly laid out applications. - The EO API was not very nice (Range is about numbers, the Gfx size hint in a part is really ugly). While I understand the value of this API and how it can be used in scalable applications, it is in fact not absolutely necessary. Alternatively to that span size, the widget min size can already be defined from the application side, or the widget can simply be expanded to fill in its parent. This can obviously be reinstated later if the need arises for EO. For now, keep this feature as legacy-only.
2017-09-21elm: Split off text and content for efl_partJean-Philippe Andre
This is VERY tricky. For legacy, just create an internal class that has both. It's easier this way. For parts that are handled by Layout directly, we know from Edje which type to return. For EO objects we should know from the part name which kind of part we are dealing with: - text (overridden by the widget) - content (overridden by the widget) - special (new efl_part based functions) - generic (handled by Layout) Note: Efl.Ui.Slider was handling "span size" on ALL parts. That's bad... This is now limited to "span" only.
2017-09-21elm: Move base implementation for efl_part in widgetJean-Philippe Andre
This means that ALL part handles inherit from the base part class Efl.Ui.Widget.Part. Layout is the only exception where Efl.Part is specially overridden. This is a first step towards generic part APIs, including background in all widgets.
2017-09-20Ui text: add Efl.Ui.Text_Async objectDaniel Hirt
Adds "Efl.Ui.Text_Async" object. This new widget uses the "async_layout" functionality of the underlying Efl.Canvas.Text object. Currently, if "editable" mode is enabled, there is no asynchronous layout, as interactive operations (e.g. typing) should get processed immediately. Thus, only "non-editable" instructs the text object to do asynchronous layout. @feature
2017-09-20Canvas text async: add async layout functionalityDaniel Hirt
This adds the 'async_layout' method. The 'async layout' method is similar to 'size_formatted_get', but done outside of the mainloop. When a call is made to this method, a thread is created (after some preparation like updating the logical text items), and the visual layout is offloaded to that thread. The result is returned as Eina.Future. The mainloop is blocked for operations that manipulate the object, if a thread has already been created but hasn't complete its work. Consecutive calls for async layout for the same object are not handled simultaneously. Each time the threads has complete its work, the next (if exists) layout will be dispatched. @feature
2017-09-20evas-drm: Fix uninitialized variablesChris Michael
Small patch to fix Coverity reported issues of uninitialized variables Fixes CID1381306, CID1381305, CID1381304, CID1381303 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-20efl ui layout - handle content unset properly and remove the unset itemCarsten Haitzler (Rasterman)
the content unset in some cases - specifically terminology seems to put the item back in and doesnt remove it... causing it later to be deleted if unset to remove it and re-use it (which is rarely done). @fix
2017-09-20Ui text: add null checks for anchor updateDaniel Hirt
Add null checks in case item was not found. Also use one more emoticon to test the provider.
2017-09-20Edje: move selection-related part_text API to legacyDaniel Hirt
2017-09-20Edje: move IMF-related part_text API to legacyDaniel Hirt
2017-09-19ecore-evas-drm: Implement actual evas engine rotations in drmChris Michael
This patch implements handling of evas output rotation for the ecore_evas drm engine. ref T5999 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-19evas-drm: Support rotations other than 0Chris Michael
This patch adds support for software rotation in the evas drm engine. This is a fallback codepath in case hardware rotation is not supported for a given rotation amount. This patch also fixes a leak of and pending updates during output buffer free. ref T5999 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-19evas-drm: Override eng_output_resize functionChris Michael
This patch provides an override in the evas drm engine for the output resize function. We override this function so that we can reconfigure the output buffer. ref T5999 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-19ecore-drm2: Minor formatting fixChris Michael
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-19ecore-evas-drm: FormattingChris Michael
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-09-19elm: Fix invalid uses of Efl.OrientationJean-Philippe Andre
I think this closes the orientation vs. direction problem. RTL vs. AnyRTL is not fully handled yet but this becomes a widget-per-widget issue (eg. should a box in a RTL locale be mirrored if set to horizontal?). Fixes T5870
2017-09-19efl_ui_image: add new scale type: EFL_UI_IMAGE_SCALE_TYPE_TILESungtaek Hong
Summary: Tile is common type which can be used eg: background. This is added to scale type which can be set/get by efl_ui_image_scale_type_set/get() @feature Test Plan: Run elementary test Run Image Scale Type Check radio "Tile". Reviewers: jpeg, cedric, woohyun Differential Revision: https://phab.enlightenment.org/D5119
2017-09-19evas_object_main: fallback to other usage instead of returning NULLMarcel Hollerbach
Even if a object is on deleting or doesnt have a layer, it still can be found in a higher hirachy.
2017-09-19evas_events: add checking state of pointHosang Kim
Summary: When multi down or multi move occur, state of touch point changes to EVAS_TOUCH_POINT_STILL. So I add condition, "state == EVAS_TOUCH_POINT_STILL" Reviewers: jypark, woohyun, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5157
2017-09-19els_tooltip: Fix to use some functions before tooltip_test_set or ↵Jeonghyun Yun
tooltip_content_cb_set Summary: If user call tooltip_orient_set or tooltip_style_set or tooltip_window_mode_set before tooltip_test_set or tooltip_content_cb_set, those functions doesn't work. Because elm_tooltip will be created when tooltip_content_cb_set is called. I fixed logic to use some functions before tooltip_test_set or tooltip_content_cb_set. Test Plan: elementary_test -> Popups -> Tooltip Reviewers: jpeg, Jaehyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5183
2017-09-19animation2: fix compile instructionJean-Philippe Andre
Summary: without it, it was failing with following error /usr/bin/ld: /tmp/ccnjRcVr.o: undefined reference to symbol 'evas_object_move' //usr/lib64/libevas.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Test Plan: just try to compile it with and without. Reviewers: jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5182
2017-09-19evas_event: Fix missing case when check the event areajiin.moon
Summary: If the object is outside the parent geometry because of map, this object would be ignored in determining object is in the event area. Please refer to below case 1) There are some button in the box object 2) A button has map with 90 degree. It would be placed outside the box geometry 3) If you press the button part outside the box, the button event does not work. Test Plan: sample code Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D5180