Title: [123879] trunk/Source
- Revision
- 123879
- Author
- [email protected]
- Date
- 2012-07-27 10:14:41 -0700 (Fri, 27 Jul 2012)
Log Message
Source/WebKit: [EFL] WebKit API unit tests needs a timeout
https://bugs.webkit.org/show_bug.cgi?id=92496
Patch by Thiago Marcos P. Santos <[email protected]> on 2012-07-27
Reviewed by Antonio Gomes.
Added the same timeout value that we have for WebKit2.
* PlatformEfl.cmake:
Source/WTF: Support a rational time class for use by media elements.
https://bugs.webkit.org/show_bug.cgi?id=88787
Patch by Jer Noble <[email protected]> on 2012-07-27
Reviewed by Eric Carlson.
Add a new MediaTime class which implements rational math operations.
Add common constructors and assignment operators:
* wtf/MediaTime.cpp: Added.
(WTF::MediaTime::MediaTime):
(WTF::MediaTime::~MediaTime):
(WTF::MediaTime::operator=):
Add common math operators:
* wtf/MediaTime.cpp:
(WTF::MediaTime::operator+):
(WTF::MediaTime::operator-):
(WTF::MediaTime::operator<):
(WTF::MediaTime::operator>):
(WTF::MediaTime::operator==):
(WTF::MediaTime::operator>=):
(WTF::MediaTime::operator<=):
Add functions to check the MeiaTime time type flags:
* wtf/MediaTime.h:
(WTF::MediaTime::isValid):
(WTF::MediaTime::isInvalid):
(WTF::MediaTime::hasBeenRounde):
(WTF::MediaTime::isPositiveInfinite):
(WTF::MediaTime::isNegativeInfinite):
(WTF::MediaTime::isIndefinite):
Add constants for commonly used MediaTime values:
(WTF::MediaTime::zeroTime):
(WTF::MediaTime::invalidTime):
(WTF::MediaTime::positiveInfiniteTime):
(WTF::MediaTime::negativeInfiniteTime):
(WTF::MediaTime::indefiniteTime):
Add explicit conversion functions to convert to and from floating point values.
* wtf/MediaTime.cpp:
(WTF::MediaTime::createWithFloat):
(WTF::MediaTime::createWithDouble):
(WTF::MediaTime::toFloat):
(WTF::MediaTime::toDouble):
Add some useful exported functions:
* wtf/MediaTime.cpp:
(WTF::MediaTime::compare): Master function for the comparison operators above.
(WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
(WTF::abs): Return an absolute value for the current MediaTime.
Static utility functions to implement the above:
* wtf/MediaTime.cpp:
(WTF::greatestCommonDivisor):
(WTF::leastCommonMultiple):
(WTF::signum):
Windows-only implementations of isinf and signbit:
* wtf/MediaTime.cpp:
(std::isinf):
(std::signbit):
Add the new class to platform build files:
* GNUmakefile.list.am:
* WTF.gypi:
* WTF.pro:
* WTF.vcproj/WTF.vcproj:
* WTF.xcodeproj/project.pbxproj:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (123878 => 123879)
--- trunk/Source/WTF/ChangeLog 2012-07-27 16:31:07 UTC (rev 123878)
+++ trunk/Source/WTF/ChangeLog 2012-07-27 17:14:41 UTC (rev 123879)
@@ -87,6 +87,23 @@
* wtf/Atomics.h:
(WTF):
+2012-07-27 Wei James <[email protected]>
+
+ set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
+ https://bugs.webkit.org/show_bug.cgi?id=91746
+
+ Reviewed by Adam Barth.
+
+ This patch is part of efforts to enable web audio for chromium android.
+ Web audio component needs to use atomicIncrement and atomicDecrement,
+ which are enabled by this MACRO.
+
+ As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
+ this patch standalone.
+
+ * wtf/Atomics.h:
+ (WTF):
+
2012-07-26 Arnaud Renevier <[email protected]>
constructing TypedArray from another TypedArray is slow
Modified: trunk/Source/WebKit/ChangeLog (123878 => 123879)
--- trunk/Source/WebKit/ChangeLog 2012-07-27 16:31:07 UTC (rev 123878)
+++ trunk/Source/WebKit/ChangeLog 2012-07-27 17:14:41 UTC (rev 123879)
@@ -1,3 +1,14 @@
+2012-07-27 Thiago Marcos P. Santos <[email protected]>
+
+ [EFL] WebKit API unit tests needs a timeout
+ https://bugs.webkit.org/show_bug.cgi?id=92496
+
+ Reviewed by Antonio Gomes.
+
+ Added the same timeout value that we have for WebKit2.
+
+ * PlatformEfl.cmake:
+
2012-07-27 Dominik Röttsches <[email protected]>
[Cairo] Add complex font drawing using HarfbuzzNG
Modified: trunk/Source/WebKit/PlatformEfl.cmake (123878 => 123879)
--- trunk/Source/WebKit/PlatformEfl.cmake 2012-07-27 16:31:07 UTC (rev 123878)
+++ trunk/Source/WebKit/PlatformEfl.cmake 2012-07-27 17:14:41 UTC (rev 123879)
@@ -351,6 +351,7 @@
FOREACH (testName ${EWKUnitTests_BINARIES})
ADD_EXECUTABLE(${testName} ${WEBKIT_EFL_TEST_DIR}/${testName}.cpp ${WEBKIT_EFL_TEST_DIR}/test_runner.cpp)
ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
+ SET_TESTS_PROPERTIES(${testName} PROPERTIES TIMEOUT 60)
TARGET_LINK_LIBRARIES(${testName} ${EWKUnitTests_LIBRARIES} ewkTestUtils)
ADD_TARGET_PROPERTIES(${testName} LINK_FLAGS "${EWKUnitTests_LINK_FLAGS}")
SET_TARGET_PROPERTIES(${testName} PROPERTIES FOLDER "WebKit")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes