Skip to content
Snippets Groups Projects
  1. May 23, 2013
  2. Apr 17, 2013
  3. Apr 11, 2013
  4. Apr 04, 2013
  5. Apr 03, 2013
  6. Apr 02, 2013
  7. Mar 20, 2013
  8. Mar 19, 2013
  9. Mar 14, 2013
  10. Mar 13, 2013
  11. Feb 21, 2013
  12. Feb 13, 2013
  13. Feb 06, 2013
  14. Jan 29, 2013
  15. Jan 17, 2013
  16. Jan 15, 2013
  17. Jan 11, 2013
  18. Jan 08, 2013
    • David Schulz's avatar
      Editor: Fixed endless loop in BaseTextFind · a7323614
      David Schulz authored
      
      ...when trying to replace some regular expressions that could result in
      empty search results like ^, $ or \b.
      
      Task-number: QTCREATORBUG-8464
      Change-Id: I91a304d3609c3ec20437c698d53e6a1819dfb924
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      a7323614
    • 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
  19. Dec 14, 2012
  20. Dec 12, 2012
  21. Nov 28, 2012
  22. Nov 27, 2012
  23. Nov 16, 2012
    • David Schulz's avatar
      Editor: Fix infinite loop in BaseTextFind · abddfe7b
      David Schulz authored
      
      Searching in a blockselection for the regular expressions
      start of line '^' or line end '$' results in an infinite loop.
      
      Only occures when the blockselection didn't contain the searched
      regular expression.
      
      Task-number: QTCREATORBUG-8159
      Change-Id: I36412387ecce381300b75d0cd0a452ce5bf1094e
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      abddfe7b
  24. Nov 13, 2012
  25. Nov 09, 2012
  26. Oct 05, 2012
  27. Oct 03, 2012
  28. Sep 20, 2012
    • Christian Kandeler's avatar
      Do not use QAbstractItemModel::reset(). · 938612c3
      Christian Kandeler authored
      
      Change-Id: Ie49bdf576a6d3543aef6df133b27c8827775c935
      Rationale:
          a) It is conceptually cleaner to do the changes to the model
             in between calls to beginResetModel() and endResetModel,
             respectively.
          b) The function is deprecated in Qt 5, for exactly that reason.
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      938612c3
  29. Sep 13, 2012
  30. Sep 10, 2012
  31. Aug 30, 2012
  32. Aug 27, 2012
    • 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
Loading