Commit Graph

32962 Commits

Author SHA1 Message Date
Tobias Hunger
d216f61ae1 Git: Remove wrong comment
Change-Id: Iba84d32c807c99b99bceb4b61e5dd45c59f4512a
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-03-23 10:09:38 +00:00
Ulf Hermann
ce04aeb2dc QmlProfiler: Don't hide/show trace view when loading and saving
This was a workaround to compensate for the fact that windows in window
containers don't follow the stacking order and thus the state widget
wasn't shown. With QQuickWidget we don't need to do this anymore.

Change-Id: I2c1e57d891bee6284ef9f033b8747df4b153271b
Task-number: QTCREATORBUG-11833
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-03-23 09:41:55 +00:00
Thorben Kroeger
a4bb572a3b Theming: theme compile output pane
Change-Id: Ic364457884765ea755d0dc6e3e35296d5bd36359
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-23 09:12:49 +00:00
David Schulz
5ffb70ab75 Cdbext: Use max string size for QByteArray dumper.
Change-Id: I19327d45a7a45433b68359d4143e96017f271b4d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-23 08:48:39 +00:00
Thorben Kroeger
0f8b5ef436 FakeVim: fix black hole register
This fixes the following:

In normal mode:
input:  |aaa bbb ccc
keys:   yiw w "_diw P
result: aaa aaa ccc

Change-Id: If66d80660c1bef5be1466883db30a87254065f00
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-23 07:38:00 +00:00
Thorben Kroeger
0023eafc4c FakeVim: fix yank register
The yank register "0 is only used when using y{motion} commands.
This fixes the following:

In normal mode:
input:  |aaa bbb ccc
keys:   yiw w diw "0P
result: aaa aaa ccc

Change-Id: I7fb8a62aed29b753ff8b129b5a8aa5f8e965026e
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-23 07:33:54 +00:00
Thorben Kroeger
4f4de63721 FakeVim: implement C-u in insert mode
In insert mode:
input:  "aaa bbb ccc|"
keys:   C-u
result: ""

Change-Id: I1813369c401aaee1a634c363ca5f4c252062613c
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-23 07:24:36 +00:00
hjk
dba12a1eab Debugger: More interface streamlining
This makes WatchModel practically a WatchHandlerPrivate.

Change-Id: Iaf3435711012af5e233a7dfc0dc0caf9c8c3ab24
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-23 07:13:46 +00:00
Tobias Hunger
fb6d7ce91b Remove some duplicate includes
Change-Id: If7bae084cd34c6fb0fe77f9227d9848517c0e691
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-03-20 14:45:04 +00:00
hjk
4b0731624f Debugger: Inline DebuggerPluginPrivate::{isDockVisible,mainWindow}
Change-Id: I1494d5ed0635768095ff78b61341b2339e885b3f
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-20 13:15:31 +00:00
Orgad Shaneh
d9135665f0 Debugger: Fix removal of expression that ends with whitespace
* Start a debugging session
* Add an evaluated expression "(char*)foo "
* Delete the expression
* Press F10
* It reappears

Change-Id: I5c54ca6ab2f4be6c613880a2747e4aff653d15be
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 11:36:23 +00:00
hjk
59172f9ab4 Debugger: Inline GdbEngine::rebuildWatchModel
... into its only caller, remove duplicated and unused code.

Change-Id: Ibdd84eeda34e4f7b4b307dc619c9f31399d7ec5f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 11:35:05 +00:00
hjk
a1ec5cd096 Debugger: Fix recent crash on ramp down
Change-Id: Iaa9c0b16c3f09b72d7a755a2d66c8ac1bf021283
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 11:27:21 +00:00
hjk
d26a49d43c Debugger: Convert some connections to Qt 5 style
Change-Id: I7f879f373ce460459318302a13fa83814c69310d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 10:44:27 +00:00
Christian Stenger
51ee57aad0 Debugger: Fix compile with MSVC2010
Change-Id: Ic75a4d6d7fc5cfd27f2a42b59b83366bb1822a39
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-20 10:41:49 +00:00
hjk
b3f88df41d Debugger: Remove most remaining occurrences of WatchData
... in WatchHandler and DebuggerEngine interface.
Adjust using code.

Change-Id: I6371f3e96ba46a783e23a5767cdde24a10d3fce7
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-20 08:36:57 +00:00
hjk
b08e5a9bc3 Debugger: Reduce QML engine <-> watch handler interaction
Change-Id: Ia00f0747f40b18e99da2a7824d3e490291ab0b23
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 07:23:20 +00:00
hjk
15f1ca9028 Debugger: Remove some only MI related code
Change-Id: I18d247efe2bcf0815e7867148b62fdecdd9af7be
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 07:23:15 +00:00
hjk
3fd6e9e77c Debugger: Replace uses of one of the depracted WatchHandler members
Change-Id: I1761b75c0c2605e2d3157f318f26da5158cc6395
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-20 07:23:11 +00:00
Eike Ziller
3594d68979 Raise main window when opening output panes with focus request.
Also do that if the output pane doesn't want the focus. The user still
wants to see the output pane even if the main window is not the current
window.

