1. 16 Jan, 2013 1 commit
  2. 15 Jan, 2013 3 commits
  3. 14 Jan, 2013 4 commits
  4. 11 Jan, 2013 5 commits
  5. 10 Jan, 2013 2 commits
  6. 09 Jan, 2013 1 commit
  7. 08 Jan, 2013 6 commits
    • Francois Ferrand's avatar
      C++: fix constructor definition parsing. · 5e8c3f4b
      Francois Ferrand authored
      
      
      When a constructor is defined with a single, unnamed argument of a custom type without
      extra type specifiers (const...), then the constructor was not identified as such.
      There was an heuristic in case the constructor was in the class definition, but not if the
      the constructor was defined later.
      
      Examples:
      
      class Arg;
      class Other;
      
      class Foo {
        Foo(Arg /*arg*/);               // working
        Foo(const Arg /*arg*/);         // working
        Foo(int /*arg*/);               // working
        Foo(Other /*arg*/)         {}   // working
      };
      
      Foo::Foo(Arg /*arg*/)        {}   // used not to work, fixed
      Foo::Foo(Arg arg){}               // working
      Foo::Foo(const Arg /*arg*/)  {}   // working
      Foo::Foo(int arg)            {}   // working
      
      Change-Id: I741e4ba62672ddc99a837fdcdc27996fba5ae6c7
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      5e8c3f4b
    • Christian Kandeler's avatar
      Introduce new plugin attribute "disabledByDefault". · 110f0d8a
      Christian Kandeler authored
      
      
      A plugin might be disabled by default for other reasons than being
      experimental, e.g. because it is not expected to be needed by the
      average user. This is probably becoming more relevant the more plugins
      are added, since we want to keep the start-up time reasonable.
      
      Change-Id: I87927596d5c78e14793c5e8d6f0548eff6b58d59
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      110f0d8a
    • Christian Stenger's avatar
      Compile fix for Win · 88052bc4
      Christian Stenger authored
      
      
      Change-Id: I486caa6d2c141067e2ef098c1d78b8a36761568d
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      88052bc4
    • Christian Kandeler's avatar
      Revert "SSH: Work around issue with dynamic_cast." · 869a51fd
      Christian Kandeler authored
      This reverts commit 6f7ce3f4
      
      .
      The workaround turned out to be incomplete and has therefore
      been superseded.
      
      Change-Id: Ic60cd810f72ca833c1725024d2816baf5ce47372
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      869a51fd
    • Orgad Shaneh's avatar
      Fix compiler warning · 050dbabd
      Orgad Shaneh authored
      
      
      pFlags might be used uninitialized
      
      Change-Id: I78b308c9894797ca6258c82cab9d8dffab7e47bb
      Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
      050dbabd
    • 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
  8. 07 Jan, 2013 1 commit
  9. 04 Jan, 2013 2 commits
  10. 03 Jan, 2013 2 commits
  11. 29 Dec, 2012 3 commits
  12. 28 Dec, 2012 2 commits
  13. 21 Dec, 2012 1 commit
  14. 20 Dec, 2012 4 commits
  15. 14 Dec, 2012 2 commits
  16. 13 Dec, 2012 1 commit