diff options
Diffstat (limited to 'JavaScriptCore/ChangeLog')
-rw-r--r-- | JavaScriptCore/ChangeLog | 469 |
1 files changed, 4 insertions, 465 deletions
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index 7175c5d..f5176f2 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -1,480 +1,19 @@ -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the GTK build. - - * GNUmakefile.am: Use a full path to OSAllocator*.cpp. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the EFL Linux build. - - * CMakeListsEfl.txt: Added OSAllocator to the project. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the Qt build: Include all OS files for Qt's sake, and then - use #ifdefs in the files to exclude things based on OS. - - This is a pretty bad way to manage platforms -- hopefully we can - fix the Qt build system and move away from this in the future. - - * wtf/OSAllocatorPosix.cpp: - * wtf/OSAllocatorSymbian.cpp: - * wtf/OSAllocatorWin.cpp: - * wtf/wtf.pri: - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the Chromium build. - - * JavaScriptCore.gypi: This is a Windows build file, so use OSAllocatorWin.cpp. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the GTK build. - - * GNUmakefile.am: Added OSAllocator to another project. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the GTK Linux build. - - * JavaScriptCore.gypi: Added OSAllocator to the project. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the Qt Linux build. - - * wtf/OSAllocatorPosix.cpp: Use the right errno.h. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix Windows build: export some more symbols. - - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Try to fix the Qt Linux build. - - * wtf/wtf.pri: Use the POSIX OSAllocator for Qt Linux. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Windows build fix: commit doesn't have a return value. - - * wtf/OSAllocatorWin.cpp: - (WTF::OSAllocator::commit): - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Build fix: Export some symbols. - - * JavaScriptCore.exp: - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Build fix. - - * JavaScriptCore.xcodeproj/project.pbxproj: Export OSAllocator.h as private - so other projects can see it. - - * wtf/OSAllocatorPosix.cpp: #include UnusedParam.h for UNUSED_PARAM. - -2010-12-01 Geoffrey Garen <ggaren@apple.com> - - Reviewed by Sam Weinig. - - Baby step toward a cross-platform virtual memory abstraction: created - an all-static OSAllocator class and changed MarkStack to use it. - - * JavaScriptCore.exp: These functions are inlined now. - - * JavaScriptCore.vcproj/WTF/WTF.vcproj: Added OSAllocatorWin.cpp. - - * JavaScriptCore.xcodeproj/project.pbxproj: Added OSAllocatorPosix.cpp. - - * runtime/MarkStack.h: - (JSC::MarkStack::allocateStack): - (JSC::MarkStack::releaseStack): Use OSAllocator instead of rolling our - own platform-specific code. - - * runtime/MarkStackNone.cpp: Removed. Nothing used this. - - * runtime/MarkStackPosix.cpp: - * runtime/MarkStackSymbian.cpp: - * runtime/MarkStackWin.cpp: Removed custom platform-specific code, since - we use the OSAllocator abstraction now. - - * wtf/OSAllocator.h: Added. - * wtf/OSAllocatorPosix.cpp: Added. - (WTF::OSAllocator::reserve): - (WTF::OSAllocator::reserveAndCommit): - (WTF::OSAllocator::commit): - (WTF::OSAllocator::decommit): - (WTF::OSAllocator::release): - * wtf/OSAllocatorSymbian.cpp: Added. - (WTF::OSAllocator::reserve): - (WTF::OSAllocator::reserveAndCommit): - (WTF::OSAllocator::commit): - (WTF::OSAllocator::decommit): - (WTF::OSAllocator::release): - * wtf/OSAllocatorWin.cpp: Added. - (WTF::OSAllocator::reserve): - (WTF::OSAllocator::reserveAndCommit): - (WTF::OSAllocator::commit): - (WTF::OSAllocator::decommit): - (WTF::OSAllocator::release): The new OSAllocator abstraction. - - * wtf/wtf.pri: Added OSAllocatorSymbian.cpp. - -2010-12-01 Steve Falkenburg <sfalken@apple.com> - - Reviewed by Adam Roben. - - WinCairo build should not use link-time code generation (LTCG) - https://bugs.webkit.org/show_bug.cgi?id=50353 - - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: - * JavaScriptCore.vcproj/WTF/WTF.vcproj: - * JavaScriptCore.vcproj/jsc/jsc.vcproj: - * JavaScriptCore.vcproj/testapi/testapi.vcproj: - -010-12-01 Steve Falkenburg <sfalken@apple.com> - - Reviewed by Adam Roben. - - vcproj changes can't be applied cleanly by the Windows EWS bot - https://bugs.webkit.org/show_bug.cgi?id=50328 - - * JavaScriptCore.vcproj/JavaScriptCore.sln: Modified property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Modified property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCF.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCFLite.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj: Modified property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGeneratedCommon.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln: Modified property svn:eol-style. - * JavaScriptCore.vcproj/WTF/WTF.vcproj: Modified property svn:eol-style. - * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/jsc/jsc.vcproj: Modified property svn:eol-style. - * JavaScriptCore.vcproj/jsc/jscCommon.vsprops: Added property svn:eol-style. - * JavaScriptCore.vcproj/testapi/testapi.vcproj: Modified property svn:eol-style. - * JavaScriptCore.vcproj/testapi/testapiCommon.vsprops: Added property svn:eol-style. - -2010-12-01 Gavin Barraclough <barraclough@apple.com> - - Reviewed by Sam Weinig. - - Bug 50298 - /()()()()()()()()()(?:(\10a|b)(X|Y))+/.exec("bXXaYYaY") ASSERTs - - For unmatched subpattens we previously used to set the subpattern end to -1, - but now we only set the start value. E.g. consider the following: - /a(b)?c/.exec("ac"); - Previously we would generate an internal results array of: - [ 0, 2, -1, -1 ] - Since fairly recently we have generated results of: - [ 0, 2, -1, ??? ] - (With the end index of the subpattern uninitialized). - - Update these ASSERTs to account for this. - - Also, when stripping out self-referencing backreferences, (e.g. /(\1)/) we - were checking the wrong property on the pattern term. We should have been - looking at term.parentheses.subpatternId, but instead were checking - term.subpatternId. The latter is actually only the subpatternId for - back reference terms. Rename this to backReferenceSubpatternId. - - * yarr/RegexInterpreter.cpp: - (JSC::Yarr::Interpreter::matchBackReference): - (JSC::Yarr::Interpreter::backtrackBackReference): - -2010-11-30 Gavin Barraclough <barraclough@apple.com> - - Rubber stamped by Sam Weinig. - - Bug 50297 - \s in YARR should match BOMs. - - From section 15.10.2.12 CharacterClassEscape contains: - - The production CharacterClassEscape :: s evaluates by returning the set of characters containing the - characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions. - - Table 2 in section 7.2 contains: - - \uFEFF Byte Order Mark <BOM> - - * create_regex_tables: - Add BOM to spaces table. - -2010-11-30 Gavin Barraclough <barraclough@apple.com> - - Reviewed by Darin Adler. - - Fixed review comments following bug #48101. - Mostly typos, plus gave quantifyInfinite a symbolic name. - - * yarr/RegexCompiler.cpp: - (JSC::Yarr::RegexPatternConstructor::quantifyAtom): - (JSC::Yarr::RegexPatternConstructor::checkForTerminalParentheses): - * yarr/RegexInterpreter.cpp: - (JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd): - (JSC::Yarr::Interpreter::matchParenthesesTerminalBegin): - (JSC::Yarr::Interpreter::backtrackParenthesesTerminalBegin): - (JSC::Yarr::Interpreter::backtrackParenthesesTerminalEnd): - * yarr/RegexJIT.cpp: - (JSC::Yarr::RegexGenerator::generatePatternCharacterGreedy): - (JSC::Yarr::RegexGenerator::generatePatternCharacterNonGreedy): - (JSC::Yarr::RegexGenerator::generateCharacterClassGreedy): - * yarr/RegexParser.h: - (JSC::Yarr::Parser::parseTokens): - (JSC::Yarr::parse): - -2010-11-30 Steve Falkenburg <sfalken@apple.com> - - Reviewed by Darin Adler. - - WTF project missing build-stopping code from its pre-build event - https://bugs.webkit.org/show_bug.cgi?id=50281 - - * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: - -2010-11-30 Patrick Gansterer <paroga@webkit.org> - - Reviewed by Darin Adler. - - Cleanup UTF8.cpp - https://bugs.webkit.org/show_bug.cgi?id=49581 - - Use macros and functions instead of range values directly. - - * wtf/unicode/UTF8.cpp: - (WTF::Unicode::inlineUTF8SequenceLength): - (WTF::Unicode::UTF8SequenceLength): - (WTF::Unicode::convertUTF16ToUTF8): - (WTF::Unicode::readUTF8Sequence): - (WTF::Unicode::convertUTF8ToUTF16): - * wtf/unicode/UnicodeMacrosFromICU.h: Added U_IS_SUPPLEMENTARY macro. - -2010-11-30 Geoffrey Garen <ggaren@apple.com> - - Reviewed by Gavin Barraclough. - - Fixed a crash seen when using a PageAllocation to store itself. - - * wtf/PageAllocation.h: - (WTF::PageAllocation::systemDeallocate): Zero out m_base before unmapping - it, in case unmapping m_base unmaps the PageAllocation. - - * wtf/BumpPointerAllocator.h: - (WTF::BumpPointerPool::destroy): Now this work-around isn't needed! - -2010-11-30 Xan Lopez <xlopez@igalia.com> - - Reviewed by Darin Adler. - - m_hasNonEnumerableProperties is never initialized in Structure - https://bugs.webkit.org/show_bug.cgi?id=50266 - - * runtime/Structure.cpp: - (JSC::Structure::Structure): initialize member variable. - -2010-11-29 Steve Falkenburg <sfalken@apple.com> - - Windows build fix (part 1). Use correct environment variable syntax in cmd files. - - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePostBuild.cmd: - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreBuild.cmd: - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreLink.cmd: - * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: - * JavaScriptCore.vcproj/jsc/jscPostBuild.cmd: - * JavaScriptCore.vcproj/jsc/jscPreBuild.cmd: - * JavaScriptCore.vcproj/jsc/jscPreLink.cmd: - * JavaScriptCore.vcproj/testapi/testapiPostBuild.cmd: - * JavaScriptCore.vcproj/testapi/testapiPreBuild.cmd: - * JavaScriptCore.vcproj/testapi/testapiPreLink.cmd: - -2010-11-29 Dan Bernstein <mitz@apple.com> - - Reviewed by Darin Adler. - - WTF support for <rdar://problem/8650085> adding word-prefix search options to the text search API. - https://bugs.webkit.org/show_bug.cgi?id=50038 - - * wtf/unicode/UnicodeMacrosFromICU.h: Copied additional macros from icu/unicode/utf16.h. - -2010-11-29 Steve Falkenburg <sfalken@apple.com> - - Reviewed by Darin Adler. - - JavaScriptCore projects on Windows should use cmd files for build events - https://bugs.webkit.org/show_bug.cgi?id=50193 - - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePostBuild.cmd: Added. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreBuild.cmd: Added. - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreLink.cmd: Added. - * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added property svn:eol-style. - * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added property svn:eol-style. - * JavaScriptCore.vcproj/jsc/jscCommon.vsprops: - * JavaScriptCore.vcproj/jsc/jscPostBuild.cmd: Added. - * JavaScriptCore.vcproj/jsc/jscPreBuild.cmd: Added. - * JavaScriptCore.vcproj/jsc/jscPreLink.cmd: Added. - * JavaScriptCore.vcproj/testapi/testapiCommon.vsprops: - * JavaScriptCore.vcproj/testapi/testapiPostBuild.cmd: Added. - * JavaScriptCore.vcproj/testapi/testapiPreBuild.cmd: Added. - * JavaScriptCore.vcproj/testapi/testapiPreLink.cmd: Added. - -2010-11-29 Dai Mikurube <dmikurube@google.com> - - Reviewed by Kent Tamura. - - when empty, clicking "down" on outer-spin-button returns "max value" - https://bugs.webkit.org/show_bug.cgi?id=45491 - - It is required to calculate UTC/DST offsets to retrieve the current local milliseconds for - date/time type inputs. WTF::currentTimeMS() returns a UTC time, and WTF::getLocalTime() - returns a struct tm, not milliseconds. - - Calculating milliseconds from a struct tm is not simple since timegm() cannot be used in all - environments. This calculation is already done in calculateUTCOffset(), and complicated. - Duplicating this complicated calculation is unreasonable because of maintainability. - To achieve this without duplication, we must call calculate{UTC|DST}Offset in some way. - - * JavaScriptCore.exp: - * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: - * wtf/DateMath.cpp: Changed calculateUTCOffset() and calculateDSTOffset() to external functions. - (WTF::calculateUTCOffset): - (WTF::calculateDSTOffset): - * wtf/DateMath.h: - -2010-11-29 Chris Rogers <crogers@google.com> - - Reviewed by Kenneth Russell. - - Switch web audio code to use FloatPoint3D instead of Vector3 - https://bugs.webkit.org/show_bug.cgi?id=50186 - - * wtf/Vector3.h: Removed. - -2010-11-29 Steve Falkenburg <sfalken@apple.com> - - Reviewed by Adam Roben. - - Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files - https://bugs.webkit.org/show_bug.cgi?id=49858 - - We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files: - - To simplify editing (editing vsprops build steps is confusing). - - For more readable diffs. - - * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops: - * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added. - * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added. - -2010-11-29 Geoffrey Garen <ggaren@apple.com> - - Reviewed by Gavin Barraclough. - - Improved accuracy of command-line SunSpider. - - * jsc.cpp: - (functionRun): Changed the "run" function to run a given test in - its own global object. Previously, all tests ran in the same global - object, which created name conflicts, and made globals from previous - tests artificially survive into later tests. - - Also changed "run" to return the elapsed milliseconds when running a - given test, for slightly more accurate numbers. - - (functionCheckSyntax): Ditto on returning elapsed milliseconds. - -2010-11-29 Darin Adler <darin@apple.com> - - Reviewed by Andreas Kling. - - Remove a couple unneeded overflow checks - https://bugs.webkit.org/show_bug.cgi?id=49816 - - * wtf/text/CString.cpp: - (WTF::CString::init): Use an ASSERT instead of - an overflow check with CRASH. - -2010-11-29 Adam Roben <aroben@apple.com> - - Robustify react-to-vsprops-changes.py against changes to its location - or the location of the .vsprops files - - Suggested by John Sullivan. - - * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: - Removed file_modification_times. - (main): Use glob.glob to find the .vsprops files and assert that we found some. - -2010-11-29 Adam Roben <aroben@apple.com> - - Touch wtf/Platform.h whenever any .vsprops file changes - - This will cause all files to be recompiled, which will make changes to - preprocessor macros (e.g., ENABLE_*) actually take effect. - - Fixes <http://webkit.org/b/50167> Windows build fails when ENABLE_* - macros are changed (because not enough files are rebuilt) - - Reviewed by John Sullivan. - - * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: - (main): Touch wtf/Platform.h if it's older than any .vsprops file. Also - added some comments and logging to make it clearer what the script is - doing and why. - -2010-11-29 Adam Roben <aroben@apple.com> - - Update react-to-vsprops-changes.py after r72555 - - .vsprops files are no longer accessed relative to $WebKitLibrariesDir. - - Fixes <http://webkit.org/b/50166> REGRESSION (r72555): - react-to-vsprops-changes.py no longer works for people with a - non-default $WebKitLibrariesDir - - Reviewed by John Sullivan. - - * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: - (main): Always look in WebKitLibraries/win for .vsprops files, not in - $WebKitLibrariesDir. - -2010-11-28 Gavin Barraclough <barraclough@apple.com> - - Reviewed by Sam Weinig. - - Bug 48100 - YARR allows what seems like a bogus character-class range - - Per ECMA-262 character classes containing character ranges containing - character classes are invalid, eg: - /[\d-x]/ - /[x-\d]/ - /[\d-\d]/ - These should throw a syntax error. - - * yarr/RegexParser.h: - 2010-11-27 Gavin Barraclough <barraclough@apple.com> Reviewed by Sam Weinig. Bug 48101 - Yarr gives different results for /(?:a*?){2,}/ - The test cases in the linked mozilla bug demonstrate a couple of + The test cases in the linked mozilla bug demostrate a couple of problems in subpattern matching. These bugs lie in the optimized cases - for matching parentheses with a quantity count of 1, and for matching greedy quantified parentheses at the end of a regex (which do not backtrack). In both of these cases we are failing to correctly handle empty - matches. In the case of parentheses-single matches (quantity count + matches. In the case of parenthese-single matches (quantity count one) we are failing to test for empty matches at all. In the case - of terminal subpattern matches we do currently check, however there + of terminal subpattern matches we do currenty check, however there is a subtler bug here too. In the case of an empty match we will presently immediately fall through to the next alternative (or complete the regex match), whereas upon a failed match we should @@ -486,7 +25,7 @@ which point the non-greedy a?? will match, and as such the result should be "ab", not "a"). - Terminal subpattern matching contains a second bug, too. The frame + Terminal sunpattern matching contains a second bug, too. The frame location values in the subpattern should be being allocated with the outer disjunction's frame (as we do for the parentheses-single optimization). Consider the following three regexes: |