summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt
AgeCommit message (Collapse)Author
2010-04-08rbutil: update french translation.Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25533 a1c6a512-1295-4272-9138-f99709370657
2010-04-07rbutil: Hebrew translationTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25520 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Fix layout special case for hebrew failing for system language (FS#11180).Dominik Riebeling
For hebrew, a special case handles switching to RTL. Make this work if the language selection is done by the system environment, i.e. no language has been selected by the user previously. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25518 a1c6a512-1295-4272-9138-f99709370657
2010-04-04Try to detect Wine.Dominik Riebeling
Make the Windoes binary try to detect if it's running under Wine. Display a warning if so, as Rockbox Utility is likely to fail in all kind of strange ways when running on Wine. We do provide Linux binaries, so it's not even a good idea to try running under Wine at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25471 a1c6a512-1295-4272-9138-f99709370657
2010-04-02System Info: display OS X version number and architecture too.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25442 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Move utils.cpp functions into separate class and split it up.Dominik Riebeling
Move class-less functions in utils.cpp into a new Utils class and make the old functions static. This prevents clashes with system C functions. Rename some functions to avoid macro problems (check() is a macro on OS X). Split out the RockboxInfo class into a separate file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25441 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Implement system proxy values retrieval on OS X.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25439 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Warn when selecting system proxy settings with invalid values.Dominik Riebeling
Rockbox Utility doesn't support "proxy auto-config" (aka PAC) for system proxy settings. This can result in users selecting system proxy and expecting it to work even if their system uses PAC. While the configuration dialog displays the proxy setting values retrieved from the system this is not totally obvious. Add a message telling if the retrieved system proxy values are not useable. For now this only checks if a proxy host and port are set which should catch the usual cases when PAC is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25435 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Fix leaking file descriptors on error.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25431 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Fix multiple warnings when network is unreachable.Dominik Riebeling
Don't listen to requestFinished() signals for background downloads. The only information needed is the done() signal. Fixes multiple error messages popping up on unreachable network. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25430 a1c6a512-1295-4272-9138-f99709370657
2010-03-31Add Gigabeat S to Rockbox Utility.Dominik Riebeling
This adds the Beast as disabled target. Note that bootloader installation isn't implemented yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25412 a1c6a512-1295-4272-9138-f99709370657
2010-03-31Add build folder cleanup on build errors and add option to keep it.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25411 a1c6a512-1295-4272-9138-f99709370657
2010-03-31rbutil: Hebrew translationTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25410 a1c6a512-1295-4272-9138-f99709370657
2010-03-31rbutil: Make strings translatableTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25409 a1c6a512-1295-4272-9138-f99709370657
2010-03-31Rockbox Utility: Japanese translation updatesYoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25407 a1c6a512-1295-4272-9138-f99709370657
2010-03-30Update german Rockbox Utility translation.Dominik Riebeling
lupdate all other translations and drop obsolete strings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25404 a1c6a512-1295-4272-9138-f99709370657
2010-03-30Fix Festival tts engine.Dominik Wenger
Author: Delyan Kratunov Flyspray: FS#11155 part2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25402 a1c6a512-1295-4272-9138-f99709370657
2010-03-30Delete tts objects after use.Dominik Wenger
Author: Delyan Kratunov Flyspray: FS#11155 part1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25401 a1c6a512-1295-4272-9138-f99709370657
2010-03-29Add Rockbox Utility SVG window icon on Linux.Dominik Riebeling
Create a svg version of the clef icon for Rockbox Utility and set it as window icon on Linux; icon created from the svg logo in the manual. Addresses FS#11094. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25385 a1c6a512-1295-4272-9138-f99709370657
2010-03-29Remove OSX deployment script, Qt now has macdeployqt.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25384 a1c6a512-1295-4272-9138-f99709370657
2010-03-26Fix uic warning.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25341 a1c6a512-1295-4272-9138-f99709370657
2010-03-25Packard Bell Vibe 500: correct the path to a proper one in rbutil (proper ↵Szymon Dziok
directory on the file server to the bootloader) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25335 a1c6a512-1295-4272-9138-f99709370657
2010-03-24adjust the bootloader paths to the changed locations.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25326 a1c6a512-1295-4272-9138-f99709370657
2010-03-24add Packard Bell Vibe 500 to RBUtil.Szymon Dziok
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25325 a1c6a512-1295-4272-9138-f99709370657
2010-03-24add clipv2 and clip+ to rbutil.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25324 a1c6a512-1295-4272-9138-f99709370657
2010-03-24Remove unnecessary class declaration, this should come from the includes.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25319 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Save System Trace on exit and allow easy retrieval after restart.Dominik Riebeling
The System Trace isn't preserved when quitting Rockbox Utility. Change this so the last trace is saved in the cache folder, and add a button to the trace window to allow easy saving it. Should help in cases where users have problems but restart Rockbox Utility before saving the trace. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25313 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Rockbox Utility requires Qt 4.5 since a while; correct check in project file.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25280 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Split source files out of project file.Dominik Riebeling
Move the source files out of the project file into a project include, and resort it a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25278 a1c6a512-1295-4272-9138-f99709370657
2010-03-15Fix bootloader files vanishing after installation (FS#11086).Dominik Riebeling
QTemporaryFile creates temporary files, so they might get removed even if they are renamed. Copy the downloaded temporary file instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25208 a1c6a512-1295-4272-9138-f99709370657
2010-03-15Fix manual download links.Dominik Riebeling
Use the buildserver modelname for downloading files. The Platform setting is the internal Rockbox Utility value, which might contain an additional identifier needed internally only. Broken download links reported as part of FS#11109. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25206 a1c6a512-1295-4272-9138-f99709370657
2010-03-12Respect the exit code of external encoder called.Dominik Riebeling
Return an error if the exit code differs from 0. Fixes voice file creation getting displayed as successful even if encoding didn't work (f.e. due to wrong command line parameters set in the configuration dialog). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25138 a1c6a512-1295-4272-9138-f99709370657
2010-03-11Implement speed adjustment for OS X TTS.Dominik Riebeling
Note that some voices don't support speed adjustment. These voices will ignore the selected value. The current implementation doesn't mark those voices in any way. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25125 a1c6a512-1295-4272-9138-f99709370657
2010-03-11Rearrange libraries linking order to work with --as-needed linker option.Dominik Riebeling
If the linker uses the --as-needed option linking failed due to the order of the libraries on the command line. Arch Linux seems to default to this option, and the Gentoo documentation mentiones it as experimental feature. Changing the library order fixes the link issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25124 a1c6a512-1295-4272-9138-f99709370657
2010-03-03Code police.Dominik Riebeling
- remove tabs. - remove trailing spaces. - break overly long lines. - fix indentation errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25008 a1c6a512-1295-4272-9138-f99709370657
2010-03-01Refactor device tree setup a bit.Dominik Riebeling
- reorder value retrieval (display names etc) to cut down the number of necessary accesses. While this is not critical it cuts down the noise generated in the trace noticably. - match the old target by its internal name instead of the display name. - remove two access functions in SystemInfo that are not really needed anymore. Accessing the values via platformValue() is much more logical and in line with the rest of the value accesses. - try to scroll to the selected item in the device list after setup and detection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24988 a1c6a512-1295-4272-9138-f99709370657
2010-03-01langstat: Output date of the latest and oldest language update.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24986 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Rename Rockbox Utility output binary to RockboxUtility.Dominik Riebeling
This will also cause the archives created by deploy-release.py to use the new binary name, so also update the update checking code to accept any base filename when retrieving version numbers from the download server. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24980 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add support for OS X' Speech Synthesis Manager TTS system.Dominik Riebeling
This adds basic support for using the OS X' TTS system. The current implementation does only support selecting the voice itself, no further settings (like speed pitch / speed) adjustments are implemented. As OS X' TTS system wants the strings to get spoken in 8 bit encoding problems with locale combinations are possible. For this better error handling in the rbutil TTS is needed. The voice test button in the configuration dialog reacts pretty slow due to the way its speaking is done. This can get changed but also requires adjustments in the rbutil TTS system. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24979 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Save values set in voice window before calling configuration dialog.Dominik Riebeling
This fixes the values set in the voice window getting overwritten with the initial values when opening the configuration dialog from the window via the "Change" button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24963 a1c6a512-1295-4272-9138-f99709370657
2010-02-27Use the data partition device node when trying to resolve the mountpoint.Dominik Riebeling
The stricter matching for device nodes introduced with r24802 broke resolving the mountpoint during autodetection as sansapatcher and ipodpatcher return the device node of the player instead of its data partition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24936 a1c6a512-1295-4272-9138-f99709370657
2010-02-26Have the Mac OS X port of Rockbox Utility actually be called Rockbox Utility ↵Robert Menes
instead of just rbutilqt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24931 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Be more strict when when resolving devices and allow hfs too.Dominik Riebeling
On OS X HFS is a valid filesystem on an Ipod. When resolving device node to mountpoints and vice versa also check mounts of hfs partitions. This results in trying to install the bootloader on a MacPod to show the (intended) MacPod warning instead of failing with a "could not open ipod" error because no valid device node could be retrieved. Also, be more strict on matching to prevent problems with one name being a subset of another. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24802 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Add missing class prefix to logging call.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24801 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Recognize and handle MacPods during autodetection.Dominik Riebeling
Previously MacPods were detected but the mountpoint can't get resolved due to the different partition layout, thus having a MacPod would only detect the Ipod itself but not the mountpoint. Rockbox does not support MacPods, so inform the user as soon as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Update an outdated comment.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24798 a1c6a512-1295-4272-9138-f99709370657
2010-02-20If the Ipod has been recognized as MacPod always consider no bootloader ↵Dominik Riebeling
installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24797 a1c6a512-1295-4272-9138-f99709370657
2010-02-19rbutil: link to the Sansa forums when the user is requested to download a ↵Rafaël Carré
Sansa AMS firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24778 a1c6a512-1295-4272-9138-f99709370657
2010-02-19mkamsboot: prevents 2 potential problemsRafaël Carré
We checked if the new firmware block (bootloader+ucl function+packed bootloader & OF) fit in the OF file, but not if it would run properly. For example the Clipv2 OF is bigger than 0x50000 bytes uncompressed, but it fitted in this space when packed and concatenated to a packed bootloader + ucl function and dualboot code (but we use 1MB of RAM and not 0x50000 anyway). Now we check that both bootloader and OF are small enough to be unpacked at runtime: the unpacked data must be smaller than available memory and not overlap with ucl function and packed data (although the unpacked and packed data could probably overlap a bit, I don't know how to calculate this and this could be quite complex). total_size() is replaced by check_sizes() which will perform all the checks and set an error string if the firmware can't be patched. (both mkamsboot and rbutilqt modified accordingly) The second problem is that dualboot.S assumed r3 and r5 were left untouched in the device specific checks. This was undocumented and very error prone when modifying these checks. r3 is the last byte of packed copy (bootloader or OF) r5 is the entry point of uclunpack function derived from r3, so move r5 calculation after the device specific code. Even if r3 is currently unused in the device specific code, we store it in memory after copying the ucl function, when it points to the last byte of packed data (not yet copied at this point since we didn't chose if we boot the OF or the bootloader), and restore it just before using it so no restriction is placed on registers usage in device specific code. Add a new variable ucl_dest in dualboot.S set by mkamsboot.c, which represents the last bound of buffer where we copy the ucl function, and then the packed data (bootloader or OF). RAM_SIZE definition is moved from dualboot.S to mkamsboot.c new model_memory_size(), where it is a bit better documented. Tested on e200v2 and Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24772 a1c6a512-1295-4272-9138-f99709370657
2010-02-18rbutil: fix voice downloads.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657