1. 10 Jan, 2013 1 commit
  2. 09 Jan, 2013 1 commit
  3. 08 Jan, 2013 2 commits
    • Orgad Shaneh's avatar
      Git: Force showing untracked files if needed · 7bd95a4f
      Orgad Shaneh authored
      
      
      Might be disabled by configuration. Override it.
      
      Change-Id: I262c5c34a840811b635b460c7759f4cfbe93ded6
      Reviewed-by: default avatarThorbjørn Lindeijer <bjorn@lindeijer.nl>
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
      7bd95a4f
    • 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
  4. 07 Jan, 2013 2 commits
  5. 30 Dec, 2012 3 commits
  6. 29 Dec, 2012 1 commit
  7. 23 Dec, 2012 1 commit
  8. 12 Dec, 2012 1 commit
  9. 11 Dec, 2012 2 commits
  10. 30 Nov, 2012 7 commits
  11. 28 Nov, 2012 1 commit
  12. 16 Nov, 2012 2 commits
  13. 08 Nov, 2012 1 commit
  14. 07 Nov, 2012 1 commit
  15. 29 Oct, 2012 1 commit
  16. 23 Oct, 2012 1 commit
  17. 22 Oct, 2012 1 commit
  18. 05 Oct, 2012 1 commit
  19. 26 Sep, 2012 1 commit
  20. 05 Sep, 2012 1 commit
  21. 27 Aug, 2012 1 commit
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      
      
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  22. 03 Aug, 2012 1 commit
  23. 26 Jul, 2012 1 commit
  24. 19 Jul, 2012 3 commits
  25. 18 Jul, 2012 2 commits