Commit Graph

5994 Commits

Author SHA1 Message Date
Roberto Raggi
baffd97efb Fixed parsing of ctor-initializers and added a manual test for the AST matchers 2009-11-13 12:38:18 +01:00
Roberto Raggi
28ab85b137 Removed obsolete code. 2009-11-13 12:13:49 +01:00
Roberto Raggi
3e9d4358bc Pass the translation units to the matcher. 2009-11-13 12:10:12 +01:00
Roberto Raggi
5644775d2f Also match the identifiers and the token types. 2009-11-13 11:54:22 +01:00
Roberto Raggi
f8beeea6dd Fixed the generator. 2009-11-13 11:43:52 +01:00
Roberto Raggi
ecf712e6bc New matchers 2009-11-13 11:35:19 +01:00
Roberto Raggi
261b870034 Fixed the coding style. 2009-11-13 10:01:41 +01:00
dt
a9ded4bd98 The namespace QWorkbench doesn't exist anymore. 2009-11-12 20:00:02 +01:00
Roberto Raggi
5dcf449afd Initial work on the pattern matcher for AST nodes. 2009-11-12 18:03:05 +01:00
Tobias Hunger
b2f6803329 Use Task class in addToTaskWindow(...) signal.
* Use Task class in addToTaskWindow(...) signal. This introduces
   support for task categories into the BuildParsers.
 * Add a task category for buildsystem issues.
 * Update existing BuildParsers to new API and assign their
   tasks to the Compile or Buildsystem task category.

Reviewed-By: dt
2009-11-12 16:28:40 +01:00
Thorbjørn Lindeijer
c9d49ab7e2 Fixed a bunch of accelerator keys in the File menu
There were three missing and one duplicate. Committed to master since
1.3 is currently in a hard string freeze.

Task-number: QTCREATORBUG-261
Task-number: QTCREATORBUG-262
Task-number: QTCREATORBUG-263
Task-number: QTCREATORBUG-264
2009-11-12 15:54:50 +01:00
Tobias Hunger
d151493acc Add buildparser for the QMake step
Add an option to have a buildparser for the qmake step and implement
a pretty simple parser.

Reviewed-By: dt
2009-11-12 09:04:18 +01:00
Tobias Hunger
074b111c66 Rename BuildParserInterface to IBuildParser.
Rename BuildParserInterface to IBuildParser to comply with
latest naming conventions.

Reviewed-By: con
2009-11-12 09:04:17 +01:00
dt
7c003add44 Hide the import label after importing. 2009-11-11 18:48:53 +01:00
dt
08c6941bb9 Fix that importing adds a unecessary -spec specpath to additional arguments 2009-11-11 18:48:53 +01:00
dt
5c14507506 Remove Debugging output 2009-11-11 18:48:53 +01:00
Roberto Raggi
3f3a36b728 Turned off the syntax highlighter for objc keywords. 2009-11-11 16:46:33 +01:00
Roberto Raggi
a1f9b05135 Fixed possible crash in CheckName
Done with: Erik Verbruggen
2009-11-11 16:35:18 +01:00
con
c7cd56c5d5 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-11-11 16:15:40 +01:00
con
43bccb41ed Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/debuggermanager.h
	src/plugins/qmleditor/qmleditorplugin.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
2009-11-11 16:14:29 +01:00
dt
aa9329e738 More fixes for windows 2009-11-11 15:59:25 +01:00
Friedemann Kleint
8335a06ed4 Code model: Update on changes from the versioning system.
Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa2411693.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-11 14:32:54 +01:00
Tobias Hunger
1a6f279314 Do not display negative line numbers in the TaskWindow
* Do not display negative line numbers in the TaskWindow.

Reviewed-By: kkoehne
2009-11-11 14:12:38 +01:00
Tobias Hunger
038b359c9d Make WINSCW build parser less restrictive
* Do something more GCC like to catch problems in included
   files.
 * Small coding style fixes.
 * Handle the few warnings the compiler does generate
 * Fix cut and paste error and return the correct name when asked

Reviewed-By: con
2009-11-11 13:38:16 +01:00
Kai Koehne
c8b3528e1c Only clear compile tasks from build issues for a new build 2009-11-11 12:42:08 +01:00
Oswald Buddenhagen
4d45ad0003 always clear pending command queue before posting shutdown commands
this ensures that, among other things, we won't get into this scenario:
- process is running
- interrupt is requested by user
- termination is requested by user
- before interrupt takes effect, the process terminates
=> shutdown is called
=> exit is also queued, as there is already a queued kill
=> nothing happens, as there will never be a stop response

