gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog backend/sound_handler_gst.cpp b...


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_gst.cpp b...
Date: Fri, 13 Apr 2007 07:35:58 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     07/04/13 07:35:57

Modified files:
        .              : ChangeLog 
        backend        : sound_handler_gst.cpp sound_handler_sdl.cpp 
        libbase        : Makefile.am 
        server         : URLAccessManager.cpp array.cpp impl.cpp 
                         movie_instance.cpp movie_root.cpp shape.cpp 
                         sprite_instance.cpp textformat.h 
        server/parser  : action_buffer.cpp bitmap_character_def.cpp 
                         sprite_definition.cpp 
        server/vm      : ActionExec.cpp action.cpp 
        testsuite      : sound_handler_test.cpp 

Log message:
                * libbase/Makefile.am: No longer include Thread.{h,cpp} in the
                build, because this pthread based class is unused and
                deprecated.
                * server/URLAccessManager.cpp: Comment out unused parameter.
                * server/shape.cpp: Comment out dead code.
                * server/textformat.cpp: make text_format DSOEXPORT, because
                it is used in another DSO.
                * all over the place: Remove all inclusions of pthread.h, 
                because we're no longer directly using pthreads.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2867&r2=1.2868
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.49&r2=1.50
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/Makefile.am?cvsroot=gnash&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/gnash/server/URLAccessManager.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.57&r2=1.58
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.102&r2=1.103
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_instance.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shape.cpp?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.238&r2=1.239
http://cvs.savannah.gnu.org/viewcvs/gnash/server/textformat.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/action_buffer.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/bitmap_character_def.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sprite_definition.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.cpp?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/sound_handler_test.cpp?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2867
retrieving revision 1.2868
diff -u -b -r1.2867 -r1.2868
--- ChangeLog   12 Apr 2007 21:53:12 -0000      1.2867
+++ ChangeLog   13 Apr 2007 07:35:55 -0000      1.2868
@@ -2,6 +2,15 @@
 
        * server/parser/movie_def_impl.{cpp,h}: Replace pthread usage
        by boost threads.
+       * libbase/Makefile.am: No longer include Thread.{h,cpp} in the
+       build, because this pthread based class is unused and
+       deprecated.
+       * server/URLAccessManager.cpp: Comment out unused parameter.
+       * server/shape.cpp: Comment out dead code.
+       * server/textformat.cpp: make text_format DSOEXPORT, because
+       it is used in another DSO.
+       * all over the place: Remove all inclusions of pthread.h,
+       because we're no longer directly using pthreads.
 
 2007-04-12 Sandro Santilli <address@hidden>
 

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- backend/sound_handler_gst.cpp       28 Mar 2007 16:12:08 -0000      1.34
+++ backend/sound_handler_gst.cpp       13 Apr 2007 07:35:55 -0000      1.35
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.34 2007/03/28 16:12:08 tgc Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.35 2007/04/13 07:35:55 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -35,7 +35,6 @@
 #include "container.h"
 #include "log.h"
 #include "types.h"     // for IF_VERBOSE_* macros
-#include <pthread.h>
 #include <cmath>
 #include <vector>
 

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- backend/sound_handler_sdl.cpp       23 Mar 2007 00:30:10 -0000      1.49
+++ backend/sound_handler_sdl.cpp       13 Apr 2007 07:35:55 -0000      1.50
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.49 2007/03/23 00:30:10 tgc Exp $
+// $Id: sound_handler_sdl.cpp,v 1.50 2007/04/13 07:35:55 bjacques Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -27,7 +27,6 @@
 #include "sound_handler_sdl.h"
 
 #include "log.h"
-#include <pthread.h>
 #include <cmath>
 #include <vector>
 #include <SDL.h>

Index: libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libbase/Makefile.am,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- libbase/Makefile.am 23 Mar 2007 00:30:10 -0000      1.61
+++ libbase/Makefile.am 13 Apr 2007 07:35:55 -0000      1.62
@@ -97,7 +97,6 @@
        curl_adapter.cpp \
        noseek_fd_adapter.cpp \
        zlib_adapter.cpp \
