gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10174: Replace globals namespace wi


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10174: Replace globals namespace with a RunInfo class, to be externally owned and
Date: Tue, 28 Oct 2008 17:33:19 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10174
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2008-10-28 17:33:19 +0100
message:
  Replace globals namespace with a RunInfo class, to be externally owned and
  passed to movie_root on construction.
  
  Initialize VM from movie_root instead of the other way round. The movie_root
  instance is now owned by the hosting application.
  
  This is the first stage in refiguring the core. Still to do is:
  - give the parser code a movie_root reference
  - make movie_root own the VM (possibly with movie_root as a singleton as an
    intermediate stage)
  - add media handler and render handler to RunInfo
  - make movie_root available to as_objects without using a singleton (needs
    much work).
added:
  libcore/RunInfo.h
modified:
  gui/Player.cpp
  gui/Player.h
  gui/dump.cpp
  gui/gtk.cpp
  gui/gui.cpp
  gui/gui.h
  libcore/Button.cpp
  libcore/MovieClip.cpp
  libcore/URLAccessManager.cpp
  libcore/asobj/LoadVars_as.cpp
  libcore/asobj/LoadableObject.cpp
  libcore/asobj/LocalConnection.cpp
  libcore/asobj/MovieClipLoader.cpp
  libcore/asobj/NetConnection.cpp
  libcore/asobj/NetStream_as.cpp
  libcore/asobj/SharedObject.cpp
  libcore/asobj/Sound.cpp
  libcore/asobj/System_as.cpp
  libcore/gnash.h
  libcore/impl.cpp
  libcore/movie_root.cpp
  libcore/movie_root.h
  libcore/parser/sound_definition.cpp
  libcore/swf/StartSoundTag.cpp
  libcore/swf/StreamSoundBlockTag.cpp
  libcore/swf/tag_loaders.cpp
  libcore/vm/ASHandlers.cpp
  libcore/vm/VM.cpp
  libcore/vm/VM.h
  testsuite/MovieTester.cpp
  testsuite/MovieTester.h
  testsuite/libcore.all/AsValueTest.cpp
  testsuite/libcore.all/DisplayListTest.cpp
  testsuite/libcore.all/PropertyListTest.cpp
  utilities/processor.cpp
    ------------------------------------------------------------
    revno: 10161.1.1
    committer: Benjamin Wolsey <address@hidden>
    branch nick: temp
    timestamp: Tue 2008-10-28 14:00:00 +0100
    message:
      Initialize core using movie_root:
      
      movie_root(const movie_definition&, VirtualClock&, const std::string& 
baseURL);
      
      The VM is still a singleton, but initialized from movie_root.
      
      Move getBaseURL and getOriginalURL to movie_root. These may form part of a
      RunInfo class.
      
      Do not call movie_root::clear in gnash::clear, as this is a big risk of 
      accessing movie_root via the VM singleton after the movie_root has been
      destroyed. It also seems to have no purpose.
      
      Adjust other classes to get baseURL from movie_root.
      
      Drop set_base_url() and get_base_url().
      
      Do not call gnash::clear after movie_root has gone out of scope in 
      utilities/processor.cpp
      
      Adjust Player, gprocessor and MovieTester to use the new movie_root 
signature.
      They now own the movie_root instance.
    modified:
      gui/Player.cpp
      libcore/MovieClip.cpp
      libcore/URLAccessManager.cpp
      libcore/asobj/LoadVars_as.cpp
      libcore/asobj/LoadableObject.cpp
      libcore/asobj/LocalConnection.cpp
      libcore/asobj/MovieClipLoader.cpp
      libcore/asobj/NetConnection.cpp
      libcore/asobj/SharedObject.cpp
      libcore/asobj/Sound.cpp
      libcore/gnash.h
      libcore/impl.cpp
      libcore/movie_root.cpp
      libcore/movie_root.h
      libcore/swf/tag_loaders.cpp
      libcore/vm/VM.cpp
      libcore/vm/VM.h
      testsuite/MovieTester.cpp
      utilities/processor.cpp
    ------------------------------------------------------------
    revno: 10161.1.2
    committer: Benjamin Wolsey <address@hidden>
    branch nick: temp
    timestamp: Tue 2008-10-28 16:32:20 +0100
    message:
      Group necessary run information into a RunInfo class, presently containing
      the base URL, a swappable sound_handler (by pointer), and a StreamProvide
      (currently not used).
      
      This is designed to be owned by a hosting application, and passed to
      movie_root at construction time. The hosting application may change
      the sound_handler (and in future other handlers) as it chooses.
      
      Change movie_root constructor to take a RunInfo and hold a const reference
      to it.
    modified:
      gui/Player.cpp
      gui/Player.h
      gui/dump.cpp
      gui/gtk.cpp
      gui/gui.cpp
      gui/gui.h
      libcore/Button.cpp
      libcore/MovieClip.cpp
      libcore/asobj/LoadableObject.cpp
      libcore/asobj/MovieClipLoader.cpp
      libcore/asobj/NetConnection.cpp
      libcore/asobj/NetStream_as.cpp
      libcore/asobj/Sound.cpp
      libcore/asobj/System_as.cpp
      libcore/gnash.h
      libcore/impl.cpp
      libcore/movie_root.cpp
      libcore/movie_root.h
      libcore/parser/sound_definition.cpp
      libcore/swf/StartSoundTag.cpp
      libcore/swf/StreamSoundBlockTag.cpp
      libcore/swf/tag_loaders.cpp
      libcore/vm/ASHandlers.cpp
      libmedia/Makefile.am
      testsuite/MovieTester.cpp
      testsuite/MovieTester.h
      testsuite/libcore.all/AsValueTest.cpp
      testsuite/libcore.all/DisplayListTest.cpp
      testsuite/libcore.all/PropertyListTest.cpp
      utilities/processor.cpp
    ------------------------------------------------------------
    revno: 10161.1.3
    committer: Benjamin Wolsey <address@hidden>
    branch nick: temp
    timestamp: Tue 2008-10-28 16:37:51 +0100
    message:
      _baseURL has gone again.
    modified:
      libcore/movie_root.cpp
    ------------------------------------------------------------
    revno: 10161.1.4
    committer: Benjamin Wolsey <address@hidden>
    branch nick: temp
    timestamp: Tue 2008-10-28 17:03:08 +0100
    message:
      Add RunInfo.h, update comment, drop libsound from libmedia includes again.
    added:
      libcore/RunInfo.h
    modified:
      libcore/asobj/SharedObject.cpp
      libmedia/Makefile.am
Diff too large for email (2244 lines, the limit is 1000).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]