summaryrefslogtreecommitdiff
path: root/src/lib/eina (unfollow)
AgeCommit message (Collapse)Author
2020-05-18systemd - make libsystemd use/supprot entirely runtime "dlopened"Carsten Haitzler (Rasterman)
so i've moved all systemd and elogind support to be runtime only with dlopen (eina_module) of libsystemd.so.0 (or libelogind.so.0 for elput) and finding of symbols manually at runtime (if the right code paths or env vars are set), thus remvoing the need to decide at compile time if efl needs systemd support or not as it no longer needs systemd headers/libs at compile time and just at runtime. this simplifies building a bit and makes efl more adaptive to the final target system at runtime.
2020-05-12build: fix void* use in pointer mathsMike Blumenkrantz
Summary: void* is an invalid type for calculating pointer offsets, so ensure that this is always cast to something else (e.g., char*) in the few cases where it's been misused Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11816
2020-05-09eina: resolve float comparison warningsMike Blumenkrantz
Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11786
2020-05-08doxygen docs: Put Eina XAttrs in their own groupXavi Artigas
To stop polluting the Eina Tools group.
2020-05-08doxygen docs: Complete docs for Eina ThreadXavi Artigas
2020-05-08doxygen docs: Fix grouping mess in Eina Simple XMLXavi Artigas
Seriously, who came up with such convoluted doxygen code?
2020-05-08doxygen docs: Complete docs for Eina ModuleXavi Artigas
And fix yet another doxygen grouping mess
2020-05-08doxygen docs: Complete docs for Eina LogXavi Artigas
2020-05-08doxygen docs: Complete docs for Eina CPU functionsXavi Artigas
2020-05-08doxygen docs: Complete docs for Eina_RectangleXavi Artigas
2020-05-07Use __func__ C99 identifier instead of __FUNCTION__ compiler extensionVincent Torri
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
2020-04-29doxygen docs: add missing example referencesXavi Artigas
2020-04-28meson: allow debug-threads to be disabled in debugBoris Faure
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11756
2020-04-22ecore_file - address issue about false positive of finding a file in ./Carsten Haitzler (Rasterman)
it may report an exe is installed if it happens to be in cwd but cwd isnt in path. the "full/relative" path handling case mishandled this. fixes T8678 @fix
2020-04-21eina: add new definitions to a old enumMarcel Hollerbach
this is sadly needed due to the fact that we have a .eo defnition in the .eot file which contains the flags keyword. Differential Revision: https://phab.enlightenment.org/D11739
2020-04-17eina/value: use correct time types when comparing time typesMike Blumenkrantz
these functions all expect struct timeval, as the name implies ../src/lib/eina/eina_value.c: In function ‘_eina_value_type_tm_compare’: ../src/lib/eina/eina_value.c:3358:19: warning: array subscript 1 is outside array bounds of ‘time_t[1]’ {aka ‘long int[1]’} [-Warray-bounds] 3358 | struct timeval ret = *input; | ^~~ ../src/lib/eina/eina_value.c:3569:11: note: while referencing ‘ta’ 3569 | time_t ta, tb; | ^~ ../src/lib/eina/eina_value.c:3358:19: warning: array subscript 1 is outside array bounds of ‘time_t[1]’ {aka ‘long int[1]’} [-Warray-bounds] 3358 | struct timeval ret = *input; | ^~~ ../src/lib/eina/eina_value.c:3569:15: note: while referencing ‘tb’ 3569 | time_t ta, tb; Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11715
2020-04-03Replace strncmp codeMarcel Hollerbach
the structure "!strcmp(X, "foo", strlen("foo"))" is equal to "eina_has_prefix(X, "foo")", and the later is nicer to read, hence this replaces it. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11620
2020-04-02doxygen docs: Add _Eina_Version struct docsXavi Artigas
2020-03-27Eina: Remove eina_prime_tableXavi Artigas
This has been present since ancient times and no current uses have been detected. It's an array containing SOME prime numbers without a terminator, so the caller needs to know the array length in advance. This does not look very useful (or usable) and therefore it has been decided in public IRC session to send this thing to hell. Witnesses: raster stefan_schmidt bu5hm4n
2020-03-27doxygen docs: Add missing docs for core Eina typesXavi Artigas
Things like EINA_LIKELY or EAPI were undocumented...
2020-03-27docs: Fix Eina Core GroupMyoungwoon Roy, Kim
Summary: I had fixed unlinked Eina API group(eina_main, eina_types, hamster) from Eina nodes. Those APIs included into Core group before. Test Plan: API reference documentation modification only Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11605
2020-03-26doxygen docs: Fix several warnings in Eina filesXavi Artigas
2020-03-17doxygen docs: Fix Eina Promises doc structure and linksXavi Artigas
Man, this was a tough one! The content still needs work, but the structure makes a bit more sense now, and there are no broken links, typos or doxygen warnings anymore.
2020-03-17doxygen docs: Create Eina Vector2 group in the right placeXavi Artigas
A couple members were outside the group and appeared in the Eina Data Types page instead.
2020-03-17doxygen docs: Put quadtrees in their own groupXavi Artigas
To clean up the Eina Data Types page
2020-03-17eina_file: fix a typo errorWonki Kim
'sefl' is definitely a typo this patch fixes it Reviewed-by: Shinwoo Kim <cinoo.kim@samsung.com> Differential Revision: https://phab.enlightenment.org/D11510
2020-03-12eina: do not free NULL ptrMarcel Hollerbach
this is definitly NULL here, but usefull for later usage.
2020-03-12doxygen docs: Fix illegal referencesXavi Artigas
Mostly typos and unescaped # signs
2020-03-12eina log bt - on by default always if unwind foundCarsten Haitzler (Rasterman)
i'm tried of telling people how to turn this on. enough. on by default. if you dont want bt's and its just some helpful log output then just printf it or use WRN, INF and set log levels...
2020-03-10doxygen docs: Fix tons of invalid Doxygen commandsXavi Artigas
Mostly typos
2020-03-10eina_abstract_content: Fix resource leakChristopher Michael
If we error out in this function, then we should be freeing 'content' also as it was previously calloc'd above Fixes CID1420317
2020-03-10eina_abstract_content: Fix dereference before null checkChristopher Michael
Fixes Coverity CID1420337
2020-03-09eina_content: free memory in error pathsMarcel Hollerbach
2020-03-09eina: fix define of Eina_ContentMarcel Hollerbach
there is no need to declare that const.
2020-03-09doxygen docs: remove @ender_group and organize eina vectorsXavi Artigas
Mysterious @ender_group is an invalid doxygen command and I could not find it defined anywhere. I could not infer its purpose either so... removed. Put the Eina Vector 2D and 3D groups in their proper place so they appear with the rest of the Eina basic types.
2020-03-09eina: Docs/Comments: eina_safety_checks: Correct grammar, spelling mistakes ↵Xavi Artigas
and be more clearer Summary: This just corrects the comments grammar, spelling mistakes and is a little bit clearer. Reviewers: segfaultxavi, barbieri Reviewed By: segfaultxavi Tags: #efl Differential Revision: https://phab.enlightenment.org/D11472
2020-03-09doxygen docs: Miscellaneous typosXavi Artigas
2020-03-08docs: Strengthen docs for Copy&Paste and Drag&DropXavi Artigas
Including Eina.Content And a typo/bugfix in ecore_evas_x. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11204
2020-03-08eina: introduce Eina_Abstract_ContentMarcel Hollerbach
A little abstraction to have abstract data content bound to a type. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11018
2020-03-03doxygen docs: Fix several group problemsXavi Artigas
@ingroup before @addgroup, circular group dependencies...
2020-03-02efl_ui_spotlight_scroll: improve scroll behaviourMarcel Hollerbach
when the mouse motion was used, we need to mark this event as processed. Otherwise a click event will be emitted which is wrong. Additionally, we should only scroll when we are definitly not clicking. Right now, the scrolling animation would dance arround on a real TS. Additionally², this commit introduces a little macro which calculates the distance of a position.
2020-02-28freeq - up numbers for fq blocks and other limits to defer big batchesCarsten Haitzler (Rasterman)
this should improve some perf by upping the max a free queu can baloon up to 256k items and 32m of data (whichever is hit first).
2020-02-28doxygen: fix duplicated toc sectionsXavi Artigas
2020-02-23eina: Fix warnings about unused variables on WindowsChristopher Michael
NB: Patch from vtorri
2020-02-19docs: A bit more info and formatting for Eina_Process_CbXavi Artigas
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11063
2020-02-19eina: introduce eina_iterator_processMarcel Hollerbach
this brings a functional-map function to the iterator implementations. https://en.wikipedia.org/wiki/Map_(higher-order_function) Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11062
2020-02-19eina_array: interpret the count of a NULL array as 0Marcel Hollerbach
this makes the usage way more convinient. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11373
2020-02-18C#: Add error checking for Eina.Success_Flag return typeFelipe Magno de Almeida
When a get and/or set from property is defined to return, explicitly, a Eina.Success_Flag, the mono generator will check the return value and generate an exception if the call fails. Resolves T8383. Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11281
2020-02-15eina file - close on exec - doesnt exist on windows - vtorriCarsten Haitzler (Rasterman)
2020-02-14eina_rbtree: avoid defererencing null pointerYeongjong Lee
Summary: Pointer 'it->stack' is dereferenced at `_eina_rbtree_iterator_free`. Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11346