Commit Graph

72811 Commits

Author SHA1 Message Date
Roberto Raggi
d9a65beacc Moved the lookup of qualified name ids in LookupContext::resolveQualifiedNameId() 2009-05-28 11:59:11 +02:00
Roberto Raggi
a1ec4e2a94 Introduced Name::identifier().
Name::identifier() returns the identifier used to declare the name.
2009-05-28 11:49:59 +02:00
Roberto Raggi
6ec0b2591e Removed debug output. 2009-05-28 11:12:16 +02:00
Thorbjørn Lindeijer
653757e781 Fixed HTML escaping issues in the function argument widget
HTML escaping was moved out of the TypePrettyPrinter since it interferes
with other logic there. Instead, the region to mark is now available
from the Overview and used by the FunctionArgumentWidget to put the
current argument in bold.
2009-05-28 11:00:33 +02:00
Friedemann Kleint
8c45eb57fb Fixed p4 plugin.
Introduce settings struct again. Add an errorString() to
the settings class. Change checkP4Command to checkP4Configuration
and make it report errors when appropriate. Make errorString show
up in settings page and add "Test" button.
Build options correctly (omit empty settings) and use basic
options for the test (which was the bug causing p4 to be
disabled if options were actually specified).
2009-05-28 10:30:10 +02:00
mae
4bdc0664eb Small fix for parentheses matching: give the syntaxhighlighter a chance
to update the parentheses information.
2009-05-27 20:50:07 +02:00
Alessandro Portale
43a14ac25b Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-27 19:31:42 +02:00
Alessandro Portale
06ee5c1e97 Making sure that tabSize and indentSize spinboxes stay attached
to their label. Less layout involved.
2009-05-27 19:31:29 +02:00
con
6d3571d930 Broken "instance" method for QtVersionManager. 2009-05-27 18:45:00 +02:00
dt
de6e609883 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-27 18:34:18 +02:00
dt
599b21216d Add environment widget to the custom executable runconfiguration. 2009-05-27 18:33:57 +02:00
dt
10151809c4 Add Environment settings to CMakeRunConfiguration 2009-05-27 18:33:50 +02:00
Alessandro Portale
991998dad3 Aligning the 'Maximal stack depth' spinbox to its label. 2009-05-27 18:33:34 +02:00
con
efc865a48e Correctly enable/disable the "Add new" and "Add existing" menu items.
The context menu was updated before the current node was set to the
right value, later in the showContextMenu method.

Task-number: 253989
2009-05-27 17:47:06 +02:00
hjk
1b1b484184 qstringbuilder: final version to merge into Qt proper 2009-05-27 16:50:16 +02:00
Roberto Raggi
10a2274bd4 Removed obsolete code. 2009-05-27 16:32:32 +02:00
Friedemann Kleint
3ae4f07bbd Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-27 16:19:14 +02:00
Friedemann Kleint
e5c6a29fc4 Raise existing submit window if there is one when Submit is invoked.
Introduce convenience to VCSBaseSubmitEditor.
Task-number: 254644
2009-05-27 16:17:24 +02:00
Friedemann Kleint
192afe0825 Fixed compile warnings. 2009-05-27 16:11:41 +02:00
Thorbjørn Lindeijer
985aa5727f Fixed a missing space in the tooltips after a template id
Reviewed-by: Roberto Raggi
2009-05-27 16:00:11 +02:00
Thorbjørn Lindeijer
878bc07201 Introduced a backwards scanner for finding expression under cursor
The backwards scanner lazily tokenizes strings. This optimizes the
common case where scanning one or two lines is enough while at the same
time we extended the limit from 5 to 10 lines.

Reviewed-by: Roberto Raggi
2009-05-27 16:00:10 +02:00
Roberto Raggi
b93c9ce347 Some cleanup in the lookup context. 2009-05-27 15:54:13 +02:00
con
089401fbf7 Add option to turn antialiasing on/off for text editor fonts.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Task-number: 234394
2009-05-27 15:38:24 +02:00
Roberto Raggi
bdf6c3d0be Store the encoded file name in a QString. 2009-05-27 15:34:13 +02:00
dt
b3bccbc2e8 Adjust environment to changes in the baseenvironment 2009-05-27 14:58:46 +02:00
dt
153f6aab33 Fix a small bug that made the Edit on some environment pages disabled 2009-05-27 14:58:34 +02:00
dt
4267de479a Fix layout 2009-05-27 14:58:29 +02:00
dt
345ee7dfae Basic stuff for setting the environment of qt4runconfigurations
Missing is options to base the environment on either:
- the last build buildconfiguration (current implementation)
- the project environment
- a clean environment

