Commit Graph

4946 Commits

Author SHA1 Message Date
hjk
7b1c4d65b1 Debugger: Use stricter access test in pointer pretty printer
Change-Id: I34901ece94e9ab1d8ae929fda33ef1ee647d9d75
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-12-12 09:53:38 +01:00
Eike Ziller
541d00453a Merge remote-tracking branch 'origin/3.3'
Conflicts:
	qtcreator.pri
	qtcreator.qbs
	src/plugins/projectexplorer/projectexplorer.cpp
	src/shared/qbs

Change-Id: I6d91042bb48314d00be721099aed19feca74e0ce
2014-12-10 13:20:02 +01:00
Orgad Shaneh
3013c43cd1 Theming: Make focused buttons lighter
They're very hard to discover.

Change-Id: I995913866a8bdab4534da05e96c3713e927e955a
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-12-10 10:26:42 +01:00
hjk
6d6e8de4a0 Debugger: Use Python instead of GDB/MI to retrieve stack
This will be useful to create artificial QML stack frames.

Change-Id: I41cb87f8dea69d88695fea46a1ae2b0270cbec1a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-08 13:04:24 +01:00
jkobus
eb0271c941 Update Polish translations
Change-Id: Ibd2f7f1ccdb2054db20a34c279441d92166ea5ae
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2014-12-05 16:36:36 +01:00
Viktor Ostashevskyi
a46307f625 Ukrainian translation update for 3.3
Change-Id: I9c31c2cccb4908156f61a0dcd070a09849116582
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2014-12-04 07:54:25 +01:00
hjk
d9a527f8ad Debugger: Fix QV4::Value dumper
Only 64 bit for now.

Change-Id: I622ff5ab8632a73901e83f5331dcd2c3ea129d3c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-03 15:57:36 +01:00
hjk
3d4cedb1f0 Debugger: Fix map dumper with LLDB-320.x
The underlying problem here is still that we can deduce
the item type from the map type except by string manipulation
and type lookup. Which fails at times.

Change-Id: Ibe6a8ca1fbd84c43c7d31b65e017792d1b6a1e0b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-03 12:08:08 +01:00
Sergey Belyashov
fd055aa9b8 Update Russian translation
Change-Id: Iec1754c6c01a36ecd2ff04d0c2f15ff0a88c9d36
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-12-02 10:56:10 +01:00
hjk
a4a7a4b25f Debugger: Add command for simpler dumper reloading
... to facilitate shorter round trips in dumper development.

Change-Id: Ie457293fd137528d74008fc11137b47d92f3859d
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-12-02 10:40:10 +01:00
hjk
f9f2a75499 Debugger: Fix QRegion dumper on 32 bit for Qt < 5.4
Change-Id: I2554ae77154d88185120bf661f9e732485d92a28
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-02 10:39:01 +01:00
Eike Ziller
d341c48246 Merge remote-tracking branch 'origin/3.3' 2014-12-01 15:44:30 +01:00
hjk
bf9a3b2020 Debugger: Fix LLDB reference display for LLDB 320.x
There is seemingly still no proper API for that, and
the old hack broke. Use a new one.

Change-Id: I9e638ca1fbd84c43c7d31b65e017792d1b6a1e0b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-28 14:55:03 +01:00
David Schulz
796fdb82cb Editor: Fix highlighting of xml values.
Do not use the hardcoded value in the xml highlighter file.

Task-number: QTCREATORBUG-13538
Change-Id: Ie79f46e2ab31caf01c0ab58097756141691761f0
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-28 07:16:14 +01:00
Marco Bubke
c53a8da3a1 Honor Rule of three (or five) in the class wizard
It is very often a mistake to define a destructor without a copy (and move)
constructor and assignment operator. In C++11 no move constructor and
assignment operator will be generated if a destructor is defined. So it is
better to omit a lonely destructor in out template.

https://en.wikipedia.org/wiki/Rule_of_three_%28C%2B%2B_programming%29

Change-Id: If911556f872d878939f0f2fcaa974494a4df8a8a
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2014-11-27 13:50:35 +01:00
hjk
f395bc9076 Debugger: Fix reference dumping with LLDB-300.x
The old code worked around some issue that is not present
anymore and breaks now by itself. So remove the workaround.

Change-Id: I41a017ced91198bdc4e822cfcc1c45580945a773
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-26 15:11:31 +01:00
Sergey Belyashov
80b5e8b9f0 Update Russian translation
Change-Id: I03664ff7d166638f7c59fa1e54a0df9545339bdf
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2014-11-26 11:24:39 +01:00
Eike Ziller
a47fbb8309 Merge remote-tracking branch 'origin/3.3'
Conflicts:
	src/plugins/coreplugin/coreplugin.cpp
	src/plugins/coreplugin/themesettingswidget.cpp
	src/plugins/qbsprojectmanager/qbsprojectmanager.cpp
	src/plugins/qbsprojectmanager/qbsprojectmanager.h
	src/plugins/qmlprofiler/qml/Overview.js
	src/shared/qbs

