Skip to content
Snippets Groups Projects
  1. Jun 03, 2013
  2. Feb 13, 2013
  3. Jan 30, 2013
  4. Jan 29, 2013
  5. Jan 28, 2013
  6. Jan 08, 2013
    • 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
  7. Dec 26, 2012
  8. Nov 16, 2012
  9. Oct 25, 2012
  10. Oct 18, 2012
  11. Oct 11, 2012
  12. Oct 05, 2012
  13. Sep 07, 2012
  14. Sep 06, 2012
  15. Sep 04, 2012
    • 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
  16. Jul 26, 2012
    • 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
  17. Jul 16, 2012
  18. Jul 13, 2012
Loading