Commit Graph

5173 Commits

Author SHA1 Message Date
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
Thomas Hartmann
cc76f6eadd Wizards: removing feature GENERIC_CPP_ENTRY_POINT
We want finer grained features

Change-Id: Id65d58409a6960aa9d132cb29592b921ee6bcfdf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2012-02-14 13:58:02 +01:00
hjk
759fcca041 debugger: various small fixes for Qt 5 dumpers
Change-Id: I28d483fb3b3957aa1a1772d7f4c497192d730418
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-14 01:58:10 +01:00
Thomas Hartmann
cf32f17777 WelcomePage: proper eliding for project paths
Change-Id: I198e3d16466663a2f714ef44f3d441d1d1395801
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-02-10 17:34:26 +01:00
Bai Jing
bf505a503e fix some Chinese translation problem
Task-number: QTCREATORBUG-6921
Change-Id: I95466d44a2ec6a65940666b221ca885cfb5dda7f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Liang Qi <liang.qi@nokia.com>
2012-02-10 10:43:31 +01:00
Friedemann Kleint
59a02bce13 Update German translation for 2.5.
Change-Id: Iebc581fb62a54ddae0a5e1119bb5f177e6ca21db
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-02-09 12:52:11 +01:00
Thomas Hartmann
95a028e835 Wizards: changes the structure of Wizards
This patch introduces platforms as a top level topic when choosing
a wizard. Also I changed the categories and priorities.

Details:

1. I did change the way the dialog/view is structured in newdialog.cpp

2. I added platformName() and supportsPlatform() to BaseQtVersion.
   I needed two functions because the Simulator does not provide a platform
   and therefore has no platformName but supports two platforms.
   I still have to turn the platform names into proper constants.

3. I changed the categories and priorities to get the layout that was
   discussed. (I had to touch quite alot of files but this is mostly trivial)

4. I added a combobox that allows filtering for platforms.

5. I added flags() to IWizard to indicate that a wizard is platform independent.

Change-Id: I86c7ad628a431ad06505c76580885c6e6c3ddc23
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-02-08 17:42:27 +01:00
Thomas Hartmann
ea23486847 Wizards: adding requirement for Qt Quick 1.0 to extension wizard
The Qml extension wizard requires Qt Quick 1.0

Change-Id: I53bc157fc270fa8f2d2b296eb5c90edb86f57972
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-02-08 16:30:33 +01:00
hjk
ac73963ae1 debugger: add test for pretty printer for std::vector<bool> on x86_64
The problem is not fixed yet.

Task-number: QTCREATORBUG-6919
Change-Id: Ifffe00cf73919863eeb275bd15e916031231d921
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-08 14:32:29 +01:00
Thomas Hartmann
b64d103bfb WelcomePage: adjust scrolling in recent sessions
The avoid cutting of half an item vertically we snap
instead to full items.

Change-Id: Iaeda1e6ef010804a0f1df4b94057eefea4d75830
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-08 13:48:22 +01:00
Thomas Hartmann
d74d03259b WelcomePage: use native Utils::StyledBar instead of border image
The native StyledBar follows the color theme.

Change-Id: I69983439e299376fe116984ca672ea34ecbceb87
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-02-08 13:47:58 +01:00
Thomas Hartmann
6a29d450cb WelcomePage: pixel perfection on Mac
We have to vertical align the text.

Change-Id: I96fa4f410c629d3b7beb4b9a19cbda3e54a63058
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-02-08 10:03:22 +01:00
Thomas Hartmann
b69217940a WelcomePage: adjusting font size and spacing
This patch adjusts the font size and spacing in the delegate
for the examples and tutorials view.

Virva Auvinen (Designer)

Change-Id: Ieec54d02effdfb6d9f3da9f6ad08fe4c3a6ff192
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2012-02-07 17:04:26 +01:00
Thomas Hartmann
e19505b71e WelcomePage: remove semi transparent rectangle in views
Requested by Virva Auvinen (Designer)

Change-Id: Iab7f2d3382a6cadd3f186583d9da51689cd6a0e8
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2012-02-07 17:04:07 +01:00
Bai Jing
bae4a7008f fix chinese translation of some new strings
Change-Id: Iddabe91f2c1c3959f5852b427609e3c49bfca49f
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
2012-02-07 15:17:05 +01:00
Alessandro Portale
051569b998 Mobile app templates: QString::fromLatin1 instead of fromAscii
Task-number: QTCREATORBUG-6879

