1. 03 Sep, 2013 1 commit
  2. 23 Aug, 2013 1 commit
  3. 27 Mar, 2013 1 commit
  4. 18 Mar, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 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
          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
  7. 05 Oct, 2012 1 commit
  8. 02 Oct, 2012 1 commit
  9. 13 Sep, 2012 1 commit
  10. 07 Sep, 2012 1 commit
  11. 27 Aug, 2012 1 commit
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  12. 19 Jul, 2012 1 commit
  13. 17 Jul, 2012 1 commit
  14. 19 Apr, 2012 1 commit
  15. 21 Mar, 2012 1 commit
  16. 15 Feb, 2012 1 commit
  17. 10 Feb, 2012 1 commit
    • Leandro Melo's avatar
      Improve code-assist API isSortable · 70b64280
      Leandro Melo authored
      Now IGenericProposalModel::isSortable also takes the current prefix
      as a parameter. This is particularly useful for cases like in the C++
      completion: For global completions it will only sort if there's
      already a content prefix - Notice, however, that the "sorting threshold"
      for a maximum number of items is still kept in IGenericProposalModel::sort.
      
      Task-number: QTCREATORBUG-6404
      Change-Id: I3c2f282aa565287b8b4989930b6a27093862ef25
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      70b64280
  18. 26 Jan, 2012 2 commits
  19. 03 Nov, 2011 1 commit
  20. 19 Sep, 2011 1 commit
  21. 24 Jun, 2011 2 commits
  22. 22 Jun, 2011 2 commits
  23. 21 Jun, 2011 1 commit
  24. 26 May, 2011 1 commit
  25. 20 May, 2011 3 commits
  26. 18 May, 2011 1 commit
    • Leandro Melo's avatar
      New code assist API · bec4f024
      Leandro Melo authored
      This is a re-work of our completion engine. Primary goals are:
      
      - Allow the computation to run in a separate thread so the GUI is not locked.
      - Support a model-based approach. QStrings are still needed (filtering, etc), but
      internal structures are free to use more efficient representations.
      - Unifiy all kinds of *assist* into a more reusable and extensible framework.
      - Remove unnecessary dependencies on the text editor so we have more generic
      and easily "plugable" components (still things to be resolved).
      bec4f024