summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-01benchmarks: specify this outside extern "C"Marcel Hollerbach
uint128 is defined as a c++ specific type.
2020-09-01eldbus_fake_server: fix string format usageMarcel Hollerbach
we know that there is no % etc. formatting in this string, however, we can just use the ck abort msg macro from libcheck directly.
2020-09-01efl: remove unused functionsMarcel Hollerbach
these are not used, if they are used again in the future, they can be get back via git.
2020-09-01efl: remove bool and string pointer mixupMarcel Hollerbach
2020-09-01edje_cc: Fix uninitialized scalar variableWoochanlee
Summary: mo_path can using for fprintf in using_file function without initialize. fix coverity. Reviewers: Hermet, raster Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12120
2020-09-01elm icon/thumb - fix handling of a wider range of video extnsCarsten Haitzler (Rasterman)
the xetension list for video files was far too small. it menas it missed many kinds of video files. this fixes that to have a much wider range/list. @fix
2020-09-01Revert "evas_textblock: rainbow flag emoji treated as two clusters(update ↵Stefan Schmidt
unibreak to version 4.2)" This reverts commit 1ab71284db89dcc37da12dd56796e892bc50ae0a. We are in freeze.
2020-09-01evas_textblock: remove style padding from native width and formatted heightYoungbok Shin
Summary: The style padding was included in native width(not in native height) and formatted height(not in formatted width). This is so weired. In addition, there is no enough document about the relation between formatted size, native size and the style padding. This issue is caused by a confusing code which is about how to handle the style padding on item's width and height.("x_adjustment"!) When Evas calculates "c->wmax" in line finalization stage, it explicitly subtract style padding from line width. So, I assumed the formatted size has not to include style padding. It is same for the native size. The style padding will not be included in formatted size and native size by this commit. @fix Test Plan: A test case is included in this commit. Evas_Object *tb = evas_object_textblock_add(evas); newst = evas_textblock_style_new(); evas_textblock_style_set(newst, "DEFAULT='font=Sans font_size=50 color=#000 text_class=entry'"); evas_object_textblock_style_set(tb, newst); evas_object_textblock_text_markup_set(tb, "<style=far_soft_shadow>Test</>"); evas_object_textblock_style_insets_get(tb, &l, &r, &t, &b); fail_if((l != 0) || (r != 4) || (t != 0) || (b != 4)); /* Size with style padding */ evas_object_textblock_size_formatted_get(tb, &w, &h); evas_object_textblock_size_native_get(tb, &nw, &nh); /* It is non-sense if the following condition is true. */ fail_if((w + l + r == nw) && (h == nh + t + b)); Reviewers: raster, ali.alzyod, woohyun, bowonryu Reviewed By: ali.alzyod Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12110
2020-09-01evas_textblock: rainbow flag emoji treated as two clusters(update unibreak ↵AbdullehGhujeh
to version 4.2) Summary: if we have rainbow flag emoji (&#x1f3f3;&#xfe0f;&#x200d;&#x1f308;) we can use mouse/keyboard to move cursor inside it because we break it into two clusters, we break on 1F308, This is wrong as we should treat emoji as a single cluster (based on rules mentioned in Unicode segmentation standard “Do not break within emoji modifier sequences or emoji ZWJ sequences” (https://unicode.org/reports/tr29/#GB11 )). this issue happens because we don’t give 1F308 its correct grapheme break property value, I think this is a bug in the unibreak library as this Unicode 1F308 should have word break class value equals to Glue_After_ZWJ (based on https://www.unicode.org/reports/tr29/tr29-31.html#Glue_After_Zwj_WB and http://unicode.org/Public/emoji/5.0/emoji-zwj-sequences.txt) which will not make it break and we will get a single cluster. I noticed that the current unibreak lib used in EFL seems to implement Unicode 9 (latest is Unicode 13) which uses obsolete and unused grapheme break property, such as E_Modifier & Glue_After_ZWJ, so if a new emoji introduced (rainbow flag was introduced after Unicode 9) and based on Unicode 9 it should use property E_Modifier or Glue_After_ZWJ we will have issue with it. So I have updated unibreak lib using latest released version of unibreak (4.2) which implement Unicode 12. I needed to remove **BREAK_AFTER(i)** to pass the tests in D1140 as spaces do not break on latest update (also related to T995). {F3868712} this should fix T8665 & T8688 Reviewers: ali.alzyod, woohyun, bowonryu, zmike, segfaultxavi, bu5hm4n Reviewed By: ali.alzyod Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8665 Differential Revision: https://phab.enlightenment.org/D11743
2020-09-01eeze_mount binary: more secure check extension ('.iso' and not 'iso')Vincent Torri
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12123
2020-09-01ecore_file_can_exec: fix .bat caseVincent Torri
the test on the .bat file was too early Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12122
2020-08-31release: Update NEWS and bump version for 1.25.0-beta1 releasev1.25.0-beta1Stefan Schmidt
2020-08-31Evil: add gettimeofday()Vincent Torri
Add gettimeofday implementation based on the mingw one, using a more acurate function if Windows >= 8 Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12111
2020-08-31Ecore: more precise implementation of ecore_time_get on WindowsVincent Torri
Implement directly monotonic clock on Windows, to have more accurate results Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12112
2020-08-31ecore-file: fix ecore_file_can_exec() on WindowsVincent Torri
on Windows access() has no support of X_OK (see https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=vs-2019), use SHGetFileInfo() instead Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12118
2020-08-31eina: Replace remove with rmdir and delete tmpstrJoão Paulo Taylor Ienczak Zanette
Although the [remove manpage](https://linux.die.net/man/3/remove) states that `remove(...)` deletes either a file or a directory, this is not true in Windows as it can be seen in [MSDN docs for remove](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/remove-wremove?view=vs-2019): > **(Function description)** > > Delete a file. > > **Return Value** > > Each of these functions returns 0 if the file is successfully deleted. > Otherwise, **it returns -1 and sets errno either to EACCES to indicate that the > path** specifies a read-only file, //**specifies a directory**//, or the file > is open, or to ENOENT to indicate that the filename or path was not found. This implementation detail caused the Eina test to fail and not removing the temporary directory. This patch changes the use of `remove` to the directory-specific `rmdir`, which is guaranteed to remove the directory. Additionally, it also deletes the Eina_TmpStr that holds the temporary directory path. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12115
2020-08-31elm_theme: more secure check extension as '.edj' and not 'edj'Vincent Torri
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12121
2020-08-30evas load - dont lose skip flg update after async head skip load fixCarsten Haitzler (Rasterman)
119d9f39dd9ba67068a6abb77990ea859d4266f6 fixed async loads when head skip was on but it broke informing the evas image object of the file handles etc. by losing the skip head flag in the image entry. this fixes that
2020-08-30evas - image cache - fix loading with skip head on to load changed filesCarsten Haitzler (Rasterman)
changed files were not being detected as stas was being skipped if skip head was enabled. this means we totally didnt see changes to files if loaded this way until caches were cycled/flushed/removed @fix
2020-08-30eina - statgen (stat generation) - fix enable api to actually enableCarsten Haitzler (Rasterman)
it wasn't being enabled thus missing an entire optimization limiting stats to "once per frame" etc. to avoid overly syscall+io happy code from having as much of an impact @fix
2020-08-28ecore exe - fig signal block to unblock again - some sys dont on execCarsten Haitzler (Rasterman)
it seems some libc's or systes dont reset signal mask blocks on exec(). this unblocks manuaklly jus befor eexec, moves blocking to before fork and adds a "nuke all signal handlers" in the child process. fixes T8797
2020-08-28efl_ui_image: update orientation immediatelyShinwoo Kim
Summary: It is able to get orientation information of inlined image object. This information should be same during its life time. The inlined image object got correct information only after size calculation, so there is a kind of timing issue. An example will be attached for more details. I am not sure what the regression bug mentioned on D6855, but this will keep compatibility of behavior. Actually it seems that the compatibility was broken by D9686 which does not call _efl_ui_image_sizing_eval immediately. Test Plan: {F3947703} Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12114
2020-08-28elm_config: rescale is needed when font or font size is changedWooHyun Jung
Summary: This patch fixes the issue that any application is not rescaled when font or font size is changed by elementary_config. Test Plan: 1. run elementary_test 2. run elementary_config 3. change the font in elementary_config 4. check the button size in elementary_test Reviewers: id213sin, ali.alzyod, devilhorns, raster Reviewed By: devilhorns, raster Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12117
2020-08-25evas device - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)
2020-08-25elm access - fix enum cast warning - checked valuesCarsten Haitzler (Rasterman)
2020-08-25edje - fix enum cast warning - checked valuesCarsten Haitzler (Rasterman)
2020-08-25elm - efl ui text - fix enum return to use right enumCarsten Haitzler (Rasterman)
2020-08-25elm - main - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)
2020-08-25edje - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)
2020-08-25evas - canvas - fix enum cast warning by removing castCarsten Haitzler (Rasterman)
2020-08-25evas - image - fix enum cast warnings - checkedCarsten Haitzler (Rasterman)
2020-08-25evas vg - fix warning for enum casts with explicit ones - checkedCarsten Haitzler (Rasterman)
2020-08-25elm - flip - fix enum cast warnings - cheked values matchCarsten Haitzler (Rasterman)
2020-08-25evas - callbacks - fix casting warnings - checked flags are the sameCarsten Haitzler (Rasterman)
2020-08-25evas - image+proxy - fix enum cast warnings with casts - checkedCarsten Haitzler (Rasterman)
2020-08-25evas - sw generic - fix enum cast warn - valid checkedCarsten Haitzler (Rasterman)
2020-08-25evas - obj main - fix enum warnings with valid castsCarsten Haitzler (Rasterman)
2020-08-25evas - canavs vg shape - cast enums - valid - checked - fix warningsCarsten Haitzler (Rasterman)
2020-08-25ecore evas, edje - fix use of evas seat device enumCarsten Haitzler (Rasterman)
2020-08-25elm cnp/dnd - use right evas device enum for seatCarsten Haitzler (Rasterman)
2020-08-25elm scroller - fix mapping of block enums - was brokenCarsten Haitzler (Rasterman)
2020-08-25elm - focus legacy - fix enum implicit casts with explicit - validCarsten Haitzler (Rasterman)
these casts are valid (i checked) to make them explicit and remove warnings
2020-08-25elm - efl ui widget - fix enum warnings with valid castsCarsten Haitzler (Rasterman)
2020-08-25elm image - zoomable - fix enum warnings with valid castsCarsten Haitzler (Rasterman)
2020-08-25evas - sw generic - fix enum passing with casts or correct types fix wrnCarsten Haitzler (Rasterman)
2020-08-25evas - legacy events - cast enums after checking its ok - wrn fixCarsten Haitzler (Rasterman)
2020-08-25evas events - cast enums after checking their values match - fix wrnsCarsten Haitzler (Rasterman)
2020-08-25ecore evas - use correct enums for legacy funcstions to remove warnsCarsten Haitzler (Rasterman)
2020-08-25elm - efl ui win - fix enum handling with explicit casts where neededCarsten Haitzler (Rasterman)
warnings and cash enums to show we really do keep enums in sync
2020-08-25ecore evas - module - use correct enumsCarsten Haitzler (Rasterman)