Commit Graph

5953 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
aeaaa39225 Use the completion case sensitivity settings also for relevance
Avoids some annoyance for people using case-sensitive completion, when
unrelated completions items would get higher relevance because they
start with the typed string when matched case-insensitively.

In case-insensitive mode, a case-sensitive prefix match now does get a
higher relevance than a case-insensitive match.

Reviewed-by: con
2010-01-07 15:42:08 +01:00
Tobias Hunger
f5a893bc5a Add copyright headers.
* Make sure all non-empty source files found below ./src have
   a copyright header.

Reviewed-by: con
2010-01-07 14:33:28 +01:00
Thorbjørn Lindeijer
fdbdf50ce4 Fixed warnings about absolutePath on empty filename in git plugin
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2010-01-07 08:58:01 +01:00
Friedemann Kleint
cce26703ae 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-07 08:35:32 +01:00
hjk
3dde364a38 compile fix with namespaces 2010-01-06 17:13:38 +01:00
con
ea2101950f debugger: move watchdog timeout initialization to a place where it actually can access the stored settings.
(cherry picked from commit de23834fc9)

Conflicts:

	src/plugins/debugger/gdb/gdbengine.cpp
2010-01-06 15:57:11 +01:00
hjk
e80e5e5580 debugger: fix thinko in time out computation
(cherry picked from commit 33bdf42953)
2010-01-06 15:57:11 +01:00
con
db68ca5b8d debugger: gracefully handle commands that might not produce output
(cherry picked from commit 1324a1c600)

Conflicts:

	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/debugger/gdb/gdbengine.h
2010-01-06 15:57:10 +01:00
con
0de840cb43 debugger: make watchdog timeout configurable
(cherry picked from commit bf077800b8)

Conflicts:

	src/plugins/debugger/debuggerplugin.cpp
	src/plugins/debugger/gdb/gdboptionspage.ui
2010-01-06 15:57:10 +01:00
hjk
ca637fdc33 debugger: make use of full source file list optional
(cherry picked from commit 8c52f5720c)
2010-01-06 15:57:10 +01:00
con
769c51504c debugger: handle large quint64 values 'properly'
(cherry picked from commit 02e90fd71d)

Conflicts:

	src/plugins/debugger/watchhandler.cpp
2010-01-06 15:57:10 +01:00
con
1906319940 debugger: make the option to write timestamps to the log persistent
(cherry picked from commit a5c5cfc42e)

Conflicts:

	src/plugins/debugger/debuggerplugin.cpp
2010-01-06 15:57:10 +01:00
Friedemann Kleint
a3fd049ec8 PLain Text Editor: Remove list indentation
As it causes dashed lists to be formatted as
- i1
  - i2
Just do paragraph formatting.

Task-number: QTCREATORBUG-538
Initial-patch-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
(cherry picked from commit 2986ccafd2)
2010-01-06 14:37:39 +01:00
Roberto Raggi
d510aaa029 Fixed problem with nested templates in function declaration completion
Wasn't using a space to separate the closing angular brackets.

Task-number: QTCREATORBUG-547
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-01-06 14:29:51 +01:00
Roberto Raggi
0fdb3bebee Fixed crash when completing symbols without a valid context.
Task-number: QTCREATORBUG-534
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-01-06 12:32:29 +01:00
Jarek Kobus
738a950b75 Load designer translations before instantiating any designer object
In this way all tr calls are done after translations are loaded.

Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@trolltech.com>
Task-number: QTCREATORBUG-470
2010-01-06 11:33:45 +01:00
Daniel Molkentin
7a0313ed9e Brown paper bag fix for 8929bb27ee.
(cherry picked from commit a866725405)
2010-01-06 10:57:49 +01:00
Daniel Molkentin
1644f8ea81 Point some tips of the day to the right documentation path.
Fixes: QTCREATORBUG-483
(cherry picked from commit 8929bb27ee)
2010-01-06 10:57:38 +01:00
con
615d705440 More changes. 2010-01-06 10:57:22 +01:00
con
9786aa4365 Start on a changes file for 1.3.1 2010-01-05 17:16:33 +01:00
con
cf8b5704d0 Remove some old stuff from gitignore. 2010-01-05 10:56:29 +01:00
Sergey Belyashov
ed460e8bcd Updated Russian translation
Merge-request: 90
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2010-01-04 18:59:51 +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
con
031d6c1690 Don't switch to Help mode if help side bar is already visible. 2009-12-21 12:16:22 +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
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
Thorbjørn Lindeijer
777071c944 Revert ""Grayout" the background of the output window on re-run configuration"
This reverts commit cdf2f70c60.

