Commit Graph

25792 Commits

Author SHA1 Message Date
hjk
776fd73e30 debugger: don't store active languages twice
Change-Id: I6517b42b4cfd0d2d919fa2971c3ea0995443cbf3
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 13:30:51 +02:00
hjk
e481b1ad27 libs/cplusplus: remove unneeded #includes
Change-Id: Iadd8ace8a3870a9b0046dc65bf00d7e702e15b97
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 13:30:23 +02:00
Eike Ziller
a54f9f1c54 Merge remote-tracking branch 'origin/2.6' 2012-08-15 12:11:26 +02:00
Oswald Buddenhagen
b9829ab0a6 fix leaking of raw data in a bunch of new expand functions
Change-Id: Ifa7e481e7d84c50ca52c780f84156e0a5c8d9e98
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-08-15 12:11:17 +02:00
Leena Miettinen
a0c6b3277b Doc: remove obsolete CLI commands
The commands to disable debugger have been removed.

Change-Id: I6a6fea47416e2aae00dbbcf308c5b6a819f6063a
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 11:27:55 +02:00
Leena Miettinen
06fb14ba65 Doc: update screenshot of Target Selection dialog
Change-Id: I9979fdaaae5f91ca3e677f51f42c492257886e9f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-15 11:26:25 +02:00
Christian Stenger
a787391c63 Qt4ProjectBuildConfiguration: Fix QML debug checkbox
Task-number: QTCREATORBUG-7682

Change-Id: Icdd20c48724b09d687095745b8106dec3357a814
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-15 11:03:57 +02:00
Christian Kandeler
036946cb35 Madde: Some Fremantle fixes for bugs introduced in recent refactorings.
- Enable remote mounts in run-only mode.
- Fix state machine of remote mounter.
- Suppress mount-related output for Harmattan projects.
- Do not use the df command's -P option, because Fremantle's busybox
does not understand it.

Change-Id: I8d8c96a67896238eb8a57a4dc3aedacd41ed7ab9
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-15 10:19:08 +02:00
Leena Miettinen
a5b4effb3a Doc: target options
Related changes to tool chains and Qt versions.

Change-Id: I3a1923f8dd84321dd78c969d14c15c52b17d5ae2
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-15 10:11:32 +02:00
Orgad Shaneh
fec5ef3df9 NameDemangler: Fix compilation with MSVC
parsetreenodes.cpp(1464) : error C2899: typename cannot be used outside a template declaration

Change-Id: Ie3235d186b2865a15e57439467e2bab7389dab1d
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 10:11:26 +02:00
Orgad Shaneh
bf9fabe491 Fix warning
MainConnection inherits ErrorLogger, which contains a virtual function

/usr/include/qt4/QtCore/qsharedpointer_impl.h:342:21: warning: deleting object
of polymorphic class type ‘ZeroConf::Internal::MainConnection’ which has
non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

Change-Id: I6e0a698da8f1b7024eae24167078b51e8921a435
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 09:22:32 +02:00
Oswald Buddenhagen
e15f1cee01 make $$relative_path() minimize already relative paths
follow suit with qmake ...

Change-Id: I8346bff6e31dcd32b182dd489b85636da6283e2a
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-08-15 09:19:32 +02:00
Lukas Holecek
e6bb2f644b fakevim: Support for count steps in block selections
Added support for combinations like "2vi)" or "3da{".

Change-Id: I548250faca900b6e5c78f1418cbf3cd4591e7e35
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-15 08:14:21 +02:00
Eike Ziller
c9a89663aa Project target page: Handle overflow and add left/right controls
Change-Id: I00dda35b6d3a3b3fe386968e30213772dc670ff5
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-15 07:45:11 +02:00
Eike Ziller
0a369e9241 Target selector: Increase space and right-elide target name
Change-Id: Ifbcccda579cf3d41c0518283900121f5919d260e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-15 07:44:48 +02:00
hjk
81547c1abc genericprojectmanager: fix recent regression
QList<PkgConfigTool::Package> wasn't created properly anymore.

Change-Id: If08486e25f0071c5692440be09a60c01a875c4cc
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 16:09:23 +02:00
hjk
5d5a483961 genericprojectmanager: code cosmetic
White space, namespaces, include order, comments, literal style,
remove unneded include/declarations etc.

