[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/log.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/log.h |
Date: |
Sun, 05 Nov 2006 14:15:36 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/05 14:15:36
Modified files:
. : ChangeLog
libbase : log.h
Log message:
* libbase/log.h: added IF_VERBOSE_MALFORMED_SWF and
IF_VERBOSE_ASCODING_ERRORS macros.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1526&r2=1.1527
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.h?cvsroot=gnash&r1=1.31&r2=1.32
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1526
retrieving revision 1.1527
diff -u -b -r1.1526 -r1.1527
--- ChangeLog 5 Nov 2006 12:05:07 -0000 1.1526
+++ ChangeLog 5 Nov 2006 14:15:36 -0000 1.1527
@@ -1,5 +1,7 @@
2006-11-05 Sandro Santilli <address@hidden>
+ * libbase/log.h: added IF_VERBOSE_MALFORMED_SWF and
+ IF_VERBOSE_ASCODING_ERRORS macros.
* server/swf/ASHandlers.cpp (ActionSubstring): early
return if input string is undefined or null, base
is out of range, size is negative or invalid (overflow
Index: libbase/log.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- libbase/log.h 29 Oct 2006 18:34:11 -0000 1.31
+++ libbase/log.h 5 Nov 2006 14:15:36 -0000 1.32
@@ -17,7 +17,7 @@
//
//
-/* $Id: log.h,v 1.31 2006/10/29 18:34:11 rsavoye Exp $ */
+/* $Id: log.h,v 1.32 2006/11/05 14:15:36 strk Exp $ */
#ifndef GNASH_LOG_H
#define GNASH_LOG_H
@@ -177,6 +177,13 @@
// Undefine this to completely remove action debugging at compile-time
#define VERBOSE_ACTION 1
+// Undefine this to remove ActionScript errors verbosity
+#define VERBOSE_ASCODING_ERRORS
+
+// Undefine this to remove invalid SWF verbosity
+#define VERBOSE_MALFORMED_SWF
+
+
#ifdef VERBOSE_PARSE
#define IF_VERBOSE_PARSE(x) do { if ( dbglogfile.getParserDump() ) { x; } }
while (0);
#else
@@ -189,6 +196,20 @@
#define IF_VERBOSE_ACTION(x)
#endif
+#ifdef VERBOSE_ASCODING_ERRORS
+// TODO: add a getActionDebug() method to LogFile and use it
+#define IF_VERBOSE_ASCODING_ERRORS(x) {x}
+#else
+#define IF_VERBOSE_ASCODING_ERRORS(x)
+#endif
+
+#ifdef VERBOSE_MALFORMED_SWF
+// TODO: add a getSWFDebug() method to LogFile and use it
+#define IF_VERBOSE_MALFORMED_SWF(x) {x}
+#else
+#define IF_VERBOSE_MALFORMED_SWF(x)
+#endif
+
extern DSOEXPORT LogFile dbglogfile;
class DSOEXPORT __Host_Function_Report__ {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog libbase/log.h,
Sandro Santilli <=