[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h t...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h t... |
Date: |
Sat, 29 Mar 2008 20:01:59 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/03/29 20:01:59
Modified files:
. : ChangeLog
libbase : log.cpp log.h
testsuite/actionscript.all: Function.as
Log message:
* libbase/log.{cpp,h}: drop unused timestamp variation code.
* testsuite/actionscript.all/Function.as: add test for
user-defined
function's constructor.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6079&r2=1.6080
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.cpp?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.h?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Function.as?cvsroot=gnash&r1=1.70&r2=1.71
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6079
retrieving revision 1.6080
diff -u -b -r1.6079 -r1.6080
--- ChangeLog 29 Mar 2008 19:35:52 -0000 1.6079
+++ ChangeLog 29 Mar 2008 20:01:57 -0000 1.6080
@@ -1,3 +1,9 @@
+2008-03-29 Sandro Santilli <address@hidden>
+
+ * libbase/log.{cpp,h}: drop unused timestamp variation code.
+ * testsuite/actionscript.all/Function.as: add test for user-defined
+ function's constructor.
+
2008-03-29 Rob Savoye <address@hidden>
* libamf/Makefile.am: Add libnet to include paths.
Index: libbase/log.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- libbase/log.cpp 29 Mar 2008 03:16:03 -0000 1.73
+++ libbase/log.cpp 29 Mar 2008 20:01:58 -0000 1.74
@@ -76,21 +76,6 @@
}
-// FIXME: localize these, so they print local regional timestamps.
-std::ostream&
-timestamp(std::ostream& x)
-{
- time_t t;
- char buf[10];
-
- memset (buf, '0', 10); // this terminates the string
- time (&t); // get the current time
- strftime (buf, sizeof(buf), "%H:%M:%S", localtime (&t));
-
- return x << buf << ": ";
-}
-
-
std::string
timestamp() {
@@ -107,17 +92,6 @@
}
-std::ostream& datetimestamp(std::ostream& x) {
- time_t t;
- char buf[20];
-
- memset (buf, '0', 20); // this terminates the string
- time (&t); // get the current time
- strftime (buf, sizeof(buf), "%Y-%m-%d %H:%M:%S ", localtime (&t));
-
- return x << buf;
-}
-
// This is a bit of a hack. We implement wrappers for the old
// functions so we don't have to change files everywhere, but get the
// new behaviours, like logging to disk.
Index: libbase/log.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- libbase/log.h 28 Mar 2008 15:22:07 -0000 1.74
+++ libbase/log.h 29 Mar 2008 20:01:58 -0000 1.75
@@ -64,11 +64,6 @@
#define DEBUGLEVEL 2
-//extern std::ostream& stampon(std::ostream& x);
-//extern std::ostream& stampoff(std::ostream& x);
-//extern std::ostream& timestamp(std::ostream& x);
-//extern std::ostream& datetimestamp(std::ostream& x);
-
// This is a basic file logging class
class DSOEXPORT LogFile {
public:
Index: testsuite/actionscript.all/Function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Function.as,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- testsuite/actionscript.all/Function.as 29 Mar 2008 15:41:43 -0000
1.70
+++ testsuite/actionscript.all/Function.as 29 Mar 2008 20:01:59 -0000
1.71
@@ -22,7 +22,7 @@
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Function.as,v 1.70 2008/03/29 15:41:43 strk Exp $";
+rcsid="$Id: Function.as,v 1.71 2008/03/29 20:01:59 strk Exp $";
#include "check.as"
#if OUTPUT_VERSION >= 6
@@ -226,6 +226,7 @@
check (Function instanceOf Object);
#endif
+check_equals (TestClass.constructor, Function);
check_equals (typeOf(TestClass.prototype.constructor), 'function');
check (TestClass.prototype.constructor == TestClass);
@@ -913,11 +914,11 @@
check_equals(b.count, 1); // See bug #22203
#if OUTPUT_VERSION == 5
- check_totals(146); // SWF5
+ check_totals(147); // SWF5
#endif
#if OUTPUT_VERSION == 6
- check_totals(205); // SWF6
+ check_totals(206); // SWF6
#endif
#if OUTPUT_VERSION >= 7
- check_totals(206); // SWF7,SWF8
+ check_totals(207); // SWF7,SWF8
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h t...,
Sandro Santilli <=