Skip to content
Snippets Groups Projects
  1. Jan 14, 2014
  2. Jan 08, 2014
  3. Nov 01, 2013
  4. Oct 17, 2013
  5. Oct 09, 2013
  6. Sep 13, 2013
  7. Sep 05, 2013
  8. Sep 03, 2013
  9. Aug 30, 2013
  10. Jul 31, 2013
  11. Jul 09, 2013
  12. Jun 11, 2013
  13. Jun 04, 2013
  14. Jun 03, 2013
  15. May 21, 2013
  16. May 02, 2013
  17. 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
  18. Apr 11, 2013
  19. Apr 03, 2013
  20. Apr 02, 2013
  21. Mar 27, 2013
  22. Feb 06, 2013
  23. Jan 29, 2013
  24. Jan 16, 2013
  25. Jan 11, 2013
  26. 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
  27. Nov 27, 2012
  28. Oct 09, 2012
  29. Oct 05, 2012
  30. Oct 03, 2012
  31. Oct 02, 2012
  32. Oct 01, 2012
  33. Sep 24, 2012
  34. Jul 30, 2012
Loading