Commit Graph

67071 Commits

Author SHA1 Message Date
Vincent Torri a29471fe27 eina - fix build problem on Windows introduced by fixes from raster 2024-06-06 22:02:59 +02:00
Carsten Haitzler 95701baae7 eina - fix build problem introduced by fixes from vincent
just introduced. fixed.
2024-06-06 18:30:25 +01:00
Vincent Torri 1cd130ac09 Eina: fix constness compilation error with gcc 14 2024-06-05 10:51:19 -07:00
Vincent Torri f434955307 Add Angle library detection on Windows 2024-06-05 10:50:42 -07:00
Vincent Torri 8f9c29187b Exactness: fix signature compilation error with gcc 14 2024-06-05 10:46:06 -07:00
Dmitri Chudinov 24a908bf49 efl_ui_textbox: fix sd->scroller=null error
Can be called by efl_ui_widget_scroll_hold_{pop, push} from another  widget (ex., efl_ui_slider) without _efl_ui_textbox_scrollable_set()  invocation with undefined sd->scroller here as the result.  So, check if sd->scroll is true to avoid this.

The same for *_freeze_set.
2024-06-05 10:41:29 -07:00
Dmitri Chudinov 09571f18b9 efl_ui_slider: revert previous changes 2024-06-05 10:41:29 -07:00
Dmitri Chudinov c6b6f4d464 efl_ui_slider: fix the error when scrolling.
When we use efl_ui_textbox and efl_ui_slider simultaneously, the slider invokes the general widget's scrolling hold and freeze behavior, which calls of the textbox's scrolling functions with an obvious error: sd->scroller = NULL. So switch off that in the slider and don't notice any lack of functionality.

Saved sd->freeze as a flag for future use.

Test: elementary_test -to Efl.Ui.Slider (before and after).
2024-06-05 10:41:29 -07:00
Carsten Haitzler ebd24a4815 tests - disable fmt warn for fail/ck asserts bc of check added NULL
check adds a NULL and this messes the format warning checks in the
check macro - so disable this warning where this is done - warning
noise we don't need.
2024-05-30 17:40:16 +01:00
Carsten Haitzler 305750875e eina - value - disable warnings for ptr math
we over-alloc thus  this warning is not right. silence the warning
2024-05-30 17:07:05 +01:00
Carsten Haitzler 7e346e7bc2 tests - fix calloc num, size
@fix
2024-05-30 16:55:34 +01:00
Carsten Haitzler b3a83fdea6 tests - elm - disable unused test func
fix warnings
2024-05-30 11:29:52 +01:00
Carsten Haitzler c9dae98611 fail_if doesnt need the NULL - causes warnings 2024-05-30 11:16:01 +01:00
Carsten Haitzler 659640e4f4 re-indent as misleading indents lead to warnings
poorly formatted code making warnings. fix.
2024-05-30 11:15:26 +01:00
Carsten Haitzler 18177756ae eina - test - lalloc - fix indenting as its totally misleading
poorly written test case with wrong indents implying fail_if's were in
the for loop! no actual change to results.
2024-05-30 09:18:46 +01:00
Carsten Haitzler 956eeb2b8c evas - arm neon asm - fix initial value of some regs/vars to be zero
this has been annoying me for a long time - fix assuming these
regs/vars are zero. they likely are not. ensure that.

@fix
2024-05-30 09:08:01 +01:00
Carsten Haitzler a819f00c04 elm - ui position mgr grid - fix calloc size, count
fix calloc size, num vs num, size.

@fix
2024-05-30 07:31:28 +01:00
Carsten Haitzler 8cc906628b eina - hash - fix calloc to use right size of and count'
fixes a gcc warning and gcc is technically correct. calloc (num, size)
not calloc (size, num).

@fix
2024-05-30 07:29:09 +01:00
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
Carsten Haitzler 178b786f39 elm theme - make blur effects for theme ifdefed to allow turning on
you can compile the them with edje_cc -DBLUR_WINLIST and either
-DBLUR_TITLE or -DBLUR_BEHIND options passed to edje_cc ... if you
compile it by hand. either way it makes it easier to see how to do
this for theme makers.
2024-02-04 11:54:51 +00:00
Carsten Haitzler 5aefadeef3 elm theme - fix some typos in colorclass names
this snuck through. fix the typos. thanks avlinux.

@fix
2024-01-23 20:23:20 +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 f0a966a65f lua - move to lua as default lua engine from luajit
luajit seems to be dwindling. it also has bugs on aarch64 which means
packages for efl like i maintain on arch use lua instead of luajit by
default. reflect this as the default choice now.
2024-01-11 07:29:57 +00: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 2842eefee2 go back to .99 devel ver 2023-12-26 23:23:33 +00:00
Carsten Haitzler 248d62bf5e release - 1.27 2023-12-23 15:56:36 +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