signals which indicate that the baseEnvironment changed
some layout stuff is wrong
2009-05-27 14:58:25 +02:00
dt
9f65fb801c Fixes strange left over debugging output 2009-05-27 14:58:20 +02:00
dt
5d75804b93 Refactor the checkbox "Clear system environment" out.
I don't want it in the run configurations.
2009-05-27 14:58:16 +02:00
dt
adc7a7204b Use the environment specified for the current build configuration to
rebuild the cbp file

I think that makes sense, we'll see.
2009-05-27 14:58:11 +02:00
dt
14a79dad58 Simplfy API of CMakeOpenProjectWizard remove some left over QStringList
We don't call it with a list anymore, so make it just a QString
2009-05-27 14:58:07 +02:00
dt
0bda19a099 Add the ability to set a build environment also for CMake projects.
Note: as for qt projects, this is also used for running. And we don't
use it for running cmake yet.
2009-05-27 14:58:02 +02:00
dt
19d3131ef6 Refactor the code for the environment setting gui out into a own class
Makes it possible to reuse that code, which I intend to do for cmake and
running.
2009-05-27 14:57:57 +02:00
dt
2172fc75ba Remove unused .ui files. 2009-05-27 14:57:43 +02:00
Thorbjørn Lindeijer
6b178a6402 Still trigger completion for signals and slots
Was missing in commit efc0b20859.

Reviewed-by: Roberto Raggi
2009-05-27 13:12:00 +02:00
hjk
273011f95f Revert "qstringbuilder: a version without QLatin1Literal"
This reverts commit 28303e861d.
2009-05-27 12:56:33 +02:00
hjk
28303e861d qstringbuilder: a version without QLatin1Literal 2009-05-27 11:46:10 +02:00
Thorbjørn Lindeijer
efc0b20859 Made typing parenthesis even faster
Only attempt to activate the completion when there is a function id on
the left of the parenthesis.

Reviewed-by: Roberto Raggi
2009-05-27 11:38:57 +02:00
hjk
39b0da2a1e qstringbuilder: move free functions back to class specializations 2009-05-27 10:28:17 +02:00
Thorbjørn Lindeijer
2a1bfc6059 Integrate merge-request #542 into branch 'master'
Joel Nordell (1):
      XCode-style tab behavior

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/542
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-05-27 09:47:50 +02:00
Thorbjørn Lindeijer
765aa56d6e Preprocessing an empty expression is always empty
Fixes performance issue with typing opening parentheses.

Reviewed-by: Roberto Raggi
2009-05-27 09:44:44 +02:00
Friedemann Kleint
09380afe90 Get attaching to a crashed Windows process right (CDB).
Handle  the 2nd parameter correctly as a event id
to be used for a handshake. Introduce a special mode
when attaching to crashed processes.
Code cleanup, pass StartParameters along to startDebugger.
2009-05-26 16:27:24 +02:00
hjk
af4fcde1c2 qstringlist: polishing
Make operator% only act on types we want to handle.
Also add a benchmark for comparison with QString::reserve();
2009-05-26 15:54:22 +02:00
Daniel Molkentin
da2c44ee02 text editor: enable/disable the erase button in the color dialog properly.
The button to erase a selected color in the Fonts & Colors
(groupbox 'color scheme') was not set enabled if a color was selected,
neither was it disabled if a color had been removed using the button.

Fixes: 254202
2009-05-26 14:58:28 +02:00
hjk
f4ba8f1de3 qstringbuilder: more logic optimizations
Drop original QStringBuilder class, rename QStringBuilderPair to
QStringBuilder. Put everything except the QLatin1Literal class and
the global operator%() in a private namespace.
2009-05-26 14:22:36 +02:00
Thorbjørn Lindeijer
0c13443904 Fixed C++ indenter for global scope operator
When starting a line with :, the indenter now no longer removes the
indentation. Usually you do this when you're typing the global scope
operator.

Reviewed-by: Roberto Raggi
2009-05-26 13:39:54 +02:00
hjk
e1e1bfbf67 qtringbuilder: simplify by removing the QStringBuilder<QString> specialization 2009-05-26 12:47:39 +02:00
hjk
ea6617cede qstringbuilder.h: simplify template logic while retaining the speed 2009-05-26 12:32:51 +02:00
Friedemann Kleint
b0e49ecc98 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-26 12:26:55 +02:00