Commit Graph

7538 Commits

Author SHA1 Message Date
Daniel Molkentin
23fc1afe1f Add "Open Terminal here"/"Open Command Prompt here" Actions.
Reviewed-By: Friedemann Kleint
2010-01-04 16:37:18 +01:00
Daniel Molkentin
39e4b11277 Fix GCC warnings. 2010-01-04 15:34:38 +01:00
Daniel Molkentin
9c21224ace Fix reversed logic in EditorManager::openInExternalEditor().
In case the variable char was not in use, %[a-z] would result
in [a-z]%.
2010-01-04 15:30:04 +01:00
Daniel Molkentin
77761b37c3 Make it possible to set the external file browser on unix.
xdg-open is not available everywhere and fails when no DE is running.

Reviewed-By: Oswald Buddenhagen
2010-01-04 15:30:04 +01:00
Erik Verbruggen
4416dda243 Added a name component to the SideBar's saveSettings/restoreSettings to allow for multiple instances in a plug-in. 2010-01-04 14:36:29 +01:00
hjk
46c114e895 debugger: assume valid ref counts are always smaller than 1 million 2010-01-04 14:14:14 +01:00
Oswald Buddenhagen
5fd1e3c454 properly decode messages from gdb
... using fromLocal8Bit instead of fromLatin1.
of course the localized messages pose a "challenge" for the various
workarounds which parse them ...

