path: root/rbutil/ipodpatcher/ipodio-win32.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-24rbutil: Merge rbutil with utils folder.Dominik Riebeling1-226/+0
rbutil uses several components from the utils folder, and can be considered part of utils too. Having it in a separate folder is an arbitrary split that doesn't help anymore these days, so merge them. This also allows other utils to easily use libtools.make without the need to navigate to a different folder. Change-Id: I3fc2f4de19e3e776553efb5dea5f779dfec0dc21
2013-01-01Provide dealloc function to ipodpatcher.Dominik Riebeling1-0/+13
On Windows the sector buffer is allocated using VirtualAlloc, thus releasing this buffer should be done using VirtualFree. Provide an additional function for deallocating the buffer so users of ipodpatcher do not need to know about this. Change-Id: Ibb0fc575a185148a389e63935e86a392bf8d180d
2013-01-01ipodpatcher: move sectorbuf pointer into ipod_t structure.Dominik Riebeling1-7/+13
The ipod_t structure holds all relevant information for ipodpatcher. Put the global ipod_sectorbuf pointer into it as well. Allows the Rockbox Utility Ipod class to be instanciated multiple times since each instance can now have its own buffer. Change-Id: Ie319cbadbc20c367ceadba9a46b4dc34b57a79a7
2011-12-07ipodpatcher: guard platform specific files.Dominik Riebeling1-0/+4
Use the preprocessor to make platform specific files compile as empty files if built for a different platform. This removes the need to distinguish in the Makefile and simplifies creating a libipodpatcher. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-28Revert most of r24361 - it was committed in error.Dave Chapman1-1/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-28Update the comments describing how to build ipodpatcher - no functional changes.Dave Chapman1-0/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-11-08Rename print_error() in ipodpatcher and sansapatcher.Dominik Riebeling1-10/+10
Both patchers use the same function name with one being removed when building for rbutil. This gets in the way trying to move the patchers to libraries, and it also results a linking dependency of sansapatcher on ipodpatcher. Renaming the function makes both more self-contained and avoids potential issues if the functions happen to not do the same. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-09-20Always format error message using ANSI functions to get rid of type-punning ↵Dominik Riebeling1-3/+3
when building with rbutil. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-08-04Add support (on Linux and win32 only - I couldn't figure this out on OS X) ↵Dave Chapman1-2/+2
for reading the XML device information from ipods. This information includes the RAM size, which is potentially useful for rbutil to distinguish between the two ipod video builds. This is implemented as both a new --dump-xml option (to dump the entire XML to a file) and a new 'ramsize' field in struct ipod_t. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-05-04Check for permission denied error when trying to access the player and ↵Dominik Riebeling1-1/+4
inform the user that raw disc access permissions are required. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2007-11-06Hopefully fix Ipod bootloader installation on Windows with RbUtilQt, without ↵rbutilqt_v1.0.3Magnus Holmgren1-2/+2
breaking ipodpatcher. I don't have any Ipod to test with, but the change is easy to revert. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2007-07-29Add -W to CFLAGS in Makefile and fix the generated warnings.Dave Chapman1-2/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2007-06-16Initial integration of a --format option, based on fat32format.exe. The ↵Dave Chapman1-2/+10
main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2007-02-10Move ipodpatcher into rbutil directoryDave Chapman1-0/+190
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657