[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-1778-ga43b13b |
Date: |
Sun, 01 Sep 2013 17:03:22 +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 a43b13b580a255ef2985c8af281414cf88f8f51b (commit)
via 587dd8c50051ad7b39ae6f91c906c1f08322cb4c (commit)
from f71229bdbb17aaeddbc9d10b762092eff80f9501 (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=a43b13b580a255ef2985c8af281414cf88f8f51b
commit a43b13b580a255ef2985c8af281414cf88f8f51b
Author: Bastiaan Jacques <address@hidden>
Date: Sun Sep 1 19:01:05 2013 +0200
Fix various clang warnings.
diff --git a/libcore/asobj/MovieClipLoader.h b/libcore/asobj/MovieClipLoader.h
index 15209ee..fcfa04b 100644
--- a/libcore/asobj/MovieClipLoader.h
+++ b/libcore/asobj/MovieClipLoader.h
@@ -24,7 +24,7 @@
namespace gnash {
class as_object;
-class ObjectURI;
+struct ObjectURI;
/// Initialize the global MovieClipLoader class
void moviecliploader_class_init(as_object& global, const ObjectURI& uri);
diff --git a/libcore/asobj/TextSnapshot_as.cpp
b/libcore/asobj/TextSnapshot_as.cpp
index 26cf85c..e2f83ad 100644
--- a/libcore/asobj/TextSnapshot_as.cpp
+++ b/libcore/asobj/TextSnapshot_as.cpp
@@ -79,7 +79,7 @@ public:
protected:
- virtual void setReachable() const;
+ virtual void setReachable();
private:
@@ -221,7 +221,7 @@ TextSnapshot_as::getSelected(size_t start, size_t end) const
}
void
-TextSnapshot_as::setReachable() const
+TextSnapshot_as::setReachable()
{
std::for_each(_textFields.begin(), _textFields.end(), setTextReachable);
}
diff --git a/libcore/swf/DefineFontAlignZonesTag.cpp
b/libcore/swf/DefineFontAlignZonesTag.cpp
index 8346c04..5c27fbd 100644
--- a/libcore/swf/DefineFontAlignZonesTag.cpp
+++ b/libcore/swf/DefineFontAlignZonesTag.cpp
@@ -33,8 +33,6 @@ namespace SWF {
DefineFontAlignZonesTag::DefineFontAlignZonesTag(movie_definition& /*m*/,
SWFStream& /*in*/)
- :
- _csm_table_int(2)
{
}
diff --git a/libcore/swf/DefineFontAlignZonesTag.h
b/libcore/swf/DefineFontAlignZonesTag.h
index 4509fb0..54053eb 100644
--- a/libcore/swf/DefineFontAlignZonesTag.h
+++ b/libcore/swf/DefineFontAlignZonesTag.h
@@ -51,12 +51,7 @@ private:
/// Construct a DefineFoneAlignZonesTag
//
/// This should only be called from the loader() function.
- DefineFontAlignZonesTag(movie_definition& m, SWFStream& in);
-
- unsigned short _font2_id_ref;
-
- unsigned _csm_table_int;
-
+ DefineFontAlignZonesTag(movie_definition& m, SWFStream& in);
};
} // namespace gnash::SWF
diff --git a/libcore/swf/ShapeRecord.cpp b/libcore/swf/ShapeRecord.cpp
index 8dc2355..23d8b0a 100644
--- a/libcore/swf/ShapeRecord.cpp
+++ b/libcore/swf/ShapeRecord.cpp
@@ -40,8 +40,6 @@ namespace {
SWF::TagType tag, movie_definition& md, const RunResources& /*r*/);
void readLineStyles(ShapeRecord::LineStyles& styles, SWFStream& in,
SWF::TagType tag, movie_definition& md, const RunResources& /*r*/);
- void computeBounds(SWFRect& bounds, const ShapeRecord::Paths& paths,
- const ShapeRecord::LineStyles& lineStyles, int swfVersion);
}
// Functors for path and style manipulation.
diff --git a/libmedia/SoundInfo.h b/libmedia/SoundInfo.h
index 8537dfc..f574e59 100644
--- a/libmedia/SoundInfo.h
+++ b/libmedia/SoundInfo.h
@@ -117,9 +117,6 @@ private:
/// Current format of the sound (MP3, raw, etc).
audioCodecType _format;
- /// The size of the undecoded data
- unsigned long _dataSize;
-
/// Stereo or not
bool _stereo;
diff --git a/plugin/klash4/klash_part.h b/plugin/klash4/klash_part.h
index 8c8e3ce..2ae6fb3 100644
--- a/plugin/klash4/klash_part.h
+++ b/plugin/klash4/klash_part.h
@@ -39,7 +39,7 @@ class KAboutData;
class KlashPart;
class KInstance;
class KProcess;
-class JSCommandEntry;
+struct JSCommandEntry;
class KlashView;
/*
http://git.savannah.gnu.org/cgit//commit/?id=587dd8c50051ad7b39ae6f91c906c1f08322cb4c
commit 587dd8c50051ad7b39ae6f91c906c1f08322cb4c
Author: Bastiaan Jacques <address@hidden>
Date: Sun Sep 1 18:59:20 2013 +0200
gnash_canvas_get_renderer has a C++ signature and therefore should not
be wrapped in 'extern "C"'.
diff --git a/gui/gtk/gtk_canvas.h b/gui/gtk/gtk_canvas.h
index c461b37..13d5bc9 100644
--- a/gui/gtk/gtk_canvas.h
+++ b/gui/gtk/gtk_canvas.h
@@ -57,10 +57,11 @@ void gnash_canvas_setup (GnashCanvas *canvas, std::string
&hwaccel,
void gnash_canvas_before_rendering (GnashCanvas *canvas, gnash::movie_root*
stage);
+G_END_DECLS
+
/// Get the Renderer for this canvas
boost::shared_ptr<gnash::Renderer> gnash_canvas_get_renderer(GnashCanvas
*canvas);
-G_END_DECLS
#endif
-----------------------------------------------------------------------
Summary of changes:
gui/gtk/gtk_canvas.h | 3 ++-
libcore/asobj/MovieClipLoader.h | 2 +-
libcore/asobj/TextSnapshot_as.cpp | 4 ++--
libcore/swf/DefineFontAlignZonesTag.cpp | 2 --
libcore/swf/DefineFontAlignZonesTag.h | 7 +------
libcore/swf/ShapeRecord.cpp | 2 --
libmedia/SoundInfo.h | 3 ---
plugin/klash4/klash_part.h | 2 +-
8 files changed, 7 insertions(+), 18 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1778-ga43b13b,
Bastiaan Jacques <=