1. 28 Feb, 2017 1 commit
  2. 23 Feb, 2017 1 commit
  3. 03 Feb, 2016 1 commit
  4. 19 Jan, 2016 1 commit
  5. 05 Aug, 2015 1 commit
  6. 12 Jun, 2015 1 commit
  7. 16 Apr, 2015 1 commit
  8. 29 Jan, 2015 1 commit
  9. 16 Jan, 2015 1 commit
  10. 12 Jan, 2015 1 commit
  11. 07 Jan, 2015 1 commit
  12. 09 Oct, 2014 1 commit
  13. 25 Aug, 2014 1 commit
  14. 13 Feb, 2014 1 commit
  15. 14 Jan, 2014 1 commit
  16. 08 Jan, 2014 1 commit
  17. 03 Apr, 2013 1 commit
  18. 29 Jan, 2013 1 commit
  19. 18 Jan, 2013 1 commit
  20. 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
  21. 05 Oct, 2012 1 commit
  22. 19 Jul, 2012 1 commit
  23. 16 May, 2012 1 commit
  24. 15 Feb, 2012 1 commit
  25. 09 Feb, 2012 1 commit
  26. 26 Jan, 2012 1 commit
  27. 03 Nov, 2011 1 commit
  28. 06 May, 2011 1 commit
  29. 13 Apr, 2011 1 commit
  30. 28 Mar, 2011 1 commit
    • con's avatar
      Fix progress bar for searching in files. · 01dd85bc
      con authored
      Affects e.g. Advanced Find->All Projects. Progress bar was not updating
      at all, except at the end of the search.
      The fix is a workaround for regression in
      QFutureInterface::isProgressUpdateNeeded that would no longer return
      true the very first time in Qt 4.7. To be reverted when this is fixed
      in a released Qt version.
      
      Reviewed-by: dt
      01dd85bc
  31. 12 Jan, 2011 2 commits
  32. 17 Dec, 2010 1 commit
  33. 24 Jun, 2010 1 commit
    • con's avatar
      Use iterator instead of collecting all the files to search beforehand. · e8c0c789
      con authored
      Especially for the file system filter, it's better not to block while
      collecting all the file names by first iterating over the file system.
      Now, the filters return an iterator, and the search thread takes a file
      from it, searches it, and takes the next file.
      
      This also unifies the file iterator for the custom locator filters and
      the find in files on file system search filter.
      
      Task-number: QTCREATORBUG-1690
      e8c0c789
  34. 07 Jun, 2010 1 commit
  35. 14 May, 2010 1 commit
  36. 24 Mar, 2010 1 commit
  37. 05 Mar, 2010 1 commit
  38. 01 Feb, 2010 1 commit
  39. 16 Oct, 2009 1 commit