summaryrefslogtreecommitdiff
path: root/utils/zenutils
AgeCommit message (Collapse)Author
2015-01-12Clean up bogus 'make compiler happy' codeThomas Jarosch
Less code makes the compiler even happier. Change-Id: I24cf586ba44f432b541fd17079f93dbd52314828
2015-01-04Remove unneeded std::string .c_str() callThomas Jarosch
cppcheck reported: [utils/zenutils/source/update_patch/main.cpp:105]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. Change-Id: Ied9de135e693af22e1fdc3aa3b67d14b7d2c21e6
2014-12-20Remove useless assignment of 'len'Thomas Jarosch
The variable 'len' is not used after this statement. Probably a copy'n'paste leftover from the similar looking block above. cppcheck reported: [rockbox/utils/zenutils/source/shared/cenc.cpp:212]: (style) Same expression on both sides of '-'. Change-Id: Ia8357187ed39d3fab10d97df75a1146c4f733790
2012-06-27zenutils/update_extract: make sure the archive is validAmaury Pouly
The update_extract tool works by finding the compressed size and the compressed data in the updater. This is problematic since without the uncompressed size, inflate can produce extra bytes at end. This is not a problem for our tools but the device will plain reject it if sent by MTP/sendfirm for example. Workaround this issue by reading and rewriting the archive after decompression so that only the meaningfull data is written. Change-Id: I117f434b92a56d93d269af49c3e426cd8cc0c7e4
2012-01-04zenutils: remove unused empty fileRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31574 a1c6a512-1295-4272-9138-f99709370657
2011-02-02Revert nonsense change.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29195 a1c6a512-1295-4272-9138-f99709370657
2011-02-02Fix red. Replace remaining MEM's mit MEMORYSIZE.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
2009-06-10Fix ZenUtils compilationMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21242 a1c6a512-1295-4272-9138-f99709370657
2009-01-23ZenUtils: fix offset detectionMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19825 a1c6a512-1295-4272-9138-f99709370657
2008-11-21Fix segmentation fault when no key was found.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
2008-09-14ZenUtils:Maurus Cuelenaere
* Add support for ZEN Mozaic * Add checking for valid FRESC when decrypting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18511 a1c6a512-1295-4272-9138-f99709370657
2008-08-26ZenUtils:Maurus Cuelenaere
* add FRESC encryption * clean up code a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18345 a1c6a512-1295-4272-9138-f99709370657
2008-08-24ZenUtils:Maurus Cuelenaere
* Apply FS#9311 by Jelle Geerts: fix compiling on MingW * Make zen::find_firmware_offset() detect the offset better git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18340 a1c6a512-1295-4272-9138-f99709370657
2008-08-13Fix little mistake; thanks to Dave HooperMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18272 a1c6a512-1295-4272-9138-f99709370657
2008-08-12Search-and-replace was a bit too excessive..Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18265 a1c6a512-1295-4272-9138-f99709370657
2008-08-12Zenutils:Maurus Cuelenaere
* Make update_extract work again * Add other players to zen_crypt * Change stricmp() calls to strcasecmp() in zen_crypt git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18264 a1c6a512-1295-4272-9138-f99709370657
2008-07-11Remove binariesMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18013 a1c6a512-1295-4272-9138-f99709370657
2008-07-11Delete the svn:executable property and set svn:eol-style to native for all ↵Nicolas Pennequin
those text files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18012 a1c6a512-1295-4272-9138-f99709370657
2008-07-11Add zook's ZenUtils to SVNMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18010 a1c6a512-1295-4272-9138-f99709370657