summaryrefslogtreecommitdiff
path: root/src/lib/evas (follow)
AgeCommit message (Collapse)Author
2016-06-21evas: Remove common interface and use provider_findJean-Philippe Andre
Evas.Common_Interface not only had a bad name, it also wasn't in line with how we can get a loop object, for instance. Use eo_provider_find in each implementing class.
2016-06-21evas: Rename Evas.Object to Efl.Canvas.ObjectJean-Philippe Andre
One step closer to make the EO inheritance tree look like it's all Efl.
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-20evas: Fix usage of fill_setJean-Philippe Andre
efl.gfx.fill will reset the filled flag, so the internal function needs to be called instead of the gfx api. This test error was added in a very recent commit: ccaf12e1b66b2b49.
2016-06-20evas: Use efl_gfx APIs where appropriateJean-Philippe Andre
This is a better fix than the previous patch, as it keeps the legacy API check. The point of that check is: if the object has been created with legacy API (evas_object_image_[filled_]add, then legacy APIs are allowed, otherwise they are disallowed. This means only EO APIs should be used on an eo_add() image object.
2016-06-20evas: Fix type checking for legacy APIsJean-Philippe Andre
This should fix canvas 3d examples (that were calling fill_set and evas would reject with "object is not an image").
2016-06-19evas: fix double defineMarcel Hollerbach
/usr/local-efl/include/evas-1/Evas_Legacy.h:3762:30: warning: redefinition of typedef 'Evas_Load_Error' is a C11 feature [-Wtypedef-redefinition] typedef Efl_Image_Load_Error Evas_Load_Error; ^ /usr/local-efl/include/evas-1/Evas_Loader.h:126:30: note: previous definition is here typedef Efl_Image_Load_Error Evas_Load_Error; ^ thank you jpeg :P
2016-06-17Evas: Rename smart object into Efl.Canvas.GroupJean-Philippe Andre
2016-06-17Evas: Cleanup evas smart clipped classJean-Philippe Andre
This is legacy stuff. I wish we could hide it from our inheritance entirely. Instead, just make it abstract, remove all functions from eo (doable here) and rename with the keyword "internal" in the new ugly java style name.
2016-06-17Evas: Remove a useless magic checkJean-Philippe Andre
2016-06-17Evas: Add smart_ prefix to all smart functions (eo)Jean-Philippe Andre
This is a first step at separating legacy smart object features away from standard efl interfaces.
2016-06-17Evas: Move smart_members_get to legacyJean-Philippe Andre
Going forward, we prefer to return iterators rather than lists.
2016-06-17Evas: Move smart data to legacyJean-Philippe Andre
2016-06-17Evas: Move smart_callbacks_descriptions to legacyJean-Philippe Andre
2016-06-17Evas: Move smart_get to legacy and smart_attach to internalsJean-Philippe Andre
smart_get and attach referred to an opaque struct, from EO point of view. Also, attach was an EO-only function, used nowhere besides evas object smart itself, and evas grid (which is not EO public API).
2016-06-17Canvas text: Fix idiotic memory leak.Tom Hacohen
Thanks to vtorri for reporting.
2016-06-17Evas: Move Object_Pointer_Mode to Efl.EventJean-Philippe Andre
2016-06-17Evas: Move BiDi type to Efl.TextJean-Philippe Andre
This renames it to Efl.Text.Bidirectional_Type.
2016-06-17Evas: Move Evas.Load_Error to legacy, use Efl.Image.Load.ErrorJean-Philippe Andre
This also disables the unused interface "load_state".
2016-06-17Evas: Remove Evas.Render_Op and switch to Efl.GfxJean-Philippe Andre
Note: Only two modes are supported (blend and copy). The Efl.Gfx and Evas enums were different. All other values were not supported. For legacy compatibility (since GL engine actually implements some kind of support for all operations), render_op_set() should still work fine, even though it's not recommended, and won't work anymore with EO API.
2016-06-17Evas: Move Evas_Native_Surface to legacyJean-Philippe Andre
2016-06-17Evas: Fix clipees_get and return an iteratorJean-Philippe Andre
The legacy function was broken: it was returning the private data.
2016-06-17Evas: Mark legacy_ctor as constructor and betaJean-Philippe Andre
This is a futile attempt at hiding an internal function.
2016-06-17Evas: Move smart_move_children_relative to evas smartJean-Philippe Andre
This is temporary...
2016-06-17Evas: Move smart_type_check[_ptr] to legacyJean-Philippe Andre
2016-06-17Evas: Move smart_clipped_clipper to its classJean-Philippe Andre
It was in Evas.Object, probably to make it work without any ERR message on invalid objects. Not worth it right now...
2016-06-17Evas: Nove smart data get to smart classJean-Philippe Andre
It didn't make sense where it was. No idea why evas_box was overwriting smart_data.get (esp. since it was returning a private struct).
2016-06-17Evas: Rename object focus to key_focusJean-Philippe Andre
The evas focus concept is valid and applies only to the keyboard inputs.
2016-06-17Evas: Move object static_clip to legacyJean-Philippe Andre
This is a horrible API used for internal optimizations. Which may or may not be partly broken anyway. We can do better, in the future. Let's not expose this kind of API.
2016-06-17Evas: Move object name to legacyJean-Philippe Andre
All EO objects have a name now. No need for evas object names anymore. Also move name_child_find.
2016-06-17Evas: Mark type as legacy and protectedJean-Philippe Andre
Only set() is allowed for EO, and it's a constructor, protected function. Unfortunately, this means a lot of #define EVAS_OBJECT_PROTECTED
2016-06-16Canvas Text: continue porting api and fixup bugsDaniel Hirt
Also: This merges style user and normal style into a list with precedence. This allows for more flexibility while keeping the API clean. @feature
2016-06-16Canvas text cursor: introduce this new objectTom Hacohen
The text cursor is now an eo object. Consult the efl_canvas_text_cursor.eo file for the API. @feature
2016-06-16Canvas text: introduce new text objectDaniel Hirt
The implementation depends on creating different code paths from the now-legacy behavior of text appending. The annotation system introduced in this commit replaces the current way of applying formats on text. Up until now it has been quite a hassle for the user to control the formats, as it required keeping track of the format positions with an opener and closer formats almost every time (with the exception of own-closing formats). The combination of Efl.Text API along with the Efl.Canvas.Text annotation API essentially replaces the capabilities of the old format. There is additional annotation API to allow more control, so be sure to check the documentation/.eo files and the wiki page of Efl.Canvas.Text. The style API now accepts actual strings of format style. There is not longer need to instantiate as style with style_new() followed later by style_free(). @feature
2016-06-16Evas: Fix usage of callback arraysJean-Philippe Andre
This should fix compilation of EFL for Windows (at least this is one more step...) - evas box - evas table
2016-06-16Evas: Stop using Evas.Image in public inheritanceJean-Philippe Andre
So, it seems my previous commit 79abba52c50840c043e4b was a job half done, as I forgot to remove Evas.Image from the inheritance tree of all new evas image classes.
2016-06-16Efl: Move Efl.Canvas to efl/interfacesJean-Philippe Andre
Not sure this is a good name for this interface, but it definitely doesn't belong inside lib/evas/ Thanks Jiyoun for the question / report :)
2016-06-15evas: do not use static array with pointer to other variable.Cedric Bail
Aka fix Windows build. This is exactly the same trick as for events array.
2016-06-15eolian: enable inheritance checks and fix EFL to build with themDaniel Kolesa
Somehow, there was code in the tree that apparently isn't tested at all, even once - if it was, the eo.c logic that performs inheritance checks would be triggered. I don't know how this could have happened (actually I do, it's Cedric's fault and he should be publicly shamed for it) but these checks make sure this will never happen again. But since the code itself appears to be untested, I don't know if there isn't any other brokenness in it. But that's beyond the scope of this change, so for now, let's make sure all our inheritance is at least formally correct. Also, enable eo_interface.eo generated code in Eo itself so that Eo.Interface can be used when inheriting. @fix
2016-06-14evas: move canvas3d and vg parts into beta API and keep the rest under EO APIStefan Schmidt
Vanvas3d and VG are still conisereed beta. For the rest we are going to sort this out over the next days/weeks. Either EO API flag removed or put under BETA.
2016-06-14Evas: Support of fnmatch flag FNM_IGNORECASEVincent Torri
Some systems (solaris in that case) define FNM_IGNORECASE instead of FNM_CASEFOLD. Add this case in evas_path.c
2016-06-14evas: Move canvas events to a common interfaceJean-Philippe Andre
This merges window and evas events into a single name. Some events are marked as @beta as they shouldn't really be part of our EO API.
2016-06-14evas object: Move some events to efl_gfx and efl_imageJean-Philippe Andre
This affects basic evas object events such as: - show, hide, resize, move, - changed size hints, - restack, - image preloaded, resize, unloaded Also, switched names to shorter "present form" like "preload" instead of "preloaded".
2016-06-14evas object: Mark event free as @betaJean-Philippe Andre
Use EO_EVENT_DEL instead.
2016-06-14evas object: Mark legacy input events as @betaJean-Philippe Andre
This effectively marks them as unstable API. They should not be used, and still only exist because of the current code infrastructure.
2016-06-14widget: Switch to pointer & key eventsJean-Philippe Andre
Unfortunately, since all widgets rely on the legacy evas event structs, I had to add a translation mechanism.
2016-06-13evas_canvas: move evas_output_XXX API from eo to legach.Ji-Youn Park
evas canvas will be removed from eo. evas_output_XXX APIs are usually used by widget or e17. I decided not open these kind of APIs to eo. app can use the size of elm win instead of evas output apis.
2016-06-10Evas: Rename Zoomable_Interface to Efl.Ui.ZoomableJean-Philippe Andre
2016-06-10Evas: Rename Selectable_Interface to Efl.Ui.SelectableJean-Philippe Andre
2016-06-10Evas: Rename Scrollable_Interface to Efl.Ui.ScrollableJean-Philippe Andre