Skip to content
Snippets Groups Projects
  1. Jan 08, 2014
  2. Nov 18, 2013
    • Eike Ziller's avatar
      Fix painting of search results · b4b065d8
      Eike Ziller authored
      
      Painting the highlighting was wrong, and it was worst for selected rows.
      The QItemDelegate::drawDisplay implementation also paints the
      highlighted background at the wrong position wrt to the text
      (PM_FocusFrameHMargin), so we now do all the highlights ourselves.
      
      Task-number: QTCREATORBUG-9838
      Change-Id: Iad68f114a984680e41aeb78d7c61a16651653213
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
      b4b065d8
  3. Nov 14, 2013
  4. Oct 10, 2013
  5. Oct 09, 2013
  6. Sep 26, 2013
  7. Sep 04, 2013
  8. Sep 02, 2013
    • Christian Kandeler's avatar
      Remove superfluous include paths from project files. · 72d17382
      Christian Kandeler authored
      
      A lot of our build system files specify unneeded include
      paths. These roughly fall into the following categories:
          a) Paths that are already set in more general files
             such as qtcreator.pri.
          b) Paths that serve no purpose at all, possibly
             left over from earlier versions of the project.
          c) Paths that act as workarounds for wrong include
             statements of the form '#include "xyz.h"', where
             xyz.h is not in the same directory as the including
            file.
      This patch removes such path specifications and fixes the offending
      include statements from case c).
      Tested on Linux, Windows and OSX with qmake and qbs.
      
      Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      72d17382
  9. Jul 17, 2013
  10. Jul 09, 2013
  11. Jun 20, 2013
  12. Jun 05, 2013
  13. May 29, 2013
  14. May 27, 2013
  15. May 23, 2013
  16. Apr 17, 2013
  17. Apr 11, 2013
  18. Apr 04, 2013
  19. Apr 03, 2013
  20. Apr 02, 2013
  21. Mar 20, 2013
  22. Mar 19, 2013
  23. Mar 14, 2013
  24. Mar 13, 2013
  25. Feb 21, 2013
  26. Feb 13, 2013
  27. Feb 06, 2013
  28. Jan 29, 2013
  29. Jan 17, 2013
  30. Jan 15, 2013
  31. Jan 11, 2013
  32. 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
Loading