Commit graph

1286 commits

Author SHA1 Message Date
Dominik Riebeling
9c19e875fc Remove duplicate entry in russian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31236 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 23:20:36 +00:00
Bertrik Sikken
c9a8031695 mkamsboot: add support for sansa clip zip firmware version v1.01.18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31195 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 09:45:28 +00:00
Dominik Riebeling
5ffd2f7598 Various adjustments for MSVC.
- MSVC uses different namings in some places. Adjust the sources via the
  preprocessor if build with MSVC.
- MSVC doesn't know about __func__, use name instead.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31185 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:59:13 +00:00
Dominik Riebeling
6bc8916a58 QuaZip: change the order of void-casts.
MSVC requires void-casting of unused variables to be done after variable
definitions. Change the order, no functional changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31171 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 20:13:18 +00:00
Dominik Riebeling
16f48e8ebc Rockbox Utility: disable some pointless warnings when building with VS.
Visual Studio warns about the usage of some standard library functions (like
sprintf) as part of the SDL. Since we won't change using this functions for at
least portability reasons we really don't need to know about them.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31170 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 20:13:14 +00:00
Dominik Riebeling
e23adb5386 ipodpatcher: guard platform specific files.
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://svn.rockbox.org/rockbox/trunk@31169 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 20:06:48 +00:00
Dominik Riebeling
f83a3d0ac4 Make rbutil tools Makefile more silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31168 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 19:34:45 +00:00
Dominik Riebeling
38f03d4eae sansapatcher: factor out handling of bundled bootloaders.
Instead of handling bundled bootloaders in the sansapatcher functions leave
that to the caller. This removes the need to have Rockbox Utility specific
parts in sansapatcher. sansa_add_bootloader() now operates on an already loaded
bootloader. For loading a convenience function sansa_read_bootloader() is
added. This also introduces a new check on loading to prevent installing an
e200 bootloader on a c200 (and vice versa).

These changes will allow building a libsansapatcher for linking with Rockbox
Utility later.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31144 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 19:40:43 +00:00
Dominik Riebeling
38890ac6dc sansapatcher: guard platform specific files.
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 libsansapatcher.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31143 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 19:40:35 +00:00
Dominik Riebeling
346f1e0fc6 Add double inclusion protection and prepare for use with C++ code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31138 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 13:54:18 +00:00
Dominik Riebeling
2d2fa5c128 Add missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31137 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 13:54:07 +00:00
Dominik Riebeling
7de4f64bb6 Rockbox Utility: build chinachippatcher as library.
Update the chinachip Makefile based on the mkamsboot one, build and link as
library for Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31117 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:44:21 +00:00
Dominik Riebeling
fd5f16c070 Consolidate libraries list in project file a bit.
Instead of having to mention each library several times (extra targets, target
dependencies, linker flags) create a list of libraries we build directly and
create all other lists from them. Note that libraries get processed in the
order of the list, which is important for linking order. As a result libucl
needs to come last.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31116 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:41:48 +00:00
Dominik Riebeling
059cb71c96 Extend return codes for chinachip_patch().
Instead of passing error messages using a callback function (which becomes
awkward when used from a C++ class object) return distinct error codes from
chinachip_patch(). This also removes the kludge to support translations for
Rockbox Utility and moves the strings to translate to the installation class
where they belong.

As a side effect info messages won't be passed to Rockbox Utility anymore, but
the details of the patching progress aren't of that much interest for the user
anyway.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31115 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:41:44 +00:00
Dominik Riebeling
07da9ce5ea Split up chinachippatcher.
Move the command line tool parts out for simpler building as library.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31114 a1c6a512-1295-4272-9138-f99709370657
2011-12-03 09:39:11 +00:00
Rafaël Carré
444b17626f mkamsboot: make clip zip boot OF when pressing left button
pressing vol- to boot OF is still possible

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31112 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 18:31:40 +00:00
Rafaël Carré
ab76a0db28 mkamsboot/dualboot: use arm-elf-eabi cross compiler by default
also allows user to change it with CROSS_COMPILE=xxx

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31111 a1c6a512-1295-4272-9138-f99709370657
2011-12-02 18:31:36 +00:00
Amaury Pouly
c871076c20 mkimxboot: remove an unecessary include that will prevent compilation of rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31099 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:44:58 +00:00
Dominik Riebeling
8317226ff8 Carbon TTS: Fix a memory leak on read error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30961 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 21:12:07 +00:00
Torne Wuff
569285794b Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.