Reviewed-by: hjk
2009-11-11 12:41:06 +01:00
Kai Koehne
caf4bb4a90 Add option to filter according to categories
Icon is still missing
2009-11-11 12:40:10 +01:00
Oswald Buddenhagen
5bd5fa63bf be more lenient when matching the stops at _start
archer reports stops at tbreaks properly, so checking for an empty stop
reason is no particularly good idea. instead, we simply skip *all* stops
at the entry point, assuming the user will not really set a breakpoint
there anyway.

Reviewed-by: hjk
2009-11-11 11:42:12 +01:00
ck
50990ef906 Debugging helpers: Don't use LD_PRELOAD mechanism for Maemo.
The LD_PRELOAD approach does not work for Maemo, because the
"set environment" command seems to have no effect whatsoever.
2009-11-11 11:40:11 +01:00
Tobias Hunger
082a76dc67 Fix compilation of S60 parsers.
* Incorporate new TaskWindow changes.

Reviewed-By: kkoehne
2009-11-11 11:00:54 +01:00
Kai Koehne
f8aa2c9951 Fix compilation
Always recompile after a rebase :)
2009-11-11 10:15:54 +01:00
Kai Koehne
925c686d85 Listening Qml syntax errors in Tasks window 2009-11-11 10:12:51 +01:00
Kai Koehne
a475761384 Refactor TaskWindow to support different 'categories'
The category differs between e.g. TODO tasks, compiler errors/warnings,
qml syntax errrors ... Idea is that every plugin can manage it's
own virtual list of tasks.

Reviewed-by: dt
2009-11-11 10:12:25 +01:00
Erik Verbruggen
2d2d0b59c8 Changed ExpressionUnderCursor to handle Objective-C send-message operations. 2009-11-11 09:35:42 +01:00
Erik Verbruggen
a6bbec2b56 Added symbols for property declarations. 2009-11-11 09:34:10 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +01:00
con
e4b1a25dd2 Revert "Code model: Update on changes from the versioning system."
This reverts commit 7aa2411693.
It breaks the code model updates completely. So reverting this change
until we have the right thing.

Reviewed-by: Roberto Raggi
2009-11-10 18:19:37 +01:00
Thorbjørn Lindeijer
3cd7f49e71 Fixed search results handling of font height
This patch makes sure that the rows that show the file and the rows that
show the results are the same height, to satisfy the uniform row heights
setting.

Also, a layout changed signal is now emitted when the font is changed.
This makes active search results update correctly when the text editor
font is changed.

Reviewed-by: con
2009-11-10 18:13:41 +01:00
Thorbjørn Lindeijer
6a9e7ab0f4 Fixed the direction in which include paths are traversed
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-10 18:13:41 +01:00
Daniel Molkentin
b71be596aa Adjust qtlibspatcher to new pathnames, change purpose of qpatch
qpatch should not try to rename debug symbols, but modify the prl
files instead. This purely replaces forward-slashed pathes. The
pathes in the debugging symbols use backslashes and are not touched.

Reviewed-By: con
2009-11-10 17:49:50 +01:00
Tobias Hunger
7938f9def9 Improve ABLD build parser for S60.
* Handle Warnings by the perl build scripts run by ABLD.
 * Handle critical failures in CPP on windows.

Reviewed-By: con
2009-11-10 17:29:41 +01:00
mae
2fba3888dc Fix combobox tooltip and lock-button visibility for empty editor views
Reviewed-by: con
2009-11-10 17:13:44 +01:00
kh1
e682eef741 Fix wrong arguments restore.
Reviewed-by: ck
2009-11-10 17:06:37 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Jarek Kobus
4e4adc865a Provide disambiguations for "unknown" string 2009-11-10 16:22:40 +01:00
Roberto Raggi
e5eb88a31f Ported the accept methods. 2009-11-10 16:20:13 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
4fc2ccf0c5 Cleanup ptr operators. 2009-11-10 16:20:13 +01:00
Roberto Raggi
1fb33e9fad Removed deprecated methods. 2009-11-10 16:20:13 +01:00
Roberto Raggi
6aa70ac9e0 Removed member NestedNameSpecifierAST::next 2009-11-10 16:20:12 +01:00