Commit Graph

72811 Commits

Author SHA1 Message Date
Christiaan Janssen
fd6ffd415f QmlDesigner.StatesEditor: addstate box resized 2010-02-08 18:01:16 +01:00
ck
a40a3d84d5 Maemo: Enable compilation unconditionally. 2010-02-08 17:52:56 +01:00
ck
1fa20b3838 Maemo: Removed ifdefs for old ssh approach. 2010-02-08 17:52:56 +01:00
Christiaan Janssen
0f52cd03b0 QmlDesigner.StatesEditor: New design of the states editor 2010-02-08 17:47:14 +01:00
Oswald Buddenhagen
4c9aca0cfc optimization: turn more constants into global statics 2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
1f088a70ba make profile evaluator re-entrant
the last step was moving the statics to a common class which is
initialized at startup.
2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
a4e4c44ac2 re-entrancy: $$list() counter cannot be static 2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
cfa6203e52 BlockCursor was meant to be a Q_MOVABLE_TYPE ... 2010-02-08 17:24:18 +01:00
Thorbjørn Lindeijer
ea0394a8ec Style fixes and small optimizations to guessSpacesForTabs
Save some cycles by not using QTextBlock::text unnecessarily (since only
its length and the character at the block position were used).
2010-02-08 16:59:10 +01:00
Roopesh Chander
e64c255b7e fix crash on files with no indented lines 2010-02-08 16:59:10 +01:00
Roopesh Chander
d330320fc7 make auto-spaces-for-tabs work only if spaces-for-tabs is checked
This is to make it consistent with the rest of the settings ui.
When a checkbox is unchecked, the sub-check box becomes invalid, its
functionality is disabled, but it retains its checked state.
2010-02-08 16:59:10 +01:00
Roopesh Chander
bf2289127f Look both forward and backward for auto-determining spaces vs tabs 2010-02-08 16:59:10 +01:00
Roopesh Chander
9822fb65df cleanWhitespace() checkes whether it has to change indentation or not. handle that. 2010-02-08 16:59:10 +01:00
Roopesh Chander
fde766016a enable auto-determination of spaces/tabs for cleaning whitespace as well 2010-02-08 16:59:10 +01:00
Roopesh Chander
2d9996c703 Pass the current block in all applicable invocations of TabSettings::indentationString()
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
764245eed2 don't go searching backwards for more than a hundred lines of code
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
6fced0e5b0 A little code-beautification won't hurt
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
ea13309b9a Add a checkbox for 'auto-determine spaces or tabs from the previous line'
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
2a58049e6a Ability to auto-determine whether we want spaces instead of tabs or not
Based on the previous (referrable) line

Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
con
7391ba388c Fix navigation history issues.
Separating navigation history logic from updating of highlights.
2010-02-08 16:55:07 +01:00
Marco Bubke
f133d0ac8c Improve undo/redo for move by cursor key 2010-02-08 16:51:23 +01:00
Marco Bubke
0a62a383bd Improve Copy and Paste in Bauhaus
Now the items are pasted to the parent of selected node. It is too
selected after the paste.

Reviewed-by: Kai Koehne
2010-02-08 16:01:00 +01:00
Marco Bubke
e5e3c24ed4 Change formeditor bounding rect painting 2010-02-08 16:01:00 +01:00
Erik Verbruggen
285cc418b9 Put the re-indenting into the active undo-group. 2010-02-08 15:43:42 +01:00
Erik Verbruggen
1af05166d9 Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. 2010-02-08 15:41:18 +01:00
hjk
bd1b9e6ccb debugger: cache target read-only memory in the trkadapter 2010-02-08 14:57:14 +01:00
hjk
f6d4680ffe fakevim: make ':r' undoable and behave more vim-ish 2010-02-08 14:56:52 +01:00
Erik Verbruggen
e500075b1c Added missing include file. 2010-02-08 14:48:56 +01:00
Erik Verbruggen
fcb91a7031 Fixes to get the QML designer to compile against qt-qml. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
a6b1fb94e6 Moved Creator specific code to a subclas. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
09cae866e5 Synced changes with Qt. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
c453212542 Added indenting of dirty areas. 2010-02-08 14:29:42 +01:00
Friedemann Kleint
3efdb87682 S60/Trk: Make the port a property of TrkDevice.
Associate the port with the device instead of passing it to open
for better handling.
2010-02-08 14:10:51 +01:00
Friedemann Kleint
a6037c3850 Debugger: Compile on Windows. 2010-02-08 14:06:00 +01:00
Oswald Buddenhagen
4c8a29357a fix maemo build with QT_USE_FAST_CONCATENATION 2010-02-08 13:37:53 +01:00
hjk
787787edee fakevim: fix shift left in visual mode 2010-02-08 13:31:59 +01:00
hjk
eb60cf1d58 debugger: fix dumper loading on mac 2010-02-08 13:08:52 +01:00
hjk
0bde89eee3 debugger: use the direct access withing trkadapter to list threads 2010-02-08 13:02:25 +01:00
hjk
f0314d0f66 debugger: add runToLine and jumpToLine actions to editor context menu in debug mode 2010-02-08 13:02:25 +01:00
Oswald Buddenhagen
d4ac9c9f8e re-enable QT_USE_FAST_CONCATENATION
includes workaround for breakage with old g++
2010-02-08 13:00:57 +01:00
Robert Loehning
e5c80fba6b Revert "Fixed updating of actions when closing last editor."
This reverts commit a05ba6fd17.

Fixed the actions but broke handling of Esc-key and navigating to line numbers in locator bar.
2010-02-08 12:19:47 +01:00
ck
158fe4728f Maemo: Missed some const_casts the last time. 2010-02-08 11:45:50 +01:00
ck
50f5f91b70 Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-02-08 11:44:43 +01:00
Kai Koehne
6c4b9ba227 Reapply unconnected changes from reverted commit
Only revert stuff that is linked to fast string concat.
2010-02-08 11:13:55 +01:00
ck
1f5bc3c0bd Maemo: Get rid of const_casts.
Reviewed-by: kh1
2010-02-08 11:04:22 +01:00
Kai Koehne
999c73ad9d Revert "compile everything with QT_USE_FAST_CONCATENATION"
This reverts commit e70530c5ad. It
did break builds on older gcc versions (gcc 4.1.2 64 bit Linux,
gcc 4.0.1 on Mac OS X):

parser/qmljsgrammar_p.h: In static member function ???static int
QmlJSGrammar::nt_action(int, int)???:
parser/qmljsgrammar_p.h:188: error: ???QmlJSGrammar::<anonymous enum>???
is/uses anonymous type
parser/qmljsgrammar_p.h:188: error:   trying to instantiate
???template<class T> struct QConcatenable???
...
2010-02-08 10:56:50 +01:00
Erik Verbruggen
b58cb740e5 Changed ObjC message arguments to have SimpleName for the name part. 2010-02-08 09:34:51 +01:00
Erik Verbruggen
4a652f6eca Put "name" (for states) and "target" (for property changes) properties on top. 2010-02-07 13:10:37 +01:00
Erik Verbruggen
7b913f7fa2 Changed Q_PROPERTY parsing and AST storage. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00