summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-29elm_fileselector: support expandable itemsMarcel Hollerbach
Summary: the fileselector can store exactly 1 model and monitor that for changes, which works normally just well. However, when we expand a items, another model comes into play, which is not monitored, and no additional reference is taken. Which means, _process_last will simply delete it, and elements that did not come into play at the _populate call are never displayed. With this commit, we check that we do not have a parent item, and explictly wait for the model to publish all its items, before we call _process_last. Additionally, that showed that the tracking of the list/grid item is ultimatly buggy, as there is no assertion that the parent model is really the parent directoy. Hence we need to hand pass the parent item here, as a fallback option to set the correct parent item. fixes T8689 Reviewers: zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8689 Differential Revision: https://phab.enlightenment.org/D11765
2020-04-29doxygen docs: Add missing group bracesXavi Artigas
Without them, these Evil docs had no group and therefore didn't appear anywhere.
2020-04-29doxygen docs: Add tests folder to EXAMPLE_PATHXavi Artigas
One Emotion example is located in src/tests instead of src/examples so look for examples in that folder too.
2020-04-29doxygen docs: add missing example referencesXavi Artigas
2020-04-29doxygen docs: Fix reference to Elm_StartXavi Artigas
2020-04-29doxygen docs: Replace broken URL with doxygen refXavi Artigas
2020-04-29doxygen docs: Fix missing links in Ecore_DrmXavi Artigas
Ecore_Drm_Input had SOME docs, so a group for them is created. Ecore_Drm_Sprite had NO DOCS at all, so the link is just removed. This is a deprecated library anyway.
2020-04-29doxygen docs: Fix broken links in main pageXavi Artigas
2020-04-29edje: efl: add new EFL_VERSION_1_25 define for new cycleStefan Schmidt
Allow things to be marked for the upcoming 1.25 release version while we develop it.
2020-04-29build: release freeeze overStefan Schmidt
Going back to normal development mode. Have fun!
2020-04-29release: Update NEWS and bump version for 1.24.0 releasev1.24.0Stefan Schmidt
2020-04-29doxygen docs: Add @since tags to EE selection APIXavi Artigas
This is the first time Ecore_Evas selection API is released so it has earned some @since 1.24 tags. Also, put these methods in their own group.
2020-04-29doxygen docs: Move CnP API out of the Remove Canvas groupXavi Artigas
The new CnP API had been wrongly added to the Remote Canvases group.
2020-04-29canvas vg: Correct order of data free.Hermet Park
vfd data is firstly initialized and must be freed in the last.
2020-04-28eolian_gen: mark empty setter value params as unusedDaniel Kolesa
2020-04-28eolian_gen: hack around function pointers generating unused paramsDaniel Kolesa
2020-04-28ecore-drm2: Change _output_crtc_find to accept an intChristopher Michael
There is no reason to be passing the whole device structure here just to get the fd
2020-04-28ecore-evas: Fix formattingChristopher Michael
NB: No functional changes
2020-04-28ecore-evas-drm: Fix broken init countChristopher Michael
We should not assume that there is only ever 1 drm ecore_evas here so we need to handle init count properly @fix
2020-04-28build: install eo files per defaultMarcel Hollerbach
in the last release we turned that off, because we started to stabelize API back there, but the .eo file format wasnt ready yet. Now, the file format is stable. And we stabelized more widgets, which means, we should also install the .eo files per default. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10242
2020-04-28meson: allow debug-threads to be disabled in debugBoris Faure
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11756
2020-04-28tests/elm: add more naviframe testsMike Blumenkrantz
some tests to explicitly verify callback and internal behavior Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11752
2020-04-28tests/elm: add util callback for capturing event_info in smart callbacksMike Blumenkrantz
useful when we want to verify that e.g., a certain object item is passed Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11751
2020-04-28tests/elm: add some more specific convenience macros for size checksMike Blumenkrantz
sometimes a test might only want to verify the width or height of an object Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11750
2020-04-28tests/elm: check all objects for signal interface before calling signal funcsMike Blumenkrantz
just being extra paranoid here since there's some classes which implement some layout/content interfaces without implementing signals Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11749
2020-04-28tests/elm: add a list sizing testMike Blumenkrantz
basic test to ensure that list sizing is homogeneous and works as it "should", even though list sizing internals are a black hole of lost time and dreams Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11748
2020-04-28elm/list: avoid erroring on non-elm item contentsMike Blumenkrantz
putting raw evas and edje objects in here has historically been done, so handle it without errors Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11747
2020-04-28efl_fileselector_entry: do not crash on a invalid modelMarcel Hollerbach
something is happening during shutdown, when a fileselector was created before. This is ending up in a strcmp to a NULL ptr, which crashes, with the now, we ensure that we are not crashing anymore, when that is happning. TO solve this properly we should really fix the cause of a invalid model beeing returned, however, i do not feel compftable doing that so short before a release. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11762
2020-04-28efl_ui_focus_manager_calc: correctly flag elements usedMarcel Hollerbach
when setting the relation from two widgets a<->b a is used as well as b. This now correctly sets these flags. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11730
2020-04-28canvas clip: replace hash to cached array.Hermet Park
Each child_map_across_mark() takes 0.026ms with eina_hash we can reduce the performing time by replacing the hash to array to 0.0041ms in a device. Before Average: 0.026ms Mostly it takes 23 times in the scrolling. thus it takes 3%(0.48ms) in one frame rendering (16ms) After Average: 0.0041ms Mostly it takes 23 times in the scrolling. thus it takes 0.6%(0.096ms) in one frame rendering (16ms) result: map calc 5x faster than original (0.384ms improved) Thanks Subhransu for report this. @optimization
2020-04-27elm/cnp: remove const from static function returnMike Blumenkrantz
this makes no sense ../src/lib/elementary/elm_cnp.c:54:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 54 | static inline const Elm_Sel_Format Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11759
2020-04-27doxygen docs: Fix most errors on Evas_Legacy.hXavi Artigas
Oh boy... References to Unified API, horribly misshapen groups, typos, invalid commands, invalid references, and on top of that, Evas VG.
2020-04-27doxygen docs: Put Evas_Canvas legacy methods in the right groupXavi Artigas
"Evas_Group" does not exist, and "Evas" is a top-level group without content (only subgroups). So I guess all these methods belong to the "Evas_Canvas" group. This brings even more docs into existence, fixing multiple missing references.
2020-04-27doxygen docs: Fix invalid refs to LayoutXavi Artigas
All widgets copy&pasted the same description, including an invalid reference to "Layout", which should be "Elm_Layout". SOME of them had been fixed over the years but this commit fixes all of them. This significantly reduces the number of Doxygen warnings and adds meaningful links to the docs.
2020-04-27doxygen docs: Add missing Elementary groupXavi Artigas
Elementary has a main page (elementary_main) like other libs (Ecore, Evas...) but it was missing a doxygen group like the other libs. This group is not terribly useful but it is manually referenced from dozens of places, resulting in lots of warnings. I thought this solution is simpler than removing all the manual references.
2020-04-27doxygen docs: Match doc with correct enum for Render_OpXavi Artigas
Docs did not match the intended enum value due to incorrect usage of the doxygen tags. Also, Evas_Render_Op was the only member of the top-level Evas group, so I moved it inside one subgroup, where methods using it reside.
2020-04-27doxygen docs: Put APIs in correct groupXavi Artigas
"Evas_Object" does not exist as a group, so the docs for these 29 methods did not show in the output.
2020-04-27efl_ui_image: Fix unnecessary unload of memfile_set.JunsuChoi
Summary: In D11392, fixed to call file_unload when doing memfile_set. Therefore, "load,error" callback was called while unloading object that was not loaded when first load with memfile_set. So fix it to avoid unnecessary unloading. Test Plan: {F3871804} cp ./test_imge.c ./efl/ cd efl gcc -o test_image test_image.c -g `pkg-config --cflags --libs elementary` ./test_image Loading image... Async file load failed. Image is ready to show. Reviewers: Hermet, kimcinoo, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D11758
2020-04-27doxygen docs: Document compositor sync API as deprecatedXavi Artigas
This is currently a NOP and we should remove this API later on. Meanwhile, turn the note about this API being experimental into a deprecation warning.
2020-04-26elm - combobox - pretty borken but make it a little lessCarsten Haitzler (Rasterman)
add some tests so i can see smaller comboboxes with padding and fix the scaling which was broken.
2020-04-26eolian: require opaque structs to be used by ref alwaysDaniel Kolesa
For now only in stable API.
2020-04-25efreet - work around conconforming apps putting startupwmclass in quotesCarsten Haitzler (Rasterman)
riot does StartupWMClass="Riot" https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html does not allow for quoting here. you can quote fields in an exec line - for shell and replacement purposes, but not other fields like this above. this is a workaround a broken app so matching window to desktop file works. @fix
2020-04-25evas gl - fix coverity complaint in shader cache updateCarsten Haitzler (Rasterman)
2020-04-24evas gl - shader cache was needless losing and overwritingCarsten Haitzler (Rasterman)
we were losing cached chaders and overwriting the cache all the time when apps finished compiling new shaders and at other points... when they should have already had a populated shader cache that was all fine and happy. this fixes that so once the cache is fully populated it wont write anymore and it wont lose existing shaders in the cache @fix
2020-04-24canvas layer: +prevent null layer objects.Hermet Park
2020-04-24canvas layer: find the top item for only valids.Hermet Park
In some case, top layer doesn't have valid objects, That case, we must find and return top object in the next layer.
2020-04-24evas_gl_context: reduce conditions for image orientation checkAli
Reviewers: woohyun, eunue, kimcinoo, Hermet Reviewed By: Hermet Subscribers: kimcinoo, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11755
2020-04-23exactness: check action for NULLStefan Schmidt
If the given events list is NULL the data pointer would be as well. Make sure we check for NULL here before accessing. CID: 1419843 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11754
2020-04-23exactness: use convinience ecore_file function to get dirStefan Schmidt
Instead of doing our own parsing here we should use ecore_file_dir_get() which uses dirname() already to solve this. CID: 1422196 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11727
2020-04-23exactness: do not access potential NULL pointerStefan Schmidt
These to code lines should be in one block and not one exectued without the if. CID: 1422198 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11726