Change-Id: Ifcb4371699c5cde244be1610b67cf81915cad2b2
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 15:43:20 +02:00
hjk
588452663c debugger: adjust documentation to recent revamp of the Debug menu
Change-Id: I323d8c1a357444c4ecd372a09b5875ff8f7b15ff
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-14 14:37:42 +02:00
hjk
d9ee771501 debugger: fix adding of line in start & debug external dialog
Change-Id: I15356cd6be1882540a379961da0efb4d9d64389b
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 14:07:38 +02:00
hjk
98a5fefb9a debugger: simplify the handling of the start script option
Script will be used if and only if there is one given. No extra bool.

Change-Id: I095e01b2243f0fa1f7ba2ce9591e3d67b6de5241
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 14:03:14 +02:00
hjk
d42b9b026a debugger: remove commandline options to disable debugger engines
This was mostly useful in cases where the guessing magic failed.
With the new Profiles, the debugger engines can be adjusted there.

Change-Id: I96622775588bb46c3e4e35af27e352593eb405d1
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 14:01:56 +02:00
Thiago Macieira
a3de38488b Fix compilation: isspace is declared in ctype.h
Change-Id: I7d541919302a2a4e5d3adf2a2ba7996e58778e38
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-08-14 13:37:06 +02:00
Yuchen Deng
f2bf6c9a36 qbs files: Strip binary files for 'gcc/mingw + release'
Change-Id: I62a4afc5dff6323db916bfdd19431aaeb0c9d2a5
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-08-14 13:16:10 +02:00
Yuchen Deng
6a90f42d6f qbs files: Install 'qtcreator.sh' only for linux/macx
Change-Id: I052deda0248e00ada10204a677cf15fa0f7f964d
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-08-14 13:15:24 +02:00
Yuchen Deng
602e5849be qbs files: Fix compilation for cpp.linkerFlags updated
Change-Id: I8d5b9136d349104b3c6d81ad11d120a9afdf3f70
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-08-14 13:15:13 +02:00
Eike Ziller
582a082cd7 Generic Highlighter: Don't crash with bogus #pop directives.
Task-number: QTCREATORBUG-7583

Change-Id: Ie11c0c1d9b900c5d5d92c0e856bae762bb90cb4a
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-08-14 11:49:33 +02:00
hjk
624aada0d9 debugger: polish gdb option page
Add some tooltips, streamline code.

Change-Id: Iaa1091a0456e1e124fbe27fcad44f99c8d3c7f33
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 09:48:05 +02:00
hjk
81d3c35a98 debugger: add "External" to "Start and Debug Application" menu entry
In line with the new documentation.

Change-Id: I06eb97b99bd79b7c7a4ff4ecc67c96cf39650e52
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 09:47:14 +02:00
hjk
63fbe5ffe0 debugger: remove explicit lldb option
It's currently non-functional and if revived in the future it should
blend into the new target based options.

Change-Id: I87988611496c232523acea973160be846d47a3dc
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-14 09:47:06 +02:00
hjk
379e4ed3c7 debugger: Merge "Start and Debug {Local,Remote} Application" dialogs
Change-Id: I81a95b592c480254d84d45e71d95f924944db1eb
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-13 17:19:55 +02:00
Leandro Melo
7e09912736 Gen. highlighter: Fix contexts in continuation blocks
When setting up the current block from a previous WillContinue
one we only use m_contextToContinue for uninitialized blocks.
Otherwise, we use the tracked observable state.

Task-number: QTCREATORBUG-7583

Change-Id: I90f430129b2250402515a552f368f9d17ca73c3b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-13 15:24:19 +02:00
Tobias Hunger
cac2819838 Fix crashes when no default profile is set
* Handle 0 when calling createTarget to avoid the crashes in the first place
* Do not try to create/add targets for 0 profiles to avoid creator writing
  a warning to the console
* Fix possible crashes in debugger when no default profile is set.

Task-number: QTCREATORBUG-7695
Change-Id: I9afc8e29c8b859ad078dad794ef5017168daac78
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-13 14:22:46 +02:00
Tobias Hunger
240e6a8ae5 Fix missing import widget
Show the import widget, even if no targets are defined. This makes it
possible to import existing build directories.

