gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1656-gcd54b5a
Date: Thu, 11 Jul 2013 17:34:50 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  cd54b5ab5acd6bd357750f142059089eebe4664c (commit)
      from  3490584d577c7e20a366bf7eb7bfe2d018ae1410 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=cd54b5ab5acd6bd357750f142059089eebe4664c


commit cd54b5ab5acd6bd357750f142059089eebe4664c
Author: Sandro Santilli <address@hidden>
Date:   Thu Jul 11 15:41:00 2013 +0200

    Add DSOTEXPORT macro for supporting testsuite with --enable-visibility
    
    The macro is equivalent to DSOEXPORT when testsuite is enabled.
    See savannah bug #38217

diff --git a/libbase/dsodefs.h b/libbase/dsodefs.h
index c3bc470..7bc4182 100644
--- a/libbase/dsodefs.h
+++ b/libbase/dsodefs.h
@@ -57,4 +57,10 @@
 #endif
 #endif
 
+#ifdef USE_TESTSUITE
+# define DSOTEXPORT DSOEXPORT
+#else
+# define DSOTEXPORT 
+#endif
+
 #endif // DSODEFS_H
diff --git a/libcore/Button.h b/libcore/Button.h
index 843e250..1414564 100644
--- a/libcore/Button.h
+++ b/libcore/Button.h
@@ -29,6 +29,7 @@
 
 #include "InteractiveObject.h" 
 #include "GnashKey.h"
