summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* save workdevs/herdsman/next2Daniel Hirt2017-09-2715-23/+111
|
* Edje text: return markup only in legacyDaniel Hirt2017-09-273-6/+38
| | | | Should use efl_text_markup_get for non-legacy usage (i.e. efl_part).
* Ui text: add test for Efl.Text.Markup_Util usageDaniel Hirt2017-09-261-1/+22
|
* Efl text: add Efl.Text.Markup_Util classDaniel Hirt2017-09-264-0/+569
|
* Ui text: add test for markupDaniel Hirt2017-09-261-0/+7
|
* Canvas text: implement most markup functionalityDaniel Hirt2017-09-263-24/+65
|
* Efl text: add Efl.Text.Markup interfaceDaniel Hirt2017-09-264-0/+34
|
* evas textblock: use main font's ascent/descent as minimum valueYoungbok Shin2017-09-261-6/+9
| | | | | | | | | | | | | | Summary: The patch will adjust ascent/descent with considering main font's ascent/descent as minimum value. Actually, this patch re-apply D5217 with resolving linegap issue on the _layout_format_ascent_descent_adjust() function. @fix Test Plan: Put a text which will load smaller font. And put a text which will load primary font. Reviewers: raster, cedric, herdsman, jpeg Differential Revision: https://phab.enlightenment.org/D5227
* win: Remove invalid callbacksJean-Philippe Andre2017-09-261-2/+0
| | | | | | | | | | Faulty commit (guess who?): 596dba5fe5fa8b4101f50bbed66c29c791a2572f See also d567faa7787afb3d478f1c857cb28ab4fa0e5fc3 Finally make check works again. That was... a painful lot of patches to fix.
* Revert "Fix infinite recursion for legacy + efl ui win events"Jean-Philippe Andre2017-09-261-15/+7
| | | | | | This reverts commit d567faa7787afb3d478f1c857cb28ab4fa0e5fc3. This is not trying to fix the root cause for the infinite loop.
* elm: Fix shutdown of atspi (unregister handlers)Jean-Philippe Andre2017-09-261-0/+5
| | | | @fix
* ecore: Reset do_quit when ecore shuts downJean-Philippe Andre2017-09-261-0/+1
| | | | | | | | | | | | After ecore_shutdown the main loop is dead, so the flag do_quit can be safely reset to 0. This will fix issues with cycles of elm_init/shutdown. This fixes: CK_FORK=no tests/elementary/elm_suite elm_win This patch relies on a few of the previous patches which ensure that ecore is well shut down. @fix
* elm: Delete atspi root object on shutdownJean-Philippe Andre2017-09-263-0/+9
| | | | | | Ugly implementation but this will do. @fix
* eo: Fix crashes with call cache after init cycleJean-Philippe Andre2017-09-262-0/+2
| | | | | | | | | | | | | | It's not enough to check the init generation count, if the cache data is not reset properly. This patch adds safety in two ways: 1. Actually reset the op call cache when we detect a new generation 2. Verify that we don't return NULL function pointer The 1st point is absolutely necessary, 2nd is optional (extra cost of one if()). @fix
* ecore_ipc: Unregister log domain on shutdownJean-Philippe Andre2017-09-261-12/+12
| | | | | | An old comment mentioned that this was explicitely not unregistered, but I believe the comment isn't valid since ecore_event_type_flush() was introduced.
* elm: Fix elm_shutdownJean-Philippe Andre2017-09-261-1/+1
| | | | | | | ecore could not shut down properly in an elm_init()/elm_shutdown() cycle, with 7 remaining references, all because of a typo. This should help @cedric as well
* win: Avoid calling same function twice on shutdownJean-Philippe Andre2017-09-261-8/+9
| | | | | | | This avoids calling: ecore_evas_callback_delete_request_set ecore_evas_callback_resize_set twice when deleting a window. Also adds safety over sd->ee.
* evas: Fix shutdown of async cmd cacheJean-Philippe Andre2017-09-262-0/+2
| | | | | | | | | | The incomplete reset (array to NULL but max not reset) triggers errors in evas_thread_queue_append() where eina_inarray_grow() returns NULL. This shows up in: CK_FORK=no elm_suite @fix
* elm: Properly unregister providers on shutdownJean-Philippe Andre2017-09-262-2/+3
| | | | | | | | | This should fix some errors in make check with CK_FORK=no Test: <efl/build>/src$ CK_FORK=no ./tests/elementary/elm_suite elm_config @fix
* win: Avoid safety ERR in efreetJean-Philippe Andre2017-09-261-1/+1
| | | | This is an error happening in make check. Annoying but mostly harmless.
* elm: Fix module load with ELM_RUN_IN_TREEJean-Philippe Andre2017-09-261-1/+1
| | | | | | | | Somehow I was seeing a ton of errors with "prefs_iface" not found in make check. This code could not have worked since the merge of elementary in EFL tree... @fix
* elm_bg: rename elm_bg to Efl.Ui.BgSungtaek Hong2017-09-2612-173/+391
| | | | | | | | | | | Summary: elm_bg was supposed to be used only in legacy, but since we need a common object to be used as a background of widgets, it is now renamed as efl_ui_bg and supports EO APIs. Reviewers: cedric, jpeg, woohyun Differential Revision: https://phab.enlightenment.org/D5147
* input: Move pointer props to CanvasJean-Philippe Andre2017-09-265-61/+74
| | | | | | efl_input_pointer_position is defined by two classes... bad! Fixes T6066
* elm: rename Elm.Interface.Atspi.Text => Efl.Access.TextLukasz Stanislawski2017-09-2615-296/+294
| | | | | | Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5167
* widget: Fix translation of default text partsJean-Philippe Andre2017-09-266-4/+35
| | | | | | Note: fileselector uses this translation API Ref T5363
* widget: Remove domain_part_text_translatable from EOJean-Philippe Andre2017-09-262-14/+7
| | | | | | | | This removes the last remaining legacy-style part API from Widget. I think this is redundant with the property "translatable_text" introduced in Efl.Ui.Translatable. Ref T5363
* widget: Implement translation API in layoutJean-Philippe Andre2017-09-2621-61/+81
| | | | | | | | | | | | | | This moves the API entry points from Widget to Layout parts. I don't think the other widgets support translation, but that is easy to fix. The actual code implementation remains in elm_widget.c. Legacy-only widgets are covered by Part_Legacy, while all EO widgets that have text inherit from Layout (except Win but I don't think the window title was translatable in legacy). This removes 2/3 remaining part APIs from Widget. Ref T5363
* elm: Introduce interface Efl.Ui.TranslatableJean-Philippe Andre2017-09-2633-55/+112
| | | | | | | | | | | | | | | | | | | | This will be used to replace the part translation API in Elm.Widget. It should work for both parts and non-parts (ie. the main text of a button, for instance). For now I'm taking the following approach: - All efl_text_set/get strings are untranslatable, i.e. get() returns the visible string, set replaces and can not be translated. - translatable_text_set/get needs to be used to enable automatic translation, which in turns calls efl_text_set to modify the visible string. Thus, translatable applications will have to use efl_ui_translatable_text_set a lot more than efl_text_set, unless they translate strings application-side. Note that some other frameworks take a simpler approach equivalent to calling efl_text_set() with an already translated text. This prevents runtime language changes of the application, unless the application handles them specifically.
* widget: Add tiny doc for Efl.Ui.Widget.PartJean-Philippe Andre2017-09-261-2/+6
|
* Evas textblock: fix ascent/descent calcDaniel Hirt2017-09-261-12/+9
| | | | | | | | | This is a follow-up to 4d4401f3a60024a0762393c3984065b73927eb86. The format line adjustment (e.g. linegap) should calculate the current item's ascent/descent, and then update c->ascent/c->descent. Otherwise we accumulate calculations like linegap values ref D5217
* Fix infinite recursion for legacy + efl ui win eventsCarsten Haitzler (Rasterman)2017-09-261-7/+15
|
* Fix crash when an application wants to get the popup item classDaniel Zaoui2017-09-261-0/+1
| | | | | | | | | | Since elm_popup_item.eo.h is only included in elc_popup.h, the EAPI is not well defined, resulting in a crash when, in a simple C file, the item class is tried to be accessed. By including the H file in elc_popup_eo.h, we make it public (as the other item classes) and solve the EAPI issue. Thanks @jpeg for helping me to solve this issue.
* evas textblock: use primary font's size as minimum size of a lineYoungbok Shin2017-09-261-31/+23
| | | | | | | | | | | | | | | | | | | | | Summary: Textblock uses ascent, descent from primary font when there is no text. If a text is set which need other font, Textblock uses ascent, descent from actually loaded font. If loaded font has smaller size, text cursor and text looks jerky in elm_entry. At least, primary font's size should be respected as minimum size of a line for avoiding this issue. In addition, the patch will allow negative line gap values. @fix Test Plan: Put your hamburger(🍔) in Ecrire. And put an english character. (Put a text which will load smaller font. And put a text which will load primary font.) Reviewers: raster, cedric, herdsman, jpeg, woohyun Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D5217
* evas: Add scale feature for embedded bitmap fonts.Youngbok Shin2017-09-2620-181/+395
| | | | | | | | | | | | | | | Summary: When evas selects a strike of embedded bitmap font, calculate ratio and use it for scaling embedded bitmap. @feature Reviewers: jpeg, tasn, woohyun, raster, herdsman Reviewed By: raster Subscribers: charlesmilette, Francesco149, cedric Differential Revision: https://phab.enlightenment.org/D2713
* eolian-cxx: Fix compilation errors with new any_value_ptr and mstring typesFelipe Magno de Almeida2017-09-253-3/+32
|
* elementary: migrate elementary_config to use the new macro with lifecycle ↵Cedric BAIL2017-09-251-39/+60
| | | | support.
* elementary: provide a new initialization macro that support lifecycle.Cedric BAIL2017-09-252-2/+47
| | | | | EFL_MAIN_EX require efl_main, efl_resume, efl_pause and efl_terminate to be working. Quicklaunch support added too.
* elementary: provide and implement lifecycle event on the window.Cedric BAIL2017-09-252-4/+59
| | | | | | pause event means that the window is not visible anymore to any user. resume is triggered when the window became visible again or just became visible again.
* ecore: start adding life cycle support to Efl.Loop.Cedric BAIL2017-09-251-0/+2
| | | | | | pause event is triggered when no more windows are visible to any user. resume event is triggered when a window make the application visible for the first time to the user after a pause or when starting the application.
* Ui text: use proper Efl.Text API to set textDaniel Hirt2017-09-251-1/+1
| | | | Fixes error message during initialization.
* Canvas text: don't generate legacy for new apiDaniel Hirt2017-09-251-0/+1
| | | | This is part of the new Canvas.Text.
* Ui text: use eina_value_get and not eina_value_pgetDaniel Hirt2017-09-251-2/+4
| | | | CID 1381328
* Canvas text: use eina_value_set and not eina_value_psetDaniel Hirt2017-09-251-1/+1
| | | | CID 1381327
* elm hoversel - fix alignment in ephotoCarsten Haitzler (Rasterman)2017-09-251-1/+1
| | | | | | fixes T6078 @fix
* inwin: Fix oopsie in previous commitJean-Philippe Andre2017-09-251-4/+4
| | | | Bad push! >_<
* inwin: Fix inwin (default content set/get/unset)Jean-Philippe Andre2017-09-252-3/+25
| | | | | | 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).
* layout: Remove default content implementationJean-Philippe Andre2017-09-252-20/+0
| | | | | 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.
* docs: eina_value: fix a typoJeeyong Um2017-09-251-1/+1
|
* elm_hover: do not register itselfMarcel Hollerbach2017-09-232-0/+7
| | | | we are already registered as root in that manager
* elm_widget: abort is probebly a bit too muchMarcel Hollerbach2017-09-231-1/+0
|