Commit Graph

10564 Commits

Author SHA1 Message Date
Erik Verbruggen d349cafe2d Fixes rounding errors in block positions.
Influences the position of the folded-block markers.

Reviewed-by: thorbjorn
2010-05-31 15:06:30 +02:00
Sergey Belyashov effe3e6e23 Updated Russian translation
Merge-request: 143
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2010-05-31 15:04:47 +02:00
Daniel Molkentin 61c06ed339 Remove accidentially committed symlinks 2010-05-31 13:57:34 +02:00
Daniel Molkentin 1a1a4a1075 Add links for building an example and building a mobile application
Reviewed-by: Leena Miettinen
2010-05-31 13:57:34 +02:00
Daniel Molkentin a7f1e80322 Do not try to force a version, this heuristic breaks too often.
Reviewed-by: Leena Miettinen
2010-05-31 13:57:34 +02:00
Daniel Molkentin d5f308032b Fix doc links to tips of the day, remove some to minimize l10n breakage.
Reviewed-by: Leena Miettinen
2010-05-31 13:57:34 +02:00
ck 2f43d5c3df SSH: Fix Net7 crash.
Reviewed-by: kh1
2010-05-31 12:27:55 +02:00
Erik Verbruggen 112df597db Fixed default property discovery for custom QML components.
Reviewed-by: Christian Kamm
2010-05-31 12:21:12 +02:00
Erik Verbruggen 8ea6148b61 Fixed possible crash.
Reviewed-by: Christian Kamm
2010-05-31 11:48:54 +02:00
Erik Verbruggen f840d9835d Removed invalid testcase.
Reviewed-by: Christian Kamm
2010-05-31 11:48:53 +02:00
Marco Bubke f0a6a0abb8 Do reparenting only with the control modifier hold
The isContainer flag is now ignored.

Reviewed-by: kkoehne
2010-05-31 11:12:05 +02:00
Daniel Molkentin a41876cd41 Do not add a menu if the examples cannot be found.
This is not only a waste of ressources, but breaks a check later on
which tries to load the QML examples from Creators ressource path
if no QML capable Qt version is found (included with Creator packages)

Reviewed-by: dt
2010-05-31 11:11:23 +02:00
Erik Verbruggen ec0d44fc3b Remove snippet tooltip when completion list looses focus.
Task-number: QTCREATORBUG-1425
Reviewed-by: Christian Kamm
2010-05-31 11:05:03 +02:00
Marco Bubke 6ce6dfbd2a If you move a new item on the formeditor the item is always in the base
state

The position is now setted int the base state if you drop a item on the
formeditor and move it around.

Task-Number: BAUHAUS-644
Reviewed-by: kkoehne
2010-05-31 11:02:38 +02:00
Kai Koehne 7ffbdc34db QuickDesigner: Fix last (?) occurence of 4.6 as version of Qt namespace
Reviewed-by: Thomas Hartmann
2010-05-31 10:40:12 +02:00
Robert Loehning a72604391f Added missing colons in German translation
Reviewed-by: Alessandro Portale
2010-05-28 20:49:02 +02:00
Leena Miettinen bf8c61bdc8 Doc - Add firmware release for Nokia N900 software update 1.2. Update information about Maemo Emulator build target. 2010-05-28 17:12:03 +02:00
Leena Miettinen ea54660fc0 Doc - Add tutorials on building and running example applications and creating mobile applications.
Reviewed-by: Christian Kamm
2010-05-28 17:12:02 +02:00
Leena Miettinen 85b165d1cf Doc - Update the run settings for desktop, Symbian, and Maemo. 2010-05-28 17:12:01 +02:00
Leena Miettinen 4bddb0bb2e Doc - In New project wizard, OK button label was changed to Choose. 2010-05-28 17:12:00 +02:00
Leena Miettinen 5af0a065f0 Doc - Fix links to Qt reference docs to point to the latest versions. 2010-05-28 17:11:59 +02:00
Leena Miettinen b76c3894d8 Doc - Fix a bug.
Task-number: QTCREATORBUG-1491
2010-05-28 17:11:58 +02:00
Kai Koehne f7ed1eb879 QuickDesigner: Make metainfo system robust for different version numbers
With the inclusion of org.webkit 1.0 types some common ancestors are shared
with different version numbers. These used to override each other. With this
patch the hierarchy is preserved.

This commit includes several changes by Marco Bubke.

Reviewed-by: Marco Bubke
2010-05-28 16:38:34 +02:00
Marco Bubke 27688270fd Load plugins at the beginning of the meta info initializing
Reviewed-by: kkoehne
2010-05-28 16:38:29 +02:00
Friedemann Kleint 3330d15964 Qt Designer integration: Fix Help button in stylesheet editor.
Wire QDesignerIntegration's help signal to help manager.

Task-number: QTCREATORBUG-1505
Reviewed-by: kh <qtc-committer@nokia.com>
2010-05-28 15:58:55 +02:00
Thorbjørn Lindeijer 76020b6152 Make sure bookmarks survive a document reload
While reloading a text document, the bookmarks got lost since their
associated QTextBlocks were deleted.

This patch makes sure that before reloading, the bookmarks are removed
non-persistently in the same way as when closing a document, and that
they are restored after the document was reloaded.

Currently, no effort is made to update the location of the bookmarks
based on the way the file changed.

Task-number: QTCREATORBUG-1281
Reviewed-by: dt
2010-05-28 15:44:59 +02:00
Christian Kamm a36d4b9b57 QmlJS: Update builtin type definitions.
Qt.labs.gestures and Qt.labs.filelistmodel weren't dumped before,
Qt.multimedia and Qt.widgets are gone.

