1. 28 Nov, 2014 - 3 commits
  2. 21 Nov, 2014 - 3 commits
  3. 18 Nov, 2014 - 2 commits
  4. 17 Nov, 2014 - 1 commit
  5. 13 Nov, 2014 - 2 commits
  6. 11 Nov, 2014 - 4 commits
  7. 10 Nov, 2014 - 4 commits
  8. 07 Nov, 2014 - 5 commits
  9. 06 Nov, 2014 - 2 commits
  10. 05 Nov, 2014 - 6 commits
  11. 04 Nov, 2014 - 4 commits
    • Fawzi Mohamed's avatar
      qv4: assign split edges to the correct loop group · 25b6fae1
      Fawzi Mohamed authored
      
      edge splitting had a strange logic to assign the inserted statement to a loop,
      which would go wrong for example for the statement just after the loop header.
      I guess that was done to increase the likelihood that the goto removed from the
      final instructions.
      Given that we are talking about critical edges it is always possible to emit
      them in a bad order, and I do not think that the old logic was really better
      than simply always use the loop group of the target which is always correct.
      It might be worthwhile to ensure that the block it is emitted just before the
      target block, or improve the handling of empty gotos in the backend, but in this
      patch we go for the simplest solution.
      If one would notice worse code, either one of the provious improvements could be
      done, or the old logic could be kept, changing just the if (container == 0) to
      container = toBB->containingGroup();
      
      Change-Id: I26a488e9e2cb2b692fa8187ee658fb4dd98bfa8b
      Task-number: QTBUG-41766
      Reviewed-by: default avatarBernd Lamecker <bernd.lamecker@basyskom.com>
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      25b6fae1
    • Liang Jian's avatar
      Fix memory leak in QQmlLocaleData · 6cbb84d2
      Liang Jian authored
      
      Call the correct destructor in QQmlLocaleData::destroy() to prevent memory
      leak.
      
      Change-Id: Id5b7657443521fbb46486bfbc5575d914c7c7b71
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      6cbb84d2
    • Eskil Abrahamsen Blomfeldt's avatar
      Fix disappearing nodes when adding in two levels of batch root · 326c4d80
      Eskil Abrahamsen Blomfeldt authored
      
      When having e.g. a clip node inside another clip node and adding
      children to the innermost, we would get into the situation where
      we did a partial rebuild for the outermost root, but its available
      render order count would not be updated to reflect the change
      deeper down in the tree. Since the z range would be based on the
      outermost batch root's knowledge of the maximum render order in
      the tree, what would happen is that the z of the rendered nodes
      would increase steadily until they went outside of the viewing
      volume and disappeared.
      
      When decreasing the available order count of a batch root, we need
      to also decrease the available order count of its parents. If any
      of them drop below zero, we need to rebuild the render lists.
      
      [ChangeLog][QtQuick] Fixed nodes sometimes disappearing when
      adding many new nodes to the tree.
      
      Change-Id: I39c34acf0e1e0e87601f0fcd983f8da38cee029f
      Task-number: QTBUG-42096
      Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
      326c4d80
    • Liang Jian's avatar
      Fix memory leak in QV4::QQmlSequence · c748f51f
      Liang Jian authored
      
      Use the correct destructor in QV4::QQmlSequence::destroy() to prevent
      memory leak
      
      Change-Id: If9531f731abe5cd9aecfb9642ebf4f5108978f99
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      c748f51f
  12. 03 Nov, 2014 - 1 commit
  13. 02 Nov, 2014 - 1 commit
  14. 31 Oct, 2014 - 2 commits
    • Thiago Macieira's avatar
      Don't use qDebug and qWarning for formatted output · be9c969b
      Thiago Macieira authored
      
      They are not meant to be used like that. If you want formatted output to
      the console, use stdio.h functions or std::cout. Otherwise, you get
      something like:
      
       $ qmlscene -h
       [233103.196] (126848)(usage|?qmlscene?|__libc_start_main|?qmlscene?): Usage: qmlscene [options] <filename>
       [233103.197] (126848)(usage|?qmlscene?|__libc_start_main|?qmlscene?):
       [233103.197] (126848)(usage|?qmlscene?|__libc_start_main|?qmlscene?):  Options:
       [233103.198] (126848)(usage|?qmlscene?|__libc_start_main|?qmlscene?):   --maximized ............................... Run maximized
       [...]
      
      I've replaced all qDebug with puts/printf and most qWarning with fprintf
      to stderr. In my opinion, some of the qWarnings aren't errors, so I
      replaced those with puts/printf too.
      
      Change-Id: I3e493950bc4a588059fec6c7441b010c2780dffd
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      be9c969b
    • Lars Knoll's avatar
      Get rid of !this and similar constructs · 0704d2be
      Lars Knoll authored
      
      The C++ standard doesn't allow calling member functions
      on a mull object. Fix all such places, by moving the checks
      to the caller where required.
      
      Change-Id: I10fb22acaf0324d8ffd3a6d8e19152e5d32f56bb
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      0704d2be