Permalink
Commits on Oct 28, 2011
  1. Update RELEASING doc

    janimo committed Oct 28, 2011
  2. Update changelogs to 0.5.2.1

    janimo committed Oct 28, 2011
  3. Update versionto 0.5.2.1

    janimo committed Oct 28, 2011
    Forgot to do it for 0.5.2 which still reports itself as 0.5.1
  4. Add RELEASING docs

    janimo committed Oct 28, 2011
Commits on Oct 27, 2011
  1. Merge pull request #143 from diocles/bug/880391

    mgehre committed Oct 27, 2011
    Check that m_sys->currentVm is not NULL in mouse handlers.
Commits on Oct 26, 2011
  1. codesynt: early resolution for multinames

    mgehre committed Oct 25, 2011
    If a multiname does not depend on runtime date, resolve it once
    and save the pointer.
  2. codesynt: more 'add' overloads

    mgehre committed Oct 25, 2011
  3. convert {u}intptr_t to {u}int32_t

    mgehre committed Oct 25, 2011
    Because flash Integer/UInteger are always 32 bit!
  4. codesynt: merge get/setlocal

    mgehre committed Oct 25, 2011
  5. codesynt: Fix pointer types

    mgehre committed Oct 25, 2011
  6. Silence offsetof warnings

    mgehre committed Oct 25, 2011
    As we do not use multiple inheritance in types Number,Integer
    UInteger and Boolean, this is save
  7. codesynt: cleanup

    mgehre committed Oct 25, 2011
  8. Add Class<T>::getRef and convert super

    mgehre committed Oct 25, 2011
    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').
  9. Add explict bool conversion to NullableRef

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