summaryrefslogtreecommitdiff
path: root/src/lib/emile (follow)
AgeCommit message (Collapse)Author
2020-05-27refactor buildMarcel Hollerbach
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
2020-05-26build: lib: harmonize the use of package_c_args in all libsStefan Schmidt
Add it to subprojects which are not using it and remove and old ELEMENTARY_BUILD define we no longer use. This allows us to have a central place in the main meson.build file to set this variable. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11854
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
2020-04-20doxygen docs: Fix all invalid @param namesXavi Artigas
There were quite a few of these...
2020-04-06emile: fix a potentional resource leaking.Wonki Kim
'ctx' can be leaked in some case. this pathc fixes it. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11368
2020-02-28doxygen: fix missing endcond tagXavi Artigas
2020-02-19emile: remove a improper free logicWonki Kim
BIO *b has freed improperly. this patch removes the logic. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11367
2019-12-02fix jpeg loading which freed the wrong ptrCarsten Haitzler (Rasterman)
fixes T8497 @fix
2019-08-07emile - use newer lz4 api instead of deprecated oneCarsten Haitzler (Rasterman)
2019-04-02docs: Fix common misspellings in H filesXavi Artigas
Fixed all appearances of words from this list in H files: https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
2019-03-08Revert "Emile: Move colorspaces to Efl.Gfx"Mike Blumenkrantz
This reverts commit 0d41ad0c837a2e1655a4d41c28ec7f0ccf10639c. stop defining legacy types to eo types!!!! https://i.redd.it/95mmznk5wo021.gif Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8243
2019-02-01replace hton and ntoh family functions with ones defined in einaVincent Torri
Summary: This fixes especially the execution of edje_cc on Windows Test Plan: execution of edje_cc Reviewers: cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7834
2019-01-15emile+ tgv saver - stop using deprecated lz4 functions to remove warningsCarsten Haitzler (Rasterman)
2018-12-20cmake: remove!Marcel Hollerbach
This build was never complete and also was not maintained probebly. It is also dropped in favour of meson which is cool, merged, works & is fast. Differential Revision: https://phab.enlightenment.org/D7010
2018-10-31emile - fix windows buildVincent Torri
use evil and fix libjpeg boolean re-def.
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-07-18emile image: close file properly.Hermet Park
@fix
2018-04-05emil: resolve possible memory leak.Hermet Park
Submitted-By-Off: JongMin Lee <jm105.lee@samsung.com>
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2017-10-09emile: comparing less than zero with unsigned interger.Subodh Kumar
Summary: Unsigned integer should not be compared to less than zero. @fix Reviewers: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5270 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-09-27emile: unmap the memory for image file after decode.jiin.moon
Summary: In case of emile, unmap the memory of the image file when the image file is closing. But closing of image file happen when the image is flushed from the cache, so the mapped memory of image file remain for long period of time with no benefit (If it is in cache, it won't get decoded again). So I think we don't need to keep the mapped memory of image file. Test Plan: self Reviewers: cedric, jpeg, jypark Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D5210 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-06-05emile: SSL state should fallthrough to avoid duplication of logic.Cedric BAIL
2017-06-05emile: fallthrough is legal here as we handle fallback case when caller ↵Cedric BAIL
doesn't know about GRY8.
2017-04-06emile_image: add error handling code for ifd_offset valueJaeun Choi
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
2017-02-27emile: rename emile_image_register to emile_image_callback_set.Cedric BAIL
This fix ABI report according to discussion on the mailing list.
2017-02-07emile: don't use APIs deprecated in openssl-1.1Hosang Kim
Summary: When openssl-1.1.0 is built with `--api=1.1 disable-deprecated`, use of deprecated APIs leads to build failures. X-Gentoo-Bug: 606628 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=606628 Subscribers: cedric, jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D4616 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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: emile is depending on eflMarcel Hollerbach
there is some .eot.h file included from the efl interfaces, so we need a dependency here
2017-02-01cmake: use the jpeg module of cmake to find the libraryMarcel Hollerbach
finding libjpeg can be a bit more complex, there are systems that are not delivering a .pc for it. So we should just use the cmake module to find it.
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/libname.so
2017-01-26cmake: add emile and EFL_OPTION_BACKEND()Gustavo Sverzut Barbieri
Add emile and with that EFL_OPTION_BACKEND() to support choosing among different backends for something, in emile's case it's crypto backend (gnutls, openssl or none).
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-15emile: refactor color convertion/copy logic in jpeg data decoder.Cedric BAIL
2016-12-15emile: reduce the amount of clobbered variable.Cedric BAIL
2016-12-07emile_image: fix possible segmentation fault in AGRY88Sungtaek Hong
Summary: - ptrag is set NULL and is allocated only when prop is rotated. but *ptrag = 0xFF00 | ptr[0]; without checking rotation. Reviewers: jpeg, cedric, Hermet Reviewed By: Hermet Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4463
2016-12-06emile: add infrastructure for callback to request what to do with image.Cedric BAIL
First use of this infrastructure is to make JPEG decoding interruptible.
2016-12-05emile: do not rely on the struct sizeMarcel Hollerbach
Summary: in newer versions of openssl, most of the public structures are made opaque. So we should use the openssl api to allocate this structure. Since ctx is now a pointer we dont need opened anymore, so those vars are replaced with ctx checks. ctx is always NULL'ed after a free fix T4923 Reviewers: cedric, jpeg, stefan_schmidt Reviewed By: jpeg, stefan_schmidt Subscribers: stefan_schmidt, ManMower, jpeg Maniphest Tasks: T4923 Differential Revision: https://phab.enlightenment.org/D4456
2016-10-17Emile: use stronger ssl cipherSimon Lees
Follows on from 356a1aa87a04a8d1c43e01fa861270d0947069c0 emile didn't exist when this work was done originally
2016-09-21emile: fix typos.Cedric BAIL
2016-08-30emile: API break, rename sha1 to hmac_sha1, introduce real sha1.Gustavo Sverzut Barbieri
emile_binbuf_sha1() was actually doing HMAC version using the given key. This doesn't work when all you need is just the SHA1 of the input data. Then rename emile_binbuf_sha1() to emile_binbuf_hmac_sha1() and introduce a new version without key/keylen. This API was marked as BETA and no real users in the codebase, then it shouldn't cause us problems.
2016-08-19emile: fix jpeg loader broken with orientationjiin.moon
Summary: After applying a patch regarding region, side-effect detected. Fixes T4390 Test Plan: make check Reviewers: jpeg, cedric, jypark Maniphest Tasks: T4390 Differential Revision: https://phab.enlightenment.org/D4245
2016-08-17evas: Fix region test in jpeg load with region + zoomJean-Philippe Andre
The previous commit exposed an issue with the region test does not take into account the scale down factor. Not a @fix in itself, as it depends on the previous patch.
2016-08-17emile: region_set does not working in jpeg loader if scale_down has setjiin.moon
Summary: If both region and scale_down has set, ERR would be returned by loader of jpeg. @fix Test Plan: sample code Reviewers: raster, jypark, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4200
2016-08-01autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL
remove per directory support.
2016-05-31emile: fix build warning of Emile_Image.JunsuChoi
Summary: initialized structure 'opts_region' for uninitialized build warning Test Plan: N/A Reviewers: raster, woohyun, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3993 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-14emile: make it possible to build the library alone.Cedric BAIL
2016-03-28Emile: Move colorspaces to Efl.GfxJean-Philippe Andre
A small hack to the toolchain allows us to generate enums with eolian for use by Eet and Emile (internal or otherwise non-eo libraries). Thanks to how BUILT_SOURCES works, the eo.h files required by Emile will be generated before they are used. This adds a partial dependency on eo for eet and emile: - package dependency - include dependency There is no library link dependency.
2016-01-07emile: move all eina_str_base64 to emile_base64.Cedric BAIL