- Jun 05, 2013
-
-
Eike Ziller authored
This change * Removes IMode::type, ModeManager::activateModeType, and IEditor::preferredModeType, and adds IEditor::isDesignModePreferred instead * Adapts the mode switching code in EditorManager to handle multiple windows, for example switching to edit mode should only happen if the editor/view is in the main window. Otherwise the editor window should be raised and focused * Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor * Reverts the EditorManager::ModeSwitch logic to switch mode or make the current editor visible by default, introducing DoNotMakeVisible flag instead * Fixes a few instances where EditorManager::ModeSwitch should have been used One non-trivial problem left: If you open a .ui file and switch to an external editor window, edit mode is activated, because the current editor no longer is a .ui file, which means that the design mode gets deactivated. Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Jun 03, 2013
-
-
Eike Ziller authored
More sensible place, gotoLine is a method in IEditor anyhow. Change-Id: I420a6bf17060c16e6f1a4f45e0bef89379fb6bf8 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Apr 10, 2013
-
-
Tobias Hunger authored
Rename ModelManagerInterface.(h|cpp) to cppmodelmanagerinterface.(h|cpp). Rename TypeHierarchyBuilder.(h|cpp) to typehierarchybuilder.(h|cpp). Change-Id: I035d833fd205d7460819bd0fb7031294359032f9 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 08, 2013
-
-
Tobias Hunger authored
There were quite a few classes using CPlusPlus namespace in the CppTools plugin. Rename them and do some other small namespace related coding style fixups. Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 03, 2013
-
-
Oswald Buddenhagen authored
... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Feb 01, 2013
-
-
Erik Verbruggen authored
The replace button was not connected. Also made the search restarting slightly more robust. Change-Id: Iad7aea436749c0bda6ec4f58776e73b598a12a23 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Jan 29, 2013
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Jan 08, 2013
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- Dec 14, 2012
-
-
Francois Ferrand authored
When making a case insensitive search, try to keep the string capitalization when doing the replace: - All upper-case matches are replaced with the upper-case new text. - All lower-case matches are replaced with the lower-case new text. - Capitalized matches are replace with the capitalized new text. - Other matches are replaced with the new text as provided. Note: this does not work with regexp replace, only plain text. Change-Id: I87cbc28eb64688bdf3c8c6ec173fcb22f91abcd0 Reviewed-by:
Cristian Tibirna <tibirna@kde.org> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Nov 22, 2012
-
-
Orgad Shaneh authored
Change-Id: I31a6117c2b4be3f8603c16a9f98b6937a0b9aeb2 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- Oct 24, 2012
-
-
Andre Hartmann authored
Change-Id: I959e0aeeec3164fdd997c08b6d4ed4e95a39009f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 17, 2012
-
-
hjk authored
Feels less obfuscated. Change-Id: Ide0ec1f38762038ddbb1eddb4f70f7d6acdf1ff7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 15, 2012
-
-
Erik Verbruggen authored
Change-Id: I05d17e5384bcc75e97c5d901b65a582516a5d321 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Erik Verbruggen authored
Record revisions of documents in macro definitions and usages. Then, when searching for usages, check the revision of the documents against the revision of the macros. If they are out-of-sync, repreprocess the documents to get up-to-date info. Task-number: QTCREATORBUG-7872 Change-Id: I846bb52ec660024728ab117a9fb7e43382a50e63 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Andre Hartmann authored
If the result lines contain non-Latin1 characters (e.g. in comments), the output is garbled. Using QByteArrays with toUtf8() and fromUtf8() doesn't seem to be an alternative, as in this case the macro.offset() is no longer valid. So it seems to be the best to use QString for the result lines. Task-number: QTCREATORBUG-7122 Change-Id: I57128c9c9f3eb182f079e305e97e9c5ac0a1bc61 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 05, 2012
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
raidsan authored
Task-number: QTCREATORBUG-7204 Change-Id: I6ce82c701246ddac9cadcdd22ef994b0086ce8f7 Reviewed-by:
Andre Hartmann <aha_1980@gmx.de> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Sep 13, 2012
-
-
Daniel Teske authored
The commit looks big, but it's mostly trivial. Also any build/run related popups are now "flashes" if the current mode has no placeholder. Task-number: QTCREATORBUG-7875 Change-Id: I3af40557f7af01798f905c0d1829423c80058cb6 Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Jul 19, 2012
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- Jun 06, 2012
-
-
Andre Hartmann authored
Works the same way as Rename Usages for C++ Symbols. For now, no Search Again as this requieres further work. Task-number: QTCREATORBUG-413 Change-Id: I09e85ea1e8c247f5ce0b6bc566aba8018c1569e4 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- Jun 05, 2012
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-6116 Change-Id: I57a66b8989f1cc4137b02df370704dfe43d392ac Reviewed-by:
Robert Löhning <robert.loehning@nokia.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- May 22, 2012
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-6820 Change-Id: Ic14c0ea6f26e4a05c642012b87578f30c817fef7 Reviewed-by:
Robert Löhning <robert.loehning@nokia.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- May 11, 2012
-
-
hjk authored
Less code on the user side, same meaning. Change-Id: I14e54a5d2ed8e024a51cce74eaf7c8419ad544be Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Apr 04, 2012
-
-
Andre Hartmann authored
Add the complete line to the Search Results window, including '#', "define", macro and macro value and all possible white spaces between them. Also covers the case of line continuation in macro definitions from commit 3dec4855. Task-number: QTCREATORBUG-7217 Change-Id: I8b9d0c23d31ef76244833a9b9d67469c5c4a5635 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Mar 29, 2012
-
-
Andre Hartmann authored
Now truncates the displayed line at the first Newline character after the Macro name. Task-number: QTCREATORBUG-7113 Change-Id: Ifb13c01d10b97098b54ac4346a80f0dcff3a35f3 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@nokia.com>
-
- Mar 27, 2012
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-7191 Change-Id: I89889a3580f4a27a912eacb09e893b428c5c5351 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Mar 16, 2012
-
-
Andre Hartmann authored
Only highlight the Macro name, not the whole definition line or the parameter list in function-like Macros. Change-Id: I5732dd5dd18cee150755ea35a5fbb67fdaed51c4 Reviewed-by:
Francois Ferrand <thetypz@gmail.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- Mar 14, 2012
-
-
Erik Verbruggen authored
Change-Id: Iffaa18f848a22f6961b49dff048672b194570df6 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Feb 15, 2012
-
-
Erik Verbruggen authored
Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Feb 09, 2012
-
-
Friedemann Kleint authored
It causes a conflict with the new QtConcurrent library of Qt 5 and is quite small. Change-Id: Ib97ab6daf8f67a88300cf03f044ba3593a4cd270 Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Feb 07, 2012
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-6907 Change-Id: I25c04185beb3729e2d11cc88d17fcd1a3b51037c Reviewed-by:
Tobias Hunger <tobias.hunger@nokia.com>
-
- Jan 26, 2012
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- Jan 24, 2012
-
-
hjk authored
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
Eike Ziller authored
Change-Id: Ia3dc174c64da9194401883a1a989a712cb7aaed8 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Leandro Melo authored
Change-Id: I021074a78d90929b4e83b8aff9db1ae7995e8c6a Reviewed-by:
hjk <qthjk@ovi.com>
-
- Dec 20, 2011
-
-
Eike Ziller authored
Change-Id: I30ec590b86846f8fdcb0094a848e56002d590b7a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Eike Ziller authored
Change-Id: Ic78cf5030e78759018ea84d0c258c81c8081ae98 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
Eike Ziller authored
Theoretically it could now run multiple searches in parallel, but since a single search grabs all available threads from the pool, any search request afterwards is queued for execution when the previous one finished. Task-number: QTCREATORBUG-6101 Change-Id: Ifada0ccdd1ce7cfb4aaaaa4de2db070025f91a3a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- Nov 10, 2011
-
-
hjk authored
Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283 x Change-Id: Iab58bc34bc56371405d132315573b484a533b77c Reviewed-by:
hjk <qthjk@ovi.com>
-