Commit Graph

22748 Commits

Author SHA1 Message Date
Leena Miettinen
17bd9f4d48 Doc: add keyboard shortcuts
Change-Id: I24cf1369e0ae68098413ec54f261f50c11ee4a3c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-01-06 16:27:05 +01:00
Friedemann Kleint
4e2a4bb87c Compile fix in debugger.
Change-Id: Ib0557fe1f2810879350c2de687ab00c261f0365f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-06 14:29:37 +01:00
Oliver Wolff
02d3e3d291 Moved detection of jom location to MingwToolChain
As mingw and perhaps other toolchains using gnu makefiles might want
to use jom as well, it should be possible to obtain jom's location
from somewhere else.

Change-Id: I25ac88b51c84a9d19e5e61a4caa53e1b1a5d5fb9
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-06 13:56:32 +01:00
Jędrzej Nowacki
500a995930 Don't follow symlinks to directories.
Symlinks may create a directory loop, causing QtCreator to hang.

Change-Id: I701811bc2cc6d3c9efd8b51c1b80c7e5b4aa06ea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-01-06 13:41:53 +01:00
David Schulz
fad4599174 added a detailed error description if ptrace is not permitted
Change-Id: I555fddcabdd2311e55907073c15d5627d3283a73
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-06 13:06:59 +01:00
Friedemann Kleint
34933799fa TextEditor: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I8fa683c4f68d6e3d3a3eb95acf2f54f8c56b87b7
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-06 11:41:24 +01:00
Kai Koehne
f85df65594 FakeVim: Fix gcc warning about unused variable
Change-Id: I2d88e568f91416cdc304446ccb9bd0d98a5eb654
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-06 11:24:17 +01:00
Friedemann Kleint
ac54974b32 Utils: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I5cd5607fcd3311915217a1615b948587ef808cfa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-06 09:31:14 +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
Leena Miettinen
5a31b0067d Doc: window managers reserving keyboard shortcuts
Change-Id: I0cae64991be4c9fd1c016c6f8cae4dea66d1e309
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-05 17:04:20 +01:00
Leena Miettinen
dea780fa01 Doc: add example on debugging QML apps
Change-Id: I20a7c6c8302623b764180d474250d9186a0a6a10
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-01-05 16:54:58 +01:00
Leena Miettinen
b7cee1fc2e Doc: script for checking UI text capitalization
The script can also be used to check the capitalization of
headings in Qt docs.

Change-Id: If338d0ee7fd2c764171bf9e70091721d0397e86b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-01-05 16:49:07 +01:00
Fawzi Mohamed
500a0d19d5 Doc:A script to transform sentences to Qt title case
to-title-case.js   contains the javascript function to convert to
                   Qt title case (up style).
to-title-case.html allows one to test the script interactively
                   in a browser.

Change-Id: I3fbd2477a26ae701775a8e5391a13f4f27f9f355
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-01-05 16:09:08 +01:00
Friedemann Kleint
2e122f6cbb CE-SDK: Compile with QT_NO_CAST_FROM_ASCII
- Remove qDebug()-output
- Make const-correct

Change-Id: Ie0f81e5d3bcede38c85880c924116dfc722054cc
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-01-05 14:27:42 +01:00
Friedemann Kleint
f2964ea503 test2tasks.pl: Handle QML tests as well.
- Create mapping for .qml-files.
- Fix check for absolute file names (depending on OS).

Change-Id: Ie847c283d2f37adef079b6de99606f2698dfe476
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-05 14:21:05 +01:00
Christian Stenger
d2c9e3f40e Squish: Fix tests on Mac
Change-Id: Ibedf2bb581a5b0deb7c8e95ec792630e429f1570
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-05 14:06:57 +01:00
Christian Stenger
4e0421ed15 Squish: Add hovering test
Change-Id: I78a8e855a3b276c1549b57002ced88af3245ccdd
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-05 12:23:54 +01:00
Leena Miettinen
5c56953a66 Doc: pasting from clipboard history
Change-Id: I5706af2183b153f448b1e3c6c06f3150e7d726c1
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-05 08:54:10 +01:00
Leena Miettinen
5437ff6ce5 Doc: add, update, and remove keyboard shortcuts
Document filtering shortcuts