Change-Id: I341543be53082adec4fade4ffa859ca7c74d3dae
Task-number: QTCREATORBUG-13088
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-19 16:17:50 +00:00
Eike Ziller
89e418ef70 Projects mode: Adapt kit selector width to kit names
It now grows at least within a certain range

Task-number: QTCREATORBUG-9566
Change-Id: Ie64a0c0c75ca7ac3a2e709bd27ba66a95b870634
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-19 16:11:10 +00:00
Ulf Hermann
a2a5536822 Fix timeline shaders for OpenGL ES
In OpenGL ES you have to:
* Specify the precision for most values in fragment shaders
* Add a special declaration to use fwidth()
* Make sure both values passed to max() are of the same type
  (this may be the case for some Desktop OpenGL implementations, too)

Repeating the default precision (highp float) in vertex shaders is useless
and might lead to type casting problems, so we drop it.

Without this change, the timeline doesn't work on Windows with ANGLE.

Change-Id: I69a1976eddb6f4dc6dfe5fe9f270839432088cbb
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-03-19 15:24:05 +00:00
Ulf Hermann
bc6893773f Timeline: Use QHash instead of QVector for child render states
The offsets can get very large if you have long traces or zoom in very
closely. We hardly ever need more than a few on each level, so this is
just a waste of memory. Also, use 64bit integers to index them, as we
can get very close to the numerical limit with 32bit ones.

Change-Id: I20db4ea5dd2ea8922fa6552c106194bb4f19a76b
Task-number: QTCREATORBUG-14105
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-03-19 14:10:05 +00:00
Joerg Bornemann
2ae8ae5d87 Utils: add additional search paths to FileInProjectFinder
This can be used e.g. by profilers that need to match some
on-device path to a local path.

Change-Id: I38e572bfbd7848cfb2e8ba9e275b99bb09692fea
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2015-03-19 11:34:13 +00:00
hjk
e44378e942 Debugger: Adjust watcher column size to locals content
Change-Id: Iec6b4478862578397ee2b3953cd06730bd0db121
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-19 08:13:19 +00:00
hjk
e8f8aaa263 Debugger: Fix dumper format choosing with GDB
... and further unify GDB and LLDB code paths.

Change-Id: Id89f3804c53190c4888082891fd3c3c55eceac84
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-19 06:59:01 +00:00
hjk
13d425b972 Debugger: Re-enable watchers after ending a debugger run
In that state one should be able to remove them.

Change-Id: I9c1383decb087971cdc01607c32801f6ac22f99d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-19 06:58:51 +00:00
Alessandro Portale
4514dbfd8c ImageViewer: Add up-to-date mimetypes (and add webp mimetype)
The list of mimetypes was missing new types like tga, dds and webp.
Just ask QImageReader::supportedMimeTypes() for the supported types,
which is also easier to maintain.

Task-number: QTBUG-45061
Change-Id: I80573da868088915b8d746c56374786e5e36903c
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-18 16:07:42 +00:00
Tobias Hunger
510667ec2e Journald: Only emit signals for PIDs running on the current machine
Change-Id: Ie4ea04b3505a5f3a9ba1b32eeb1e74fc28353737
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-03-18 12:45:11 +00:00
Tobias Hunger
b0f3157d25 Debugger: Auto-detect gdb on windows
Task-number: QTCREATORBUG-14157
Change-Id: I3e556a44832fea06f6a57882b0470dcd9c22b0aa
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-03-18 12:41:47 +00:00
Kai Koehne
3bf81efbe7 QML: Remove Apply on Save functionality
The feature has been actually been disabled since commit ac771eb552,
but now it's time to also remove the dead code ...

Fixing the feature and bringing it out of the experimental state
would require quite some effort that apparently nobody is willing
to spend. So it's better to remove it.

The enablers in the qmldebug library, as well as the QmlJSDelta utility
class in qmljs library, are left in though.

Change-Id: Idf98a2f946d0db86bef2f20d2349d6ffedba219c
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-03-18 11:24:41 +00:00
Christian Stenger
6f7e7a8b93 iOS: Fix compile
Change-Id: Iae4696b2d0fff84286f3953d3382f52262d72a6b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-18 09:06:57 +00:00
Eike Ziller
887d8809c9 Binary editor: Support ctrl+(page)up/down
Only scroll without changing the cursor position when pressing ctrl.

