Commit Graph

31394 Commits

Author SHA1 Message Date
Carsten Haitzler cdd3c35bb3 eo: make eo ptr indirection caches flexible 2024-04-09 10:30:47 +01:00
Vincent Torri 49976ca388 use eina_file_access() instead of access() if possible 2024-04-09 07:33:56 +01:00
Vincent Torri a6915ecfc5 mimic access() behavior on Windows 2024-03-25 10:18:44 -07:00
Vincent Torri 9e5bb18af1 Eina: add eina_file_access() API
this addition is motivated by the fact that the access() API on
Windows just check if a file is read only or read/write. See

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=msvc-170#remarks

This API now also manage if a file/dir is executable or not.

On Unix, access() is just called.
2024-03-25 10:18:44 -07:00
Carsten Haitzler 11cd98e119 ecore drm2 - use last plane found not first. makes it work on rk3588
this is a temporary hack until things change a bit...
2024-02-13 14:30:04 +00:00
Carsten Haitzler ae0c1783d4 elm - remove commented printfs 2024-02-09 20:27:42 +00:00
Carsten Haitzler 35bc3f933f elm - win - fix xsd icon hint set with junk stack data and crash
fixes a crash accessing junk on stack data that was unset for netwm
icon hints.

@fix
2024-02-09 18:36:52 +00:00
Vincent Torri 97845c1ee3 Eina value test: disable 64 bits value test on Windows
On Windows, a long is always a 4 bytes type. So the test is
meaningless on Windows
2024-01-17 02:29:18 +01:00
Vincent Torri 7e839be3ab Eina test: remove POSIX path from sanitize test
The POSIX path "/home/mydir/../myfile" can't be tested on Windows.
In MSYS2, /home is replaced with the installation path os MSYS2,
that is something like C:\foo\bar (depending on the value of the
path given with the MSYS2 installer). So this can't be tested with
the value "/home/myfile".
2024-01-17 02:20:47 +01:00
Ross Vandegrift 12124b770b fix vieet bashism
vieet declares /bin/sh, but read without a variable doesn't work on posix sh.
2024-01-16 01:20:32 -08:00
Ross Vandegrift 35e486dbb5 support linking with system libunibreak 2024-01-13 21:35:57 -08:00
Carsten Haitzler f1688d5110 tests elm - disable elm web as this hasnt done anything in like forever 2024-01-09 18:38:30 +00:00
Carsten Haitzler ab4394b4ad evas tests - disable mask of masks - this could not have really worked
like a mask of a mask jut didn't work at all - not to mention
hijacking table clippers.... that's just wrong and so dependent on
implementation internals...
2024-01-09 18:15:06 +00:00
Carsten Haitzler 1ff35f9a41 tests - evas - disable 2 filter tests that seem to not make sense?
interpolation was broken (linear) - fixed that - but not sure why
these are broken... so disable for now.
2024-01-09 12:25:45 +00:00
Carsten Haitzler 5823aa2569 evas filter - curve func was off-by-1 ... fix!
@fix
2024-01-09 12:18:44 +00:00
Carsten Haitzler d2073a4a56 evas test pixel diff with 9 patch plus render
due to slightly different optimizations we need a big more delta inthe
pixel compare. do it properly channel by channel too so we know whcih
channel (a, r, g, b) is wrong
2024-01-09 11:12:22 +00:00
Carsten Haitzler 2a87cfecda test fix fix - forgot execl both first args as the bin and argv0 2024-01-09 10:50:58 +00:00
Carsten Haitzler dca528a049 run timeout directly with out sh and check fork and execl returns
check returns in case fork or execl fail and report and abort
approptiately. this should solve a always-timeout on some systems with
some sh shells...
2024-01-09 10:11:28 +00:00
Carsten Haitzler f9e8839125 tests - let's have our own enforced master timeout of 240sec
let's not let check defaults decide. let us decide for everything with
one var. also timeout.c matches too... so 2 places i guess for now.
2024-01-09 08:14:42 +00:00
Carsten Haitzler d6d0caa46c disable failing focus test - doesnt actually affect real life
fix test fail for now
2024-01-08 18:47:56 +00:00
q66 c216f5baf2 eina, eio, evas: remove wrong __USE_MISC branches
The first branch is the POSIX-compliant one and the one that
should always be taken; __USE_MISC is an unrelated glibc-specific
macro so the code was not being used on non-glibc Linux systems
even though it should be.

All these branches are Linux-specific, so there is no legacy
code to worry about, even if it was actually useful at some point
in history.
2024-01-03 16:20:07 +01:00
Carsten Haitzler c6b3242c60 fix extra ifdefs - dont need __USE_MISC
too many ifdef checks - too conservative. reduce the __USE_MISC check

