Commit Graph

46 Commits

Author SHA1 Message Date
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
dt
6d17ee565b Fixes: This does already work.
Details:  Adjust comments to actual situation
2009-01-15 12:51:30 +01:00
dt
b847ceab46 Fixes: Set correct OUT_PWD variable, so that we find the ui files.
Details:  Now it even works for qtc's source.
2009-01-14 17:46:44 +01:00
dt
0cf9ffc031 Fixes: Updating the completion for ui files
Details:  That is we update all generated headers (which are new or
modfied) in the C++ Engine. Big if, this only works if we find the
correct path for the ui header files. Which is known to sometimes not
work, I'll fix that next.
2009-01-14 17:13:17 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
dt
d402ed2955 Fixes: Replace QTC_ASSERT with QT_ASSERT. 2008-12-17 15:51:48 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
4b0fc13d41 remove debug output
RevBy: dt
2008-12-15 12:53:22 +01:00
dt
ae3fda8b84 Fixes: Don't call Qt4ProFileNode::update on rebuild.
Task:     Found by Roberto.
2008-12-09 17:25:50 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00
dt
d6e726ec68 Fixes: Memory usage for loading projects.pro
Details:  Free the whole ProFile*, ProItem*, ProValue* and etc
structure after parsing, that frees around 200Mb for projects.pro.
2008-12-05 14:29:18 +01:00
dt
6fe51eeb19 Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-04 12:53:48 +01:00
dt
fc270cb123 Fixes: Crash on windows on loading projects.pro
RevBy:    Patch by eskil
Details:  I can't really see why the path could be wrong there, and
can't reproduce the crash.
2008-12-04 11:10:56 +01:00
Friedemann Kleint
0b99d82d4e Fixes: Enable switching of VCS according to currentProject
Task: 205821
RevBy: con
Details:  Add a IVersionControl to git. Extend IF to able to return a name and add enabling options. Connect project explorer to enable the right VCS.
2008-12-03 15:04:51 +01:00
qtc-commiter@nokia.com
6bc0da69af Fixes: Fix crash on windows while loading projects.pro.
Task:     Reported by eskil on irc.
2008-12-03 13:26:04 +01:00
Friedemann Kleint
1a9446ebbd Fixes: Make Qt4 project manager compile 2008-12-03 09:39:11 +01:00
dt
bd827512bb Fixes: Mem leak in the pro file parser.
Details:  ProFileCache be gone, as is ManagedProFile, not to be missed.
Drastically simplified how ownership works.
2008-12-02 18:14:06 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00