This new feature didn't belong in 1.3. It will remain on master.
2009-12-16 14:33:16 +01:00
Thorbjørn Lindeijer
68c1453bc7 Remove default shortcut from stop action since it conflicts with rename
Both rename symbol and stop running had Ctrl+Shift+R as default
shortcut, making it impossible to do either when an application was
running and the focus was in the text editor.
2009-12-16 12:53:55 +01:00
Friedemann Kleint
ee3dde9cee CDB: Case-normalize file names returned by CDB
Fixing various problems with breakpoints and opened files caused by CDB
returning lower-case file names.
Task-number: QTCREATORBUG-438
Reviewed-by: hjk <qtc-committer@nokia.com>
Acked-by: mariusSO <qt-info@nokia.com>
2009-12-15 11:02:09 +01:00
Friedemann Kleint
119ea80735 Debugger: Ignore case of file name in breakpoint handling on Windows.
Task-number: QTCREATORBUG-438
2009-12-15 10:21:02 +01:00
Friedemann Kleint
397b634aee CDB: Fix messages displayed after stop of Debugger.
Reviewed-by: hjk
Task-number: QTCREATORBUG-399
2009-12-14 14:15:15 +01:00
con
8f586cedcd Couldn't set "/usr/bin/qmake-4.6" or "/Developer/Tools/Qt/qmake" for Qt.
Task-number: QTCREATORBUG-463
Reviewed-by: dt
2009-12-11 17:03:19 +01:00
con
bdde628374 Add some information about supported debugger on Mac OS X. 2009-12-11 16:37:46 +01:00
Jarek Kobus
4f07bb8e2a Update Polish translation 2009-12-11 14:26:00 +01:00
dt
0e29cca4cb Adding files for generic project get the right directory now.
For folder nodes.

Task-number: QTCREATORBUG-374
Reviewed-by: Thorbjorn
2009-12-09 14:45:16 +01:00
Pierre Rossi
cdf2f70c60 "Grayout" the background of the output window on re-run configuration
Maybe we'll need to add an option to toggle that on, or tweak the
blending (50:50 at the moment)

Reviewed-by: dt
2009-12-09 12:58:22 +01:00
Thorbjørn Lindeijer
fdc2463971 Relax the selection requirement for indent/unindent selection
Before, the selection was required to span multiple lines. Now, any
selection will trigger the line indenting functionality of
Tab/Shift+Tab. This should lead to less surprises.

Also, Shift+Tab will now always unindent the current line, even if there
is no selection, since there is nothing else sensible for this shortcut
to do.

Task-number: QTCREATORBUG-414
Reviewed-by: mae
2009-12-08 17:30:27 +01:00
Roberto Raggi
22d75c4c20 Fixed: Template argument marked as "not a type name" when defined as primitive type
Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 13:06:17 +01:00
Roberto Raggi
4bbb9219e9 Fixed completion when a typedef symbol is used as class name
For example std::string, which is a typedef of std::basic_string.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 11:09:11 +01:00
Thorbjørn Lindeijer
9839dea6bc Fixed autoindent when using tabs instead of spaces
Several special cases that are handled by the CPPEditor did not take
into account code that was using tab characters.

Task-number: QTCREATORBUG-292
Reviewed-by: Roberto Raggi
2009-12-08 11:09:11 +01:00
Oswald Buddenhagen
e408159bfe plug memory leak 2009-12-04 21:18:30 +01:00
Oswald Buddenhagen
fc99db0235 make the "make...entering..." regexp accept mingw32-make as well
patch by Robert de Vries
2009-12-04 13:48:20 +01:00
con
3ef326369c Updated supported platforms. 2009-12-03 18:31:25 +01:00
Thorbjørn Lindeijer
67bbce7911 Fixed problem with indentation when auto-indent is turned off
When auto-indent is turned off, Qt Creator uses a simplistic approach of
copying the indentation string from the previous line. This was broken
when the cursor was positioned inside the indentation, since this caused
part of the indentation to go to the next line, which was then prepended
with the copied indentation, in effect increasing the indentation for
each new line.

The solution here was to copy the indentation from the previous block
only after inserting the new block, which causes the indentation of the
previous line to be cut off by exactly the right amount to keep the
indentation constant.

Task-number: QTCREATORBUG-396
Reviewed-by: mae
2009-12-03 16:15:26 +01:00
Christian Kamm
cc6c543a75 Compile fix for 42f849c4da.
Reviewed-by: Roberto Raggi
2009-12-03 16:05:53 +01:00
Thorbjørn Lindeijer
5fa8baf47c Fixed in-place renaming when text is selected
This handles the case with the selection inside the name correctly, and
aborts when part of the selection is outside of the name. Previously, a
selection could cause the text to get inserted backwards.

Task-number: QTCREATORBUG-302
Reviewed-by: Roberto Raggi
2009-12-03 15:57:35 +01:00
Roberto Raggi
42f849c4da Fixed line/column position after macro expansion.
Task-Number: QTCREATORBUG-409
2009-12-03 15:08:39 +01:00
Thorbjørn Lindeijer
5373017abd Fixed inline implemented methods not showing up in the methods filter
Done with Roberto Raggi.

Task-number: QTCREATORBUG-405
2009-12-03 11:34:31 +01:00
mae
bb567ef622 suppress useless warning
(cherry picked from commit 982f97e48a)
2009-12-02 17:58:17 +01:00