Change-Id: I0a98df8a7bfd588909886b322e0b87106a4f4c37
Reviewed-by: Denis Mingulov <denis@mingulov.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-02-06 17:39:07 +01:00
hjk
1731911c40 debugger: implement gdb python dumper fuer std::array
Change-Id: I32d353ec332d39fa80fab9780a0b084156842666
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-04 01:02:27 +01:00
hjk
e15912d7fe debugger: implement dumper for std::complex
Change-Id: I75905e26930b02df077f6b62f837855b83b4d8d8
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 20:58:05 +01:00
Joe Hermaszewski
e70ad8150a debugging unique_ptr now casts to the dynamic_type of the object
Change-Id: Ic1c7cd0003945ab919bba969b5c6a985ea7e7f90
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 19:55:19 +01:00
Joe Hermaszewski
130990ffef Added support for std::unique_ptr in the debugging helper
Change-Id: I812234fbcf6a1ed11fc29c11fb6ffe63ca3abffe
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 12:49:10 +01:00
Daniel Molkentin
b44e541dca bugreports.qt.nokia.com -> bugreports.qt-project.org
Change-Id: Ifc258886f7d6e7d5b02caae8994210aeef221554
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-01-26 19:58:08 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
hjk
be4ab29c32 debugger: fix argv dumper
Change-Id: I4162aba467aafc235ccc5145cf77e59d6e9e1924
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-26 18:09:26 +01:00
Morten Johan Sorvig
b0cd54c1ec Replace Q_WS_MAC with Q_OS_MAC.
We want to carry over all mac-specific code paths
to Qt 5. WS_MAC is no longer set; OS_MAC is.

This change is compatible with Qt 4 builds since
OS_MAC is set whenever WS_MAC is. (OS_MAC would
also be set for the theoretical X11/Mac platform,
but that's anyway not a supported configuration
for Creator)

Change-Id: Ib25d8c4e83e7e27d911124cd48aa17fdb875923f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-01-26 11:06:12 +01:00
hjk
4a21f0c3c8 Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-24 18:48:47 +01:00
Kai Koehne
8cd370e163 Debugger: Fix JS debugging on Harmattan PR1.2
So far we assumend that the JSDebugAgent service switches to
the Enabled state after the constructor has run. That's apparently
not true for Harmattan PR1.2 (maybe the app / Qt calls process
events by hand, maybe it was a race condition from the start).

Fix this by checking the status already in the constructor, and
register ourselves as debugger agent if status == Enabled.

Change-Id: Icae189102116c8b572e05ce6c64f14b8f428ed2f
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-24 15:37:13 +01:00
Eike Ziller
8f9861cd09 Merge remote-tracking branch 'origin/2.4'
Conflicts:
	qtcreator.pri
	qtcreator.pro
	src/plugins/qtsupport/debugginghelperbuildtask.h

Change-Id: I6e013efa40ee4d5addcc76d6ff13e7f4fa98cc1d
2012-01-24 11:04:39 +01:00
hjk
918131b6e7 debugger: don't use derived dumpers if already dumping in base
Task-number: QTCREATORBUG-6857
Change-Id: Ie299a98f8e3177d730efb965f31880c6d3dfee54
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 09:57:23 +01:00
Thomas Hartmann
a8890669b0 WelcomePage: layout fixes for the develop page
Change-Id: I5feacf276b4cfb781cda0e737c1f52d0057db298
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-23 13:30:44 +01:00
hjk
c828c363b1 debugger: new dumpers for boost::posix_time::{ptime,time_duration}
Task-number: QTCREATORBUG-6834
Change-Id: I494868dd4e8819284dbc7439cff89ffe07f6a958
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 14:38:05 +01:00
Thomas Hartmann
17a7bd17d0 Wizards: allows filtering of wizards based on Qt version
Every wizard now implements requiredFeatures() to define a feature set.
If the feature set is not satisfied by the available Qt Versions,
the wizard is not shown in the create file/project dialog.

Every Qt version can define the provided feature set in availableFeatures()
defined in BaseQtVersion.

Change-Id: Ie9e2c210d19187b2296451948c36d274f2096623
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-18 15:13:52 +01:00
hjk
dc73498d34 debugger: show value of pointers that can't be dereferenced
Task-number: QTCREATORBUG-6814
Change-Id: If7aa58e007ba17cb7dfb3b5f3ab8950a60bbf064
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-17 13:35:42 +01:00
Thomas Hartmann
18dfe87ec9 Welcomepage: crashfix see QTBUG-23445
In combination with commit
fe068869b9
this seems to fix the issue.

