Commit Graph

15633 Commits

Author SHA1 Message Date
Leandro Melo
df12df8c89 Fix QML auto completer 2010-12-01 14:33:20 +01:00
Pawel Polanski
bc466562ec If no Symbian device is connected the deployment process will be skipped instead of aborting the whole build. 2010-12-01 14:06:55 +01:00
Pawel Polanski
474fecb69c Extra certificate extensions have been added to the file selection dialog for SymbianOS 2010-12-01 14:06:54 +01:00
Christian Kandeler
21bec0f775 Fix compilation.
Move #include directive along with matching code.

Written-by: con
2010-12-01 13:47:31 +01:00
Friedemann Kleint
e90c89e27d Debugger:[New CDB]: Add casting to SymbolGroupValue for QVariant.
Reorganize simple dumpers to be easily nested, add QVariant
dumper. Introduce enumeration and detection routine for types.
2010-12-01 13:43:29 +01:00
Christian Kandeler
60cd3d1847 Maemo: Call dpkg-buildpackage via mad script.
Task-number: QTCREATORBUG-2708
Reviewed-by: kh1
2010-12-01 13:32:07 +01:00
con
1eb2f2bd94 Could not replace globally with empty string.
Task-number: QTCREATORBUG-2941
2010-12-01 13:25:08 +01:00
con
0662a8009a Handle read only files correctly when saving all modified files
We use the editor manager's way to save modified files now, so the
normal logic for read only files is applied, including the "cancel/save
as/open vcs/make writable" dialog.
Also fixes that it wasn't handled as a "cancel" if the user chooses to
cancel this dialog.

Task-number: QTCREATORBUG-3109
2010-12-01 13:10:46 +01:00
con
be3bb25068 Only show save as button for files that allow it. 2010-12-01 13:10:46 +01:00
con
964236c816 Move some API around and make some IFile based instead of IEditor.
promptReadOnlyFile: EditorManager-->FileManager
fileFilters: EditorManager-->MimeDataBase
saveFile & saveFileAs --> IFile based
2010-12-01 13:10:46 +01:00
con
5b5a33d013 When using splits e.g. the save action was disabled sometimes.
Reviewed-by: mae
2010-12-01 13:10:46 +01:00
con
2e193da3ee Delete dead code. 2010-12-01 13:10:46 +01:00
Christian Kamm
dfedba3074 QmlJS editor: Fix automatic quote insertion.
The new multiline string literals mixed things up.

Task-number: QTCREATORBUG-3244
Reviewed-by: Roberto Raggi
2010-12-01 12:00:56 +01:00
Friedemann Kleint
da308b1f0f Debugger[New CDB]: Fix profile detection warning.
Introduced by 11c7e15acc.

Acked-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2010-12-01 11:58:14 +01:00
hjk
a638b9338e debugger: make '0' the 'invalid' BreakpointId value 2010-12-01 11:52:18 +01:00
hjk
739144ce91 debugger: re-enable breakpoint updates after library loading 2010-12-01 11:43:48 +01:00
hjk
bc53ce72a4 debugger: remove dead code 2010-12-01 11:27:31 +01:00
Christian Kamm
bdb94ad06d Add missing include. 2010-12-01 11:06:25 +01:00
Christian Kamm
c5c4bacda9 C++ indenter: Fix labels.
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
hjk
bb654838cf debugger: fix gdb 7.2's template argument hickup also for more then one arg 2010-12-01 10:12:18 +01:00
Leandro Melo
ea8cb4764b Editors: Move auto-completion code out of the editor
This is basically a continuation of the commits which
refactor code out of the base text editor. For instance,
36fa1de4c6 and
3a684586fa.

