Skip to content
Snippets Groups Projects
  1. Oct 14, 2013
  2. Oct 01, 2013
  3. Aug 21, 2013
  4. Aug 13, 2013
  5. Jul 22, 2013
  6. Jun 24, 2013
  7. May 28, 2013
  8. May 14, 2013
  9. May 02, 2013
  10. Apr 10, 2013
  11. Apr 08, 2013
  12. Apr 05, 2013
  13. Mar 26, 2013
  14. Mar 21, 2013
  15. Feb 20, 2013
  16. Jan 29, 2013
  17. 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
  18. Jan 01, 2013
    • Daniel Teske's avatar
      Use C++11 parsing mode for CMake, AutoTools and Generic project managers · f320426c
      Daniel Teske authored
      
      Those 3 project managers can't easily figure out the right mode for code
      parsing. The code we are parsing is predominantly C++98 code. But for
      those using C++98 toolchains having valid C++11 code not be marked as a
      error is probably not much of a problem, whereas the reverse, using a
      C++11 toolchain and having valid code being marked as a error is
      annoying.
      
      Change-Id: I8dcc172029045cf591b3ba0adef1585f3f94fd39
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      f320426c
  19. Nov 28, 2012
  20. Nov 21, 2012
  21. Nov 16, 2012
  22. Oct 05, 2012
  23. Sep 05, 2012
  24. 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
  25. Aug 24, 2012
    • Daniel Teske's avatar
      Remove evaluateBuildSystem signal · 36f6c02f
      Daniel Teske authored
      
      It adds almost nothing and introduced some bugs.
      This fixes:
      Double evaluation in cmakeproject on build directory changes.
      Wrong runconfiguration update in cmake for set_target_properties(target
      PROPERTIES OUTPUT_NAME [..]) changes.
      
      Unecessary runconfiguration removal in AutoTools and Generic projectmanager.
      
      Reevaluation of .pro files on changing the active runconfiguration or deploy
      configuration.
      
      Task-number: QTCREATORBUG-7723
      Task-number: QTCREATORBUG-7761
      
      Change-Id: I50249b186917cd3a4f399f187f09ac8428ab6f9e
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
      36f6c02f
  26. Aug 22, 2012
  27. Aug 13, 2012
  28. Jul 25, 2012
  29. Jun 21, 2012
    • Tobias Hunger's avatar
      Profile introduction · 24314562
      Tobias Hunger authored
      
      Introduce Profiles to store sets of values that describe a system/device.
      
      These profiles are held by a target, getting rid of much of the information
      stored in the Build-/Run-/DeployConfigurations, greatly simplifying those.
      
      This is a squash of the wip/profile branch which has been on gerrit for a
      while, rebased to current master.
      
      Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f
      Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
      24314562
  30. Jun 19, 2012
  31. Apr 25, 2012
  32. Apr 03, 2012
  33. Mar 16, 2012
  34. Mar 14, 2012
  35. Feb 21, 2012
  36. Feb 20, 2012
  37. Feb 16, 2012
    • Erik Verbruggen's avatar
      Supply c++11 flags and per-project info to c++ code model. · 3aab8bea
      Erik Verbruggen authored
      
      A manual squash/merge of the changes below, plus a couple of subsequent
      code fixes.
      
      59085aa5fbb99e2d786cd2c1a06c24a111ccb49f:
          Modify CppModel::ProjectInfo
      
          Adding per project node information, to pass on the correct
          defines/includes for each file, instead of aggregating them incorrectly.
      
          Also split up SOURCES and OBJECTIVE_SOURCES.
      
          Also ask the toolchain to convert the compilerflags to flags the
          codemodel understands, for now only gcc and only c++11.
      
          Also make the toolchain aware of the flags used to compile, so that it
          can emit the correct defines.
      
          Note: No header files are passed on.
      
      74028802314cd4e75b41b46407433e07090a304d:
          GCC: Evaluate cxxflags when checking for predefined macros
      
      ebaaa4957e4c02cc9637a998eddae1d0acd74f83:
          MSVC: Take cxxflags into account when checking for predefined macros
      
      9bfce7e889bcf7bcc47bf880e3ea25945ca7d0d7:
          Compile fixes
      
      Change-Id: I9de94ad038dfc5dc1987732e84b13fb4419c96f5
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@nokia.com>
      3aab8bea
Loading