1. 14 Oct, 2014 1 commit
  2. 09 Oct, 2014 1 commit
  3. 30 Sep, 2014 1 commit
  4. 26 Sep, 2014 1 commit
  5. 23 Sep, 2014 1 commit
  6. 11 Sep, 2014 2 commits
  7. 10 Sep, 2014 1 commit
  8. 19 Jun, 2014 1 commit
  9. 18 Mar, 2014 1 commit
  10. 03 Mar, 2014 1 commit
  11. 27 Feb, 2014 1 commit
    • Tobias Hunger's avatar
      ProjectNodes: Do not try to sort directories not yet mapped · 60be34ee
      Tobias Hunger authored
      
      
      Do not try to sort directories that were not yet mapped into the
      FlatModel. This avoids an assert where QModelIndex is out of range
      (-1) because the data for that directory is not yet available in
      the model.
      
      Do not bother to map the data, just forget the request to sort in
      this case as the data will be sorted when it gets mapped anyway.
      
      Task-number: QBS-521
      Change-Id: I19de7513405e6a0b84c988a2a86f763e3135811d
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      60be34ee
  12. 20 Feb, 2014 1 commit
  13. 19 Feb, 2014 2 commits
  14. 18 Feb, 2014 1 commit
  15. 08 Jan, 2014 1 commit
  16. 13 Sep, 2013 1 commit
  17. 26 Aug, 2013 1 commit
  18. 10 Jun, 2013 1 commit
  19. 26 Mar, 2013 1 commit
  20. 01 Feb, 2013 1 commit
  21. 31 Jan, 2013 1 commit
  22. 29 Jan, 2013 1 commit
  23. 21 Jan, 2013 1 commit
  24. 08 Jan, 2013 1 commit
    • 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
  25. 04 Dec, 2012 1 commit
  26. 28 Nov, 2012 1 commit
  27. 16 Nov, 2012 1 commit
  28. 05 Oct, 2012 1 commit
  29. 20 Sep, 2012 1 commit
    • Christian Kandeler's avatar
      Do not use QAbstractItemModel::reset(). · 938612c3
      Christian Kandeler authored
      
      
      Change-Id: Ie49bdf576a6d3543aef6df133b27c8827775c935
      Rationale:
          a) It is conceptually cleaner to do the changes to the model
             in between calls to beginResetModel() and endResetModel,
             respectively.
          b) The function is deprecated in Qt 5, for exactly that reason.
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      938612c3
  30. 19 Jul, 2012 1 commit
  31. 23 May, 2012 1 commit
  32. 08 May, 2012 1 commit
    • Daniel Teske's avatar
      ProjectExplorer: Remove hack for virtual folders · e8ee8988
      Daniel Teske authored
      
      
      Previously virtual folders, that is the "Sources", "Headers" folders used a
      hack. This patch removes that hack, by introducing the following changes
      - The FlatModel and the ProjectExplorer::Nodes now don't require path() to
        be unique. Thus allowing the virtual folders to all return the same for
        path(). [1]
      
      - Introducing a new node type "VirtualFolder" which is sorted according to
        a priority.
      
      - Introducing a few new virtuals for displayName and toolip(), which can
        be overriden.
      
      [1] Note that all the project managers do require path() to be unique for
      some types of nodes.
      
      That also fixes:
      Task-number: QTCREATORBUG-7100
      
      Change-Id: I76b730f4c4254e2894467603bbe9a30e356a0bcc
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
      Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
      e8ee8988
  33. 17 Apr, 2012 2 commits
  34. 06 Mar, 2012 1 commit
  35. 15 Feb, 2012 1 commit
  36. 26 Jan, 2012 1 commit
  37. 03 Nov, 2011 1 commit