Task-number: QTCREATORBUG-11386
Change-Id: I850da6f42696d6b5d9db488562aa56903c4ce970
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-18 08:45:08 +00:00
Eike Ziller
d0835af5f9 ActionManager: Avoid losing shortcuts when actions are unregistered
Since the action for this ID might be unregistered temporarily, and re-
registered under different circumstances.

Change-Id: I6c4ef3ddf814487cc9b63ff979ebb1539cdf7c81
Task-number: QTCREATORBUG-8108
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-18 08:41:38 +00:00
Eike Ziller
5d71986585 ActionManager: Remove fallback path for Qt Creator 3.1 settings
Change-Id: I2fe0c76e0ed30b69da9fdba5d9b9de6b46d647d8
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-18 08:41:28 +00:00
Leena Miettinen
9975fe431a Qbs: write Qbs with an initial capital letter
In the UI and docs.

Change-Id: I193b4599d0c915b2829b12c212718c91cb7f0793
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2015-03-17 15:56:24 +00:00
hjk
9851484b31 Debugger: Remove new watch window timer from public interface
Change-Id: Ic9d3df22d917e5644d6302a6af06aa8eadea8b5a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-17 14:44:08 +00:00
Alessandro Portale
f1ea415581 ProjectExplorer: Don't display alien dir separators on Windows
In case you opened more than one project with the same name, it shows
the full path incl. dir separators in the first-level tabs in the
project mode.

Change-Id: Idbf5dfe6ef0c20eecf3a3473011bb2d9b1794cea
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-17 14:42:38 +00:00
Daniel Teske
71855e6bbc Fix crash with kits that have no toolchain
Change-Id: I3f041b9a7fe60ab5adf4ab3054f53713b78e1ab6
Task-number: QTCREATORBUG-14150
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-03-17 11:34:46 +00:00
Eike Ziller
ddac471a8e Compile output: Do not do scroll wheel zooming
That was the behavior before the fix for QTBUG-30845 (which introduced
scroll wheel zooming for read-only QPlainTextEdit).

Change-Id: I216ed6c827d8dc966af3af67158e9c275c9fa949
Task-number: QTCREATORBUG-11017
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-17 11:27:46 +00:00
Daniel Teske
4dc36974a8 Android: Adding libraries to subdirs projects
Task-number: QTCREATORBUG-11625

Change-Id: I1017546463e819fc05846af74582cb9f5739ff08
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2015-03-17 10:36:27 +00:00
Eike Ziller
d45441926a Macros -> Text Editing Macros
Otherwise people might expect to much from it.

Change-Id: I2023db821dd1f1fc2773c947c29479082cd8c5fc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-03-17 08:22:30 +00:00
Leena Miettinen
7c4bf23b09 BareMetal: use proper product name for ST-LINK Utility
In translatable UI strings.

Change-Id: I0890ce916bdcf4939d008cbcfd7af5044ddb8d9a
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-17 08:21:11 +00:00
Leena Miettinen
ac01185f5e BareMetal: use book-style capitalization for combobox items
Change-Id: Ia2f57eb721cd761ba7c71e58a9b37a3c3fbcc043
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
2015-03-17 08:21:01 +00:00
Alessandro Portale
ec14e8bb0c AndroidManifestWidget: Hide the marks column in source mode
We don't need to set breakpoints and cannot set bookmarks. So,
let's save the space.

Change-Id: I7ff21464f2af104d7a4a7906acfb6c2917c8f7b2
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-16 16:19:22 +00:00
Leena Miettinen
da1c4df7b1 GenericHighlighter: add full stops to end of messages
Start messages with an initial capital letter.

Change-Id: Ie22a5ecffd8a7dc9dc2bb45d9e3a03eb30775744
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-16 15:22:31 +00:00
Daniel Teske
b5869e97e9 Fix crash on FlatModel::added with empty list
Change-Id: I6a5970eb9ccd76e730203c2d95dbd4e4dbb4af8a
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-16 15:18:44 +00:00
Leena Miettinen
2bf6152495 Debugger: fix UI text capitalization and punctuation
Added full stops to ends of messages.
Used book-style capitalization for message box titles.
Wrote "operating system" in lower case.

Change-Id: I8cee1a1c7f4ae55952daa507395845feae203ab9
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-16 15:15:24 +00:00
Leena Miettinen
51513afa61 QMakeProjectManager: add full stop to end of message
Change-Id: Ie7e8ed6ba3f42e357e2443e7c107aa37d2f23d6d
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-16 15:11:33 +00:00
Leena Miettinen
9e2501c3a2 DiffEditor: use sentence style capitalization for labels
Change-Id: I3d8142d934b126bf13cab4729f6ed3f46cadbcea
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-03-16 14:59:58 +00:00