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. c1848f9588ed157683f7


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. c1848f9588ed157683f763a490806c452bf0544d
Date: Fri, 27 Aug 2010 09:21:05 +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  c1848f9588ed157683f763a490806c452bf0544d (commit)
       via  855587d2bb09511a99f68d2618213be4026f6f78 (commit)
       via  79550451b87896dde6d59f49f2f18f7243f36fb5 (commit)
      from  e542b0ede8ba6dc51cf147179f40799ddb4a83f8 (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=c1848f9588ed157683f763a490806c452bf0544d


commit c1848f9588ed157683f763a490806c452bf0544d
Author: Benjamin Wolsey <address@hidden>
Date:   Fri Aug 27 11:20:45 2010 +0200

    Use mandir for man1 dir.

diff --git a/doc/C/Makefile.am b/doc/C/Makefile.am
index fa4b230..b29c2f7 100644
--- a/doc/C/Makefile.am
+++ b/doc/C/Makefile.am
@@ -20,7 +20,7 @@
 
 htmldir = ${prefix}/share/doc/gnash
 infodir = ${prefix}/share/info
-man1dir = ${prefix}/share/man/man1
+man1dir = ${mandir}/man1
 docname = gnash
 lang = C
 omffile = gnash-C.omf

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


commit 855587d2bb09511a99f68d2618213be4026f6f78
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Aug 26 13:24:58 2010 +0200

    Drop unused functions (clang warnings).

diff --git a/libcore/FillStyle.cpp b/libcore/FillStyle.cpp
index 4751404..43c3796 100644
--- a/libcore/FillStyle.cpp
+++ b/libcore/FillStyle.cpp
@@ -39,7 +39,6 @@ namespace gnash {
 
 // Forward declarations
 namespace {
-    rgba sampleGradient(const GradientFill& fill, boost::uint8_t ratio);
     OptionalFillPair readSolidFill(SWFStream& in, SWF::TagType t,
             bool readMorph);
     OptionalFillPair readBitmapFill(SWFStream& in, SWF::FillType type,
diff --git a/libcore/Video.cpp b/libcore/Video.cpp
index f2ad888..5e17d11 100644
--- a/libcore/Video.cpp
+++ b/libcore/Video.cpp
@@ -42,7 +42,6 @@
 namespace gnash {
 
 namespace {    
-    as_object* getVideoInterface(as_object& where);
     void attachPrototypeProperties(as_object& o);
     void attachVideoInterface(as_object& o);
     as_value video_ctor(const fn_call& fn);
diff --git a/libcore/asobj/Accessibility_as.cpp 
b/libcore/asobj/Accessibility_as.cpp
index 1b09a91..654bda6 100644
--- a/libcore/asobj/Accessibility_as.cpp
+++ b/libcore/asobj/Accessibility_as.cpp
@@ -31,13 +31,9 @@ namespace gnash {
 
 // Forward declarations
 namespace {
-    as_value accessibility_ctor(const fn_call& fn);
     void attachAccessibilityStaticInterface(as_object& o);
-    void attachAccessibilityAS3StaticInterface(as_object& o);
-    as_object* getAccessibilityInterface();
 
     as_value accessibility_isActive(const fn_call& fn);
-    as_value accessibility_active(const fn_call& fn);
     as_value accessibility_updateProperties(const fn_call& fn);
     as_value accessibility_sendEvent(const fn_call& fn);
 }
@@ -75,13 +71,6 @@ registerAccessibilityNative(as_object& global)
 namespace {
 
 void
-attachAccessibilityAS3StaticInterface(as_object& o)
-{
-    Global_as& gl = getGlobal(o);
-    o.init_member("active", gl.createFunction(accessibility_active));
-}
-
-void
 attachAccessibilityStaticInterface(as_object& o)
 {
     const int flags = PropFlags::dontDelete |
@@ -102,13 +91,6 @@ accessibility_isActive(const fn_call& /*fn*/)
 }
 
 as_value
-accessibility_active(const fn_call& /*fn*/)
-{
-    LOG_ONCE( log_unimpl (__FUNCTION__) );
-    return as_value(false);
-}
-
-as_value
 accessibility_updateProperties(const fn_call& /*fn*/)
 {
     LOG_ONCE( log_unimpl (__FUNCTION__) );
diff --git a/libcore/asobj/Array_as.cpp b/libcore/asobj/Array_as.cpp
index 77f1b81..ff8dce5 100644
--- a/libcore/asobj/Array_as.cpp
+++ b/libcore/asobj/Array_as.cpp
@@ -66,7 +66,6 @@ struct indexed_as_value;
 
 typedef boost::function2<bool, const as_value&, const as_value&> as_cmp_fn;
 
-as_object* getArrayInterface();
 void attachArrayInterface(as_object& proto);
 void attachArrayStatics(as_object& proto);
 
diff --git a/libcore/asobj/Boolean_as.cpp b/libcore/asobj/Boolean_as.cpp
index 3f16c7f..d08b6c6 100644
--- a/libcore/asobj/Boolean_as.cpp
+++ b/libcore/asobj/Boolean_as.cpp
@@ -36,7 +36,6 @@ namespace {
     as_value boolean_valueof(const fn_call& fn);
     as_value boolean_ctor(const fn_call& fn);
     void attachBooleanInterface(as_object& o);
-    as_object* getBooleanInterface();
 }
 
 class Boolean_as: public Relay
diff --git a/libcore/asobj/CustomActions.cpp b/libcore/asobj/CustomActions.cpp
index fb44036..0ccfaec 100644
--- a/libcore/asobj/CustomActions.cpp
+++ b/libcore/asobj/CustomActions.cpp
@@ -34,7 +34,6 @@ namespace {
     as_value customactions_install(const fn_call& fn);
     as_value customactions_list(const fn_call& fn);
     as_value customactions_uninstall(const fn_call& fn);
-    as_value customactions_ctor(const fn_call& fn);
     void attachCustomActionsInterface(as_object& o);
 
 }
diff --git a/libcore/asobj/Globals.cpp b/libcore/asobj/Globals.cpp
index b94c0de..b58aca9 100644
--- a/libcore/asobj/Globals.cpp
+++ b/libcore/asobj/Globals.cpp
@@ -128,7 +128,6 @@ namespace {
     as_value global_asconstructor(const fn_call& fn);
     as_value global_updateAfterEvent(const fn_call& fn);
     as_value global_setTimeout(const fn_call& fn);
-    as_value global_clearTimeout(const fn_call& fn);
     as_value global_clearInterval(const fn_call& fn);
     as_value global_setInterval(const fn_call& fn);
     
diff --git a/libcore/asobj/LoadVars_as.cpp b/libcore/asobj/LoadVars_as.cpp
index 5f2457b..2db475d 100644
--- a/libcore/asobj/LoadVars_as.cpp
+++ b/libcore/asobj/LoadVars_as.cpp
@@ -47,8 +47,6 @@ namespace {
     as_value loadvars_tostring(const fn_call& fn);
     as_value loadvars_ctor(const fn_call& fn);
        as_value loadvars_onLoad(const fn_call& fn);
-       as_value loadvars_getBytesLoaded(const fn_call& fn);
-       as_value loadvars_getBytesTotal(const fn_call& fn);
        as_value loadvars_onData(const fn_call& fn);
        void attachLoadVarsInterface(as_object& o);
 }
diff --git a/libcore/asobj/MovieClip_as.cpp b/libcore/asobj/MovieClip_as.cpp
index d65dbd6..c082085 100644
--- a/libcore/asobj/MovieClip_as.cpp
+++ b/libcore/asobj/MovieClip_as.cpp
@@ -104,7 +104,6 @@ namespace {
     as_value movieclip_meth(const fn_call& fn);
     as_value movieclip_getSWFVersion(const fn_call& fn);
     as_value movieclip_loadVariables(const fn_call& fn);
-    as_value movieclip_dropTarget(const fn_call& fn);
 
 }
 
diff --git a/libcore/asobj/Sound_as.cpp b/libcore/asobj/Sound_as.cpp
index a0c007d..3f3ce4d 100644
--- a/libcore/asobj/Sound_as.cpp
+++ b/libcore/asobj/Sound_as.cpp
@@ -69,7 +69,6 @@ namespace {
     as_value sound_start(const fn_call& fn);
     as_value sound_stop(const fn_call& fn);
     as_value checkPolicyFile_getset(const fn_call& fn);
-    as_value sound_ctor(const fn_call& fn);
     void attachSoundInterface(as_object& o);
 }
 
@@ -1226,14 +1225,6 @@ sound_areSoundsInaccessible(const fn_call& /*fn*/)
     return as_value();
 }
 
-as_value
-sound_ctor(const fn_call& fn)
-{
-    as_object* obj = fn.this_ptr;
-    obj->setRelay(new Sound_as(obj));
-    return as_value();
-}
-
 } // anonymous namespace 
 } // gnash namespace
 
diff --git a/libcore/asobj/System_as.cpp b/libcore/asobj/System_as.cpp
index 3f4f647..28bdb27 100644
--- a/libcore/asobj/System_as.cpp
+++ b/libcore/asobj/System_as.cpp
@@ -56,11 +56,6 @@ namespace {
     void attachSystemCapabilitiesInterface(as_object& o);
     void attachSystemInterface(as_object& proto);
 
-    // AS3 functions.
-    as_value system_gc(const fn_call& fn);
-    as_value system_pause(const fn_call& fn);
-    as_value system_resume(const fn_call& fn);
-
 }
 
 void
@@ -356,28 +351,6 @@ system_showsettings(const fn_call& /*fn*/)
     return as_value();
 }
 
-as_value
-system_gc(const fn_call& /*fn*/)
-{
-    log_unimpl (__FUNCTION__);
-    return as_value();
-}
-
-as_value
-system_pause(const fn_call& /*fn*/)
-{
-    log_unimpl (__FUNCTION__);
-    return as_value();
-}
-
-as_value
-system_resume(const fn_call& /*fn*/)
-{
-    log_unimpl (__FUNCTION__);
-    return as_value();
-}
-
-
 // FIXME: should return true if shared object files
 // are stored under an exact domain name (www.gnashdev.org or
 // gnashdev.org); false if both are stored under gnashdev.org.
diff --git a/libcore/asobj/TextFormat_as.cpp b/libcore/asobj/TextFormat_as.cpp
index 778ef5c..0a55bff 100644
--- a/libcore/asobj/TextFormat_as.cpp
+++ b/libcore/asobj/TextFormat_as.cpp
@@ -196,7 +196,6 @@ namespace {
     void attachTextFormatInterface(as_object& o);
     const char* getAlignString(TextField::TextAlignment a);
        const char* getDisplayString(TextField::TextFormatDisplay a);
-       TextField::TextAlignment parseAlignString(const std::string& align);
        TextField::TextFormatDisplay parseDisplayString(const std::string& 
display);
 
     /// Align works a bit differently, so is currently not a template.
diff --git a/libcore/asobj/XMLNode_as.cpp b/libcore/asobj/XMLNode_as.cpp
index 6c6a525..8563adb 100644
--- a/libcore/asobj/XMLNode_as.cpp
+++ b/libcore/asobj/XMLNode_as.cpp
@@ -75,7 +75,6 @@ namespace {
     as_value xmlnode_localName(const fn_call& fn);
     as_value xmlnode_prefix(const fn_call& fn);
     void attachXMLNodeInterface(as_object& o);
-    void attachXMLNodeStaticInterface(as_object& o);
 }
 
 XMLNode_as::XMLNode_as(Global_as& gl)
diff --git a/libcore/asobj/flash/external/ExternalInterface_as.cpp 
b/libcore/asobj/flash/external/ExternalInterface_as.cpp
index edc404f..6c015c1 100644
--- a/libcore/asobj/flash/external/ExternalInterface_as.cpp
+++ b/libcore/asobj/flash/external/ExternalInterface_as.cpp
@@ -58,7 +58,6 @@ as_value externalInterfaceConstructor(const fn_call& fn);
 as_value externalinterface_addCallback(const fn_call& fn);
 as_value externalinterface_call(const fn_call& fn);
 as_value externalinterface_available(const fn_call& fn);
-as_value externalinterface_marshallExceptions(const fn_call& fn);
 as_value externalinterface_objectID(const fn_call& fn);
 
 as_value externalinterface_uArgumentsToXML(const fn_call& fn);
@@ -350,21 +349,6 @@ externalinterface_available(const fn_call& fn)
 }
 
 as_value
-externalinterface_marshallExceptions(const fn_call& fn)
-{
-//    GNASH_REPORT_FUNCTION;
-    
-    movie_root& m = getRoot(fn);
-    if (fn.nargs) {
-        m.setMarshallExceptions(fn.arg(0).to_bool());
-    } else {
-        return as_value(m.getMarshallExceptions());
-    }
-    
-    return as_value(true);
-}
-
-as_value
 externalinterface_objectID(const fn_call& fn)
 {
     // GNASH_REPORT_FUNCTION;
diff --git a/libcore/asobj/flash/filters/GradientGlowFilter_as.cpp 
b/libcore/asobj/flash/filters/GradientGlowFilter_as.cpp
index ea8e7e4..b203245 100644
--- a/libcore/asobj/flash/filters/GradientGlowFilter_as.cpp
+++ b/libcore/asobj/flash/filters/GradientGlowFilter_as.cpp
@@ -32,7 +32,6 @@ namespace {
     as_value gradientglowfilter_colors(const fn_call& fn);
     as_value gradientglowfilter_alphas(const fn_call& fn);
     as_value gradientglowfilter_ratios(const fn_call& fn);
-    as_value gradientglowfilter_shadowAlpha(const fn_call& fn);
     as_value gradientglowfilter_blurX(const fn_call& fn);
     as_value gradientglowfilter_blurY(const fn_call& fn);
     as_value gradientglowfilter_strength(const fn_call& fn);
diff --git a/libcore/asobj/flash/geom/Transform_as.cpp 
b/libcore/asobj/flash/geom/Transform_as.cpp
index a48edce..34f3542 100644
--- a/libcore/asobj/flash/geom/Transform_as.cpp
+++ b/libcore/asobj/flash/geom/Transform_as.cpp
@@ -46,7 +46,6 @@ namespace {
     as_value transform_pixelBounds(const fn_call& fn);
     as_value transform_ctor(const fn_call& fn);
     void attachTransformInterface(as_object& o);
-    as_object* getTransformInterface();
     as_value get_flash_geom_transform_constructor(const fn_call& fn);
     
 }

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


commit 79550451b87896dde6d59f49f2f18f7243f36fb5
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Aug 26 13:13:26 2010 +0200

    Fix clang warning.

diff --git a/libcore/asobj/flash/display/BitmapData_as.h 
b/libcore/asobj/flash/display/BitmapData_as.h
index b6397a4..9304c7f 100644
--- a/libcore/asobj/flash/display/BitmapData_as.h
+++ b/libcore/asobj/flash/display/BitmapData_as.h
@@ -38,7 +38,7 @@ namespace gnash {
     class as_object;
     struct ObjectURI;
     class MovieClip;
-    struct Transform;
+    class Transform;
     class DisplayObject;
     class GnashImage;
 }

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

Summary of changes:
 doc/C/Makefile.am                                  |    2 +-
 libcore/FillStyle.cpp                              |    1 -
 libcore/Video.cpp                                  |    1 -
 libcore/asobj/Accessibility_as.cpp                 |   18 -------------
 libcore/asobj/Array_as.cpp                         |    1 -
 libcore/asobj/Boolean_as.cpp                       |    1 -
 libcore/asobj/CustomActions.cpp                    |    1 -
 libcore/asobj/Globals.cpp                          |    1 -
 libcore/asobj/LoadVars_as.cpp                      |    2 -
 libcore/asobj/MovieClip_as.cpp                     |    1 -
 libcore/asobj/Sound_as.cpp                         |    9 ------
 libcore/asobj/System_as.cpp                        |   27 --------------------
 libcore/asobj/TextFormat_as.cpp                    |    1 -
 libcore/asobj/XMLNode_as.cpp                       |    1 -
 libcore/asobj/flash/display/BitmapData_as.h        |    2 +-
 .../asobj/flash/external/ExternalInterface_as.cpp  |   16 -----------
 .../asobj/flash/filters/GradientGlowFilter_as.cpp  |    1 -
 libcore/asobj/flash/geom/Transform_as.cpp          |    1 -
 18 files changed, 2 insertions(+), 85 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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