summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-12evas: add an API to know where inside an object content can be layout over.Cedric BAIL
The first step with this API is to use the information provided when setting the border on an image to define the content area inside it. Improvement will be to use more flexible stretch region area to make it more customizable and finally read the information from a 9patch file (.9.png). Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9093
2019-07-12edje: Add support for map zoom to use other part center.Subodh Kumar
Summary: Current: In edc, zoom is supposed to happen from object center, there is no way to change the center of the zoom. Changes: Adding support to change the center of zooming just like map rotation by using other part's center. @feature Reviewers: cedric, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9115
2019-07-12elm_test: fix some range api misuse in spotlight testMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9286
2019-07-12efl_ui_spec_suite: this is not python2Marcel Hollerbach
i don't know why it was added like this.
2019-07-12cxx: remove compilation warnings in C++ code, from both gcc and clangVitor Sousa
Summary: Remove almost all the compilation warnings from C++ code. Only explicit warnings using the `#warning` preprocessor directive remain. Some warnings had to be suppressed with `#pragma` directives because the behavior they were warning about is intended in some specific places. Code comments were added in such situations. Added a generator that creates `#pragma` directives in order to suppress warnings in all generated C++ headers. Currently `-Wignored-qualifiers` is the only warning category being suppressed. The innocuous const qualifiers that it points are inoffensive and have no effect in compilation at all. They are also hard to track in generation since they can emerge from different types in many places. To ease the generation of the warning suppressors an utility constructor was added to `efl::eolian::grammar::attributes::unused_type`. Add constructors to `eolian_mono::class_context` to default initialize its internal string and avoid field initialization warnings. Test Plan: `meson test` Reviewers: lauromoura, felipealmeida, zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D9275
2019-07-12Evas Events: Decrement grab count on freeze stateGodly T.Alias
Summary: Decrement grab count of mouse event when mouse up happen during a freeze state. Currently as grab count is not reduced in this scenario, further touches gets ignored. Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in> Test Plan: (on scenario where proxy exists) mouse down -> freeze events -> mouse up -> unfreeze events Reviewers: cedric, raster, zmike, Hermet Reviewed By: zmike Subscribers: zmike, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9214
2019-07-12draw static lib: use sse3 instructions set even on WindowsVincent Torri
Summary: sse3 instructions set exists since 2003/2004. One can consider that computers with Windows have it, these days Note also that ector and evas also use sse3 instructions without the test disabling the Windows platform Test Plan: compilation Reviewers: zmike, raster, cedric, bu5hm4n Subscribers: bu5hm4n, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9284
2019-07-12Rename orientation -> image_orientation.Hosang Kim
Summary: Efl.Gfx.Image_Orientable and Efl.Ui.Layout_Orientable have same property name. So when class extends both interfaces, it makes conflict. Relates to T7924 Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9299
2019-07-12vector lottie: register node name as it's designed.Hermet Park
Caller could find/access a specific node with the name.
2019-07-11evas/render: clear smart render cache when re-adding smart parent in post-renderMike Blumenkrantz
given the following scenario: * object is added to smartobj * smartobj is otherwise unchanged * render occurs object will never render due to smartobj's render cache not including object by clearing this cache when reinserting smartobj into the render tree for a followup render, the object chain will be correctly processed on the next pass fix T7990 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9287
2019-07-11csharp: Enable conversion of container Eina.ValuesLauro Moura
Summary: When creating a new Value with any IEnumerable of a supported type, the IEnumerable will be copied into an Eina.Value of type EINA_VALUE_ARRAY_TYPE. Similarly, `Unwrap()` on a Eina.Value container will create a new System.Collections.List<T> and return it. Depends on D9272 Reviewers: felipealmeida, vitor.sousa, segfaultxavi Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl, #expertise_solutions Differential Revision: https://phab.enlightenment.org/D9273
2019-07-11csharp: Add helpers to get/set Values from ObjectsLauro Moura
Summary: The user can construct an `Eina.Value` from a plain C# `object`, using reflection to get the correct type of object and construct the correct underlying C value. Also added the `Unwrap()` method to return a C# object representing the wrapped value. Both operations are useful when using `Eina.Value` to Get/Set values from `PropertyInfo` targets as in ``` var v = new Eina.Value(propInfo.GetValue(sourceObj)); ... propInfo.SetValue(targetObj, v.Unwrap()); ``` Currently, containers are not supported. It will be added in a following commit. Depends on D9270 Reviewers: felipealmeida, vitor.sousa, segfaultxavi Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9272
2019-07-11csharp: Tag exported API items.Lauro Moura
Summary: Attributes to be used by the API export tool. For end users, no changes in the public API (except for a new attribute in generated classes). Also simplifies constructor forwarding by not needing to pass the type of the first "generated" class to compare. Currently only automatically generated items are tagged. Depends: D9259 Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9270
2019-07-11test: add Efl.Ui.Format related testShinwoo Kim
This patch is including negative test as well. See https://phab.enlightenment.org/D9276. This could make @bu5hm4n very happy. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9281
2019-07-11tests/elm: create abstract function for clicking swallowed part objectsMike Blumenkrantz
this handles all the part object getting and signal processing and geometry calculating so you can get to clickin those parts faster Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9269
2019-07-11tests/elm: break out click helper function for reuseMike Blumenkrantz
also fixes lifetime issue with spin parts Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9268
2019-07-11declare a few classes stableMarcel Hollerbach
this is the first wave of stablization declarations fixes T7562 fixes T7846 fixes T7848 fixes T7859 fixes T7860 fixes T7861 fixes T7863 fixes T7878 fixes T7899 fixes T7918 fixes T7919 fixes T7963 fixes T7964 fixes T7965 fixes T7967 fixes T7969 fixes T7970 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9264
2019-07-11efl_ui_list: fix warningsMarcel Hollerbach
Summary: nothing to see here, move on! Reviewers: zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9283
2019-07-11csharp: Skip beta interfaces from the list of interfaces.Lauro Moura
Summary: Interfaces were declaring Beta parent interfaces instead of skipping them. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9282
2019-07-11efl_ui_text: avoid infinite loop when long pressingWooHyun Jung
Long pressing on efl_ui_text gave inifinte loop. So, I removed event_call in the event callback function. I think long press functionality is almost broken after applying clickable_util. There is no way to remove long press timer based on the action on efl_ui_text. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9274
2019-07-11efl_ui_item: remove internal pointer to select_modeMarcel Hollerbach
there was this internal pointer to select_mode for getting the selection mode of the container. However, we now have API for checking this, so there is exactly 0 reason for doing this like this. Additionally, with the old way of doing, bildings like C# or lua are just lost, they cannot use this class at all in there implementations, as they cannot access the privat data. ref T905 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9263
2019-07-11efl_ui_item: rework parent relationMarcel Hollerbach
this commit ensures that there is a public way of setting the container to a item. This was also like this before, just with the difference that it was set and unset in all privacy, however, we want to have this class also ready for bindings, so we should stop making things privat like this. Note: the removed fields from grid and list have not been used. ref T7905 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9262
2019-07-11ELM_CODE: Fix for theming of widget.Alastair Poole
Change inhertitence for object so we can use themes with elm_code. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9279
2019-07-11Efl.Ui.Format: fix regressionsShinwoo Kim
(1) Following commit did not care of efl_ui_format_string_get(set) of elm_slider_part_indicator_eo.c e776f5f Efl.Ui.Format revamp Even though you call elm_slider_indicator_format_set with "%1.0f", elm_slider_indicator_format_get returns NULL. (2) The commit does not initialize format variables - elm_slider_indicator_format_get - elm_slider_unit_format_get - elm_progressbar_unit_format_get Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9276
2019-07-11csharp: Respect beta for implementable functionsLauro Moura
Summary: Build fix (remove warnings) Instead of returning the beta functions in the vector and relying on function generators to skip them, filter them out when filling the implementable methods vector. This will make the code return the actual number of implementable function, skipping some unused fields in places like the NativeMethods implementations. Depends on D9258 Reviewers: vitor.sousa, felipealmeida, segfaultxavi Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl, #expertise_solutions Differential Revision: https://phab.enlightenment.org/D9259
2019-07-11csharp: Fix build and doc generation re beta stuffLauro Moura
Summary: When skipping beta items, make sure generated documentation does not try to refer to beta stuff using `see` tags. Doing so would lead to warnings when generating the xml doc file and as we now treat warnings as errors, compilation would fail. Instead of `see` tags, use a simple `span` with a suffix text explaining said item is beta. Reviewers: vitor.sousa, felipealmeida, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl, #expertise_solutions Differential Revision: https://phab.enlightenment.org/D9258
2019-07-11vector json: replace the data type properly.Hermet Park
2019-07-11efl_ui_*: fix regressions on legacy sideShinwoo Kim
elm_progressbar_value_set with value bigger than max (or less than min) set to max value instead of the bigger value. Following commit broke this behavior. 5efb4b3 efl_ui_*: get range users onto the same semantics Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9277
2019-07-10ecore: phab didn't get this bit from D8570.Cedric BAIL
2019-07-10edje: check for user_defined hash existence before removing membersMike Blumenkrantz
Differential Revision: https://phab.enlightenment.org/D9267
2019-07-10efl: use eina_streq for all property operation in model to avoid crash on ↵Cedric BAIL
NULL property name. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9266
2019-07-10ecore: improve usability of Efl.Select_Model to provide helpers in ↵Cedric BAIL
manipulating selection information. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8570
2019-07-10edje: fix some small leaks when failing to reapply user-defined dataMike Blumenkrantz
Summary: this only occurs when the same text parts don't exist in the new layout, which is an extremely unlikely scenario Depends on D9210 Reviewers: cedric, bu5hm4n Reviewed By: cedric, bu5hm4n Subscribers: bu5hm4n, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9211
2019-07-10edje: improve user-defined data caching to handle data before file is setMike Blumenkrantz
Summary: this adds explicit handling for things like: efl_add(SOMECLASS, parent, efl_text_set(efl_added, "my text") ); on edje-inheriting objects. note that it's still impossible to do something like efl_add(SOMECLASS, parent, efl_text_set(efl_part(efl_added, "somepart"), "my text") ); also add a unit test to verify common behaviors @feature Depends on D9209 Reviewers: cedric Reviewed By: cedric Subscribers: bu5hm4n, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9210
2019-07-10edje: fix reapplying markup text on file/group changeMike Blumenkrantz
Summary: this was being stored as regular text when it was actually markup @fix Depends on D9208 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9209
2019-07-10edje: change 'user_defined' member of Edje struct to be a hashMike Blumenkrantz
Summary: this is where all user-added data (e.g., swallowed objects, table/box packs, text strings) are stored. with this patch, it is now a hash by part name, storing a list of user-defined data for that part this simplifies a bit of code by deconstructing some list walks, and should end up being slightly faster for large edje objects with lots of user-defined data ideally no functional changes Depends on D9206 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9208
2019-07-10eina/hash: add direct variants of list append/prepend functionsMike Blumenkrantz
Summary: this simplifies the process of manipulating lists inside hashes with a non-copied key @feature Depends on D9205 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9206
2019-07-10edje: remove _edje_user_definition_fetch()Mike Blumenkrantz
Summary: this is an internal function which is never used Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9205
2019-07-10efl/selection_manager: remove correct conditionalMike Blumenkrantz
ref ac26c0a69d0b4fc4b8e3517e23fe6b5c3b77a555 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9265
2019-07-10tests/elm: fail tests if unexpected warnings or errors occurMike Blumenkrantz
Summary: warnings and errors should never occur in unit tests unless they are intentionally triggered. this will help catch regressions Depends on D9256 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9257
2019-07-10ecore: also error when trying to add an event handler for a type 0 eventMike Blumenkrantz
Summary: this is not a valid event type to add a handler for, it indicates an uninitialized event which means the component is not active and everything will break @fix Depends on D9255 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9256
2019-07-10ecore: throw an error when trying to register a handler for a nonexistent ↵Mike Blumenkrantz
event type Summary: this should not be a silent return since event handlers are depended upon so heavily Depends on D9254 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9255
2019-07-10events: don't check for zeroed event types before registering themMike Blumenkrantz
Summary: this handles the case of reinitializing a component, but it's totally broken in the case of doing a full ecore restart Depends on D9253 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9254
2019-07-10efl/selection_manager: only create wl event handlers if using wl connectionMike Blumenkrantz
Summary: this codepath is broken if the wl server connection does not exist Depends on D9252 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9253
2019-07-10elm/player: remove slider range setting from constructorMike Blumenkrantz
Summary: this was setting an invalid 0<->0 range, which is a misuse of api Depends on D9251 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9252
2019-07-10tests/elm: use helper functions for managing naviframe unit test abort-on-errorMike Blumenkrantz
Summary: also bump up to abort on warnings Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9251
2019-07-10canvas event: remove unnecessary condition check.Hermet Park
This condition is duplicated in the function, it's unnecessary.
2019-07-10ecore_imf: deprecate ambigous or unused APIsJihoon Kim
ecore_imf_context_show ecore_imf_context_hide ecore_imf_context_control_panel_show ecore_imf_context_control_panel_hide ecore_imf_context_preedit_start_event_add ecore_imf_context_preedit_end_event_add ecore_imf_context_preedit_changed_event_add ecore_imf_context_commit_event_add ecore_imf_context_delete_surrounding_event_add Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-07-10efl_ui_textpath: adjust angle only for circle text.Hermet Park
2019-07-10efl_ui_textpath: code refactoring.Hermet Park
less symbol calls, no logic changes.