Commit Graph

72811 Commits

Author SHA1 Message Date
Roberto Raggi
dfa6be721d Added the helper class MatchingText and use it to automagically insert text for curly braces. 2009-09-17 15:51:15 +02:00
con
97df3b6cca Build fix for Mac OS X. 2009-09-17 15:12:09 +02:00
dt
b7bfe7a7c3 Remove debug output 2009-09-17 14:25:33 +02:00
dt
a809dfde34 Hide the Run QMake command from the context menu for non qt projects. 2009-09-17 14:00:35 +02:00
dt
65648ee17a The project pane rewrite version 2.
This splits up the edit and active settings. Let people try it and
report usability problems. I'm not 100% convinced of the layout either.
2009-09-17 13:59:10 +02:00
dt
f52077bd81 Enable effective qmake command textedit, it's still readonly. 2009-09-17 13:59:09 +02:00
dt
a3aebc7426 Highlight CCFLAGS and INSTALLS and STATECHARTS in .pro files. 2009-09-17 13:58:57 +02:00
Thorbjørn Lindeijer
b5dbcee370 Take the selected end as look ahead
Cause that's the relevant context.
2009-09-17 13:36:57 +02:00
Thorbjørn Lindeijer
0fed004ad4 Fixed the {begin,end}EndBlock to be used when inserting autotext
Based on a change by Denis Dzyubenko, done with mae.
2009-09-17 13:36:57 +02:00
hjk
b765124163 debugger: refactoring
remove DebuggerRunControl from DebuggerManager
use typedef for QSharedPointer<DebuggerStartParameters>
2009-09-17 13:32:20 +02:00
Erik Verbruggen
89b7c6cb8a ifdef cleanup. 2009-09-17 13:03:45 +02:00
hjk
75a003fd02 duieditor: make it compile with and without namespaced Qt 2009-09-17 12:48:11 +02:00
hjk
10a6829aaf debugger: refactorization
merge DebuggerRunControl::m_dumperLibrary{,Location} into StartParameters
2009-09-17 12:48:11 +02:00
mae
554f4fe679 ensure visibility for extra blocks that are auto inserted 2009-09-17 12:47:16 +02:00
mae
061865efa4 move auto parentheses handling into the cpp editor 2009-09-17 12:37:20 +02:00
Roberto Raggi
71c46fbc54 Added BackwardsScanner 2009-09-17 12:29:22 +02:00
Erik Verbruggen
4e21b18827 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-17 12:26:37 +02:00
Erik Verbruggen
e561e4a52c Copied new QML parser files from kinetic-declarativeui (875c342), which
has changes to make these files compile in Creator when Qt is compiled
in a namespace.
2009-09-17 12:20:41 +02:00
Daniel Molkentin
29c073b2a3 The title of SettingsDialog should be "Preferences", not "Options" on OS X.
This conforms to the entry in the menu entry, wich already changes its
name accordingly to comply with the Apple HIG.

Also, adjusted the docs that were missing the change of location in the menu.
2009-09-17 11:45:56 +02:00
Maurice Kalinowski
c9c5df2b84 fix path resolving 2009-09-17 10:56:43 +02:00
hjk
dd7ee74972 debugger: fix omission of reading register 0 in the symbian case 2009-09-17 10:53:44 +02:00
hjk
37c98f89d6 debugger: fix crash in memory view when data arrives after view has been closed 2009-09-17 10:53:44 +02:00
Friedemann Kleint
21d9ede43d Compile Windows 2009-09-17 09:48:56 +02:00
Friedemann Kleint
4bbf4140c9 Move trk stuff to src/shared. 2009-09-17 09:25:12 +02:00
Thorbjørn Lindeijer
c17edee606 Only auto-insert when the text right of the cursor seems unrelated
To avoid bothering people who are trying to type an expression that is
already partly there.
2009-09-16 17:33:34 +02:00
Daniel Molkentin
37d73f321d Be smarter about macros available from cl.exe.
Some macros are defined not by cl.exe purely, but are pretty standard.
We add those manually anyway. Also, remove compiler-specific macro
definitions from the model manager. They should be provided by the tool
chains only.
2009-09-16 17:17:09 +02:00
Thorbjørn Lindeijer
b8b37cb0b5 Fixed the completion to take into account auto parentheses insertion
Also skip semicolons in when auto parentheses insertion is enabled.

