Commit Graph

44349 Commits

Author SHA1 Message Date
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
Friedemann Kleint
85ef2954a2 Enable usage of "_svn" as internal directory name for TortoiseSVN.
Option for  TortoiseSVN to avoid hassle with other IDEs.
2009-05-26 12:25:32 +02:00
Roberto Raggi
f82e76dd7c Removed the local copy of the text rewriter. 2009-05-26 12:10:24 +02:00
Roberto Raggi
1afae90c54 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-05-26 12:06:05 +02:00
Thorbjørn Lindeijer
c358a68557 Do still pass the typed character to the indenter
Some indenters need this information. If the C++ indenter misbehaves
based on the typed character, then that should be fixed there.

This reverts part of commit 4c07de50b2.

Reviewed-by: Roberto Raggi
2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
5b132339a7 Rely on lazy instantiation of text editor actions
The actions are already lazily instantiated in
TextEditorActionHandler::setupActions(), so there should be no need to
call initializeActions() in all plugins on startup. Only the main text
editor plugin will still initialize its actions, to make sure the menu
items are there.
2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
5cc007e9d9 Moved initialization of actions 2009-05-26 12:05:05 +02:00
Thorbjørn Lindeijer
31dada8d92 Renamed braces to brackets
Since we're automatically inserting several kinds of brackets, but not
braces ({ }).
2009-05-26 12:05:05 +02:00
Roberto Raggi
07bd36b69a Expand the tab characters. 2009-05-26 11:58:05 +02:00
hjk
4774ba14f7 qstringbuilder: add a new benchmark using QString::arg 2009-05-26 11:03:39 +02:00
Oswald Buddenhagen
dc0bc58646 micro-optimize: (x.toLower() == y) => !x.compare(y, Qt:: CaseInsensitive) 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
bd0f0aa182 fix return value of error() & co 2009-05-25 18:35:12 +02:00
Oswald Buddenhagen
a03f8643a7 make message() & co. handling more qmake-like
which basically means cutting features. heh
2009-05-25 18:35:12 +02:00