Sorry everybody. I know this messes up blame.

Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
Amaury Pouly
d9b7d58fa6 mkimxboot: fix bootloader load address, replace call by jump on final call to have a clean boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30922 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 20:40:54 +00:00
Dominik Riebeling
0609bfd9f3 Rockbox Utility: bump version to 1.2.11.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30921 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 20:36:26 +00:00
Amaury Pouly
303c486f4f Introduce mkimxboot to build bootloader images for the i.MX (only the fuze+ currently). Still not integrated in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30920 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 19:44:03 +00:00
Dominik Riebeling
ec5d6ea7bb Rockbox Utility: polish translation update by Marcin Bukat (FS#12366).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30899 a1c6a512-1295-4272-9138-f99709370657
2011-11-04 21:01:43 +00:00
Dominik Riebeling
e4cc3d4b3a Rockbox Utility: update german translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30896 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 21:59:57 +00:00
Dominik Riebeling
209026ea22 Rockbox Utility: update russian translation by Постолати Максим.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30895 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 21:57:24 +00:00
Bertrik Sikken
00c536878e RockboxUtility: update dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30892 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 21:33:39 +00:00
Dominik Riebeling
9eafdfbb65 Rename internal h10_5gb.ums name and add some comments.
- When trying to retrieve the human readable device name on target mismatch
  detection it is not possible to figure the "extra" variant internally used
  from the information in rockbox-info.txt. Since the h10_5gb didn't have a
  non-extra version resolving the name would fail. Remove the extra part for
  the UMS version so that will get used. It's better to display a slightly
  wrong name instead of none.
- Add some comments describing the sections and their values.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30887 a1c6a512-1295-4272-9138-f99709370657
2011-11-01 20:49:18 +00:00
Dominik Riebeling
8f827f10e2 Show user friendly name on target mismatch.
Instead of showing the target name as stored in rockbox-info.txt retrieve the full descriptive name.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30886 a1c6a512-1295-4272-9138-f99709370657
2011-11-01 20:46:46 +00:00
Dominik Riebeling
080820b36e Fix Gigabeat S configure string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30885 a1c6a512-1295-4272-9138-f99709370657
2011-11-01 19:47:35 +00:00
Dominik Riebeling
20edaf67a7 Revert r30869 "Remove buildserver_modelname value."
The buildserver_modelname is still in use, and the commit missed some parts on
removal, causing segfaults on start.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30884 a1c6a512-1295-4272-9138-f99709370657
2011-11-01 19:40:35 +00:00
Dominik Riebeling
10832b8c1c Remove buildserver_modelname value.
Since changing the manual URL creation to be template based this value isn't
used anymore. It's also pretty much the same as configure_modelname, so remove
it completely.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30869 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 19:55:35 +00:00
Dominik Riebeling
834f18b6c7 Rockbox Utility: allow building for 32bit on 64bit Linux.
When building the linked libraries pass the machine flag as well. For now add
them to the compiler variable directly, should go via CFLAGS later.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30868 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 15:54:39 +00:00
Dominik Riebeling
6f716e9055 Rockbox Utility: Preliminary support for Clip Zip and Fuze+.
Add as disabled targets with disabled bootloader support. As soon as they are
available in the build system this will allow installing except for
bootloaders.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30863 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 10:59:30 +00:00
Bertrik Sikken
1ab2aa1f28 Sansa clip zip: allow original firmware versions 1.1.12, 1.1.15 and 1.1.17 to be patched
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30860 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 08:09:46 +00:00
Bertrik Sikken
e90f961593 Sansa clip zip: update mkamsboot and fix various drivers to make it boot to the main firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30853 a1c6a512-1295-4272-9138-f99709370657
2011-10-29 17:08:05 +00:00
Dominik Riebeling
b7547e5868 Fix manual URL in Rockbox Utility (FS#12346)
Targets with special case URL for the manual (i.e. targets that share the
manual with another target, f.e. h100 series) have been forgotten during the
target renaming. Update those names and convert the manual URL handling to
be template based.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30848 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 20:21:41 +00:00
Bertrik Sikken
94c573f3ec Sansa clipzip: miscellaneous updates
* add support for OF version 01.01.17 in mkamsboot
* introduce and implement oled_brightness function
* configure voltage CVDD2 to 2.8V (like the OF does)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30831 a1c6a512-1295-4272-9138-f99709370657
2011-10-23 14:20:47 +00:00
Dominik Riebeling
e28f8225f5 Rockbox Utility: add Speex license to About dialog.
The Speex codec has a special license requiring it to be reproduced with any
distribution.  Add the license as a separate tab in the About dialog to satisfy
this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30816 a1c6a512-1295-4272-9138-f99709370657
2011-10-21 19:46:36 +00:00
Dominik Riebeling
66634f30f8 Rockbox Utility: add GoGear SA9200 as disabled target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30807 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 20:53:50 +00:00
Dominik Riebeling
7263ccb105 Remove svn keyword lines from sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 20:51:16 +00:00
Bertrik Sikken
1195b2384f sansa clipplus: add version 01.02.16 to mkamsboot as a firmware that can be patched
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30726 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 22:49:37 +00:00
Dominik Riebeling
d1e5c74ca8 Rockbox Utility: refresh some more dynamic strings after translation change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 18:30:27 +00:00
Dominik Riebeling
9f2a71bb12 Rockbox Utility: handle layout direction on language changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30638 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 15:27:52 +00:00
Dominik Riebeling
9e016c4791 Update cache information after translation change.
Since a translation change can affect the locale the locale-dependent strings
need to be refreshed explicitly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30634 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 14:36:38 +00:00
Dominik Riebeling
2e3de70401 Rockbox Utility: listen to translation change events.
When changing the language don't require a restart anymore. Instead listen to
the appropriate changeEvent and retranslate the UI. Designer generated UI files
already provide such a function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30633 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 14:30:05 +00:00
Dominik Riebeling
e86423a97f Rockbox Utility: add some more icon sizes to the window icon on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30631 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 08:57:10 +00:00
Dominik Riebeling
981af6d3e1 Rockbox Utility: make the window icon also include a larger one.
On Windows extend the QIcon used as window icon with the bigger Rockbox icon as
well. W7 wants a larger one for the taskbar if large icons are enabled, and for
the task switcher. Scaling the small one up looks ugly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30630 a1c6a512-1295-4272-9138-f99709370657
2011-10-01 21:00:09 +00:00
Dominik Riebeling
4f56b50df4 Voicefile generation: implement string corrections.
Voicefile generation now can correct strings for the TTS system similar
to what voice.pl does. The current implementation has some limitations:
- only implemented for voicefile creation.
- the corrections file is built in and can't get changed.
- string corrections can be disabled in the configuration dialog.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30628 a1c6a512-1295-4272-9138-f99709370657
2011-10-01 19:48:58 +00:00
Dominik Riebeling
7f2defc453 Update ui files to use converted bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30627 a1c6a512-1295-4272-9138-f99709370657
2011-10-01 19:16:31 +00:00