-       Thread.cpp \
        URL.cpp \
        LoadThread.cpp \
        FLVParser.cpp
@@ -137,7 +136,6 @@
        curl_adapter.h \
        noseek_fd_adapter.h \
        zlib_adapter.h \
-       Thread.h \
        URL.h \
        LoadThread.h \
        FLVParser.h

Index: server/URLAccessManager.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/URLAccessManager.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/URLAccessManager.cpp 4 Apr 2007 07:10:19 -0000       1.13
+++ server/URLAccessManager.cpp 13 Apr 2007 07:35:55 -0000      1.14
@@ -268,7 +268,7 @@
 }
 
 bool
-allowHost(const std::string& host, short port)
+allowHost(const std::string& host, short /* port */)
 {
        return allowHost(host);
 }

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- server/array.cpp    4 Apr 2007 10:32:42 -0000       1.57
+++ server/array.cpp    13 Apr 2007 07:35:55 -0000      1.58
@@ -22,13 +22,6 @@
 #include "config.h"
 #endif
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "as_value.h"
 #include "array.h"
 #include "log.h"

Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -b -r1.102 -r1.103
--- server/impl.cpp     30 Mar 2007 15:18:24 -0000      1.102
+++ server/impl.cpp     13 Apr 2007 07:35:55 -0000      1.103
@@ -14,19 +14,12 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: impl.cpp,v 1.102 2007/03/30 15:18:24 strk Exp $ */
+/* $Id: impl.cpp,v 1.103 2007/04/13 07:35:55 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "tu_file.h"
 #include "utility.h"
 #include "action.h"

Index: server/movie_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_instance.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/movie_instance.cpp   10 Apr 2007 16:17:54 -0000      1.9
+++ server/movie_instance.cpp   13 Apr 2007 07:35:55 -0000      1.10
@@ -21,13 +21,6 @@
 #include "config.h"
 #endif
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "movie_instance.h"
 #include "movie_definition.h"
 #include "movie_root.h"

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- server/movie_root.cpp       11 Apr 2007 14:20:20 -0000      1.56
+++ server/movie_root.cpp       13 Apr 2007 07:35:55 -0000      1.57
@@ -20,10 +20,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "movie_root.h"
 #include "log.h"
 #include "sprite_instance.h"

Index: server/shape.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shape.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/shape.cpp    3 Mar 2007 13:05:27 -0000       1.30
+++ server/shape.cpp    13 Apr 2007 07:35:55 -0000      1.31
@@ -5,7 +5,7 @@
 
 // Quadratic bezier outline shapes, the basis for most SWF rendering.
 
-/* $Id: shape.cpp,v 1.30 2007/03/03 13:05:27 martinwguy Exp $ */
+/* $Id: shape.cpp,v 1.31 2007/04/13 07:35:55 bjacques Exp $ */
 
 #include "shape.h"
 
@@ -118,7 +118,7 @@
     if (m_edges.size() <= 0) {
        return false;
     }
-
+#if 0
     // This test makes no sense: m_fill0 is unsigned and "1-based" -martin
     if (m_fill0 < 0) {
        // No interior fill.
@@ -137,6 +137,7 @@
        // group.
        return false;
     }
