[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-1659-g6dba36f |
Date: |
Thu, 11 Jul 2013 21:51:16 +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 6dba36f07216f6923960a7df470456df109d3749 (commit)
via 423f4c889f252f40155eb0f56707facd5041bd13 (commit)
via 0aaab3d5290890a3a88c80e78eaf1806b93d22b1 (commit)
from cd54b5ab5acd6bd357750f142059089eebe4664c (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=6dba36f07216f6923960a7df470456df109d3749
commit 6dba36f07216f6923960a7df470456df109d3749
Author: Bastiaan Jacques <address@hidden>
Date: Wed Jul 10 13:26:48 2013 +0200
Savannah #33760 p3. Another attempt to make the test work reliably.
Although sadly loading is unpredictable enough that we cannot guarantee
that playback has begun, it is enough to merely check whether onLoad is
called to verify the bug fix.
diff --git a/testsuite/actionscript.all/Sound.as
b/testsuite/actionscript.all/Sound.as
index ed06e96..2ac115f 100644
--- a/testsuite/actionscript.all/Sound.as
+++ b/testsuite/actionscript.all/Sound.as
@@ -308,7 +308,7 @@ s.onSoundComplete = function()
longsilence.onLoad = function(success) {
// Test for #33760, continued: Having this test here is a hack, but the
// delay in calling this function will ensure the sound has started.
- check(longsilence.position > 0);
+ pass("mp3 over one minute long loaded");
endOfTest();
};
http://git.savannah.gnu.org/cgit//commit/?id=423f4c889f252f40155eb0f56707facd5041bd13
commit 423f4c889f252f40155eb0f56707facd5041bd13
Author: Bastiaan Jacques <address@hidden>
Date: Wed Jul 10 12:13:59 2013 +0200
Remove useless casts.
diff --git a/libbase/rc.cpp b/libbase/rc.cpp
index 41990a9..5192792 100644
--- a/libbase/rc.cpp
+++ b/libbase/rc.cpp
@@ -777,8 +777,7 @@ RcInitFile::updateFile(const std::string& filespec)
cmd << "SOLSafeDir " << _solsandbox << endl <<
cmd << "localConnection " << _lcdisabled << endl <<
cmd << "LCTrace " << _lctrace << endl <<
- cmd << "LCShmkey " << std::hex << (boost::uint32_t) _lcshmkey
- << std::dec << endl <<
+ cmd << "LCShmkey " << std::hex << _lcshmkey << std::dec << endl <<
cmd << "ignoreFSCommand " << _ignoreFSCommand << endl <<
cmd << "ignoreShowMenu " << _ignoreShowMenu << endl <<
cmd << "saveStreamingMedia " << _saveStreamingMedia << endl <<
diff --git a/libcore/DisplayObject.cpp b/libcore/DisplayObject.cpp
index 9923cc5..a2c52cf 100644
--- a/libcore/DisplayObject.cpp
+++ b/libcore/DisplayObject.cpp
@@ -1389,7 +1389,7 @@ getFocusRect(DisplayObject& o)
if (boost::indeterminate(fr)) {
as_value null;
null.set_null();
- return as_value(null);
+ return null;
}
const bool ret = static_cast<bool>(fr);
if (getSWFVersion(*getObject(&o)) == 5) {
diff --git a/libcore/SWFStream.cpp b/libcore/SWFStream.cpp
index ee400ea..76f96ff 100644
--- a/libcore/SWFStream.cpp
+++ b/libcore/SWFStream.cpp
@@ -229,14 +229,14 @@ float SWFStream::read_ufixed()
float SWFStream::read_short_ufixed()
{
// align(); // read_u16 will align
- return static_cast<float> ( read_u16() / 256.0f );
+ return read_u16() / 256.0f;
}
// Read a short fixed value, signed.
float SWFStream::read_short_sfixed()
{
// align(); // read_s16 will align
- return static_cast<float> ( read_s16() / 256.0f );
+ return read_s16() / 256.0f;
}
/// Read a 16bit (1:sign 5:exp 10:mantissa) floating point value
diff --git a/libcore/asobj/flash/external/ExternalInterface_as.cpp
b/libcore/asobj/flash/external/ExternalInterface_as.cpp
index f13993f..86530e6 100644
--- a/libcore/asobj/flash/external/ExternalInterface_as.cpp
+++ b/libcore/asobj/flash/external/ExternalInterface_as.cpp
@@ -406,7 +406,7 @@ externalinterface_uArgumentsToXML(const fn_call& fn)
ArgsToXML tx(ret, fn);
size_t size = arrayLength(*obj);
if (size) {
- for (size_t i = 1; i < static_cast<size_t>(size); ++i) {
+ for (size_t i = 1; i < size; ++i) {
tx(getOwnProperty(*obj, arrayKey(vm, i)));
}
}
http://git.savannah.gnu.org/cgit//commit/?id=0aaab3d5290890a3a88c80e78eaf1806b93d22b1
commit 0aaab3d5290890a3a88c80e78eaf1806b93d22b1
Author: Bastiaan Jacques <address@hidden>
Date: Wed Jul 10 12:07:22 2013 +0200
Reduce noise.
diff --git a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
index 83b1d74..a53fb70 100644
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
@@ -625,7 +625,7 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int
whence)
else if (whence == SEEK_END)
{
// New position is offset + end of file
- log_unimpl("MediaParserFfmpeg seek from end of file");
+ LOG_ONCE(log_unimpl("MediaParserFfmpeg seek from end of file"));
// This is (most likely) a streamed file, so we can't seek to
the end!
// Instead we seek to byteIOBufferSize bytes... seems to work
fine...
_stream->seek(byteIOBufferSize);
@@ -635,7 +635,7 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int
whence)
{
// ffmpeg uses whence=AVSEEK_SIZE and offset=0 to request
// stream size !
- log_unimpl("MediaParserFfmpeg: unsupported whence value %d",
whence);
+ LOG_ONCE(log_unimpl("MediaParserFfmpeg: unsupported whence
value %d", whence));
return -1;
}
-----------------------------------------------------------------------
Summary of changes:
libbase/rc.cpp | 3 +--
libcore/DisplayObject.cpp | 2 +-
libcore/SWFStream.cpp | 4 ++--
.../asobj/flash/external/ExternalInterface_as.cpp | 2 +-
libmedia/ffmpeg/MediaParserFfmpeg.cpp | 4 ++--
testsuite/actionscript.all/Sound.as | 2 +-
6 files changed, 8 insertions(+), 9 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-1659-g6dba36f,
Bastiaan Jacques <=