summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-18Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Textdevs/herdsman/annotation_item_stagingDaniel Hirt
This interface has a simple 'create' method to create Efl.Canvas.Object given a key. This is used higher-up in Ui.Text in the next commit. Ui text: add ability to set item factories Added API to set an item factory object. This is similar to the previous item providers (that worked with callbacks). You instantiate a factory object and set it on the Ui.Text object. Each factory implements the "create" method from Efl.Canvas.Text.Item_Factory. This also includes 3 public factories (Image, Emoticon and Fallback): - Image factory: creates images from added entries (key strings) - Emoticon factory: creates emoticons by querying the theme - Fallback: creates image, then falls back to emoticon If no factory is set, then the fallback (internal) factory is used. See the added "Ui.text Item Factory" test in elementary_test for an example of usage. @feature
2018-01-18Edje: remove item provider from eo apiDaniel Hirt
2018-01-18ui.text: Use proper EO type for cnp modeJean-Philippe Andre
It's not working. Just "fixing" the API for consistency. Also, we're lacking a proper hint for "markup without images". So I think EFL_SELECTION_FORMAT_MARKUP should be without images, while EFL_SELECTION_FORMAT_MARKUP | EFL_SELECTION_FORMAT_IMAGE would allow markup with images. Ping @thiep.ha Ref T5329
2018-01-18cnp: Use EO types to define legacy typesJean-Philippe Andre
They are the same. Ref T5329
2018-01-18win: Avoid a warningJean-Philippe Andre
I still hate those types. warning: case value not in enumerated type 'Efl_Ui_Win_Type' [-Wswitch]
2018-01-18examples: evas vg: fix the compilation of vg batmanAmitesh Singh
2018-01-18win: Remove unusable type "dnd"Jean-Philippe Andre
Override mode is not available in the unified api. That's because you can't do it in Wayland. I still think those types are stupid and should all die: Win subclasses handle them for you. Odd types can't be used anyway. Ref T5322
2018-01-18ui.list: Fix shadow variable warningsJean-Philippe Andre
node2 didn't conflict, just making it consistent with nodedata2
2018-01-18win: Remove "ioerr" eventJean-Philippe Andre
Unless it's implemented for Wayland as well, AND provides more information than a NULL event_info, I see no point in this being an EO event. Keep legacy as-is: a smart callback only. Also, minor cleanups to the EO file. Ref T5322
2018-01-18edje: Return "" as state for invalid partsJean-Philippe Andre
Instead of "default". This is consistent with legacy, and allows for some kind of error checking. Not returning NULL helps avoiding crashes.
2018-01-17Revert "efl wl - fix segv where garbage ptr to comp surface is still there"Mike Blumenkrantz
This reverts commit 574ef9a5e53ac2ecabc14fd02be7e55cd90a9b25. this should be resolved by 863a6e159e99c5f69ecc7461106aba2102f1da11 and is only a possible case when an unmapped surface was activated, something which is prevented by spec and can only occur if bugs exist elsewhere
2018-01-17wayland: always flush client display when protocol sends are pendingMike Blumenkrantz
in the case where a connection was not actively rendering, there was nothing which would trigger a display flush, leading to applications potentially deadlocking @fix
2018-01-17efl-wl: only perform mouse-out operations for a seat if the mouse was "in"Mike Blumenkrantz
this could lead to cases where the original application's cursor was permanently lost @fix #TheDisappointer
2018-01-17efl-wl: ensure parent surface is mapped before attempting to revert activationMike Blumenkrantz
2018-01-17efl-wl: immediately unset a destroyed surface's cursorMike Blumenkrantz
@fix
2018-01-17efl-wl: enforce xdg-shell spec requiring a commit to an unmapped surfaceMike Blumenkrantz
a separate commit is required for a newly-unmapped surface in order for the surface to be able to attach a buffer and be mapped
2018-01-17efl-wl: only send keyboard enter and activation for mapped surfacesMike Blumenkrantz
setting active for unmapped surfaces bypasses the expected path for unsetting activate during surface unmap if the surface is destroyed while active and unmapped @fix
2018-01-17efl-wl: remove some broken logic for activating toplevel parentsMike Blumenkrantz
parents of parents should not be marked as activated...probably @fix
2018-01-17efl-wl: set event ON_HOLD flag when they are sent to a surfaceMike Blumenkrantz
use a flag to indicate when processed events have been internally processed @fix
2018-01-17efl-wl: propagate surface activation back to parent if child is hiddenMike Blumenkrantz
a toplevel child will always be stacked right above its parent @fix
2018-01-17efl-wl: send more mouse buttons to clientsMike Blumenkrantz
@fix
2018-01-17efl-wl: split case for toplevel vs popup during surface hide activate ↵Mike Blumenkrantz
propagation this should have no functional differences due to spec, but make sure it reads more clearly
2018-01-17Revert "efl loop - provide efl namespace versions of begin/end locks on ↵Carsten Haitzler (Rasterman)
mainloop" This reverts commit 76b837002eaea56b5ecb174bffe284012084dc74. seems no one wants efl api's for this
2018-01-17elm_test: Fix to call efl_add with parentJaehyun Cho
To trace back to the main loop, call efl_add with parent. (See https://phab.enlightenment.org/T6573)
2018-01-17efl theme - fix bug in e init splash that would do hide anim 2xCarsten Haitzler (Rasterman)
this should fix a "go black and stay black for a bit" bug... @fix T6619
2018-01-17elput - fix crash on shutdown where input.lib was NULLCarsten Haitzler (Rasterman)
this was null checked everywhere except in 1 place. fix. now more crash on shutdown now
2018-01-17examples: Simplify & fix thread exampleVincent Torri
This fixes the example for Windows, where apparently it ran into a lot of errors with spinlock. Note that on Linux we have such errors too (both before and after the patch): EINA ERROR: 'Invalid argument' on lock 0x7ffd218af410 EINA ERROR: 'Invalid argument' on unlock 0x7ffd218af410 Patch by @vtorri
2018-01-17glview: Remove trailing newline in ERRJean-Philippe Andre
It's not needed.
2018-01-17evas gl: Properly verify that Evas GL worksJean-Philippe Andre
For SW engine we need to verify that OSMesa is present. The patch fb048e73120b39095cc87aa4f8d7f3d397a93c56 broke the logic. Tested by temporarily removing OSMesa from my system. Fixes T6617 (again)
2018-01-17efl/vg: Refactor the svg path handling and interpolation.subhransu mohanty
Summary: This patch is taken from the tizen branch 1. Take care when the locale is different than POSIX. See: strtod, strtol 2. Interpolate all the property of a shape. Reviewers: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5740
2018-01-17win: Fix standard window bg with custom themesJean-Philippe Andre
Ref T6579 See also D5740
2018-01-17Revert "elm: disable interface theme loading"Jean-Philippe Andre
This reverts commit 3d07b90461818804ed51b6dcaed9f05c0d0155bb. Some commits should address the issues mentioned in T6579 959571b9955babc40367cf3a634dddba7a7cdcc2 fe346d2ee23eb0d9fca0544f6732c709ec3a4b8b But to be honest I am still not sure exactly what the issue was? Ref T6579
2018-01-17Revert "warning remove - comment out unused vars"Jean-Philippe Andre
This reverts commit bbac253f11bd7a7a2320c52ab295c1ad9919bb6a.
2018-01-17elm_tooltip: set theme group to NULLSungtaek Hong
Summary: Even though elm_tooltip does not support EO API, for now, Efl.Ui.Widget will support elm_tooltip-like feature. This change group name compatible with new group name policy. Reviewers: jpeg, woohyun, herdsman, zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5739
2018-01-17elm_datetime: use legacy elm_buttonSungtaek Hong
Summary: elm_datetime and Efl.Ui.Clock uses same module: clock_input_ctxpopup. The module creates internal field object. Use legay button for field object until Efl.Clock and datetime module policy is fixed. Reviewers: jpeg, CHAN, woohyun Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5725
2018-01-17panes: Expose parts in EO fileJean-Philippe Andre
2018-01-17docs: Fix wrong doxygen expressions.Myoungwoon Roy, Kim
Summary: This patch fixes wrong doxygen expressions in elm_box legacy API reference doxygen. Test Plan: documentation Reviewers: cedric, raster, jpeg, stefan, Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5743
2018-01-17efl_animation: fix typoYeongJong Lee
Test Plan: make Reviewers: Jaehyun_Cho Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5746
2018-01-17selection: delete callbacks when the manager is deletedThiep Ha
If the selection manager is deleted before the drop objects are deleted, we need to remove callbacks in its destructor. Thank @herdsman for reporting this.
2018-01-16efl-wl: add lots of null checks to egl initMike Blumenkrantz
ref T6617
2018-01-16efl_ui_focus_manager: fix infinit loop in enlightenment wizardMarcel Hollerbach
we unsetted and setted focus_manager once too often, so we ended up in a infinite loop. This should be fixed now. Sorry Derek!
2018-01-16efl_ui_focus: merge efl_ui_focus_user and efl_ui_focus_object into one mixinYeongjong Lee
Summary: focus_user and focus_object are similar classes. by merging them into one mixin, we can maintain consistency. Test Plan: make check Reviewers: bu5hm4n Subscribers: cedric, Jaehyun_Cho, woohyun, jpeg Differential Revision: https://phab.enlightenment.org/D5734
2018-01-16Pyolian: fix and tests for recent changesDave Andreoli
q66: please leave the pyolian updating work to me, it's harder for me to fix wrong stuff instead of just implement myself ;)
2018-01-16eina: make updating rectangle cache thread safe.Cedric BAIL
2018-01-16eolian: do not require unit when stringifying typesDaniel Kolesa
As it is no longer necessary to pass unit when evaluating exprs, it is not necessary to pass it here either. Convert all the APIs to the new style and update all instances in our tree.
2018-01-16eolian: do not require unit for expr eval APIsDaniel Kolesa
The necessary information is now stored directly in the expr during database validation. Also enable expr validation for params.
2018-01-16eolian: cache enum expr in the databaseDaniel Kolesa
2018-01-16eolian: expose _eval_type to internalsDaniel Kolesa
2018-01-16examples: Show off usage of "background" partJean-Philippe Andre
See bg_cxx_example_01
2018-01-16widget: Expose "background" part (for bindings)Jean-Philippe Andre