aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/TexturePacker/src
AgeCommit message (Collapse)Author
2022-04-13changed: add a verbose flag for texturepackerArne Morten Kvarving
and suppress the 'This is a XXX' message if not enabled
2020-10-30[clang-tidy] performance-unnecessary-value-paramRechi
2020-10-30[clang-tidy] performance-faster-string-findRechi
2020-09-20TexturePacker: Do not leak image data memoryVasyl Gello
Building Kodi with asan+lsan+ubsan breaks with the following error: ================================================================= ==241706==ERROR: LeakSanitizer: detected memory leaks Direct leak of 69370335 byte(s) in 661 object(s) allocated from: #0 0x7fb290a737a7 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.6+0xab7a7) #1 0x563e2bed8b09 in PNGDecoder::LoadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DecodedFrames&) (/build/kodi-18.8+dfsg1/kodi_build_x11/build/texturepacker/TexturePacker+0x17cb09) #2 0x563e2be71392 in DecoderManager::LoadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DecodedFrames&) (/build/kodi-18.8+dfsg1/kodi_build_x11/build/texturepacker/TexturePacker+0x115392) #3 0x563e2be7d1bf in createBundle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, unsigned int, bool) (/build/kodi-18.8+dfsg1/kodi_build_x11/build/texturepacker/TexturePacker+0x1211bf) #4 0x563e2be69990 in main (/build/kodi-18.8+dfsg1/kodi_build_x11/build/texturepacker/TexturePacker+0x10d990) #5 0x7fb28fbc7cc9 in __libc_start_main ../csu/libc-start.c:308 SUMMARY: AddressSanitizer: 69370335 byte(s) leaked in 661 allocation(s). The root cause of the leak is decoder's FreeDecodedFrames never called. This commit fixes the leak by refactoring the following aspects: * Introducing the pointer to decoder object in the decoded frame, * Changing IDecoder::FreeDecodedFrames to IDecoder::FreeDecodedFrame cleaning single frame at a time * Moving iteration over frames to DecoderManager::FreeDecodedFrames * Removing unnecessary DecodedFrames.user Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-04-19Merge pull request #16578 from dimitry-ishenko/fixesphunkyfish
TexturePacker: fix for 32-bit systems
2020-01-19[modernize] use-default-member-initRechi
2020-01-06Update dependenciesPär Björklund
Updates most dependencies to latest version Fixes the store build by fixing python Enables pillow and pycryptodome again on windows Replaces easyhook with detours
2019-09-16[modernize] use-emplaceRechi
2019-09-08TexturePacker: fix for 32-bit systemsDimitry Ishenko
2019-07-09[format] fix include orderRechi
2019-07-09[cosmetics] fix include format for system & lib headersRechi
2019-05-10Merge pull request #15164 from fritsch/texturepackerArne Morten Kvarving
TexturePacker: Fix memory / resource leak the ugly way
2019-02-05[TexturePacker] use std:: instead of using namespace stdRechi
2019-02-01[TexturePacker] update windows dirent implementationRechi
2018-12-30TexturePacker: Fix memory / resource leak the ugly wayfritsch
2018-06-12[tools] nuke whitespaceh.udo
2018-06-12[TexturePacker] Nuke include guardsh.udo
2018-06-12[TexturePacker] pragma once positionh.udo
2018-01-24A mass change from xbmc.org to kodi.tv.Stig-Ørjan Smelror
I used the command grep --include={\*.cpp,\*.h} -rnl './' -e "http://xbmc.org" | xargs -i@ sed -i 's/http\:\/\/xbmc\.org/http\:\/\/kodi\.tv/g' @ to change every http://xbmc.org to http://kodi.tv in *.cpp and *.h files
2017-12-23[cleanup][TexturePacker] remove PlatformDefs includeRechi
- remove unused function definitions - use char directly instead of a typedefs to char
2017-12-15Update Makefile.am after #13179Thomas Genty
2017-11-06TexturePacker: include GifHelper after system headersMilhouseVH
2017-11-06TexturePacker: drop unused variableMilhouseVH
2017-11-06TexturePacker: use C++ headersMilhouseVH
2017-07-06[modernize][TexturePacker] Prefer 'default' for declarationsh.udo
2017-06-29[modernize][TexturePacker] Prefer 'override' usageh.udo
2017-06-26start killing PlatformDefsRainer Hochecker
2017-05-30[TexturePacker] Silence warningsh.udo
2016-11-29register is deprecated and does nothing but throw a warning with c++11Arne Morten Kvarving
2016-11-23remove unused variables / membersArne Morten Kvarving
2016-05-30Updated texturepacker to vs2015 and all libs with it, remove dependency on ↵Pär Björklund
lzo in lib folder make lzo non-optional (thanks Stefan Saraev) Packaged a new build of texturepacker
2016-03-17native/TexturePacker: fix compilation with gcc 4.6Bernd Kuhls
Kodi itself depends on gcc >= 4.7 due to its use of the C++11 standard. When cross-compiling the host gcc currently also needs to be >= 4.7 due to the texturepacker tool being needed as native binary to compile Textures.xbt for the target system. Cross-compiling on a system where host gcc is at version 4.6 fails atm with this error: cc1plus: error: unrecognized command line option '-std=c++11' make[4]: *** [md5.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1plus: error: unrecognized command line option '-std=c++11' cc1plus: error: unrecognized command line option '-std=c++11' make[4]: *** [DecoderManager.o] Error 1 make[4]: *** [XBTFWriter.o] Error 1 cc1plus: error: unrecognized command line option '-std=c++11' make[4]: *** [TexturePacker.o] Error 1 cc1plus: error: unrecognized command line option '-std=c++11' make[4]: *** [decoder/PNGDecoder.o] Error 1 make[3]: *** [all] Error 2 make[2]: *** [native/TexturePacker] Error 2 Using this patch the problem is fixed and a working TexturePacker host binary is created.
2016-03-08[guilib] cleanup leftover TextureBundleXPR*Stefan Saraev
2016-02-13[depends] remove libsquishStefan Saraev
2016-02-13[texturepacker] configure: remove libsquishStefan Saraev
2016-02-13[texturepacker] remove squish usageStefan Saraev
2016-02-13[texturepacker] make disabling dxt/lzo actualy work.Stefan Saraev
2016-02-05[guilib][depends] Remove libgif from core. It's still needed for TexturePacker.ace20022
2016-01-29[TexturePacker][gif] The Graphic Control Extension is optional.ace20022
2016-01-09[tools][texturepacker] Fix gif decoding and packaging .ace20022
2015-10-18[texurepacker] dupecheck default is offStefan Saraev
2015-09-18TexturePacker: use $PKG_CONFIGMike Frysinger
Build systems should not hardcode `pkg-config` anywhere. The pkg-config m4 files already have a standard $PKG_CONFIG variable for people.
2015-09-08[win32] TexturePacker: bump version to 1.0.4montellese
2015-09-08[win32] TexturePacker: fix/cleanup include directories definitionmontellese
2015-09-08TexturePacker: properly write the path into the header followed by zeroes ↵montellese
instead of garbage
2015-08-14[win32] fix missing include path to winres.hmontellese
2015-08-14texturepacker: fix texturepacker not writing any framesmontellese
2015-08-14texturepacker: derive CXBTFWriter from CXBTFBase instead of abusing CXBTFReadermontellese
2015-08-11refactor CXBTFFrame, CXBTFFile and CXBTFReader and get rid of CXBTFmontellese
2015-03-12[win32/TexturePacker] - added version resource and bumped to 1.0.2Memphiz