Task-Number: QTCREATORBUG-6803

Change-Id: I845e18ff3abb55468b1afdae9785f74a4b522356
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-17 12:44:27 +01:00
Yuchen Deng
32d139f801 WelcomePage: Fix function parameters
Change-Id: I2dc2891380e1dbe0326abd3965c74cc94baf948f
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2012-01-16 12:12:01 +01:00
Eike Ziller
61082af6af Doc: Location where "local" data is saved (e.g. compiled helpers).
Change-Id: I21ccfd58cbcaae6231b88d3a9039eb413f4be1c2
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-01-13 13:07:53 +01:00
Erik Verbruggen
40810e7596 Changed Q_TYPENAME to typename for Qt5.
Change-Id: Id831fe1268cbd7fcf3c25378876d969752fa2ebd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-13 11:21:39 +01:00
Thomas Hartmann
af290c14e8 WelcomeScreen: layoutfix for different languages
The x offset was hardcoded. Using anchors instead.

Change-Id: Ie033395d7083dad3aa01e2f7367f3834389213f6
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-11 17:38:31 +01:00
Thomas Hartmann
085d0a1956 WelcomePage: fix platform glitch in tab bar
depending on the platform the tab was 1 or 2 pixels of.

Change-Id: I0f6cb3a629c4b5d586f88eefcab7c8de9ac88220
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-11 16:56:20 +01:00
hjk
7986fbd08d cvs: polish style
Change-Id: Ica92448617e46223f99a5009e4a7493b83d4cda9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-11 12:56:14 +01:00
Leandro Melo
cdaa2ddae3 Fix in Czech translation
Shortcut was being interpreted as Shift+O instead of Ctrl+Shift+O.

Task-number: QTCREATORBUG-6747
Change-Id: I7d5fbc24df3af821e5aec5b4009954ebaab074ff
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-10 12:48:22 +01:00
hjk
6ebdf75cd5 debugger: fix displays of pointers to typedef to unsigned char
Change-Id: Id04e3b0b18f129e745f3259c8381810927212306
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-09 10:41:11 +01:00
hjk
a426c41689 Translations: Replace VCS* contexts by Vcs*
Change-Id: Ia8092a2d8005460ab3ee64e7de140aa0eaf772e6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-09 10:40:42 +01:00
hjk
73fdc207ce debugger: make dumper more robust in optimized code
Change-Id: Ia398caf0fd29e6ac77502d870e8c9b615d4f395e
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-06 16:58:38 +01:00
hjk
e70665d321 debugger: workaround gdb 7.1
Change-Id: I14ac857af34218457b237798a09224cd6976d282
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-06 16:56:50 +01:00
Jing Bai
7077fc42b9 Fix some chinese translations.
Task-number: QTCREATORBUG-6751
Task-number: QTCREATORBUG-6727
Change-Id: Ic18b6d89fd71989e3bab6d964940518a6bf9c1fe
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
2012-01-05 17:29:03 +01:00
Pavel Fric
86453b96ad Complete czech translation
Change-Id: Ibe56048f437456ab7620f52a3f54d2e1fbe343dc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-01-03 14:44:40 +01:00
Thomas Hartmann
37c8060132 WelcomeScreen: avoding too much white
This adds a light gray background and some vertical lines.

Task-number: QTCREATORBUG-6701
Change-Id: Icc29fd73890648b493d1eb52ab8281e5afbf7f68
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-03 14:29:12 +01:00
Alessandro Portale
7694cf65a8 WelcomeScreen: updating the getting started screen
New icons and fixing some glitches.
The new icons file sizes were optimized with pngout.

Change-Id: Ia98791260c3fbee776db3db0fb3a449bcc009b20
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2012-01-03 13:16:13 +01:00
Leandro Melo
3b67e5dd37 Merge remote-tracking branch 'origin/2.4'
Conflicts:
	src/plugins/projectexplorer/gcctoolchain.cpp

Change-Id: I516c496175afe94c57b8a1dd978d9c5cccc44610
2011-12-21 17:17:14 +01:00
hjk
2800583e15 debugger: fix breakage with gdb 7.1
Officially we support only 7.2+ nowadays, but 7.1 used to work. This was
broken recently by the "dynamic type" work. With this patch the debugger
behaves as before with 7.1, and shows dynamic types with 7.2+.

Change-Id: Id9e775d19712ea40d7c2a7aa8f9f734174d2446e
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-19 16:26:04 +01:00