Commit Graph

51 Commits

Author SHA1 Message Date
Denis Mingulov
3065b029e5 QApplication::aboutToQuit signal is used for the plugin manager's shutdown
Merge-request: 179
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2010-09-27 14:59:22 +02:00
Friedemann Kleint
69736d7815 Revert "Use raster graphics on X11 by default"
As it causes problems on standard-Linux installations.
See also QTCREATORBUG-2238.

This reverts commit 0e318bfcf5.
2010-09-24 10:47:47 +02:00
Jens Bache-Wiig
0e318bfcf5 Use raster graphics on X11 by default
This will be the default in Qt with 4.8. It is faster and
less prone to graphics issues than the X11 engine so we
should use it in Creator by default.

task-number: QTCREATORBUG-2238
2010-09-21 15:06:52 +02:00
Roberto Raggi
efe3dc93d6 Increased the number of threads in the global thread pool.
Reviewed-by: dt
2010-09-13 11:55:38 +02:00
Marco Bubke
7aaaa75094 Add breakpad
This is not activated if breakpad and qt-breakpad is not availiable.
2010-09-09 19:37:01 +02:00
con
b3dbc4b4e4 Add flag to IPlugin::aboutToShutdown that allows asynchronous shutdown.
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.
2010-07-13 15:25:21 +02:00
Robert Loehning
5bb23ade98 Revert "Work around a Mac specific QSettings bug for the moment."
Workaround is no longer needed and causes trouble with cyrillic characters.

This reverts commit 00142e4cf4.
2010-06-22 15:08:48 +02:00
Robert Loehning
8ef646beec Revert "Extend QSettings workaround to Windows."
Workaround is no longer needed and causes trouble with cyrillic characters.

