Commit Graph

7857 Commits

Author SHA1 Message Date
Thomas Hartmann
83c69fe6e8 QmlDesigner.PropertyEditor: Increase maximum SpinBox size
This fixes glitches for numbers > 9999.

Change-Id: Ib49ff4c3a8da3caaf19b713fa309563349e48501
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-01-22 10:23:31 +01:00
Eike Ziller
3c85058694 Update License
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2015-01-16 12:37:56 +01:00
hjk
d573195b67 Debugger: Improve handling of imported system dumpers
At least for a few cases (std::string, vector, ...) this can succeed.

Change-Id: Idfa4ced4cb20295472d001181a83373acd89883a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-15 11:13:22 +01:00
Eike Ziller
df3176d5e3 Merge remote-tracking branch 'origin/3.3' 2015-01-14 16:06:46 +01:00
Jan Arve Saether
fbef612ede Fix "nmake ts-de" on Windows.
Local filenames should have the "file:///" prefix when passing them on to
the XQuery (if there is no host).

On Linux this worked without the prefix, while on windows QUrl got
confused by the colon (interpreted as the host:port separator).

For Unix filesystems, they will get their third slash from the first
slash in the absolute filename (when appended to the file:// prefix)

Change-Id: I41abed4821f1f253a13cc829eed8cb38e8e77bdc
Task-number: QTBUG-43417
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-01-13 12:51:24 +01:00
Oswald Buddenhagen
10e6c40e16 fix exclusion of qbs from tr()-collection
note that the TR_EXCLUDE is actually not used currently.

Change-Id: Ifc89587029e2c025d1e0253794668a515127a43f
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-09 16:05:49 +01:00
Eike Ziller
b5b47f7df2 Merge remote-tracking branch 'origin/3.3'
Conflicts:
	src/plugins/cppeditor/cppdocumentationcommenthelper.cpp

Change-Id: I2cf25eba1de149765a6c44ad354d606ce9de512d
2015-01-08 10:38:20 +01:00
Orgad Shaneh
ecd9c4c813 Dumper: Fix some more internal dumpers
Change-Id: If17614d1fa451bb93cfe5a6ea06af39986d7ad4d
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-01-08 08:04:23 +01:00
Tasuku Suzuki
9cdede0174 Fix a typo in share/qtcreator/static.pro
Change-Id: Ic5ef242c0cd66a857ab3625ee4f870555d27d415
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-08 04:44:11 +01:00
Robert Loehning
566aaba933 German translation
Change-Id: If9869a5d4e0999a7422a5e876ef4b69202b371e7
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-01-07 13:40:22 +01:00
Thomas Hartmann
bced09cd1f QmlDesigner.PropertyEditor: Fix control for saturation
If the lightness or saturation are 0 then hue is undefined.
If lightness is 0 then saturation is undefined/0.

Nevertheless we should keep the old values in the ui, because
the user should not loose the values in case he increases lightness
or saturation later.

Change-Id: I9fd80f6ca84fa08ef62d9fbb6dd4afce992c3546
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-01-06 14:39:13 +01:00
Orgad Shaneh
8f920be61b Dumper: Fix PPToken dumper
Change-Id: Ia6a062319fdcd84a16e83e8f9c96a440f7e4dec9
Reviewed-by: hjk <hjk121@nokiamail.com>
2015-01-05 08:36:31 +01:00
Robert Loehning
475c065dc8 Removing wrong info from Qt Quick Controls 1.3 template
Intentionally breaking string freeze.

Change-Id: I163e9e1148e46e539b02f8adb4f6c1e3d58da102
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-12-18 16:59:11 +01:00
Oswald Buddenhagen
32b8e71bb7 prune some more qt4 vestiges from project files
Change-Id: Ic71e1b4f10b08274d109c24c7c9de7724b25962b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2014-12-18 16:26:52 +01:00
Eike Ziller
fd6ba0e2a6 OS X: Welcome/QQuickWidget fixes
The rendered text is still ugly, but the fuzzy text is better than the
alternative currently.

Change-Id: Id9e54fb406ee964e0b9b5c40b7a8108b45c15f85
Task-number: QTBUG-42861
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-12-18 15:39:18 +01:00
Eike Ziller
196e0d76e6 Welcome: Fix compilation with QQuickWidget
Use the background color property in the QML code instead of relying on
QQuickView::setColor

Change-Id: I556515a42d9483f88500fa5a5c56ea21f48fa685
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-12-18 15:37:43 +01:00
hjk
3743211e54 Debugger: Rework register handling
Use register names as handle, not their index in the view.
Store the raw real values, not some stringified version
as primary data.  Use subentries to break down bigger
registers into smaller entities. Also remember the
previous value of a register and show it in a tooltip.

Change-Id: I8ae3cc8766a7b211bc7cc827c734e5cf6060825c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-12-18 12:53:46 +01:00
hjk
8815990903 Debugger: Fix std::unordered_* dumpers with GCC 4.9.1
Change-Id: I5d5ed9cfc68af061970b0055b76cb563ca04ee53
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 13:54:37 +01:00
hjk
20396d7809 Debugger: Use Python for GDB stack extraction in native mixed mode
Change-Id: I7ca4a080c9b5e5992f44e5f3d8aa5af7296abe99
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 12:36:41 +01:00
hjk
62d21d123c Debugger: Remove traces of outdated attempt at combined stepping
Has not been usable for a while and will be superseded by
"native" mixed stepping.

Change-Id: I2902a98b7ad4e4b29e389e54fb6488bf711840dd
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 10:53:43 +01:00
hjk
48915c6231 Debugger: Rename variables named 'type' in dumpers
It's confusing in the presence of the global function of that name,
and it's better to distinguish type names and type objects anyway.

Change-Id: I3e0674dbc96a8e2b245ed61fabd2fe7cac5a72e5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 10:27:46 +01:00
hjk
5e19f322cf Debugger: Move listOfLocals to Dumper class
We will need access to more dumper data later.

Change-Id: Id8fe09b192ac7d2ae822a0323cda13c0e2ff81e3
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 10:27:18 +01:00
hjk
48c6decb07 Debugger: Remove some spaces in debug output
Change-Id: I69c4a00d4dfef91aa2727c295246845bef70b4bc
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-12-12 10:14:32 +01:00
hjk
62803ada4d Debugger: Add some convenience helpers for python dumpers
Change-Id: I7fc35ea571895024e9da597d30167e02eda7df47
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-12 10:08:42 +01:00
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