Commit Graph

69 Commits

Author SHA1 Message Date
con
01cc5b485b Remove unnecessary code. 2009-05-15 12:01:41 +02:00
con
7619ef2497 Remove unused definitions. 2009-05-13 11:36:04 +02: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
Roberto Raggi
12e27549b0 Introduced IFile::checkPermission() and use it to reduce the number of calls to isWritable().
Done with: mae
2009-05-08 15:50:15 +02:00
Simon Hausmann
87f74b4eea Fix permissions of basetextdocument.cpp to not be executable 2009-04-18 01:03:32 +02:00
kh
b1ea36bc47 Fix build with namespaced Qt
Reviewed-by: Thorbjorn Lindeijer
2009-04-15 17:36:38 +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
Thorbjørn Lindeijer
c3a3ab9664 Small tweaks to NTFS writable check fix 2009-04-14 12:34:26 +02:00
Mathias Gumz
1898c4dbff bugfix for windows: trying to open files stored on network drives relied on QFileInfo::isWritable() without using the real filesystem checks 2009-04-14 12:34:26 +02:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Adam Majer
18952c98b9 Add explicit option to clean indentation
It is desirable to have removal of trailing whitespace as a separate
option to "tab cleanup". Clean Whitespace option without Clean
Indentation option will now only remove trailing whitespace on file save
and on Clean Whitespace requests. Clean Indentation option is set to
true by default to maintain backward compatibility.

Signed-off-by: Adam Majer <adamm@zombino.com>
2009-01-26 14:32:04 +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
mae
1931304da1 add explicit "Clean Whitespace" advanced action 2008-12-09 17:43:31 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +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