Change-Id: Ibe92c166fc5bfbcb4d6964e50ca7298d8459d60e
2014-11-24 15:43:48 +01:00
Tobias Hunger
de34e0e30b FormWizard: Fix newlines being escaped in generated output
Export the form contents as a list of lines and join them when
needed instead of hoping to unescape '\\n' in all places where
it is necessary.

This approach should be a bit saver since it will cause parse
errors in the wizard, which are more visible than broken output
in the generated files.

Task-number: QTCREATORBUG-13456
Change-Id: I434a9227082f92be3c2ce75006f61ac79a2b6fd6
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-11-20 18:11:47 +01:00
Tobias Hunger
5e54037fc6 JsonWizard: Support fixup expandos for lineedits on FieldPages
The fixup expando will be applied before validating a string in a
lineedit. It uses the special "%{INPUT}" variable for its input and
any change will be applied to the LineEdit.

Change-Id: Ia496eacdbe541d418acb4a977c274527387896ca
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-11-19 12:33:58 +01:00
Thomas Hartmann
e28fa8406c QmlDesigner.instances: Always use distance field text rendering
This avoids sub pixel antialias artefacts.

We call disableNativeTextRendering() in updateDirtyNodesRecursive(), because
items might be created or change the property after component complete.

Change-Id: Icd9c87b69434a910c9555540ba7bafdc874afc5a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2014-11-19 12:03:08 +01:00
Thomas Hartmann
c6f17699f8 QmlDesigner: Fixing highlighting for UrlChooser
Change-Id: I47a7fc2e92247b1f4a8d81432a4ad020efd87ce9
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2014-11-19 10:47:53 +01:00
hjk
298e2de7df Debugger: Centralize handling of optimized out values with GDB
There were a couple of situation where the is_optimized_out flag
was not used and later produced (caught) exceptions on access,
or where the still availably type was not shown.

Change-Id: I7ad5aa09a19357e50739d9fdf32f7423e30fe011
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-18 16:14:50 +01:00
Sergey Belyashov
f1cef5aa3a Update Russian translation
Change-Id: I68cecfabe8dcfebb7733030a404f75603464d157
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2014-11-17 12:28:07 +01:00
Thomas Hartmann
44e0f91f73 Wizards: Fix form ui wizard
Fix the description and labels.

Task-number: QTCREATORBUG-13227
Change-Id: I81a017ced91198bdc4e822cfcc1c45580945a773
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-11-17 12:19:48 +01:00
hjk
e6020b7067 Debugger: Report stack after frame switching with LLDB
Change-Id: Ibbaa52dc8c0703f3245cac2ca15b942e3006993a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-17 09:45:50 +01:00
Alessandro Portale
c95839df23 Qt Quick App wizards: Use Label instead of Text
Label respects the system palette, while Text does not.

Task-number: QTCREATORBUG-13189
Change-Id: Ife1796cd04216eef909820f85dfdfd9c403ae80f
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
2014-11-17 09:21:18 +01:00
hjk
195400b42e Debugger: Explicitly convert division result to int in dumper
This can cause "TypeError: 'float' object cannot be interpreted as
an integer" otherwise.

Change-Id: Icae026f8f47edb686e22ce417f3bbdf41bbf0bc1
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-15 13:29:51 +01:00
hjk
7066e3348d Debugger: Improve tooltip for out-of-scope items with gdb
Previously, hovering over 'i' when stopped in main()

   int foo() { int i; }
   int main() {}

produced a tooltip without contents, now there is an
item saying "<not accessible>"

Change-Id: Id4de72541f74af93ba65c2a9508cf21e1dcd6569
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-11-14 13:38:07 +01:00
Mitch Curtis
1635e53ea2 Place each statement of default snippets on their own line.
Change-Id: Ia10d41887e6adbb0603a18fbf69bb1ce67eeac73
Task-number: QTCREATORBUG-12253
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-11-14 11:35:33 +01:00
Eike Ziller
2d03b59f53 Merge remote-tracking branch 'origin/3.3'
Change-Id: I0ab4982e229d475b8e3575414b4bebbfea07498d
2014-11-12 12:55:10 +01:00
Daniel Teske
684a037a8e Welcome Screen: Fix scrollbar
The size of the project list should only depend on the size of the items,
not on the size of the parent.