Task-number: QTCREATORBUG-1507
Reviewed-by: Roberto Raggi
2010-05-28 15:22:50 +02:00
Kai Koehne 7f1f9e14af Fix crashes when loading large .qmlproject's (Mac OS X)
There is a hard limit on the number of file handles that can be open at one point per process on Mac OS X (e.g. it's 2560 on Mac OS X Snow Leopard Server, as shown by ulimit -a). Opening one or several .qmlproject's with a large number of directories to watch easily exceeds this. The results are crashes later on, e.g. when threads cannot be created any more.

This patch implements a heuristic that the file system watcher used for .qmlproject files never uses more than half the number of available file handles. It also increases the number from rlim_cur to rlim_max - the old code in main.cpp failed, see last section in

 http://developer.apple.com/maac/library/documentation/Darwin/Reference/ManPages/man2/setrlimit.2.html

for details.

Reviewed-by: ckamm
Task-number: QTCREATORBUG-1487
Task-number: QTCREATORBUG-1486
2010-05-28 14:14:42 +02:00
Erik Verbruggen 3082395c14 Disabled invalid ObjC++ discovery code.
Task-number: QTCREATORBUG-1501
Reviewed-by: Roberto Raggi
2010-05-28 12:15:54 +02:00
Robert Loehning 49d5cacd35 Don't call QDirIterator::filePath() twice 2010-05-27 21:23:44 +02:00
hjk 6ac8bd0c1b debugger: std::basic_string's refcount can be -1.
Reviewed-By: Oswald Buddenhagen
2010-05-27 17:28:13 +02:00
dt 69bd2df4e4 Fix QMAKE_CXX parsing
Task-Nr: QTCREATORBUG-1411
2010-05-27 16:36:26 +02:00
Thorbjørn Lindeijer de7af4f22b Fixed the default UI color
When there was no existing configuration, it would get set to pure black
on startup, resulting in a very dark gray Qt Creator. Now it is back to
its old friendly gray as default color.

Also made sure that the default on startup and the color used for
resetting the UI color in the settings are always in sync.

Reviewed-by: Jens Bache-Wiig
2010-05-27 16:21:29 +02:00
hjk 5afeaa720d debugger: more robust version string parsing
Fix for QTCREATORBUG-1490

Reviewed-By: Friedemann Kleint
2010-05-27 15:55:01 +02:00
Jarek Kobus aa93d6f422 Update Polish translations 2010-05-27 15:29:34 +02:00
Thorbjørn Lindeijer ee6d7ae384 Fixed position of current argument highlight for constructors
It was broken due to a leading space which was trimmed off, breaking the
begin and end positions. Instead, don't trim, but just make sure not to
add a leading space when it is not necessary.

Done-with: Christian Kamm <christian.d.kamm@nokia.com>
Task-number: QTCREATORBUG-1398
2010-05-27 14:49:45 +02:00
Daniel Molkentin 272de3b881 Rewording due to ambiguity. Breaks string freeze.
Reviewed-by: Oswald Buddenhagen
2010-05-27 14:26:43 +02:00
Thorbjørn Lindeijer f089b93029 Switched completion to be case-insensitive by default
Quite a few people seem to prefer this and it is the default in Eclipse
and MSVC.

This applies to both C++ and QML completion.

Task-number: QTCREATORBUG-1474
2010-05-27 14:21:26 +02:00
Thorbjørn Lindeijer 3bc20dbb60 Fixed vertical alignment of line numbers in search results on Mac
Due to different text positioning logic between the QItemDelegate and
the way SearchResultTreeItemDelegate drew the line numbers, the line
numbers did not align properly to the line of text next to it.

This was fixed by relying on QItemDelegate::drawDisplay for drawing the
line numbers, so that the same positioning logic is used.

This exposed a small right-alignment bug in QTextLayout, for which a fix
is coming to Qt.

Done-with: Erik Verbruggen
2010-05-27 13:49:36 +02:00
Thomas Hartmann a49bbb4d15 QmlDesigner.test: adding qml files 2010-05-27 12:00:12 +02:00
dt fc4e7b2e6d Oh well symbian doesn't support dots in dirs 2010-05-27 11:53:04 +02:00
Thomas Hartmann 238dfa5185 QmlDesigner.propertyEditor: anchor fill button is now checkable 2010-05-27 11:48:06 +02:00
Thomas Hartmann 251c259b60 QmlDesigner.autoTest: adds testComponentLoadingTabWidget 2010-05-27 11:48:04 +02:00
Thomas Hartmann 6e388a3941 QmlDesigner.autoTests: compilefix
Reviewed-by: Kai Koehne
2010-05-27 11:48:03 +02:00
Thomas Hartmann 3d01b6af69 QmlDesigner.propertyEditor: remove ambigous typedef
Reviewed-by: Kai Koehne
2010-05-27 11:48:02 +02:00
Thomas Hartmann 7f6601951c QmlDesigner.propertyEditor: cleanup of includes
Reviewed-by: Kai Koehne
2010-05-27 11:48:01 +02:00
Oswald Buddenhagen 0b52a873bd escape backslashes (or don't use them at all, resp.) 2010-05-26 19:35:21 +02:00
Oswald Buddenhagen 27cb7ac26a remove outdated qt version check
all of creator requires qt 4.7 now
2010-05-26 19:35:21 +02:00
mae 7c82944750 Fix qml autocompletion on Enter
Only insert necessary newlines

Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-1476
2010-05-26 19:21:32 +02:00
hjk a45bfdc4e6 debugger: improve QVariant(QString) dumper
(partially cherry picked from commit dd714e9ccb)
2010-05-26 17:41:09 +02:00