Also removed the doXXXX() forwarding methods.
2010-12-01 09:07:15 +01:00
Rhys Weatherley
e117f04fab Show different icons for GLSL variable categories
Attributes, uniforms, varyings, and constants are shown with a
distinguished icon that is different from regular variables.
2010-12-01 15:44:50 +10:00
Rhys Weatherley
ecf4baec66 Better icons for the GLSL code completer 2010-12-01 14:57:14 +10:00
Rhys Weatherley
9af4436875 GLSL array type toString() implementation 2010-12-01 13:19:22 +10:00
Rhys Weatherley
045c7fd513 Fix vec and mat type names in tooltips 2010-12-01 12:52:57 +10:00
Rhys Weatherley
814c9cc62e Replace the "Qt" GLSL variant with "ES_100"
The Qt variant is almost exactly the same as GLSL/ES,
so there is little point having a separate variant code.
2010-12-01 12:30:07 +10:00
Rhys Weatherley
c552e26b2d Recognize all keywords during autocompletion 2010-12-01 11:52:10 +10:00
Rhys Weatherley
16862432e3 Make GLSL highlighter aware of language variant 2010-12-01 11:49:36 +10:00
Rhys Weatherley
85aa32dfca Detect GLSL vs GLSL/ES based on mime type
*.vert and *.frag are now for desktop shaders
*.vsh and *.fsh are now for ES shaders
File/New gives the user the choice which to create
2010-12-01 10:25:23 +10:00
Marco Bubke
1b3016c571 QmlDesigner.NodeInstances: Refactor image send commands 2010-11-30 21:32:52 +01:00
Marco Bubke
66ed5367d2 QmlDesigner.NodeInstances: Add ChildrenChangedCommand
Because the order of the commands can be changed the reparenting was
changed. Now there is a command with the exact order of child items so
it should be much more correct.
2010-11-30 18:23:58 +01:00
Marco Bubke
da077c361a QmlDesigner.Rewriter: Use the QmlJS Parser instead of the QDeclarativeEngine
The QmlJS Parser is checking the source file so we don't need to use the QmlEngine anymore.
2010-11-30 18:23:58 +01:00
Marco Bubke
4c9724fca4 QmlDesigner.NodeInstances: React to removed import 2010-11-30 18:23:58 +01:00
Christian Kandeler
5466766819 Maemo: Only add target deployment for the current toolchain.
Task-number: QTCREATORBUG-3222
2010-11-30 18:10:40 +01:00
Christian Kandeler
cead4f3974 Maemo: Set Qemu environment once instead of at every start.
Reviewed-by: kh1
2010-11-30 18:09:45 +01:00
Christian Kandeler
233081aadb Maemo: Move .pro file scope generation to a dedicated function. 2010-11-30 17:57:23 +01:00
Christian Kandeler
4041a69404 Maemo: Fix Qemu file path once instead of at every start.
Reviewed-by: kh1
2010-11-30 17:57:23 +01:00
hjk
5f5dbc62fd debugger: remove unneeded argument from templateArgument() 2010-11-30 17:30:06 +01:00
Roberto Raggi
1fdfe414c7 Reactivate the argument hints. 2010-11-30 17:22:13 +01:00
hjk
d3290c3231 debugger: replace a few 'template_argument(0)' by the templateArgument wrapper
Makes QSharedPointer & Co. work with gdb 7.2
2010-11-30 17:14:44 +01:00
hjk
f03138aa53 debugger: work around gdb 7.2 bug
python print gdb.parse_and_eval("ob.d_ptr.d.children\").type.template_argument(0)
creates consistent "RuntimeError: No type named myns::QObject." with stock 7.2
2010-11-30 16:52:46 +01:00
con
7c0b1b63d5 Merge remote branch 'origin/2.1' into master 2010-11-30 16:45:15 +01:00
Daniel Molkentin
e0084d9ef0 Show buttons only when more than one tip is available
Task-number: QTCREATORBUG-3160
Reviewed-by: con
2010-11-30 16:43:01 +01:00
Roberto Raggi
5daec0bd0a Show the argument hints only when the cursor is at the right of an open brace. 2010-11-30 16:35:40 +01:00
Roberto Raggi
4771978361 Don't skip gl_* symbols. 2010-11-30 16:28:34 +01:00
Roberto Raggi
f7d4644534 Mark the current argument. 2010-11-30 16:25:03 +01:00
Roberto Raggi
38d642c061 Process constructors. 2010-11-30 16:21:36 +01:00
Roberto Raggi
593626644c Process binary expressions. 2010-11-30 16:10:27 +01:00
Roberto Raggi
cf793418c3 Handle logical xor. 2010-11-30 16:10:27 +01:00
Roberto Raggi
5aacd95966 Handle the long float suffix. 2010-11-30 16:10:27 +01:00