Marcel Hollerbach [Wed, 2 Sep 2020 07:25:51 +0000 (09:25 +0200)]
build: only find env once
this was a bit messy, and we might have caused a bug on the ML with
that.
Hosang Kim [Wed, 2 Sep 2020 04:16:09 +0000 (13:16 +0900)]
ecore_wl2: check reference count for avoiding crash
@tizen_only
Change-Id: Icbbcfa21a309afef7d871981d94f82dc4ab5b9b0
Taehyub Kim [Tue, 25 Aug 2020 10:27:40 +0000 (19:27 +0900)]
evas_vg: remove since tizen 6.0 tags for auto generating tags
Change-Id: I692b25e3044a509581979a2400d2ce5784f1fac4
Woochanlee [Wed, 2 Sep 2020 03:04:31 +0000 (12:04 +0900)]
elm_config: Fix wrong type conversion
User set the env value as "0" or "1"
but in previouse case the result was always true.
Change-Id: I97206cbc06d73211c871b4d5cb9e44d54ef85b31
Marcel Hollerbach [Tue, 1 Sep 2020 12:10:21 +0000 (14:10 +0200)]
efl_ui_focus_manager_calc: fix CID
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.
Marcel Hollerbach [Tue, 1 Sep 2020 11:25:06 +0000 (13:25 +0200)]
eldbus: use the const macros we have
clang warns about that, its rather harmless, but nicer.
Marcel Hollerbach [Tue, 1 Sep 2020 11:23:42 +0000 (13:23 +0200)]
efl: resolve warnings over misleading code
this is meant to be like this, but clang thought of an intention mistake
here that went unsighted.
Marcel Hollerbach [Tue, 1 Sep 2020 11:10:03 +0000 (13:10 +0200)]
benchmarks: specify this outside extern "C"
uint128 is defined as a c++ specific type.
Marcel Hollerbach [Tue, 1 Sep 2020 11:03:46 +0000 (13:03 +0200)]
eldbus_fake_server: fix string format usage
we know that there is no % etc. formatting in this string, however, we
can just use the ck abort msg macro from libcheck directly.
Marcel Hollerbach [Tue, 1 Sep 2020 11:09:37 +0000 (13:09 +0200)]
efl: remove unused functions
these are not used, if they are used again in the future, they can be
get back via git.
Marcel Hollerbach [Tue, 1 Sep 2020 11:02:51 +0000 (13:02 +0200)]
efl: remove bool and string pointer mixup
Carsten Haitzler (Rasterman) [Tue, 1 Sep 2020 11:25:01 +0000 (12:25 +0100)]
elm icon/thumb - fix handling of a wider range of video extns
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
Youngbok Shin [Tue, 1 Sep 2020 10:39:13 +0000 (19:39 +0900)]
evas_textblock: remove style padding from native width and formatted height
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
Vincent Torri [Mon, 31 Aug 2020 13:54:53 +0000 (13:54 +0000)]
eeze_mount binary: more secure check extension ('.iso' and not 'iso')
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12123
Vincent Torri [Mon, 31 Aug 2020 13:46:51 +0000 (13:46 +0000)]
ecore_file_can_exec: fix .bat case
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
Woochanlee [Tue, 1 Sep 2020 04:21:24 +0000 (13:21 +0900)]
elm_entry: Remove drag & drop feature in entry.
The drag & drop feature is no more support in Tizen platform.
there is no UX for it.
@tizen_feature
Change-Id: Ia0956943cc8ccc94add9cfea30063b774cc79795
Stefan Schmidt [Mon, 31 Aug 2020 12:53:15 +0000 (14:53 +0200)]
release: Update NEWS and bump version for 1.25.0-beta1 release
Vincent Torri [Wed, 26 Aug 2020 18:44:28 +0000 (18:44 +0000)]
Evil: add gettimeofday()
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
Vincent Torri [Sat, 22 Aug 2020 05:56:05 +0000 (05:56 +0000)]
Ecore: more precise implementation of ecore_time_get on Windows
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
Vincent Torri [Mon, 31 Aug 2020 11:55:09 +0000 (11:55 +0000)]
ecore-file: fix ecore_file_can_exec() on Windows
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
João Paulo Taylor Ienczak Zanette [Mon, 24 Aug 2020 16:52:43 +0000 (16:52 +0000)]
eina: Replace remove with rmdir and delete tmpstr
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
Vincent Torri [Sun, 30 Aug 2020 20:22:49 +0000 (20:22 +0000)]
elm_theme: more secure check extension as '.edj' and not 'edj'
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12121
Carsten Haitzler (Rasterman) [Sun, 30 Aug 2020 17:46:48 +0000 (18:46 +0100)]
evas load - dont lose skip flg update after async head skip load fix
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
Carsten Haitzler (Rasterman) [Sun, 30 Aug 2020 11:05:17 +0000 (12:05 +0100)]
evas - image cache - fix loading with skip head on to load changed files
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
Carsten Haitzler (Rasterman) [Sun, 30 Aug 2020 11:04:13 +0000 (12:04 +0100)]
eina - statgen (stat generation) - fix enable api to actually enable
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
Carsten Haitzler (Rasterman) [Fri, 28 Aug 2020 12:48:20 +0000 (13:48 +0100)]
ecore exe - fig signal block to unblock again - some sys dont on exec
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
WooHyun Jung [Fri, 28 Aug 2020 01:16:29 +0000 (10:16 +0900)]
elm_config: rescale is needed when font or font size is changed
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
Shinwoo Kim [Fri, 28 Aug 2020 05:54:11 +0000 (14:54 +0900)]
efl_ui_image: update orientation immediately
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
Change-Id: Ifc2cbd61b85211d0063113ef23d41472dffc324e
Woochanlee [Thu, 27 Aug 2020 06:57:18 +0000 (15:57 +0900)]
edje_cc: Fix uninitialized scalar variable
mo_path can using for fprintf in using_file function without initialize.
Change-Id: I5cb724c490433c74730183e9d178973fb526f6a8
CID: 1147436
Youngbok Shin [Thu, 27 Aug 2020 06:23:07 +0000 (15:23 +0900)]
elementary/entry: fix an issue that texts are not translated in copy&paste popup
The package name is changed to "efl" which is used for packaging locale files.
@tizen_fix
Change-Id: Ic804a149329cae433ae346ffc04b2a9e602c6428
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 12:20:13 +0000 (13:20 +0100)]
evas device - fix enum cast warnings - checked values
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:58:50 +0000 (12:58 +0100)]
elm access - fix enum cast warning - checked values
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:49:22 +0000 (12:49 +0100)]
edje - fix enum cast warning - checked values
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:47:39 +0000 (12:47 +0100)]
elm - efl ui text - fix enum return to use right enum
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:46:12 +0000 (12:46 +0100)]
elm - main - fix enum cast warnings - checked values
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:44:15 +0000 (12:44 +0100)]
edje - fix enum cast warnings - checked values
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:38:29 +0000 (12:38 +0100)]
evas - canvas - fix enum cast warning by removing cast
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:36:14 +0000 (12:36 +0100)]
evas - image - fix enum cast warnings - checked
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 11:05:58 +0000 (12:05 +0100)]
evas vg - fix warning for enum casts with explicit ones - checked
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:51:33 +0000 (11:51 +0100)]
elm - flip - fix enum cast warnings - cheked values match
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:34:45 +0000 (11:34 +0100)]
evas - callbacks - fix casting warnings - checked flags are the same
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:24:19 +0000 (11:24 +0100)]
evas - image+proxy - fix enum cast warnings with casts - checked
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:22:09 +0000 (11:22 +0100)]
evas - sw generic - fix enum cast warn - valid checked
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:19:28 +0000 (11:19 +0100)]
evas - obj main - fix enum warnings with valid casts
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 10:11:46 +0000 (11:11 +0100)]
evas - canavs vg shape - cast enums - valid - checked - fix warnings
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 09:53:56 +0000 (10:53 +0100)]
ecore evas, edje - fix use of evas seat device enum
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 09:46:56 +0000 (10:46 +0100)]
elm cnp/dnd - use right evas device enum for seat
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 09:40:47 +0000 (10:40 +0100)]
elm scroller - fix mapping of block enums - was broken
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 09:15:43 +0000 (10:15 +0100)]
elm - focus legacy - fix enum implicit casts with explicit - valid
these casts are valid (i checked) to make them explicit and remove
warnings
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 09:05:42 +0000 (10:05 +0100)]
elm - efl ui widget - fix enum warnings with valid casts
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 08:57:35 +0000 (09:57 +0100)]
elm image - zoomable - fix enum warnings with valid casts
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 08:34:09 +0000 (09:34 +0100)]
evas - sw generic - fix enum passing with casts or correct types fix wrn
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 08:10:38 +0000 (09:10 +0100)]
evas - legacy events - cast enums after checking its ok - wrn fix
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 08:03:51 +0000 (09:03 +0100)]
evas events - cast enums after checking their values match - fix wrns
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 07:38:24 +0000 (08:38 +0100)]
ecore evas - use correct enums for legacy funcstions to remove warns
Carsten Haitzler (Rasterman) [Tue, 25 Aug 2020 07:23:25 +0000 (08:23 +0100)]
elm - efl ui win - fix enum handling with explicit casts where needed
warnings and cash enums to show we really do keep enums in sync
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 22:45:22 +0000 (23:45 +0100)]
ecore evas - module - use correct enums
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 22:44:46 +0000 (23:44 +0100)]
evas - gl generic - use correct enums for types
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 22:32:42 +0000 (23:32 +0100)]
exactness - injecotr - alloc correct buffer size
didn't account for null bytes... fix.
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 22:03:03 +0000 (23:03 +0100)]
exactness - cast enum assign - it is valid due to values. warn fix
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 21:34:07 +0000 (22:34 +0100)]
tests - evas vg - use proper enuams for evas vg api - warn fix
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 21:31:29 +0000 (22:31 +0100)]
tests - evas vg - use evas enumas not efl ui - warn fix
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 21:28:54 +0000 (22:28 +0100)]
tests - efl ui config - use proepr elm enums for elm apis
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 21:23:29 +0000 (22:23 +0100)]
tests - elm spinner - use proper elm enum - warning fix
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 21:22:17 +0000 (22:22 +0100)]
tests - elm slider - fix possile use of uninit var warning
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 20:28:16 +0000 (21:28 +0100)]
ecore con - curl - fix error map to map right enum
this would print the wrong error to eina log - this fixes this
@fix
Ali Alzyod [Tue, 25 Aug 2020 10:15:08 +0000 (10:15 +0000)]
evas_font_query: add Use parentheses within macros
Differential Revision: https://phab.enlightenment.org/D12116
Youngbok Shin [Tue, 25 Aug 2020 04:28:10 +0000 (13:28 +0900)]
widget/entry: add an object pointer which store an actual content object's address
elm_entry's resize object is changed when its scrollable mode is changed.
For accessing its actual text content, it needs to store its content object's address.
It is added for fixing issue of edje_object_part_text_valign_set/get functions on
scrollable elm_entry.
@tizen_fix
Change-Id: Ia85f43d461e41e19436cf356b39a02febfc8261e
Jongmin Lee [Mon, 24 Aug 2020 22:00:21 +0000 (07:00 +0900)]
spec: bump version for 1.25.0
Change-Id: I37dcd89123eb1a26b71d0410372fe7b6bea68933
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2020 19:07:56 +0000 (20:07 +0100)]
eina file - fd close - handle fbsd 11 syscall abi as it broke in 12
Stefan Schmidt [Mon, 24 Aug 2020 09:29:35 +0000 (11:29 +0200)]
release: Update NEWS and bump version for 1.25.0-alpha1 release
Michal Maciola [Mon, 17 Aug 2020 09:28:39 +0000 (11:28 +0200)]
Added evas-clipping example
Ranamed to vg convention
Change-Id: I06789e46d82fc49399f068169de57c843cdd022c
Youngbok Shin [Mon, 24 Aug 2020 10:31:30 +0000 (19:31 +0900)]
evas_engine: remove a dead code and sync with upstream code
@fix
Change-Id: Ie5f79e786cb842f98e88d8d97afcc3002d00668a
Hosang Kim [Wed, 19 Aug 2020 11:50:31 +0000 (11:50 +0000)]
ecore_wl2_display: move wl_display_dispatch_pending before condition check.
Sometimes display ref count is not zero after wl_display_dispatch_pending.
For example, wl_data_source_listener's callback is called by wl_display_dispatch_pending.
Display ref count is not zero but display is cleaned up, it makes double free corruption.
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D12109
Carsten Haitzler (Rasterman) [Fri, 21 Aug 2020 11:48:32 +0000 (12:48 +0100)]
eina file - fix getdents64 on older glibc's and use raw syscall
Carsten Haitzler (Rasterman) [Fri, 21 Aug 2020 08:06:34 +0000 (09:06 +0100)]
efl/ecore exe - more paranoia - block sig handlers between fork + exec
in theory signal handlers could kick in after fork and before exec...
so block them until we're exec'd or exited so they don't change any
program state.
Carsten Haitzler (Rasterman) [Fri, 21 Aug 2020 07:50:05 +0000 (08:50 +0100)]
eina - eina_file_close_from - handle coverity theory that closes change
this won't happen as the setup should not have the # of fd's found in
2st pass and 2nd pass for a dirfd change as nothing should interfere.
comment to that effect and add a paranoid change num_closes to the
number found
Michal Maciola [Thu, 20 Aug 2020 08:57:21 +0000 (10:57 +0200)]
Added evas-tests example
evas-tests.c renamed to evas-multiple-shapes.c
Ranamed to vg convention
Change-Id: I81887ef495597c0aa061b5adf3a5b2f1e788607a
Michal Maciola [Wed, 8 Jul 2020 10:40:26 +0000 (12:40 +0200)]
Added evas-lines example
Added welcome message with commands list
Ranamed to evas-vg-line
Change-Id: I730f8da9aaa5a54029a072c379463bce36ed1012
Alastair Poole [Thu, 20 Aug 2020 09:05:35 +0000 (10:05 +0100)]
confs: Add OpenBSD Build Helper Scripts.
As with E, add one for OpenBSD. Makes things easier in many
respects.
Carsten Haitzler (Rasterman) [Mon, 17 Aug 2020 12:25:00 +0000 (13:25 +0100)]
evas - fix deadlock with sw async rendering calling cbs in post flush
post flush doesnt cleanr evas->rendering until after it calls post
flush callbacks. any post flush callback that neexts so access data
and block waiting for an async render tyo be done thus blocks forever.
this adds a 0.2 sec timeout in case so we at last march on with
hiccups instead of totally stalling AND clears evas->rendering before
calling the callbacks.
@fix
Carsten Haitzler (Rasterman) [Fri, 14 Aug 2020 14:22:17 +0000 (15:22 +0100)]
ecore - don't do anything with heap between fork and exec
this avoids a possibgle deadlock if a malloc impl is holding a lock
and has not released it at the time we fork.
@fix
Carsten Haitzler (Rasterman) [Fri, 14 Aug 2020 09:10:18 +0000 (10:10 +0100)]
ecore x - go back to vsync thread. this will be more reliable
while it requires an extra wakeup from vsync thread -> e and this adds
a bit of jitter, it's mroe reliable in the face of "missed a frame"
timings and doesnt degrade as badly.
Wander Lairson Costa [Tue, 23 Jun 2020 20:20:14 +0000 (20:20 +0000)]
eina_test_lock.c: Implement clock_gettime for Windows
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Differential Revision: https://phab.enlightenment.org/D12023
João Paulo Taylor Ienczak Zanette [Sat, 1 Aug 2020 15:11:07 +0000 (15:11 +0000)]
eina: Close file in unlink test
At least on Windows (didn't have the time to test on Linux yet),
running tests, even if they passed, there would be an Eina error on logs
pointing that a temporary file wasn't closed:
```
ERR:eina_file ../src/lib/eina/eina_file_common.c:1137 eina_file_shutdown() File [C:/Users/joao_/AppData/Local/Temp/aaaa_file_test_EBpVea] still open 1 times !
```
In the end, it was the `eina_file_test_unlink` that would create a temporary
file but never close it, being caught only by `eina_shutdown()`.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Differential Revision: https://phab.enlightenment.org/D12062
Michal Szczecinski [Fri, 7 Aug 2020 06:47:15 +0000 (08:47 +0200)]
meson: added thorvg build option.
Added thorvg build option controlled by param in meson_options.txt file.
When meson is used HAVE_THORVG is defined and shall be used in
efl_canvas_vg_* implementation to switch between ector and thorvg
Change-Id: I52e82d3a7e99f1f12616e0ed7805072a7dc74425
Vincent Torri [Tue, 18 Aug 2020 05:04:09 +0000 (05:04 +0000)]
eet test: use eina_file_mkstemp, fix include for vc++
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/D12108
João Paulo Taylor Ienczak Zanette [Mon, 10 Aug 2020 23:08:42 +0000 (23:08 +0000)]
eet: Fix 'No OPENSSL_Applink' error message.
In some systems (such as Windows), OpenSSL raises an error about "No Applink"
(see ["I've compiled a program under Windows and it crashes: why?" in OpenSSL
FAQ](https://www.openssl.org/docs/faq.html#PROG3)). Including only
openssl/applink.c didn't work, so the solution was to replace `FILE*`
interfaces with OpenSSL's BIO API which also contains file operations.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12103
Patryk Kaczmarek [Thu, 6 Aug 2020 14:14:36 +0000 (16:14 +0200)]
Add example of efl_canvas_vg_node raise/lower/stack_above/stack_below
Change-Id: I88c7de6a8e9455ffaa6e814d3babc786cfb6cb5f
AbdullehGhujeh [Tue, 18 Aug 2020 09:10:04 +0000 (18:10 +0900)]
Efl Canvas Text : canvas textblock changed not fired for shadow format (style_apply)
Summary:
If shadow format changed using style_apply , the event EFL_CANVAS_TEXTBLOCK_EVENT_CHANGED will not be fired.
also added tests for it.
Reviewers: ali.alzyod, woohyun
Reviewed By: ali.alzyod
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11078
Ali Alzyod [Tue, 18 Aug 2020 08:34:02 +0000 (17:34 +0900)]
evas_object_textblock: utf8_to_markup support all escapse chars
Summary: update evas_textblock_text_utf8_to_markup to support all escape characters
Test Plan:
```
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win,*textblock;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Main", "App");
elm_win_autodel_set(win, EINA_TRUE);
textblock = evas_object_textblock_add(win);
char * aaa = evas_textblock_text_utf8_to_markup(textblock,"A<<>>\"A\'\tA");
// aaa == "A<<>>"A'<tab/>A";
evas_object_size_hint_weight_set(textblock,EVAS_HINT_EXPAND,EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(textblock,EVAS_HINT_FILL,EVAS_HINT_FILL);
evas_object_show(textblock);
evas_object_move(textblock,0,0);
evas_object_resize(textblock,320,480);
evas_object_resize(win,320,480);
evas_object_show(win);
elm_run();
return 0;
}
ELM_MAIN()
```
Reviewers: lauromoura, CHAN, woohyun, bu5hm4n, bowonryu, tasn, herdsman
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8843
Change-Id: Icc09bd574f122aeb4847351d1b612eb7bd6a1f11
Piotr Kalota [Tue, 4 Aug 2020 10:00:16 +0000 (12:00 +0200)]
added example of evas_object_show/hide() for vg shapes
Change-Id: I78679b7e1d3f7ffe29ab9e8642f131611e15b322
p.kalota [Fri, 24 Jul 2020 09:04:39 +0000 (11:04 +0200)]
added example for evas_vg_shape_stroke_join_set()
Change-Id: I8cbaaf0d2ced04012b6efa9c2d70ddc33491af1c
p.kalota [Mon, 27 Jul 2020 13:07:56 +0000 (15:07 +0200)]
added example for evas_vg_shape_current_ctrl_get()
Change-Id: Ie6710a2ff58faea84d0686a26a5e41aa38b3692c
Ali Alzyod [Tue, 18 Aug 2020 04:28:56 +0000 (13:28 +0900)]
evas_textblock: myanmar script rendering with e vowel.
Summary: Resolve rendering e vowel (0x1031) with Myanmar(Burmese) with zero width non joiner (0x200C)
Test Plan: ninja test
Reviewers: woohyun, bowonryu
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12102
Change-Id: Id0d9932989a5b54fbf8b9c4c2dceb9697bf81331
Myoungwoon Roy, Kim [Tue, 4 Aug 2020 05:36:54 +0000 (05:36 +0000)]
docs: Correct the wrong API group name in elm_win and elm_glview
I found wrong API group name in elm_win and elm_glview and fixed them.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12075
João Paulo Taylor Ienczak Zanette [Wed, 12 Aug 2020 07:23:16 +0000 (07:23 +0000)]
eina: Use INVALID_FILE_ATTRIBUTES instead of magic number
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Differential Revision: https://phab.enlightenment.org/D12106
Alastair Poole [Sat, 15 Aug 2020 14:52:56 +0000 (15:52 +0100)]
ecore_x: Add mode flags new in xrandr 1.2.
p.kalota [Thu, 23 Jul 2020 12:41:57 +0000 (14:41 +0200)]
Example of drawing star shape by using evas_vg_shape_*() API
Change-Id: Icf44c4836114078e9fd5cfe67aadcbf2bcf5ff99
Piotr Kalota [Mon, 10 Aug 2020 13:53:37 +0000 (15:53 +0200)]
added example for evas_vg_shape_interpolate()
Change-Id: I27821c27a34f6d974dcd796f6e227a061736b3fb