Done with mae.
2009-09-16 16:48:14 +02:00
Thorbjørn Lindeijer
9ff527e2aa Check context when removing matching parentheses
Done with mae.
2009-09-16 16:28:32 +02:00
Thorbjørn Lindeijer
66f2e3235e Fixed the context in which automatic parentheses are placed
Done with mae and Roberto Raggi.
2009-09-16 16:27:41 +02:00
Thorbjørn Lindeijer
d11af4511b Fixed brace depth level to allow negative numbers
Done with mae.
2009-09-16 16:16:45 +02:00
mae
a575cb18be implement backspace for auto parentheses mode 2009-09-16 15:40:08 +02:00
mae
9832cff1bb Fix monospace font optimization on Mac OS X. Trouble on the mac
is that monospace is not exactly monospace, there can be a
fractional component.

Thanks to Andreas Kling <info@andreaskling.com> for spotting
this and providing a fix.
2009-09-16 15:40:08 +02:00
Thorbjørn Lindeijer
0e3515130b Fixed spelling of method name 2009-09-16 15:38:30 +02:00
Thorbjørn Lindeijer
19f4466e3c Tweaks to skipping of closing parenthesis and quote characters
Done with mae.
2009-09-16 15:34:26 +02:00
James Linse
b2235b5ca2 Fixed yanking and deleting using marks ma "ay'a
Fixed yanking with e (ye) Fixed ce followed by .
Initial implementation for mark updates (marks should stay on the same line after adding/deleting lines)
Fixed yank with Y
Added fakevim tests for yanking using marks and yanking using Y.
Fixed yanking with marks when a mark was set to a blank line.
Combined yy and Y to use the same yanking method.

Merge-request: 1314
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-09-16 14:16:55 +02:00
hjk
daf4c32f32 debugger: work on trk exit/restart 2009-09-16 14:12:40 +02:00
hjk
33271f0be7 debugger: disable some debug output again; also make more type known as 'simple
integral'
2009-09-16 14:12:40 +02:00
hjk
b96b2a2b3a debugger: add some possible explanation for the need to ask for stacktraces twice 2009-09-16 14:12:40 +02:00
Thorbjørn Lindeijer
14b081f700 Don't insert automatic parenthesis in comments and strings 2009-09-16 13:56:34 +02:00
Thorbjørn Lindeijer
2f50581734 Some indentation fixes in the DuiEditor plugin 2009-09-16 13:56:06 +02:00
mae
2827534c68 tweak auto-insertion of closing braces. It now only happens when you
press enter after an opening brace, but only if there's one extra
brace in the document.
2009-09-16 13:17:37 +02:00
mae
bcad75fbe8 auto complete quote and singlequotes 2009-09-16 12:24:36 +02:00
mae
254d22298b remove debug output 2009-09-16 12:18:46 +02:00
mae
b3d9719d32 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-16 12:13:47 +02:00
mae
cb6f0dfb7a Re-fix output window. Scrolling was messed up when long paragraphs with
line wrap were appended, also appendOutput and appendOutputInline ended
up doing almost the same thing. It might be that appendOutput is called
in some places where appendOutputInline would be more adequate. The code
now tries to called QPlainTextEdit::appendPlainText() whenever it can
because of its update optimizations when it comes to enforcing maximum
block count. We want application output to be processed fast, even if
the maximum block count was reached!
2009-09-16 12:13:15 +02:00
hjk
61eadde63f trk: work around stack trace problems
Asking gdb twice seems to work.
2009-09-16 11:10:59 +02:00
hjk
1066dad5ba trk: reduce message timer interval to 10 ms 2009-09-16 11:10:59 +02:00
hjk
91e60257cd debugger: special handling for Symbian TInt and TBool.
We know they don't have nested contents
2009-09-16 11:10:59 +02:00
Roberto Raggi
2d9da51892 Fixed possible crash in the QtScript parser. 2009-09-16 10:36:53 +02:00
con
9fc41bc8aa Unnecessary signal declaration.
And moc complains about it.
2009-09-16 08:20:14 +02:00