Tobias Hunger
16a7d5daa2
Make use of ProjectConfiguration in the BuildConfigurations
...
* Make use of the ProjectConfiguration base class in the
BuildConfigurations and update the factories accordingly.
Reviewed-by: dt
2010-02-01 12:23:13 +01:00
Tobias Hunger
1726688434
Make use of ProjectConfiguration class in BuildSteps
...
* Use new BuildSteps interface (as seen in ProjectConfiguration).
* Use new factory to construct/clone/restore them.
Reviewed-by: dt
2010-02-01 12:23:12 +01:00
Tobias Hunger
c410d268db
Move EditorSettings over to new save/restore scheme
...
Reviewed-by: dt
2010-02-01 12:23:12 +01:00
dt
28aa2d54f5
change RunConfiguration::addedRunConfiguration() removedRunConfiguration()
...
To simply transmit the RunConfiguration
Reviewed-By: Tobias Hunger
2010-01-20 18:21:10 +01:00
Tobias Hunger
bc6d14828a
Fix logic of 3061d7dc32.
2010-01-15 11:54:48 +01:00
Tobias Hunger
3061d7dc32
Check (build|run)configurations on addition
...
* Make sure we do not add duplicate or 0 (build|run)configurations
to a project.
Reviewed-by: dt
2010-01-15 10:54:29 +01:00
Tobias Hunger
8e82a86e32
Small cleanups in Project
...
* Fix typo in variable name
* Make member naming more consistent
* Use a constant for the file name postfix.
Reviewed-by: Alessandro Portale
2010-01-14 19:41:51 +01:00
Tobias Hunger
592e494d1a
Fix typos
...
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
ck
34ea987e7e
Fix restoring of build settings
...
Reviewed-By: dt
2010-01-08 16:39:44 +01:00
dt
377dbaa841
Fix restoring the active build configuration
2010-01-08 13:47:52 +01:00
dt
52d07a9b57
BuildConfigurations know their project, these signals can be simpler
2010-01-08 13:47:51 +01:00
Tobias Hunger
a6ad773722
Make method naming more consistent.
...
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
2010-01-07 18:17:24 +01:00
dt
14eb1f66e9
Remove BuildConfiguration::setValue/value
2009-12-08 17:59:21 +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
68dae8bcaf
Fix crash on creating new qt4projects
2009-11-30 15:24:32 +01:00
dt
d6d48fa23c
Some cleanup after BuildConfiguration refactoring
2009-11-30 15:24:32 +01:00
dt
87e642a4b6
Fix bugs introduced by refactoring
2009-11-30 15:24:32 +01:00
dt
fb1ef427a0
Remove setValue/value from Project
2009-11-30 15:24:32 +01:00
dt
9119853283
Make setDisplayName easier and break displayName signals
...
Fix for that will come later
2009-11-30 15:24:32 +01:00
dt
7904544b84
Remove BuildConfiguration::name()
...
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
dt
60a1ee12ba
Remove project() from BuildStep
...
The project() should in most cases not matter, instead the
BuildConfiguration should. This shows all the information that needs to
move into the BuildConfiguration classes.
2009-11-30 15:24:31 +01:00
dt
20214787d1
Add BuildConfiguration::restore and BuildConfiguration::project()
...
More API work.
2009-11-30 15:24:31 +01:00
dt
ae633c1956
Add BuildConfiguration classes
...
Each project has it's own BuildConfiguarion * classes, they'll get a
decent type safe interface and the setValue/value stuff will be removed.
2009-11-30 15:24:31 +01:00
dt
0d162be22f
Make BuildSteps one instance per BuildConfiguration
...
Enables users to change which buildsteps get run per buildconfiguration.
Some further tweaks are probably necessary. This is a rather big
change, though it should work. :)
2009-11-19 16:36:48 +01:00
dt
72fe54db77
Remove value(name) and setValue(name, value) from BuildStep
2009-11-19 16:35:19 +01:00
dt
f383e27c6d
Fix memory leaks :)
2009-11-19 16:35:19 +01:00
dt
10a0647ddf
Remove QSharedPointer<> for RunConfiguration
2009-11-19 16:35:18 +01:00
dt
a3141e9d74
Fix crash on cloning and removing buildconfigurations
2009-10-08 20:01:07 +02:00
dt
ea56717101
Make a function out of duplicated code.
2009-10-07 14:32:44 +02:00
con
5f9cb8fe14
Results of review.
2009-10-01 10:05:06 +02:00
con
a16806353a
Remove string identifier from setDisplayNameFor and setUserEnvChanges.
2009-10-01 10:05:06 +02:00
con
382750c8a3
Remove Project::(set)Value(buildconfig, ...) methods.
...
Instead use the BuildConfiguration class methods directly.
2009-10-01 10:05:06 +02:00
con
acbd4513e3
Changing string based api to BuildConfiguration based api.
...
Builds, but I'm pretty sure it doesn't *work* :)
2009-10-01 10:05:05 +02:00
con
30362e1050
Remove the build config display name method from Project
2009-10-01 10:05:05 +02:00
con
21565b99d1
Export the build configuration class.
2009-10-01 10:05:05 +02:00
Friedemann Kleint
ad294f8467
Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
...
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
dt
65648ee17a
The project pane rewrite version 2.
...
This splits up the edit and active settings. Let people try it and
report usability problems. I'm not 100% convinced of the layout either.
2009-09-17 13:59:10 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +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
e524f52477
Allow restoreSettings() to fail,
...
E.g. cmake pops up a wizard then, the running of cmake can fail though.
Now you don't end i[ with a empty project then. The error reporting in
that case is not yet optimal.
2009-07-03 16:46:01 +02:00
dt
daaf652fcd
Add a way to configure what cleaning does.
...
Task-Nr: 235965
2009-06-23 11:16:43 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
3ddb7b02f1
API review of IRunConfigurationFactory.
...
Done with dt.
2009-06-12 17:58:13 +02:00
Roberto Raggi
84b314bfee
Introduced Project::hasBuildSettings()
2009-05-06 16:33:43 +02:00
dt
66bea14fef
Add options to: Save All before Build and Build before Run
...
So now you can choose not to automatically build before running.
And you can chose to automatically save all files before building.
The options are global and the default is the same as before.
2009-05-05 18:23:14 +02:00
dt
4e0c418fa6
Add per file information on the inlucde paths and defines to qt4projects
...
This is a step towards fixing Task: 243747
2009-05-04 18:22:40 +02:00
dt
a6ad9b388d
If a BuildStepFactory isn't available, still restore correctly
...
We used to restore to the wrong BuildStep if we couldn't find a factory
for a build step. Unfourtanetly that's exactly what a 1.1 project
loading a 1.0 project does. So some settings are lost.
This fixes that.
2009-04-28 15:40:41 +02:00
dt
9689582ee6
Refacotring: Move BuildConfiguration into internal namespace.
...
It should not be used outside of the ProjectExplorer and is likewise not
exported.
2009-04-20 17:59:42 +02:00
dt
1e0561e8e5
Crash on removing RunConfigurations by editing the pro file
...
Task: 250759
2009-04-15 15:39:19 +02:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00