aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* efl-csharp: Trying to pass arguments to the loop argumentsdevs/lauromoura/app_pocLauro Moura2019-01-031-1/+5
|
* efl-mono: Fix marshalling of struct in event data.Lauro Moura2019-01-036-20/+62
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Previously, we just converted through PtrToStructure, which didn't have the full marshalling info converting from the internal one to the external. This fixes the usage of the Efl.Loop.arguments event. Also renamed the ToExternal methods to ToManaged, to make clearer that the output struct is the one intended to be used from the managed code. Also fixed a minor styling in the generated code (making it easier to be inspected). Depends on D7538 Reviewers: segfaultxavi, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7539
* efl-mono: Share test data among other files.Lauro Moura2019-01-035-498/+522
| | | | | | | | | | | | Summary: Will make easier running/compiling tests in isolation. Reviewers: segfaultxavi, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7538
* csharp: add a interface to start appsMarcel Hollerbach2019-01-032-1/+143
| | | | | | | | | | | | | | | | | | | | | until to today you had to call init functions and a run function which were static function in a class called Efl.Ui.Config. However, calling those init functions there is not really OOP style. Right now things have changed into a manner where you are defining you application class with inheriting from the Application / SimpleApplication abstract. This enables you to call launch() on your application class, calling launch there leads to a call to the args function, you can call and use the Efl classes in there, everything is booted up. Option parsing and dependency start can still be done in the main method or application constructor, just ensure that you never call any efl class / function outside the launch function. A commit that demonstrates the usage can be found at https://git.enlightenment.org/tools/examples.git/commit/?h=devs/bu5hm4n/POC&id=60a8ae70c9eba88e1a943c484e15f44eafe6905f
* efreet: Add installation prefix search for XDG_DATA_DIRS.Alastair Poole2019-01-031-0/+10
| | | | | | | | | | | | | | | | | | Summary: Currently path parsed for XDG_DATA_DIRS is hard-coded to /etc. By using eina_prefix_get and adding to the list of directories efreet should use efreet will use path relative to the EFL installation. Reviewers: #committers, bu5hm4n, cedric, raster, zmike Reviewed By: #committers, zmike Subscribers: zmike, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7534
* meson: warn on unused parameters like on autotoolsMarcel Hollerbach2019-01-031-0/+1
| | | | this mirrors the behaviour of autotools.
* ecore: add tests when not defining setter/getter/free in ModelView callback.Cedric BAIL2019-01-021-0/+18
| | | | Differential Revision: https://phab.enlightenment.org/D7490
* ecore: define behavior when no getter/setter callback function is defined ↵Cedric BAIL2019-01-021-4/+21
| | | | | | | | | | for ModelView property logic. This allow for simplifying the code that doesn't need to handle get/set/free callback when not needed. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7489
* ecore: test for Efl.ModelView.Cedric BAIL2019-01-026-4/+317
| | | | | | | This does cover pretty much everything that Efl.ModelView provide. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7488
* ecore: add an helper class Efl.Model_ViewCedric BAIL2019-01-025-2/+680
| | | | | | | | | | | | With the advancement of our MVVM interfaces, we realize that it could be made easier, especially for bindings, to write an Efl.Model that proxy another one without having to necessarily implement the entire logic of propagating event and checking if the property we are getting request for is actually handle by our own Efl.Model. To simplify this, I introduce this class that allow to set new callback for each property you want to handle on your object. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7487
* ecore: correct object constness and documentation of future_resolved and ↵Cedric BAIL2019-01-022-9/+28
| | | | | | | future_rejected functions. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7486
* ecore: allow for not specifying any static string in ↵Cedric BAIL2019-01-021-3/+2
| | | | | | | Efl.Model.properties.get helper. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7485
* ecore: don't forget to initialize structure.Cedric BAIL2019-01-021-1/+1
| | | | | Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7484
* ecore: make sure that events are being forwarded first.Cedric BAIL2019-01-021-4/+4
| | | | | | | | | In case the model being set has already gotten some event callback set on it, to avoid strange behavior, like event not propagating, it seems best to make sure the event are forwarded first. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7483
* cxx: fix build to generate Eina_Future.Lauro Moura2019-01-021-6/+6
| | | | | | | | This doesn't enable future support in the C++ binding, just allow to build the binding. Signed-off-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7498
* eo: enable priority with event forwarder.Cedric BAIL2019-01-023-14/+28
| | | | | | | | | | Note: Their isn't any ability to do something like a static array of events at the moment. It might lead to large memory being used when it wouldn't be necessary. If that was the case, we could fix it, but it would require a lot of dynamic hash operation I think. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7482
* eo: test that event cancel before emitting does propagate event.Cedric BAIL2019-01-021-1/+18
| | | | | Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7496
* eo: correctly allow for triggering the same event while the previous one was ↵Cedric BAIL2019-01-021-0/+1
| | | | | | | | | | | cancelled. If you are to trigger an event and just cancelled the one being processed, it would just not propagate any event while it should. The code looks like more like it was forgotten line or something. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7481
* elput: Verify pointer device is accel capable before setting speedChristopher Michael2019-01-021-0/+3
| | | | | As we cannot set mouse accel speed unless an input device is capable, we add a small test here to check that it supports acceleration.
* elementary: rename Efl.Ui.Translatable -> Efl.Ui.L10nCedric BAIL2019-01-0248-97/+97
| | | | | | | | If we are to choose Efl.Ui.I18n for the internationalization support, the localization API should be named accordingly L10n. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7507
* efl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.Cedric BAIL2019-01-0225-38/+37
| | | | | Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7506
* elementary: rename Efl.Selection -> Efl.Ui.Selection as it is only usable ↵Cedric BAIL2019-01-0220-532/+532
| | | | | | | with User Interface related element. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7505
* ecore: Fix promise cb signatureLauro Moura2019-01-022-2/+2
| | | | | | | After the loop_promise_new changes. Also fix unused var warning. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7531
* ecore-drm2: Add support for specifying a particular drm cardChristopher Michael2019-01-021-2/+7
| | | | | | | | | | | | | | | | | | | | | | | Summary: There are cases where the drm card that we wish to run on is not always the first card (ie: card1, card2, etc). In our previous code, we would always start searching at card0 and if found we would always use that card. This patch allows a card to be specified in the environment that can be searched for and used. For example, if we specify ECORE_DRM2_CARD=card1 than that card will be searched and used if found. This also allows wildcard searches such as ECORE_DRM2_CARD=card[1-9]* which can be used to skip the first card (card0). Reviewers: ManMower Reviewed By: ManMower Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7530
* ecore-drm2: Fix drmModeSetCrtc call during fb flipChristopher Michael2019-01-021-1/+1
| | | | | | | drmModeSetCrtc x & y values are actually offsets into the framebuffer memory. As such, we should not be sending output position here. @fix
* ecore-drm2: Minor formatting fixesChristopher Michael2019-01-021-8/+4
| | | | NB: No functional changes
* meson-cxx: ecore must be build after eflMarcel Hollerbach2019-01-021-1/+1
|
* Add support of Windows 8, 8.1 and 10Vincent Torri2019-01-023-15/+40
| | | | | | | | | | | | Reviewers: raster, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7528
* examples: make edje examples possible to runMarcel Hollerbach2019-01-021-0/+1
|
* examples: remove setted but not used variableMarcel Hollerbach2019-01-021-2/+1
|
* examples: fix warnings regarding multiple definesMarcel Hollerbach2019-01-026-14/+33
| | | | compiling them stand alone still defines the correct definitions
* examples: fix eina_simple_xml_parserMarcel Hollerbach2019-01-021-1/+7
|
* examples: fix ecore_fd_handler_gnutls_examplesMarcel Hollerbach2019-01-021-1/+8
|
* examples: evas-3d-obj provide a biffer string bufferMarcel Hollerbach2019-01-021-4/+4
|
* evas vg: ++safe code.Hermet Park2019-01-021-1/+1
| | | | null argument handling.
* ecore: fix build by having proper parameters order.Jaehyun Cho2019-01-021-1/+1
|
* evas vg: fix typo.Hermet Park2019-01-021-1/+1
|
* evas vg: ++safe codeHermet Park2019-01-021-1/+2
| | | | strong check validation of vg object.
* efl-csharp: Add implicit conversions for Eina.ValueLauro Moura2018-12-302-0/+235
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: For basic types, this will make it easier to pass Eina.Values into functions, without requiring to setup and later Set() or Get() calls. As discussed on irc, this seems to be a better way to improve the Value C# API than using method chaining. Fixes T7388 Test Plan: run tests Reviewers: segfaultxavi, felipealmeida Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7388 Differential Revision: https://phab.enlightenment.org/D7526
* efl-mono: Remove Flush from C# Value API.Lauro Moura2018-12-282-74/+1
| | | | | | | | | | | | | | | | | | Summary: Fixes T7387 Test Plan: run tests Reviewers: segfaultxavi, felipealmeida Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7387 Differential Revision: https://phab.enlightenment.org/D7521
* efl-mono: automatic code refs for event wrappers docsXavi Artigas2018-12-281-1/+3
| | | | | | | | | | | | | | | | | | | | | Summary: Event wrappers have a comment saying: ///<summary>Event argument wrapper for event XxxEvt</summary>" This patch simply adds a link to that comment: ///<summary>Event argument wrapper for event <see cref="Fully.Qualified.XxxEvt"/></summary>" Test Plan: Generate the C# files and enjoy fully-linked doc comments for event wrappers. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7525
* docs: Misc typos and code referencesXavi Artigas2018-12-281-13/+13
|
* evas vg: stablizing parenting logic.Hermet Park2018-12-282-18/+22
| | | | | | | Cleaned up the case when null parent is coming. and found out efl_data_scope_get() could return invalid data when invalid CLASS type is given. it's handled as well.
* evas vg: more strict check for the argument.Hermet Park2018-12-281-3/+3
| | | | a shape node must have vg node as the parent.
* efl gfx_path: remove EFL_GFX_PATH_EVENT_CHANGEDHermet Park2018-12-2813-132/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Here is an additional optmization patch for removing unnecessary updation of path, For instance, let's assume this scenario: If one vg object has 20 path nodes(shapes), and every single nodes would have 50 path changes. (like, append_cubic, append_rect, append_xxx ...); There would 1000 events triggering. Furthermore, if there are 20 vector objects in one view, hese events would be triggered 20000 in one frame. It's insane, actually I could figured out that happens. and it took a lot of cpu consumption in some vector usages. efl_gfx_path_commit() is my idea to avoid this. When path is ready, the path need to get this api call in the last to make object changed properly. @feature Reviewers: #committers, cedric Reviewed By: #committers, cedric Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7494
* meson - dont install eina bench cmp and use install_modeCarsten Haitzler (Rasterman)2018-12-276-24/+8
|
* meson - re-enable emotion_test binaries and data like autofooCarsten Haitzler (Rasterman)2018-12-272-6/+11
|
* docs: Proper-PROPER formatting of some Efl.Gfx EO docsXavi Artigas2018-12-271-4/+4
|
* docs: proper formatting of some Efl.Gfx EO docsXavi Artigas2018-12-271-6/+6
|
* meosn - fix install of scripts and bins and their timestamps and modesCarsten Haitzler (Rasterman)2018-12-278-3/+29
| | | | | | | i was comparing the bindir results of aurtofoo vs meson and some things were missing/poking out at me. this makes them be in sync - install the ewl_wl+test obnaries, ensure to chmod +x+r etc. scritps AND install them