path: root/src/lib/eet (follow)
AgeCommit message (Collapse)Author
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-06-05eet: silence properly reused code through switch case statement fallthrough.Cedric BAIL
2017-04-18eet: use new API eina_file_close_on_exec.Cedric BAIL
2017-03-06eet_lib: changed unlink to eina_file_unlinkIvan Furs
Summary: changed unlink to eina_file_unlink Reviewers: cedric, raster, an.kroitor, rimmed, FurryMyad, NikaWhite, vtorri Subscribers: artem.popov, cedric, jpeg Differential Revision:
2017-02-16doxygen: fix typos and some wrong expressions in Edje and Eet API reference ↵Myoungwoon Roy, Kim
documentation. Summary: I had fixed some typos and some wrong expressions, such as capital letters, singular, and orders of groups in Edje and Eet API reference doxygen. Test Plan: Doxygen Revision Reviewers: stefan, cedric, raster, Jaehyun_Cho, jpeg Subscribers: conr2d Differential Revision: Signed-off-by: Cedric BAIL <>
2017-02-08eet data - fix checking return value of eina_value_pset like elsewhereCarsten Haitzler (Rasterman)
eina_value_pset() return is checked pretty much everywhere except here. this addresses that inconsistency. this fixes CID 1367487
2017-02-07eet: read sould be failed if cipher_key exist but file not cipheredJiwon Kim
Summary: Currentely, if eet_read_cipher()'s cipher_key param is exist but file not ciphered, function always read and return successful result. But, this behavior can not check data integrity. e.g. 1. App create config file using eet with encryption key. 2. Attacker replace config to malicious config (not encryted). 3. App can not notice if eet_read_cipher() read that successfully. @fix Test Plan: $eet -e test.cfg my_config test.src 1 $eet -d test.cfg my_config decode_res.txt my_encrytion_key (Currentely decode success, but should be failed) Reviewers: woohyun, raster Subscribers: id213sin, akanad, cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2017-02-01cmake: handle 'FindXXX.cmake' standard with 'find-XXX' libraries.Gustavo Sverzut Barbieri
One can use virtual 'find-XXX' entries in LIBRARIES or PUBLIC_LIBRARIES to use XXX_LIBRARIES and XXX_INCLUDE_DIR.
2017-02-01cmake: remove dependency on libjpeg in eet as it is handled in commonStefan Schmidt
2017-01-27cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage.Gustavo Sverzut Barbieri
generate a static library for src/static_libs and use that as LIBRARIES for the actual library, for those such as rg_etc that are used multiple times will even speed up the final build by compiling only once. Although not used, they can be made into shared libraries that would go inside /usr/lib/efl/support/v-1.19/
2017-01-26cmake: add eet.Gustavo Sverzut Barbieri
2017-01-04openssl 1.1 build break fixesCarsten Haitzler (Rasterman)
this fixes building against openssl 1.1 since it broke api in various ways by hiding structs and deprecating api's (this causes warnings not breaks unlike the struct hiding). this adapts to these changes and makes efl build again. @fix
2016-12-20doxygen: remove reference warnings.Jee-Yong Um
Reviewers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2016-12-01Eet: add EINA_ARG_NONNULL for eet_data_text_undump* @fixArtem Popov
Summary: Eet_data_text_undump/undump_cipher: add EINA_ARG_NONNULL for mandatory pointer on size(int) Reviewers: cedric, NikaWhite, myoungwoon, jpeg Reviewed By: jpeg Subscribers: jpeg, t.naumenko Differential Revision:
2016-11-28eet: add checking on null to eet_data_write_cipher and EINA_ARG_NONNULL to ↵Artem Popov
dump API @fix Summary: add checking on null to eet_data_write_cipher and EINA_ARG_NONNULL to eet_data_dump* and eet_data_test_dump* API Reviewers: NikaWhite, myoungwoon, cedric Reviewed By: cedric Subscribers: jpeg, t.naumenko Differential Revision: Signed-off-by: Cedric BAIL <>
2016-11-16eet: add NULL-check to eet_connection_empty API to avoid segfaultArtem Popov
@fix Summary: Only eet_connection_empty hasn't checking on NULL and try to read from field of object. Add NULL-check for connection and return result of empty connection. Reviewers: jpeg, cedric, myoungwoon Subscribers: t.naumenko, NikaWhite Differential Revision: Signed-off-by: Cedric BAIL <>
2016-11-14Eet: initialize descriptor class correctlyDaniel Zaoui
2016-11-12eet: return 0 instead of NULL when the return type is intJean Guyomarc'h
2016-11-11eet: add to basic eet_image EAPIs checking on NULLArtem Popov
@fix Summary: to avoid segfaults with NULL raw data, add checking on NULL to basic eet_image APIS Reviewers: NikaWhite, cedric, myoungwoon, jpeg Reviewed By: jpeg Subscribers: t.naumenko, jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-09-21eet: fix gnutls support with newer version.Cedric BAIL
2016-09-20eet: set alpha_texture for ETC1+AlphaSungtaek Hong
Summary: alpha_texture need to be set EINA_TRUE to support ETC1+Alpha @fix Test Plan: Create an EDC file with png image with Alpha. compress image with ETC1 and ETC2. Observe Alpha is properly applied in both case. Reviewers: jpeg, Hermet, cedric Reviewed By: cedric Subscribers: conr2d Differential Revision: Signed-off-by: Cedric BAIL <>
2016-08-01autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL
remove per directory support.
2016-07-13edje: Fix coverity warningJean-Philippe Andre
CID 1355234 Logically dead code The indicated dead code may have performed some action; that action will never occur. In eet_data_descriptor_element_add: Code can never be reached because of a logical contradiction (CWE-561) Solution: use explicit range within valid values with <= and >= rather than excluded values with > and <
2016-07-11eet - fix possible integer overflow in ptr diff on parseCarsten Haitzler (Rasterman)
coverity spotted this - with silly long strings (like 1gb in size or+) it might happen. fix CID 1256196
2016-05-30eet_image.c : Fix build warningJunsuChoi
Summary: initialized two variable for uninitialized build warning Test Plan: N/A Reviewers: woohyun, raster Reviewed By: raster Subscribers: cedric, jpeg Differential Revision:
2016-05-10eet: add a helper to setup hash with generic value storageJee-Yong Um
Summary: add a macro to setup eet_data_descriptor for hash with generic value storage. Test Plan: make check (test case is included in eet test suite) Reviewers: cedric, raster Subscribers: jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-05-09efl: everyone should now rely on Eina MIN/MAX redefinition.Cedric BAIL
2016-04-14eet: make it possible to build the library alone.Cedric BAIL
2015-12-29Eet: Fail gracefully on invalid inputJean-Philippe Andre
Consider infinity and NaN as invalid input for put_float and put_double, since the underlying convert function can't process them. This fixes potential errors with incomplete / invalid evas 3d models
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <>
2015-11-24eet: improve error message during eet_close.Cedric BAIL
2015-11-22eet: remove useless assignment in eet cipher and silence warning.Vivek Ellur
Summary: Signed-off-by: Vivek Ellur <> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-11-18Eet: remove dead variable assignment.Tom Hacohen
I guess this is what 2a01c4517b5b97c2b988ce590d7dae913ec1f085 was meant to be doing.
2015-11-18Revert "eet: removing useless assignment variables."Stefan Schmidt
This reverts commit 2a01c4517b5b97c2b988ce590d7dae913ec1f085. Declaring these variable void breaks the build with disabled crypto. Fixes T2855
2015-11-18Edje data: Fix memory leak in nested data descriptorsJean-Philippe Andre
2015-10-31eet: removing useless assignment variables.Srivardhan Hebbar
Summary: Signed-off-by: Srivardhan Hebbar <> Reviewers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-10-29Evas: Disable TGV save debugging and fix error logJean-Philippe Andre
Disable time stats & quality check Remove an invalid error message (was logged in case of success)
2015-10-29Eet: Another ETC decoding fixJean-Philippe Andre
2015-10-29Eet: fix decoding of embedded ETC imagesJean-Philippe Andre
Typos, lack of NULL check, excessive sizeof(type) not matching the object type, no border set, etc... This all lead to a crash and then no render (with an error message and then without...). This also simplifies the implicit loading of ETC1 as ETC2 when supported by the driver. @fix
2015-10-22eet: handling memory leak on realloc fail.Srivardhan Hebbar
Summary: Signed-off-by: Srivardhan Hebbar <> Reviewers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-10-21eet: handling memory leak on realloc fail.Srivardhan Hebbar
Summary: Signed-off-by: Srivardhan Hebbar <> Reviewers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-10-07eet - be robust about garbage at the end that looks like an idenityCarsten Haitzler (Rasterman)
if there is an identity signaure at the end, ONLY check it if it looks like a real one (correct magic number, cert and sig size fields are sane etc.). this means eet opens dont fail for files that may have trailing garbage or padding that is not an eet identity signature.
2015-10-07eet - fix signature alignment and positionCarsten Haitzler (Rasterman)
2015-09-28eet: fix typo in documentationAmitesh Singh
2015-08-28eet - improve eet file storage when encoding by aligning dataCarsten Haitzler (Rasterman)
this forces data when written to be aligned to 8 bytes. this makes mapping keys directly far better as from now on you can assume all data is aligned to 8 bytes allowing you, if you want, to use eet files as caches for raw binary data you mmap directly and just use (not portable though). @feat
2015-05-07eet: remove the need to order the header correctly for Windows.Cedric BAIL
2015-04-25eet: fix interger overflowCedric BAIL
CID 1256196
2015-04-21eet - fix emile changes to not leak in eet_cipher/deciper()Carsten Haitzler (Rasterman)
coverity spotted a missing binbuf free for the in binbuf created in CID 1288921 and CID 1288920. this fixes both of these. leak. new.
2015-04-13Emile: Fix memory leakJean-Philippe Andre
The binbuf wrappers were never freed.
2015-03-17eet: remove use of deprecated Eina_Binbuf functions.Cedric BAIL