Task-number: QTCREATORBUG-13387
Change-Id: Iad8a32999a277532c2b64a7a889ddaafa40f693b
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-11-12 12:07:33 +01:00
Alessandro Portale
6f91d7772a WelcomeScreen theming: Fix button border color
This change adds an additional color role for the border color of a
pressed button.

Task-number: QTCREATORBUG-13356
Change-Id: Ibdbd330f60063961dbf27dbe2fb90f32089d7b34
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-11-12 09:23:18 +01:00
Tobias Hunger
6a338d73ba JsonWizard: Add .gitignore file to empty qmake projects
Task-number: QTCREATORBUG-3125
Change-Id: I8c6777734224d4f7fff27ce441f75f380460723a
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2014-11-10 16:29:10 +01:00
Orgad Shaneh
685ea30204 Theming: Enable theming info bar
Use same role for info bar and search result widget

Change-Id: Ibe1f226d4ea8edaafb3daa1cc629e23a48322cf2
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-11-10 09:03:37 +01:00
Thorben Kroeger
c725271970 Theming: fix regression in search result bg color
Task-number: QTCREATORBUG-13309
Change-Id: I320f031a49f8ad2ef4eabd80597d8183f172aa78
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-09 14:40:51 +01:00
hjk
1fef3c41b9 Debugger: Fix QRegion dumper for Qt 5.4
The layout has changed in ee324e4ed527.

Change-Id: I4b5f47f6526bf1218fdb79dc625f7482af21012b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-07 13:57:10 +01:00
Thomas Hartmann
0cc3180978 QmlDesigner.PropertyEditor: Use correct scope for enums
Change-Id: I07b1d83071407c19874af936617a395a37a79dd5
Task-number: QTCREATORBUG-13080
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2014-11-07 12:17:54 +01:00
Thomas Hartmann
8a8e21e1bc QmlDesigner.PropertyEditor: Fixing templates
toolTip was renamed to tooltip.

Change-Id: I18fc3cfb3f9ce21a6402ce3adccbb078a297b682
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-11-07 09:39:52 +01:00
Eike Ziller
3f1deee5e1 Merge remote-tracking branch 'origin/3.3' 2014-11-06 12:38:37 +01:00
Thomas Hartmann
ab4edad6ba QmlDesigner.PropertyEditor: Fix ComboBox drop down menu
We need to style the drop down menu.

Change-Id: Ide5845b06336cc6dff08acc7b5814a06ebde6a1b
Task-number: QTCREATORBUG-13336
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2014-11-06 11:37:11 +01:00
Thorben Kroeger
cf45c854e0 Theming: allow to override base style
Change-Id: I48e2d03b83fccf3d6eb4b508bd77912dbdaea1d0
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-06 08:40:57 +01:00
Thorben Kroeger
82bbc6f562 Theming: Allow to apply theme palette globally
Change-Id: I709bd6b6c566e016731af1fb94ddaef6326ef485
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-06 08:40:49 +01:00
Thiago Macieira
c080f68300 Fix linking with the Intel Compiler for OS X
ICC does not understand the -sectcreate option. Since this is really
just a linker option, use -Wl to pass it to the linker. This works with
Clang too.

Change-Id: I3edff1a856ba235a60984c745fc144b4046cad77
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
2014-11-05 19:48:18 +01:00
Thomas Hartmann
71bf6cf03e QmlDesigner: Remove unused qmldir file
This is a leftover from QtQuick 1.

Change-Id: I1540924f11fd3c316b68b7a04eb1786afc6bfec1
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2014-11-05 13:42:03 +01:00
Tobias Hunger
3cc6ca1286 JsonWizard: Rename Kits page to make it consistent with other wizards
Change-Id: Ie3bcd79cf402c0dbed8a6f616c730a7c59a907d2
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-04 11:00:24 +01:00
Tobias Hunger
d2eb042676 JsonWizard: Remove empty lines
Task-number: QTCREATORBUG-13289
Change-Id: I2c8d1fc4e2cfcb940e76a6988d35e80703548668
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 15:38:47 +01:00
Tobias Hunger
86d7a980ff JsonWizard: Replace EmptyProjectWizard with a JsonWizard
Change-Id: Ia199a04b535535722a3b47a9651b16635b019cbf
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:44:24 +01:00
Tobias Hunger
cda0320f5b JsonWizard: Match up files generated by the Cpp Class wizard
Change-Id: I407958b02446e81a449a34519a9eb592723a08a5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:44:08 +01:00
Orgad Shaneh
4336f8874e Dumper: Adapt Token dumper 3.2
Change-Id: If7d6ba7265620edb14d258884b26578c36da2651
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2014-10-31 11:13:26 +01:00