Skip to content
Snippets Groups Projects
  1. Sep 02, 2013
    • Christian Kandeler's avatar
      Remove superfluous include paths from project files. · 72d17382
      Christian Kandeler authored
      
      A lot of our build system files specify unneeded include
      paths. These roughly fall into the following categories:
          a) Paths that are already set in more general files
             such as qtcreator.pri.
          b) Paths that serve no purpose at all, possibly
             left over from earlier versions of the project.
          c) Paths that act as workarounds for wrong include
             statements of the form '#include "xyz.h"', where
             xyz.h is not in the same directory as the including
            file.
      This patch removes such path specifications and fixes the offending
      include statements from case c).
      Tested on Linux, Windows and OSX with qmake and qbs.
      
      Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      72d17382
  2. Aug 28, 2013
  3. Aug 21, 2013
  4. Aug 19, 2013
  5. Aug 02, 2013
  6. Jul 01, 2013
  7. May 27, 2013
  8. Apr 25, 2013
  9. Apr 19, 2013
  10. Apr 18, 2013
  11. Apr 11, 2013
  12. Apr 05, 2013
  13. Mar 22, 2013
  14. Feb 20, 2013
  15. Feb 07, 2013
  16. Jan 29, 2013
  17. Jan 28, 2013
  18. 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
  19. Dec 20, 2012
  20. Nov 02, 2012
  21. Oct 05, 2012
  22. Sep 25, 2012
  23. Sep 18, 2012
  24. Sep 05, 2012
  25. 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
  26. Aug 23, 2012
    • Friedemann Kleint's avatar
      Debugger: Improve engine detection. · 78aa94c8
      Friedemann Kleint authored
      
      Remove the RunConfiguration parameter from guessCppEngineType()
      and use the DebuggerStartParameter::toolChainAbi only.
      
      Use fillParameter() to set the debugger command and toolchain
      in order to prevent mismatches.
      
      Add logic trying to figure out the profile to fillParameters()
      in case the profile passed in is 0 for the command line cases.
      
      Use CDB matcher for post mortem and Remote CDB, fix it to
      prefer 64bit CDB on 64bit OS.
      
      Change-Id: Icedc3883fe15660303060498ab609957e6d01cd1
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      78aa94c8
  27. Aug 16, 2012
  28. Aug 14, 2012
  29. Aug 13, 2012
  30. Aug 12, 2012
Loading