gecko-dev/mfbt
Chun-Min Chang 8667329725 Bug 1865896 - Add ToString function to DefineEnum r=padenot
This patch addes some macros to implement to-string helpers for enums.

Differential Revision: https://phabricator.services.mozilla.com/D194260
2024-07-31 00:09:52 +00:00
..
double-conversion Bug 1844554 - Vendor double-conversion using `mach vendor` r=RyanVM 2023-07-21 08:12:09 +00:00
lz4 Bug 1909352 - Update LZ4 to v1.10.0. r=glandium 2024-07-23 16:49:31 +00:00
tests Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
Algorithm.h
Alignment.h
AllocPolicy.h
AlreadyAddRefed.h Bug 1856746: Extend already_AddRefed documentation to mention a case where it makes sense as a function parameter. r=nika 2023-10-04 18:49:03 +00:00
Array.h
ArrayUtils.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
Assertions.cpp
Assertions.h Bug 1893567 - Add MOZ_NOMERGE to Window MOZ_REALLY_CRASH implementation. r=gsvelto 2024-04-26 12:40:46 +00:00
AtomicBitfields.h
Atomics.h Bug 1874022 - pt 9. Reduce the cost of updating sAllocDelay r=glandium 2024-06-26 02:06:39 +00:00
Attributes.h Bug 1907001 - Add MOZ_HAS_CLANG_ATTRIBUTE r=glandium 2024-07-25 15:17:24 +00:00
BinarySearch.h Bug 1843181 - Make EqualRange return a std::pair. r=sergesanspaille 2023-07-14 21:51:27 +00:00
BitSet.h Bug 1768632: Make EnumSet compile for MSVC. r=glandium 2022-08-17 06:39:12 +00:00
BloomFilter.h Bug 1828560 - Part 2: Rename BitBloomFilter::mCounters to mBits. r=dpalmeiro 2023-04-19 05:25:09 +00:00
Buffer.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
BufferList.h Bug 1595453 - Allow serializing zero-length `ByteBuf`s. r=nika 2023-11-02 18:05:31 +00:00
Casting.h Bug 1909472 - Support unsigned long in T2S for wasm builds. r=jandem 2024-07-24 12:46:12 +00:00
ChaosMode.cpp
ChaosMode.h
Char16.h
CheckedInt.h
CompactPair.h
Compiler.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
Compression.cpp
Compression.h
DbgMacro.h
DebugOnly.h
DefineEnum.h Bug 1865896 - Add ToString function to DefineEnum r=padenot 2024-07-31 00:09:52 +00:00
DoublyLinkedList.h Bug 1777925: Replaced MutationObserver array container type with linked list. r=smaug 2022-09-21 11:31:44 +00:00
EndianUtils.h
EnumSet.h Bug 1873140 - Avoid using invalid enum values during EnumSet iteration; r=glandium 2024-02-02 09:43:10 +00:00
EnumTypeTraits.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
EnumeratedArray.h Bug 1897752 - Make EnumeratedArray constructor constexpr. 2024-05-20 19:08:32 +02:00
EnumeratedRange.h Bug 1812353 - Update GPUSupportedLimits in webgpu.webidl. r=webgpu-reviewers,webidl,saschanaz,jimb,emilio,smaug 2023-06-12 21:10:11 +00:00
FStream.h
FastBernoulliTrial.h
FloatingPoint.cpp Bug 1660405 - Move away from mozilla::IsFinite in favor of std::isfinite. r=sergesanspaille 2023-03-22 11:35:33 +00:00
FloatingPoint.h Bug 1660405 - Transform mozilla::IsNegative to use std implementation. r=glandium 2023-03-22 11:35:36 +00:00
FunctionRef.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2024-04-22 16:00:09 +00:00
FunctionTypeTraits.h Bug 1277372 - Remove unused "mozilla/TypeTraits.h" r=sergesanspaille 2023-04-17 13:50:11 +00:00
Fuzzing.h Bug 1821008 - Add nyx abort macro and more debug messages. r=truber,glandium 2023-03-14 07:50:36 +00:00
HashFunctions.cpp
HashFunctions.h Bug 1718516 - Fix AddToHash of 64-bits numbers on 32-bits platforms. r=nika,anba 2024-01-09 01:48:31 +00:00
HashTable.h Bug 1860451 - Add documentation for the hash inequality in HashPolicy::match. r=mgaudet DONTBUILD 2023-10-31 20:41:17 +00:00
HelperMacros.h
InitializedOnce.h
IntegerRange.h
IntegerTypeTraits.h Bug 1277372 - Remove unused "mozilla/TypeTraits.h" r=sergesanspaille 2023-04-17 13:50:11 +00:00
JSONWriter.cpp
JSONWriter.h Bug 1784812 - JSONWriter may optionally not own its writer - r=canaltinova 2022-08-17 07:07:53 +00:00
JsRust.h
Latin1.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
Likely.h
LinkedList.h
Literals.h Bug 1864828 - pt 1. Move operators to create literals with units into mfbt/ r=glandium 2023-12-11 11:01:33 +00:00
MPSCQueue.h Bug 1894147 - Fix C++20 std::memory_order build errors in MPSCQueue.h. r=xpcom-reviewers,emilio 2024-04-30 15:37:35 +00:00
MacroArgs.h
MacroForEach.h
MathAlgorithms.h Bug 1821362 - Replace EuclidGCD by a binary gcd algorithm using intrinsics. r=media-playback-reviewers,alwu 2023-05-24 13:18:41 +00:00
Maybe.h Bug 1601251 - Prohibit copies and moves on Maybe<T> where such operations are prohibited on T. r=glandium 2024-03-26 08:00:56 +00:00
MaybeOneOf.h
MaybeStorageBase.h
MemoryChecking.h
MemoryReporting.h
MoveOnlyFunction.h
MruCache.h Bug 1815396 - Fix documentation of MruCache. r=lsalzman 2023-03-06 10:43:27 +00:00
NeverDestroyed.h Bug 1851045 - Part 4: Add a NeverDestroyed helper type to MFBT for static local members, r=glandium 2023-09-27 19:14:16 +00:00
NonDereferenceable.h
NotNull.h Bug 1607634 - Part 1: Improve the ergonomics of using NotNull with RefPtr and nsCOMPtr, r=glandium 2023-03-20 15:40:35 +00:00
Opaque.h
OperatorNewExtensions.h
PairHash.h
Path.h
PodOperations.h
Poison.cpp Bug 1860247 - Poison.cpp: do not use 'else' after 'return'. r=sylvestre 2024-01-31 12:19:32 +00:00
Poison.h
RandomNum.cpp Bug 1816953 - Stop hooking BCryptGenRandom. r=cmartin,handyman 2023-05-03 13:40:36 +00:00
RandomNum.h
Range.h Bug 1875252 - Add MOZ_ASSERT_DEBUG_OR_FUZZING and use for Range/RangedPtr. r=nika 2024-02-06 21:31:19 +00:00
RangedArray.h
RangedPtr.h Bug 1875252 - Add MOZ_ASSERT_DEBUG_OR_FUZZING and use for Range/RangedPtr. r=nika 2024-02-06 21:31:19 +00:00
ReentrancyGuard.h
RefCountType.h
RefCounted.cpp Bug 1903037 part 1 - Support leak checking in MFBT code when included in SpiderMonkey. r=mccr8,glandium 2024-06-26 11:03:16 +00:00
RefCounted.h Bug 1903037 part 1 - Support leak checking in MFBT code when included in SpiderMonkey. r=mccr8,glandium 2024-06-26 11:03:16 +00:00
RefPtr.h Bug 1880192 - [1/5] MozPromise.h: some C++17 modernizations r=xpcom-reviewers,emilio 2024-03-05 17:22:21 +00:00
Result.h Bug 1404972 - To Result add operator==. r=glandium 2024-05-06 19:54:00 +00:00
ResultExtensions.h
ResultVariant.h
ReverseIterator.h
RollingMean.h
SHA1.cpp Bug 1806779 - Fix C++20 -Wdeprecated-volatile warnings in mfbt/SHA1.cpp. r=glandium 2022-12-22 02:58:24 +00:00
SHA1.h
SPSCQueue.h Bug 1844181 - Add memory synchronization to SPSCQueue's thread id reset methods. r=decoder,padenot,handyman 2023-10-09 13:02:58 +00:00
STYLE
Saturate.h
ScopeExit.h
SegmentedVector.h Bug 1869256 - Add move assignment operator for SegmentedVector r=mccr8 2023-12-11 17:06:08 +00:00
SharedLibrary.h
SmallPointerArray.h
Span.h Bug 1891497 - Add mozilla::Span constructor for EnumeratedArray. r=glandium 2024-04-15 21:17:51 +00:00
SplayTree.h
StaticAnalysisFunctions.h
StringBuffer.h Bug 1907891 part 2 - Create shared string buffer for long strings allocated by js::StringBuffer. r=sfink,emilio 2024-07-24 12:21:07 +00:00
TaggedAnonymousMemory.cpp Bug 1866606 - Remove MozTaggedMemoryIsSupported. r=jld 2023-12-23 03:36:53 +00:00
TaggedAnonymousMemory.h Bug 1866606 - Remove MozTaggedMemoryIsSupported. r=jld 2023-12-23 03:36:53 +00:00
Tainting.h Bug 1811645 - avoid an American English colloquialism meaning "nonsense" r=Gijs 2023-04-20 22:24:00 +00:00
TemplateLib.h Bug 1679492 - Remove parts that are unused from mfbt/TemplateLib. r=sergesanspaille 2023-04-18 12:42:13 +00:00
TextUtils.h Bug 1880008 - Add char8_t string overloads to MFBT string functions when compiling with -std=c++20. r=xpcom-reviewers,emilio 2024-02-14 01:33:31 +00:00
ThreadLocal.h Bug 1880420 - Move __thread detection to moz.configure r=glandium 2024-02-28 11:11:17 +00:00
ThreadSafeWeakPtr.h Bug 1843568 - Part 3: Annotate `nsIEventTarget` as rust_sync, r=xpcom-reviewers,barret 2023-07-20 17:39:03 +00:00
ThreadSafety.h Bug 1854305 - Don't enable thread safety annotations before clang 11. r=nika 2023-09-21 20:42:33 +00:00
ToString.h
Try.h Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
TsanOptions.h Bug 1824768 - Add TSan suppressions for external libs. r=decoder 2023-07-07 10:12:54 +00:00
TypedEnumBits.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
Types.h
UniquePtr.h Bug 1873769 - Add TempPtrToSetter(UniquePtr<T>*) -> T**-ish for safe out-ptr RAII. r=mccr8 2024-01-26 21:05:30 +00:00
UniquePtrExtensions.cpp
UniquePtrExtensions.h Bug 1873131 - Add some assertions to UniqueFileHandle. r=nika,tsmith 2024-01-06 02:54:20 +00:00
Unused.cpp
Unused.h
Utf8.cpp
Utf8.h Bug 1880008 - Add char8_t string overloads to MFBT string functions when compiling with -std=c++20. r=xpcom-reviewers,emilio 2024-02-14 01:33:31 +00:00
Variant.h
Vector.h Bug 1828784 - Work around VS 2019+ SDK issue. r=glandium 2023-04-19 22:51:46 +00:00
WasiAtomic.h Bug 1899160 part 1 - Add support for allocating JS strings with a refcounted StringBuffer. r=sfink 2024-06-24 07:41:48 +00:00
WeakPtr.h
WindowsVersion.h Bug 1777960 - Patch msctf.dll to prevent a crash with ZoneAlarm Anti-Keylogger. r=gstoll,win-reviewers 2023-10-03 15:24:47 +00:00
WrappingOperations.h Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium,geckoview-reviewers,m_kato 2024-06-18 14:44:40 +00:00
XorShift128PlusRNG.h
fallible.h
moz.build Bug 1903037 part 1 - Support leak checking in MFBT code when included in SpiderMonkey. r=mccr8,glandium 2024-06-26 11:03:16 +00:00