1. 28 Jul, 2017 1 commit
  2. 27 Jul, 2017 1 commit
  3. 25 Jul, 2017 1 commit
  4. 27 Feb, 2017 1 commit
    • Eike Ziller's avatar
      Move mimetype definitions to plugin specs · d64e17ad
      Eike Ziller authored
      
      
      - Avoids the hassle of QRC files and manually registering mime types
      - Avoids performance regressions because of mime types that are
        registered after mime database has been used
      - Makes it technically possible to detect that a disabled plugin could
        handle a mime type if it was enabled
      
      Change-Id: I373008b1b56e9c6b4853055f20b3eeb112a6eff9
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
      Reviewed-by: default avatarhjk <hjk@qt.io>
      d64e17ad
  5. 09 Jan, 2017 1 commit
    • Eike Ziller's avatar
      Support 'hidden' plugins · 284fa63b
      Eike Ziller authored
      
      
      Plugins can be hidden in the "About Plugins" view by default. Users can
      still make them all visible, but the default view can be made less noisy
      by hiding plugins that only exist as a base for other plugins.
      Plugins that can not run on the current platform are hidden by default
      as well.
      
      Change-Id: Iaf2f751c4ea4b3afc605bbbea6611eea042e62c7
      Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
      Reviewed-by: default avatarhjk <hjk@qt.io>
      284fa63b
  6. 04 Jan, 2017 1 commit
  7. 24 Jun, 2016 2 commits
  8. 23 Jun, 2016 1 commit
  9. 19 Jan, 2016 1 commit
  10. 17 Jun, 2015 1 commit
    • Jarek Kobus's avatar
      Properly delete plugins dependent on failed plugin · 68426717
      Jarek Kobus authored
      
      
      Init all class member pointers to NULL.
      This fixes possible crash on exit when dependent
      plugin was not loaded (e.g. TextEditor was missing).
      In this case plugin's constructor gets called,
      initialize() method is _not_ called
      and destructor gets called -> crash.
      
      Properly delete dependent plugins on
      a plugin which failed to initialize properly.
      
      Fix labels of deleted plugins inside an error dialog
      after pressing "Error Details" from "Installed Plugins"
      dialog.
      
      Change-Id: Iddc029a0f07dcba2501d734d142fb0e69e9383d3
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      68426717
  11. 16 Jun, 2015 1 commit
  12. 01 Apr, 2015 2 commits
    • Eike Ziller's avatar
      PluginManager: Behave more like a package manager · 33a5e7d8
      Eike Ziller authored
      
      
      Instead of implicitly disabling plugins if their dependencies are
      disabled, implicitly enable plugins if some enabled plugin needs it.
      That will avoid issues if people disable plugins (e.g. QmlJSTools et al)
      and we later add one of these as a dependency to another plugin (e.g.
      make QmakeProjectManager depend on QmlJSTools), which resulted in the
      previously enabled plugin being implicitly disabled.
      
      Enabling a plugin in About Plugins now asks for all required
      dependencies to be enabled as well.
      Disabling a plugin in About Plugins now asks for disabling all plugins
      that require it.
      Using the -noload command line option now disables all plugins that
      require it in addition.
      Using the -load command line option now implicitly enables all plugins
      that are required.
      Multiple -noload and -load options are handled in the order given on the
      command line.
      
      Task-number: QTCREATORBUG-9131
      Change-Id: I0956106105060a7898a8992e0629009d5ec3ea4d
      Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
      33a5e7d8
    • Eike Ziller's avatar
      PluginSpec: Naming and encapsulation improvements · d456fd0b
      Eike Ziller authored
      
      
      Prefer enabled state as a property as opposed to disabled state, and
      make setter correspond to getter. Also move setters into private.
      
      Change-Id: I5d002a12f4e540d5b38cc5865490d056ec75f296
      Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
      d456fd0b
  13. 24 Mar, 2015 1 commit
  14. 06 Feb, 2015 1 commit
    • Orgad Shaneh's avatar
      Misc: Remove unneeded qualifications · 74ed591d
      Orgad Shaneh authored
      
      
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I919da493d0629b719d328e5e71c96a29d230dfd1
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
      Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
      74ed591d
  15. 16 Jan, 2015 1 commit
  16. 15 Jan, 2015 2 commits
  17. 09 Oct, 2014 1 commit
  18. 02 Sep, 2014 1 commit
  19. 27 Aug, 2014 1 commit
  20. 04 Jul, 2014 1 commit
  21. 03 Jul, 2014 1 commit
  22. 22 Apr, 2014 1 commit
  23. 08 Jan, 2014 1 commit
  24. 10 Oct, 2013 1 commit
  25. 09 Sep, 2013 1 commit
  26. 05 Sep, 2013 1 commit
  27. 28 Aug, 2013 1 commit
  28. 20 Jun, 2013 1 commit
  29. 05 Jun, 2013 1 commit
  30. 19 Feb, 2013 1 commit
  31. 18 Feb, 2013 1 commit
  32. 29 Jan, 2013 1 commit
  33. 08 Jan, 2013 2 commits
    • Christian Kandeler's avatar
      Introduce new plugin attribute "disabledByDefault". · 110f0d8a
      Christian Kandeler authored
      
      
      A plugin might be disabled by default for other reasons than being
      experimental, e.g. because it is not expected to be needed by the
      average user. This is probably becoming more relevant the more plugins
      are added, since we want to keep the start-up time reasonable.
      
      Change-Id: I87927596d5c78e14793c5e8d6f0548eff6b58d59
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      110f0d8a
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      
      
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  34. 28 Nov, 2012 1 commit
  35. 05 Oct, 2012 1 commit
  36. 06 Aug, 2012 1 commit