aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* efl_csharp: Use cs_args instead of runtime_Assembliesdevs/lauromoura/dotnetLauro Moura2019-03-022-38/+18
| | | | | | | | | | | | | | Summary: This will erase the need of the `runtime_assemblies` kw_arg, allowing ot use a single invocation without warnings about unsupported parameters. Reviewers: bu5hm4n Subscribers: cedric, vitor.sousa, #reviewers, felipealmeida, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8092
* efl-mono: Add support for dotnet coreFelipe Magno de Almeida2019-03-0136-468/+1024
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This commits adds dotnet as a supported C# platform for EFL# bindings. Due to differences between Mono and Dotnet regarding DllImport, the bindings now are using an imperative approach to load the function pointers through the NativeModule and FunctionWrapper classes. These classes handle the dlopen/LoadLibrary and dlsym/GetProcAddress calls. Also, the previous caching of non-owned strings returned to native code was removed until further memory checks. We also had to create workaround for bool and chars in Structs for C# marshaling. Going through System.Byte instead and Marshaling manually to their respective types. In order to actually build efl_mono.dll with dotnet right now, issue #4782 from Meson should be fixed to make it properly detect and used the Dotnet compiler. Also use "-Ddotnet=true" when running meson. Fixes T7394 Reviewers: felipealmeida, vitor.sousa, bu5hm4n Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl Maniphest Tasks: T7394 Differential Revision: https://phab.enlightenment.org/D8069
* efl-mono: Add support for Efl.ClassLauro Moura2019-03-019-44/+234
| | | | | | | | | | | | | Efl.Class (in practice, the return from the *_class_get() functions) can be used as argument to functions, like in Efl.Object.provider_find and Efl.Ui.Widget_Factory.item_class(get/set). This commits adds support by representing Efl.Class instances as System.Type in the C# API, allowing someone to do things like: `factory.ItemClass == typeof(MyFramework.MyButton)` It also supports user-defined classes that inherit from efl classes.
* elementary: update MVVM example to use asynchronous factory API.Cedric BAIL2019-03-011-10/+22
| | | | | | | | This also fix a bunch of other error regarding object lifecycle and library initialization. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8079
* elementary: Efl.Ui.Layout should use the new API efl_content to control ↵Cedric BAIL2019-03-011-8/+8
| | | | | | | | | | object lifecycle property. efl_content leave the caller in charge of the lifecycle of the object. This means we can rely on the factory to actually do something with the object before it is destroyed by anyone. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8091
* eo: improve error message by giving an idea where the error come from.Cedric BAIL2019-03-011-1/+1
| | | | | Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8090
* elementary: do not randomly figure out property name to connect to.Cedric BAIL2019-03-011-1/+2
| | | | | Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8089
* eio: Efl.Io.Model doesn't have a parent class that actually provide any ↵Cedric BAIL2019-03-011-1/+1
| | | | | | | property. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8088
* efl-csharp: Fix Eina.Value containing arrays and listsLauro Moura2019-03-013-94/+497
| | | | | | | | | | | | | | | | | | | | | Summary: It was marshalling erroneously data into and out of arrays and lists. Instead of passing data by value (or by address of correct size), it was stuffing data into IntPtr and trying to parse out afterwards. This commit changes the binding to use the same approach of plain Get/Set, with proper overloads. Reviewers: vitor.sousa, segfaultxavi, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8057
* docfx: Exclude *NativeInherit classes from docsXavi Artigas2019-03-011-0/+2
| | | | | | | These classes need to be public so new user-created classes can inherit from them, but they have the same content as the regular classes. Therefore there is no need to pollute the documentation with duplicated elements.
* eo: obtaining the Eo object attached to an Eina_Value is actually a const ↵Cedric BAIL2019-03-011-1/+1
| | | | | | | | | | | | | | | | operation on the Eina_Value. Summary: Depends on D8077 Reviewers: segfaultxavi, zmike Reviewed By: segfaultxavi, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8078
* elementary: fix string usage in hoversel example.Cedric BAIL2019-03-011-14/+4
| | | | | | | | | | | | | | Summary: Depends on D8073 Reviewers: zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8074
* elementary: fix performance example warning by using Eina_Slstr instead of ↵Cedric BAIL2019-03-013-54/+65
| | | | | | | | | | | | | | hardcoded buffer. Reviewers: zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8070
* elementary: fix web example to define _GNU_SOURCE only if needed.Cedric BAIL2019-03-011-1/+3
| | | | | | | | | | | | | | Summary: Depends on D8076 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8077
* elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE.Cedric BAIL2019-03-011-2/+3
| | | | | | | | | | | | | | Summary: Depends on D8075 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8076
* elementary: remove badly named and unused array.Cedric BAIL2019-03-011-11/+0
| | | | | | | | | | | | | | Summary: Depends on D8074 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8075
* elementary: fix web example warning from duplicated _GNU_SOURCE.Cedric BAIL2019-03-011-1/+3
| | | | | | | | | | | | | | Summary: Depends on D8072 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8073
* elementary: fixup warning in location example.Cedric BAIL2019-03-011-1/+6
| | | | | | | | | | | | | | Summary: Depends on D8071 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8072
* elementary: fix Evas3D examples warning due to double define.Cedric BAIL2019-03-014-11/+24
| | | | | | | | | | | | | | Summary: Depends on D8070 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8071
* meson - make evas loader confg install shell be binsh compliantCarsten Haitzler (Rasterman)2019-03-011-3/+4
| | | | | | this shell required bash. not good for example if on some unix systems like bsd that dont have bash... by defauklt. so make it /bin/sh compliant shell.
* meson - fix some more fbsd building and make notes on broken checksCarsten Haitzler (Rasterman)2019-03-011-1/+14
| | | | | | | | | i found the header checks are logically broken. i was about to replace with a cc.compiles() check but that requires that every check also have full working code not just a symbol to check the existence form so for now just fix the HAVE_NOTIFY_KEVENT define that makes eio build properly again on bsd and note the broken state for a future rethink on how these checks are done.
* efl po - change intl.h check to use compiles so cflags it respectedCarsten Haitzler (Rasterman)2019-03-011-1/+1
| | | | | this fixes building on fbsd... (where CFLAGS will now work to find libintl.h)
* efl core env - remove unused envrion declarationCarsten Haitzler (Rasterman)2019-03-011-2/+0
|
* efl exe - fix indent of hash compiler directivesCarsten Haitzler (Rasterman)2019-03-011-3/+3
|
* efl proc env - add extern environ - missing from src fileCarsten Haitzler (Rasterman)2019-03-011-0/+2
|
* ecore - remove environ lock that isn't used anymoreCarsten Haitzler (Rasterman)2019-03-011-6/+0
| | | | | bu5hm4n forgot to remove this when doing his env class changes - remove it as its unused now.
* ecore: remove Efl.Container_Model_Item.Cedric BAIL2019-02-288-381/+164
| | | | | | | This also enable to create a tree of Container_Model instead of just one level. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8046
* efl-csharp: Fix variable generation for RoslynLauro Moura2019-02-283-2/+16
| | | | | | | | | | | | | | | | | | Summary: Mono's old compiler (mcs) accepts LL as suffix for longs while Roslyn (csc) is strict, allowing only a single L. Test Plan: Run tests Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8061
* ecore: prevent duplication of children for Efl.Composite_Model and enable ↵Cedric BAIL2019-02-282-1/+140
| | | | | | | | | | | | | dummy object. This patch allow Efl.Composite_Model to return always the same object for the same index. This way, it make it easier for the Model to always be in sync even if there is multiple user at any time. The support for dummy object allow the Composite_Model to host more object than what the source model provide. This dummy model will only have the property of the Composite_Model and none of the Source model ofcourse. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8045
* eolian: remove support for inlist/inarrayDaniel Kolesa2019-02-2813-206/+39
| | | | | | | | | | This feature was kind of ill-conceived and never worked properly. Since there isn't enough time to make it work right at this point and there are no users of it in the API, remove it for now. It might get added in the next release cycle, in a proper form. @feature
* efl.access.object: iconified -> minimizedMike Blumenkrantz2019-02-282-2/+2
| | | | | | | | | | | | | | | | Summary: be consistent with efl.ui.win usage Depends on D8044 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8054
* efl.ui.win: iconified -> minimizedMike Blumenkrantz2019-02-282-28/+31
| | | | | | | | | | | | | | | | | | | Summary: minimize is a commonly used term in the current year. iconify is not. ref T7511 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7511 Differential Revision: https://phab.enlightenment.org/D8044
* eolian_mono: Generate proper doc refs for ConstantsXavi Artigas2019-02-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | Summary: Support for global constant variables has been recently added to the C# bindings. This patch fixes doc references so they use the proper name. This brings the mono doc warnings from 71 down to 29. Depends on D8048 Test Plan: Just build and see less doc warnings when building the C# bindings. Also, doc refs to constants are links now. Reviewers: lauromoura, vitor.sousa Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8051
* interfaces: don't inherit efl.ui.layout anymoreMike Blumenkrantz2019-02-2854-54/+54
| | | | | | | | | | | | | | Summary: this removes efl.file from the class hierarchy Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8042
* efl-csharp: Remove generated inlist/inarray supportLauro Moura2019-02-288-891/+0
| | | | | | | | | | | | | | Summary: To be added again in a later release after rework in Eolian Reviewers: q66, vitor.sousa, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8056
* eolian_gen: fix generation of legacy class functionsMarcel Hollerbach2019-02-281-27/+38
| | | | | | | | | we forgot to generate the legacy function. This no now added back. ref D8029 Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D8037
* efl_csharp: add constant variable generation to C# binding (constants)Vitor Sousa2019-02-287-0/+204
| | | | | | | | | | | | Reviewers: lauromoura, q66, bu5hm4n, zmike, cedric, felipealmeida, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D8048
* release: Update NEWS and bump version for 1.22.0-alpha1 releasev1.22.0-alpha1Stefan Schmidt2019-02-283-5/+95
|
* efl.ui.widget: mark scroll_* methods @betaMike Blumenkrantz2019-02-282-4/+30
| | | | | | | | | | | | | | | | | | | Summary: these are questionable at best here ref T7553, T7714 Reviewers: woohyun Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7714, T7553 Differential Revision: https://phab.enlightenment.org/D8055
* elua: fix typo in eolian bindingsDaniel Kolesa2019-02-281-1/+1
|
* elm_popup: remove on_show_region_set callMarcel Hollerbach2019-02-282-13/+0
| | | | | | | | | | | | | | | | | | | | | | Summary: Its hard to say why removing such calls are fixing a bug like T7274. However, it appears that this call causes the min size calculation of evas to fall apart. This also removes a workarround introduced earlier to fix this. This fixes T7274 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7274 Differential Revision: https://phab.enlightenment.org/D8043
* Eina: implement strtod in C locale and remove linkl against msvcr100.Vincent Torri2019-02-285-38/+293
| | | | | | | | | | | | | | | | | | | | Summary: This fixes compilation on Windows More precisely edje_cc could not compile emotion edc files, so it was a runtime problem because of msvcr100 link. Add more tests than before Test Plan: compilation Reviewers: raster Subscribers: zmike, stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7926
* eina: Declare eina_config.h install dirLauro Moura2019-02-281-1/+2
| | | | | | | Meson from git complains if `install` is set but not `install_dir`. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D8036
* build: ensure we remove the newly generated *eo.legacy.c files for distcheckStefan Schmidt2019-02-281-0/+1
| | | | | | | | | | | | | | Eolain now generates extra files for the C legacy implementations and distcheck has trouble with them not being removed by the build system. Going to handle lists of them in all the different makefiles (elm, ecore, emotion, etc) would be a lot extra work. Thus I will just make sure the get removed during our clean-local rule. Given 1.22 is the last release we will use autotools for I think this is a fair compromise to get this fixed. Differential Revision: https://phab.enlightenment.org/D8052
* evas gl - swap with damage - look for KHR extn string tooCarsten Haitzler (Rasterman)2019-02-284-4/+8
| | | | | as per shortlog - look for KHR in addition to EXT for swap with damage region extn detection.
* eolian: Fix struct database registration.Lauro Moura2019-02-282-2/+6
| | | | | | | | | | | | | | | | | | | Summary: It was mistankely swapping regular and inlist structs when registering after parsing, causing functions like eolian_state_structs_by_file_get to return wrong data, breaking C# bindings. Also added a simple test. Reviewers: q66, bu5hm4n, zmike, cedric, felipealmeida, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8047
* eina: safe guard against macro expension error in EINA_*_EQStefan Schmidt2019-02-281-2/+2
| | | | | | | | Make sure we are use doubel also also in things like EINA_DBL_EQ(a-b, x+y). Thanks to Vicent for reporting and Xavi for giving me context. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D8049
* eolian: properly skip the struct keyword in inlist structsDaniel Kolesa2019-02-281-0/+2
| | | | This was missed as a part of an incorrect merge.
* eolian: add support for inlist structsDaniel Kolesa2019-02-288-15/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for inlist structs, a special type of struct that can only be used with inlists. This differs from regular structs in a couple ways: 1) They are stored separately. Just like structs, enums, aliases have their own storage, so do inlist structs. 2) They can't be @extern, nor they can be opaque. 3) They are their own type of typedecl. 4) When they contain only one field, this field must be a value type always, cannot be a pointer. Like regular structs, they can have arbitrary fields, and they can have a pre-set free function via @free(). In C, the inlist structs will be generated exactly like ordinary ones, except they will have EINA_INLIST before the first field. Other binding generators can deal with them as they wish, for example to provide high level interfaces to them. This does not yet do the plumbing necessary to hook these into the type system, nor it adds generator support. @feature
* tests: add test for elm_layout_text_setMike Blumenkrantz2019-02-271-0/+13
| | | | | | | | | | | | | | | | Summary: ref T6931 Reviewers: stefan_schmidt, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T6931 Differential Revision: https://phab.enlightenment.org/D7603