This reverts commit 56aac18bd8.
2010-06-22 15:08:48 +02:00
Kai Koehne
7f1f9e14af Fix crashes when loading large .qmlproject's (Mac OS X)
There is a hard limit on the number of file handles that can be open at one point per process on Mac OS X (e.g. it's 2560 on Mac OS X Snow Leopard Server, as shown by ulimit -a). Opening one or several .qmlproject's with a large number of directories to watch easily exceeds this. The results are crashes later on, e.g. when threads cannot be created any more.

This patch implements a heuristic that the file system watcher used for .qmlproject files never uses more than half the number of available file handles. It also increases the number from rlim_cur to rlim_max - the old code in main.cpp failed, see last section in

 http://developer.apple.com/maac/library/documentation/Darwin/Reference/ManPages/man2/setrlimit.2.html

for details.

Reviewed-by: ckamm
Task-number: QTCREATORBUG-1487
Task-number: QTCREATORBUG-1486
2010-05-28 14:14:42 +02:00
Lasse Holmstedt
425f4b7467 Fixed crash when using -noload to disable multiple plugins
The noload behavior is also changed: it now always shows the plugins in
About Plugins... menu, even though -noload was used. When using -noload,
the enabled state of the plugin is not saved, so if the command line
arg is removed, the plugin will be loaded normally.

Reviewed-by: con
2010-05-12 14:38:52 +02:00
Lasse Holmstedt
bf518ba841 remove startup error messages from plugins that are disabled by user
User can still see errors in About Plugins for disabled ones, too

Reviewed-by: mae
2010-04-12 12:52:00 +02:00
Lasse Holmstedt
68c49a65e9 Plugin manager for enabling/disabling plugins
Go to About Plugins and enable/disable plugins from there.

Reviewed-by: mae
2010-03-12 16:02:42 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Daniel Molkentin
2c00799393 Port RSS fetcher to QNetworkAccessManager.
Reviewed-By: Alessandro Portale <alessandro.portale@nokia.com>
2010-02-18 17:36:49 +01:00
Daniel Molkentin
56aac18bd8 Extend QSettings workaround to Windows. 2010-01-21 21:28:09 +01:00
con
00142e4cf4 Work around a Mac specific QSettings bug for the moment. 2010-01-14 18:12:40 +01:00
con
ba31cfa505 Fix the path for global configuration. 2010-01-14 16:37:40 +01:00
Daniel Molkentin
88e24a61d6 Force system scope for settings to be in $CREATORDIR/share/qtcreator.
Note that according to QSettings design, the file itself then is
in $CREATORDIR/share/qtcreator/Nokia/QtCreator.ini. Note case (Unix)
and Vendor dir!
2010-01-14 15:27:09 +01:00
Daniel Molkentin
f093025ff3 Make it possible to override the language settings in Creator.
Platform-dependent behavior is not good enough for a lot of
people it seems.

Reviewed-By: con
2010-01-05 16:40:20 +01:00
Friedemann Kleint
bd8d2b0b8a Debugger: Enable attaching with -client option.
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>
2009-12-14 18:01:39 +01:00
con
8ad31cba42 Remove some unused code. 2009-10-15 12:21:41 +02:00
Oswald Buddenhagen
5a482ace9a no contractions, please. and loosers are losers. :D 2009-09-29 12:18:43 +02:00
Oswald Buddenhagen
c7ad4adeea report plugin loading problems to the user 2009-09-29 12:18:42 +02:00
con
96b938e3fa Remove the "grab system language" hack for the Mac.
It's now fixed in Qt, adb6eea3a135707a220c0b1c1cf8266321af9309.
2009-09-15 14:22:12 +02:00
con
3d4c7abf9d Unnecessary code.
Don't ask how this could still be there ;)
2009-09-11 14:53:51 +02:00
con
1a0134a9de Use systems preferred language on Mac.
And ensure that the menu items don't vanish from the application menu
when they are translated.
2009-09-11 14:40:59 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Robert Loehning
f4ec27cdc2 Using QLatin1Char for directory separators in getPluginPaths()
Reviewed-by: dt
2009-07-24 12:11:12 +02:00
Robert Loehning
8eeabae49d Converting plugin paths to native format only for displaying. Using '/' as separator until then, regardless of OS.
Reviewed-by: hjk
2009-07-23 17:04:51 +02:00
Robert Loehning
5e653c3d25 Changing plugin paths to native separators to avoid showing messages with mixed
separators / and \ on Windows.

Reviewed-by: Friedemann Kleint
2009-07-23 14:09: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
Daniel Molkentin
bebb155925 Also search for Qt tr cataloges in the Creator tr dir. Add qt_help cataloge.
The qt_help cataloge is required to fully translate the help plugin. The
additional lookup is mandated by the binary packages, where the translations
are simply put in Creatrors translation directories and the Qt translation
path is invalid.

Reviewed-by: con <qtc-committer@nokia.com>
2009-06-10 13:30:41 +02:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
dt
a8aa5c8219 Remove logic trying to guess whether it should be lib or lib64.
Instead use qmake IDE_LIBRARY_BASENAME=lib64 to set it to lib64.
2009-05-12 16:24:13 +02:00
Oswald Buddenhagen
40546f9a93 load translations 2009-04-20 16:51:10 +02:00
con
085dcd7db2 Only use lib64 on 64 bit Linux, not Windows or Mac. 2009-04-03 14:36:14 +02:00
hjk
80468d9986 use 'lib64' instead of 'lib' on linux/x64_86 2009-03-23 15:36:15 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Daniel Molkentin
b18fe47043 Fixes: make install works on linux
Details:  Creator on Linux works now in two modes:
          1) out of the build dir (shadow builds to be tested)
          2) make INSTALL_ROOT=/prefix install
2009-01-21 09:14:22 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Friedemann Kleint
d6fbb1b573 Fixes: gcc 4.3.2 compile warnings 2008-12-19 10:49:29 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
dt
a2cadd1b8e Fixes: One last try to fix the loading problem.
Details:  Depend on libQtSvg and libQtDBus, so that our version gets
loaded.
2008-12-16 14:37:23 +01:00
dt
bb93e7e010 Fixes: Fix RUNPATH at last. 2008-12-16 12:33:11 +01:00
dt
99ab551d6c Fixes: Nothing, adds a blank line.
Details:  Force a recompile of the binary.
2008-12-15 17:35:26 +01:00
con
7239d03ee7 Fixes: - Make plugin load order a bit more deterministic
Details:  - It will still change if the dependencies change, there's no
way to avoid that though.
2008-12-11 11:26:42 +01:00
hjk
5b3e95fe77 tiny whitespace 2008-12-05 18:29:19 +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