summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release: Update NEWS and bump version for 1.25.0-beta2 releasev1.25.0-beta2Stefan Schmidt2020-09-071-0/+4
|
* elm_gesture_layer: fix crash caused by elm_gesture_layer_cb_del in cbJaehyun Cho2020-09-071-1/+3
| | | | | | | elm_gesture_layer_cb_del can be called in Elm_Gesture_Event_Cb cb set by elm_gesture_layer_cb_set and cb_info of the cb is free in the cb. This causes crash if cb_info is searched with EINA_INLIST_FOREACH.
* elm cnp - make matchers const and static tooCarsten Haitzler (Rasterman)2020-09-051-2/+2
|
* elm_cnp: adjust image type to real formatMarcel Hollerbach2020-09-051-1/+51
| | | | | | | | | | | | | | | we should never say that we have image/png etc. if we do not have the respective format. Otherwise we are just confusing the other client. With this you can copy things from elm to thunderbird / libreoffice writer / firefox / telegram / chromium. Please note if you test this: Start *a new xorg session* it was discovered that xorg clients tent to be totally confused if there was a protocol error before, or some wrong mime type was delivered before, thunderbird even likes to crash if this is not done. This should at some point be extended to more image types.
* ecore_evas_x: reply in *any* way with XdndStatusMarcel Hollerbach2020-09-041-2/+1
| | | | | otherwise Xorg stops sometimes to continue sending callbacks to us. Which results in a broken state maschine.
* ecore x - fix typo in internal backdoor api to get vsync debugCarsten Haitzler (Rasterman)2020-09-042-2/+2
|
* ecore drm - increase timeout for flips from 0.05 to 2.0 secCarsten Haitzler (Rasterman)2020-09-041-1/+1
| | | | | | | | so our timeout is far too agressive. we cant stay hung on buggy devices/drivers though so make the timeout 2s instead of 0.05s so we dont go retrying flips too agressively which causes stuttering @fix
* vg_load_svg: Fix pointing to wrong parentJunsuChoi2020-09-041-10/+20
| | | | | | | | | | | | | | | | | | | | | | Summary: If defs type is open empty style, it is not included in stack. Because the current logic is weak to group tags in sibling relationships. If defs of open-empty type is placed before the group tag, the group tag refers to the wrong parent. This patch prevents it. This change is the same concept as the D12127, which was reverted to 5065c9d0c2. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, herb, kimcinoo, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12129
* docs: Add the missing API page name to elementary and evasMyoungwoon Roy, Kim2020-09-037-7/+7
| | | | | | | I had found missing API reference page name. There should be page name to each API defgroup Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12128
* edje - calc - handle swallow disappearing mid-calc due to callabcksCarsten Haitzler (Rasterman)2020-09-031-6/+11
| | | | | | | callbacks attached to move/resize etc. can change a swallow and .. well.. i hit a crash where it happens. so handle this case. @fix
* Revert "SvgLoader: Defs type nodes are not saved in loader's node list."Hermet Park2020-09-031-12/+6
| | | | | | This reverts commit 40b6e44947740133df20d97ca3ed65268037af20. This has some side effects, we will intrdouce it again after fix it.
* SvgLoader: Defs type nodes are not saved in loader's node list.JunsuChoi2020-09-021-6/+12
| | | | | | | | | | | | | | | | | | | Summary: If there is an empty (unused) <defs /> inside the svg file, this can cause problems. <defs> node is managed separately in loader->def. So it doesn't have to be added to loader's list. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers, kimcinoo, herb Tags: #efl Differential Revision: https://phab.enlightenment.org/D12127
* eina file test: check rmdir result.Vincent Torri2020-09-021-1/+1
| | | | | | | Fix CID 1432267 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12125
* build: only find env onceMarcel Hollerbach2020-09-023-4/+2
| | | | | this was a bit messy, and we might have caused a bug on the ML with that.
* efl_ui_focus_manager_calc: fix CIDMarcel Hollerbach2020-09-011-3/+12
| | | | | | coverity was complaining that the DIRECTION ACCESS macro might access over a negative direction. However, complement of a 2D direction is always a 2D direction. But coverity cannot detect that.
* eldbus: use the const macros we haveMarcel Hollerbach2020-09-011-1/+1
| | | | clang warns about that, its rather harmless, but nicer.
* efl: resolve warnings over misleading codeMarcel Hollerbach2020-09-012-2/+8
| | | | | this is meant to be like this, but clang thought of an intention mistake here that went unsighted.
* benchmarks: specify this outside extern "C"Marcel Hollerbach2020-09-011-7/+7
| | | | uint128 is defined as a c++ specific type.
* eldbus_fake_server: fix string format usageMarcel Hollerbach2020-09-011-3/+1
| | | | | we know that there is no % etc. formatting in this string, however, we can just use the ck abort msg macro from libcheck directly.
* efl: remove unused functionsMarcel Hollerbach2020-09-014-109/+0
| | | | | these are not used, if they are used again in the future, they can be get back via git.
* efl: remove bool and string pointer mixupMarcel Hollerbach2020-09-012-2/+2
|
* edje_cc: Fix uninitialized scalar variableWoochanlee2020-09-011-1/+1
| | | | | | | | | | | | | | | | 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
* elm icon/thumb - fix handling of a wider range of video extnsCarsten Haitzler (Rasterman)2020-09-013-9/+23
| | | | | | | | 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
* Revert "evas_textblock: rainbow flag emoji treated as two clusters(update ↵Stefan Schmidt2020-09-0125-986/+344
| | | | | | | | unibreak to version 4.2)" This reverts commit 1ab71284db89dcc37da12dd56796e892bc50ae0a. We are in freeze.
* evas_textblock: remove style padding from native width and formatted heightYoungbok Shin2020-09-013-25/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* evas_textblock: rainbow flag emoji treated as two clusters(update unibreak ↵AbdullehGhujeh2020-09-0125-344/+986
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* eeze_mount binary: more secure check extension ('.iso' and not 'iso')Vincent Torri2020-09-011-1/+1
| | | | | Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12123
* ecore_file_can_exec: fix .bat caseVincent Torri2020-09-011-6/+6
| | | | | | | | 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
* release: Update NEWS and bump version for 1.25.0-beta1 releasev1.25.0-beta1Stefan Schmidt2020-08-311-0/+3
|
* Evil: add gettimeofday()Vincent Torri2020-08-314-2/+97
| | | | | | | | 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
* Ecore: more precise implementation of ecore_time_get on WindowsVincent Torri2020-08-311-10/+22
| | | | | | | | 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
* ecore-file: fix ecore_file_can_exec() on WindowsVincent Torri2020-08-311-1/+87
| | | | | | | | 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
* eina: Replace remove with rmdir and delete tmpstrJoão Paulo Taylor Ienczak Zanette2020-08-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* elm_theme: more secure check extension as '.edj' and not 'edj'Vincent Torri2020-08-311-2/+2
| | | | | Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12121
* evas load - dont lose skip flg update after async head skip load fixCarsten Haitzler (Rasterman)2020-08-301-1/+2
| | | | | | | 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
* evas - image cache - fix loading with skip head on to load changed filesCarsten Haitzler (Rasterman)2020-08-301-30/+16
| | | | | | | | 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
* eina - statgen (stat generation) - fix enable api to actually enableCarsten Haitzler (Rasterman)2020-08-301-1/+1
| | | | | | | | 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
* ecore exe - fig signal block to unblock again - some sys dont on execCarsten Haitzler (Rasterman)2020-08-282-71/+90
| | | | | | | | 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
* efl_ui_image: update orientation immediatelyShinwoo Kim2020-08-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* elm_config: rescale is needed when font or font size is changedWooHyun Jung2020-08-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* evas device - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)2020-08-251-9/+9
|
* elm access - fix enum cast warning - checked valuesCarsten Haitzler (Rasterman)2020-08-251-1/+2
|
* edje - fix enum cast warning - checked valuesCarsten Haitzler (Rasterman)2020-08-251-1/+1
|
* elm - efl ui text - fix enum return to use right enumCarsten Haitzler (Rasterman)2020-08-251-1/+1
|
* elm - main - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)2020-08-251-2/+2
|
* edje - fix enum cast warnings - checked valuesCarsten Haitzler (Rasterman)2020-08-252-2/+2
|
* evas - canvas - fix enum cast warning by removing castCarsten Haitzler (Rasterman)2020-08-251-1/+1
|
* evas - image - fix enum cast warnings - checkedCarsten Haitzler (Rasterman)2020-08-251-2/+2
|
* evas vg - fix warning for enum casts with explicit ones - checkedCarsten Haitzler (Rasterman)2020-08-251-2/+2
|
* elm - flip - fix enum cast warnings - cheked values matchCarsten Haitzler (Rasterman)2020-08-252-6/+6
|