summaryrefslogtreecommitdiff
path: root/utils/zenutils (follow)
Commit message (Collapse)AuthorAge
* Clean up bogus 'make compiler happy' codeThomas Jarosch2015-01-12
| | | | | | Less code makes the compiler even happier. Change-Id: I24cf586ba44f432b541fd17079f93dbd52314828
* Remove unneeded std::string .c_str() callThomas Jarosch2015-01-04
| | | | | | | 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
* Remove useless assignment of 'len'Thomas Jarosch2014-12-20
| | | | | | | | | | | 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
* zenutils/update_extract: make sure the archive is validAmaury Pouly2012-06-27
| | | | | | | | | | | | 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
* zenutils: remove unused empty fileRafaël Carré2012-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31574 a1c6a512-1295-4272-9138-f99709370657
* Revert nonsense change.Andree Buschmann2011-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29195 a1c6a512-1295-4272-9138-f99709370657
* Fix red. Replace remaining MEM's mit MEMORYSIZE.Andree Buschmann2011-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
* Fix ZenUtils compilationMaurus Cuelenaere2009-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21242 a1c6a512-1295-4272-9138-f99709370657
* ZenUtils: fix offset detectionMaurus Cuelenaere2009-01-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19825 a1c6a512-1295-4272-9138-f99709370657
* Fix segmentation fault when no key was found.Maurus Cuelenaere2008-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
* ZenUtils:Maurus Cuelenaere2008-09-14
| | | | | | | | * 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
* ZenUtils:Maurus Cuelenaere2008-08-26
| | | | | | | | * add FRESC encryption * clean up code a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18345 a1c6a512-1295-4272-9138-f99709370657
* ZenUtils:Maurus Cuelenaere2008-08-24
| | | | | | | | * 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
* Fix little mistake; thanks to Dave HooperMaurus Cuelenaere2008-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18272 a1c6a512-1295-4272-9138-f99709370657
* Search-and-replace was a bit too excessive..Maurus Cuelenaere2008-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18265 a1c6a512-1295-4272-9138-f99709370657
* Zenutils:Maurus Cuelenaere2008-08-12
| | | | | | | | | * 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
* Remove binariesMaurus Cuelenaere2008-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18013 a1c6a512-1295-4272-9138-f99709370657
* Delete the svn:executable property and set svn:eol-style to native for all ↵Nicolas Pennequin2008-07-11
| | | | | | those text files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18012 a1c6a512-1295-4272-9138-f99709370657
* Add zook's ZenUtils to SVNMaurus Cuelenaere2008-07-11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18010 a1c6a512-1295-4272-9138-f99709370657