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
5823aa2569
evas filter - curve func was off-by-1 ... fix!
...
@fix
2024-01-09 12:18:44 +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
Dmitri Chudinov
1704758e79
elua: move err label to ENABLE_LUA_OLD defined branch
2023-12-19 04:26:58 -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
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
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
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
Boris Faure
d280b4b2dd
emile: length is known, no need for strlen
2023-08-29 07:37:45 +01:00
Christopher Michael
6efb60be59
elput: Add a TODO doc for Simontek and libei support
2023-06-01 09:38:14 -04:00
Vincent Torri
201a32279f
Evas: heif module is dlopen'ed
...
The reason is that for newer versions, libheif should be initialized
with heif_init(). This way, we call this function if the symbol exists.
2023-05-02 07:46:38 +01:00
Carsten Haitzler
92646486c2
elm entry passwd allow paste - got disabled along with other sel handling
2023-04-20 12:42:24 +01:00
Carsten Haitzler
c2a7944c9b
eina - include sha1 func header by default
...
@feat
2023-03-24 15:14:26 +00:00
Vincent Torri
ba36e65bbc
eina - new sha1 checksumming function
...
This adds eina_sha1().
@feat
2023-03-24 15:00:39 +00:00
Carsten Haitzler
156660a56b
elm - icon - policy change. use theme defined std icon FIRST always
...
if you set a standard named icon - look in the theme first for it as
this should match the look of the theme, THEN look in the selected
icon theme. this fixes blank icons with selecting and icon theme in
many situations and fixes blank cons when "use elm icon theme" is
selected.
@fix
2023-02-15 20:37:21 +00:00
Carsten Haitzler
5af8b5e4bc
eina - debug - fix warning by explicitly casting not auto0-casting
...
freebsd's new clang wants to make this an error, not a warning... it
should be a warning really... but fix it either way.
@fix
2023-02-15 10:53:04 +00:00
Carsten Haitzler
c0bd61f7d9
elm - install elm_widget_item_container_eo.h - fix bug
...
elm_widget_item_container_eo.h seemingly was not installed. odd. added
to list.
@fix
2022-12-27 08:42:39 +00:00
Christopher Michael
d434a6039c
evas_main: Minor formatting fixes
...
NB: No functional changes
2022-09-27 11:18:32 -04:00
Carsten Haitzler
d1f1af054f
emile/ecore-con - remove gnutls support since openssl3 is out
...
openssl3 should now solve licensing issues with openssl. there is no
good reason to keep gnutls support anymore especially since there just
isn't anyoen who wants to maintain that extra ifdef'd code (and that
code has some gotchas that don't match the full features of openssl
too). so this removed "code cruft" to maintain, complexity and
maintenance work as well as build complexity.
2022-08-12 09:33:17 +01:00
Carsten Haitzler
faf9745538
emile - fix deprecated warning and move ssl func
...
TLSv1_server/client_method -> TLS_server/client_method
openssl is complaining about this. back to clean warning-free build.
2022-08-12 09:02:16 +01:00
Dmitri Chudinov
3474d867aa
FIX: A pointer should not be compared to zero
2022-08-01 09:37:37 -07:00
Carsten Haitzler
0e22417f45
eet emile - cipher - add braces for if defines to be clear on order of op
2022-08-01 17:35:52 +01:00
orbea
bdd5b244e6
Support LibreSSL 3.5.x
...
LibreSSL 3.5.x now works with the standard OpenSSL code paths.
2022-07-04 09:08:39 -07:00
Marcel Hollerbach
af6134aa6c
ecore_evas: add API to offset drag position relative to cursor
...
The values are stored in the ee itself. And it is the responsibility of
the engine to use that value correctly.
2022-05-31 21:15:03 +02:00
Carsten Haitzler
3008e1cd4c
evas canvas - init res var to avoid uninit warning
...
@fix
2022-05-18 13:20:19 +01:00
Carsten Haitzler
712c0d5b0d
edje - fix warnings with string buffer lens
...
@fix
2022-05-18 12:48:47 +01:00
Carsten Haitzler
a4a0dc7a75
eldbus - fix warning about buffer being a bit small for string
...
@fix
2022-05-18 12:16:08 +01:00
Carsten Haitzler
b0232b5e1d
emile - handle possible invalid compress type more gracefully
...
check length return is < 0 and handle that.
@fix
2022-05-18 12:16:05 +01:00
Carsten Haitzler
f682178017
ecore-x - use current time not vblank timestamp for animator time
...
sometimes on some systems and drviers time here is not what we
want/expect. it can be in the future. there are reasons so, work
around this and use the timestamp of "now" when we get the event as
opposed to the timestamp given to work around odd weirdnesses and
complaints time went backwards.
@fix
2022-05-17 15:02:20 +01:00
Carsten Haitzler
5f85967da1
evas - textgrid - guard against null/empty glyphs
...
not sure how someone got to this point - but this should not be null,
so don't crash if it is.
@fix
2022-05-16 18:36:56 +01:00
Carsten Haitzler
e9e40eb610
eet - add eet_sync_sync() that syncs data to disk and fdatasyncs it
...
this ensures that if eet_sync_sync() returns that all data has been
synced to disk (as best possible with fdatasync()).
@feat
2022-05-16 14:02:31 +01:00
Carsten Haitzler
9490cf857b
evas -jxl - bump version needed because we need neweer than 0.6.1
...
the jxl loader requires code that is unreleased from jxl (changes made
after 0.6.1 release), thus bump to 0.6.2 to indicate this. will have
to adjust once a newer jxl comes out.
2022-05-01 09:51:36 +01:00
Vincent Torri
01fb3233eb
Evas: add jxl loader and saver
...
add jxl loader and saver to Evas.
Entice for loading, animated jxl files or not some conformances files :
https://github.com/libjxl/conformance/tree/master/testcases
2022-04-28 17:00:40 +01:00
Carsten Haitzler
d4ee3a158a
eina bt - it seems tab plus space doesnt produce always a space fix
...
as this is machine-read ... a single space will do and will produce
the right format.
@fix
2022-04-28 16:28:51 +01:00
Carsten Haitzler
6fd2852b14
add urilist support to cnp part of cnp not just dnd
...
this also makes urilist things work for copy & paste like with dnd.
goers with commit 8d4a2a70cf
2022-04-27 16:02:59 +01:00