Commit Graph

36 Commits

Author SHA1 Message Date
con
639338b3c6 Fixes: Save as... didn't put the new file to the watches. 2010-03-22 12:44:41 +01:00
con
afe939ef23 A bit more efficient adding/removing of file watchers.
Each call of addPath(s) removePath(s) potentially is locking and
unlocking a mutex, so do it for all paths at once.
2010-03-05 16:03:30 +01:00
dt
b59442e072 Fix FileManager after recent commit
Temporary files should not be watched also fix a few corner cases where
the fixedname of IFile change without the file name changing.
(Oh the fun of symlinks.)

It's more consistent now, though I haven't gone through all the
implications of IFile's who's fixedName change
2010-03-05 15:51:30 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
0239a3822c Reduce file watchers.
Do not add file watchers on editors with temporary files (VCS
diff/commit. etc). Add a flag to FileManager::addFile() specifying
if one wants a watcher.
Acked-by: con <qtc-committer@nokia.com>
2010-02-26 17:20:32 +01:00
dt
75545a2bf0 Fix FileManager to correctly handle multiple IFile's for the same file
And port the Qt4ProjectManager to use that API for synchronization
between editors and the .pro file tree.

Reviewed-By: con
2010-02-17 16:51:02 +01:00
con
1a95f6f205 Implement string based search & replace in multiple files.
This uses the same UI as "Rename Symbol".
Moves the actual rename implementation to a static method in
BaseFileFind and uses it for rename symbol and search & replace.
Moves the signal notification for the code model from VCSManager to
the more general FileManager.
Note that as for rename symbol, there's no undo yet.

Task-number: QTCREATORBUG-73
2009-12-21 11:08:52 +01:00
con
3ab0a28cca Less use of slow methods. 2009-12-09 15:31:01 +01:00
Friedemann Kleint
4827ba9dfb Wizards: Default to home path if empty or invalid 2009-11-26 18:22:30 +01:00
Friedemann Kleint
3e34a9ae7a Project Wizards: Introduce notion of project directory, polish.
- Introduce project directory and "use" flag to file manager, use that
  in new item dialog
- Add configuration under Project settings, rename it to "General"
- Make wizards create project names as "untitled1.."
- Remove modules page from Qt application wizards (parametrizable)
- Give Utils::ProjectIntroPage a "Set as default location" toggle.
- Introduce wizard dialog base classes for handling that.
- Introduce notion of "last visited directory to file manager" for
  open and non-project wizards, route open through file manager.
- Clean out QmlAppWizard

Task-number: QTCREATORBUG-333
Rubber-stamped-by: con <qtc-committer@nokia.com>
2009-11-26 18:03:26 +01:00
Friedemann Kleint
6de52c401b FileManager: Introduce FileManagerPrivate, cleanup
Task-number:  QTCREATORBUG-333
2009-11-25 10:09:45 +01:00
Friedemann Kleint
74a3828f19 Purge out include files in exported headers 2009-10-01 16:38:08 +02:00
Oswald Buddenhagen
5a482ace9a no contractions, please. and loosers are losers. :D 2009-09-29 12:18:43 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Henrik Abelsson
0a94100508 Add option to select behavior on externally changed files.
Merge-request: 840
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-07-13 15:00:39 +02:00
dt
4637d56284 Don't ask to reload the file, if the user uses git/undo or git/revert.
Simply do it.

Task-Nr: 254558
2009-06-18 14:30:04 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
mae
9b82d98ede some work on the save-modified-files logic. We no longer rely
on QFileInfo to tell us that a file is not writable, but accept
that the attempt to save a file might actually fail (:-) ). This
solves the NT network domain issue without the insane slowness.

The stuff needs more work. We do not have any UI for failing save
operations when closing creator (other than it doesn't close). Bad.
2009-05-08 17:59:01 +02:00
dt
8ab578b11a Show a nice checkbox in the save dialog for SaveBeforeBuild 2009-05-06 11:55:21 +02:00
con
713105ad85 Some documentation. 2009-04-24 16:34:24 +02:00
Thorbjørn Lindeijer
500b5e20b5 No need to open file ReadWrite for just reading its contents
Pointed out by Mathias Gumz.
2009-04-15 16:10:46 +02:00
con
bd2a163f78 Simplify 'Save modified files' internals. 2009-03-24 12:52:20 +01:00
con
87fdacba5c Simpler "Save modified files" dialog. 2009-03-24 12:52:20 +01:00
Oswald Buddenhagen
d75c5fa220 sanitize some tr() calls 2009-02-27 20:06:08 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Thorbjørn Lindeijer
735e609e00 Removed more icore.h includes from header files 2009-01-23 13:03:36 +01:00
Thorbjørn Lindeijer
6adecf3767 Avoid going through ICore when it's not necessary
Many singletons have their own instance() method, in which case there is
no need to use ICore::instance() to get access to them.
2009-01-21 15:55:33 +01:00
hjk
667255c4d1 some more ICore related cleanup 2009-01-20 17:14:00 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Eike Ziller
96732d7040 Fixes: - Freeze on Mac when files change outside of qtcreator
RevBy:    - mae
2008-12-02 17:36:55 +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
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00