summaryrefslogtreecommitdiff
path: root/src/lib/eo/eina_types.eot (follow)
AgeCommit message (Collapse)Author
2020-06-09eo-files: convert all Eina.Strbuf & Eina.BinbufMarcel Hollerbach
these structs should not be used, but rather the builtin types that exist for it. Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11742
2020-03-08docs: Strengthen docs for Copy&Paste and Drag&DropXavi Artigas
Including Eina.Content And a typo/bugfix in ecore_evas_x. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11204
2020-03-08rewrite efl cnp and dnd handlingMarcel Hollerbach
the previous commits introduced a abstraction for drag in drop which can be now used for this here. With this commit all the direct protocol handling in efl.ui is removed, and only the ecore evas API is used. Additionally, this lead to a giant refactor of how APIs do work. All Efl.Ui. interfaces have been removed except Efl.Ui.Selection and Efl.Ui.Dnd, these two have been restructored. A small list of what is new: - In general no function pointers are used anymore. They feel very uncompftable in bindings and in C. For us its a lot easier to just listen to a event when a drop enters or leaves, there is no need to register custom functions for that. - Asynchronous data transphere is handled via futures, which proved to be more error safe. - Formats and actions are handled as mime types / strings. - 0 is the default seat if you do not know what else to take. - Content is in general passes as a content container from eina, this also allows applications to pass custom types The legacy dnd and cnp API is implemented based on that. All cnp related things are in elm_cnp.c the dnd parts are in elm_dnd.c Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11190
2020-02-18C#: Add error checking for Eina.Success_Flag return typeFelipe Magno de Almeida
When a get and/or set from property is defined to return, explicitly, a Eina.Success_Flag, the mono generator will check the return value and generate an exception if the call fails. Resolves T8383. Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11281
2020-02-05move stabelized items out of @betaMarcel Hollerbach
fixes T8570 fixes T8567 fixes T8566 fixes T8521 fixes T8501 fixes T8460 fixes T8455 fixes T8454 fixes T8254 fixes T7945 fixes T7944 fixes T7943 fixes T7942 fixes T7941 fixes T7940 fixes T7939 fixes T7938 fixes T7937 fixes T7936 fixes T7935 fixes T7934 fixes T7933 fixes T7858 fixes T7857 fixes T7856 fixes T7855 fixes T8599 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11264
2020-01-23docs: Slight improvements to eina_types.eot Matrix docsXavi Artigas
Reference D11158
2020-01-23Eolian eina_types: Add Eina.Matrix4 typeJunsuChoi
Summary: for using in eolian Test Plan: N/A Reviewers: Hermet, bu5hm4n, segfaultxavi Reviewed By: bu5hm4n, segfaultxavi Subscribers: bu5hm4n, segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11158
2020-01-23eina: add new range Data typeali
Summary: Introduce new data type (Eina.Range) which represent range (part of series) **eina_range_max_get** **eina_range_intersect** **eina_range_union** **eina_range_contains** **eina_range_equal** Reviewers: cedric, woohyun, bu5hm4n, segfaultxavi, zmike Reviewed By: woohyun Subscribers: vtorri, cedric, #committers, #reviewers Tags: #efl Maniphest Tasks: T8570 Differential Revision: https://phab.enlightenment.org/D11133
2020-01-13eina_types: declare unicode type stableMarcel Hollerbach
this is needed in order to get text stable. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11074
2019-09-30efl: add code to enforce presence of @since tagsDaniel Kolesa
This is not yet enabled because there's too many instances where this is broken. Ref T7704
2019-07-15Revert "Revert "efl: prevent usage of some Eina.* stub types in stable APIs""Vitor Sousa
EFL# support for slice and rw_slice was added in a previous commit. So now it is safe to undo the reversion of this commit. This reverts commit 25ef604467b083d1f5ff2c7f9a1a82e660e04443.
2019-07-08Revert "efl: prevent usage of some Eina.* stub types in stable APIs"Vitor Sousa
C# does not support `slice` and `rw_slice` yet. Reverting until proper support lands. This reverts commit ec7bc0eddd7abc77d28605b0a6f0aea2e246a0ee.
2019-07-08efl: prevent usage of some Eina.* stub types in stable APIsDaniel Kolesa
2019-03-29docs: Add Eina.Value extern to eina_types.eotXavi Artigas
Eina.Values are built-in eolian types, accessed through any_value and any_value_ptr. However, these types cannot be used in doc references. Adding a placeholder extern struct Eina.Value causes no harm, and will allow referencing the type from EO docs later on. In C#, Eina.Value is defined in the manual binding code so the doc reference resolves to a valid type. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8510
2019-01-22efl: add free functions to owned typesMarcel Hollerbach
this commit is a first step in order to add free functions to all the types that are owned. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7627
2018-12-26Revert "Revert "ecore: make efl_loop_promise_new a function of ↵Carsten Haitzler (Rasterman)
Efl.Loop_Consumer."" This reverts commit 42e886d8d61d551bb544b777e6d254ce4dd3fcf1.
2018-12-26Revert "ecore: make efl_loop_promise_new a function of Efl.Loop_Consumer."Marcel Hollerbach
This reverts commit 9b5155c9f135f9ef450a817979f5884352b2d4c0. For now lets revert this, this breaks copy and paste, further more it has the potential to break a lot more things, as eio_model tends to use efl_loop_promise new, and then eina_promise_data_set, which is explicitly forbidden. This fixes crashing terminology instances.
2018-12-20ecore: make efl_loop_promise_new a function of Efl.Loop_Consumer.Cedric BAIL
I am not sure this is the right way to do it as binding would have to likely to bind it manually. Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7492
2018-11-13eo: Avoid namespace clashes.Lauro Moura
Summary: This commit removes some clashes (i.e. names as classes and namespaces at the same time). It'll avoid nested items that are either forbidden (C#) or problematic (Python) in some languages. Reviewers: segfaultxavi, bu5hm4n, felipealmeida Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7260
2018-05-19efl: Add missing event typesXavi Artigas
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6169
2018-05-03eolian: switch Eina.Future instances to future<T>Daniel Kolesa
2018-01-03Revert "efl_loop: move scheduler_get to eo API"Cedric BAIL
This reverts commit f910ba248e3f8f8390674e79cbbe49582eed861e. The scheduler is meant to be used only in C, not by bindings so there isn't really a use for it in the loop class. Now this patch was triggered due to complexity in using future/promise, so will do a follow up patch to improve that.
2018-01-03efl_loop: move scheduler_get to eo APIAndy Williams
2017-12-07eo: Remove unnecessary defines from the EO fileJean-Philippe Andre
Those promise/future APIs are not required in the EO files.
2017-12-07eo: Move unnecessary eina type out of the EO fileJean-Philippe Andre
2017-10-17eo: Use any_value in eina_types.eotLauro Moura
Reviewers: q66, jpeg Subscribers: jenkins, cedric Differential Revision: https://phab.enlightenment.org/D5328
2017-09-22eo: make more freefuncs implicitDaniel Kolesa
2017-09-19efl: Add precise_position for input eventsJean-Philippe Andre
The previous commit removed useless delta
2017-09-18efl: Introduce Eina.Rect and switch EO APIs to itJean-Philippe Andre
It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature
2017-09-04Eina: Add Eina_Promise/Eina_Future.Guilherme Iscaro
This commit adds a new promise/future API which aims to replace efl_future.
2017-08-04eo debug name: Use strbuf instead of slstrJean-Philippe Andre
This should be a little bit more efficient, even if more "risky" in terms of leaks. The final API still looks exactly the same.
2017-02-09docs: eina: add doc for new eina value typeStefan Schmidt
2017-02-06efl: add efl_model and efl_ui_view classesLarry Jr
Efl.Model.Container and Efl.Model.Item to efl/interfaces are used to create Efl.Model objects with predefined property values. This is useful to any situation where we want an Efl.Model with explicit defined property values. Efl.Ui.View and Efl.Ui.Factory are used to connect Efl.Models with Widgets, Elm.Layout and Efl.Ui.Image has changed to use news interfaces Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-03docs: document all missing type defines in our eo filesStefan Schmidt
With this commit we reach 100% alias doc coverage for our eo files.
2016-10-27docs: eo: document last missing structsStefan Schmidt
With this commits we reach 100% eo docs coverage for structs.
2016-10-20docs: eina_types: add descriptions for some structs for these eina beta api'sStefan Schmidt
2016-09-08eio: rework efl_io_manager to use efl_future.Cedric Bail
2016-09-08eo: add Eina.Binbuf native type.Cedric Bail
2016-08-22eina: introduce Eina_Slice and Eina_Rw_Slice.Gustavo Sverzut Barbieri
A plain simple pointer + length describing a linear memory region.
2016-08-22eina_types.eot: expose Eina.BinbufGustavo Sverzut Barbieri
2016-08-22eina_types.eot: expose Eina.ErrorGustavo Sverzut Barbieri
2016-06-21eolian: implement a stringshare builtinDaniel Kolesa
This implements a new builtin, stringshare, which is replaced with the right pointer to Eina_Strinshare as necessary. This allows simplifying binding code (it can call the proper eina APIs, deal with lifetime etc). It also removes the extern Eina.Stringshare typedef from eina_types.eot, which was actually incorrect and would generate invalid code in binding generators. @feature @fix
2016-05-25eio: Adds Eo-based Eio APILauro Moura
The legacy Eio_File factory functions are replaced by an Eo object called Eo_Job that return promises wrapping the async file operations. With this commit, the legacy Eio callbacks are replaced by the following Eo/Promises counterparts : * Done_Cb -> Promise then success callback * Error_Cb -> Promise then error callback * Main_Cb -> Promise progress callback * Filter_Cb -> Job object event (more below) Events are used to deliver and get the filter data. To differentiate between the named and direct versions, they come in "filter,direct" and "filter,name" versions. Monitors were wrapped inside a new class Eo_Sentry. The user creates a sentry object and adds monitoring targets to it, listening to events on it. The sentry event info is composed of two strings. The source string is the path being monitored, i.e. the one passed to eio_sentry_add, and the trigger string is the path that actually triggered the event, e.g. a new file created in a monitored directory.
2016-05-24eolian: replace Eina.Value with generic_value usageDaniel Kolesa
2016-04-19Eo eina types: Add Eina.Value.Tom Hacohen
2016-04-19Elm atspi text: Fix eo type errors.Tom Hacohen
2016-02-17Evas canvas3d mesh: Fix Eolian warnings.Tom Hacohen
This includes either migrating types to eolian, fixing namespace or importing extra types.
2016-02-17Eina types: add missing extern to matrix3 type.Tom Hacohen
2016-02-12Eolian eina_types: Add Eina.Matrix3 and start using it.Tom Hacohen
2015-06-01Efl File: Add Eina.File eolian type and use it.Tom Hacohen