+#endif
     
     // Shoot a horizontal ray from (x,y) to the right, and
     // count the number of edge crossings.  An even number

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -b -r1.238 -r1.239
--- server/sprite_instance.cpp  12 Apr 2007 11:35:30 -0000      1.238
+++ server/sprite_instance.cpp  13 Apr 2007 07:35:55 -0000      1.239
@@ -60,13 +60,6 @@
 #include <algorithm> // for for_each
 #include <boost/algorithm/string/case_conv.hpp>
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 namespace gnash {
 
 //#define GNASH_DEBUG 1

Index: server/textformat.h
===================================================================
RCS file: /sources/gnash/gnash/server/textformat.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/textformat.h 11 Apr 2007 17:54:21 -0000      1.15
+++ server/textformat.h 13 Apr 2007 07:35:56 -0000      1.16
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: textformat.h,v 1.15 2007/04/11 17:54:21 bjacques Exp $
+// $Id: textformat.h,v 1.16 2007/04/13 07:35:56 bjacques Exp $
 //
 
 #ifndef __TEXTFORMAT_H__
@@ -33,7 +33,7 @@
 namespace gnash {  
 
 /// new text_format([font, [size, [color, [bold, [italic, [underline, [url, 
[target, [align,[leftMargin, [rightMargin, [indent, [leading]]]]]]]]]]]]])
-class DSOLOCAL text_format
+class DSOEXPORT text_format
 {
 public:
   

Index: server/parser/action_buffer.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/action_buffer.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/parser/action_buffer.cpp     11 Apr 2007 17:54:21 -0000      1.15
+++ server/parser/action_buffer.cpp     13 Apr 2007 07:35:56 -0000      1.16
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: action_buffer.cpp,v 1.15 2007/04/11 17:54:21 bjacques Exp $ */
+/* $Id: action_buffer.cpp,v 1.16 2007/04/13 07:35:56 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -29,10 +29,6 @@
 
 #include <typeinfo> 
 
-#if !defined(_WIN32) && !defined(WIN32)
-# include <pthread.h> 
-#endif
-
 #include <string>
 
 using std::string;

Index: server/parser/bitmap_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/bitmap_character_def.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/parser/bitmap_character_def.cpp      29 Oct 2006 18:34:15 -0000      
1.4
+++ server/parser/bitmap_character_def.cpp      13 Apr 2007 07:35:56 -0000      
1.5
@@ -21,13 +21,6 @@
 #include "config.h"
 #endif
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "bitmap_character_def.h"
 //#include "bitmap_character_instance.h"
 #include "gnash.h" // for bitmap_info

Index: server/parser/sprite_definition.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sprite_definition.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/parser/sprite_definition.cpp 10 Apr 2007 15:48:39 -0000      1.11
+++ server/parser/sprite_definition.cpp 13 Apr 2007 07:35:56 -0000      1.12
@@ -21,13 +21,6 @@
 #include "config.h"
 #endif
 
-// This needs to be included first for NetBSD systems or we get a weird
-// problem with pthread_t being defined too many times if we use any
-// STL containers.
-#ifdef HAVE_PTHREADS
-#include <pthread.h>
-#endif
-
 #include "sprite_instance.h"
 #include "sprite_definition.h"
 #include "execute_tag.h" // for dtor visibility

Index: server/vm/ActionExec.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ActionExec.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/vm/ActionExec.cpp    4 Apr 2007 20:30:45 -0000       1.25
+++ server/vm/ActionExec.cpp    13 Apr 2007 07:35:56 -0000      1.26
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ActionExec.cpp,v 1.25 2007/04/04 20:30:45 bjacques Exp $ */
+/* $Id: ActionExec.cpp,v 1.26 2007/04/13 07:35:56 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -35,10 +35,6 @@
 #include <typeinfo> 
 #include <boost/algorithm/string/case_conv.hpp>
 
-#if !defined(_WIN32) && !defined(WIN32)
-# include <pthread.h> 
-#endif
-
 #include <sstream>
 #include <string>
 

Index: server/vm/action.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- server/vm/action.cpp        11 Apr 2007 14:20:21 -0000      1.12
+++ server/vm/action.cpp        13 Apr 2007 07:35:56 -0000      1.13
@@ -48,11 +48,6 @@
 #include <typeinfo> 
 #include <string>
 
-#if !defined(_WIN32) && !defined(WIN32)
-# include <pthread.h> 
-#endif
-
-
 using namespace gnash;
 using namespace SWF;
 

Index: testsuite/sound_handler_test.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/sound_handler_test.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/sound_handler_test.cpp    21 Feb 2007 14:51:01 -0000      1.2
+++ testsuite/sound_handler_test.cpp    13 Apr 2007 07:35:57 -0000      1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: sound_handler_test.cpp,v 1.2 2007/02/21 14:51:01 tgc Exp $
+// $Id: sound_handler_test.cpp,v 1.3 2007/04/13 07:35:57 bjacques Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -24,7 +24,6 @@
 #include "sound_handler_test.h"
 
 #include "log.h"
-#include <pthread.h>
 #include <cmath>
 #include <vector>
 




reply via email to

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