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-2101-g30b45a1
Date: Wed, 04 Jun 2014 12:21:44 +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  30b45a12966c0674db6c55cfda01fa5d0fa941b3 (commit)
       via  c91495fc0436e71f5ab398995367996332adf4de (commit)
       via  7dc56b2ace6c3e186b01b09d22f3863d6a7b6a7a (commit)
      from  8d97158535322b57251b625a863a8d7bdb289109 (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=30b45a12966c0674db6c55cfda01fa5d0fa941b3


commit 30b45a12966c0674db6c55cfda01fa5d0fa941b3
Author: Bastiaan Jacques <address@hidden>
Date:   Wed Jun 4 14:19:02 2014 +0200

    Remove Property's copy constructor.
    
    It is the same as the copy constructor that the compiler would
    implicitly generate. Ommitting the explicit implementation also
    allows the compiler to generate a move constructor.

diff --git a/libcore/Property.h b/libcore/Property.h
index 6c1fd56..4bdb8eb 100644
--- a/libcore/Property.h
+++ b/libcore/Property.h
@@ -318,15 +318,6 @@ public:
         _destructive(destroy)
        {}
 
-    /// Copy constructor
-       Property(const Property& p)
-        :
-        _bound(p._bound),
-        _uri(p._uri),
-               _flags(p._flags),
-        _destructive(p._destructive)
-       {}
-
        /// accessor to the properties flags
        const PropFlags& getFlags() const { return _flags; }
 

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


commit c91495fc0436e71f5ab398995367996332adf4de
Author: Bastiaan Jacques <address@hidden>
Date:   Tue Jun 3 22:31:40 2014 +0200

    Drop unused code.

diff --git a/libcore/swf/ShapeRecord.cpp b/libcore/swf/ShapeRecord.cpp
index 89eaf4d..44e5fde 100644
--- a/libcore/swf/ShapeRecord.cpp
+++ b/libcore/swf/ShapeRecord.cpp
@@ -69,70 +69,6 @@ private:
     const double _ratio;
 };
 
-// Facilities for working with list of paths.
-class PathList
-{
-    typedef SWF::ShapeRecord::Paths Paths;
-public:
-
-    PathList(const Paths& paths)
-        :
-        _paths(paths),
-        _currpath(0),
-        _curredge(0),
-        _nedges(computeNumberOfEdges(_paths))
-    {}
-
-    /// Return number of edges in the path list
-    size_t size() const
-    {
-        return _nedges;
-    }
-
-    /// Get next edge in the path list.
-    //
-    /// After last edge in the list has been fetched,
-    /// next call to this function will return first
-    /// edge again.
-    ///
-    const Edge& getNextEdge()
-    {
-        const Edge& ret = _paths[_currpath][_curredge];
-        if ( ++_curredge >= _paths[_currpath].size() ) {
-            if ( ++_currpath >= _paths.size() ) {
-                // this is not really needed,
-                // but it's simpler to do so that
-                // to make next call fail or abort..
-                _currpath = 0;
-                _curredge = 0;
-            }
-        }
-        return ret;
-    }
-
-    /// Compute total number of edges
-    static size_t computeNumberOfEdges(const Paths& paths)
-    {
-        size_t count=0;
-        for (const Path& path : paths) {
-
-            count += path.size();
-        }
-        return count;
-    }
-
-private:
-
-    const Paths& _paths;
-
-    size_t _currpath;
-
-    size_t _curredge;
-
-    size_t _nedges;
-
-};
-
 } // anonymous namespace
 
 ShapeRecord::ShapeRecord(SWFStream& in, SWF::TagType tag, movie_definition& m,

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


commit 7dc56b2ace6c3e186b01b09d22f3863d6a7b6a7a
Author: Bastiaan Jacques <address@hidden>
Date:   Tue Jun 3 21:28:45 2014 +0200

    Remove defunct comments.

diff --git a/libcore/Geometry.h b/libcore/Geometry.h
index d8ddcbb..f421ed5 100644
--- a/libcore/Geometry.h
+++ b/libcore/Geometry.h
@@ -188,9 +188,6 @@ public:
     
     /// Default constructor
     //
-    /// @param newShape
-    ///    True if this path starts a new subshape
-    ///
     Path()
     {
         reset(0, 0, 0, 0, 0);
@@ -225,9 +222,6 @@ public:
     /// @param line
     ///    Line style index for right fill (1-based).
     ///    Zero means NO style.
-    ///
-    /// @param newShape
-    ///    True if this path starts a new subshape
     Path(std::int32_t ax, std::int32_t ay,
             unsigned fill0, unsigned fill1, unsigned line)
     {

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

Summary of changes:
 libcore/Geometry.h          |    6 ----
 libcore/Property.h          |    9 ------
 libcore/swf/ShapeRecord.cpp |   64 -------------------------------------------
 3 files changed, 0 insertions(+), 79 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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