dt
b661cb9992
Improve performance, keys() is slow.
...
Reviewed-By: Roberto Raggi <roberto.raggi@nokia.com >
2009-12-10 12:09:46 +01:00
Oswald Buddenhagen
f9d955eb6c
cache parsed pri & prf files
...
no point in re-parsing them over and over during the scan of a bigger
project ...
shaves off another 20% of the loading time of Qt 4.6.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
ef660880ad
make ProFileOption persist during the scan of an entire project
...
there is no point in throwing away and re-recreating invariant data over
and over ...
shaves off ~15% of the load time of Qt 4.6.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
3657acac5f
move various functions from Qt4PriFileNode to Qt4ProFileNode
...
findProFileFor(), buildDir() and createProFileReader() make sense only
in relation with an actual pro file anyway, so move them there.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
b4e7500dbe
remove needless conditionals
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
050b2e4ae2
join the two node update lists into one list of pairs
...
this is probably just as fast (still two allocs per insert), but it is
definitely more elegant.
2009-12-08 17:36:41 +01:00
dt
1e46cb424e
Rework connections on the project pane for Qt4Projects.
...
Should fix a lot of corner cases, might introduce a few bugs.
Also rename functions/slots to be better named.
Generic Project Manager and CMake Project Manager are missing from this
patch.
2009-12-07 15:00:17 +01:00
Oswald Buddenhagen
5628f945fb
Merge remote branch 'origin/1.3'
2009-12-04 21:20:20 +01:00
Oswald Buddenhagen
e408159bfe
plug memory leak
2009-12-04 21:18:30 +01:00
Friedemann Kleint
087e72499e
Designer: Prepare re-implementation of "Goto Slot".
...
...making use of the new code model features. Move code to
separate file. Make it possible to obtain path to generated
header file from project manager.
2009-12-03 16:23:15 +01:00
dt
801e9948f5
Hide static cast in accessor methods
2009-11-30 15:24:32 +01:00
dt
a312206306
Move most of the BuildConfiguration specific functions
...
Note: I didn't fix all the connects and there are a few missing things.
This compiles, more work is coming.
2009-11-30 15:24:31 +01:00
con
e237036e03
OBJECTIVE_HEADERS for pro parsing and syntax highlighting.
2009-11-24 19:13:37 +01:00
Friedemann Kleint
5948e284bb
Rename namespace Core::Utils into Utils
...
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
Friedemann Kleint
74a3828f19
Purge out include files in exported headers
2009-10-01 16:38:08 +02:00
Oswald Buddenhagen
f7d665ba42
remove dead code
2009-09-29 12:18:42 +02:00
con
97b2e77c00
Fix crash when completely removing a file type from pro file.
...
The wrong category folder (like Sources/Headers) would be deleted from
the project tree, because all category folders had the same path.
The nodes' path is used everywhere for performance optimization.
2009-09-22 13:35:39 +02:00
con
f7874bb65f
Uninitialized value in new project tree structure.
2009-08-25 16:25:17 +02:00
con
7ebea974d6
Show pro file's subdirectory structure in project tree in non-simple mode.
...
Also adding category folders for the different file types
(source files, header files, resource files, form files, other files).
2009-08-21 14:53:25 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
dt
12981d0c6b
Fix not showing all files
2009-08-10 15:11:27 +02:00
dt
dbe5a6f34b
Rework the project settings.
...
This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
2009-08-06 15:31:32 +02:00
dt
eb07777af6
Remove QBuild stuff that was never finished.
2009-07-27 12:50:42 +02:00
Alessandro Portale
d3f9757916
Removing some unused semicolons after Q_UNUSED
...
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Oswald Buddenhagen
a2f40fce2a
implement proper vpath handling for qt4 projects
...
this also removes the bogus special casing of various
filename-containing variables inside the pro parser.
2009-07-10 14:04:48 +02:00
Stian Sandvik Thomassen
9ebba84bfe
Prevented project's existing .pro file from being added to project
...
A project's existing .pro file could be added to the project, making
the .pro file appear twice in the project tree. This is sub-optimal
because
1. It does not make sense for the .pro file to appear twice.
2. Qt Creator crashes when trying to remove either of the duplicate
.pro files.
2009-07-09 14:52:07 +10:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
dt
7594cc5a41
Fixes YACCSOURCES and LEXSOURCES files not visible in the project tree.
...
Task-number: 255267
2009-06-16 14:41:25 +02:00
dt
37a9e2bd58
Add a QtVersion::toolChain() method, replacing Qt4Project::toolChain()
...
Makes the code nicer, we use the ProFileReader to parse the mkspec.
2009-05-25 16:43:50 +02:00
dt
bcaa2556f4
Fix dynamic ui code completion on windows.
...
I need to test more cases, but this fixes it for newly created projects.
2009-05-20 11:39:42 +02:00
dt
143f6e4ac8
Remove debugging output
2009-05-18 18:08:20 +02:00
dt
87e40ac6f5
Remove debugging output
2009-05-14 11:26:57 +02:00
dt
286325ceb6
Add includes to the codemodel specified via PKGCONFIG in .pro files
...
We run pkg-config --cflags-only-I $$PKGCONFIG in the background to find
those includes.
Task-Nr: 250195
2009-05-13 18:09:47 +02:00
dt
af199594a6
Adds dynamic ui completion. Wohoo :)
...
This means, creating a new project, we immediately have completion for
the ui file. Also adding stuff to the ui file now changes the codemodel
immediately.
Yet todo, are tests under windows and suppressing a warning if the form
contains a toplevel spacer.
2009-05-12 14:46:11 +02:00
dt
6c5e23f10e
Fix $$OUT_PWD not beeing set for finding the target/destdir
...
Qt Creator wouldn't find the correct target if shadow building a project
that uses $$OUT_PWD, like for example itemviews-ng.
We didn't set the necessary variable on the ProFileReader *, simplified
the code to always use a ProFileReader created for the exact
profilenode.
2009-04-28 14:30:17 +02:00
dt
2b302332b8
Move QtVersionManager, QtVersion and QtOptionsPage back
...
After all I don't need all that stuff in the cmakeplugin, all i needed
is now bundled in debugginghelper.h/cpp
2009-04-28 12:45:04 +02:00
dt
8f22417244
Refactoring: Move QtVersionManager to ProjectExplorer.
...
The Debugger, cmake and Qt4 plugin all need it. More refactoring to it
coming.
2009-04-22 14:52:35 +02:00
dt
0afed96f29
Fix warning about unused variable
2009-04-03 17:45:18 +02:00
dt
8df9aaf5c7
Qt Creator didn't always find the ui files for SUBDIRS projects
...
In case no UIDIR was set, we always searched in the toplevel
buildDirectory instead of the buildDirectory conresponding to the actual
pro file.
2009-04-02 15:46:20 +02:00
dt
0a2df32654
Pop up a dialog if the CMakeCache.txt changes.
...
Rerun cmake and reparse the file. Add new files to the tree, remove old
ones from th tree. Add/removing targets should also work.
2009-03-26 17:36:58 +01:00
Thorbjørn Lindeijer
71aeac5915
Use completeBaseName instead of baseName where appropriate
...
Fixes issues with handling additional dots in the filename in many
places.
Task: 246390
2009-03-20 17:04:23 +01:00
con
444a0b0e1e
Fixes: subdir.file not supported
...
Task: 247566
RevBy: dt
2009-03-12 15:11:27 +01:00
Roberto Raggi
eefd64dd50
Fixed: C++ parser configuration (2nd try).
...
We use `cc' instead of `c++' and we also also moved the code in qt4project.cpp.
Done by ossi reviewed by me.
2009-02-26 17:46:28 +01:00
Roberto Raggi
26befce273
Fixes: C++ Parser configuration for Qt/SDK
...
Done by ossi
2009-02-26 17:21:28 +01:00
hjk
84c82a669b
Fixes: change license headers to LGPL
2009-02-25 09:02:17 +01:00
dt
c71edd7763
Fixes: Finding the ui*.h files so that we can parse those.
2009-02-06 13:26:21 +01:00
dt
d2682828fc
Fixes: On session restore, start less indexers.
...
Details: This should improve performance a bit. Instead of starting on indexer per .pro file, schedule and compress updates of ui files. And don't update if we have a full project code model update scheduled anyway. Which helps the startup case.
2009-01-28 18:14:01 +01:00
Jens Bache-Wiig
629a4778a2
Fixes: Improved file icons
...
Details:
This patch makes use of system icons as a base
and draws overlay on top. This should blend a bit better
into the native icon theme.
2009-01-27 12:42:19 +01:00
hjk
113b81e9db
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74
Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
...
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00