Commit Graph

72811 Commits

Author SHA1 Message Date
mae
abe58a77cc clear navigation history when switching sessions 2009-06-05 15:42:24 +02:00
Roberto Raggi
752dd880e0 Show how to simplify declarations. e.g.
static int i, *ptr = &i;

will be replaced with

static int i;
static int *ptr = &i;

using the editor's context menu > Simplify Declarations
2009-06-05 14:30:18 +02:00
Roberto Raggi
b18cb113da Added Document::source() 2009-06-05 14:29:57 +02:00
Jens Bache-Wiig
8fb4a61509 Fixes: Minor text centering issue
Details:
We should subtract the border edge when calculating the text rect.
2009-06-05 14:16:11 +02:00
Jens Bache-Wiig
d9e98f343c Fixes: Fix red color on error for progressbars 2009-06-05 14:05:24 +02:00
Jens Bache-Wiig
ab487246e9 Fixes: Make selection rect a little darker
Details:
Looked a bit too light in certain themes including mac.
2009-06-05 13:59:53 +02:00
con
722b23189e More fixes for setting focus correctly.
Reviewed-by: dt
2009-06-05 12:50:06 +02:00
Thorbjørn Lindeijer
b3284cc131 Better error reporting when failing to open settings database
Mention the filename and the driver error text (though this last thing
doesn't seem that useful). Also, don't spam with failures afterwards
when the database failed to open.
2009-06-05 12:40:00 +02:00
Roberto Raggi
74031307f1 Removed useless comment. 2009-06-05 12:10:59 +02:00
Roberto Raggi
456d418b24 Introduced iterators for the c++ literals. 2009-06-05 12:09:45 +02:00
dt
8161acac8b Fix crash introduced by actualy freeing memory.
Reviewed-By: con
2009-06-05 11:16:09 +02:00
Roberto Raggi
ad5b9cb005 Copy the base members. 2009-06-05 10:58:40 +02:00
Roberto Raggi
62adaedff9 AST cloning. 2009-06-05 10:47:40 +02:00
Roberto Raggi
0497c535a2 cleanup 2009-06-05 09:44:37 +02:00
Roberto Raggi
b409202b45 Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-05 09:12:16 +02:00
Jens Bache-Wiig
a7e4e0b720 Fixes: Fix progress dialog on mac 2009-06-04 17:58:47 +02:00
Jens Bache-Wiig
d10389b9c5 Increase the delay for folding blocks
Details:
40 ms seems a bit too short. We should at least allow the mouse
cursor to pass undetected. The 10 ms delay seems a bit redundant.
2009-06-04 16:42:09 +02:00
Roberto Raggi
da0e9a58df Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-04 16:18:49 +02:00
Roberto Raggi
f98b937b8c Expand enum and anonymous scoped symbols when resolving qualified name ids.
Reviewed-by: Thorbjørn Lindeijer
2009-06-04 16:17:22 +02:00
hjk
c6db354387 debugger: disable reverse debugging for 1.2 as Gui is unfinished 2009-06-04 16:15:01 +02:00
hjk
5892ea1b1d fakevim: fix problem where previously inserted text became part of a '.' 2009-06-04 16:08:34 +02:00
hjk
37ea6c42a3 debugger: move "start action" to the begin of the menu, also disable Tcf 2009-06-04 16:08:34 +02:00
con
efc546f8d5 Oops. Unused variable. 2009-06-04 15:55:53 +02:00
Jens Bache-Wiig
c521e3bd76 Fixes: Add margin to find toolbar
Details:
This ensures that the Find label text is aligned with the
Application output.
2009-06-04 15:49:09 +02:00
dt
a1990fe5c4 Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline into 1.2 2009-06-04 15:25:45 +02:00
dt
98f8fc78bc Fix static leak to make valgrinding easier.
Reviewed-By: ossi
2009-06-04 15:25:07 +02:00
dt
4a372ee8d9 Fix memory leak in QtVersions parsing of qmake.conf
Reviewed-By: ossi
2009-06-04 15:22:40 +02:00
Jens Bache-Wiig
6e8bc0cf58 Fixes: Improved sidebar looks and layout
Details:
-Centered all the text labels.
-Added shadow on title text.
-Made progressbar go all the way and placed the button on top.
-Added some spacing between warning and error icons.
-Improved cosmetics on progress bar itself.
2009-06-04 15:19:57 +02:00
dt
07730341bd Fix memory leak in $$system() calls from .pro files
Reviewed-By: ossi
2009-06-04 15:18:14 +02:00
dt
c13d711657 Fix leaking a toolchain per QtVersion.
Reviewed-By: ossi
2009-06-04 15:17:20 +02:00
con
f6ff04a7be Integrate merge-request #567 into branch 'master'
Christian Hoenig (1):
      Implement CppCurrentDocumentFilter for symbols in current document

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/567
Reviewed-by: con <qtc-committer@nokia.com>
2009-06-04 14:46:21 +02:00
mae
fda09bbc62 introduce new helper class Core::Utils::TreeWidgetColumnStretcher
and use it for some options dialogs.

The class fixes QTreeWidget to resize all columns to contents, except one
stretching column. As opposed to standard QTreeWidget, all columns are
still interactively resizable.
2009-06-04 14:44:05 +02:00
con
98e695e31b Remember last "File -> Open" location, start with home directory.
In case we have no open document or "current file", the file dialog
was opening at the creator install location.

Reviewed-by: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
Task-number: 249004
2009-06-04 14:39:52 +02:00
Roberto Raggi
d1bbbcede5 Check the declarator's initializer. 2009-06-04 13:26:11 +02:00
kh
cb71de60dd No need to bookmark empty pages, also disable menu item in case of.
Reviewed-by: dt
2009-06-04 13:12:20 +02:00
Roberto Raggi
e80eaae787 Fixed the warn message. 2009-06-04 12:55:12 +02:00
Roberto Raggi
1c9a724a2f Check new-expressions. 2009-06-04 12:54:15 +02:00
Roberto Raggi
90efa0f174 Check nested name specifiers. 2009-06-04 12:18:05 +02:00
con
78af9c163d Don't ask when doing a "Save all".
Reviewed-by: Oswald Buddenhagen
2009-06-04 12:08:49 +02:00
con
4b9a3d5a46 API: temporaryEditor --> isTemporary
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-06-04 12:08:49 +02:00
Thorbjørn Lindeijer
e54bf750d9 The reformat document action isn't useful yet, removed for 1.2 2009-06-04 11:57:58 +02:00
Roberto Raggi
45fb9726ab Add the type-template parameters. 2009-06-04 11:53:48 +02:00
Roberto Raggi
cd3022dc3e Show all the warn messages. 2009-06-04 11:42:02 +02:00
Roberto Raggi
f55d5500c5 Warn for undefined types (not finished yet). 2009-06-04 11:32:29 +02:00
con
57cd26548e Version bump also in master. 2009-06-04 11:00:28 +02:00
con
49f8a55533 Merge commit 'origin/1.2' 2009-06-04 10:59:01 +02:00
Oswald Buddenhagen
3104e4c121 fix gcc 3.3. build
the templated friend just doesn't have any effect.
so simply skip the typeinfo. will be slower, but you deserve that if you
use that compiler.
2009-06-04 09:49:23 +02:00
Oswald Buddenhagen
259197a500 clean up OS conditionals in project files 2009-06-03 20:54:59 +02:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
Jens Bache-Wiig
3df7a2c301 Fixes: Fix overlapping alpha values in expander area
Details:
There are platform differences when drawing overlapping alpha
rects here. The workaround was to simply avoid using alpha
values for now.
2009-06-03 20:22:10 +02:00