Change-Id: I2bc2beb0f9bf83bbf9d688189ab7f89078575c2c
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 15:48:23 +01:00
Kai Koehne
090d643883 Remote Process Dialog: Update buttons if sysroot changes
Make sure 'Attach to Selected Process' is enabled again e.g. if first attaching
fails because of a missing sysroot, and the user then sets the sysroot.

Change-Id: I1aa949bfe0aa41186a76e7f683dd29070a6b63d4
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 15:46:58 +01:00
Leena Miettinen
6c3baa2620 Doc: image viewer
Change-Id: I18e1d269a4dd160f8c1a11a4e18efcc0629912d3
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 15:46:25 +01:00
Leena Miettinen
5da6cc66f6 UI text: fix capitalization
Change-Id: Ib16176353cf16c6574050851344bbc7ef45f9342
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 14:01:10 +01:00
Nicolas Arnaud-Cormos
54a491f9a7 Fix local data path on Linux.
Change-Id: I1996e1035448a8f7ff7d29d1c57973c85fd52344
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 12:37:33 +01:00
Kai Koehne
dcd8bb2181 Analyzer: Remove unused variable
Change-Id: I13ec1838110a3c8b64f07e141e522d64132eb002
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 11:50:21 +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
Leena Miettinen
efe4a4036e UI text: fix capitalization of textactionhandler commands
Replace 'circular clipboard' (technical) with more easily
understandable 'clipboard history'.

Change-Id: I9875bfb3d46677324e30198294909ea0d91bc48a
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-01-03 13:25:29 +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
Leena Miettinen
ad12c39206 UI text: fix capitalization
Change-Id: I415abccffdcd1bccfe7270003caa95232706ba16
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-01-02 16:56:32 +01:00
hjk
c9c9937b58 fakevim: fix cursor column after up/down in replace mode
Change-Id: I1a7fe47f1a7bf875447e767edee57fcca4b344f3
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-30 23:23:37 +01:00
Nicolas Arnaud-Cormos
9b19a9c8e2 Analyzer: refactor global and project tool settings usage.
IAnalyzerTool has now 2 new virtual methods used to create the global and per-project settings.
No need to create any static factory method and pass a pointer to them to the AnalyzerGlobalSettings
instance anymore.

The Valgrind plugin is now using it, the memchecktool creates the settings for all
valgrind tools.

Change-Id: I3c5845ceb7151130032cfff4ab5b7b36ca2459d9
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-28 18:26:12 +01:00
Nicolas Arnaud-Cormos
4a8432112a Analyzer: create a run control factory for all tools.
Having one factory per tool (or plugin) created some bugs:
 * analyzer project settings being created twice
 * per-project analyzer settings widget duplicated
Also, most of the code from the run control factory were copied.

Now, the Analyzer only creates one run control factory shared among all tools, and the IAnalyzerTool
has two new virtual method: canRun and createStartParameters. It simplify the code a bit, and
creating a new analyzer tool is easier (only two classes to subclass: IAnalyzerTool and IAnalyzerEngine).

Change-Id: I4e180846a26b74b2b77cb99bc97534d680a80a4d
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-28 18:25:56 +01:00
Alessandro Portale
26ae954fae Compile fix with Qt 4.8
Compile error with Qt 4.8 msvc:
error C2039: 'data' : is not a member of 'QStringBuilder'

Change-Id: I7d8f299529852c891378f232082ba48f47cc5da3
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-12-28 15:11:32 +01:00
Aurindam Jana
584ac02a48 Debugging: Context Menu check for Watch Point Capability
Change-Id: I5b8d00c85f3857520757ccfd1a6007a5c2a1c50f
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-28 13:28:55 +01:00
Aurindam Jana
720eb1df9e Debugger: Reset Location Mark
Call resetLocation() before setLocation().

Change-Id: I633d513ddc9a5a1683e81f7cabf127e79885ad4e
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-28 13:27:48 +01:00
Nicolas Arnaud-Cormos
1571b7f977 Analyzer: no need to pass a start mode when it's implicit in the name.
startRemoteTool and startLocalTool are implcicitely working remotely and localy, they don't need a mode.

