Commit Graph

72811 Commits

Author SHA1 Message Date
Friedemann Kleint
469ee5b40c VCS: Correct timeout values. 2010-01-05 16:42:24 +01:00
Daniel Molkentin
f093025ff3 Make it possible to override the language settings in Creator.
Platform-dependent behavior is not good enough for a lot of
people it seems.

Reviewed-By: con
2010-01-05 16:40:20 +01:00
Friedemann Kleint
40f5d38b91 Git: Introduce diff repository and group actions. 2010-01-05 16:36:27 +01:00
Friedemann Kleint
c55b5b7b31 Git/SVN: Ignore whitespace in annotation/blame (introduce setting).
Defaulting to true.

Task-number: QTCREATORBUG-502
2010-01-05 15:45:41 +01:00
Jarek Kobus
59ecb9cf83 Changing the command's shortcut updates its internal actions.
If the command's shortcut is changed all context actions are updated
accordingly. When the new context action is added its shortcut is
automatically updated (taken from command's shortcut).

Reviewed-by: con
Task-number: QTCREATORBUG-471
2010-01-05 15:24:55 +01:00
Daniel Molkentin
a866725405 Brown paper bag fix for 8929bb27ee. 2010-01-05 14:47:48 +01:00
ck
b3fd927e00 Maemo: Implement deploying via SSH library (instead of scp).
The code is #ifdef'ed out for now, but has been successfully tested.
2010-01-05 12:05:36 +01:00
con
7185e42b25 Merge remote branch 'origin/1.3' 2010-01-05 10:58:06 +01:00
Daniel Molkentin
8929bb27ee Point some tips of the day to the right documentation path.
Fixes: QTCREATORBUG-483
2010-01-04 17:57:37 +01:00
ck
159c4cfebb Maemo: Make SSH connections thread-safe. 2010-01-04 17:44:07 +01:00
Friedemann Kleint
6cf0247bd6 Fix warnings about QFileInfo being instantiated on empty string.
Do not insert currentDocument variable for empty files.
Polish VariableManager, QLatin1String(), const-correctness.

Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2010-01-04 16:50:23 +01:00
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
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
7cd27f2eec debugger: add list of thread ids to TRK session state object 2010-01-04 13:17:38 +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