Commit Graph

7538 Commits

Author SHA1 Message Date
Kai Koehne
a29c928e92 Remove outdated submission process, and instead point to Qt website 2010-01-22 13:49:32 +01:00
Erik Verbruggen
ff910fd757 Added "@property" to the outline entries for ObjC properties. 2010-01-22 13:24:06 +01:00
Erik Verbruggen
0874b4a25d Fixed typo in method name. 2010-01-22 13:23:56 +01:00
Erik Verbruggen
58d06f520d Manually reverted parts of d61eb9c893. 2010-01-22 12:53:44 +01:00
Erik Verbruggen
9de8f384ab Removed duplicate null check. 2010-01-22 11:35:42 +01:00
Erik Verbruggen
c73bf0041d Fixed macro definitions. 2010-01-22 11:23:23 +01:00
Roberto Raggi
f837d49ca4 Show the function arguments hint. 2010-01-22 10:58:32 +01:00
Roberto Raggi
ba3e68fcbb Try to get the type of the qualified name id under cursor 2010-01-22 10:26:52 +01:00
Erik Verbruggen
4b97bf170a Define __strong and __weak to be empty macros, so we "handle" Apple's GC C extension. 2010-01-22 10:04:01 +01:00
Erik Verbruggen
007d76aada Fixed bug in ObjC class field parsing which could result in an invalid pointer in the AST. 2010-01-22 09:54:00 +01:00
Erik Verbruggen
800f4babc6 Removed unused method. 2010-01-22 09:54:00 +01:00
Erik Verbruggen
9ea5264edd When running on MacOS, undefine __BLOCKS__ in the preprocessor flags of the C++ parser.
We don't support blocks yet, and this way we get rid of quite some
parsing errors (resulting in undefined or wrongly defined types, messing
up the semantic passes).

Reviewed-by: Roberto Raggi
2010-01-22 09:53:59 +01:00
Roberto Raggi
68a8b6a663 Show in the completion box only the visible IDs. 2010-01-22 09:37:44 +01:00
Roberto Raggi
33bc7d7708 Disabled the code completion of QML components. 2010-01-22 09:23:58 +01:00
Daniel Molkentin
56aac18bd8 Extend QSettings workaround to Windows. 2010-01-21 21:28:09 +01:00
Daniel Molkentin
c4d1553da4 Add first version of a new sidebar, including project selector.
The project selector also allows to select targets.
However, this is not yet used, since the necessary
changes are still being stabilized.

Done-with: con
2010-01-21 21:13:10 +01:00
Daniel Molkentin
e3675e9a1e Cleanup 2010-01-21 21:13:10 +01:00
Marco Bubke
93bccb16ff Add WriteLocker to the designer model
In the model should be written once at time. The Locker is there to
detect other cases. Many calls are commented out because this is now the
case.
2010-01-21 20:02:23 +01:00
Marco Bubke
47afcf99ca Split the tool box of form editor in a upper and lower one 2010-01-21 20:02:22 +01:00
Marco Bubke
4e17c0e831 More snapping with anchoring infrastructor 2010-01-21 20:02:22 +01:00
Martin Aumüller
58571da7a4 fakevim: correct cursor handling for ex commands
ex commands might depend on current cursor position and might modifiy
it, thus set the editor's text cursor to fakevim's before initiating the
command and use the editor's text cursor afterwards

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 18:19:58 +01:00
Martin Aumüller
1e46b6232b fakevim: leave shortcut-passing mode after one shortcut has been pressed
this behaviour seems more natural to me, but it has one draw-back: if an
action associated to a shortcut is not enabled, typing that shortcut won't
leave passing mode
2010-01-21 18:10:55 +01:00
Martin Aumüller
fc1780f126 don't allow keys with empty text to reset the currently selected completion item
forwarding keys with empty text() does not restrict the matching items, but
updating the list of possible completions resets the currently selected item to
the first one
2010-01-21 18:10:54 +01:00
kh1
1a1d0e269d Use HighlightAllOccurrences to have highlighting during type and search.
Task-number: QTCREATORBUG-235
2010-01-21 18:10:07 +01:00
hjk
58301f6b10 fakevim: code cosmetics 2010-01-21 17:42:46 +01:00
Martin Aumüller
60f41e9d97 fakevim: fix cursor position and status message for yanking
- cursor position should be the start of the yanked region
- the number of lines yanked should be displayed, even when motion was not linewise

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
6599089c7b fakevim: don't let 'F'/'T' at the start of a document go into an endless loop
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
5e30757db6 fakevim: 'g' command prefix flag has to be cleared after it has been consumed
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
4ef6f9fe01 fakevim: auto test deleting in visual mode
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
639878a38c fakevim: '$' and 'l' in visual mode can select beyond EOL
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
de89f7d599 fakevim: fix test for 'r' and enable previously failing tests
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
9b2465e37f fakevim: fix cursor position after 'r'
expected cursor position is on last character which was replaced

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
978fa5d03d fakevim: fix 'dw' at line-end
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
2df1def883 fakevim: enable auto test which does not fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
2ce3483ba3 fakevim: enable additional tests for 'cj'
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
acdc3a0d9e fakevim: adapted tests for new cursor position
mostly cursor positions have been changed

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
eb413cad00 fakevim: auto test for 'x'
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
0413724e5f fakevim: auto test for 'J' was wrong
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
9302104cbd fakevim: make line counting more vi-like
- apparently one additional empty line is added to the document at its end,
  if the last line ends with \n

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
07f6d29937 fakevim: ensure that cursor is never at EOL
- previously, if the visible vi cursor is on the last character of a line,
  the corresponding QTextCursor might have been positioned before and after
  the character
- code becomes simpler if the QTextCursor is always positioned before the
  vi cursor

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:28 +01:00
Martin Aumüller
7a5891bd2a fakevim: when leaving visual mode, set move type to char or line according to visual mode
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:28 +01:00
Martin Aumüller
5994044b64 fakevim: 'S' should honour indentation settings
fixed by using finishMovement instead of doing all the work

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:28 +01:00
Martin Aumüller
073f14bee8 fakevim: indent when changing text by line ('cj', 'Vc', ...), depending on settings
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:28 +01:00
Martin Aumüller
20f565816b fakevim: simplifiy implementation of 'j', 'k'
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
7b28f644f2 fakevim: fix 'c' with linewise motion
the lines touched by the motion have to be removed completely except for one newline
(whereas 'd' removes them including all newlines)

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
a4f3ade01a fakevim: auto test for 'ck' - enable one additional check which does not fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
de0f5ba023 fakevim: auto test for 'cj' was wrong
undoing still does not work correctly: cursor position is not correctly restored

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
f69b867533 fakevim: fix 'cw' on word-end
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
aeac605000 fakevim: some auto tests involving 'w' don't fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:26 +01:00
Martin Aumüller
d323d7701e fakevim: make 'w' stop on empty lines
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:26 +01:00