Commit Graph

72811 Commits

Author SHA1 Message Date
dt
c9c9924555 Fix uninitialized member 2010-06-07 12:03:04 +02:00
dt
cd94591780 Initialize to zero.
Coverity report.
2010-06-07 12:03:04 +02:00
dt
598c82aa66 Remove dead code 2010-06-07 12:03:04 +02:00
dt
b5cc44eea3 Remove dead code
Reviewd-By: danimo
2010-06-07 12:03:04 +02:00
dt
4ad02938c8 Fix crash on session restore
Do the project restore for each project directly after opening and only
then processEvents(). A project might be in a intermediate state between
opening and restoring.
2010-06-07 12:02:28 +02:00
Robert Loehning
b6ee94fb5f Symbian/Trk: Don't try to download a file without respective flag set.
Task-number: QTCREATORBUG-1567
Reviewed-by: Friedemann Kleint
2010-06-07 11:53:18 +02:00
Daniel Molkentin
723754d215 Allow F1 on projects mode
Reviewed-By: Leena Miettinen
Reviewed-By: kh1
2010-06-07 11:22:39 +02:00
Daniel Molkentin
3f715252b6 Fix session dialog help link
Reviewed-By: Leena Miettinen
2010-06-07 11:15:59 +02:00
Daniel Molkentin
e0b2cbe3bf Fix F1 on welcome page
Reviewed-By: kh1
2010-06-07 11:15:59 +02:00
hjk
4ff2881017 debugger: make watch and register items non-draggable 2010-06-07 10:41:15 +02:00
hjk
2bc40006c1 indenter.cpp: code cosmetics, re-indent code 2010-06-07 10:31:16 +02:00
Lasse Holmstedt
6527fd1dfa Fixed disabled checkbox styles for plugin manager
Reviewed-by: jbache
2010-06-07 10:25:39 +02:00
Roberto Raggi
cceaffca5b Keep the Control around for as long needed. 2010-06-04 17:58:29 +02:00
Oswald Buddenhagen
aa61af1493 make the evaluator (even more) thread-safe
the async re-parsing code breaks the assumption that project
parsing only ever starts with a single non-concurrent evaluation
(of the top-level project file), so the population of the base
values in the shared ProFileOption was happily causing crashes.

Reviewed-by: dt
Task-number: QTCREATORBUG-1569
2010-06-04 17:57:04 +02:00
Oswald Buddenhagen
8a07e6a3e1 add "static" 2010-06-04 17:56:47 +02:00
Erik Verbruggen
a56fd7b9f4 Fixed the return type for objc_msg_send expressions. 2010-06-04 15:39:31 +02:00
Daniel Molkentin
c29355ee37 Fix mobile example link
Task-number: QTCREATORBUG-1571
Reviewed-by: Leena Miettinen
2010-06-04 14:49:25 +02:00
mae
530016aa2f Fix cursor positioning for up/down after backspace
Reviewed-by: Roberto Raggi
2010-06-04 13:40:10 +02:00
hjk
e5afb64f49 Un-template-ize SharedTools::Indenter which was only used once.
Reviewed-by: Roberto Raggi
2010-06-04 13:31:00 +02:00
ck
63ef0d3613 Maemo: Adapt qemu path for Harmattan.
Reviewed-by: kh1
2010-06-04 13:14:33 +02:00
Daniel Molkentin
465675d332 Two descriptions in the file new dialog were swapped
No strings translations were harmed in this commit. No kittens either.

Reviewed-by: Alessandro Portale
2010-06-04 12:57:32 +02:00
hjk
fe396a5146 fakevim: fix cursor keys on Mac.
On Mac, QKeyEvent::text() returns non-empty strings for cursor keys. This
breaks some of the logic relying on text() being empty for "special" keys.

This is a quick fix to make it usable.
2010-06-04 12:53:38 +02:00
Erik Verbruggen
424b9724d6 Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df023.
2010-06-04 12:37:26 +02:00
Erik Verbruggen
5f749306f1 Fixed member initialization order. 2010-06-04 11:47:55 +02:00
hjk
0ee6115998 qmljshighlighter: un-templatize setFormats()
This is used excatly once.

ReviewedBy: Kai Koehne
2010-06-04 11:17:55 +02:00
hjk
90bd009835 fakevim: implement {}/[]/<>-block text objects 2010-06-04 11:17:55 +02:00
Erik Verbruggen
d4c9a47460 Fixed uninitialized members by initializing them. 2010-06-04 11:15:39 +02:00
Erik Verbruggen
1ec0c1108e Removed unused member. 2010-06-04 11:15:39 +02:00
Erik Verbruggen
708720605d Suppress false positives generated by some code-checking tools. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
ea2054a945 Fixed uninitialized members. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
66a3bbe3f9 Fixed possible null-pointer deref. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
0877e56d97 Fixed possible unsigned overflow. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
eed0241d97 Fixed a couple of null-checks/-returns. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
10ed2c536e Fixed hidden parameters. 2010-06-04 11:15:38 +02:00
Roberto Raggi
2ede9773bb Introduced token-based operations for QML/JS quick-fixes. 2010-06-04 11:02:33 +02:00
Leandro Melo
31748e7377 Generic highlighter: New option to specify ignored file patterns so the highlight popup does not show up. 2010-06-04 10:14:49 +02:00
Erik Verbruggen
c2393df023 Introduced a token cache for the C++ editor.
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
hjk
419f587518 fakevim: clear opcount and mvcount on escape 2010-06-04 09:07:39 +02:00
Erik Verbruggen
414d9fe3e0 Fixed possible null-pointer crash. 2010-06-03 17:06:18 +02:00
Roberto Raggi
53e775cbde Return valid tokens for the Objc nodes. 2010-06-03 16:38:59 +02:00
Roberto Raggi
21073563a4 Introduced quickfix support for QML/JS files. 2010-06-03 15:52:50 +02:00
Roberto Raggi
bcf50a0a49 Generalized the quickfix collector. 2010-06-03 15:15:11 +02:00
Roberto Raggi
3d81ae8574 Reduced the usage of CppQuickFixOperation. 2010-06-03 14:45:55 +02:00
Roberto Raggi
a40349c09b Reimplemented the C++ quick fix operations using TextEditor::QuickFixOperation. 2010-06-03 14:24:12 +02:00
Roberto Raggi
2bb081c495 Generalized QuickFixOperation. 2010-06-03 14:16:52 +02:00
hjk
3bff717f37 fakevim: use basetext indentation access instead of the cppeditor based one 2010-06-03 13:29:17 +02:00
hjk
f759fd6b65 basetexteditor: make a few functions public for use in fakevim 2010-06-03 13:29:17 +02:00
Leandro Melo
36c79d44e3 Generic highlighter: Fix to correct storage of block states when leading context sequences are nested with persistent contexts.
This situation is represented by case 5 of testPersistentContexts from the highlighter engine unit tests.
2010-06-03 12:29:10 +02:00
Leandro Melo
823064d90a Generic highlighter: Changed interface of the definition and adaptated relevant code. 2010-06-03 12:29:09 +02:00
Lasse Holmstedt
7ba6ad38ad Added more debugging info to rewriterview
Reviewed-by: erikv
2010-06-03 11:40:36 +02:00