1. 01 Feb, 2013 2 commits
  2. 30 Jan, 2013 5 commits
  3. 29 Jan, 2013 5 commits
  4. 24 Jan, 2013 6 commits
  5. 23 Jan, 2013 1 commit
  6. 22 Jan, 2013 1 commit
  7. 21 Jan, 2013 1 commit
  8. 18 Jan, 2013 2 commits
    • hjk's avatar
      Core: simplify ILocator interface · baffa492
      hjk authored
      Use data members instead of virtual functions for id, displayName and
      priority, use Core::Id, not QStrings for id, de-pimpl CommandLocator.
      Change-Id: Id8b41f184cb995138b2d76c923d6d3ae02b7e3f5
      Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
    • Erik Verbruggen's avatar
      C++: add include-guard tracking. · dada2614
      Erik Verbruggen authored
      Track the typical #ifndef/#define/#endif usage in header files to see if
      the macro is an include guard. If so, store it in the Document. No
      behavioural change, just recording the name.
      This can be used in the future to track if a file needs to be re-parsed
      when a macro changes: if it was used in the file, and not defined in it
      nor being the include-guard, a file should be re-preprocessed and
      It can also be used to check if two files have the same include guard.
      Change-Id: I2715f529997a7b24a11bdbc6150652e2669f1a46
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
  9. 17 Jan, 2013 2 commits
  10. 16 Jan, 2013 1 commit
  11. 14 Jan, 2013 1 commit
  12. 11 Jan, 2013 2 commits
    • Petar Perisin's avatar
      Editor: Allow to open links in a new split. · 39e9c5ef
      Petar Perisin authored
      This changes current behavior while opening links. Link is now opened in
      next split by default. If you use CTRL+Click to open links, it will also
      open in next split. However, by using CTRL+ALT+click it will open in
      current split.
      There are two new checkboxes in Tools/Options/Text Editor/Display:
      - "Open Links in New Split" - if it is checked, links will not be opened
      in current split. However, if document with link is already opened, it
      will be used to open the split
      - "Force open links in next split" - Links will always open in next
      split, even if their document is already opened somewhere else.
      Task-number: QTCREATORBUG-8117
      Change-Id: Ib99075b55d9e9683ed2c2386767227457de0a3fc
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
    • hjk's avatar
      C++: pass #include_next down to CppPreprocessor::tryIncludeFile · b934cc19
      hjk authored
      This does not yet resolve the file using the proper mechanism.
      Change-Id: I04913e8b01ae0c3411961f0c1cffe07202f06a0a
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
  13. 08 Jan, 2013 1 commit
    • 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.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
  14. 07 Jan, 2013 1 commit
  15. 04 Jan, 2013 2 commits
  16. 01 Jan, 2013 1 commit
    • 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
      Change-Id: I8dcc172029045cf591b3ba0adef1585f3f94fd39
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
  17. 29 Dec, 2012 2 commits
  18. 20 Dec, 2012 3 commits
  19. 14 Dec, 2012 1 commit