1. 06 Jan, 2014 1 commit
  2. 31 Jul, 2013 1 commit
  3. 16 Jul, 2013 2 commits
  4. 10 Jun, 2013 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.Rewriter: fixing encoding issue for Qt 4 · c64ae557
      Thomas Hartmann authored
      
      
      QString uses utf-16 internally. If we explicitly convert to utf-8
      and then use the QByteArray implicit constructor of QString again,
      Qt 4 will interpret the utf-8 encoded string as latin1.
      This results in a wrong string for everything that is not pure ASCII.
      
      With Qt 5 it works, since the assumed default encoding of QByteArray
      is utf-8. Still any conversion does not make sense.
      
      Task-number: QTCREATORBUG-9493
      Change-Id: Ifbaa4684e85d0ccd677956eeff88b4cc7d807922
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      c64ae557
  5. 30 Apr, 2013 1 commit
  6. 02 Apr, 2013 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.Model: Adding SignalHandlerProperty · bb1a76c0
      Thomas Hartmann authored
      
      
      SignalHandlerProperty allows editing convenient editing of signal
      handlers like onMousePress in the model.
      The interface is analogous to BindingProperty.
      
      Since mos views do not care about SignalHandlerProperties and
      they should not be mixed up with BindingProperties they are different
      types.
      
      I also added the signalHandlerPropertiesChanged() notifier to AbstractView.
      
      Change-Id: I68bc7d2c5d3b991944e8f8d698212a1dfef218bf
      Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
      bb1a76c0
  7. 25 Mar, 2013 3 commits
  8. 14 Mar, 2013 1 commit
  9. 12 Mar, 2013 1 commit
  10. 11 Mar, 2013 2 commits
  11. 05 Mar, 2013 1 commit
  12. 29 Jan, 2013 1 commit
  13. 23 Jan, 2013 1 commit
  14. 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
  15. 20 Dec, 2012 1 commit
  16. 28 Nov, 2012 1 commit
  17. 23 Oct, 2012 1 commit
  18. 05 Oct, 2012 1 commit
  19. 19 Jul, 2012 1 commit
  20. 26 Jan, 2012 1 commit
  21. 18 Nov, 2011 1 commit
  22. 08 Nov, 2011 1 commit
  23. 03 Nov, 2011 1 commit
  24. 08 Aug, 2011 2 commits
  25. 06 Jul, 2011 1 commit
  26. 29 Jun, 2011 1 commit
  27. 28 Jun, 2011 1 commit
  28. 08 Jun, 2011 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.model: refactoring for nodeSource · 7939c270
      Thomas Hartmann authored
      I changed customParserSource into nodeSource and use it also for
      components. This means we do not use auxiliaryData anymore with some magic
      __component_data identifier.
      To distinguish between CustumParserSource and ComponentSource I introduced
      the enum NodeSourceType.
      Also in this patch I added auxiliaryData in the creation of a node. This was useful
      for prototyping and will help with prototyping/testing in the future.
      
      Change-Id: I2152c26c0c767f869f7dce7209abf43f594fd2ad
      Reviewed-on: http://codereview.qt.nokia.com/399
      
      Reviewed-by: default avatarMarco Bubke <marco.bubke@nokia.com>
      7939c270
  29. 16 May, 2011 1 commit
  30. 06 May, 2011 2 commits
  31. 13 Apr, 2011 1 commit
  32. 30 Mar, 2011 1 commit
    • Thomas Hartmann's avatar
      QmlDesigner.copyNPase: fix for components · 4844ead3
      Thomas Hartmann authored
      Since the buffer for copy and paste has no proper
      representation in the project managment QmlJs::Check cannot
      handle components. For now we just turn of Check for this case, since
      we check the final document anyway.
      
      Reviewed-by: Kai Koehne
      4844ead3
  33. 18 Mar, 2011 1 commit
  34. 10 Feb, 2011 1 commit