Commit Graph

21107 Commits

Author SHA1 Message Date
Oswald Buddenhagen
9a89f573e0 add fileutils: classes for error-checked reading and writing of files
the internal use of SaveFile ensures that we don't leave truncated
pre-existing files behind if the disk is full or something else bad
happens.

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
1757217da6 add Utils::SaveFile: class for atomic saving of files
inspired by KSaveFile
2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
fd97a4b8bc remove redundant error check
no point in checking for file's existence before opening it - the
errorString is verbose enough.
2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
0ebc901c2b better error messages
it's only qWarning()s, but anyway ...
2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
d32ad81a81 use QFile::open()'s return value instead of using weird isOpen() checks 2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
2f1993e499 don't re-implement QDir::canonicalFilePath() by hand 2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
2e739d8e4d make addOutput() signal const
it doesn't change the emitting object
2011-04-18 14:10:11 +02:00
Oswald Buddenhagen
9beb7afbe8 GUI style fixes: spaces before ellipses and excess ellipses 2011-04-18 14:10:11 +02:00
con
d1539ebbc4 Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2011-04-18 13:57:18 +02:00
con
5b02bf94a8 Merge remote branch 'origin/2.2'
Conflicts:
	qtcreator.pri
	src/plugins/debugger/breakhandler.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2011-04-18 13:57:07 +02:00
Friedemann Kleint
141f53cfee Run/Debug: Do not launch on a library project if user cancels
the executable dialog that pops up.

Reviewed-by: dt
2011-04-18 13:01:12 +02:00
axasia
bf511a2bcb Update japanese translation.
Merge-request: 292
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-04-18 12:31:15 +02:00
con
d7e1d74aac Update version number. 2011-04-18 12:30:15 +02:00
Friedemann Kleint
a10e3a04d0 Debugger[gdb]: Locate objdump in MinGW for release build check. 2011-04-18 12:25:08 +02:00
Sergey Belyashov
d351371d81 Small correction of Russian translation
Merge-request: 293
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-04-18 12:18:09 +02:00
Friedemann Kleint
26caedddf7 Debugger: Reduce log severity of locals errors.
Preventing the log view from popping up.

Task-number: QTCREATORBUG-4524
Reviewed-by: hjk
2011-04-18 11:51:44 +02:00
Roberto Raggi
c6653f43b7 Fix possible crash when parsing layout qualifiers nodes.
Task-number: QTCREATORBUG-4563
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2011-04-18 11:17:27 +02:00
Tobias Hunger
42732605a4 WINSCW: Fix bit width of WINSCW ABIs
This should unbreak WINSCW support

Task-number: QTCREATORBUG-4560
Reviewed-by: Robert Loehning
2011-04-18 10:34:01 +02:00
Thomas Hartmann
cf0d90f88e QmlDesigner.propertyEditor: crash fix
Setting an empty expression on a value not defined in the model
crashed.

Task-number: QTCREATORBUG-4312
2011-04-18 10:28:07 +02:00
Friedemann Kleint
6630908b7f Project wizard page: Fix layout. 2011-04-18 09:42:07 +02:00
Friedemann Kleint
204de4048c HTML5 wizard: Compile on Linux/warnings. 2011-04-18 08:55:00 +02:00
Alessandro Portale
8363883834 Merge touchnavigation code into html5applicationviewer.cpp
The touchnavigation code had been splitted for easier development.
But we do not want the wizard to generate those many files. The
Wizard takes care of that and merges all into one.
2011-04-17 09:59:16 +02:00
Alessandro Portale
4459061116 Fix the main .qml gile generation in the manual test. 2011-04-17 09:57:07 +02:00
Alessandro Portale
167ce8f9ec Fix abstractmobileapp build for the manual test 2011-04-17 09:56:25 +02:00
Alessandro Portale
3970f60814 Include touchnavigation.pri from main .pro file
And have that entry removed by the wizard. REMOVE_NEXT_LINE
is now the keyword for line removal. INCLUDE_DEPLOYMENT_PRI
was replaced by REMOVE_NEXT_LINE.
2011-04-17 09:55:17 +02:00
Keith Kyzivat
28843faa1c Split out touch navigation into separate files.
Make the html5applicationviewer class much less cluttered by splitting out all
the touch navigation classes into separate files in a subdirectory.

