1. 30 Jan, 2013 1 commit
  2. 28 Jan, 2013 1 commit
  3. 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
  4. 26 Dec, 2012 1 commit
  5. 16 Nov, 2012 1 commit
  6. 25 Oct, 2012 1 commit
  7. 18 Oct, 2012 1 commit
  8. 11 Oct, 2012 1 commit
  9. 05 Oct, 2012 1 commit
  10. 07 Sep, 2012 1 commit
  11. 06 Sep, 2012 1 commit
  12. 04 Sep, 2012 1 commit
    • Tobias Hunger's avatar
      s/profile/kit/ · 8ba422d0
      Tobias Hunger authored
      
      
      * Rename profiles to kits.
      * Update some strings:
         * projects mode has a Kits tab, not a Targets tab.
         * " Settings" was dropped from the sub-tabs of the Kits tab
         * menu entry "Build/Open Build/Run Target Selector" was renamed
           to "Build/Open Build and Run Kits Selector".
         * Use "Kit" instead of "Target" in miniprojecttargetselector.
           (The class was not renamed as it does indeed select targets,
            not kits)
      
      Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314
      Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
      8ba422d0
  13. 26 Jul, 2012 1 commit
    • hjk's avatar
      madde/qnx/remotelinux: adjust after profile changes · b906360a
      hjk authored
      
      
      More Profile use, less dependency on QtSupport,
      Derive qtVersionId from profile instead of qt build configuration.
      Replace qt4BuildConfiguration with buildConfiguration.
      Use IDevice base class in AbstractRemoteLinuxApplicationRunner
      and in other places.  Simplify remote linux runconfiguration
      
      Change-Id: I6414d3d8146d16c360b3a0465c57a052ea71f899
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
      b906360a
  14. 16 Jul, 2012 1 commit
  15. 13 Jul, 2012 1 commit