Commit graph

31057 commits

Author SHA1 Message Date
Marcin Bukat
5a89549c86 rk27generic: fix charging_state()
Change-Id: Iefa7fa4f9b2e535e2ab9004ffe8eeb8adf203f4b
2012-07-10 09:35:01 +02:00
Marcin Bukat
b43171dcdf rk27xx: support entering rkusb mode on rk2706A
We know about two different bootroms. First can be found in rk2706A,
the second in rk2706B and rk2705. This two versions are very
similar but memory addresses are different. It seems it is possible
to distinguish bootrom version by reading SCU_ID register.

Change-Id: I01681b5e3a82930ae74a5cce6ab0244d7cd333d2
2012-07-10 09:14:09 +02:00
Marcin Bukat
fa5d22584a rk27xx: disable watchdog on startup
Some versions of nand loader enable watchdog which resets
player just after reaching main menu.

Change-Id: Ia008bccb40570ab102c0558cd2768f125ae826d7
2012-07-09 22:43:34 +02:00
Marcin Bukat
93c462f9d5 cabbiev2 for rk27xx generic design target
Change-Id: I2052869b14125b90e8202e81e4e8391376e9c341
2012-07-09 20:30:43 +02:00
Marcin Bukat
3a58307c7b WPSLIST: add backdrop and cabbiev2 fms for 128x128x2
Change-Id: I671fed88cb2f963168f6bd6eb65b91a26eede638
2012-07-09 20:30:43 +02:00
Marcin Bukat
09fbe7c6b3 Correct rds viewport placement in cabbiev2 fms 160x128x2
Change-Id: I15d59d16f256d35c294ffefe80aaf98134bc3ade
2012-07-09 20:30:43 +02:00
Marcin Bukat
6cc730b141 Backdrop for cabbiev2 128x128x2
Change-Id: I6feda3244d4304d7117db1c77327f779c60dca33
2012-07-09 20:30:43 +02:00
Marcin Bukat
d0ef0671d6 cabbiev2 fms for 128x128x2 targets
Change-Id: Ic269bd5bbc04d1386152f7ac3fb330f504fd4d46
2012-07-09 20:30:43 +02:00
Bertrik Sikken
f09bf021c9 Dutch (nl) translation update of RockboxUtility
Change-Id: Iebe5253dae409377432d1fd9653294bbcb537e88
2012-07-07 12:32:59 +02:00
Jonathan Gordon
68ee7aac6e skin_engine: Make pressing the setting bar touch region work
might need some tweaking, but works.

Change-Id: I0784cd4fe9996531da6cc275491ff3b4e83cdbcf
2012-07-06 14:28:34 +10:00
Jonathan Gordon
65f9df3083 skin_engine: Allow the %St() (setting) skin tag be used as a bar
%St(<setting name>) or %St(<bar tags>, setting, <setting name>)

Change-Id: I71396d683634d4d1ad2357018c4029ecb4229677
2012-07-05 23:30:06 +10:00
Jonathan Gordon
f6d6a4602c Fix fast_readline to handle windows line endings (\r\n)
Change-Id: I3561eff9bc4e244a84ef4afee26a40432d1073dd
2012-07-05 23:00:31 +10:00
Jonathan Gordon
4c94b98422 skin_engine: Fix a obscure parser bug
Tag params where a [] group is followed (but not immediatly) by
a * will not parse correctly. e.g [si]iii|s* will attempt to find
an 'i' after the second s instead of looping s's

Change-Id: I3982f726b6539818f8332334b263b673259f98ef
2012-07-05 22:41:10 +10:00
Jonathan Gordon
c413591e7e fix build warnings
Change-Id: Id5f0e84834f1cb74a317bb5653fdb6f665233345
2012-07-05 11:24:08 +10:00
Jonathan Gordon
d336eb30f8 skin_engine: Automatically create touch regions for skin bars
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
2012-07-05 11:15:16 +10:00
Michael Giacomelli
3d0459dfad Expand the range of the WPA Pro quant table. Fixes FS#12704.
Change-Id: I5495c4d7d165cac15016d3233b85bbe5497ea3e1
2012-07-03 18:43:44 -04:00
Frank Gevaerts
8aa3832382 Mark "unfinished" but OK strings as finished for Dutch rbutil translation.
Change-Id: I9edba3458d62b8c0f66e11420b15da1f9799725b
2012-07-03 23:18:27 +02:00
Dominik Riebeling
b4a0968667 Manual: make sure output folder exists to fix -j.
Change-Id: Ic8a36f8e4e39bf03cb88204d90e89c822e51034e
2012-07-03 22:53:36 +02:00
Frank Gevaerts
0adc32d079 Use -Wl,--start-group and -Wl,--end-group for linking the simulator.
This makes linking always work regardless of symbol order.

Change-Id: I620f55cbfaaff498d4ca095a99e1412f5fbad4e5
2012-07-03 22:17:06 +02:00
Dominik Riebeling
707e9d8945 Update german translation.
lupdate all other translations and drop obsolete string.

