aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: next attempt to fix build race conditiondevs/bu5hm4n/travis-macosMarcel Hollerbach2019-02-072-2/+6
| | | | | | | the source should be used in the dependency. However, only the generated header source, not the .c files or we will get duplicated sources. This is another attempt to fix the build OSX travis failure
* eo: lets drop efl_interfacesMarcel Hollerbach2019-02-078-16/+5
| | | | | | | | | its not required anymore, our wonderfull new syntax solves the original problem it was trying to solve. fixes T7565 Differential Revision: https://phab.enlightenment.org/D7893
* eo: here comes reflection APIMarcel Hollerbach2019-02-079-7/+219
| | | | | | | | | | | | | | | | this adds support in eo to generate a reflection API. To get the actaul reflection to the klass, the API efl_class_reflection_table_set needs to be called, the table in the end can be generated by eolian. Reflection API is inherited by the extended class. This means, if you have two reflection tables, first, the most upperst is called, then the next lower one is called. For now this API accepts NULL setter or getter, and will ignore them silently when they are called. fix T7681 Differential Revision: https://phab.enlightenment.org/D7879
* eo: change API call of efl_class_functions_setMarcel Hollerbach2019-02-0743-64/+65
| | | | | | | | | | The next commit will bring support for something like reflection. This commit prepares the whole tree for getting another argument in efl_class_functions_set. ref T7681 Differential Revision: https://phab.enlightenment.org/D7882
* efl_ui_text: emit EFL_UI_TEXT_EVENT_CHANGED_USER from paste + drop operationsMike Blumenkrantz2019-02-071-0/+7
| | | | | | | | | | | | | | | | | | Summary: this is a user-triggered change so it must emit the event ref T6979 Depends on D7886 Reviewers: bu5hm4n, cedric, segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T6979 Differential Revision: https://phab.enlightenment.org/D7887
* efl_ui_text: forward EFL_TEXT_INTERACTIVE_EVENT_SELECTION_CHANGED eventMike Blumenkrantz2019-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | Summary: this is emitted on the internal object and must be propagated fix T6535 Depends on D7885 Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T6535 Differential Revision: https://phab.enlightenment.org/D7886
* efl_ui_text: forward EFL_UI_TEXT_EVENT_CHANGED_USER eventsMike Blumenkrantz2019-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | Summary: these are emitted on the internal object and need to be propagated ref T7621 Depends on D7884 Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7621 Differential Revision: https://phab.enlightenment.org/D7885
* efl_ui_text: emit EFL_UI_TEXT_EVENT_CHANGED events properlyMike Blumenkrantz2019-02-072-1/+7
| | | | | | | | | | | | | | | | | | | | Summary: these should be emitted any time text is changed in the object fix T7615, T7417, T6978, T6979 Depends on D7883 Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7615, T7417, T6979, T6978 Differential Revision: https://phab.enlightenment.org/D7884
* efl_ui_text: use Efl_Ui_Selection_Format for cnp_mode struct memberMike Blumenkrantz2019-02-071-1/+1
| | | | | | | | | | | | | | | | Summary: fix T7068 Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7068 Differential Revision: https://phab.enlightenment.org/D7883
* efl-mono: Remove uneeded declaration from classes.Lauro Moura2019-02-061-3/+1
| | | | | | | | | | | | | | | | Summary: The constructing method is not used anymore after D7789 landed. Test Plan: run tests Reviewers: segfaultxavi, felipealmeida, vitor.sousa Reviewed By: segfaultxavi, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7875
* edje: migrate Eo API to use Eo callback instead of opaque type.Cedric BAIL2019-02-0619-339/+416
| | | | | | | | | | | | | | | | Summary: Depends on D7869 Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision: https://phab.enlightenment.org/D7870
* edje: make legacy edje call rely directly on edje internal.Cedric BAIL2019-02-063-2/+7
| | | | | | | | | | | | | | Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision: https://phab.enlightenment.org/D7869
* ecore-drm2: Minor formatting fixes.Christopher Michael2019-02-061-4/+3
| | | | NB: No functional changes
* ecore-drm2: Reduce duplicated codeChristopher Michael2019-02-061-2/+2
| | | | | | | No need for this line to be there twice as it is going to be called in either case. NB: No functional changes
* ecore-drm2: Remove useless if checkChristopher Michael2019-02-061-3/+0
| | | | | _ecore_drm2_use_atomic is already checked just above this, so there is no need for this if statement
* eolian_gen: add support for header-only depfilesDaniel Kolesa2019-02-061-8/+27
| | | | | | | By default, dependency files are now generated only for headers. This makes sense for the C generator and our dependency tracking needs. If full dependencies are needed, there is now the 'D' output, which has the old behavior.
* eo: remove whitespacesMarcel Hollerbach2019-02-061-15/+15
| | | | | | | | | | | remove the whitespaces from this file. Every editor in this world removes unneccessay whitespaces at the end of a line. So every time i am touching this header, i need to get rid of them, which is super annoying. I know we are used to *not* doing such patches, but this is just a waste of time, getting them out of the header every and every single time. Differential Revision: https://phab.enlightenment.org/D7880
* eo: repair EO_CLASS_POINTER macrosMarcel Hollerbach2019-02-061-5/+5
| | | | | | | the function has changed, but the macro was not adjusted. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7878
* autotools: remove all usage of evas_image_loader_tgv_(cflags|libs)Mike Blumenkrantz2019-02-051-7/+3
| | | | | | | | | | | | | | | | Summary: these are empty variables which are apparently causing build errors for some users in certain cases Reviewers: bu5hm4n, stefan_schmidt Reviewed By: stefan_schmidt Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7876
* docs: Minor Efl.Access.Window EO fixesXavi Artigas2019-02-051-2/+2
|
* ecore: tests: add missing include path to make ecore_audio build in distcheckStefan Schmidt2019-02-051-1/+1
| | | | | | | | | 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
* tests: improve efl loop test (concentric)Mike Blumenkrantz2019-02-041-2/+9
| | | | | | | | | | | I forgot to spin the sub-loop, so this was previously just a test to verify that the IDLE callback was working. now this spins the sub-loop on the idle callback and tests the idle enter callback to verify that the main loop is being iterated Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Differential Revision: https://phab.enlightenment.org/D7874
* eo: implement class overriding (+unit tests)Mike Blumenkrantz2019-02-043-0/+88
| | | | | | | | | | | | | this enables an app or a platform to add an override for a given class, then return a different object when that class is created. the benefit is that a class can be internally customized by the app without needing to modify upstream versions of that class @feature fix T7516 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7702
* examples: ecore: bring back inet.h include for inet_pton()Stefan Schmidt2019-02-041-0/+3
| | | | | | | | | In commit f7c560c311d0ba0da94346e17c8b20f40a0ed152 this include has been removed while we still need it for inet_pton() as the compliler warns us about. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D7873
* build: fix macos race conditionMarcel Hollerbach2019-02-041-0/+1
| | | | | | | | | There was the problem that evas_ector_software_buffer.eo was not arround but required by the gl_generic engine, this fixes that by adding the generated source and dependencies to the software_generic dependency. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7871
* tests: add explicit test for concentric loop usageMike Blumenkrantz2019-02-011-0/+45
| | | | | | | | having multiple loops which interact is a valid use case that should be tested to ensure functionality Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Differential Revision: https://phab.enlightenment.org/D7868
* tests/elm: speed up all main loop timer executionMike Blumenkrantz2019-02-013-21/+55
| | | | | | | | | | | | | | | this spins a second loop which manages a timer to trigger the canvas tick and increase the loop timer by a fixed interval on every timer call by increasing the loop time manually, timers such as edje animation timers which would usually take a very long time (e.g., 0.5s) to run will instead complete almost instantly, making tests run much faster the second loop is necessary in this case in order to accurately provide ticks at a consistent interval without any modifications to timing Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Differential Revision: https://phab.enlightenment.org/D6791
* efl_interfaces: missing interfaces prefixLarry Lira2019-02-011-1/+1
| | | | | | | | | | | | | | Summary: efl_ui_direction_readonly.c is missing "interfaces" prefix path in .eo.c include Reviewers: lauromoura, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7848
* eolian-mono: Provide constructor parameters based on the constructorsFelipe Magno de Almeida2019-02-0112-85/+399
| | | | | | | | | | | | | | section of the Eo files. Reviewers: woohyun, segfaultxavi, bu5hm4n, felipealmeida Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7789
* examples: Example still use IPPROTO_CTP from in.hLauro Moura2019-02-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | ../src/examples/ecore/ecore_fd_handler_gnutls_example.c: In function ‘tcp_connect’: ../src/examples/ecore/ecore_fd_handler_gnutls_example.c:93:23: error: storage size of ‘sa’ isn’t known struct sockaddr_in sa; ^~ ../src/examples/ecore/ecore_fd_handler_gnutls_example.c:101:19: error: ‘IPPROTO_TCP’ undeclared (first use in this function) setsockopt(sd, IPPROTO_TCP, TCP_NODELAY, (char *)&flag, sizeof(int)); ^~~~~~~~~~~ ../src/examples/ecore/ecore_fd_handler_gnutls_example.c:101:19: note: each undeclared identifier is reported only once for each function it appears in ../src/examples/ecore/ecore_fd_handler_gnutls_example.c:106:4: warning: implicit declaration of function ‘inet_pton’; did you mean ‘eina_htonl’? [-Wimplicit-function-declaration] inet_pton(AF_INET, SERVER, &sa.sin_addr); ^~~~~~~~~ eina_htonl ../src/examples/ecore/ecore_fd_handler_gnutls_example.c:93:23: warning: unused variable ‘sa’ [-Wunused-variable] struct sockaddr_in sa; ^~ Reviewers: vtorri, raster, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7867
* replace hton and ntoh family functions with ones defined in einaVincent Torri2019-02-0128-242/+226
| | | | | | | | | | | | | | Summary: This fixes especially the execution of edje_cc on Windows Test Plan: execution of edje_cc Reviewers: cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7834
* efl-cxx: Fix compilation error when using a ptr to const any_valueFelipe Magno de Almeida2019-02-011-0/+4
| | | | | | | | | | Reviewers: lauromoura, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7858
* eo: fix efl_isa to work propertly with interfacesMarcel Hollerbach2019-02-012-13/+6
| | | | | | | | | | | | mro only contains special interfaces, not in general all, in order to have a working function, while NOT having a bad performance. In order to achive that we just copy the code that is done on efl_isa for a object. which is a linear walk of a list ref D7857 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7860
* ecore_imf: fix wrong sample codeJihoon Kim2019-02-011-1/+1
| | | | Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
* Revert "evas: make efl_canvas_animation abstract"Jaehyun Cho2019-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Efl.Canvas.Animation class can be used for custom animation with Efl.Player class' event callbacks as follows. Example code: void _anim_running_cb(void *data, const Efl_Event *event) { //Do custom animation } { Eo *anim = efl_add(EFL_CANVAS_ANIMATION_CLASS, win); Eo *player = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, efl_animation_player_animation_set(efl_added, anim)); efl_event_callback_add(player, EFL_ANIMATION_PLAYER_EVENT_RUNNING, _anim_running_cb, NULL); } As a result, Efl.Canvas.Animation is required to be a regular class instead of an abstract class. This reverts commit ea9ff9f547b54255d36973da8e8ba378c5ad2684.
* efl_ui_win_part: remove unused interfaceWooHyun Jung2019-02-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: Efl.Gfx.Entity is not used in Efl.Ui.Win.Part. The interface can be added when it is needed later. ref T5719 Test Plan: make check Reviewers: zmike, bu5hm4n, cedric, Jaehyun_Cho, Hermet Reviewed By: Hermet Subscribers: Hermet, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T5719 Differential Revision: https://phab.enlightenment.org/D7844
* evas_private: Fix typoDerek Foreman2019-01-311-1/+1
| | | | | | | | | | | | | | Summary: Depends on D7853 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7854
* evas_object_smart: Consistently use MY_CLASSDerek Foreman2019-01-311-7/+7
| | | | | | | | | | | | | | | | | Summary: While it may not be popular opinion that MY_CLASS is confusing and does more harm than good, using it sometimes and not others in the same file is pretty obviously not helpful to casual readers. Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7852
* efl_ui_win: add 'exit_on_close' property and unit testMike Blumenkrantz2019-01-313-1/+56
| | | | | | | | | | | | | | | | | | | | | | | Summary: this property can enable the associated window to quit the main loop with the passed exit code when the window is destroyed @feature fix T5494 Depends on D7594 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T5494 Differential Revision: https://phab.enlightenment.org/D7595
* efl_ui_win: add 'exit_on_all_windows_closed' class property and unit testMike Blumenkrantz2019-01-313-1/+67
| | | | | | | | | | | | | | | | | | | | | Summary: this property causes the main loop to exit with the passed exit code when the standby event is triggered @feature ref T5494 Reviewers: cedric, bu5hm4n, segfaultxavi Reviewed By: cedric, bu5hm4n, segfaultxavi Subscribers: segfaultxavi, bu5hm4n, #reviewers, #committers Tags: #efl Maniphest Tasks: T5494 Differential Revision: https://phab.enlightenment.org/D7594
* elput: Update doxygen parametersChristopher Michael2019-01-311-2/+2
| | | | NB: No functional changes
* ecore_drm2: Add API to allow settings tap-to-click on pointer deviceMichaël Bouchaud (yoz)2019-01-312-0/+19
| | | | | | | | | | | | | | | | | | Summary: Add a way to configure pointer device with tap-to-click features. @feature Depends on D7843 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7847
* elput: Add API to allow settings tap-to-click on pointer deviceMichaël Bouchaud (yoz)2019-01-312-0/+52
| | | | | | | | | | | | | | | | | Summary: Add a way to configure pointer device with tap-to-click features. @feature Reviewers: ManMower, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7843
* elm_code: Fix formatting of error stringChris Michael2019-01-311-1/+1
| | | | | the ERR line here used %s for 'mode', but 'mode is an unsigned int thus causing compiler warning. Fix it.
* ecore-evas-buffer: Fix formattingChris Michael2019-01-311-93/+93
| | | | NB: No functional changes
* efl_ui_tab_bar: fix tab sizing issueBowon Ryu2019-01-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | Summary: The default value of hint_align has changed. So change the hint_align of tab(layout) to HINT_FILL. * Recently, the size_hint_fill API has been added, but currently tab_bar is not available because it uses evas_object_box. * I plan to change evas_object_box to efl.ui.box in the future. Test Plan: elementary_test -to efl.ui.tab_pager Reviewers: Jaehyun_Cho, YOhoho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7835
* efl_model : rename all efl_model based classes.SangHyeon Jade Lee2019-01-3163-777/+777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* elementary: add test for Efl.Ui.Model_Average.Cedric BAIL2019-01-311-0/+96
| | | | | | | | | | | | | | | | Summary: Depends on D7664 Reviewers: SanghyeonLee, felipealmeida, segfaultxavi, zmike Reviewed By: SanghyeonLee Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7382 Differential Revision: https://phab.enlightenment.org/D7665
* elm: fix dereferencing issue and add error handling and remove unreachable ↵Myoungwoon Roy, Kim2019-01-302-6/+9
| | | | | | | | | | | | | | | | | | codes. Summary: I had fixed dereferencing issue and added chmod error handling(elm_code_file) I had removed unreachable codes which remains after changing arguments initiallization(efl_ui_win) Test Plan: Run unit test cases Reviewers: eagleeye, Jaehyun_Cho, Hermet, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7816
* elementary: add a test for Efl.Ui.Model_Exact.Cedric BAIL2019-01-301-0/+71
| | | | | Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7664