Oswald Buddenhagen
45c9cf7a12
add/unify i/o error handling
...
lots of use of Utils::FileSaver and Utils::FileReader
Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
hjk
f576ad9f2c
texteditor: merge ITextEditable into ITextEditor
...
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
2011-02-22 11:23:53 +01:00
Erik Verbruggen
dea74862d3
Fixed the line retreival for find-usages.
...
Instead of using the pre-processed source, the original one is used.
This makes a difference when a macro is used in the line, where the pre-
processed source would have a "#gen true" token.
Task-number: QTCREATORBUG-3345
2011-01-17 14:47:20 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
5f50a6ae34
C++: Move the ModelManagerInterface from CppTools to CPlusPlus.
2011-01-04 15:58:21 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
dt
08ccda5862
EditorManager: Change openEditor/activateEditor to not do mode switching
...
Also introduce a indirection, modes have now types, edit and debug have
the same type, and editors do have a prefered type of modes instead of a
prefered mode.
That fixes the bug that if the prefered qml editing mode was set to
design, then in switching between qml editors would
- in Edit Mode: stay in edit mode
- in Debug Mode: switch to debug mode
2010-09-14 15:23:11 +02:00
Erik Verbruggen
12ac55429c
C++: put dependency table calculation into the future.
...
Task-number: QTCREATORBUG-2300
2010-09-10 14:18:47 +02:00
Roberto Raggi
05f2fd6669
Renamed Symbol::scope() to Symbol::enclosingScope().
2010-08-26 16:16:22 +02:00
Roberto Raggi
354b9712e4
Merged ScopedSymbol and Scope.
2010-08-11 15:25:18 +02:00
Roberto Raggi
0f301f8679
New implementation of CPlusPlus::FindUsages
2010-08-10 15:19:32 +02:00
Roberto Raggi
672274378b
Use the most recent snapshot when searching for the usages of a symbol.
2010-08-05 13:59:09 +02:00
Roberto Raggi
f87236de39
Look at the symbol's visibility.
2010-08-05 13:00:15 +02:00
Roberto Raggi
12ecb527ac
Simplified FindUsages.
2010-08-05 12:49:29 +02:00
con
2bda8675e5
C++ symbols find filter for advanced find.
...
Required refactoring of the search result window to show real trees of
search results.
The backend is the backend from the Locator filter, which is a bit
outdated now.
2010-07-23 16:34:22 +02:00
ck
46f537e56a
Quickfix: Convert underscore notation to camel case.
...
Reviewed-by: Roberto Raggi
2010-07-20 11:07:14 +02:00
con
214e0bf35b
Add a instance() method to the search result window singleton.
2010-07-12 16:17:31 +02:00
Roberto Raggi
7528b2c63a
Compute the dependecy table on demand.
2010-07-06 14:35:23 +02:00
Roberto Raggi
1c078ec2a3
Ensure we keep the context around for as long as it is needed.
2010-05-31 12:37:15 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00
Roberto Raggi
bfaf247abd
Use Searching' instead of Sarching...'.
2010-03-17 14:37:55 +01:00
Erik Verbruggen
284b8d38e2
Put the DependencyTable calculation into the QFuture.
...
Done-with: Roberto Raggi
2010-03-17 14:20:17 +01:00
Erik Verbruggen
1cc5e1fe01
Put the include depenency table into a separate class, and cache it when possible.
2010-03-17 14:20:17 +01:00
Erik Verbruggen
417a1c9f28
Fixed QTCREATORBUG-745.
...
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Christian Kamm
f90f9e4879
Find macro uses.
...
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
con
6c27faf0fc
Remove unused code.
2009-12-21 12:11:15 +01:00
con
1a95f6f205
Implement string based search & replace in multiple files.
...
This uses the same UI as "Rename Symbol".
Moves the actual rename implementation to a static method in
BaseFileFind and uses it for rename symbol and search & replace.
Moves the signal notification for the code model from VCSManager to
the more general FileManager.
Note that as for rename symbol, there's no undo yet.
Task-number: QTCREATORBUG-73
2009-12-21 11:08:52 +01:00
Roberto Raggi
aa8a670669
Hide the implementation details of CppModelManagerInterface::WorkingCopy.
2009-12-15 15:26:40 +01:00
Roberto Raggi
b168eec2a1
Replaced the hardcoded QHash<QString, QString> with CppModelManagerInterface::WorkingCopy.
2009-12-15 15:16:46 +01:00
Roberto Raggi
bdb4e48ebf
Store the working list in a QHash.
2009-12-07 12:47:45 +01:00
Roberto Raggi
0614e19ddc
Rename MyProcess and MyReduce.
2009-12-07 12:47:45 +01:00
Roberto Raggi
14376c3c32
Initial work on the new CPlusPlus::Snapshot.
...
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
de86a1f4f4
Removed unused formal argument.
2009-12-04 13:30:05 +01:00
Roberto Raggi
aae5b92125
Use mappedReduce when searching for the usages of a symbol.
2009-12-04 13:04:47 +01:00
Roberto Raggi
43df685c68
Removed useless arguments
2009-12-03 11:59:37 +01:00
Roberto Raggi
8741494f41
Rename dependsOn() in filesDepedingOn() and introduced Snapshot::dependencyTable().
2009-12-02 17:07:10 +01:00
Roberto Raggi
d5c2dedd8a
Save the usages.
2009-12-02 12:16:41 +01:00
Roberto Raggi
e84de32ad1
Use resultsReadyAt.
2009-12-01 17:07:50 +01:00
Roberto Raggi
fade61a8a9
Use const literals.
2009-12-01 11:46:36 +01:00
con
85b6ee648c
Merge commit 'origin/1.3'
2009-11-30 18:23:13 +01:00
con
5bcff248fb
Some naming adaptions.
2009-11-30 18:22:04 +01:00
con
90c03d3209
Add functionality to show progress for the application in task bar/dock.
...
Move the API to the progress manager.
Added a first Mac implementation, other
platforms are pending.
2009-11-27 17:08:21 +01:00
Friedemann Kleint
d2bd092b47
Code model: Fix Windows issues (duplicate matches).
...
Ensure the code model receives file names with clean paths ('/')
and fix paths in the relevant places of the code model. Pass on clean
paths from Cpp reference find and display them correctly in the search
window tooltip.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-11-09 13:53:28 +01:00
con
9c0ed539cc
Prevent global replace before search is done.
...
Also fix focusing issues of the replace line edit.
Reviewed-by: Roberto Raggi
2009-11-04 18:44:19 +01:00
Roberto Raggi
a7d0fb8014
Set the parent object of CppFindReferences.
2009-11-04 16:16:50 +01:00
Roberto Raggi
7cffef17aa
Paranoia check. Skip the change if we have another change with the same offset.
2009-11-04 12:48:36 +01:00
Friedemann Kleint
43ff8a0fb0
Compile Windows
2009-10-27 12:36:26 +01:00