[webkit-changes] [WebKit/WebKit] 3d08f1: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in wtf...

Chris Dumez noreply at github.com
Sat Nov 16 13:42:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d08f1a225098f1b0e8fd7062c35d59466df919a
      https://github.com/WebKit/WebKit/commit/3d08f1a225098f1b0e8fd7062c35d59466df919a
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-11-16 (Sat, 16 Nov 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/NumberPrototype.cpp
    M Source/WTF/wtf/dtoa.cpp
    M Source/WTF/wtf/dtoa/bignum-dtoa.cc
    M Source/WTF/wtf/dtoa/bignum-dtoa.h
    M Source/WTF/wtf/dtoa/bignum.cc
    M Source/WTF/wtf/dtoa/bignum.h
    M Source/WTF/wtf/dtoa/cached-powers.cc
    M Source/WTF/wtf/dtoa/double-conversion.cc
    M Source/WTF/wtf/dtoa/double-conversion.h
    M Source/WTF/wtf/dtoa/fast-dtoa.cc
    M Source/WTF/wtf/dtoa/fast-dtoa.h
    M Source/WTF/wtf/dtoa/fixed-dtoa.cc
    M Source/WTF/wtf/dtoa/fixed-dtoa.h
    M Source/WTF/wtf/dtoa/strtod.cc
    M Source/WTF/wtf/dtoa/utils.h
    M Tools/TestWebKitAPI/Tests/WTF/DragonBoxTest.cpp

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in wtf/dtoa
https://bugs.webkit.org/show_bug.cgi?id=283147

Reviewed by Geoffrey Garen.

* Source/JavaScriptCore/runtime/NumberPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WTF/wtf/dtoa.cpp:
(WTF::numberToStringWithTrailingPoint):
(WTF::truncateTrailingZeros):
(WTF::numberToFixedPrecisionString):
(WTF::numberToFixedWidthString):
(WTF::numberToCSSString):
* Source/WTF/wtf/dtoa/bignum.cc:
* Source/WTF/wtf/dtoa/bignum.h:
* Source/WTF/wtf/dtoa/cached-powers.cc:
* Source/WTF/wtf/dtoa/double-conversion.cc:
* Source/WTF/wtf/dtoa/double-conversion.h:
* Source/WTF/wtf/dtoa/fast-dtoa.cc:
* Source/WTF/wtf/dtoa/strtod.cc:
* Source/WTF/wtf/dtoa/utils.h:
(WTF::double_conversion::BufferReference::BufferReference):
(WTF::double_conversion::BufferReference::SubBufferReference):
(WTF::double_conversion::BufferReference::length const):
(WTF::double_conversion::BufferReference::is_empty const):
(WTF::double_conversion::BufferReference::start const):
(WTF::double_conversion::BufferReference::operator[] const):
(WTF::double_conversion::BufferReference::last):
(WTF::double_conversion::StringBuilder::StringBuilder):
(WTF::double_conversion::StringBuilder::AddCharacter):
(WTF::double_conversion::StringBuilder::AddSubstring):
(WTF::double_conversion::StringBuilder::AddPadding):
(WTF::double_conversion::StringBuilder::RemoveCharacters):
(WTF::double_conversion::StringBuilder::Finalize):

Canonical link: https://commits.webkit.org/286691@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list