1. 27 Mar, 2014 1 commit
  2. 08 Jan, 2014 1 commit
  3. 26 Aug, 2013 1 commit
  4. 22 Aug, 2013 2 commits
  5. 09 Apr, 2013 1 commit
  6. 05 Apr, 2013 1 commit
  7. 29 Jan, 2013 1 commit
  8. 08 Jan, 2013 1 commit
    • 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
  9. 28 Nov, 2012 1 commit
  10. 05 Oct, 2012 1 commit
  11. 21 Sep, 2012 1 commit
  12. 19 Jul, 2012 1 commit
  13. 17 Apr, 2012 1 commit
  14. 05 Mar, 2012 1 commit
  15. 15 Feb, 2012 1 commit
  16. 26 Jan, 2012 1 commit
  17. 03 Nov, 2011 1 commit
  18. 06 May, 2011 1 commit
  19. 13 Apr, 2011 1 commit
  20. 12 Jan, 2011 2 commits
  21. 17 Dec, 2010 1 commit
  22. 20 Aug, 2010 1 commit
    • Friedemann Kleint's avatar
      CodePaster: Do better checking on hosts. · 94babbd9
      Friedemann Kleint authored
      Do an initial connection check on the host
      (once per host). Add utility function to
      NetworkProtocol, displaying connection check
      message box.
      Move the 'Paste' handling into the PasteView
      dialog, such that the checking happens there
      and the dialog stays open if something fails.
      
      Task-number: QTCREATORBUG-2117
      94babbd9
  23. 08 Apr, 2010 1 commit
  24. 30 Mar, 2010 1 commit
  25. 29 Mar, 2010 1 commit
    • Friedemann Kleint's avatar
      CPaster: Revive pastebin.com · 6903f13b
      Friedemann Kleint authored
      -Pass simplified type based on mimetype to paste for highlighting.
      -Remove QHttp from CodePaster and pastebin.com in favour of QNetwork.
      -Implement new pastebin.com protocol
      -Implement listing via parsing the HTML-page for pastebin.com
      6903f13b
  26. 26 Mar, 2010 1 commit
    • Friedemann Kleint's avatar
      Some love for the Cpaster plugin · 10809cdd
      Friedemann Kleint authored
      - Put classes into namespace.
      - Fix settings not storing the selected protocol.
      - Refactor settings by introducing standard handling.
      - Create PasteSelectDialog class and fix list/refresh handling.
      - No longer stuff the QListWidget into the protocol for listing, wire
      via signals.
      10809cdd
  27. 24 Mar, 2010 1 commit
  28. 05 Mar, 2010 1 commit
  29. 14 Aug, 2009 1 commit
  30. 31 Jul, 2009 2 commits
  31. 27 Jul, 2009 1 commit
    • Maurice Kalinowski's avatar
      refactor and add support for pastebin.com · 3629e091
      Maurice Kalinowski authored
      - created protocol class as basis for different paste servers
      - removed custom classes and replaced functionality with
        simple QHttp* usage
      - removed poster and fetcher classes copied from cpaster
        application. It not getting updated anyways in creator
      - Known issue: Listing does not update, when user changes
        protocol
      - TODO: add pastebin.ca support. Code is done already, just
        needs to be placed inside plugin.
      3629e091