Skip to content
Snippets Groups Projects
  1. Apr 11, 2013
  2. Apr 03, 2013
  3. Apr 02, 2013
  4. Mar 15, 2013
  5. Mar 14, 2013
  6. Feb 12, 2013
  7. Feb 11, 2013
  8. Feb 07, 2013
  9. Jan 29, 2013
  10. Jan 18, 2013
  11. Jan 17, 2013
  12. Jan 16, 2013
  13. Jan 11, 2013
  14. 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
  15. Dec 29, 2012
  16. Dec 17, 2012
  17. Dec 10, 2012
    • Michael Brüning's avatar
      Correct the setup of HelpNetworkReply. · 3271af92
      Michael Brüning authored
      
      Resources addressed as urls in offline css files were not loaded
      (e.g. breadcrumb icons) due to the base url not being setup and
      therefore defaulting to the main page, when it should have been
      set to the url of the corresponding style sheet to make relative
      urls work correctly.
      
      This also eliminates the need for the workaround introduced earlier.
      
      Task-number: QTCREATORBUG-8211
      
      Change-Id: Icf365781544255e322259262ea6a19a0b1dc7a25
      modified:   src/plugins/help/helpviewer_qwv.cpp
      Reviewed-by: default avatarKarsten Heimrich <karsten.heimrich@digia.com>
      (cherry picked from commit b5bfb815)
      Reviewed-by: default avatarMichael Bruning <michael.bruning@digia.com>
      3271af92
  18. Dec 01, 2012
    • Kai Koehne's avatar
      (Hopefully) fix compilation with Qt5/Mac · 61f01c87
      Kai Koehne authored
      
      Compilation on mac with latest qt5 fails with
      
         fatal error: 'QWebSettings' file not found
      
      The compiler call adds "include/QtWebKitWidgets" to include path,
      not "include/QtWebKit" . This might be a qmake related issue on mac.
      Attempt to fix it by adding an explicit webkit dependency.
      
      Change-Id: I032dd4dda7371a8d477f8544b0ba0004856f3d76
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      61f01c87
  19. Nov 28, 2012
  20. Nov 27, 2012
  21. Nov 23, 2012
  22. Oct 22, 2012
  23. Oct 19, 2012
  24. Oct 08, 2012
  25. Oct 05, 2012
  26. Oct 04, 2012
  27. Oct 03, 2012
  28. Oct 01, 2012
  29. Sep 25, 2012
  30. Sep 21, 2012
  31. Sep 20, 2012
Loading