mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Remove hard-coded release version numbers.
- get the target specific version number from the build-info file - disable Quick Start buttons until version info is available - only enable Quick Start buttons if a release is available. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19854 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
21a0504d16
commit
07894de36d
5 changed files with 25 additions and 93 deletions
|
@ -292,6 +292,9 @@ void Install::setVersionStrings(QMap<QString, QString> ver)
|
||||||
ui.radioArchived->setEnabled(false);
|
ui.radioArchived->setEnabled(false);
|
||||||
qDebug() << "no information about archived version available!";
|
qDebug() << "no information about archived version available!";
|
||||||
}
|
}
|
||||||
|
if(version.value("rel_rev").isEmpty()) {
|
||||||
|
ui.radioStable->setEnabled(false);
|
||||||
|
}
|
||||||
|
|
||||||
// try to use the old selection first. If no selection has been made
|
// try to use the old selection first. If no selection has been made
|
||||||
// in the past, use a preselection based on released status.
|
// in the past, use a preselection based on released status.
|
||||||
|
|
|
@ -113,12 +113,6 @@ QString RbSettings::bleedingUrl()
|
||||||
return devices->value("bleeding_url").toString();
|
return devices->value("bleeding_url").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString RbSettings::lastRelease(QString platform)
|
|
||||||
{
|
|
||||||
(void)platform;
|
|
||||||
return deviceSettingCurGet("last_release").toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString RbSettings::cachePath()
|
QString RbSettings::cachePath()
|
||||||
{
|
{
|
||||||
return userSettings->value("cachepath", QDir::tempPath()).toString();
|
return userSettings->value("cachepath", QDir::tempPath()).toString();
|
||||||
|
@ -232,15 +226,6 @@ QString RbSettings::curManual()
|
||||||
devices->value("platform").toString()).toString();
|
devices->value("platform").toString()).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RbSettings::curReleased()
|
|
||||||
{
|
|
||||||
QString released = deviceSettingCurGet("released").toString();
|
|
||||||
if(released == "yes")
|
|
||||||
return true;
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString RbSettings::curBootloaderMethod()
|
QString RbSettings::curBootloaderMethod()
|
||||||
{
|
{
|
||||||
return deviceSettingCurGet("bootloadermethod").toString();
|
return deviceSettingCurGet("bootloadermethod").toString();
|
||||||
|
|
|
@ -48,7 +48,6 @@ class RbSettings : public QObject
|
||||||
QString mountpoint();
|
QString mountpoint();
|
||||||
QString manualUrl();
|
QString manualUrl();
|
||||||
QString bleedingUrl();
|
QString bleedingUrl();
|
||||||
QString lastRelease(QString platform);
|
|
||||||
QString cachePath();
|
QString cachePath();
|
||||||
QString build(void);
|
QString build(void);
|
||||||
QString bootloaderUrl();
|
QString bootloaderUrl();
|
||||||
|
@ -96,7 +95,6 @@ class RbSettings : public QObject
|
||||||
QString curPlatform();
|
QString curPlatform();
|
||||||
QString curPlatformName();
|
QString curPlatformName();
|
||||||
QString curManual();
|
QString curManual();
|
||||||
bool curReleased();
|
|
||||||
QString curBootloaderMethod();
|
QString curBootloaderMethod();
|
||||||
QString curBootloaderName();
|
QString curBootloaderName();
|
||||||
QString curVoiceName();
|
QString curVoiceName();
|
||||||
|
|
|
@ -52,7 +52,6 @@ platform60=mrobe100
|
||||||
[player]
|
[player]
|
||||||
name="Jukebox Player 6000 / Jukebox Studio 5 / 10 / 20"
|
name="Jukebox Player 6000 / Jukebox Studio 5 / 10 / 20"
|
||||||
platform=player
|
platform=player
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -62,12 +61,10 @@ brand=Archos
|
||||||
voicename=player
|
voicename=player
|
||||||
targetid=1
|
targetid=1
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[recorder]
|
[recorder]
|
||||||
name="Jukebox Recorder 6 / 10 / 15 / 20"
|
name="Jukebox Recorder 6 / 10 / 15 / 20"
|
||||||
platform=recorder
|
platform=recorder
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -77,12 +74,10 @@ brand=Archos
|
||||||
voicename=recorder
|
voicename=recorder
|
||||||
targetid=2
|
targetid=2
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[recorder8mb]
|
[recorder8mb]
|
||||||
name="Jukebox Recorder 6 / 10 / 15 / 20 (with 8MiB memory)"
|
name="Jukebox Recorder 6 / 10 / 15 / 20 (with 8MiB memory)"
|
||||||
platform=recorder8mb
|
platform=recorder8mb
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -92,12 +87,10 @@ brand=Archos
|
||||||
voicename=recorder
|
voicename=recorder
|
||||||
targetid=2
|
targetid=2
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[recorderv2]
|
[recorderv2]
|
||||||
name="Jukebox Recorder v2 (20GB)"
|
name="Jukebox Recorder v2 (20GB)"
|
||||||
platform=recorderv2
|
platform=recorderv2
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -107,12 +100,10 @@ brand=Archos
|
||||||
voicename=recorderv2
|
voicename=recorderv2
|
||||||
targetid=4
|
targetid=4
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[fmrecorder]
|
[fmrecorder]
|
||||||
name="Jukebox Recorder FM"
|
name="Jukebox Recorder FM"
|
||||||
platform=fmrecorder
|
platform=fmrecorder
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -122,12 +113,10 @@ brand=Archos
|
||||||
voicename=fmrecorder
|
voicename=fmrecorder
|
||||||
targetid=3
|
targetid=3
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[fmrecorder8mb]
|
[fmrecorder8mb]
|
||||||
name="Jukebox Recorder FM (with 8MiB memory)"
|
name="Jukebox Recorder FM (with 8MiB memory)"
|
||||||
platform=fmrecorder8mb
|
platform=fmrecorder8mb
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -137,12 +126,10 @@ brand=Archos
|
||||||
voicename=fmrecorder
|
voicename=fmrecorder
|
||||||
targetid=3
|
targetid=3
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ondiosp]
|
[ondiosp]
|
||||||
name="Ondio SP"
|
name="Ondio SP"
|
||||||
platform=ondiosp
|
platform=ondiosp
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -152,12 +139,10 @@ brand=Archos
|
||||||
voicename=ondiosp
|
voicename=ondiosp
|
||||||
targetid=7
|
targetid=7
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ondiofm]
|
[ondiofm]
|
||||||
name="Ondio FM"
|
name="Ondio FM"
|
||||||
platform=ondiofm
|
platform=ondiofm
|
||||||
released=yes
|
|
||||||
needsbootloader=no
|
needsbootloader=no
|
||||||
bootloadermethod=
|
bootloadermethod=
|
||||||
bootloadername=
|
bootloadername=
|
||||||
|
@ -167,12 +152,10 @@ brand=Archos
|
||||||
voicename=ondiofm
|
voicename=ondiofm
|
||||||
targetid=8
|
targetid=8
|
||||||
encoder=lame
|
encoder=lame
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h100]
|
[h100]
|
||||||
name="iHP100 / iHP110"
|
name="iHP100 / iHP110"
|
||||||
platform=h100
|
platform=h100
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=hex
|
bootloadermethod=hex
|
||||||
bootloadername=/iriver/bootloader-h100.bin
|
bootloadername=/iriver/bootloader-h100.bin
|
||||||
|
@ -184,12 +167,10 @@ usbid=0x10063001
|
||||||
voicename=h100
|
voicename=h100
|
||||||
targetid=11
|
targetid=11
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h120]
|
[h120]
|
||||||
name="iHP120 / iHP140 / H120 / H140"
|
name="iHP120 / iHP140 / H120 / H140"
|
||||||
platform=h120
|
platform=h120
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=hex
|
bootloadermethod=hex
|
||||||
bootloadername=/iriver/bootloader-h120.bin
|
bootloadername=/iriver/bootloader-h120.bin
|
||||||
|
@ -201,12 +182,10 @@ usbid=0x10063002
|
||||||
voicename=h120
|
voicename=h120
|
||||||
targetid=9
|
targetid=9
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h300]
|
[h300]
|
||||||
name="H320 / H340"
|
name="H320 / H340"
|
||||||
platform=h300
|
platform=h300
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=hex
|
bootloadermethod=hex
|
||||||
bootloadername=/iriver/bootloader-h300.bin
|
bootloadername=/iriver/bootloader-h300.bin
|
||||||
|
@ -218,12 +197,10 @@ usbid=0x10063003
|
||||||
voicename=h300
|
voicename=h300
|
||||||
targetid=10
|
targetid=10
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h10_5gbums]
|
[h10_5gbums]
|
||||||
name="H10 (5 / 6GB) UMS"
|
name="H10 (5 / 6GB) UMS"
|
||||||
platform=h10_5gb
|
platform=h10_5gb
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=mi4
|
bootloadermethod=mi4
|
||||||
bootloadername=/iriver/H10.mi4
|
bootloadername=/iriver/H10.mi4
|
||||||
|
@ -235,12 +212,10 @@ usbid=0x41022002
|
||||||
voicename=h10_5gb
|
voicename=h10_5gb
|
||||||
targetid=24
|
targetid=24
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h10_5gbmtp]
|
[h10_5gbmtp]
|
||||||
name="H10 (5 / 6GB) MTP"
|
name="H10 (5 / 6GB) MTP"
|
||||||
platform=h10_5gb
|
platform=h10_5gb
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=mi4
|
bootloadermethod=mi4
|
||||||
bootloadername=/iriver/H10_5GB-MTP/H10.mi4
|
bootloadername=/iriver/H10_5GB-MTP/H10.mi4
|
||||||
|
@ -252,12 +227,10 @@ usbid=0x41022105
|
||||||
voicename=h10_5gb
|
voicename=h10_5gb
|
||||||
targetid=24
|
targetid=24
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[h10]
|
[h10]
|
||||||
name="H10 (20GB)"
|
name="H10 (20GB)"
|
||||||
platform=h10
|
platform=h10
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=mi4
|
bootloadermethod=mi4
|
||||||
bootloadername=/iriver/H10_20GC.mi4
|
bootloadername=/iriver/H10_20GC.mi4
|
||||||
|
@ -270,12 +243,10 @@ usberror=0x41022101
|
||||||
voicename=h10
|
voicename=h10
|
||||||
targetid=22
|
targetid=22
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipod1g2g]
|
[ipod1g2g]
|
||||||
name="Ipod (1st / 2nd gen)"
|
name="Ipod (1st / 2nd gen)"
|
||||||
platform=ipod1g2g
|
platform=ipod1g2g
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipod1g2g.ipod
|
bootloadername=/ipod/bootloader-ipod1g2g.ipod
|
||||||
|
@ -285,12 +256,10 @@ brand=Apple
|
||||||
voicename=ipod1g2g
|
voicename=ipod1g2g
|
||||||
targetid=29
|
targetid=29
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodcolor]
|
[ipodcolor]
|
||||||
name="Ipod Colour / Photo / U2 (4th gen)"
|
name="Ipod Colour / Photo / U2 (4th gen)"
|
||||||
platform=ipodcolor
|
platform=ipodcolor
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodcolor.ipod
|
bootloadername=/ipod/bootloader-ipodcolor.ipod
|
||||||
|
@ -300,12 +269,10 @@ brand=Apple
|
||||||
voicename=ipodcolor
|
voicename=ipodcolor
|
||||||
targetid=13
|
targetid=13
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodnano]
|
[ipodnano]
|
||||||
name="Ipod Nano (1st gen)"
|
name="Ipod Nano (1st gen)"
|
||||||
platform=ipodnano
|
platform=ipodnano
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodnano.ipod
|
bootloadername=/ipod/bootloader-ipodnano.ipod
|
||||||
|
@ -316,12 +283,10 @@ usbincompat=0x05ac1260
|
||||||
voicename=ipodnano
|
voicename=ipodnano
|
||||||
targetid=14
|
targetid=14
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipod4gray]
|
[ipod4gray]
|
||||||
name="Ipod (4th gen, greyscale)"
|
name="Ipod (4th gen, greyscale)"
|
||||||
platform=ipod4gray
|
platform=ipod4gray
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipod4g.ipod
|
bootloadername=/ipod/bootloader-ipod4g.ipod
|
||||||
|
@ -331,12 +296,10 @@ brand=Apple
|
||||||
voicename=ipod4gray
|
voicename=ipod4gray
|
||||||
targetid=17
|
targetid=17
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodvideo]
|
[ipodvideo]
|
||||||
name="Ipod Video (5th gen) 30GB"
|
name="Ipod Video (5th gen) 30GB"
|
||||||
platform=ipodvideo
|
platform=ipodvideo
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodvideo.ipod
|
bootloadername=/ipod/bootloader-ipodvideo.ipod
|
||||||
|
@ -346,12 +309,10 @@ brand=Apple
|
||||||
voicename=ipodvideo
|
voicename=ipodvideo
|
||||||
targetid=15
|
targetid=15
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodvideo64mb]
|
[ipodvideo64mb]
|
||||||
name="Ipod Video (5th gen) 60/80GB"
|
name="Ipod Video (5th gen) 60/80GB"
|
||||||
platform=ipodvideo64mb
|
platform=ipodvideo64mb
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodvideo.ipod
|
bootloadername=/ipod/bootloader-ipodvideo.ipod
|
||||||
|
@ -362,12 +323,10 @@ voicename=ipodvideo
|
||||||
usbincompat=0x05ac1261
|
usbincompat=0x05ac1261
|
||||||
targetid=15
|
targetid=15
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipod3g]
|
[ipod3g]
|
||||||
name="Ipod (3rd gen)"
|
name="Ipod (3rd gen)"
|
||||||
platform=ipod3g
|
platform=ipod3g
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipod3g.ipod
|
bootloadername=/ipod/bootloader-ipod3g.ipod
|
||||||
|
@ -378,12 +337,10 @@ usbid=0x05ac1201
|
||||||
voicename=ipod3g
|
voicename=ipod3g
|
||||||
targetid=16
|
targetid=16
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodmini1g]
|
[ipodmini1g]
|
||||||
name="Ipod Mini (1st gen)"
|
name="Ipod Mini (1st gen)"
|
||||||
platform=ipodmini1g
|
platform=ipodmini1g
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodmini.ipod
|
bootloadername=/ipod/bootloader-ipodmini.ipod
|
||||||
|
@ -393,12 +350,10 @@ brand=Apple
|
||||||
voicename=ipodmini1g
|
voicename=ipodmini1g
|
||||||
targetid=18
|
targetid=18
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[ipodmini2g]
|
[ipodmini2g]
|
||||||
name="Ipod Mini (2nd gen)"
|
name="Ipod Mini (2nd gen)"
|
||||||
platform=ipodmini2g
|
platform=ipodmini2g
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=ipod
|
bootloadermethod=ipod
|
||||||
bootloadername=/ipod/bootloader-ipodmini2g.ipod
|
bootloadername=/ipod/bootloader-ipodmini2g.ipod
|
||||||
|
@ -408,12 +363,10 @@ brand=Apple
|
||||||
voicename=ipodmini2g
|
voicename=ipodmini2g
|
||||||
targetid=21
|
targetid=21
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[iaudiox5]
|
[iaudiox5]
|
||||||
name="iAudio X5 / X5L"
|
name="iAudio X5 / X5L"
|
||||||
platform=iaudiox5
|
platform=iaudiox5
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=file
|
bootloadermethod=file
|
||||||
bootloadername=/iaudio/x5_fw.bin
|
bootloadername=/iaudio/x5_fw.bin
|
||||||
|
@ -425,12 +378,10 @@ usbid=0x0e210510, 0x0e210513
|
||||||
voicename=iaudiox5
|
voicename=iaudiox5
|
||||||
targetid=12
|
targetid=12
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[iaudiox5v]
|
[iaudiox5v]
|
||||||
name="iAudio X5V"
|
name="iAudio X5V"
|
||||||
platform=iaudiox5
|
platform=iaudiox5
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=file
|
bootloadermethod=file
|
||||||
bootloadername=/iaudio/x5v_fw.bin
|
bootloadername=/iaudio/x5v_fw.bin
|
||||||
|
@ -441,12 +392,10 @@ brand=Cowon
|
||||||
voicename=iaudiox5v
|
voicename=iaudiox5v
|
||||||
targetid=12
|
targetid=12
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[iaudiom5]
|
[iaudiom5]
|
||||||
name="iAudio M5 / M5L"
|
name="iAudio M5 / M5L"
|
||||||
platform=iaudiom5
|
platform=iaudiom5
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=file
|
bootloadermethod=file
|
||||||
bootloadername=/iaudio/m5_fw.bin
|
bootloadername=/iaudio/m5_fw.bin
|
||||||
|
@ -458,12 +407,10 @@ usbid=0x0e210520
|
||||||
voicename=iaudiom5
|
voicename=iaudiom5
|
||||||
targetid=28
|
targetid=28
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[iaudiom3]
|
[iaudiom3]
|
||||||
name="iAudio M3 / M3L"
|
name="iAudio M3 / M3L"
|
||||||
platform=iaudiom3
|
platform=iaudiom3
|
||||||
released=no
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=file
|
bootloadermethod=file
|
||||||
bootloadername=/iaudio/cowon_m3.bin
|
bootloadername=/iaudio/cowon_m3.bin
|
||||||
|
@ -475,12 +422,10 @@ usbid=0x0e210500
|
||||||
voicename=iaudiom3
|
voicename=iaudiom3
|
||||||
targetid=37
|
targetid=37
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[gigabeatf]
|
[gigabeatf]
|
||||||
name="Gigabeat F / X"
|
name="Gigabeat F / X"
|
||||||
platform=gigabeatf
|
platform=gigabeatf
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=file
|
bootloadermethod=file
|
||||||
bootloadername=/gigabeat/FWIMG01.DAT
|
bootloadername=/gigabeat/FWIMG01.DAT
|
||||||
|
@ -492,12 +437,10 @@ usbid=0x09300009
|
||||||
voicename=gigabeatf
|
voicename=gigabeatf
|
||||||
targetid=20
|
targetid=20
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[sansae200]
|
[sansae200]
|
||||||
name="Sansa E200"
|
name="Sansa E200"
|
||||||
platform=sansae200
|
platform=sansae200
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=sansa
|
bootloadermethod=sansa
|
||||||
bootloadername=/sandisk-sansa/e200/PP5022.mi4
|
bootloadername=/sandisk-sansa/e200/PP5022.mi4
|
||||||
|
@ -510,12 +453,10 @@ usbincompat=0x07817422, 0x07817423
|
||||||
voicename=sansae200
|
voicename=sansae200
|
||||||
targetid=23
|
targetid=23
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[sansac200]
|
[sansac200]
|
||||||
name="Sansa C200"
|
name="Sansa C200"
|
||||||
platform=sansac200
|
platform=sansac200
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=sansa
|
bootloadermethod=sansa
|
||||||
bootloadername=/sandisk-sansa/c200/firmware.mi4
|
bootloadername=/sandisk-sansa/c200/firmware.mi4
|
||||||
|
@ -526,12 +467,10 @@ usbid=0x07817450, 0x07817451
|
||||||
voicename=sansac200
|
voicename=sansac200
|
||||||
targetid=30
|
targetid=30
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[mrobe100]
|
[mrobe100]
|
||||||
name="m:robe100"
|
name="m:robe100"
|
||||||
platform=mrobe100
|
platform=mrobe100
|
||||||
released=yes
|
|
||||||
needsbootloader=yes
|
needsbootloader=yes
|
||||||
bootloadermethod=mi4
|
bootloadermethod=mi4
|
||||||
bootloadername=/olympus/mrobe100/pp5020.mi4
|
bootloadername=/olympus/mrobe100/pp5020.mi4
|
||||||
|
@ -543,7 +482,6 @@ usbid=0x07b40280
|
||||||
voicename=mrobe100
|
voicename=mrobe100
|
||||||
targetid=33
|
targetid=33
|
||||||
encoder=rbspeex
|
encoder=rbspeex
|
||||||
last_release=3.1
|
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
lang1=afrikaans
|
lang1=afrikaans
|
||||||
|
|
|
@ -79,6 +79,9 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
||||||
ui.treeInfo->setHeaderLabels(QStringList() << tr("File") << tr("Version"));
|
ui.treeInfo->setHeaderLabels(QStringList() << tr("File") << tr("Version"));
|
||||||
ui.treeInfo->expandAll();
|
ui.treeInfo->expandAll();
|
||||||
ui.treeInfo->setColumnCount(2);
|
ui.treeInfo->setColumnCount(2);
|
||||||
|
// disable quick install until version info is available
|
||||||
|
ui.buttonSmall->setEnabled(false);
|
||||||
|
ui.buttonComplete->setEnabled(false);
|
||||||
|
|
||||||
connect(ui.tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int)));
|
connect(ui.tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int)));
|
||||||
connect(ui.actionAbout_Qt, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
|
connect(ui.actionAbout_Qt, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
|
||||||
|
@ -177,6 +180,19 @@ void RbUtilQt::downloadDone(bool error)
|
||||||
versmap.insert("arch_rev", info.value("dailies/rev").toString());
|
versmap.insert("arch_rev", info.value("dailies/rev").toString());
|
||||||
versmap.insert("arch_date", info.value("dailies/date").toString());
|
versmap.insert("arch_date", info.value("dailies/date").toString());
|
||||||
|
|
||||||
|
info.beginGroup("release");
|
||||||
|
versmap.insert("rel_rev", info.value(settings->curPlatform()).toString());
|
||||||
|
info.endGroup();
|
||||||
|
|
||||||
|
if(versmap.value("rel_rev").isEmpty()) {
|
||||||
|
ui.buttonSmall->setEnabled(false);
|
||||||
|
ui.buttonComplete->setEnabled(false);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ui.buttonSmall->setEnabled(true);
|
||||||
|
ui.buttonComplete->setEnabled(true);
|
||||||
|
}
|
||||||
|
|
||||||
bleeding = new HttpGet(this);
|
bleeding = new HttpGet(this);
|
||||||
connect(bleeding, SIGNAL(done(bool)), this, SLOT(downloadBleedingDone(bool)));
|
connect(bleeding, SIGNAL(done(bool)), this, SLOT(downloadBleedingDone(bool)));
|
||||||
connect(bleeding, SIGNAL(requestFinished(int, bool)), this, SLOT(downloadDone(int, bool)));
|
connect(bleeding, SIGNAL(requestFinished(int, bool)), this, SLOT(downloadDone(int, bool)));
|
||||||
|
@ -362,7 +378,7 @@ void RbUtilQt::completeInstall()
|
||||||
"This will install Rockbox %1. To install the most recent "
|
"This will install Rockbox %1. To install the most recent "
|
||||||
"development build available press \"Cancel\" and "
|
"development build available press \"Cancel\" and "
|
||||||
"use the \"Installation\" tab.")
|
"use the \"Installation\" tab.")
|
||||||
.arg(settings->lastRelease(settings->curPlatform())),
|
.arg(versmap.value("rel_rev")),
|
||||||
QMessageBox::Ok | QMessageBox::Cancel) != QMessageBox::Ok)
|
QMessageBox::Ok | QMessageBox::Cancel) != QMessageBox::Ok)
|
||||||
return;
|
return;
|
||||||
// create logger
|
// create logger
|
||||||
|
@ -420,7 +436,7 @@ void RbUtilQt::smallInstall()
|
||||||
"This will install Rockbox %1. To install the most recent "
|
"This will install Rockbox %1. To install the most recent "
|
||||||
"development build available press \"Cancel\" and "
|
"development build available press \"Cancel\" and "
|
||||||
"use the \"Installation\" tab.")
|
"use the \"Installation\" tab.")
|
||||||
.arg(settings->lastRelease(settings->curPlatform())),
|
.arg(versmap.value("rel_rev")),
|
||||||
QMessageBox::Ok | QMessageBox::Cancel) != QMessageBox::Ok)
|
QMessageBox::Ok | QMessageBox::Cancel) != QMessageBox::Ok)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -491,9 +507,8 @@ void RbUtilQt::installBtn()
|
||||||
bool RbUtilQt::installAuto()
|
bool RbUtilQt::installAuto()
|
||||||
{
|
{
|
||||||
QString file = QString("%1/%2/rockbox-%3-%4.zip")
|
QString file = QString("%1/%2/rockbox-%3-%4.zip")
|
||||||
.arg(settings->releaseUrl(), settings->lastRelease(settings->curPlatform()),
|
.arg(settings->releaseUrl(), versmap.value(settings->curPlatform()),
|
||||||
settings->curPlatform(), settings->lastRelease(settings->curPlatform()));
|
settings->curPlatform(), versmap.value(settings->curPlatform()));
|
||||||
|
|
||||||
buildInfo.open();
|
buildInfo.open();
|
||||||
QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
|
QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
|
||||||
buildInfo.close();
|
buildInfo.close();
|
||||||
|
@ -552,7 +567,7 @@ bool RbUtilQt::installAuto()
|
||||||
ZipInstaller* installer = new ZipInstaller(this);
|
ZipInstaller* installer = new ZipInstaller(this);
|
||||||
installer->setUrl(file);
|
installer->setUrl(file);
|
||||||
installer->setLogSection("Rockbox (Base)");
|
installer->setLogSection("Rockbox (Base)");
|
||||||
installer->setLogVersion(settings->lastRelease(settings->curPlatform()));
|
installer->setLogVersion(versmap.value("rel_rev"));
|
||||||
if(!settings->cacheDisabled())
|
if(!settings->cacheDisabled())
|
||||||
installer->setCache(true);
|
installer->setCache(true);
|
||||||
installer->setMountPoint(settings->mountpoint());
|
installer->setMountPoint(settings->mountpoint());
|
||||||
|
@ -571,13 +586,6 @@ void RbUtilQt::install()
|
||||||
buildInfo.open();
|
buildInfo.open();
|
||||||
QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
|
QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
|
||||||
buildInfo.close();
|
buildInfo.close();
|
||||||
|
|
||||||
if(settings->curReleased()) {
|
|
||||||
// only set the keys if needed -- querying will yield an empty string
|
|
||||||
// if not set.
|
|
||||||
versmap.insert("rel_rev", settings->lastRelease(settings->curPlatform()));
|
|
||||||
versmap.insert("rel_date", ""); // FIXME: provide the release timestamp
|
|
||||||
}
|
|
||||||
installWindow->setVersionStrings(versmap);
|
installWindow->setVersionStrings(versmap);
|
||||||
|
|
||||||
installWindow->show();
|
installWindow->show();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue