summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore.am (follow)
AgeCommit message (Collapse)Author
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! This time the final version, ci has been adjusted, and now does not try anymore to build a removed buildsystem. However, the scripts in there need cleaning up. Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18Revert "autotools: REMOVAL!"Marcel Hollerbach
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! Differential Revision: https://phab.enlightenment.org/D9027
2019-05-10ecore: forgotten autotools update.Cedric BAIL
2019-04-15Windows : fix the definition of EAPIVincent Torri
Summary: with autotools, EFL_BUILD was passed to the preprocessor for libraries and binaries, which was wrong. Only libraries must have EFL_BUILD defined. See T7797 for an explanation This also fix EAPI in Ecore_Getopt.g and Efl_UI.h Also note that all the wayland and drm Makefile's have not been touched Test Plan: compilation Reviewers: raster, zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8602
2019-03-14autotools: add option to enable eo file installMike Blumenkrantz
Summary: eolian is not stable so these files should not be distributed by default in order to discourage relying on something which may break later fix T7676 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7676 Differential Revision: https://phab.enlightenment.org/D8339
2019-03-11autotools: add more files to EXTRA_DIST2Mike Blumenkrantz
fixes distcheck Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8291
2019-03-07build: ensure correct headers are installedMike Blumenkrantz
for autotools this means adding more legacy headers to install, for meson just some ??? headers Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8222
2019-03-06efl_loop_timer: remove all legacy usage from eo filesMike Blumenkrantz
this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8126
2019-03-06ecore_exe: remove all legacy usage from eo filesMike Blumenkrantz
this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8125
2019-03-06ecore: do not install internal api headers with autotools buildMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8124
2019-02-28ecore: remove Efl.Container_Model_Item.Cedric BAIL
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
2019-02-21tests: Include ecore test dir for generated eo.hLauro Moura
Summary: Was causing builds off-tree failing check-build Test Plan: build tests Reviewers: cedric, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7971
2019-02-14build: fix autotools release tarbal generationMarcel Hollerbach
this file was forgotten when initially writing this patch. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7928
2019-02-12Revert "Revert command line array object because it's broken by design"Marcel Hollerbach
This reverts commit a57c7f751023fe1d1edeabbf8683574ac7497e5e. I pretty much hate to just revert your revert, but you failed to read my replies, and failed to understand what i was talking about. And YES we talked at fosdem about the platform issue, and do you remember my answer, that back in time this might be the case, today is different freebsd suppoerts setenv, and for windows we have a setenv implementation in evil. And yes, vtorri also created a issue how bad and evil this commit is, however, i still fail to see the issue since setenv unsetenv and clearenv usages are taken as needed. (T7693) The ownership question is answered in https://phab.enlightenment.org/D7516#137367. Can we please get into a state of technical discussions, and not *oh shit, i am going to revert this* this has been in review for a long time, a lots of people have tested it, we discussed things on it, and there was 3 weeks of no reply from you. The issues that exist will be dealed with. Feel free to create tasks if you want :)
2019-02-12Revert "Revert the env object because it's broken portability - please redo"Marcel Hollerbach
This reverts commit d6294fa22b88187e44391c1c8ca64b1ebdf14533.
2019-02-12Revert the env object because it's broken portability - please redoCarsten Haitzler (Rasterman)
setenv and unsetenv are not portable. i explained to you at fosdem there are issues and it's why i used putenv in the original implementation and even though it's a pain (the string tou pass to putenv is a pointer used literallt from there on in and you get it from getenv, thus making ownership a pain -this is a libc issue we can't readily solve). use putenv like the original code. then put it back in. vtorri now has windows porting issues with the setenv use. i knew there was a reason that still existed... in addition your in_sync stuff is broken. psuedocode: // assuming BLAGH env is not set to anything here c = efl_core_env_get(global_env, "BLAH"); ... putenv("BLAH=10"); ... c = efl_core_env_Get(global_env, "BLAH"); i will get NULL in both cases for c ... but i should get "10" for the 2nd in reality. reality is lots of code across application code and libraries will at times mess with the environment. it has to work with this. the prior implementation did work with this. Revert "ecore: here comes a env object" This reverts commit 2373d5db5b4cd5dfe139aa2a10017ef61b28b5ce. Revert "efl_task: remove env from this object" This reverts commit c3d69f66a69c0def357a5c373a13343e1c01ff5d.
2019-02-12Revert command line array object because it's broken by designCarsten Haitzler (Rasterman)
Revert "ecore: get rid of commands in efl_task." This reverts commit 616381e9cfed41b83fef039b0e38c09b41fd3d7f. Revert "ecore: here comes a command line object" This reverts commit 48e5684b3c37b337edd7004e68fc0690b58a84e6. 1. this is broken: EOLIAN static const char* _efl_core_command_line_command_get(const Eo *obj EINA_UNUSED, Efl_Core_Command_Line_Data *pd) { return eina_strdup(pd->string_command); } it returns a const char * BUT it duplicates it on return. no. a big fat honking NO. return a char * or don't duplicate. pick. 2. _efl_core_command_line_command_array_set() is broken by design. it accepts an array of strings, but the strings are owned by the caller who creates the array (requiring they free them up themselves after this call) but the array becomes owned by the callee. the code here frees the incoming array but doesn't care about the string content of it. it's leak heaven waiting to happen (or bugs when someone wants to access the array they create to walk it to free the strings they put into it after it is set). i brought this up and it was dismissed. now exactly he issue i brought up is there with mixed ownership and the added complexity as well as transfer of some ownership but not others. go back and think about this so it isn't broken by design.
2019-02-12ecore: here comes a command line objectMarcel Hollerbach
the mixin for now can carry a command, which can be setted as an string. The string is then parsed again, this is done in order to make sure that everything that needs escaping really is escaped or parsed correctly. Differential Revision: https://phab.enlightenment.org/D7516
2019-02-12ecore: here comes a env objectMarcel Hollerbach
the env object can be used to alter and edit the content of environment variables. Additionally, the class efl.core.env can be used to to setup a not applied set of environment variables, which then can be applied later (in the future) to set it directly to a spawned process for example, or as a general key/data storage. A efl.core.env object can also be forked off, which makes it easy to customize predefined objects. ref T7514 Differential Revision: https://phab.enlightenment.org/D7510
2019-02-05ecore: tests: add missing include path to make ecore_audio build in distcheckStefan Schmidt
We missed the include path to the tests folder where the generated ecore_audio_ou_test files are located. Found by our relentless TravisCI cron job. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7877
2019-01-31efl_model : rename all efl_model based classes.SangHyeon Jade Lee
Summary: As the result of discussion in T7458, we need to rename all efl_model based classes with efl_XXX_Model sequence. I've run few vote for this, see V42, V43 few classes are totally renamed as our consideration of misnaming. | Efl.Model_Loop | Efl.Loop_Model | | Efl.Model_Item | Efl.Generic_Model | | Efl.Model_Container | Efl.Container_Model | | Efl.Model_Container_Item | Efl.Container_Model_Item | | Efl.Model_Composite | Efl.Composite_Model | | Efl.Model_Composite_Boolean | Efl.Boolean_Model | | Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item | | Efl.Model_Composite_Selection | Efl.Select_Model | | Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item | | Efl.Model_View | Efl.View_Model | | Eio.Model | Efl.Io.Model | | Efl.Ui.Model_State | Efl.Ui.State_Model | | Efl.Ui.Model_Size | Efl.Ui.Size_Model | | Efl.Ui.Model_Exact | Efl.Ui.Exact_Model | | Efl.Ui.Model_Average | Efl.Ui.Average_Model | | Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model | I worried about Efl.Io.Model changes, cause it is widely used, but as I tested, there is no issue found yet. Eldbus.Model also may can changed Efl.Dbus.Model, but I cannot found any class who using Efl.Dbus namespace, so I left it future work. Test Plan: Run the Make Test, it works well except Efl test about selection. there are class inheritance problem exist in select_model, I reported it and will fix it in another patch. Reviewers: cedric, felipealmeida, woohyun, Hermet Reviewed By: cedric Subscribers: lauromoura Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30ecore: add an index property on Efl.Model_Composite and handle ↵Cedric BAIL
children_slice_get. This will enable inheriting class to not have to implement as much code. This patch fix also all class that use Efl.Model_Composite and its test. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7654
2019-01-26ecore: make ecore_audio_out abstractMarcel Hollerbach
ecore_audio does define format and source, those are then used in some leave classes, ecore_audio is only used in the tests, and should not be used externally. Therefore make it abstract. The other missing implementations are in the leave classes, They are resolved with providing empty implementations, since no format switching is supported. ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7782
2019-01-02ecore: add an helper class Efl.Model_ViewCedric BAIL
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
2018-11-29ecore: fix bugs from composite modelsVitor Sousa
Fix type error while getting boolean property from Efl.Model_Composite_Boolean. Fix properties_get methods for all composite models. Now properly call property.changed events when it is needed. Use EINA_VALUE_TYPE_BOOL instead of EINA_VALUE_TYPE_UCHAR. Remove some memory leaks.
2018-11-23ecore,efl: add Efl.Model.property_get helper which will suceed once when a ↵Cedric BAIL
property finally has a value. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7323
2018-11-23efl_interpolator: rename subclasses of Efl.InterpolatorJaehyun Cho
Subclasses of Efl.Interpolator are renamed intuitively from backward order to forward order.
2018-11-23efl_interpolator: change Efl.Interpolator class to interfaceJaehyun Cho
Since Efl.Interpolator's subclasses are used as interpolator class, Efl.Interpolator class is changed to be an interface. This change allows Efl.Canvas.Animation to have Efl.Interpolator as its property in efl_canvas_animation.eo.
2018-08-17ecore_pipe: remove null check condition and fix segfualt on WindowsYeongjong Lee
Summary: This reverts commit 4917910b4911905236fa099bbc16b833b056ca07. 4917910b break backward compatibility. Reproduction: void pipe_handler(...); pipe = ecore_pipe_add(pipe_handler, NULL); ecore_pipe_write(pipe, NULL, 0); Because of the null check condition, pipe_handler isn't called after 4917910b. Some apps behavior which is written to expected to call pipe_handler was broken. also, this patch fixed segfault during build on Windows Test Plan: make on Windows Reviewers: raster, zmike, vtorri Reviewed By: zmike, vtorri Subscribers: woohyun, cedric, #reviewers, #committers, zmike, vtorri Tags: #efl Differential Revision: https://phab.enlightenment.org/D6824
2018-08-08build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suitesMike Blumenkrantz
Summary: this needs to be consistent so that it can be used reliably across suites also these build flags really need to be consolidated into a single variable that can be reused Depends on D6666 Reviewers: devilhorns, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D6731
2018-08-01build: disable Lua binding generationDaniel Kolesa
Summary: As Lua bindings don't work right now, it is pointless to waste build time generating them. Elua itself on the other hand is useful and should stay enabled. This also does some preparation work for separate configure switch for bindings after release, but for now keep configure switches as they are. Reviewers: zmike, stefan_schmidt Subscribers: cedric, bu5hm4n, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6721
2018-07-30build: fix rpath for binaries which use ecore-x dependenciesMike Blumenkrantz
somehow ecore-x explicitly pulls in ${libdir}/libX11.so at link-time, which causes libtool to add ${libdir} to the rpath executable wrappers before the remainder of the in-tree efl paths. this causes binaries run from these wrappers (e.g., tests, built-time tools such as codegens) to use system libraries instead of in-tree libraries @fix Differential Revision: https://phab.enlightenment.org/D6635
2018-07-10tests/ecore: remove ecore-drm testMike Blumenkrantz
Summary: this caused DSO linker issues when enabled and was only testing init+shutdown for a deprecated component which has not been actively developed in some time Reviewers: devilhorns, ManMower, bu5hm4n Reviewed By: devilhorns, ManMower Subscribers: bu5hm4n, ManMower, cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6539
2018-07-04ecore: fix public/private class separationXavi Artigas
Summary: A few classes were added in the wrong place in the makefile, rendering them neither public nor legacy, and unaccessible to bindings. Test Plan: The Efl.Model_Item class is now accessible to C#, and previously it wasn't. This class is used in the EO tutorials, which would have needed a rewrite. make check, examples & distcheck still work. Reviewers: bu5hm4n, zmike, devilhorns Reviewed By: zmike, devilhorns Subscribers: cedric, felipealmeida, lauromoura, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6507
2018-05-01efl: remove old Efl_Future, Efl_Promise.Cedric BAIL
2018-05-01autotools: fix make distcheck.Cedric BAIL
2018-05-01ecore: make sure that we only install and expose EFL unified API we intend to.Cedric BAIL
2018-05-01ecore: efl.loop.timer should be part of Efl unified API.Cedric BAIL
2018-05-01ecore: fix compilation of the C++ bindings with the new Efl.ModelCedric BAIL
2018-04-30ecore: add a class to factorize efl.model.composite.Cedric Bail
2018-04-10tests: move ecore promise tests into efl_app_suiteMike Blumenkrantz
Summary: ref T6815 Depends on D5902 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6815 Differential Revision: https://phab.enlightenment.org/D5903
2018-04-10tests: split ecore poller tests into separate fileMike Blumenkrantz
Summary: ref T6850 Depends on D5900 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6850 Differential Revision: https://phab.enlightenment.org/D5901
2018-04-10tests: split ecore idler tests into separate fileMike Blumenkrantz
Summary: ref T6850 Depends on D5899 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6850 Differential Revision: https://phab.enlightenment.org/D5900
2018-04-10tests: move efl_loop_fd tests into efl_app_suiteMike Blumenkrantz
Summary: ref T6815 Depends on D5898 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6815 Differential Revision: https://phab.enlightenment.org/D5899
2018-04-10tests: move disabled efl loop timer test into efl_app_suiteMike Blumenkrantz
Summary: ref T6815 Depends on D5895 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6815 Differential Revision: https://phab.enlightenment.org/D5896
2018-04-10tests: split efl_loop tests out of efl_app_suite.cMike Blumenkrantz
Summary: Depends on D5894 Reviewers: stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5895
2018-04-05ecore: and rename the test for Eina_Future to be the only promise test.Cedric Bail
2018-04-05ecore: remove tests of old Efl_Future based on Eo.Cedric Bail
2018-03-07ecore - efl threads - add thredio classCarsten Haitzler (Rasterman)
this adds a simple indata and outdata void ptr to begin that you can set on efl.thread objects (set the indata) and get the outdata too to get results. then on the efl.appthread side the indata is set on the efl.appthread before it runs and on quit the thresad can set the outdata on the appthread, and this appears back on the efl.thread object in the parent thread. so you can basically share pointers to anything in and out this way on start/exit in addition to string args etc. the reason i made it an extra class (mixin actually) is for future expansion. sharing more complex data - eina values maybe or objects as long as they are shared objects, and perhaps acting as an interface for calling a function at the other end like ecore_thread_async_call etc.