1. 18 Jun, 2014 3 commits
  2. 17 Jun, 2014 35 commits
  3. 16 Jun, 2014 2 commits
    • Daniel Teske's avatar
      ProjectExplorer: Fix comparing priorities · 6d2d3ab5
      Daniel Teske authored
      Makes test_modelmanager_extraeditorsupport_uiFiles pass again. Before, a
      "CMake Wizard" dialog blocked the auto test due to the wrong
      comparisons.
      
      The std::max_element function takes a less predicate. Thus the right way
      to find e.g. highest int in a vector is:
      std::max_element(..., std::less<>) or
      std::min_element(..., std::greater<>)
      
      Both variants are confussing to read. Instead of provinding
      Utils::maxElementOr provide a bestElementOr which leads to this code:
      bestElementOr(..., std::greater<>).
      
      Change-Id: Ic30f0d742c03170b28227f60d3a5ae00e40fdf5a
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      6d2d3ab5
    • Christian Kamm's avatar
      C++11: Fix parsing of expressions like vector<int>{1}. · e85c6f4b
      Christian Kamm authored
      The parser considers '{' an operator and thus thought
      "template-id {" couldn't possibly be valid. This patch adds
      '{' as an exception to the rule.
      
      Change-Id: I40730fcdc5cade48566b4c8b6fde390f455bbdba
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      e85c6f4b