Commit Graph

8510 Commits

Author SHA1 Message Date
dt
73d6ea78fe Remove old code 2010-03-05 15:51:30 +01:00
dt
96c1a21a51 Remove unused code emptyProject 2010-03-05 15:51:30 +01:00
dt
ef90afe5aa Remove qtextended_integration 2010-03-05 15:51:30 +01:00
Christian Kamm
9e75ff8ea2 Don't add the default arguments when completing function definitions.
Fixes QTCREATORBUG-787

Reviewed-by: Erik Verbruggen
2010-03-05 15:45:58 +01:00
Kai Koehne
d700b84714 QmlDesigner: Fix crash when opening a .qml file with states
This fixes an assert in QGraphicsScene because of
overlapping deferred calls of _q_processDirtyItems & _q_emitUpdated.
Both used to be queued in the same event loop:

 _q_emitUpdated call queued with "calledEmitUpdated=true"
 _q_processDirtyItems call queued
-> Event loop runs
 _q_emitUpdated runs, setting "calledEmitUpdated=false"
 _q_processDirtyItems runs, asserting because of !calledEmitUpdated

This fix forces the event loop to run between the queueing of
_q_emitUpdated & _q_processDirtyItems, effectively separating
both calls.

Task-number: BAUHAUS-459
Reviewed-by: Christiaan Janssen
2010-03-05 15:19:45 +01:00
Marius Storm-Olsen
651ff4b172 Don't draw column margin twice
The last line is even blended, which slows things down.

Reviewed-by: Thorbjørn Lindeijer
(caused by wrong merge of ab3d3cf413)
2010-03-05 15:08:44 +01:00
Marius Storm-Olsen
b448e6e7b9 Enable suppressing syntax and setting a foreground color on disabled blocks
If the foreground color for the disabled text is different than the normal
text foreground, that's an indication that the user wants the disabled
block to be colored differently. If so, disable the syntax highlighting
and set uniform colors for the block.

If the foreground colors are identical apply full syntax highlighting in
the disabled block too. Some people want that.

Reviewed-by: Thorbjørn Lindeijer
2010-03-05 15:04:23 +01:00
Thorbjørn Lindeijer
181b086f99 Added syntax highlighted code to clipboard as HTML when copying
The generated HTML is not the prettiest HTML in the universe, but it
does the job. When copying code from Qt Creator to Microsoft Office or
OpenOffice.org, the syntax highlighting is now preserved. The code also
pastes as preformatted text.

Reviewed-by: mae
Task-number: QTCREATORBUG-727
2010-03-05 15:04:23 +01:00
David Boddie
9b365395dc Fixed typo.
Reviewed-by: Trust Me
2010-03-05 14:32:23 +01:00
Tobias Hunger
90099cb3ae Remove obsolete member variable
Reviewed-by: Friedemann Kleint
2010-03-05 13:50:49 +01:00
Tobias Hunger
9cdddd949e Fix memory leak
Reviewed-by: Friedemann Kleint
2010-03-05 13:50:49 +01:00
Tobias Hunger
767e6e17d9 Make sure we have some target/Qt version selected
... in the TargetPage of the Qt4 wizards

Reviewed-by: Friedemann Kleint
2010-03-05 13:50:48 +01:00
Tobias Hunger
a377e941b1 Remove obsolete code
Reviewed-by: Friedemann Kleint
2010-03-05 13:50:48 +01:00
ck
3e29ede56d Maemo: Detect more arm architectures.
Reviewed-by: kh1
2010-03-05 13:04:48 +01:00
hjk
4cd90ff022 debugger: fix qvariant dumper for custom types 2010-03-05 12:50:43 +01:00
hjk
6bf46c1983 dbugger: fix Q{Weak,Shared}Pointer dumper 2010-03-05 12:09:00 +01:00
Lasse Holmstedt
e2cc3c4c8b Fixed localization with qml run configuration
Reviewed-by: dt
2010-03-05 11:38:52 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
dc54e3f46b Library/Unit Test/Custom Widget Wizard: Add Target page.
Handle target page correctly. Remove static enumerations
of page ids by member variables to handle differing
page setups. Fix page switching logic in library wizard.

Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2010-03-05 11:24:31 +01:00
Lasse Holmstedt
cba54bf47d Disable run controls if no qml file is selected
Task-number: BAUHAUS-396
Reviewed-by: dt
2010-03-05 11:14:13 +01:00
hjk
ed4278aba3 debugger: fix new wstring dumper encoding 2010-03-05 11:11:20 +01:00
Kai Koehne
72ecc8a4fa QmlDesigner: Adapt qml files to new "on" syntax
Reviewed-by: Christiaan Janssen
2010-03-05 10:47:54 +01:00
Kai Koehne
f20c2095c4 Qml: MouseRegion got renamed to MouseArea
Reviewed-by: Christian Kamm
2010-03-05 10:47:53 +01:00
Tobias Hunger
5c568a68d3 Disable targets in the targetselectionpage
* Allow to restrict possible targets in the targetselectionpage
 * Only show the page when it makes sense

