gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase sharedlib.cpp extension.cpp


From: Rob Savoye
Subject: [Gnash-commit] gnash/libbase sharedlib.cpp extension.cpp
Date: Sun, 17 Dec 2006 21:41:52 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    06/12/17 21:41:52

Modified files:
        libbase        : sharedlib.cpp extension.cpp 

Log message:
        Disable most of the TRACE debug lines.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/sharedlib.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/extension.cpp?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: sharedlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/sharedlib.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- sharedlib.cpp       7 Dec 2006 12:39:36 -0000       1.12
+++ sharedlib.cpp       17 Dec 2006 21:41:52 -0000      1.13
@@ -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: sharedlib.cpp,v 1.12 2006/12/07 12:39:36 rsavoye Exp $ */
+/* $Id: sharedlib.cpp,v 1.13 2006/12/17 21:41:52 rsavoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -87,7 +87,7 @@
 SharedLib::SharedLib() 
     : _filespec(0)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 #ifdef LT_DLMUTEX
 //     return lt_dlmutex_register (gnash_mutex_lock, gnash_mutex_unlock,
 //                                 gnash_mutex_seterror, gnash_mutex_geterror);
@@ -96,7 +96,7 @@
 
 SharedLib::SharedLib(const char *filespec)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 #ifdef LT_DLMUTEX
 //     return lt_dlmutex_register (gnash_mutex_lock, gnash_mutex_unlock,
 //                                 gnash_mutex_seterror, gnash_mutex_geterror);
@@ -109,8 +109,8 @@
     if (errors) {
         dbglogfile << "Couldn't initialize ltdl";
         dbglogfile << lt_dlerror();
-    } else {
-        dbglogfile << "Initialized ltdl" << endl;
+//     } else {
+//         dbglogfile << "Initialized ltdl" << endl;
     }
     char *pluginsdir;
     char *env = getenv ("GNASH_PLUGINS");
@@ -125,7 +125,7 @@
 
 SharedLib::~SharedLib()
 {
-    GNASH_REPORT_FUNCTION;
+    //   GNASH_REPORT_FUNCTION;
 //    closeLib();
 //    lt_dlexit();
 }
@@ -151,7 +151,7 @@
 bool
 SharedLib::openLib (const char *filespec)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     
 #if 0
     // ltdl should use the same mallocation as us
@@ -179,7 +179,7 @@
 //     cerr << "Searching in " << lt_dlgetsearchpath()
 //          << "for database drivers" << endl;
 
-    dbglogfile << "Trying to open shared library \"" << filespec << "\"" << 
endl;
+//    dbglogfile << "Trying to open shared library \"" << filespec << "\"" << 
endl;
     _dlhandle = lt_dlopenext (filespec);
     
     if (_dlhandle == NULL) {
@@ -216,7 +216,7 @@
 SharedLib::initentry *
 SharedLib::getInitEntry (const char *symbol)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     lt_ptr run = NULL;
     
     scoped_lock lock(lib_mutex);
@@ -236,7 +236,7 @@
 SharedLib::entrypoint *
 SharedLib::getDllSymbol(const char *symbol)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     
     lt_ptr run = NULL;
     
@@ -262,7 +262,7 @@
 const char *
 SharedLib::getDllFileName ()
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 
     return  lt_dlgetinfo(_dlhandle)->filename;
 }
@@ -270,14 +270,14 @@
 const char *
 SharedLib::getDllModuleName ()
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     return  lt_dlgetinfo(_dlhandle)->name;
 }
 
 int
 SharedLib::getDllRefCount ()
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     return  lt_dlgetinfo(_dlhandle)->ref_count;
 }
 

Index: extension.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/extension.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- extension.cpp       15 Dec 2006 21:19:25 -0000      1.5
+++ extension.cpp       17 Dec 2006 21:41:52 -0000      1.6
@@ -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: extension.cpp,v 1.5 2006/12/15 21:19:25 rsavoye Exp $ */
+/* $Id: extension.cpp,v 1.6 2006/12/17 21:41:52 rsavoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -65,7 +65,7 @@
 
 Extension::Extension() 
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 #ifdef LT_DLMUTEX
 //     return lt_dlmutex_register (gnash_mutex_lock, gnash_mutex_unlock,
 //                                 gnash_mutex_seterror, gnash_mutex_geterror);
@@ -82,7 +82,7 @@
 
 Extension::Extension(const char *dir)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 #ifdef LT_DLMUTEX
 //     return lt_dlmutex_register (gnash_mutex_lock, gnash_mutex_unlock,
 //                                 gnash_mutex_seterror, gnash_mutex_geterror);
@@ -93,13 +93,13 @@
 
 Extension::~Extension()
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 }
 
 bool
 Extension::scanAndLoad(const char *dir, as_object &obj)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     
     lt_dlsetsearchpath(_pluginsdir);
     _pluginsdir = dir;
@@ -110,7 +110,7 @@
 bool
 Extension::scanAndLoad(as_object &obj)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 //    const char *mod;
     string mod;
     
@@ -131,7 +131,7 @@
 bool
 Extension::initModule(const char *module, as_object &obj)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
 
     SharedLib::initentry *symptr;
     SharedLib *sl;
@@ -163,7 +163,7 @@
 bool
 Extension::scanDir()
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     scanDir(_pluginsdir);
                return true;
 }
@@ -171,7 +171,7 @@
 bool
 Extension::scanDir(const char *dirlist)
 {
-    GNASH_REPORT_FUNCTION;
+//    GNASH_REPORT_FUNCTION;
     
     int i;
     struct dirent *entry;




reply via email to

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