Task-number: QTCREATORBUG-504
2010-01-04 14:12:28 +01:00
hjk
b0fb396dc9 debugger: don't issue 'name' field twice for watched items 2010-01-04 13:48:44 +01:00
hjk
7cd27f2eec debugger: add list of thread ids to TRK session state object 2010-01-04 13:17:38 +01:00
hjk
7d5ef1fbf0 debugger: add a manual test with a object reference 2010-01-04 13:16:46 +01:00
hjk
9ad447b8a4 debugger: make gdb-6.8-symbianelf work 2010-01-04 13:16:46 +01:00
hjk
3023495c71 debugger: don't keep scrolling to the end if the user manually moved the
cursor
2010-01-04 13:16:45 +01:00
hjk
d29b5cd208 fakevim: make auto-inserted text part of 'last insertion', so it can be repeated 2010-01-04 13:16:45 +01:00
Tobias Hunger
7023b68af4 Add copyright headers to some files.
Reviewed-by: Daniel Molkentin
Reviewed-by: Friedemann Kleint
2010-01-04 11:36:55 +01:00
Tobias Hunger
929045908f Add copyright headers to QML related files.
Reviewed-by: Erik Verbruggen
2010-01-04 11:33:05 +01:00
ck
43869cd416 Maemo: Fix race condition in SSH thread. 2009-12-23 17:36:00 +01:00
ck
b89ea6e88a Maemo: Remove unneeded files. 2009-12-23 17:09:02 +01:00
ck
1470d32ed0 Maemo: Add ssh deployment thread.
Also introduced MaemoSshThread class to factor out common parts
of the runner and the deployer code.
The maemosshrunner files do not contain code anymore and will
be removed soon.
2009-12-23 17:09:02 +01:00
Christian Kamm
f463f3ab07 Quickfix: Use a LookupContext instead of TypeOfExpression to get type.
There's no need to reparse something we already got the AST of.
2009-12-23 14:54:02 +01:00
Christian Kamm
0daf22c7a0 Quickfix: Add a typeOf helper to conveniently get the type of an expr.
Reviewed-by: Erik Verbruggen
2009-12-23 12:56:51 +01:00
ck
77b59b02ac Maemo: Implement sftp file transfer (untested). 2009-12-23 12:33:34 +01:00
ck
19f1df4fe6 Maemo: Split up MaemoSshConnection.
We now have two subclasses for deploying files and
running commands, respectively.
2009-12-23 12:00:20 +01:00
Christian Kamm
b3d3089955 Fix two small bugs in TypePrettyPrinter.
- unsigned* was printed as unsigned
- Type **name was printed as Type**name
2009-12-23 11:38:05 +01:00
ck
a266e638d6 Maemo: Add interface for ssh library (completely #ifdef'ed out for now).
This will replace the current ssh-via-QProcess approach, which
has severe drawbacks.
2009-12-23 10:53:57 +01:00
con
1c1394c1eb Unify the common part for extracting the Qt project target info.
This code was (more or less) duplicated in 4 places.
2009-12-22 15:58:55 +01:00
Christian Kamm
37df3ae5e7 Quickfix: Wrap string literal in QLatin1String(...) 2009-12-22 12:24:06 +01:00
con
76be80427f More documentation for ProgressManager related tasks. 2009-12-21 17:12:39 +01:00
Erik Verbruggen
b6d1b70045 Band-aid for QTCREATORBUG-509. This needs a bit more work from/with
Roberto.
2009-12-21 16:15:51 +01:00
Christian Kamm
f90f9e4879 Find macro uses.
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
Christian Kamm
c3cc7cf4d8 Enhance data stored for macros and macro uses.
In preparation for finding macro uses.

* Macro: add offset and length
* MacroUse: add line
* Document: add convenience functions for finding a macro definition, use
  or undefined use at a given location.

Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
con
031d6c1690 Don't switch to Help mode if help side bar is already visible. 2009-12-21 12:16:22 +01:00
con
6c27faf0fc Remove unused code. 2009-12-21 12:11:15 +01:00
con
1a95f6f205 Implement string based search & replace in multiple files.
This uses the same UI as "Rename Symbol".
Moves the actual rename implementation to a static method in
BaseFileFind and uses it for rename symbol and search & replace.
Moves the signal notification for the code model from VCSManager to
the more general FileManager.
Note that as for rename symbol, there's no undo yet.

Task-number: QTCREATORBUG-73
2009-12-21 11:08:52 +01:00
Erik Verbruggen
f229a7618a Added highlighting for locals in ObjC methods. 2009-12-18 17:26:07 +01:00
Erik Verbruggen
918856cac3 Added method to check if a scope is an ObjCClass scope. 2009-12-18 17:26:07 +01:00
Erik Verbruggen
19beb9c84f Fixed parsing of selector argument expressions. 2009-12-18 17:26:07 +01:00
Erik Verbruggen
6573ec5709 Fixed potential 0 pointer deref. 2009-12-18 17:26:07 +01:00
ck
0639d1745b Clarify the meaning of an empty dependencies view.
When there is only one project in a session, it is now more obvious
that the dependency view is supposed to show other projects from
the session.

Reviewed-by: con
2009-12-18 14:58:24 +01:00
Daniel Molkentin
3cf861a8ce Add windows definitions to make the code model happy.
__stdcall for all compilers (MSVC and MinGW, possibly others may use it)
__w64 is MSVC only, deprecated there, but still used in some places

Reviewed-By: Roberto Raggi
(cherry picked from commit 5832c6b584)
2009-12-18 13:57:32 +01:00
Daniel Molkentin
8b3bbc0875 Creators code model cannot handle MVC extensions. Don't pretend it can.
Fixes some highlight errors in code using the win32 API.

Reviewed-By: Roberto Raggi
(cherry picked from commit 771246a5b5)
2009-12-18 13:57:25 +01:00
Roberto Raggi
0274828b2e Reset the AST 2009-12-18 12:24:29 +01:00
Tobias Hunger
d612c534d5 Actually display output to stderr again
* Forgot to remove one else which made stderr output pass either
   through the OutputParsers or to the output window. I did not notice that
   since on window the error messages go to stdOut... sorry.

Reviewed-by: con
2009-12-18 11:38:17 +01:00
Bea Lam
200a03ed20 Fix QmlInspector to work properly now that QmlProjectManager
no longer uses LocalAppRunConfiguration. QmlInspector now uses
the qmlviewer started by QmlProjectManager instead of starting
its own, and clicking the Start Debug button within a QML
project will switch to QML Inspect mode and start the inspector.
2009-12-18 15:32:36 +10:00
con
6ca55f201f Provide a way for installers to prefill some more Qt parameters. 2009-12-17 18:50:49 +01:00
con
a54205c3a0 Mostly remove the special define for Symbian support.
The only part that is not done if not on Windows (or explicitly
specified) is the adding of the preference pane.
2009-12-17 18:01:41 +01:00
Roberto Raggi
599d4aa355 Fixed line/column position of the tokens after multiline string literals. 2009-12-17 16:06:35 +01:00
Erik Verbruggen
1a3aa6a9ce Changed help file discovery to include all qch files found. 2009-12-17 15:51:42 +01:00
ck
cbe7d1ed9e Maemo: Add link from projects page to options page.
This makes finding the device configuration dialog much easier
for newbies (and saves clicks for everybody).

Reviewed-by: kh1
2009-12-17 13:51:11 +01:00
kh1
5cdf2e5bc5 No need to pass the path for the known_hosts file.
This would have worked fine on Vista and later, but fails on XP because
of spaces in path name. And we don't need it anyway.
2009-12-17 13:48:22 +01:00
Thorbjørn Lindeijer
41a737e6de Fixed enabled state of erase background button in color scheme edit
Remember the read-only state so that it can be taken into account when
changing the enabled state of the erase background button.
2009-12-17 11:50:27 +01:00