@fix
2023-12-26 23:31:57 +00:00
Carsten Haitzler dce2557746 fix trictly non-const strlen for const strings
found by q66 - strlen happende to work as the optimizer could deduce
this was a const value at compile time, but strictly it wasn't so use
sizeof instead.

@fix
2023-12-26 23:26:38 +00:00
Carsten Haitzler f6abf24db2 silence warning on possibly uninit var use 2023-12-23 15:54:49 +00:00
Carsten Haitzler ec7a23ec82 silence warning in gl blur filter 2023-12-23 15:52:52 +00:00
Dmitri Chudinov 1704758e79 elua: move err label to ENABLE_LUA_OLD defined branch 2023-12-19 04:26:58 -08:00
Dmitri Chudinov 53d18f0409 elua: solve discarded 'const' qualifier warning 2023-12-19 04:26:58 -08:00
Dmitri Chudinov c0e260d308 examples: solve EFL_BETA_API_SUPPORT redefinition warning 2023-12-19 04:25:44 -08:00
Dmitri Chudinov c260bcbd33 ecore_evas_sdl: add attribute to unused parameter
Test with -Dsdl=true
2023-12-19 04:24:42 -08:00
Vincent Torri 8272318d71 Eina: introduce API eina_file_path_relative() to uniformize this check 2023-12-19 12:20:42 +00:00
Dmitri Chudinov cc66b5d011 elm-config: correct wrong "if" statement
If nothing is selected then nothing to disable.
"If" statement did not work here until now.

Test:
1. Run elementary_config from terminal.
2. Select Profile menu item (make no clicks on any item).
4. Close the app.
3. Verify the error log messages before to and following the patch.

@fixed
2023-12-19 04:08:46 -08:00
Dmitri Chudinov 58ccd1031a elm-config: add icons to menu
Some menu items of elementary_config have no icons. So add some. Not the best design solution, but better than nothing.

Activated i-utilities icon. Only the icons that were already in efl were used.

@fixed
2023-12-19 04:03:31 -08:00
Dmitri Chudinov 472cee52b2 ecore: solve error with gsource = null
Compiling using -Dglib=true and -Dg-mainloop=true causes glib errors every time when efreet_icon_cache_create is invoked (ex., run and stop elementary_config and observe the terminal output).

So, i added error message in place where ecore_glib_source may be undefined. The issue was with undefined ecore_glib_source variable in _ecore_main_loop_setup function. Here _ecore_main_fdh_poll_add was used before actual ecore_glib_source definition.

@fixed
2023-12-19 03:56:53 -08:00
Carsten Haitzler 9447fb6bad eet - fix write denied - no seg on dict free + check on open
@fix
2023-12-19 11:02:29 +00:00
Ryan Gammon 9d7fc64ca3 efl_unref is in eo 2023-11-14 01:58:25 -08:00
Dmitri Chudinov a448fc785b config: fixed active Scrolling item highlighter 2023-11-11 20:03:09 +00:00
Dmitri Chudinov d9d81af314 efl_ui_slider: update legacy functions to unified 2023-11-11 11:54:40 -08:00
Vincent Torri 1e871074af ecore_exe: support ECORE_EXE_TERM_WITH_PARENT flag on Windows
tested with ecore_exe_example.c by running notepad.exe and forcing
the parent process to quit, with and without the flag.
2023-11-11 11:51:44 -08:00
Vincent Torri 9387d94b30 use eina_sha1() instead of duplicated code 2023-10-25 04:04:22 -07:00
Carsten Haitzler b17bd6574f elm - focus mgs - demote an err to a focus debug for disconnected widgets 2023-10-24 09:41:41 +01:00
Carsten Haitzler 9f3d7b9cff evas gl engines - support tuning of cutouts much more
also re-tune them nby default
2023-10-20 19:47:47 +01:00
Vincent Torri d3c1301efa fix qoi saver when alpha is 0 2023-10-02 12:49:08 -07:00
Vincent Torri 0d13612a27 fix possible division by 0 2023-10-02 12:49:08 -07:00
Vincent Torri 4b443e752f use premultiplied colors on the EFL side 2023-10-02 12:49:08 -07:00
Vincent Torri 8576ac9128 Evas: add 'qoi' image loader and saver 2023-10-02 12:49:08 -07:00
Carsten Haitzler 14049351d5 ecore-x - fix barrier rect setup for screen edge barriers
@fix
2023-10-02 12:10:24 +01:00
Ryan Gammon d18d55d66a Fix warnings 2023-10-01 14:18:08 -07:00
Ryan Gammon d45e5e350d mono fixes 2023-10-01 14:18:07 -07:00
Ryan Gammon 74955d73fc use version_major 2023-10-01 14:18:07 -07:00
Ryan Gammon bce87e4bc8 windows build fixes 2023-10-01 14:18:07 -07:00