summaryrefslogtreecommitdiff
path: root/mfbt
Commit message (Collapse)AuthorAge
* Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]Moonchild2023-11-11
| | | | Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
* Issue #2342: Remove MOZ_MUST_USE macroMoonchild2023-11-08
|
* Issue #2342: Use [[nodiscard]] in /mfbtMoonchild2023-11-08
|
* Issue #2281 - Add some deduction guides for class template arguments.Moonchild2023-11-05
| | | | | This is necessary if we want to start using Span() constructors instead of the MakeSpan() kludge.
* Issue #2281 - Build LZ4 as C instead of including it as C++.Moonchild2023-11-05
|
* Merge branch 'master' into bigint-mergedBrian Smith2023-07-18
|\
| * Issue #2255 - Fix build bustage on Linux.Brian Smith2023-07-12
| | | | | | | | Need #include <utility> to ensure std::forward is available.
| * Issue #2255 - Add support for Maybe<T&>Brian Smith2023-07-12
| | | | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1620568 Make Maybe<T>::emplace() work when T is const https://bugzilla.mozilla.org/show_bug.cgi?id=1335780
* | Issue #1240 - Part 3b - Implement WrappingOperations.h for wraparound math ↵Brian Smith2023-07-13
| | | | | | | | | | | | | | | | operations & conversions. https://bugzilla.mozilla.org/show_bug.cgi?id=1441657 Implement mozilla::WrappingMultiply. Prerequisite for our V8 fast forward.
* | Issue #1240 - Part 3a - Adjust mozilla::FloatingPoint<T>'s definition.Brian Smith2023-07-13
|/ | | | | | | | So only the barest details are specified for floating-point encodings, with every other number, bit mask, &c. mathematically derived. Also add a bunch of documentation comments. https://bugzilla.mozilla.org/show_bug.cgi?id=1508725 Prerequisite for our V8 fast forward.
* Issue #2255 & #1240 - Simplify and enhance Maybe and Some().Brian Smith2023-07-04
| | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1325351 This is a prerequisite for our BigInt V8 fast forward and potential #2255 fix.
* Issue #1656 - Follow-up: Re-nuke the vim lines introduced in #2265Moonchild2023-07-02
|
* Issue #2259 - Add mozilla::Result<V, E> and JS::Result<> for fallible return ↵Martok2023-06-29
| | | | | | values Based-on: m-c 1283562, 1277368/1, 1324828
* Issue #2259 - Add mozilla::Vector -> mozilla::Span implicit conversionMartok2023-06-29
| | | | Based-on: part of m-c 1578339
* Issue #2259 - Add missing IsAscii* helper functions in mozilla/TextUtils.hMartok2023-06-29
|
* Issue #2241 - Part 2: Add SameValueZero implementation to mfbt/FloatingPoint.hJob Bautista2023-05-12
| | | | | | Backported from Mozilla bug 1560658. This is to prevent duplication of code while implementing DOMMatrix operations.
* Issue #2166 - Follow-up: Fix style nits.Moonchild2023-03-18
|
* Issue #2166 - Part 6: Remove mozilla::AlignedStorageFranklinDM2023-03-17
| | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1341951
* Issue #2166 - Part 4: Use alignas/alignof to define Variant's internal raw ↵FranklinDM2023-03-17
| | | | | | storage Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
* Issue #2166 - Part 3: Make tl::Min/Max variadicFranklinDM2023-03-17
| | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
* Issue #2166 - Part 2: Use alignas/alignof in MaybeOneOfFranklinDM2023-03-17
| | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
* Issue #2148 - Shrink Vector from (usually) four pointers in size to threeFranklinDM2023-03-15
| | | | | | when no inline storage is used. See Bug 1338374
* Issue #2148 - Make Vector not use AlignedStorage for its inline element storageFranklinDM2023-03-15
| | | | See Bug 1338374 1/2
* Merge branch 'master' into 1829Brian Smith2022-04-28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: No issue - Update README and SECURITY Issue #1885 - Follow-up: Update error message if invalid rootMargin specified. Issue #1879 - Follow-up: Update config/external/nss/target to security/target. Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver. Issue #1879 - Revert changes to cryptox.h Revert "Issue #1879 - spot-fix typo in cryptox.h" Issue #1879 - spot-fix typo in cryptox.h Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement Issue #21 - Remove use counters telemetry Issue #1881 - Interpret empty or whitespace root margin string as zero length Issue #1877 - Resolve NIGHTLY_BUILD conditionals. Issue #1880 - Boot Comic Sans out of the font configuration.
| * Issue #1877 - Resolve NIGHTLY_BUILD conditionals.Moonchild2022-04-22
| |
* | Issue #1829 - Revert “Issue #1751 -- Remove XP_MACOSX conditionals from ↵Brian Smith2022-04-26
|/ | | | | | | | | the rest of the tree.” This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals. This reverts commit 6f707bde95dab6998ac204f9ee6c925ee230c740.
* Issue #1877 - Resolve RELEASE_OR_BETA conditionals.Moonchild2022-04-19
|
* Issue #1531 follow-up - Bump minimum required GCC version in mfbttrav902022-04-16
|
* Issue #1843 - Expand on WindowsVersion.h to add later versions.Moonchild2022-04-06
| | | | | Needs future cleanup because of way too many named individual functions and redundancy.
* Issue #1053 - Second pass remove android defines and build system stuff.Moonchild2022-04-01
| | | | Mostly IPC, tools and mozbuild.
* [MFBT] Convert debug asserts to early returns for situations that shouldMoonchild2021-08-12
| | | | never occur.
* [no issue] Replace PurpleBlock with SegmentedVector to reduce indirect memoryMoonchild2021-07-23
| | | | | | | accesses when calling suspect Improves overall memory performance. Also prerequisite for further work on #1677.
* Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.Moonchild2021-05-06
| | | | | This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
* [MFBT] Update lz4 to 1.9.3Moonchild2021-02-24
|
* Redundant code path cleanup (#1702)Moonchild2021-01-02
| | | | | | | | | Remove various obsolete configure options. Remove Adjust SDK install tracking filth. Remove redundant code paths in old-configure This also optimizes linker use Remove redundant conditional blocks. Rewrite span.h without constexpr use.
* Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*().Matt A. Tobin2020-11-09
| | | | | | | | This is required for UniquePtr to accept <void>, which is required for PseudoHandle = mozilla::UniquePtr<T, JS::FreePolicy>; in turn for mozilla::SegmentedVector<PseudoHandle<void>> uniquePtrArena_; Tag #1679
* Issue #1656 - Part 8: Devtools and misc.Moonchild2020-09-24
|
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23
|
* Issue #1656 - Part 4: Manual cleanupMoonchild2020-09-23
|
* Issue #1656 - Part 2: Unmangle some unfortunate UTF-8 victims.Moonchild2020-09-23
| | | | The poor fellows got lost in an ASCII-interpretation of the world.
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Issue #1053 - Remove android support from mfbtMatt A. Tobin2020-02-22
|
* Issue #1288 - Part 2: Add a partial LZ4 decompression routine.wolfbeast2019-11-14
| | | | | | | | This function never writes beyond `aDest` + `aMaxOutputSize`, and is therefore protexted against malicious datapackets. It also ignores unconsumed input upon reaching `aMaxOutputSize` and can therefore be used for parial decompression of LZ4 input up to a desired resulting size of decompressed data.
* MoonchildProductions#1251 - Part 7: All the posix_m* memory-related stuff, ↵athenian2002019-10-21
| | | | | | | | | | gathered together. https://bugzilla.mozilla.org/show_bug.cgi?id=1158445 https://bugzilla.mozilla.org/show_bug.cgi?id=963983 https://bugzilla.mozilla.org/show_bug.cgi?id=1542758 Solaris madvise and malign don't perfectly map to their POSIX counterparts, and some Linux versions (especially Android) don't define the POSIX counterparts at all, so options are limited. Ideally posix_madvise and posix_malign should be the safer and more portable options for all platforms.
* Use ptrdiff_t in RangedPtr.wolfbeast2019-03-22
|
* Fix Span.h constexprs for VS2017trav902018-10-06
|
* Add mozilla::Spantrav902018-10-06
|
* Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'trav902018-08-10
|
* Initialize mVersion to silence a warning with GCC 8trav902018-08-10
|
* Bug 1462912 - Fixed BufferList::Extract to handle the case where the call ↵Alex Gaynor2018-06-29
| | | | consumes the entirety of the BufferList. r=froydnj, a=RyanVM