1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Version 1.1.0

- checking for updates is by default disabled on Linux
- added Polish translation, thanks to Michał Szymanowski
This commit is contained in:
nowrep 2011-12-14 18:09:43 +01:00
parent 826126fd2d
commit 59de491557
13 changed files with 1321 additions and 1180 deletions

View File

@ -16,8 +16,8 @@ Ján Ďanovský <dagsoftware@yahoo.com> (Slovak)
Unink-Lio <unink4451@163.com> (Chinese) Unink-Lio <unink4451@163.com> (Chinese)
Federico Fabiani <federico.fabiani85@gmail.com> (Italy) Federico Fabiani <federico.fabiani85@gmail.com> (Italy)
Francesco Marinucci <framarinucci@gmail.com> (Italy) Francesco Marinucci <framarinucci@gmail.com> (Italy)
Krzysztof Malinowski <boromil@gmail.com> (Polish)
Jorge Sevilla <jsevi@ozu.es> (Spanish) Jorge Sevilla <jsevi@ozu.es> (Spanish)
Michał Szymanowski <tylkobuba@gmail.com> (Polish)
Special thanks: Special thanks:

View File

@ -47,7 +47,7 @@ To install QupZilla, you will have to run this command: (it may be neccessary to
Current version Current version
---------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------
The current released version of QupZilla is 1.0.0. You can download precompiled packages The current released version of QupZilla is 1.1.0. You can download precompiled packages
and the sources from the download section. and the sources from the download section.
However, if you want the latest revision, just take the latest code snapshot either by However, if you want the latest revision, just take the latest code snapshot either by
downloading a tarball or running: downloading a tarball or running:

Binary file not shown.

View File

@ -2,7 +2,7 @@
Encoding=UTF-8 Encoding=UTF-8
Name=QupZilla Name=QupZilla
Type=Application Type=Application
Icon=qupzilla.png Icon=qupzilla
Categories=Network;WebBrowser; Categories=Network;WebBrowser;
Comment=A fast and secure web browser Comment=A fast and secure web browser
Comment[es]=Un navegador web rápido y seguro Comment[es]=Un navegador web rápido y seguro

View File

@ -170,7 +170,13 @@ MainApplication::MainApplication(const QList<CommandLineOptions::ActionPair> &cm
AutoSaver* saver = new AutoSaver(); AutoSaver* saver = new AutoSaver();
connect(saver, SIGNAL(saveApp()), this, SLOT(saveStateSlot())); connect(saver, SIGNAL(saveApp()), this, SLOT(saveStateSlot()));
if (settings2.value("Web-Browser-Settings/CheckUpdates", true).toBool()) { if (settings2.value("Web-Browser-Settings/CheckUpdates",
#ifdef Q_WS_WIN
true
#else
false
#endif
).toBool()) {
m_updater = new Updater(qupzilla); m_updater = new Updater(qupzilla);
} }

View File

@ -66,11 +66,18 @@ void ProfileUpdater::updateProfile(const QString &current, const QString &profil
if (profileVersion == Updater::parseVersionFromString("1.0.0-b4")) { if (profileVersion == Updater::parseVersionFromString("1.0.0-b4")) {
update100b4(); update100b4();
update100rc1(); update100rc1();
update100();
return; return;
} }
if (profileVersion == Updater::parseVersionFromString("1.0.0-rc1")) { if (profileVersion == Updater::parseVersionFromString("1.0.0-rc1")) {
update100rc1(); update100rc1();
update100();
return;
}
if (profileVersion == Updater::parseVersionFromString("1.0.0")) {
update100();
return; return;
} }
@ -112,3 +119,13 @@ void ProfileUpdater::update100rc1()
query.exec("UPDATE bookmarks SET toolbar_position=0"); query.exec("UPDATE bookmarks SET toolbar_position=0");
} }
void ProfileUpdater::update100()
{
std::cout << "upgrading profile version from 1.0.0..." << std::endl;
mApp->connectDatabase();
QSqlQuery query;
query.exec("ALTER TABLE autofill ADD COLUMN last_used NUMERIC");
query.exec("UPDATE autofill SET last_used=0");
}

View File

@ -39,6 +39,7 @@ private:
void update100b4(); void update100b4();
void update100rc1(); void update100rc1();
void update100();
QString m_profilePath; QString m_profilePath;
QString m_dataPath; QString m_dataPath;

View File

@ -62,7 +62,7 @@
#include "webhistorywrapper.h" #include "webhistorywrapper.h"
#include "menu.h" #include "menu.h"
const QString QupZilla::VERSION = "1.0.0"; const QString QupZilla::VERSION = "1.1.0";
const QString QupZilla::BUILDTIME = __DATE__" "__TIME__; const QString QupZilla::BUILDTIME = __DATE__" "__TIME__;
const QString QupZilla::AUTHOR = "David Rosca"; const QString QupZilla::AUTHOR = "David Rosca";
const QString QupZilla::COPYRIGHT = "2010-2011"; const QString QupZilla::COPYRIGHT = "2010-2011";

View File

@ -195,8 +195,8 @@ QString QupZillaSchemeReply::aboutPage()
authorString("Unink-Lio", "unink4451@163.com") + " (Chinese)<br/>" + authorString("Unink-Lio", "unink4451@163.com") + " (Chinese)<br/>" +
authorString("Federico Fabiani", "federico.fabiani85@gmail.com") + " (Italy)<br/>" + authorString("Federico Fabiani", "federico.fabiani85@gmail.com") + " (Italy)<br/>" +
authorString("Francesco Marinucci", "framarinucci@gmail.com") + " (Italy)<br/>" + authorString("Francesco Marinucci", "framarinucci@gmail.com") + " (Italy)<br/>" +
authorString("Krzysztof Malinowski", "boromil@gmail.com") + " (Polish)<br/>" + authorString("Jorge Sevilla", "jsevi@ozu.es") + " (Spanish)<br/>" +
authorString("Jorge Sevilla", "jsevi@ozu.es") + " (Spanish)" authorString("Michał Szymanowski", "tylkobuba@gmail.com") + " (Polish)"
); );
return page; return page;

