summaryrefslogtreecommitdiffstats
path: root/mfbt
Commit message (Collapse)AuthorAgeLines
* Redundant code path cleanup (#1702)Moonchild2021-01-02-122/+80
| | | | | | | | | 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-1/+1
| | | | | | | | 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-1/+0
|
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23-4/+0
|
* Issue #1656 - Part 4: Manual cleanupMoonchild2020-09-23-2/+0
|
* Issue #1656 - Part 2: Unmangle some unfortunate UTF-8 victims.Moonchild2020-09-23-4/+4
| | | | 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-139/+4
| | | | | | 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-181/+1
|
* Issue #1288 - Part 2: Add a partial LZ4 decompression routine.wolfbeast2019-11-14-0/+44
| | | | | | | | 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-0/+8
| | | | | | | | | | 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-1/+1
|
* Fix Span.h constexprs for VS2017trav902018-10-06-6/+6
|
* Add mozilla::Spantrav902018-10-06-0/+3186
|
* Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'trav902018-08-10-2/+2
|
* Initialize mVersion to silence a warning with GCC 8trav902018-08-10-1/+1
|
* Bug 1462912 - Fixed BufferList::Extract to handle the case where the call ↵Alex Gaynor2018-06-29-1/+20
| | | | consumes the entirety of the BufferList. r=froydnj, a=RyanVM
* Bug 1456189 - Simplify BufferList::Extract to make the lifetimes clearer. ↵Alex Gaynor2018-06-29-47/+115
| | | | r=froydnj, a=RyanVM
* Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj, a=lizzardJeff Walden2018-04-29-0/+166
|
* Bug 1398021 - Update lz4 to version 1.8.0. r=froydnj, a=RyanVMRyan VanderMeulen2018-03-14-812/+1323
| | | | | | --HG-- extra : source : 9a4077eda5d80e2f7c7fe271035bee2e2d034cec extra : histedit_source : 64eb1f6e9b2b08981644d7edccd22997d6463b4b%2C5619daf512a89b3a6bf84eca781190b56e8dea31
* Add MOZ_FALLTHROUGH macro definition for gcc 7 to suppress ↵trav902018-03-04-4/+9
| | | | | | -Wimplicit-fallthrough warnings The generic fallback MOZ_FALLTHROUGH definition is insufficient for GCC 7 and above, resulting in build warning spam and --enable-warnings-as-errors builds failing. The check for clang support is changed to use the __has_cpp_attribute macro, which is more robust than checking the __cplusplus version. Also, MOZ_FALLTHROUGH is now only defined in C++ code, since GCC errors out if it encounters a scoped attribute being used with __has_cpp_attribute in C code. No C code uses MOZ_FALLTHROUGH or derivatives at the moment.
* Clean up Firefox specific considerations from WindowsVersion.hwolfbeast2018-02-20-73/+4
| | | | Tag #22.
* Use thread_local calls on Win and Mac.wolfbeast2018-02-19-32/+6
| | | | This resolves #24.
* Fix off-by-one in Vector::insert.wolfbeast2018-02-05-2/+54
|
* Remove checks for GCC < 4.9trav902018-02-04-3/+1
|
* Require at least GCC 4.9 to buildtrav902018-02-04-2/+2
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+45354