Skip to content
Snippets Groups Projects
  1. Jul 09, 2013
  2. Jun 11, 2013
  3. Jun 04, 2013
  4. Jun 03, 2013
  5. May 21, 2013
  6. May 02, 2013
  7. Apr 15, 2013
    • Lorenz Haas's avatar
      Bookmarks: Fix loose bookmarks while loading file · 462bda61
      Lorenz Haas authored
      
      The problem was, that while loading saved bookmarks, updateBookmark()
      was called which automatically called saveBookmarks() even if the
      pointer of the new bookmark was not put into m_bookmarksList. Thus the
      bookmark was deleted.
      
      Task-number: QTCREATORBUG-9116
      Change-Id: I9cbdfc854e2bfa0dc448d96233ca76ee62417fe2
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      462bda61
  8. Apr 11, 2013
  9. Apr 03, 2013
  10. Apr 02, 2013
  11. Mar 27, 2013
  12. Feb 06, 2013
  13. Jan 29, 2013
  14. Jan 16, 2013
  15. Jan 11, 2013
  16. 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
  17. Nov 27, 2012
  18. Oct 09, 2012
  19. Oct 05, 2012
  20. Oct 03, 2012
  21. Oct 02, 2012
  22. Oct 01, 2012
  23. Sep 24, 2012
  24. Jul 30, 2012
  25. Jul 19, 2012
  26. Jun 19, 2012
  27. Jun 05, 2012
  28. May 27, 2012
  29. May 25, 2012
  30. May 23, 2012
  31. May 11, 2012
  32. May 03, 2012
  33. Apr 10, 2012
  34. Apr 05, 2012
  35. Mar 08, 2012
Loading