Change-Id: I433ca421f68a1026979489c7f9d86b12251ec830
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-28 12:06:39 +01:00
hjk
29eff52529 fakevim: rework undo/redo cursor positioning
Change-Id: I1daa788377295fb1446f31d9a74b9fd0df6920d1
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-27 17:40:58 +01:00
hjk
c137cd9b5a fakevim: implement ctrl-a and ctrl-x
Change-Id: If1f13b9e9cf806cff254aedc6dab9e669105f3d6
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-27 14:56:01 +01:00
Daniel Molkentin
fd1062be8a Add script that can check builds for completeness.
It checks against os-dependent lists which will be submitted
in follow-up commits.

Change-Id: Ieb40b19dbd85c30b28062b46320a6ee60ba672af
Reviewed-by: Bill King <bill.king@nokia.com>
2011-12-27 13:20:48 +01:00
hjk
29223bc117 fakevim: more vim-ish cursor positioning after undo/redo
Change-Id: Ie689a719b023ed1e3756470bd144e22b1099bb07
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-26 16:42:55 +01:00
hjk
4443532d14 fakevim: record position before first keystroke as jump target
Change-Id: I52942a46bcd42eee4f8452a61a899d6d9b706563
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-26 16:42:19 +01:00
Joerg Bornemann
a7b5a7a4ad fix annoying debug output of the Windows CE toolchain
Change-Id: I60fc2b5ec959bfdabcae2e517a8a511323e51103
Reviewed-by: Bill King <bill.king@nokia.com>
2011-12-23 13:00:26 +01:00
Tobias Hunger
a9242d7c01 Tasklist: Backslash escapes in descriptions
Handle backslash escapes in descriptions only. This unbreaks
windows pathes.

Change-Id: Id7314d2eb0eff85ace70f1bc3e542ad54ff12210
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-12-22 16:53:55 +01:00
Friedemann Kleint
2892f13b8c CorePlugin: Compile with QT_NO_CAST_FROM_ASCII.
- Wrap literals in QLatin1String()/QLatin1Char().
- Extract some string constants avoiding repeated
  QString construction.
- Fix repeated invocation of Container.end() in loops.

Change-Id: If737735507aaf82e53063adda53f54c46418f42f
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-12-22 14:47:29 +01:00
Leena Miettinen
0d72da2fd4 Doc: style sheet for Qt Creator help files
Change-Id: Ic030af03851e3c0d856029de807aa239a6e08b47
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2011-12-22 13:55:34 +01:00
Friedemann Kleint
4c54a05f89 test2tasks.pl: Add useful options for submodule testing.
Make it possible to use absolute file names or prefix them for
creating Qt 5 testing summary logs.

Change-Id: I3d4a5fa24a9a7652fb4f8087e4b6e2a6ae6fdfe7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-12-22 11:31:25 +01:00
Christian Kandeler
79db165dcb Revert "Remote Linux: Rework device testing"
This reverts commit 934c067ddf365c6f12b1e4a1e431f27610b32f7d,
because it breaks running remote Linux applications due to 
buggy refactoring of the remote ports gatherer.

Change-Id: I15fd8d4f3e76452a8c5c735316991bd00900444f
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-12-21 21:59:18 +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
Tobias Hunger
34ed3f295b Remote Linux: Rework device testing
Allow for a set of tests to be defined. This simplifies the code for
the individual test to run and allows for a more flexible approach
to device testing.

MaddeDeviceTester is no longer needed due to that.

Change-Id: I77fd2d53246dec2d8c6b584d0c73cc1134d7f47d
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-12-21 15:44:39 +01:00
Friedemann Kleint
a92e38f47f Debugger: Compile with QT_NO_CAST_FROM_ASCII.
(except gdbmi.cpp, name_demangler.cpp). Remove some unneeded
conversions, change some maps to take QByteArray keys.

Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c
Reviewed-by: hjk <qthjk@ovi.com>
2011-12-21 14:07:12 +01:00