+#include "dsodefs.h"
 
 // Forward declarations.
 namespace gnash {
@@ -40,7 +41,7 @@ namespace gnash {
 namespace gnash {
 
 /// Button implements Flash buttons.
-class Button : public InteractiveObject
+class DSOTEXPORT Button : public InteractiveObject
 {
 public:
 
diff --git a/libcore/DisplayList.h b/libcore/DisplayList.h
index a316e19..57932af 100644
--- a/libcore/DisplayList.h
+++ b/libcore/DisplayList.h
@@ -20,8 +20,6 @@
 #ifndef GNASH_DLIST_H
 #define GNASH_DLIST_H
 
-#include "snappingrange.h"
-
 #include <string>
 #include <list>
 #include <iosfwd>
@@ -32,6 +30,10 @@
 #include "log.h"
 #endif
 
+#include "snappingrange.h"
+#include "dsodefs.h" // for DSOTEXPORT
+
+
 // GNASH_PARANOIA_LEVEL:
 // 0 : (not unimplemented)
 // 1 : quick assertions
@@ -93,7 +95,7 @@ public:
        ///
        /// @param depth 
        ///     depth at which the new DisplayObject is placed.
-    void placeDisplayObject(DisplayObject* ch, int depth);
+    DSOTEXPORT void placeDisplayObject(DisplayObject* ch, int depth);
 
        /// \brief
        /// Replace the old DisplayObject at the specified depth with
@@ -219,7 +221,7 @@ public:
        void omit_display();
 
        /// May return NULL.
-       DisplayObject* getDisplayObjectAtDepth(int depth) const;
+       DSOTEXPORT DisplayObject* getDisplayObjectAtDepth(int depth) const;
 
        /// If there are multiples, returns the *first* match only!
        //
@@ -232,7 +234,7 @@ public:
        /// @param caseless
        ///     Wheter comparison must be case-insensitive.
        ///
-       DisplayObject* getDisplayObjectByName(string_table& st,
+       DSOTEXPORT DisplayObject* getDisplayObjectByName(string_table& st,
             const ObjectURI& uri, bool caseless) const;
 
        /// \brief 
@@ -389,7 +391,7 @@ DisplayList::visitAll(V& visitor) const
        }
 }
 
-std::ostream& operator<< (std::ostream&, const DisplayList&);
+DSOTEXPORT std::ostream& operator<< (std::ostream&, const DisplayList&);
 
 } // namespace gnash
 
diff --git a/libcore/DisplayObject.h b/libcore/DisplayObject.h
index 0dc0630..bde7359 100644
--- a/libcore/DisplayObject.h
+++ b/libcore/DisplayObject.h
@@ -165,7 +165,7 @@ SWFCxForm getWorldCxForm(const DisplayObject& d);
 /// dynamic DisplayObjects, but tags are not always stored. They are not
 /// stored in most InteractiveObjects because most properties can be
 /// overridden during SWF execution.
-class DisplayObject : public GcResource, boost::noncopyable
+class DSOTEXPORT DisplayObject : public GcResource, boost::noncopyable
 {
 public:
 
diff --git a/libcore/InteractiveObject.h b/libcore/InteractiveObject.h
index cb384cc..c9cdfd7 100644
--- a/libcore/InteractiveObject.h
+++ b/libcore/InteractiveObject.h
@@ -19,13 +19,13 @@
 #ifndef GNASH_INTERACTIVE_DISPLAY_OBJECT_H
 #define GNASH_INTERACTIVE_DISPLAY_OBJECT_H
 
+#include <vector>
+#include <cassert>
+
 #include "DisplayObject.h" // for inheritance
 #include "log.h"
 #include "as_object.h" // for getRoot()
 
-#include <vector>
-#include <cassert>
-
 namespace gnash {
     class StaticText;
     namespace SWF {
diff --git a/libcore/MovieClip.h b/libcore/MovieClip.h
index 03800af..a82b834 100644
--- a/libcore/MovieClip.h
+++ b/libcore/MovieClip.h
@@ -81,7 +81,7 @@ namespace gnash {
 /// (Movie) containing either the definition or the code from
 /// which the MovieClip was created. The _url member and SWF version are
 /// dependent on the _swf. Exports are also sought in this Movie.
-class MovieClip : public DisplayObjectContainer 
+class DSOTEXPORT MovieClip : public DisplayObjectContainer 
 {
 public:
 
diff --git a/libcore/Property.h b/libcore/Property.h
index d1a4b23..0733a6a 100644
--- a/libcore/Property.h
+++ b/libcore/Property.h
@@ -28,6 +28,7 @@
 #include "PropFlags.h"
 #include "as_value.h"
 #include "ObjectURI.h"
+#include "dsodefs.h" // for DSOTEXPORT
 
 namespace gnash {
     typedef as_value (*as_c_function_ptr)(const fn_call& fn);
@@ -342,7 +343,7 @@ public:
        ///     properties.
        /// @return the value of this property
        ///
-       as_value getValue(const as_object& this_ptr) const;
+       DSOTEXPORT as_value getValue(const as_object& this_ptr) const;
 
        /// Get internal cached value of this property
        //
diff --git a/libcore/PropertyList.h b/libcore/PropertyList.h
index cb82542..23bba9d 100644
--- a/libcore/PropertyList.h
+++ b/libcore/PropertyList.h
@@ -33,6 +33,7 @@
 #include <algorithm>
 
 #include "Property.h" // for templated functions
+#include "dsodefs.h" // for DSOTEXPORT
 
 // Forward declaration
 namespace gnash {
@@ -129,7 +130,7 @@ public:
     /// Construct the PropertyList 
     //
     /// @param obj      The as_object to which this PropertyList belongs.
-    PropertyList(as_object& obj);
+    DSOTEXPORT PropertyList(as_object& obj);
 
     /// Visit properties 
     //
@@ -184,7 +185,7 @@ public:
     ///    Flags to associate to the property if a new one is created.
     /// @return true if the value was successfully set, false
     ///         otherwise (found a read-only property, most likely).
-    bool setValue(const ObjectURI& uri, const as_value& value,
+    DSOTEXPORT bool setValue(const ObjectURI& uri, const as_value& value,
             const PropFlags& flagsIfMissing = 0);
 
     /// Get a property if it exists.
@@ -193,7 +194,7 @@ public:
     /// @return     A Property or 0, if no such property exists.
     ///             All Property objects are owned by this PropertyList. Do
     ///             not delete them.
-    Property* getProperty(const ObjectURI& uri) const;
+    DSOTEXPORT Property* getProperty(const ObjectURI& uri) const;
 
     /// Delete a Property, if existing and not protected from deletion.
     //
@@ -206,7 +207,7 @@ public:
     ///                     - (false, false) : property not found
     ///                     - (true, false) : property protected from deletion
     ///                     - (true, true) : property successfully deleted
-    std::pair<bool,bool> delProperty(const ObjectURI& uri);
+    DSOTEXPORT std::pair<bool,bool> delProperty(const ObjectURI& uri);
 
     /// Add a getter/setter property, if not already existing
     //
@@ -266,7 +267,7 @@ public:
     /// @param uri      Name of the property. 
     /// @param setTrue  The set of flags to set
     /// @param setFalse The set of flags to clear
-    void setFlags(const ObjectURI& uri, int setTrue, int setFalse);
+    DSOTEXPORT void setFlags(const ObjectURI& uri, int setTrue, int setFalse);
 
     /// Set the flags of all properties.
     //
diff --git a/libcore/RGBA.h b/libcore/RGBA.h
index 8feed12..338caa9 100644
--- a/libcore/RGBA.h
+++ b/libcore/RGBA.h
@@ -24,7 +24,7 @@
 #include <string>
 #include <boost/cstdint.hpp> 
 
-#include "dsodefs.h"
+#include "dsodefs.h" // for DSOTEXPORT
 #include "SWF.h"
 
 namespace gnash {
@@ -115,7 +115,7 @@ public:
 
 };
 
-std::ostream& operator<<(std::ostream& os, const rgba& r);
+DSOTEXPORT std::ostream& operator<<(std::ostream& os, const rgba& r);
 
 /// Create an RGBA value from a hex string (e.g. FF0000)
 //
diff --git a/libcore/SWFMatrix.h b/libcore/SWFMatrix.h
index d1763cd..3747b70 100644
--- a/libcore/SWFMatrix.h
+++ b/libcore/SWFMatrix.h
@@ -238,7 +238,7 @@ operator==(const SWFMatrix& a, const SWFMatrix& b)
         a._ty  == b._ty;
 }
 
-std::ostream& operator<<(std::ostream& o, const SWFMatrix& m);
+DSOTEXPORT std::ostream& operator<<(std::ostream& o, const SWFMatrix& m);
 
 } // namespace gnash
 
diff --git a/libcore/SWFMovie.h b/libcore/SWFMovie.h
index 67fd0c1..d7d6ce8 100644
--- a/libcore/SWFMovie.h
+++ b/libcore/SWFMovie.h
@@ -22,13 +22,14 @@
 #ifndef GNASH_SWF_MOVIE_H
 #define GNASH_SWF_MOVIE_H
 
-#include "Movie.h" // for inheritance
-#include "SWFMovieDefinition.h" // for dtor visibility by smart ptr
-
 #include <boost/intrusive_ptr.hpp>
 #include <string>
 #include <map>
 
+#include "Movie.h" // for inheritance
+#include "SWFMovieDefinition.h" // for dtor visibility by smart ptr
+#include "dsodefs.h" // for DSOTEXPORT
+
 // Forward declarations
 namespace gnash {
        class DisplayObject; 
@@ -54,7 +55,7 @@ class SWFMovie : public Movie
 
 public:
 
-       SWFMovie(as_object* object, const SWFMovieDefinition* def,
+       DSOTEXPORT SWFMovie(as_object* object, const SWFMovieDefinition* def,
             DisplayObject* parent);
 
        virtual ~SWFMovie() {}
diff --git a/libcore/TextField.h b/libcore/TextField.h
index 582b015..6541ee9 100644
--- a/libcore/TextField.h
+++ b/libcore/TextField.h
@@ -53,7 +53,7 @@ wstring;
 namespace gnash {
 
 /// An instance of a DefineEditTextTag 
-class TextField : public InteractiveObject
+class DSOTEXPORT TextField : public InteractiveObject
 {
 
 public:
diff --git a/libcore/as_environment.h b/libcore/as_environment.h
index 9e0a290..2f6b677 100644
--- a/libcore/as_environment.h
+++ b/libcore/as_environment.h
@@ -23,6 +23,7 @@
 #include <vector>
 #include <algorithm>
 
+#include "dsodefs.h" // for DSOTEXPORT
 #include "as_value.h" 
 #include "SafeStack.h"
 
@@ -53,7 +54,7 @@ public:
     /// A stack of objects used for variables/members lookup
     typedef std::vector<as_object*> ScopeStack;
 
-    as_environment(VM& vm);
+    DSOTEXPORT as_environment(VM& vm);
 
     VM& getVM() const { return _vm; }
 
@@ -226,7 +227,7 @@ getVM(const as_environment& env)
 movie_root& getRoot(const as_environment& env);
 string_table& getStringTable(const as_environment& env);
 int getSWFVersion(const as_environment& env);
-Global_as& getGlobal(const as_environment &env);
+DSOTEXPORT Global_as& getGlobal(const as_environment &env);
 
 } // namespace gnash
 
diff --git a/libcore/as_object.h b/libcore/as_object.h
index d962fc9..639b49b 100644
--- a/libcore/as_object.h
+++ b/libcore/as_object.h
@@ -35,6 +35,7 @@
 #include "PropFlags.h"
 #include "Relay.h"
 #include "ObjectURI.h"
+#include "dsodefs.h" // for DSOTEXPORT
 
 // Forward declarations
 namespace gnash {
@@ -167,7 +168,7 @@ public:
     /// @param  global  A reference to the Global object the new
     ///                 object ultimately belongs to. The created object
     ///                 uses the resources of the Global object.
-    explicit as_object(const Global_as& global);
+    explicit DSOTEXPORT as_object(const Global_as& global);
 
     /// The as_object dtor does nothing special.
     virtual ~as_object() {}
@@ -446,7 +447,7 @@ public:
     ///                 - (false, false) : property not found
     ///                 - (true, false) : property protected from deletion
     ///                 - (true, true) : property successfully deleted
-    std::pair<bool, bool> delProperty(const ObjectURI& uri);
+    DSOTEXPORT std::pair<bool, bool> delProperty(const ObjectURI& uri);
 
     /// Get this object's own named property, if existing.
     //
@@ -855,7 +856,7 @@ hasOwnProperty(as_object& o, const ObjectURI& uri)
     return (o.getOwnProperty(uri));
 }
 
-as_object* getObjectWithPrototype(Global_as& gl, const ObjectURI& c);
+DSOTEXPORT as_object* getObjectWithPrototype(Global_as& gl, const ObjectURI& 
c);
 
 /// Check whether the object is an instance of a known type.
 //
@@ -902,13 +903,13 @@ typedef std::vector<std::pair<ObjectURI, as_value> > 
SortedPropertyList;
 SortedPropertyList enumerateProperties(as_object& o);
 
 /// Get the VM from an as_object.
-VM& getVM(const as_object& o);
+DSOTEXPORT VM& getVM(const as_object& o);
 
 /// Get the movie_root from an as_object.
-movie_root& getRoot(const as_object& o);
+DSOTEXPORT movie_root& getRoot(const as_object& o);
 
 /// Get the string_table from an as_object.
-string_table& getStringTable(const as_object& o);
+DSOTEXPORT string_table& getStringTable(const as_object& o);
 
 /// Get the RunResources from an as_object.
 const RunResources& getRunResources(const as_object& o);
@@ -917,7 +918,7 @@ const RunResources& getRunResources(const as_object& o);
 int getSWFVersion(const as_object& o);
 
 /// Get the Global object from an as_object.
-Global_as& getGlobal(const as_object& o);
+DSOTEXPORT Global_as& getGlobal(const as_object& o);
 
 /// Return whether property matching is caseless
 inline bool caseless(const as_object& o) {
diff --git a/libcore/as_value.h b/libcore/as_value.h
index a54efa1..4c7ab67 100644
--- a/libcore/as_value.h
+++ b/libcore/as_value.h
@@ -19,9 +19,6 @@
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H
 
-#include "dsodefs.h"
-#include "CharacterProxy.h"
-
 #include <limits>
 #include <string>
 #include <boost/variant.hpp>
@@ -30,7 +27,10 @@
 #include <boost/utility/enable_if.hpp>
 #include <boost/cstdint.hpp>
 
-#include "utility.h" // UNUSED
+#include "utility.h" // for UNUSED
+#include "dsodefs.h" // for DSOTEXPORT
+#include "CharacterProxy.h"
+
 
 // Forward declarations
 namespace gnash {
@@ -231,7 +231,7 @@ public:
     ///                     for lower versions.
     //
     /// TODO: drop the default argument.
-    std::string to_string(int version = 7) const;
+    DSOTEXPORT std::string to_string(int version = 7) const;
     
     /// Get a number representation for this value
     //
@@ -241,7 +241,7 @@ public:
     /// Conversion to boolean.
     //
     /// This function performs conversion if necessary.
-    bool to_bool(int version) const;
+    DSOTEXPORT bool to_bool(int version) const;
     
     /// Return value as an object, converting primitive values as needed.
     //
@@ -368,7 +368,7 @@ public:
     //
     /// Strict equality is defined as the two values being of the
     /// same type and the same value.
-    bool strictly_equals(const as_value& v) const;
+    DSOTEXPORT bool strictly_equals(const as_value& v) const;
     
     /// Return true if this value is abstractly equal to the given one
     //
@@ -482,7 +482,7 @@ private:
 };
 
 /// Stream operator.
-std::ostream& operator<<(std::ostream& os, const as_value& v);
+DSOTEXPORT std::ostream& operator<<(std::ostream& os, const as_value& v);
 
 /// Convert numeric value to string value, following ECMA-262 specification
 //
diff --git a/libcore/asobj/Global_as.h b/libcore/asobj/Global_as.h
index b5c1cba..e8cae06 100644
--- a/libcore/asobj/Global_as.h
+++ b/libcore/asobj/Global_as.h
@@ -33,6 +33,7 @@
 #include "fn_call.h"
 #include "log.h"
 #include "ClassHierarchy.h"
+#include "dsodefs.h" // for DSOTEXPORT
 
 // Forward declarations
 namespace gnash {
@@ -96,7 +97,7 @@ private:
 
 };
 
-as_object* createObject(const Global_as& gl);
+DSOTEXPORT as_object* createObject(const Global_as& gl);
     
 
 /// Register a built-in object
diff --git a/libcore/parser/SWFMovieDefinition.h 
b/libcore/parser/SWFMovieDefinition.h
index 514b46e..7b1e644 100644
--- a/libcore/parser/SWFMovieDefinition.h
+++ b/libcore/parser/SWFMovieDefinition.h
@@ -27,13 +27,6 @@
 #include "gnashconfig.h" // for USE_SWFTREE
 #endif
 
-#include "movie_definition.h" // for inheritance
-#include "DefinitionTag.h" // for boost::intrusive_ptr visibility of dtor
-#include "StringPredicates.h" 
-#include "SWFRect.h"
-#include "GnashNumeric.h"
-#include "GnashAlgorithm.h"
-
 #include <boost/intrusive_ptr.hpp>
 #include <vector>
 #include <map>
@@ -45,6 +38,14 @@
 #include <boost/thread/barrier.hpp>
 #include <boost/scoped_ptr.hpp>
 
+#include "movie_definition.h" // for inheritance
+#include "DefinitionTag.h" // for boost::intrusive_ptr visibility of dtor
+#include "StringPredicates.h" 
+#include "SWFRect.h"
+#include "GnashNumeric.h"
+#include "GnashAlgorithm.h"
+#include "dsodefs.h" // for DSOTEXPORT
+
 // Forward declarations
 namespace gnash {
     namespace image {
@@ -132,7 +133,7 @@ public:
     //
     /// replaces any existing DisplayObject with the same id
     ///
-    void addDisplayObject(int id, boost::intrusive_ptr<SWF::DefinitionTag> c);
+    DSOTEXPORT void addDisplayObject(int id, 
boost::intrusive_ptr<SWF::DefinitionTag> c);
       
     /// Return an iterator to the first dictionary element
     CharacterIterator begin() { return _map.begin(); }
@@ -161,7 +162,7 @@ private:
 /// It cannot be played directly, and does not hold
 /// current state; for that you need to call createMovie()
 /// to get a movie instance 
-class SWFMovieDefinition : public movie_definition
+class DSOTEXPORT SWFMovieDefinition : public movie_definition
 {
 public:
 
@@ -171,7 +172,7 @@ public:
     ///                          parsing.
     SWFMovieDefinition(const RunResources& runResources);
 
-    ~SWFMovieDefinition();
+    DSOTEXPORT ~SWFMovieDefinition();
 
     /// Return total number of frames advertised for the SWFMovie.
     size_t get_frame_count() const {
@@ -237,28 +238,28 @@ public:
         return m_file_length;
     }
 
-    virtual void importResources(boost::intrusive_ptr<movie_definition> source,
+    DSOTEXPORT virtual void 
importResources(boost::intrusive_ptr<movie_definition> source,
             const Imports& imports);
 
     virtual void addDisplayObject(boost::uint16_t id, SWF::DefinitionTag* c);
 
     /// Return a DisplayObject from the dictionary
-    SWF::DefinitionTag* getDefinitionTag(boost::uint16_t id) const;
+    DSOTEXPORT SWF::DefinitionTag* getDefinitionTag(boost::uint16_t id) const;
 
     // See dox in movie_definition
     //
     // locks _namedFramesMutex
-    bool get_labeled_frame(const std::string& label, size_t& frame_number)
+    DSOTEXPORT bool get_labeled_frame(const std::string& label, size_t& 
frame_number)
         const;
 
-    void add_font(int font_id, boost::intrusive_ptr<Font> f);
+    DSOTEXPORT void add_font(int font_id, boost::intrusive_ptr<Font> f);
 
-    Font* get_font(int font_id) const;
+    DSOTEXPORT Font* get_font(int font_id) const;
 
     Font* get_font(const std::string& name, bool bold, bool italic) const;
 
     // See dox in movie_definition.h
-    CachedBitmap* getBitmap(int DisplayObject_id) const;
+    DSOTEXPORT CachedBitmap* getBitmap(int DisplayObject_id) const;
 
     // See dox in movie_definition.h
     void addBitmap(int DisplayObject_id, boost::intrusive_ptr<CachedBitmap> 
im);
@@ -290,11 +291,11 @@ public:
     //
     // locks _namedFramesMutex and _frames_loaded_mutex
     //
-    void add_frame_name(const std::string& name);
+    DSOTEXPORT void add_frame_name(const std::string& name);
 
     /// Set an input object for later loading DefineBits
     /// images (JPEG images without the table info).
-    void set_jpeg_loader(std::auto_ptr<image::JpegInput> j_in);
+    DSOTEXPORT void set_jpeg_loader(std::auto_ptr<image::JpegInput> j_in);
 
     // See dox in movie_definition.h
     image::JpegInput* get_jpeg_loader() const {
@@ -507,7 +508,7 @@ private:
     /// NOTE: this method locks _frames_loaded_mutex
     ///
     /// @return the new value of _frames_loaded
-    virtual void incrementLoadedFrames();
+    DSOTEXPORT virtual void incrementLoadedFrames();
 
     /// Set number of bytes loaded from input stream
     //
diff --git a/libcore/swf/DefinitionTag.h b/libcore/swf/DefinitionTag.h
index b3825b0..7d3db70 100644
--- a/libcore/swf/DefinitionTag.h
+++ b/libcore/swf/DefinitionTag.h
@@ -24,6 +24,7 @@
 #include <boost/cstdint.hpp>
 
 #include "ControlTag.h"
+#include "dsodefs.h" // for DSOTEXPORT
 
 // Forward declarations
 
@@ -68,7 +69,7 @@ public:
     //
     /// The process is different for imported DefinitionTags, which are added
     /// with a new id.
-       virtual void executeState(MovieClip* m,  DisplayList& /*dlist*/) const;
+       DSOTEXPORT virtual void executeState(MovieClip* m,  DisplayList& 
/*dlist*/) const;
 
     /// The immutable id of the DefinitionTag.
     //
diff --git a/libcore/vm/VM.h b/libcore/vm/VM.h
index 4bab9b9..04c6270 100644
--- a/libcore/vm/VM.h
+++ b/libcore/vm/VM.h
@@ -41,6 +41,8 @@
 #include "namedStrings.h"
 #include "ObjectURI.h"
 #include "ConstantPool.h"
+#include "dsodefs.h"
+#include "utility.h" // for UNUSED
 
 // Forward declarations
 namespace gnash {
@@ -408,7 +410,7 @@ bool toBool(const as_value& v, const VM& vm);
 /// @param val  The value to return as a double
 /// @param vm   The VM to use for the conversion.
 /// @return     The double value of the passed as_value.
-double toNumber(const as_value& v, const VM& vm);
+DSOTEXPORT double toNumber(const as_value& v, const VM& vm);
 
 /// Convert an as_value to an object
 //
diff --git a/libcore/vm/fn_call.h b/libcore/vm/fn_call.h
index e74cf1c..6d234f3 100644
--- a/libcore/vm/fn_call.h
+++ b/libcore/vm/fn_call.h
@@ -25,6 +25,7 @@
 #include <ostream>
 #include <algorithm>
 
+#include "utility.h" // for typeName
 #include "as_object.h"
 #include "as_value.h"
 #include "VM.h"
diff --git a/testsuite/FuzzyPixel.h b/testsuite/FuzzyPixel.h
index 862eab2..d5f1b68 100644
--- a/testsuite/FuzzyPixel.h
+++ b/testsuite/FuzzyPixel.h
@@ -24,6 +24,7 @@
 #include "Range2d.h"
 #include "GnashKey.h" // for namespace key
 #include "RGBA.h" // for rgba class (composition)
+#include "dsodefs.h" // for DSOTEXPORT
 
 #include <cmath>
 #include <ostream> 
diff --git a/testsuite/MovieTester.h b/testsuite/MovieTester.h
index 0727ece..2584003 100644
--- a/testsuite/MovieTester.h
+++ b/testsuite/MovieTester.h
@@ -154,7 +154,7 @@ public:
        /// Return NULL if there's no DisplayObject with that name in
        /// the sprite's display list.
        ///
-       const DisplayObject* findDisplayItemByName(const MovieClip& mc,
+       DSOTEXPORT const DisplayObject* findDisplayItemByName(const MovieClip& 
mc,
                        const std::string& name);
 
        /// Find a DisplayObject on the stage by full target name.

-----------------------------------------------------------------------

Summary of changes:
 libbase/dsodefs.h                   |    6 +++++
 libcore/Button.h                    |    3 +-
 libcore/DisplayList.h               |   14 +++++++-----
 libcore/DisplayObject.h             |    2 +-
 libcore/InteractiveObject.h         |    6 ++--
 libcore/MovieClip.h                 |    2 +-
 libcore/Property.h                  |    3 +-
 libcore/PropertyList.h              |   11 +++++----
 libcore/RGBA.h                      |    4 +-
 libcore/SWFMatrix.h                 |    2 +-
 libcore/SWFMovie.h                  |    9 ++++---
 libcore/TextField.h                 |    2 +-
 libcore/as_environment.h            |    5 ++-
 libcore/as_object.h                 |   15 +++++++------
 libcore/as_value.h                  |   16 +++++++-------
 libcore/asobj/Global_as.h           |    3 +-
 libcore/parser/SWFMovieDefinition.h |   39 ++++++++++++++++++-----------------
 libcore/swf/DefinitionTag.h         |    3 +-
 libcore/vm/VM.h                     |    4 ++-
 libcore/vm/fn_call.h                |    1 +
 testsuite/FuzzyPixel.h              |    1 +
 testsuite/MovieTester.h             |    2 +-
 22 files changed, 87 insertions(+), 66 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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