Commit Graph

31 Commits

Author SHA1 Message Date
dt
b02add2490 Add QML folder in project tree, show files there
Use the full path for folders to sort in the project tree.

For virtual folders ensure that the path ensures the sorting we want.

Reviewed-By: kkoehne
2010-08-11 12:10:43 +02:00
dt
9bc9fe73e1 File renaming
Reviewed-By: con
Reviewed-By: Friedemann Kleint

We now support renaming files. The version control system tries first to
rename, if that doesn't support or can't rename the file we do a normal
rename. (Note: git, hg, perforce > 2009.02 support renaming, cvs not.
(perforce untested)). We correctly notify all editors of the renamed
file and tell the project manager to rename the file in the project.

Note: Only the qt4projectmanager knows how to rename files.

Note: renaming folders, moving files to different folders, renaming
.pro/.pri files is not supported. Those things can be later added after
this has proven to work correctly in the simple case.

Also we don't do any actions based on the renaming like renaming
classes, changing include guards or #include lines.
2010-05-12 14:14:44 +02:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Thorbjørn Lindeijer
da592767be Display files outside of the project directory for generic projects
Task-number: QTCREATORBUG-372
2010-02-26 16:14:11 +01:00
con
8c6fc0c454 Don't begin global paths with '/' on windows.
Doing it creates huge delays, because it resolves to a network path.
Also rename FolderNode::setFolderName to FolderNode::setDisplayName,
because that's the name of the property.

Task-number: QTCREATORBUG-695
2010-02-24 15:06:48 +01:00
Tobias Hunger
5173c2dc01 s/target/buildtarget/ in projectnodes
This is in preparation of the addition of "targets" in the sense
of "platforms to develop for" into the codebase.

Reviewed-by: dt
2010-02-02 12:59:29 +01:00
Friedemann Kleint
2fd8b2d7ff Fix some code scanning issues.
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
dt
0e29cca4cb Adding files for generic project get the right directory now.
For folder nodes.

Task-number: QTCREATORBUG-374
Reviewed-by: Thorbjorn
2009-12-09 14:45:16 +01:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Thorbjørn Lindeijer
200b06581a Compile fix for gcc 3.3 2009-07-16 12:28:51 +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
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
Kevin Michel
79e2108687 Fix GenericProjectNode filePath, fixes the Add New wizard default path
Merge-request: 736
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-29 18:04:30 +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
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
dt
9428050910 Remove work around for broken currentNode from generic project manager
Hopefully it was the same bug.
2009-03-31 15:07:05 +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
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
93b3dda602 Fixed member variable prefix to be in line with coding standards 2009-03-18 12:20:06 +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
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
6dbc975f5a re-enable the indexer. 2009-03-12 15:07:54 +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
3eafefd2e0 Improved the integration with file-explorer. 2009-03-12 11:50:32 +01:00
Roberto Raggi
c581285c85 Fixed quickopen for project files. 2009-03-10 19:05:50 +01:00
Roberto Raggi
7e1ee7d1e5 Use the _right_ project path. 2009-03-10 18:29:20 +01:00
Roberto Raggi
013441d5f4 Generic project manager. 2009-03-10 17:35:05 +01:00