summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-10tests: eina: also handle failure cases when cleaning up created files/foldersStefan Schmidt
Somethign fishy is going on if we can not delete the files and folders we created. CID: 1400986 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11955
2020-06-10ecore_drm: check return of drmModeSetCrtc()Stefan Schmidt
Report if we fail to reset the Crtc during output free. Only print an error and keep going with the rest of the output free. CID: 1402668 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11965
2020-06-10tests/ecore_wl2: Fix unchecked return valueChristopher Michael
Coverity reports that we do not check the return of eglInitialize here. Fixes Coverity CID1412362
2020-06-10tests/ecore_wl2: Fix unchecked return valueChristopher Michael
Coverity reports eglChooseConfig is called without checking return value here. This patch fixes the issue by checking the return value and by also making _init_egl return a bool so that we can fail the test if eglChooseConfig results in failure. Fixes Coverity CID1412365
2020-06-10ecore_wl2_tests: Fix formattingChristopher Michael
2020-06-10evas stack: ++safe code.Hermet Park
null check to prevent any crashes (just in case)
2020-06-10tests: eina: check return of eina_module_load and unloadStefan Schmidt
These could fail as well. Check in testsuite. CID: 1400961 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11959
2020-06-10tests: evas: check fd being non -1 before using close()Stefan Schmidt
eina_file_mkstemp would return -1 in an error case. Make sure we check the return when clsoing here. CID: 1400790 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11957
2020-06-10Use extern after EAPIVincent Torri
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11961
2020-06-10ui textpath: updated doc.Hermet Park
2020-06-10efl_ui_textpath: add the efl_ui_textpath_text_user_style_set API for ↵Taehyub Kim
applying the user text style Summary: For the text style customizing, added the new API to apply user text style. The following example is the user style sample. DEFAULT='font_size=16 color=#F00 underline=on underline_color=#00ffff'"; {F3899541} Test Plan: 1. run elementary_text (textpath) 2. toggle user style check box 3. see the result Reviewers: Hermet, kimcinoo, jsuya, bu5hm4n Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11953
2020-06-09mono: update window constructionMarcel Hollerbach
they simply missed parameters here Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11954
2020-06-09ci: travis: disable the webp loader on CI builds for nowStefan Schmidt
With the bump of the needed libwebp version to 1.1.0 we have have our Debian and Ubuntu builds failing with a to old version. Disable by default in CI for now and check back later.
2020-06-09efreet - handle runtime relocation right with default XDG_DATA_DIRSCarsten Haitzler (Rasterman)
XDG_DATA_DIRS was only set up to a default including where efl was installed prefix-wise as the compiled-=in prefix, not runtime determined prefix. it shouldn't actually affect most people except those making use of this. @fix
2020-06-09eina - prefix - use smaller buffers for building stringsCarsten Haitzler (Rasterman)
use less stack space but no features as buffers are big enough for all content used or alloca'd now.
2020-06-09eina - abstratc content - smaller stack buffer for limited size stringCarsten Haitzler (Rasterman)
no need for a 4k buffer when 128 bytes will be plenty - short string.
2020-06-09efl_ui_win: declare constructors not optionalMarcel Hollerbach
they cannot be optional, or in later languages types will collide. Differential Revision: https://phab.enlightenment.org/D11741
2020-06-09cxx: Fix uses of intrinsic eolian binbuf typeFelipe Magno de Almeida
Add special binbuf and Eina_Strbuf conversions Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11950
2020-06-09eo-files: convert all Eina.Strbuf & Eina.BinbufMarcel Hollerbach
these structs should not be used, but rather the builtin types that exist for it. Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11742
2020-06-09dotnet: Ignore Efl.Object.parent as constructorFelipe Magno de Almeida
In C# we already have Efl.Object.parent as an implicit constructor. Ignore it if it is marked as a constructor. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11951
2020-06-09eo: make the parent a optional constructorMarcel Hollerbach
this is needed in order to sanely bind parent calls to some objejcts, but not all. However, from the canvas structure up we *need* a parent, so we can fetch the evas from it. So declare it there a none optional Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11734
2020-06-09Revert "ci: disable wepb loader until we have a change to update the mingw ↵Stefan Schmidt
cross env" This reverts commit 63b1334e2c98f0c0f08801ce77d66f372e7abb30. No longer needed as we have updated the mingw image to have 1.1.0 available.
2020-06-09doxygen docs: Fix API reference group to Ecore_EoMyoungwoon Roy, Kim
This patch fixs a wrong group name in Ecore_Eo API reference Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11952
2020-06-09evas_vg_cache: Don't caching vg file if value_provider is applied.JunsuChoi
Summary: value_provider can change the value of the property received from VG file. When a file is cached, the changed properties are applied to all other objects using the same file. So. If value provider is applied, evas_vg_cache is not caching vg file. Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11924
2020-06-09evas_common_font: release reallocated glyphs bitmaps dataAli Alzyod
Reviewers: woohyun, smohanty Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8743 Differential Revision: https://phab.enlightenment.org/D11945
2020-06-08elementary/example: Fix memory leak in gengrid testSubhransu Mohanty
Reviewers: Hermet, SanghyeonLee Reviewed By: Hermet, SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11928
2020-06-08ecore_ipc: Fix memory leakSubhransu Mohanty
Summary: As delete_me flag was not updated in the delete callback it dosen't call ecore_ipc_client_del() on the client hence the leak. Reviewers: Hermet, raster, bu5hm4n, CHAN Reviewed By: Hermet, CHAN Subscribers: CHAN, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11927
2020-06-08canvas gl: remove out-dated compiler keywordsHermet Park
2020-06-08exactness: record and print test time on successStefan Schmidt
Having the runtime of a test is interesting for debugging and optimization. Printing them only on success for now. Differential Revision: https://phab.enlightenment.org/D11935
2020-06-08ci: travis: add more fold and timing markers in some forgotten placesStefan Schmidt
In teh initial patch we forgot some interesting places we also want to fold and get timing info on. Dependency installation, cross native build step, coverity tools download and codecov run. Differential Revision: https://phab.enlightenment.org/D11938
2020-06-08ci: simplify ccache setup handlingStefan Schmidt
We no longer need the special case for release ready. This was needed for the way autotools setup directories, which we no longer use. (We are not having a config.log anymore) Differential Revision: https://phab.enlightenment.org/D11937
2020-06-08ci: disable wepb loader until we have a change to update the mingw cross envStefan Schmidt
We now need webp 1.1.0 and our current mingw cross env only has 1.0.2. Disable to keep CI working while we update.
2020-06-08webp: add version check in configuration timeWooHyun Jung
Reviewers: Hermet, herb, bu5hm4n, stefan_schmidt Reviewed By: stefan_schmidt Subscribers: stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11926
2020-06-08eldbus: fix the data size issue.Hermet Park
Summary: dbus message requires the void* value for the message data, the returned value of dbus_message_iter_get_basic() can be mismatched by to the architure, This could bring the returned va_argues memory corrupted among the series of values. We can use the defined type for exceptions. Reviewers: herb, kimcinoo, jsuya, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11940
2020-06-06ci: drop lua from default binding set as elua is off by defaultDaniel Kolesa
2020-06-06build: disable elua by default, plus nicer detectionDaniel Kolesa
Elua is now disabled by default. There are some other changes: 1) Elua scripts are only installed if Elua is enabled 2) Lua bindings are only installed if Elua is enabled 3) Elua with interpreter is clearly experimental and will message
2020-06-05emotion: remove all left overs from removed backendsStefan Schmidt
We removed them in the last release. Make sure we cleanup all the references and dead code still belonging to it. Extra note on the Emotion_Module enum removal. While it was exposed in the public Emotion.h header it is never used anywhere in the code and has no purpose, thus it can safely be removed. Reviewed-by: Carsten Haitzler (Rasterman) <raster@rasterman.com> Differential Revision: https://phab.enlightenment.org/D11941
2020-06-05build: do not publish surface .eo filesMarcel Hollerbach
they are privat, they should never be installed. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11933
2020-06-05evas: correctly declare filter_internal as public APIMarcel Hollerbach
I know this is internal. However it is public used in public .eo files. Even if it is internal, and beta, we still need to expose the API in order to have it correctly in the .so. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11932
2020-06-05edje: markup flag should be TRUE in legacy edje_object_part_text_setBowon Ryu
Summary: Through some APIs (elm_entry_editable_set, elm_entry_single_line_set, etc.) located after edje_object_part_text_set(legacy) If efl_ui_widget_theme_apply is called, In edje_object_part_text_raw_generic_set, the legacy flag becomes FALSE. And in this case, the logic works in the unintended direction because the set_markup flag is FALSE. Test Plan: /* gcc -o entry_example entry.c `pkg-config --cflags --libs elementary` */ #include <Elementary.h> EAPI_MAIN int elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) { Evas_Object *win, *en; elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); win = elm_win_util_standard_add("entry-example", "test"); elm_win_autodel_set(win, EINA_TRUE); en = elm_entry_add(win); evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_object_part_text_set(en, "elm.guide", "<font_size=32 color=#FFF>TEST</font_size>"); elm_entry_editable_set(en, EINA_FALSE); evas_object_show(en); elm_object_content_set(win, en); evas_object_resize(win, 300, 200); evas_object_show(win); elm_run(); return 0; } ELM_MAIN() Reviewers: woohyun, ali.alzyod Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11868
2020-06-04evas - genetic update regions smart merge - merge v adjacent regionsCarsten Haitzler (Rasterman)
regions sometimes produce box sets like: // +---+ // | | // +---+ +-------+ // | | | | // +---+ +-------+---------+ // | | // | | // +-----------------+ so the upper-left 2 boxes can be merged into 1 and they have the same x coords and are flush-aligned one above the other. that is what this does - find these and merge them to have fewer rects @fix
2020-06-04evas render - add debug to draw boxes around update regionsCarsten Haitzler (Rasterman)
helps debug update regions to see if there is too much overdraw or too many regions. i smelled too manhy and this showed it. i was right. fix for too many regions coming next
2020-06-04tiler - add maxreg for newtiler - not used atm but matches currentCarsten Haitzler (Rasterman)
2020-06-04need to upgrade meson. it looks like older ones have troubleCarsten Haitzler (Rasterman)
like adding endless: -lm -ldl -lm -ldl ....
2020-06-04evas gl - tune gl engine to use a bit less cpu overheadCarsten Haitzler (Rasterman)
we have used a fair bit of cpu to avoid gpu overhead and this tunes the balance back a bit to throwing more at the gpu and less at the cpu by reducing the number of pipes and max vertex counts per pipe by default and only resetting pipe state vars if adding the first pipe member. @opt
2020-06-04elm test - animated icon - big win to have a bg and not garbageCarsten Haitzler (Rasterman)
2020-06-04build: move static out of none_staticMarcel Hollerbach
Summary: these are static libs, they shall not be in the static list. Reviewers: stefan_schmidt, jsuya Reviewed By: stefan_schmidt, jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11923
2020-06-04Efl.Canvas.Vg.Object: Fix backup sizeJunsuChoi
Summary: Make the size to be backed up and the size to be compared equal. and minor fix Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11925
2020-06-04Efl.Gfx.Path: Modify boundary calculation.JunsuChoi
Summary: The point of the path is of type float. The boundary must contain the coordinates of the point, so min_x,y value must be round down and the max value round up. Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11917
2020-06-03ci: log time in every fold start and endStefan Schmidt
Annotating the build log with timings will help us to understand better where the time is spend during the builds and see areas to optimize. Switching over to the "native" bash functions in Travis, so switching all scripts to bash. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11913