This should make it much more maintainable.
2011-04-16 21:13:06 +02:00
con
5515703dc3 Fix %{CurrentProject:Path}
Was returning the same as %{CurrentProject:FilePath}

Task-number: QTCREATORBUG-4533
Reviewed-by: Robert Loehning
2011-04-15 21:09:12 +02:00
Sergey Belyashov
21639889b1 Updated Russian translation
Merge-request: 290
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-04-15 20:31:15 +02:00
Tobias Hunger
bcd8740a6e VCS: Notify project wizard about config changes
... and have the project wizard update the available VCS.

Task-number: QTCREATORBUG-4423
2011-04-15 17:45:34 +02:00
Tobias Hunger
51cbd001e8 Fix warning about non-virtual destructor 2011-04-15 17:45:33 +02:00
Tobias Hunger
ef4fa24b34 Cleanup: Remove unnecessary virtual keywords 2011-04-15 17:45:32 +02:00
Tobias Hunger
672f44d026 ProjectWizard: Add button to take you to VCS configuration
This makes setting up VCS more discoverable.
2011-04-15 17:45:31 +02:00
Christiaan Janssen
fea13a449c QmlDebugger: parsing packets iteratively in the communication protocol
Reviewed-by: Kai Koehne
2011-04-15 17:31:21 +02:00
Christiaan Janssen
72e65485a5 QmlProfiler: fixed arguments for qmlobserver when profiling
Reviewed-by: Kai Koehne
2011-04-15 17:31:21 +02:00
Christiaan Janssen
4fc3990b53 QmlProfiler: fixed connection reset when new application starts
Reviewed-by: Kai Koehne
2011-04-15 17:31:21 +02:00
Christian Kandeler
62d052cb08 Maemo: Fix section name in Debian control file.
It's "user/other" for Harmattan, apparently...
2011-04-15 17:06:43 +02:00
Friedemann Kleint
4a0985093c FileWatcher: Use Utils::FileSystemWatcher in Core::FileManager.
for everything except links on UNIX, further reducing shutdown time.
2011-04-15 16:40:08 +02:00
Friedemann Kleint
d81b039e19 Compile. 2011-04-15 16:10:32 +02:00
Tobias Hunger
c07e213399 VCS: Do not claim to support any operation if unconfigured
Make sure none of the VCS systems claims it does support any
VCS operation while unconfigured. This stops the specific
VCS from showing up in wizards, etc. till they can actually
be used.
2011-04-15 16:06:38 +02:00
Tobias Hunger
9978ebeda8 SVN: Remove useless virtual keywords and members 2011-04-15 16:06:37 +02:00
Tobias Hunger
aca291ff3e CVS: Remove useless virtual keywords and members 2011-04-15 16:06:36 +02:00
Tobias Hunger
c32f5aeda2 Git: Remove useless virtual keywords 2011-04-15 16:06:35 +02:00
Tobias Hunger
d601d523b8 Perforce: Remove useless virtual keywords 2011-04-15 16:06:34 +02:00
Friedemann Kleint
f5cbf87965 Utils: Introduce FileSystemWatcher.
Remove duplicated classes ProjectExplorer::FileWatcher
and QmlProjectManager::FileSystemWatcher, create
Utils::FileSystemWatcher from them, merging the functionality.

Also use in HelpManager/Maemo, reducing the number
of QFileSystemWatcher instances (and thus, shutdown time).
2011-04-15 15:55:11 +02:00
Leena Miettinen
dfce840d3e Doc: update screen shot 2011-04-15 14:53:24 +02:00
Leena Miettinen
3e9aebbec9 Doc: Analysis pane in the Viewing Output section 2011-04-15 14:53:23 +02:00
Christian Kandeler
a471296780 Maemo: Detect unexpected gdbserver exit.
Task-number: QTCREATORBUG-4535
2011-04-15 14:20:27 +02:00
dt
07c0e56615 TargetSetupPage: Hide "add Build" for shadow incapble targets
There can't be any builds anywhere

Reviewed-By: hunger
2011-04-15 14:17:38 +02:00
dt
77d0637fb6 Qt4BuildConfiguration: Changing qt versions affects the environment
Reviewed-By: hunger
2011-04-15 14:17:38 +02:00
dt
e0c568f275 QtVersionManager: Detect changes in sbs/system root settings
Otherwise the Qt options dialog won't emit a signal if just those paths
are changed in the settings.

Reviewed-By: hunger
2011-04-15 14:17:38 +02:00