Skip to content
Snippets Groups Projects
  1. Nov 22, 2013
  2. Oct 15, 2013
  3. Oct 02, 2013
  4. Oct 01, 2013
  5. Sep 20, 2013
  6. Sep 09, 2013
    • Erik Verbruggen's avatar
      C++: clean-up CppCompletionAssist. · b4a1bd41
      Erik Verbruggen authored
      
      This is step 1 of 2 for merging the various provider factories into a
      single class. Merging has the advantage that selecting based on editor
      (content) mime-type only has to select one class, instead of re-doing
      the selection for each class separately.
      
      Change-Id: I11f815151bd4769ae6028b636793d6a80d02e202
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      b4a1bd41
  7. Sep 03, 2013
  8. Aug 22, 2013
  9. Aug 01, 2013
  10. Jul 31, 2013
  11. Jul 25, 2013
  12. Jul 18, 2013
  13. Jul 17, 2013
  14. Jul 09, 2013
  15. Jun 18, 2013
    • Przemyslaw Gorszkowski's avatar
      C++: add support for local types · 68d6a762
      Przemyslaw Gorszkowski authored
      
      This change addes support for class, enum definition inside blocks({}) or
      functions, e.g.:
      void f()
      {
      	struct S
      	{
      		int bar;
      	};
      	S s;
      	s.bar;
      }
      
      It fixes:
      * code completion
      * highlighting
      * follow symbol
      * marking
      * find usages
      
      It fixes also problem with namespace aliases inside blocks or functions.
      
      This change can have also impact on performance(there are additional processing)
      
      Task-number: QTCREATORBUG-166 (namespace aliases inside function/block)
      Task-number: QTCREATORBUG-3620
      Task-number: QTCREATORBUG-6013
      Task-number: QTCREATORBUG-8020
      Change-Id: Iaea6c6dfe276f1d7b2279b50bdd2e68e375d31eb
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      68d6a762
  16. Jun 11, 2013
  17. May 03, 2013
  18. Apr 26, 2013
  19. Apr 19, 2013
  20. Apr 10, 2013
  21. Apr 03, 2013
  22. Mar 19, 2013
  23. Mar 15, 2013
  24. Mar 12, 2013
  25. Feb 21, 2013
  26. Jan 30, 2013
  27. Jan 29, 2013
  28. Jan 21, 2013
  29. Jan 14, 2013
  30. 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
  31. Dec 04, 2012
  32. Nov 22, 2012
  33. Nov 20, 2012
  34. Oct 31, 2012
  35. Oct 17, 2012
  36. Oct 15, 2012
Loading