Commit Graph

45 Commits

Author SHA1 Message Date
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
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
fba7d76936 Canceling the wizard for a new cmake build configuration still created.
Made virtual newBuildConfiguration return a bool
2009-09-23 15:00:02 +02:00
Thorbjørn Lindeijer
a5b22b18bd Fixed problem with changing tool chain type for generic projects
Some fixes were needed after the tool chain type was changed from
QString to an enum.

Task-number: 259939
2009-08-25 09:51:16 +02:00
dt
ffe74d4447 Fix slot connections in the generic project manager. 2009-08-18 13:54:41 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Daniel Molkentin
365560c9c3 Identify tool chains via ToolChain::ToolChainType enum instead of by string
Reviewed-by: dt
2009-08-13 16:42:44 +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
Friedemann Kleint
61123092ab Fixed compiler/lupdate/uic warnings.
Add missing Q_OBJECTS where tr() was used.
2009-07-29 09:11:37 +02:00
con
579fe76f66 Fix layout of generic projects' build settings. 2009-07-23 17:23:26 +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
Thorbjørn Lindeijer
ca1dd20036 Made sure the order of the file list is maintained when removing files
Converting to a QSet and back randomizes the order of the files. Just
doing a linear scan and a QSet for speading up the contains() check
should be enough and maintains the order.
2009-06-30 15:08:39 +02:00
Kevin Michel
b170e3ba87 Enable 'Remove file...' on Generic project
Merge-request: 783
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-30 15:08:38 +02:00
Thorbjørn Lindeijer
b210943b0a Fixed a problem with adding files when final newline is missing
When there was no final newline in the .files file, the name of the
first new file would get appended to the name of the last file. This
patch fixes that by simply rewriting the whole file.

Also switched to writing out native line endings.
2009-06-29 18:46:33 +02:00
Kevin Michel
375d81166c Allow adding files in generic project
Merge-request: 736
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-29 18:04:29 +02:00
con
07187e0a80 Custom signature support.
Not able to give it an additional passphrase yet, though.
2009-06-24 13:41:48 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
5d11453c1d Fixed relative include paths specified for the generic project
We forgot to convert them to absolute. Also removed two calls to
removeDuplicates, since the convertToAbsoluteFiles already does that.

Reviewed-by: Roberto Raggi
2009-06-09 17:21:27 +02:00
Daniel Molkentin
159056058d Add support for AMD64 compilers for MSVC.
At this point, compiling projects and debugger helpers works.
The speciality with this is that Qt does not provide distinct
mkspecs, because MSVC draws the line between 32 and 64 bit
solely by the environment.
2009-05-18 15:02:41 +02:00
Friedemann Kleint
5150089738 Fixed translation glitches. 2009-05-13 14:39:55 +02:00
dt
a2c7d3172f Wrong dependency on help plugin in the ProjectExplorer 2009-04-29 11:25:29 +02:00
Friedemann Kleint
472e25025f Start on the German (prototypical) translation. 2009-04-08 16:35:56 +02: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
Thorbjørn Lindeijer
cc995d13ee Allow updating of configuration or file list separately
Now it will only update the list of files when you edit [project].files,
and only reparse all files when you edit [project].config or
[project].includes. When updating the file list it will only parse the
added files.
2009-03-19 18:08:16 +01:00
Thorbjørn Lindeijer
9c8f4e30a7 Allow specifying the name of a new generic project
The name is used as the base for files like [project].creator,
[project].files, etc. and is displayed in the Projects mode and the
Projects tree.
2009-03-19 18:08:16 +01:00
Thorbjørn Lindeijer
78d603adec Use the make command defined by the tool chain
For now only for GenericProject, since the CMakeProject doesn't have the
right tool chain set on Windows yet.

Reviewed-by: dt
2009-03-18 14:35:35 +01:00
Thorbjørn Lindeijer
3904b2ad3e Class name simplification for MakeStep related classes
Was a bit confusing that a MakeStep was constructed by a
MakeBuildStepFactory and configured by a MakeBuildStepConfigWidget.

The MakeStep of the generic project manager was renamed to
GenericMakeStep.
2009-03-18 13:55:13 +01:00
Thorbjørn Lindeijer
93b3dda602 Fixed member variable prefix to be in line with coding standards 2009-03-18 12:20:06 +01:00
Thorbjørn Lindeijer
9e700af42f Fixed updating of defines after editing the .config file
Reviewed-by: Roberto Raggi
2009-03-18 11:36:39 +01:00
Roberto Raggi
e0d91157fc Update the project 2009-03-16 12:52:22 +01:00
Roberto Raggi
f7812edfe1 Update the project. 2009-03-16 12:42:16 +01:00
Roberto Raggi
af29d0608e --debug 2009-03-16 12:16:10 +01:00
Roberto Raggi
f9308dcc05 Fixed the wizard and removed some obsolete code. 2009-03-16 12:13:00 +01:00
Roberto Raggi
e10bda6f9a Create nodes for the project files. 2009-03-16 11:49:57 +01:00
Roberto Raggi
7c537a81ff Introduced editors for .files and .includes files. 2009-03-16 11:35:54 +01:00
Roberto Raggi
d690a844b4 Imrpvoed the importer. 2009-03-13 15:12:54 +01:00
Roberto Raggi
37f7e5dbee Added a way to refresh the project. 2009-03-12 16:31:40 +01:00
Roberto Raggi
752a641304 Don't convert the include paths 2009-03-12 15:47:51 +01:00
Roberto Raggi
f167218d13 Initialize defines and includePaths 2009-03-12 15:28:33 +01:00
Roberto Raggi
6dbc975f5a re-enable the indexer. 2009-03-12 15:07:54 +01:00
Roberto Raggi
6ea4990b86 Added configuration widgets for include paths and defines
The entered information isn't stored yet for now, though.
2009-03-12 14:36:53 +01:00
Roberto Raggi
7b6eb2c47e Added a way to change the tool chain. 2009-03-12 13:51:10 +01:00
Roberto Raggi
90e12652b4 Store the toolChain and includePaths in the .user file. 2009-03-12 12:26:32 +01:00
Roberto Raggi
013441d5f4 Generic project manager. 2009-03-10 17:35:05 +01:00