gecko-dev/xpcom/base
Ehsan Akhgari 490e611801 Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13371

--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
..
AutoRestore.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
AvailableMemoryTracker.cpp Bug 1508818, part 5 - Disable Clang formatting in a few places in xpcom/. r=froydnj 2018-11-28 21:06:13 +00:00
AvailableMemoryTracker.h Bug 1468207 - Use the new timer-based available memory tracker on Win32; r=dmajor 2018-07-04 21:06:07 +02:00
ClearOnShutdown.cpp
ClearOnShutdown.h
CodeAddressService.h
CountingAllocatorBase.h Bug 1479641 - Don't record counting allocator amount, r=froydnj. 2018-07-31 19:22:54 +00:00
CycleCollectedJSContext.cpp Bug 1491403 - Part 3: Propagate the user input event handling state to the promise resolve handlers in case the promise creator requests it r=smaug,arai,baku 2018-10-09 21:42:22 +00:00
CycleCollectedJSContext.h Bug 1508818, part 3 - Shrink comments so they don't get poorly reflowed by clang-format. r=froydnj 2018-11-28 21:06:09 +00:00
CycleCollectedJSRuntime.cpp Bug 1435091 - p4. Use profiler_thread_is_being_profiled() instead of profiler_is_active() around profiler_add_marker()s - r=mstange 2018-11-19 06:29:15 +00:00
CycleCollectedJSRuntime.h Bug 1478533 - Add a static_assert for WeakMap. r=jonco, mccr8 2018-11-16 10:58:34 +01:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp Bug 1479547 Part 1 - Remove instrumentation related to non-deterministic GCs, r=mccr8. 2018-07-31 19:34:50 +00:00
DebuggerOnGCRunnable.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
DeferredFinalize.cpp Bug 1207696 Part 7 - Ensure deterministic interaction of GC with CC and object references, r=smaug. 2018-07-23 14:46:37 +00:00
DeferredFinalize.h Bug 1207696 Part 7 - Ensure deterministic interaction of GC with CC and object references, r=smaug. 2018-07-23 14:46:37 +00:00
EnumeratedArrayCycleCollection.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
ErrorList.py Bug 497136 - Replace NS_ERROR_SERVICE_NOT_FOUND with NS_ERROR_SERVICE_NOT_AVAILABLE. r=benjamin sr=dveditz 2018-10-31 19:56:24 +09:00
ErrorNames.cpp Bug 1489728 - Unbreak MSVC builds after bug 1489363 r=froydnj 2018-09-08 11:38:57 +00:00
ErrorNames.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
HoldDropJSObjects.cpp Bug 1359245 - Remove references to context from the cycle collector (r=mccr8) 2017-04-27 15:34:46 -07:00
HoldDropJSObjects.h
IntentionalCrash.h Bug 1342564 - Don't attempt to write out intentional crash files in opt builds. r=ted 2017-12-07 13:36:49 -05:00
JSObjectHolder.cpp
JSObjectHolder.h Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
LogCommandLineHandler.cpp Bug 1451686 - Allow also -MOZ_LOG/_FILE=value form of the logging arguments. r=erahm 2018-04-13 05:38:00 -04:00
LogCommandLineHandler.h Bug 1451686 - Allow also -MOZ_LOG/_FILE=value form of the logging arguments. r=erahm 2018-04-13 05:38:00 -04:00
LogModulePrefWatcher.cpp Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE 2017-12-09 07:23:35 +02:00
LogModulePrefWatcher.h
Logging.cpp Bug 1465452 Part 8 - Don't record logging state, r=froydnj. 2018-07-21 14:33:38 +00:00
Logging.h Bug 1465452 Part 8 - Don't record logging state, r=froydnj. 2018-07-21 14:33:38 +00:00
MacHelpers.h
MacHelpers.mm Bug 1448772 - Avoid back-and-forth UTF-16 to UTF-8 to UTF-16 conversions in xpcom/base/MacHelpers.mm. r=mstange 2018-03-26 10:49:02 +03:00
MacStringHelpers.h Bug 1448772 - Avoid back-and-forth UTF-16 to UTF-8 to UTF-16 conversions in xpcom/base/MacHelpers.mm. r=mstange 2018-03-26 10:49:02 +03:00
MacStringHelpers.mm Bug 1448772 - Avoid back-and-forth UTF-16 to UTF-8 to UTF-16 conversions in xpcom/base/MacHelpers.mm. r=mstange 2018-03-26 10:49:02 +03:00
MemoryInfo.cpp Bug 1480177 Lowercase includes to fix MinGW Build Errors r=froydnj 2018-07-30 22:43:24 -05:00
MemoryInfo.h Bug 1475899: Part 5 - Add thread stack memory reporter for Windows. r=erahm,aklotz 2018-07-17 13:09:45 -07:00
MemoryMapping.cpp Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre 2018-11-29 10:30:46 +00:00
MemoryMapping.h Bug 1489453 - EnumSet shouldn't take 32 bits if not needed. r=froydnj 2018-09-07 14:40:02 +00:00
MemoryReportingProcess.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
NSPRLogModulesParser.cpp Bug 1295941 - Let mozilla::Tokenizer read signed integers from the input, r=erahm 2018-01-17 06:23:00 +02:00
NSPRLogModulesParser.h Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan 2017-04-27 12:44:57 -04:00
OwningNonNull.h Bug 1478721. Remove nsIIdleObserver. r=mccr8 2018-07-27 00:37:44 -04:00
SizeOfState.h Bug 1383982 (attempt 2) - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm. 2017-07-28 20:10:04 +10:00
StaticMonitor.h Bug 1265824 - Add StaticMonitor r=froydnj 2018-06-29 15:27:22 -07:00
StaticMutex.h Bug 1207696 Part 4b - Make recording optional in mozilla mutexes and monitors, r=froydnj. 2018-07-21 14:22:54 +00:00
StaticPtr.h Bug 1431109 - Ignore a second incorrect warning with gcc (-Wuninitialized) r=froydnj 2018-01-17 15:58:00 +01:00
TupleCycleCollection.h Bug 1484373: Part 2b - Add cycle collection helpers for Tuple types. r=smaug 2018-08-19 17:43:29 -07:00
moz.build Bug 1502284 - Extend nsMaybeWeakPtr and make expose it to the rest of the code r=erahm 2018-11-16 09:39:36 +00:00
nsAgg.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsAlgorithm.h Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj. 2018-08-14 14:43:42 +03:00
nsAutoPtr.h Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
nsAutoRef.h
nsCOMPtr.cpp Bug 1493226, part 2 - Statically prevent trivial calls to do_QueryInterface that returns an nsresult r=froydnj 2018-10-04 19:16:30 +00:00
nsCOMPtr.h Bug 1508627: Remove dangerous assertion from nsCOMPtr r=froydnj 2018-11-21 14:50:58 +00:00
nsCRTGlue.cpp Bug 1508818, part 5 - Disable Clang formatting in a few places in xpcom/. r=froydnj 2018-11-28 21:06:13 +00:00
nsCRTGlue.h Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium 2018-08-28 15:58:54 +10:00
nsClassInfoImpl.cpp Bug 1410460 - Non-unified build fix for nsClassInfoImpl.cpp. r=cpearce 2017-10-20 16:46:40 +01:00
nsCom.h
nsConsoleMessage.cpp Bug 1488628 - Change nsIConsoleMessage.message to an AString. r=erahm 2018-09-05 13:31:42 +10:00
nsConsoleMessage.h
nsConsoleService.cpp Bug 1508818, part 4 - Rearrange various string literals so they fit in 80 columns. r=froydnj 2018-11-28 21:06:53 +00:00
nsConsoleService.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsCrashOnException.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
nsCrashOnException.h
nsCycleCollectionNoteChild.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsCycleCollectionNoteRootCallback.h Bug 1385474 - Avoid QIing for NoteXPCOMRoot. r=smaug 2017-07-28 16:11:03 -07:00
nsCycleCollectionParticipant.cpp Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsCycleCollectionParticipant.h Bug 1505943 - Add clang-format off to keep the line the same way r=andi 2018-11-09 15:09:58 +00:00
nsCycleCollectionTraversalCallback.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsCycleCollector.cpp Bug 1508818, part 3 - Shrink comments so they don't get poorly reflowed by clang-format. r=froydnj 2018-11-28 21:06:09 +00:00
nsCycleCollector.h Bug 1483650 follow-up: Remove two extra declarations which aren't needed any more 2018-08-16 16:57:23 -04:00
nsCycleCollectorTraceJSHelpers.cpp Bug 1478533 - Add a static_assert for WeakMap. r=jonco, mccr8 2018-11-16 10:58:34 +01:00
nsDebug.h Bug 1469769 - Part 7: Remove NS_NOTREACHED definition. r=froydnj 2018-06-17 22:34:23 -07:00
nsDebugImpl.cpp Bug 1457092 - Disable codepaths forbidden by pledge() when being sandboxed on OpenBSD. r=froydnj 2018-08-22 05:29:00 -04:00
nsDebugImpl.h Bug 1470508 Output the process name in MOZ_LOG r=froydnj 2018-06-22 12:31:35 -05:00
nsDumpUtils.cpp Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn 2018-06-30 23:06:17 -07:00
nsDumpUtils.h Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn 2018-06-30 23:06:17 -07:00
nsError.h Bug 1320179 - Part 1: Move nsresult value calculation into a python script, r=froydnj 2017-04-06 18:36:22 -04:00
nsErrorService.cpp Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj 2018-11-05 09:44:58 -05:00
nsErrorService.h Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj 2018-11-05 09:44:58 -05:00
nsGZFileWriter.cpp Bug 1453795 - XPCOM - Initialize member fields in classes/ structures. r=froydnj 2018-06-15 14:41:20 +03:00
nsGZFileWriter.h Bug 1295825 (part 3) - Use [must_use] and MOZ_MUST_USE in nsIGZFileWriter.idl. r=froydnj. 2016-08-17 17:09:45 +10:00
nsIClassInfoImpl.h no bug, Align the \ at the end of the #defines DONTBUILD r=froydnj 2018-02-12 15:39:43 +01:00
nsIConsoleListener.idl
nsIConsoleMessage.idl Bug 1488628 - Change nsIConsoleMessage.message to an AString. r=erahm 2018-09-05 13:31:42 +10:00
nsIConsoleService.idl
nsICycleCollectorListener.idl Bug 1483650 - Remove the component registration for nsCycleCollectorLogger; r=mccr8 2018-08-16 16:52:31 -04:00
nsID.cpp Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium 2018-08-28 15:56:01 +10:00
nsID.h Bug 1409227 (part 4) - Replace nsMemory::Clone(id, sizeof(nsID)) with nsID::Clone(id). r=mccr8. 2017-10-18 10:39:20 +11:00
nsIDebug2.idl bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj 2017-03-31 12:08:57 -04:00
nsIErrorService.idl Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj 2018-11-05 09:44:58 -05:00
nsIException.idl Bug 1435483 part 21. Remove nsIException::ToString. r=qdot 2018-02-05 16:34:06 -05:00
nsIGZFileWriter.idl Bug 1295825 (part 3) - Use [must_use] and MOZ_MUST_USE in nsIGZFileWriter.idl. r=froydnj. 2016-08-17 17:09:45 +10:00
nsIID.h
nsIInterfaceRequestor.idl
nsIInterfaceRequestorUtils.cpp Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsIInterfaceRequestorUtils.h Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsILoadURIDelegate.idl Bug 1489257 - Backed out 3 changesets (bug 1441059, bug 1478171) for causing bug 1489257. r=me 2018-09-13 12:27:23 -05:00
nsIMacPreferencesReader.idl Bug 1497408 - Make NS_MACPREFERENCESREADER_CID unique r=spohl 2018-10-09 05:47:40 +00:00
nsIMacUtils.idl Bug 1463183 - Remove all instances of isUniversalBinary since we no longer build universal binaries for macOS r=spohl 2018-05-31 20:04:23 +05:30
nsIMemory.idl Bug 1451005 - Forward all memory-pressure events to the child processes; r=njn 2018-05-12 01:21:13 +02:00
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl Bug 1468207 - Use the new timer-based available memory tracker on Win32; r=dmajor 2018-07-04 21:06:07 +02:00
nsIMessageLoop.idl Bug 1268160: Assert that PostIdleTask is only used on the main thread. r=jld 2016-05-12 15:15:43 -07:00
nsIMutable.idl
nsINIParser.cpp Bug 1420427 - Stop using native charset in URLPreloader. r=kmag 2017-11-28 00:21:00 +09:00
nsINIParser.h Bug 1420427 - Stop using native charset in URLPreloader. r=kmag 2017-11-28 00:21:00 +09:00
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsISupports.idl
nsISupportsBase.h
nsISupportsImpl.cpp Bug 1399308 - Include nsThreadUtils.h in nsISupportsImpl.cpp. r=froydnj 2017-09-13 13:45:03 +12:00
nsISupportsImpl.h Bug 1508099 Part 1 - Add macros for recording refcounts on non-nsISupports classes, r=froydnj. 2018-11-17 12:54:55 -10:00
nsISupportsUtils.h Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj 2018-09-27 14:59:55 +00:00
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
nsIWeakReferenceUtils.h Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsInterfaceRequestorAgg.cpp Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm 2017-06-14 09:27:17 +08:00
nsInterfaceRequestorAgg.h
nsMacPreferencesReader.h Bug 1497408 - Make NS_MACPREFERENCESREADER_CID unique r=spohl 2018-10-09 05:47:40 +00:00
nsMacPreferencesReader.mm Backed out changeset bee1c344cb47 (bug 1491909) for failures in browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js 2018-10-24 04:23:13 +03:00
nsMacUtilsImpl.cpp Bug 1431441 - Part 2 - Remove rules for APP_BINARY_PATH and APP_DIR Mac sandbox parameters r=Alex_Gaynor 2018-10-19 18:23:06 +00:00
nsMacUtilsImpl.h Bug 1431441 - Part 2 - Remove rules for APP_BINARY_PATH and APP_DIR Mac sandbox parameters r=Alex_Gaynor 2018-10-19 18:23:06 +00:00
nsMaybeWeakPtr.h Bug 1502284 - Extend nsMaybeWeakPtr and make expose it to the rest of the code r=erahm 2018-11-16 09:39:36 +00:00
nsMemory.cpp Bug 1486690 - Rename nsMemory::Clone() and remove unnecessary checks after it. r=glandium 2018-08-28 15:59:19 +10:00
nsMemory.h Bug 1486690 - Rename nsMemory::Clone() and remove unnecessary checks after it. r=glandium 2018-08-28 15:59:19 +10:00
nsMemoryImpl.cpp Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj 2017-05-17 13:06:23 -04:00
nsMemoryImpl.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
nsMemoryInfoDumper.cpp Backed out changeset bee1c344cb47 (bug 1491909) for failures in browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js 2018-10-24 04:23:13 +03:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1508818, part 3 - Shrink comments so they don't get poorly reflowed by clang-format. r=froydnj 2018-11-28 21:06:09 +00:00
nsMemoryReporterManager.h Bug 1500523 - Increase DMD timeout. r=njn 2018-10-22 14:05:47 -07:00
nsMessageLoop.cpp Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
nsMessageLoop.h
nsObjCExceptions.h Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
nsQueryObject.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSystemInfo.cpp Backed out 3 changesets (bug 1418131) for failing Browser-chrome on toolkit/modules/tests/browser/browser_Troubleshoot.js on a CLOSED TREE 2018-01-16 03:39:43 +02:00
nsSystemInfo.h
nsTWeakRef.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsTraceRefcnt.cpp Bug 1508818, part 4 - Rearrange various string literals so they fit in 80 columns. r=froydnj 2018-11-28 21:06:53 +00:00
nsTraceRefcnt.h Bug 1408459, part 2 - Remove unused declaration of NS_MeanAndStdDev(). r=erahm 2017-10-15 08:30:57 -07:00
nsUUIDGenerator.cpp Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium 2018-08-28 15:56:01 +10:00
nsUUIDGenerator.h
nsVersionComparator.cpp Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
nsVersionComparator.h Bug 1426898 - Stop including Char16.h everywhere. r=Waldo 2017-12-23 00:53:12 +09:00
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp Bug 1393885 - provide a faster path for do_GetWeakReference; r=erahm 2017-09-05 15:39:40 -04:00
nsWeakReference.h Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj 2017-01-23 09:24:01 -05:00
nsWindowsHelpers.h Bug 1486637: Impersonate user when creating files in user-controlled directories r=rstrong,mhowell 2018-11-19 18:45:52 +00:00
nscore.h Bug 1460929 - code coverage no longer use _exit on exit r=marco 2018-05-11 15:53:22 -07:00
nsrootidl.idl Bug 1489047 - Remove support for DOMString from the XPIDL compiler. r=nika 2018-09-11 15:14:28 +10:00