AgeCommit message (Collapse)Author
2017-10-25genlist: Fix "insane" order [BUG COMPATIBILITY]devs/jpeg/genlist_crazyJean-Philippe Andre
This patch implements bug compatibility. genlist internally uses both a tree structure with Eina_List and a flat Eina_Inlist to track its items. ALL of the items are in the inlist while subitems appear in their parent's list. As a consequence both lists must be kept in sync pretty tightly. Obviously this is not done at all and has led to countless bugs, as soon as tree or groups are used: - Invalid order of items (visually) - Invalid order of items with sorted_insert - Glitches in the matrix - Crashes with sorted_insert - Odd/even styles not properly set - Promote/demote functions broken by design - Developers send to psychiatric hospitals - Etc... Legacy genlist (1.19 and before) used an inlist order that basically didn't make sense, as it didn't follow the logical order of elements (as they appear visually). Unfortunately this has "worked" (really, that's a huge stretch to use this word here) for a long time this way. As a consequence, some applications (*cough* empc *cough*) have relied on this order to implement "next album" or "previous album" where the album title is a group node. By changing the order of items in the inlist, this has broken the assumptions made above, and ends up in cases that return NULL, leading to SEGV. Sure, the app should have checked NULL, but that's not really the point here. The behavior has been changed. This patch implements "fixes" for the following functions: - elm_genlist_first_item_get(): Don't return a parent - elm_genlist_last_item_get(): Return a parent Important notes: - This does not cover 100% behavior compatibility here. The only way to have it would be to simply revert the entire genlist code to its original version and never touch it again, ever. - An explicit API is required for an application to specify which API level it targets, so that we can cherry-pick which bug compatibility features we want to enable. We are already doing this for EDC, unfortunately. @fix
2017-10-25genlist: Simplify some logicJean-Philippe Andre
Item prev/next/first/last. If true, break, else, break. EO_OBJ(x) is safe on NULL. Add a simple macro to simplify inlist handling. Overall simplify the code.
2017-10-25eina_matrix: Fix doxygen warningsJaehyun Cho
Change-Id: I7e697bae24170422d6253f91ce089d9485bd0e64
2017-10-25elm_box: only allow focus to widgets of a boxMarcel Hollerbach
all other should not get focus
2017-10-25elm_multibuttonentry: it cannot handle focus itselfMarcel Hollerbach
the box in it is, so no need for can_focus == true. This fixes the basic usage, however the order is sometimes a bit screwed. Commits will follow.
2017-10-25elm_main: make sure we dont go deeper than the widget top levelMarcel Hollerbach
2017-10-25elm_multibuttonentry: do not eat all the eventsMarcel Hollerbach
I have no idea why it was doing that, but that ends up eating all the events, not propagating them up to the parent ... If someone has a idea why it was like that, feel free to notify.
2017-10-25evas/vg: Added align, viewbox and fill_mode property to the vg canvassubhransu mohanty
Summary: viewbox, fill_mode and align property required to scale the vg tree that we get from the svg file or manually created depending on the vg canvas size. Reviewers: jpeg, cedric Subscribers: jenkins, cedric Differential Revision:
2017-10-25eolian: enable duplicate validation but only warn for nowDaniel Kolesa
Use the EOLIAN_WARN_FUNC_DUPLICATES environment variable to enable those warnings.
2017-10-25eina_log: add parameter description on "eina_log_level_check"'s annotationJinYong Park
Summary: In eina_log_level_check's annotation, parameter description is missing, so warning is occurred on doxygen Test Plan: API Doxygen Revision Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho Differential Revision:
2017-10-25eina_file: fix space location in annotationJinYong Park
Summary: Space character is located in wrong position, so it occur doxygen warning Test Plan: API Doxygen Revision Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho Differential Revision:
2017-10-25efl_ui_calendar: create new efl_ui_calendarWooHyun Jung
Summary: This calendar widget will support basic functionality of calendar. I've separated this widget from elm_calendar since elm_calendar had lots of unuseful things inside. Reviewers: jpeg, singh.amitesh, cedric, CHAN, Jaehyun_Cho Subscribers: cedric, jpeg Differential Revision:
2017-10-25calendar: Remove unused codeJean-Philippe Andre
2017-10-25efl_ui_clock: changed property name from value to timeWooHyun Jung
2017-10-25Efl.Ui.Slider: call format_free_cb() when object destroysAmitesh Singh
fix mistake done in previous patch 8661fe234c7e68b
2017-10-25Efl.Ui.Slider: implement format_cb for unitsAmitesh Singh
Ref T6204
2017-10-25efl_animation: Remove duration_only_set and total_duration_set methodsJaehyun Cho
Remove unnecessary methods, duration_only_set and total_duration_set.
2017-10-24Evil: really drop Windows XP supportVincent Torri
Summary: set WINVER macro to at least Vista macro value Test Plan: compilation Reviewers: cedric Subscribers: jpeg Differential Revision:
2017-10-24eolian: only check for validation where really necessaryDaniel Kolesa
2017-10-24eolian: check for inheritance tree function conflictsDaniel Kolesa
Now a class cannot define a method/property of some name if there already is something of the same name within the inheritance tree.
2017-10-24eolian: validate classes in a recursive mannerDaniel Kolesa
This allows for proper order of validation which will improve our performance when also validating for name duplicates.
2017-10-24eolian: keep track of which objects are validatedDaniel Kolesa
2017-10-24elm_widget: also delay focus set if something is not registeredMarcel Hollerbach
this fixes a infinite loop
2017-10-24efl_ui_focus_manager: reset when a redirect is unsetMarcel Hollerbach
this keeps the history clear
2017-10-24eolian: initial parsing for parts in eo filesDaniel Kolesa
2017-10-24examples: eina strbuf - fix the exampleAmitesh Singh
2017-10-24elm: rename elm_multibuttonentry to Efl.Ui.MultibuttonentryWoochan Lee
Summary: @ref T5358 Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Jaehyun, bu5hm4n, cedric, jpeg Maniphest Tasks: T5358 Differential Revision: JP's note: MBE currently has quite a few issues, probably related to focus handling. This needs to be fixed.
2017-10-24evas: Fix oopsie in previous patch (evas vg)Jean-Philippe Andre
Ref 880dd63a0c884642a0f87aa3a08338a7b244e37a
2017-10-24doc: add missing parameters and fix references for some elm widgetsThiep Ha
2017-10-24doc: enable elementary_examples buildingThiep Ha
The elementary examples were built before, but not now. I guess it was missed when we merged elementary to efl source tree. This enables it and fixes some references.
2017-10-24example: improve location example, fix crashPrince Kumar Dubey
Summary: Printing Address detail with Position. Label added to show the detail of address. Test Plan: Compiled with cmd: gcc -o location_example_01 \ location_example_01.c -g `pkg-config --cflags --libs elementary \ elocation` Reviewers: raster, cedric Subscribers: rajeshps, jpeg Differential Revision:
2017-10-24evas/vg: renamed the evas_vg class to efl_canvas_vgsubhransu mohanty
Reviewers: jpeg Subscribers: jenkins, cedric Differential Revision:
2017-10-24elm: Use auto_unref for partsJean-Philippe Andre
This avoids leaks.
2017-10-24widget: Rename events to EFL_UI_WIDGET_EVENT_XXXJean-Philippe Andre
This only affects the events (and the data type has an alias). Ref T5363
2017-10-24widget: Rename EO APIs to efl_ui_widget_xxxJean-Philippe Andre
This only changes the eo_prefix for APIs. Ref T5363
2017-10-24elm: add prefixes to Efl.Access.Action to avoid clashesLukasz Stanislawski
Summary: Prefix methods/properties of Efl.Access.Action mixin to avoid potential clashes in genrated bindings. This is first of series of patches removing potential name clashes in accessibility interfaces. Reviewers: jpeg Subscribers: cedric Differential Revision:
2017-10-24nstate: Remove some legacy codeJean-Philippe Andre
This uses constructor/destructor instead of group_add/group_del. Note: finalize can't be used for theme loading as any action done inside efl_add(...) would be lost (eg. part text set).
2017-10-23evas: add set function for root_node property.subhransu mohanty
Summary: Currently user ask for the root_node from the evas_vg object and then attach its tree by setting the root node as parent. With this change this process will be explicit. user has to set the root node to the evas_vg object and the object will take the ownership of the tree. User can query the current vg_tree by root_node_get api. Test Plan: Fixed the test app to reflects this change. Reviewers: jpeg, cedric Reviewed By: jpeg, cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric Bail <>
2017-10-23efl_animation: Remove unnecessary macroJaehyun Cho
2017-10-23edje: add missing documentation.Bowon Ryu
Summary: This adds missing doxgen documentation for Edje_Common.h Test Plan: API Doxygen Revision Reviewers: cedric, jpeg, myoungwoon Differential Revision:
2017-10-23eet: add missing documentation.Bowon Ryu
Summary: This adds missing doxgen documentation for eet. Test Plan: API Doxygen Revision Reviewers: cedric, jpeg, myoungwoon Differential Revision:
2017-10-22Fix building on windowsAndy Williams
@author vtorri
2017-10-22ecore_wl2: Remove just the flush from the idle handlerDerek Foreman
Flushing should be done where it's needed now, but we still need the rest of the idle handler as something like mesa may have dispatched its queue, which reads all the pending wayland events. In that case we have events to process but the fd will not poll readable. @fix T6250
2017-10-22Revert "ecore_wl2: Kill the wl idle enterer"Derek Foreman
This reverts commit 57d5b5921e8a4a05f4a1b468f1cfed74d28b95f9. We need the dispatch, not the flush...
2017-10-21Docs location movedAndy Williams
2017-10-21elm_code_widget: make sure the widget is cleared properly.Al Poole
This ensures the widget is clearer if the file has been cleared. @fix T6185
2017-10-20elm_gengrid: add pseudo widget into the item if there are no focusableMarcel Hollerbach
2017-10-20efl_ui_focus_manager: new apiMarcel Hollerbach
Can be used to fetch a focusable widget that has child as parent.
2017-10-20docs: move write_include out of the writer backendDaniel Kolesa
This is a large chunk shared between backends.
2017-10-20docs: prepare for markdown gendoc backendDaniel Kolesa