Change-Id: I74d2ae8dd3c973aeaf35a41f8d32081729c13298
2012-07-03 21:52:49 +02:00
Jonathan Gordon
a3ec848021 make the bar tag help slightly better
Change-Id: I86db333e633273ca359ac244aa95f04980201283
2012-07-03 13:14:13 +10:00
Dominik Riebeling
e3cddc2e3c Fix Ipod Classic target name.
Change-Id: I8647f67daa000c889dcf0ec07368130498e3b8ea
2012-07-01 21:09:08 +02:00
Frank Gevaerts
2b3cff88af Add the ipod 6g (classic) to builds.pm
This should have been done ages ago

Change-Id: I53b258981b139c0bb73777c83938645333ca8780
2012-07-01 21:07:54 +02:00
Dominik Riebeling
644b83e0b4 Add version information to Windows file properties.
Windows can show the version in the file properties. This requires an
additional entry in its resource. Restructure global version defines since the
former requires a different format than used previously.

Change-Id: I2bf261a02ea8e0af6dc081568960debfb779d396
2012-07-01 19:06:34 +02:00
Dominik Riebeling
c3a2b20ef2 Remove Ipod Classic from list of unsupported targets.
The classic is now a disabled target. Add the missing USB ID as well.

Change-Id: Ic10d1c2602e6b00d0d92614d12072ef911cc7e22
2012-07-01 19:05:28 +02:00
Dominik Riebeling
e7fdf80c17 Do some minor cleanup.
- Move a GUI-only implementation class around.
- Make some strings non-translatable which don't make sense translating.
- Rename internal state in installation class. There is no current build
  anymore.

Change-Id: I7384c5601de36bc48f858fe5c7b009653d439d94
2012-07-01 15:02:32 +02:00
Dominik Riebeling
b7931594f9 Handle no selected themes properly.
When installing themes without any themes selected show a notice in the log and
continue instead of stopping.

Change-Id: Ieeb03e4656b041ce1dda25b2c44b6b6f0aa0ca80
2012-07-01 14:58:39 +02:00
Dominik Riebeling
d0f7a8181b Be more specific on bootloader uninstallation errors.
When Rockbox Utility can't figure if the installed bootloader is a Rockbox
bootloader don't tell the user that it can't uninstall the bootloader but be
more specific stating that no Rockbox bootloader has been found.

Change-Id: I8e1eae4bdba30da87d10d2dc11fb9d48e176de2a
2012-07-01 12:34:59 +02:00
Dominik Riebeling
bf1c491c2b Move check for existing bootloader to ipodpatcher.
Bootloader handling is different on nano2g compared to the other supported Ipod
models. Since ipodpatcher handles this internally make ipodpatcher also provide
a way to check this when using from Rockbox Utility to avoid duplicating the
(already existing) checks in the latter.

Fixes wrong "bootloader already installed" message on nano2g.

Change-Id: Ibc658d775fbac7cf9a7e329d445fe97828a455d8
2012-07-01 12:34:59 +02:00
Dominik Riebeling
d8f5a00fc1 Install widget: fallback to development build.
If neither an old selected build nor a release is available fallback to
selecting the development build.

Remove some old code that was not supposed to be be kept.

Change-Id: I883535bd8e7981e68bc3fac3bcd5f375e1237242
2012-07-01 12:34:59 +02:00
Dominik Riebeling
a455f5901a Fix nano2g bootloader uninstallation.
Check the correct image when looking for the Ipod firmware version. On nano2g
this is a different image.

Change-Id: Ic7981363399d44e03247a81277522bc1d271090a
2012-07-01 12:34:59 +02:00
Andrew Ryabinin
052b5f1da9 hm60x: Add support for HM-601 slims with new lcds.
Change-Id: I02d5c85e70686c842f1379aba24ff045b260a4ff
2012-06-30 21:01:25 +04:00
Dominik Riebeling
bed847a655 Backup dialog: check if the backup file already exists.
Give the user a chance to cancel the backup if the selected file already
exists. Since the filename is automatically generated from the installation
version information this can happen when trying to create a second backup of
the installation.

Change-Id: Iee34e576c4b3b94a4ccf99836741806b52a8affd
2012-06-30 11:58:45 +02:00
Dominik Riebeling
6db53f4ef8 Handle language change events in widgets.
Change-Id: I54265e8c5da03e7d13217118f233effa8837f007
2012-06-30 10:51:15 +02:00
Mārtiņš Šimis
e8d1583068 FS#12710 - Latvian translation update
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I2e1e79a5df45117f83d631d65144c0a012c6f2e4
2012-06-28 21:37:30 +02:00
Amaury Pouly
2f1da04cc3 zenutils/update_extract: make sure the archive is valid
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
2012-06-27 14:56:20 +02:00
Amaury Pouly
7c9e7ec707 sbtools: add option to force sb dump
In the case of encrypted SB files without any key match, it is
still possible to dump the section headers. The force option
allows one to do so. It also allows to dump unencrypted sections
of encrypted files if there are some.