Task-number: QTCREATORBUG-7681
Change-Id: Ib7807fb03f63a42277e16561c26d0d4cffae5099
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-13 14:22:01 +02:00
hjk
319334bbbc debugger: add manual test for multiple breakpoints
Change-Id: I212e119c93e09319eeccd2b480db95ac99c7e0ba
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-13 13:08:33 +02:00
hjk
beb3236b75 debugger: reduce line noise
By using ProjectExplorer, using Utils.

Change-Id: I723c8ffb21bd26153ff2c0c73bf9f6ef7760d8de
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-13 13:05:51 +02:00
Christian Kandeler
26c4329f74 Name demangler: Fix reference collapsing.
Change-Id: I7bcf1ace346ffcb5e05242f6cedfc5439c97fff9
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-08-13 12:30:10 +02:00
Eike Ziller
2dc005cae7 Redesign project mode's target selector
Change-Id: I6df2550505b523e6c416558b5d1ad0d3f206e4f4
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-13 12:14:45 +02:00
hjk
e7fea1aa7a debugger: streamline classical dumper setup
Remote dumpers are not used anymore, there's also no need to
have it in the engine base class anymore.

Change-Id: If0b6930b07e468d5973d848e02696bc5da40a197
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-12 22:43:24 +02:00
hjk
ac9458e664 debugger: move qtInstallPath closer to place where it is used
Change-Id: I6ed602a7cf498d56fa79cef72aebe7742bc50075
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-12 22:42:25 +02:00
hjk
bab670af67 android: code cosmetics
Fix whitespace, capitalization, naming, comments, add 'using'
in .cpp, remove 'using' in .h, remove unneeded Q_UNUSED, add
needed Q_UNUSED, etc.

Change-Id: Ibf9ba57850cbea1e79e152ec0165c8b01fa66567
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-12 22:40:41 +02:00
hjk
d215470bb0 debugger: code cosmetics
Add 'using', braces, line length...

Change-Id: Iefbe081e33301d39f729906d181dcad4f6c8f2a4
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-12 22:37:18 +02:00
Alessandro Portale
15f39adc01 Revert "Fix margin errors in UI file"
This reverts commit 3cdc456f7f1dae4541d84145ba4cb893e46387a3

The removal of QLabel noValidProfileLabel caused the build to break.

Change-Id: I44608e3ad28dd07c69f6f0a9d7f3fb6d7b0f8a6a
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-08-10 18:03:03 +02:00
Tobias Hunger
af63967d29 Fix creator not showing warnings when building with missing tool chains
Change-Id: I1e058a42f2bb0b0df00e403aae5d9cc47e960076
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-10 15:01:25 +02:00
Tobias Hunger
3c5f2aae48 Fix margin errors in UI file
Simplify the whole file a bit while touching it

Change-Id: I72a63b894ce03122d3de4eaa63cfe24e4fb485f1
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-10 14:50:44 +02:00
Konstantin Tokarev
30887c137a Build botan in release mode to save memory.
-O2 -g build of amalgamated Botan library takes unreasonable amount of
memory, especially when Clang is used.

Change-Id: I518e3d6e81984be1c044dc42b3e8208b7a47b155
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-08-09 14:37:09 +02:00
Lukas Holecek
b4ec04e5e6 fakevim: Range mode of a clipboard register depends on its content
If register takes its content from clipboard check it it ends with new
line char ('\n' or '\r'). If it does the text can be pasted only on
a new line. This emulates Vim behaviour.

Change-Id: I70ae8b264ba41c3d84a42b1c91f3c4bdb183efd9
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-09 13:16:05 +02:00
Orgad Shaneh
99aa8007c1 Remove NULL tests for Core::ICore::settings()
It cannot really be NULL

Change-Id: I7231e00754464347dc5750249f751cda7f831930
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-09 13:09:08 +02:00
hjk
7ba9c60f55 localprocesslist: read local ps output synchronously
Change-Id: Ic5f475ff29558c604e662f1440875334c12c2902
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-09 11:23:02 +02:00
hjk
e537aa62d8 debugger: remove dead code
Change-Id: I959be322f030f08f8ec1692751545f3bb5f62aee
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-09 03:49:18 +02:00
Konstantin Tokarev
32ebcb0297 Coding style: there's no Q_STATIC_GLOBAL.
Change-Id: Id263db007896ffd26d9e56df2515cb88f4a7dfa9
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-08 19:31:12 +02:00