Skip to content
Commits on Oct 27, 2011
  1. @mgehre

    Merge pull request #143 from diocles/bug/880391

    Check that m_sys->currentVm is not NULL in mouse handlers.
    mgehre committed Oct 26, 2011
Commits on Oct 26, 2011
  1. @mgehre
  2. @mgehre
  3. @mgehre
  4. @mgehre
  5. @mgehre
  6. @mgehre

    codesynt: add callproplex opcode

    mgehre committed Oct 25, 2011
  7. @mgehre

    codesynt: early resolution for multinames

    If a multiname does not depend on runtime date, resolve it once
    and save the pointer.
    mgehre committed Oct 25, 2011
  8. @mgehre
  9. @mgehre
  10. @mgehre
  11. @mgehre
  12. @mgehre
  13. @mgehre
  14. @mgehre
  15. @mgehre

    codesynt: more 'add' overloads

    mgehre committed Oct 25, 2011
  16. @mgehre
  17. @mgehre
  18. @mgehre
  19. @mgehre

    convert {u}intptr_t to {u}int32_t

    Because flash Integer/UInteger are always 32 bit!
    mgehre committed Oct 25, 2011
  20. @mgehre

    codesynt: merge get/setlocal

    mgehre committed Oct 25, 2011
  21. @mgehre
  22. @mgehre

    codesynt: Fix pointer types

    mgehre committed Oct 25, 2011
  23. @mgehre

    Silence offsetof warnings

    As we do not use multiple inheritance in types Number,Integer
    UInteger and Boolean, this is save
    mgehre committed Oct 25, 2011
  24. @mgehre
  25. @mgehre
  26. @mgehre
  27. @mgehre

    codesynt: cleanup

    mgehre committed Oct 25, 2011
  28. @mgehre

    Add Class<T>::getRef and convert super

    There were two usages of getClass() in the code,
    one which expected getClass() to do incRef() on the class
    before returning it and one that expected getClass() to not
    incRef it before.
    
    Expected incRef:
     c->super = Class<ASObject>::getClass()
     builtin->setVariableByQName("TextField","",Class<ASObject>::getClass())
    
    Expected no incRef:
     if(c->prototype == Class<ASObject>::getClass())
     if(c->prototype->isSubClass(Class<ASObject>::getClass()))
    
    Previous commits have introduced Class_base::getRef() which
    returns a Ref<Class_base> to make obvious that the caller gets
    a fresh reference. Previous commits also have
    converted the usecases 'super' and 'builtin->setVariableByQName'
    to use getRef().
    This commit now changes the semantics of getClass() to return
    the Class_base object _without_ incRef'ing it in accordance
    to the two other usecases ('prototype ==
    Class<ASObject>::getClass()'
    and 'isSubClass').
    mgehre committed Oct 25, 2011
  29. @mgehre

    Add explict bool conversion to NullableRef

    This makes it possible to write
      _NR<ASObject> o;
      if(o)
      ..
    as if uses explicit cast.
    mgehre committed Oct 25, 2011
Commits on Oct 25, 2011
  1. @diocles

    Check that m_sys->currentVm is not NULL in mouse handlers.

    Fixes segmentation fault when mousing over movies. (lp#880391)
    diocles committed Oct 24, 2011
Commits on Oct 24, 2011
  1. @mgehre

    Revert "Class<T>::getClass: avoid map lookup for name by caching in s…

    …tatic member"
    
    This reverts commit eb2ce9b.
    mgehre committed Oct 24, 2011
  2. @mgehre

    Revert "IFunction this_class"

    This reverts commit 2a374f1.
    mgehre committed Oct 24, 2011
  3. @mgehre
  4. @mgehre

    Merge pull request #141 from diocles/bug-fixes

    TextField.setTextFormat(): Return NULL on null input.
    mgehre committed Oct 24, 2011
Something went wrong with that request. Please try again.