Change-Id: I36280230679ac5903f9c451c68c276f5c6959536
2012-06-27 14:55:58 +02:00
Dominik Riebeling
fa17cb904c Rework Installation and remove Quick Start tab.
The Quick Start tab turned out to be used a lot but not explaining what its
functionality actually does, leading to various amount of confusion. The Quick
Start tab and its functionality have been completely removed.

As replacement the reworked Installation tab now includes both the entries from
the old Installation tab (Bootloader and Rockbox) and the Extras tab (Fonts,
Themes, Game files). Each of the items can be enabled or disabled individually,
and the selection is saved in the configuration. The only exception is the
bootloader option, since installing the bootloader is only needed once. To help
with this the bootloader checkbox is automatically enabled if no Rockbox
installation is found, and disabled if one is found. While it would be nicer to
check if the bootloader is actually installed this is not possible for various
players so the implementation simply relies on a Rockbox installation.

This should also make it much easier to update an existing installation.

Current limitations:
- the selected themes are not saved.
- it is not possible to detect if the target has the plugins that require
  additional game files prior to installation. Thus the "Game files" option is
  available for all targets but simply skipped if the plugins are not found.

Change-Id: I1929bb7045e382fcbba431cca057d3121607d3a9
2012-06-26 20:11:41 +02:00
Dominik Riebeling
9b783bc105 Separate select and install parts in themes install window.
Allow using the themes installation dialog as selection dialog separately from
installing themes. For this the installation is now triggered separately and
can be told to not to do the installation on Ok button. In this case the dialog
is selection only, and the Ok button is changed to Select. The installation
itself is still done in the class but started by calling the install() method
separately.

Change-Id: I856db8204788302b2b539e6d8283f73cb354f033
2012-06-26 18:30:27 +02:00
Dominik Riebeling
f419128a6b Show player picture left of device configuration.
After shrinking the size of the Rockbox logo shown and making the selected
device display two lines there is now enough room to also show an icon of the
player. The icon is scaled depending on the application font size, so for
setups configured with a larger font it still should show up in a reasonable
size.

Change-Id: I8f62f3292c62f820309157db73741b57fd6371ef
2012-06-26 18:30:27 +02:00
Dominik Riebeling
40e306ba37 Make Rockbox logo smaller and move device information up.
The original way of including the Rockbox logo wastes quite a bit of space.
Make it smaller and move it to the left, so the information about the
configured device can go next to it.

Change-Id: I790ffc423135e02e28cc963b0b565284b75bf98c
2012-06-26 18:30:27 +02:00
Dominik Riebeling
362f447ede Create dedicated backup dialog.
The "Installation" dialog allows backing up the current installation by
creating a zip file from the .rockbox folder since quite a while. However, this
has the drawback that you need to update your build to create a backup, but
creating a backup might be desireable in other cases as well (before updating
themes, or just for backup reasons). Since the functionality is somewhat hidden
it's also not obvious to users such a functionality exists (most users are
likely to use the "Quick Start" instead).

Implement backup functionality as dedicated dialog placed on the Uninstall tab.
Rename the Uninstall tab to accommodate this.

Change-Id: I1d2c6c8f646672d1b66bb442408fbfc2eeec700d
2012-06-26 18:30:27 +02:00
Dominik Riebeling
8cc46fb01c Add Ipod Classic (6G) as disabled target.
Change-Id: I35dbe8333c38b200e9b1e6e056f0382538ee91a1
2012-06-26 18:30:27 +02:00
Dominik Riebeling
46a57b8ece Make Info widget update independent from tab index.
Since the Info widget is now a separate widget ask the tab widget about its
index instead of hard coding it. Rename a variable to avoid shadowing while at
it.

Change-Id: I40c18387aacc780ac2051bb894db36247171c268
2012-06-26 18:30:27 +02:00
Enric Morales
3214849f4e FS#12707 - [PATCH] Last missing strings in Catalan translation
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: Icf726324d533ce2cd0eb918a7188ab6201e5c99f
2012-06-26 09:00:50 +02:00
Jonathan Gordon
41fb990720 Fix the classic_statusbar sbs' to actually work
Change-Id: I8573903b879cd451d7b0d6033dd0eca4cc86bc5a
2012-06-26 10:17:06 +10:00
Marcin Bukat
5785cfb741 Add fms to cabbiev2 by default
Currently we have only fms for 160x128x2 and all others will
fallback to built in one.

Change-Id: I43efa2795e1ab62185e2e25b6c8c4979c87c4299
2012-06-25 22:07:43 +02:00
Thomas Martitz
bc7ff53eab wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly constructed.
Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
2012-06-25 08:54:21 +02:00
Dominik Riebeling
388014567f Add missing class name to System Trace log.
To identify the source for System Trace entries qDebug() calls usually add the
class name at the beginning. Add some missing ones and remove some trailing
spaces.

Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
2012-06-25 00:04:44 +02:00
Michael Chicoine
277533fb57 US English language update
Change-Id: Ib0a6c7f979d201f1c3729a210cc71a4313f95158
2012-06-23 16:07:43 -05:00