summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29rbutil: c200v2Rafaël Carré1-0/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27621 a1c6a512-1295-4272-9138-f99709370657
2010-07-29mkamsboot: don't boot OF if USB is plugged (AMSv1 only)mkamsboot_1.4Rafaël Carré3-121/+48
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27618 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Add deployment script for Theme Editor.Dominik Riebeling2-565/+0
Also move scripts to utils folder, in preparation of merging rbutil and utils folders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27600 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Restructure and rename deploy-release.py.Dominik Riebeling2-44/+79
Move actual working functionality into a python module, and write a simple script to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27598 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Fix a typo.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27597 a1c6a512-1295-4272-9138-f99709370657
2010-07-25Fix USB ID retrieval on Windows 7.Dominik Riebeling1-16/+8
The device string containing the USB IDs differs in casing on Windows 7 so always convert to upper case before scanning the string. Use DEVICEDESC instead of LOCATION_INFORMATION for the user visible device string as the latter doesn't show anything useful to the user on W7, at least for the devices I've tried. Unfortunately DEVICEDESC is less descriptive than the previously used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27561 a1c6a512-1295-4272-9138-f99709370657
2010-07-18mkamsboot: take in account the additional 0x200 block when calculating sizeRafaël Carré2-12/+14
Align sizes of different blocks on mkamsboot output git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27482 a1c6a512-1295-4272-9138-f99709370657
2010-07-16mkamsboot: update outdated commentRafaël Carré1-6/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27442 a1c6a512-1295-4272-9138-f99709370657
2010-07-16mkamsboot: fix for newer fuzev2Rafaël Carré4-173/+162
These models are restricted to OF >= v02.3.31, probably because of a hardware change The OF checks a version string located between 0x0 and 0x200 in the firmware block, so let's keep this part unmodified We put our dualboot code at 0x200, and insert a branch + vectors at 0x0 That way our patched file will present the OF version to the fuzev2 OF patching it, and we only waste 512 bytes on other models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27441 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Generalize the application bundle copy workaround to simplify later reuse.Dominik Riebeling1-3/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27377 a1c6a512-1295-4272-9138-f99709370657
2010-07-02Rockbox Utility: Explicitly link zlib.Dominik Riebeling1-0/+4
zlib is required by the zip class. Explicitly link it instead of relying it to get implicitly linked via Qt. Fixes link errors on distributions with implicit linking disabled. Don't do this on Windows as things are different here. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27251 a1c6a512-1295-4272-9138-f99709370657
2010-06-30FS#11439: Fix version comparison regression.Dominik Riebeling2-4/+23
Improve string suffix handling by distinguishing between version number separators (i.e. dots) and extended separators and additional version characters. Corrects false update information displayed for 64bit binaries of Rockbox Utility. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27201 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Detect when building for 64bit Linux and adjust tarball name.Dominik Riebeling1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27095 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Remove the unused ENRD0_USB_STATUS define, I'll leave the other button ↵Tobias Diedrich1-1/+0
defines in, maybe someone wants his bootloader to use one of those instead ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27081 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Use DBOP to check for left button on C200v2 like we are supposed to instead ↵Tobias Diedrich3-14/+19
of right button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27080 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Use DBOP to check for left button on C200v2 like we are supposed to instead ↵Tobias Diedrich1-7/+52
of right button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27079 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Bump Rockbox Utility version to 1.2.7.rbutil_1.2.7Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27062 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Don't close libusb device handle if opening failed.Dominik Riebeling1-1/+1
This issue has been pointed out as FS#11420. Redone by myself because the change is trivial and the submitter didn't state his real name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27061 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Log filesystem free value to system trace.Dominik Riebeling1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26935 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Rockbox Utility translation updates.Dominik Riebeling16-1349/+1136
- Update german translation. - lupdate all other translations and drop obsolete strings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26932 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Make System and Utils class based on QObject.Dominik Riebeling4-11/+15
Those classes use Qt objects anyway, and making them based on QObject moved the strings into the appropriate class when translating. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26931 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Fix source string spelling.Dominik Riebeling1-6/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26925 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Make sure files which aren't windows-specific use \n line endings onlyRafaël Carré2-26/+26
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2010-06-15Remove ugly RTL writing direction hack.Dominik Riebeling17-3514/+6021
Instead of hard coding the languages to be rendered as RTL make it dependent on a translation string. Translate the string LTR to RTL to switch to RTL layout. This is equivalent to the handling done in the i18n example for Qt Jambi and while not the best solution at least cleaner than hardcoded languages. Update hebrew translation for this which is currently the only RTL translation. lupdate all other translations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26865 a1c6a512-1295-4272-9138-f99709370657
2010-06-15Add cleaned up tests used for Utils::compareVersionStrings().Dominik Riebeling3-0/+149
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26861 a1c6a512-1295-4272-9138-f99709370657
2010-06-11deploy-release: Make upx part optional and disable it.Dominik Riebeling1-3/+9
upx doesn't like the Rockbox Utility binaries built with MinGW's gcc 4.5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26794 a1c6a512-1295-4272-9138-f99709370657
2010-06-11Rework Rockbox Utility update version number check.Dominik Riebeling4-55/+76
The version check failed on subrelease versions (as the 1.2.5-1 rebuild done for Mac) and detected an updated version that is in fact an outdated one. Rework the comparison completely, move it to the Utils class and display some more information in the status bar upon update check. Especially keep a notice in the status bar if an updated version was found. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26788 a1c6a512-1295-4272-9138-f99709370657
2010-06-11Convert uninstallation to use signals / slots for logging.Dominik Riebeling4-28/+30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26782 a1c6a512-1295-4272-9138-f99709370657
2010-06-08Use program name variable instead of hardcoded name.Dominik Riebeling1-2/+2
This allows easier reuse for other tools (like the theme editor). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26702 a1c6a512-1295-4272-9138-f99709370657
2010-06-07Distinguish between release and current build when installing fonts.Dominik Riebeling4-8/+37
As with the voice file installation changed in r26637 the same issue exists for fonts. While the fonts package rarely changes and therefore this shouldn't have had a negative impact in the past use the correct font package anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26667 a1c6a512-1295-4272-9138-f99709370657
2010-06-07Fix typo.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26666 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Sort rbutil.ini general section and rename voice_url for clarity.Dominik Riebeling4-11/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26638 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Distinguish between release and current build when installing voice files.Dominik Riebeling4-12/+43
Check the installed Rockbox and install release voice file if a release is found. Fixes wrong voice file getting installed for releases, which especially showed up with the recent lang file cleanup. This is likely to be the cause for FS#11362. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26637 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Move retrieval of revision and release numbers to RockboxInfo class.Dominik Riebeling3-12/+15
This allows reusing retrieval for upcoming distinguishing between release and current voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26636 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Transmit installed build revision and release version to theme site.Dominik Riebeling2-1/+18
To allow the theme site handling different versions of the theme syntax transmit the revision number and release number (whatever applies) to the server. A later update to the theme site can then return a theme list with themes compatible, and include the correct download links. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26625 a1c6a512-1295-4272-9138-f99709370657
2010-06-04rbutil: add mpio hd200 as disabled target (all untested)Dominik Wenger7-6/+211
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26561 a1c6a512-1295-4272-9138-f99709370657
2010-06-04rbutil: Make TTS and encoders run on all cores \n FS#11160 by Delyan KratunovDominik Wenger12-104/+197
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26558 a1c6a512-1295-4272-9138-f99709370657
2010-06-04Update Brazilian Portuguese translation for Rockbox UtilityDominik Riebeling1-42/+163
Author: Adilson Xavier Flyspray: FS#11317 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26547 a1c6a512-1295-4272-9138-f99709370657
2010-06-03Fix global proxy getting set too late.Dominik Riebeling1-9/+2
Downloading the build information was done before setting the global proxy values, so this broke in environments that completely block non-proxy connections. Explicitly set the proxy on startup before downloading other things. Remove some duplicated code. Fixes FS#11163. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26504 a1c6a512-1295-4272-9138-f99709370657
2010-06-02Move constructing the themes info download link to rbutil.ini.Dominik Riebeling4-4/+7
Instead of constructing the download link with fixed script name put a template into the system info file. That way changing the download link doesn't require changing the code anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26495 a1c6a512-1295-4272-9138-f99709370657
2010-06-01mkamsboot / nrv2e_d8.S thubm decompressor : comment the use of mov pc, lrRafaël Carré1-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26449 a1c6a512-1295-4272-9138-f99709370657
2010-05-27Fix a warning.Dominik Riebeling1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26339 a1c6a512-1295-4272-9138-f99709370657
2010-05-27Use build dir and respect TARGET_DIR when building mkamsboot.Dominik Riebeling1-2/+4
libmkamsboot still did put files into its source folder when building for Rockbox Utility out-of-tree. As with the other libraries use the specified build folder. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26335 a1c6a512-1295-4272-9138-f99709370657
2010-05-25Bump ipodpatcher version number in preparation for a new ipod bootloader releasebootloader_ipodpatcher_v5Torne Wuff1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26284 a1c6a512-1295-4272-9138-f99709370657
2010-05-24mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa ↵Rafaël Carré5-81/+58
AMS OF The field we thought was representative of the model is not, it has changed in the past for fuzev1 and fuzev2. For example the value 0x23 is found in 2 old fuzev1 OF versions, and in the c200v2 OF The only reliable way to detect the model of a given OF is by using the built-in list of md5sums. Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and then check if the model in the bootloader corresponds to the model of the known md5sum of the given OF. That way we can continue to present the user with a list of known OF versions in case the OF is unknown to mkamsboot Also explicit the dependency of main.c on mkamsboot.h in case the prototypes change Correct the header's description not updated in r21648 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
2010-05-21mkamsboot: support Fuzev2 OF 2.03.33Rafaël Carré1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26230 a1c6a512-1295-4272-9138-f99709370657
2010-05-21Rockbox Utility: updates Japanese translation.Yoshihisa Uchida1-194/+253
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26226 a1c6a512-1295-4272-9138-f99709370657
2010-05-20mkamsboot: support Clip+ OF v01.02.15Rafaël Carré1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26207 a1c6a512-1295-4272-9138-f99709370657
2010-05-18Fuzev2: use enrd0 for USB detection, GPIO didn't work on some modelsRafaël Carré3-46/+66
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26125 a1c6a512-1295-4272-9138-f99709370657
2010-05-17Clip+: boot to OF if USB is connectedRafaël Carré4-13/+85
To be sure that there is no mistake in this code, it is run *after* the known to work HOME & LEFT buttons checks, unlike other Sansas git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26122 a1c6a512-1295-4272-9138-f99709370657