[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9787: Define an as_object interface
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9787: Define an as_object interface class for loadable objects, for use by LoadVars |
Date: |
Fri, 19 Sep 2008 13:28:16 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9787
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Fri 2008-09-19 13:28:16 +0200
message:
Define an as_object interface class for loadable objects, for use by LoadVars
and XML. This reflects the relationship between the objects (and saves much
code duplication).
Const correct property enumeration.
added:
libcore/asobj/LoadableObject.cpp
libcore/asobj/LoadableObject.h
modified:
libcore/Property.h
libcore/PropertyList.cpp
libcore/PropertyList.h
libcore/as_object.cpp
libcore/as_object.h
libcore/asobj/LoadVars_as.cpp
libcore/asobj/Makefile.am
libcore/asobj/XML_as.cpp
libcore/asobj/XML_as.h
libcore/asobj/xmlnode.cpp
libcore/asobj/xmlnode.h
libcore/vm/Machine.cpp
------------------------------------------------------------
revno: 9786.1.1
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Fri 2008-09-19 10:48:00 +0200
message:
Abstract common loading interface of LoadVars_as and XML_as into
LoadableObject
class.
Drop overriden XMLNode interface; rather just construct as_object base in
XML_as constructor.
added:
libcore/asobj/LoadableObject.cpp
libcore/asobj/LoadableObject.h
modified:
libcore/asobj/LoadVars_as.cpp
libcore/asobj/Makefile.am
libcore/asobj/XML_as.cpp
libcore/asobj/XML_as.h
libcore/asobj/xmlnode.cpp
libcore/asobj/xmlnode.h
------------------------------------------------------------
revno: 9786.1.2
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Fri 2008-09-19 11:41:54 +0200
message:
Implement virtual method for toString so that LoadableObject works with
both classes.
Make PropertyList::enumerateProperties and related variables const,
follow the
const trail up to Property class, where it seems there wasn't a problem
with constness after all.
modified:
libcore/PropertyList.cpp
libcore/PropertyList.h
libcore/as_object.cpp
libcore/as_object.h
libcore/asobj/LoadVars_as.cpp
libcore/asobj/LoadableObject.cpp
libcore/asobj/LoadableObject.h
libcore/asobj/XML_as.h
------------------------------------------------------------
revno: 9786.1.3
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Fri 2008-09-19 11:50:15 +0200
message:
Update comments, drop c_str() in logging.
modified:
libcore/Property.h
libcore/PropertyList.cpp
libcore/PropertyList.h
------------------------------------------------------------
revno: 9786.1.4
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Fri 2008-09-19 12:24:02 +0200
message:
More const, make XMLNode dtor virtual.
modified:
libcore/PropertyList.h
libcore/as_object.cpp
libcore/as_object.h
libcore/asobj/xmlnode.h
libcore/vm/Machine.cpp
Diff too large for email (1781 lines, the limit is 1000).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9787: Define an as_object interface class for loadable objects, for use by LoadVars,
Benjamin Wolsey <=