Reviewed-by: Friedemann Kleint
2010-03-05 10:41:13 +01:00
Tobias Hunger
c47b3812e4 Sort projects alphabetically in projects mode
Reviewed-by: con
2010-03-05 10:40:24 +01:00
hjk
cba4476d0a debugger: fix QHash dumper in the case of simple keys 2010-03-05 10:20:21 +01:00
hjk
b3e129574f debugger: fix QLinkedList dumper 2010-03-05 10:20:20 +01:00
hjk
5def7f3832 debugger: suppress generation of breakpoint information in the new dumpers
Functionality has been moved back to the plugin for now.
2010-03-05 10:20:20 +01:00
Christian Kamm
6655272386 Update the Qml type description file. 2010-03-05 10:18:51 +01:00
Christian Kamm
bb99b7888b In the XML describing the Qml types, order the types by name.
This should allow diffs of the generated file to be more meaningful.

Reviewed-by: Roberto Raggi
2010-03-05 10:17:18 +01:00
kh1
952f23ca34 Fix wrong namespace. 2010-03-05 09:54:21 +01:00
hjk
a5b7f7d3c5 debugger: fix testArray() test case 2010-03-05 09:48:19 +01:00
Christiaan Janssen
59873ccf1d QmlDesigner.ItemLibrary: Eliding text labels 2010-03-05 09:34:29 +01:00
Friedemann Kleint
d0a1983ed6 Added gui example for debugger testing 2010-03-05 09:16:05 +01:00
Jörg Schummer
0943177d86 QmlDesigner.ItemLibrary: fixed: do not display non-visual components
Task-number: BAUHAUS-433
Reviewed-by: kkoehne
2010-03-05 08:48:37 +01:00
Robert Loehning
b3a6fe134a Mentioning bugfix in changes file. 2010-03-04 19:28:20 +01:00
Daniel Molkentin
22773fc825 Shortcutsettings/FakeVim: Indicate modified shortcuts/regexps.
Fixes: QTCREATORBUG-559
2010-03-04 19:22:16 +01:00
Oswald Buddenhagen
c642d92962 Merge remote branch 'origin/1.3' 2010-03-04 19:16:33 +01:00
Oswald Buddenhagen
cb079462f1 remove objectionable message :-D 2010-03-04 19:14:57 +01:00
Robert Loehning
a8781c8ab2 Fix contact info.
Reviewed-by: kh
2010-03-04 19:12:57 +01:00
kh1
23a876c5c0 Some more improvements for the startup time.
After this change and the change we did to 4.7, we are down to ~100ms
time in extensionsInitialized on Windows, should be even more on Linux.
2010-03-04 18:48:51 +01:00
kh1
9aaf2ec84c Remove the register call for the qml file, I put it into help module. 2010-03-04 18:48:50 +01:00
kh1
0521722bd5 Set auto save filter to false, it triggers an unnecessary db write. 2010-03-04 18:48:49 +01:00
kh1
12847de5ef Fix contact info. 2010-03-04 18:48:48 +01:00
Erik Verbruggen
6e6cebedfb Fixed incorrect indentation when reparenting nodes. 2010-03-04 17:42:21 +01:00
Daniel Molkentin
5aa3625e94 Fix incorrect slot connection.
Reviewed-By: Robert Loehning
2010-03-04 17:00:24 +01:00
Jens Bache-Wiig
8ab726f7b4 Fix missing item drop indicators in the QML editor
We need to draw drop indicators for this. I made them
semi transparent white rectangles for now.
2010-03-04 16:58:31 +01:00
Erik Verbruggen
9539a8dcb0 Changed error to warning when using a string literal for an ID. 2010-03-04 16:41:08 +01:00
Kai Koehne
0714893c8f QmlDesigner/QmlInspector: Document private headers dependency
Users also can now explicitly set the path to the private
header files by passing "QT_PRIVATE_HEADERS=$PATH" to qmake,
or force qmake to ignore the plugins by passing in an invalid
/empty path.

Reviewed-by: con
2010-03-04 16:32:37 +01:00
Kai Koehne
dd062b30f3 Beautify & Update README
Always write "Qt Creator" space. Also, make sure lines are
broken at 80 characters.

Reviewed-by: con
2010-03-04 16:32:37 +01:00