Merge remote branch 'origin/2.0'

Conflicts:
	src/plugins/projectexplorer/buildmanager.cpp
	src/plugins/projectexplorer/compileoutputwindow.cpp
	src/plugins/projectexplorer/compileoutputwindow.h
	src/plugins/projectexplorer/outputwindow.cpp
	src/plugins/projectexplorer/outputwindow.h
This commit is contained in:
con
2010-07-16 11:50:01 +02:00
8 changed files with 36 additions and 12 deletions

9
dist/changes-2.1.0 vendored
View File

@@ -8,23 +8,27 @@ git clone git://gitorious.org/qt-creator/qt-creator.git
git log --cherry-pick --pretty=oneline v2.0.0...v2.1.0 git log --cherry-pick --pretty=oneline v2.0.0...v2.1.0
General General
* Fix the suggested path in the new dialog in case of sub projects
* Search dialog now opens the completion box for the search term on cursor down
Editing Editing
* FakeVim: Fix issues with non-letter keys on non-US keyboards * FakeVim: Fix issues with non-letter keys on non-US keyboards
* FakeVim: Fix performance of find/replace * FakeVim: Fix performance of find/replace
* Fixed disabled "Open with" context menu in project tree.
C++ Support C++ Support
Project support Project support
* Fix auto-scrolling in application and compile output
Debugging Debugging
* Fix display of certain structures within containers * Fix display of certain structures within containers
* Fix display of typedefs of typedefs of simple types such as qulonglong * Fix display of typedefs of typedefs of simple types such as qulonglong
* Fix behaviour of 'step' and 'next' when a lower frame was selected * Fix behaviour of 'step' and 'next' when a lower frame was selected
* Fix std::string display for objects with (the legal) ref count -1 * Fix std::string display for objects with (the legal) ref count -1
* Improve gdb version string parsing * Improve gdb version string parsing
* Fix that the newest version of compiled debugging helper was not used
if there was an older version still was around in a different search path
QML/JS Support QML/JS Support
* New QmlDesigner * New QmlDesigner
@@ -39,6 +43,7 @@ Mac
Linux (GNOME and KDE) Linux (GNOME and KDE)
Windows Windows
* Fixed that some menu items got disabled during keyboard navigation
Additional credits go to: Additional credits go to:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -2178,7 +2178,8 @@
build the application. build the application.
Qt Creator generates an installation package, installs in on the device, Qt Creator generates an installation package, installs in on the device,
and executes it. The application views are displayed on the Nokia N900. and executes it. You can skip the packaging step to save some time.
The application views are displayed on the Nokia N900.
Command-line Command-line
output is visible in the Qt Creator \gui {Application Output} view. output is visible in the Qt Creator \gui {Application Output} view.
@@ -2187,13 +2188,21 @@
\section2 Creating Installation Packages \section2 Creating Installation Packages
When you build the application for the \gui{Maemo} target, Qt When you build the application for the \gui{Maemo} target, Qt
Creator automatically generates a debian installation package Creator generates a debian installation package
in the project folder. You can deliver the installation package to in the project folder by default. You can deliver the installation package to
users for installation on Maemo devices. users for installation on Maemo devices.
You can add other files to the installation package in the The name of the installation package is displayed in the \gui {Create Package}
\gui {Create package} step in the build configuration. Add files field. You can change the version number in the \gui {Version number} field.
to the \gui {Package contents} field. In \gui {Local File Path},
When you test your application on a device or the Maemo emulator, you can
save some time by installing the built files directly on the connected device
without packaging. Select the \gui {Skip packaging step} check box in the
\gui {Create Package} step in the \gui {Build Settings}.
You can add other files to the installed files in the
\gui {Create Package} step, the \gui {Package contents} field. In
\gui {Local File Path},
specify the location of the file on the development PC. In specify the location of the file on the development PC. In
\gui {Remote File Path}, specify the folder to install the file on \gui {Remote File Path}, specify the folder to install the file on
the device. the device.

View File

@@ -63,9 +63,9 @@
using namespace ProjectExplorer; using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal; using namespace ProjectExplorer::Internal;
static inline QString msgProgress(int n, int total) static inline QString msgProgress(int progress, int total)
{ {
return BuildManager::tr("Finished %1 of %n build steps", 0, n).arg(total); return BuildManager::tr("Finished %1 of %n build steps", 0, total).arg(progress);
} }
BuildManager::BuildManager(ProjectExplorerPlugin *parent) BuildManager::BuildManager(ProjectExplorerPlugin *parent)
@@ -102,6 +102,9 @@ BuildManager::BuildManager(ProjectExplorerPlugin *parent)
connect(m_taskWindow, SIGNAL(tasksChanged()), connect(m_taskWindow, SIGNAL(tasksChanged()),
this, SLOT(updateTaskCount())); this, SLOT(updateTaskCount()));
connect(m_taskWindow, SIGNAL(tasksCleared()),
this,SIGNAL(tasksCleared()));
connect(&m_progressWatcher, SIGNAL(canceled()), connect(&m_progressWatcher, SIGNAL(canceled()),
this, SLOT(cancel())); this, SLOT(cancel()));
connect(&m_progressWatcher, SIGNAL(finished()), connect(&m_progressWatcher, SIGNAL(finished()),

View File

@@ -97,6 +97,8 @@ signals:
void buildStateChanged(ProjectExplorer::Project *pro); void buildStateChanged(ProjectExplorer::Project *pro);
void buildQueueFinished(bool success); void buildQueueFinished(bool success);
void tasksChanged(); void tasksChanged();
void taskAdded(const ProjectExplorer::Task &task);
void tasksCleared();
private slots: private slots:
void addToTaskWindow(const ProjectExplorer::Task &task); void addToTaskWindow(const ProjectExplorer::Task &task);

View File

@@ -602,6 +602,7 @@ void TaskWindow::clearTasks(const QString &categoryId)
d->m_model->clearTasks(categoryId); d->m_model->clearTasks(categoryId);
emit tasksChanged(); emit tasksChanged();
emit tasksCleared();
navigateStateChanged(); navigateStateChanged();
} }

View File

@@ -78,6 +78,7 @@ public:
signals: signals:
void tasksChanged(); void tasksChanged();
void tasksCleared();
private slots: private slots:
void addCategory(const QString &categoryId, const QString &displayName); void addCategory(const QString &categoryId, const QString &displayName);

View File

@@ -138,6 +138,9 @@ QPainterPath TextEditorOverlay::createSelectionPath(const QTextCursor &begin, co
QTextBlock block = begin.block(); QTextBlock block = begin.block();
if (block.blockNumber() < m_editor->firstVisibleBlock().blockNumber() - 4)
block = m_editor->document()->findBlockByNumber(m_editor->firstVisibleBlock().blockNumber() - 4);
bool inSelection = false; bool inSelection = false;
QVector<QRectF> selection; QVector<QRectF> selection;