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: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2204-gb4ca977
Date: Tue, 08 Sep 2015 19:50:06 +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  b4ca977c34702bd95181439543e823dd0bd3959e (commit)
       via  c2f388e26873bc1a0c1b36106e6e11020d2db7bc (commit)
      from  ba8ab1d9757bef44ab9be979072337a9e0fe463e (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=b4ca977c34702bd95181439543e823dd0bd3959e


commit b4ca977c34702bd95181439543e823dd0bd3959e
Author: Bastiaan Jacques <address@hidden>
Date:   Tue Sep 8 20:00:08 2015 +0200

    Fix linking for new toolchains. Savannah #45182.
    
    At least Fedora's build chain (GCC 5.1, ld 2.25) now complains about
    missing typeinfo symbols. I don't understand entirely why this should
    be the case, but in any event it's better to have a working build.

diff --git a/libbase/GnashImageJpeg.h b/libbase/GnashImageJpeg.h
index 846ce8a..65c2153 100644
--- a/libbase/GnashImageJpeg.h
+++ b/libbase/GnashImageJpeg.h
@@ -46,7 +46,7 @@ namespace image {
 /// Class for reading JPEG image data. 
 //
 /// This uses the IJG jpeglib to implement the Input interface.
-class JpegInput : public Input
+class DSOEXPORT JpegInput : public Input
 {
 
 private:
diff --git a/libcore/as_object.h b/libcore/as_object.h
index 00db6cd..c83dac6 100644
--- a/libcore/as_object.h
+++ b/libcore/as_object.h
@@ -158,7 +158,7 @@ private:
 /// Functions (as_function), Super objects (as_super) and AS3 Class types
 /// (as_class) have a static type, that is, they are not convertible to each
 /// other once created.
-class as_object : public GcResource, boost::noncopyable
+class DSOEXPORT as_object : public GcResource, boost::noncopyable
 {
 
 public:
diff --git a/libcore/swf/DefinitionTag.h b/libcore/swf/DefinitionTag.h
index 77556e2..0afd004 100644
--- a/libcore/swf/DefinitionTag.h
+++ b/libcore/swf/DefinitionTag.h
@@ -44,7 +44,7 @@ namespace SWF {
 //
 /// TODO: rename this class so it's not the same as the SWF spec. It doesn't
 /// exactly correspond to the DefinitionTag defined there.
-class DefinitionTag : public ControlTag
+class DSOEXPORT DefinitionTag : public ControlTag
 {
 public:
 
diff --git a/libdevice/events/InputDevice.h b/libdevice/events/InputDevice.h
index ee5d903..096b734 100644
--- a/libdevice/events/InputDevice.h
+++ b/libdevice/events/InputDevice.h
@@ -66,7 +66,7 @@ private:
 
 // This is an InputDevice class to cover the various touchscreens, Mice, or
 // keyboards supported.
-class InputDevice
+class DSOEXPORT InputDevice
 {
 public:
     typedef struct {
diff --git a/libmedia/MediaParser.h b/libmedia/MediaParser.h
index caaf413..e9f28c1 100644
--- a/libmedia/MediaParser.h
+++ b/libmedia/MediaParser.h
@@ -435,7 +435,7 @@ public:
 ///
 /// Input is received from a IOChannel object.
 ///
-class MediaParser
+class DSOEXPORT MediaParser
 {
 public:
 

http://git.savannah.gnu.org/cgit//commit/?id=c2f388e26873bc1a0c1b36106e6e11020d2db7bc


commit c2f388e26873bc1a0c1b36106e6e11020d2db7bc
Author: Bastiaan Jacques <address@hidden>
Date:   Mon Sep 7 21:01:42 2015 +0200

    C++11-ify loops.

diff --git a/libcore/movie_root.cpp b/libcore/movie_root.cpp
index 4ecfb35..3c2b150 100644
--- a/libcore/movie_root.cpp
+++ b/libcore/movie_root.cpp
@@ -1773,22 +1773,14 @@ movie_root::markReachableResources() const
     _movieLoader.setReachable();
 
     // Mark ExternalInterface callbacks and instances as reachable
-    for (std::map<std::string, as_object*>::const_iterator method_iterator
-             = _externalCallbackMethods.begin();
-         method_iterator != _externalCallbackMethods.end();
-         method_iterator++)
-    {
-        if (method_iterator->second != NULL) {
-            method_iterator->second->setReachable();
+    for (const auto& method : _externalCallbackMethods) {
+        if (method.second) {
+            method.second->setReachable();
         }
     }
-    for (std::map<std::string, as_object*>::const_iterator instance_iterator
-             = _externalCallbackInstances.begin();
-         instance_iterator != _externalCallbackInstances.end();
-         instance_iterator++)
-    {
-        if (instance_iterator->second != NULL) {
-            instance_iterator->second->setReachable();
+    for (const auto& instance : _externalCallbackInstances) {
+        if (instance.second) {
+            instance.second->setReachable();
         }
     }
 

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

Summary of changes:
 libbase/GnashImageJpeg.h       |    2 +-
 libcore/as_object.h            |    2 +-
 libcore/movie_root.cpp         |   20 ++++++--------------
 libcore/swf/DefinitionTag.h    |    2 +-
 libdevice/events/InputDevice.h |    2 +-
 libmedia/MediaParser.h         |    2 +-
 6 files changed, 11 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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