View File

@ -80,8 +80,8 @@ void AboutDialog::showAuthors()
"Unink-Lio (Chinese)<br/>" "Unink-Lio (Chinese)<br/>"
"Federico Fabiani (Italy)<br/>" "Federico Fabiani (Italy)<br/>"
"Francesco Marinucci (Italy)<br/>" "Francesco Marinucci (Italy)<br/>"
"Krzysztof Malinowski (Polish)<br/>" "Jorge Sevilla (Spanish)<br/>"
"Jorge Sevilla (Spanish)" "Michał Szymanowski (Polish)"
)); ));
m_authorsHtml.append("</div>"); m_authorsHtml.append("</div>");
} }

View File

@ -116,7 +116,13 @@ Preferences::Preferences(QupZilla* mainClass, QWidget* parent)
int afterLaunch = settings.value("afterLaunch", 1).toInt(); int afterLaunch = settings.value("afterLaunch", 1).toInt();
settings.endGroup(); settings.endGroup();
ui->afterLaunch->setCurrentIndex(afterLaunch); ui->afterLaunch->setCurrentIndex(afterLaunch);
ui->checkUpdates->setChecked(settings.value("Web-Browser-Settings/CheckUpdates", true).toBool()); ui->checkUpdates->setChecked(settings.value("Web-Browser-Settings/CheckUpdates",
#ifdef Q_WS_WIN
true
#else
false
#endif
).toBool());
ui->newTabFrame->setVisible(false); ui->newTabFrame->setVisible(false);
if (m_newTabUrl.isEmpty()) { if (m_newTabUrl.isEmpty()) {

File diff suppressed because it is too large Load Diff