qrand() is used in several places, but it is only seeded in ToolSettings
Change-Id: I72ed3b96315081384c63572566d31dea1a8f8b69
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
When a new file was created from the file menu, the permissions
on *nix was always 0600 regardless of the proess' current umask.
Fixed by letting CorePlugin::initialize() initialize the umask in
Utils::SaveFile. Since getting the system's umask is not thread
safe this can't be done directly in SaveFile::open.
Task-number: QTCREATORBUG-6513
Change-Id: I10d8b2f4ab85574ed3004b5e646664c2255196b9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Broke while fixing the flag handling in editor manager.
Change-Id: Id743de099b3c193dcbf1dc55b4372217c691488a
Reviewed-by: David Schulz <david.schulz@digia.com>
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
And use it for some of the plugins. It avoids the plugins to
do the timing on their own, and actually adds guarantees about
the order the delayed initialization is done.
Change-Id: I88ad9b46b24b82c91509774170fe0e7e99e88e4b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Presentation mode can be entered by passing -presentationMode when
starting Qt Creator.
It displays a popup with the keyboard shortcut of the commands
that are triggered. Great for the DevDays;-)
Change-Id: I897966aab491f98e2a5abc4433c40b04e2a8db57
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Liang Qi <liang.qi@nokia.com>
Creates a new page in the options dialog which allows
the user to modify MIME type's globl patterns and rule-based
magic matchers.
As a side-effect of this feature our MIME database (and related
components) got some improvements.
Reviewed-by: Friedemann Kleint
And make use of it to accept on the command line the patterns:
"filename" "+45", "filename" ":23", "filename:12" and "filename+42"
Task-Nr: QTCREATORBUG-2428
If a plugin requests asyncronous shutdown, the shutdown sequence does
not continue to deleting the plugins before it has sent a
asynchronousShutdownFinished signal. During that time an event loop
is running.
It does not conceptually belong there, and several people have
asked for an interface to use the functionality in their own
plugins.
Task-number: QTCREATORBUG-1204
Reviewed-by: kh1
Make it possible to trigger a debug-attach in a running instance
of Qt Creator by means of -client, use that in qtcdebugger, thus
enabling it to attaching to crashing executables in run mode
(Windows/CDB).
Modify IPlugin and application so that the complete command line is
serialized and transmitted to a running instance via QtSingleApplication
if -client is specified. Introduce IPlugin::remoteArgument and use that
in core for opening files and in the debugger for attaching.
Use -client in qtcdebugger with some logic to keep it alive as long as
the debuggee, make CDB break in that case as the events are not replayed
correctly in case the debugger is not spawned by the registered handler.
Rubber-stamped-by: con <qtc-committer@nokia.com>
pros:
- the non-webkit version is not castrated any more
- i18n should become simpler
- but need to make the buttons non-labels for optimal results
- if we introduce delayed loading of the help plugin, we would get
webkit loading out of the startup's critical path alltogether
cons:
- the page might be a bit harder to modify for some