Gerald Squelart
3a092d3ae6
Bug 1332825 - Use move semantics in MozPromise::All() and AllPromiseHolder.
...
MozPromise::All sets up 'Then' lambdas on all sub-promises, each one
taking the resolve/reject object by value. Since this value will not be
used again in the lambda, it is safe to Move it, and from there
MozPromiseHolder::Resolve/Reject can also Move it again into the holder
storage, potentially saving two copies per Resolve/Reject. Also, once
all sub-promises have been resolved, the resolve-values can be Move'd
into the joining promise's Resolve function.
2023-11-19 16:19:11 +01:00
Moonchild
e7e10ab287
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from accessible, [root], tools, uriloader, widget, xpcom and
xpfe.
Resolves #1656
2023-05-05 15:53:29 +02:00
Moonchild
d7c90a831a
[xpcom] remove incorrect assertion.
...
See https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095#issuecomment-33796
2023-01-29 19:19:48 +01:00
Moonchild
14f12a065e
[XPCOM] Simplify nsITimer API.
...
It's much simpler to hold a death grip on the timer than to have a fragile
"release upon cancel" construct.
2022-05-30 11:08:22 +00:00
Moonchild
2705986b4a
[xpcom] Timer cleanup, assertions and comments.
2022-05-30 08:18:26 +00:00
Brian Smith
1a31160dde
Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcom"
...
This reverts commit 1bf0734a72 .
2022-04-26 10:56:11 -05:00
Moonchild
e10f9df9df
Fix typo
2022-04-09 01:59:02 +02:00
Moonchild
3d43617bc1
[xpcom] xpcom Threadpool cleanup
...
Make sure thread locks are in place to guard accesses.
2022-04-09 00:33:41 +02:00
Moonchild
52bcfa36bf
[XPCOM] xpcom/threads misc cleanup
2022-04-08 21:54:05 +02:00
Moonchild
b76d12c2bd
[XPCOM] Use swap in nsThread::SetObserver.
2022-04-07 23:56:24 +02:00
Moonchild
534de5cc5b
Issue #21 - Remove remaining telemetry structs, callers and flags.
2022-04-02 14:49:45 +02:00
Moonchild
ee86d3eb9c
Issue #21 - Remove Telemetry plumbing and fix build.
...
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-02 14:39:54 +02:00
Moonchild
c14bb310ce
Issue #1053 - Clean up docs and some code comments.
...
Polish only, no code changes.
2022-04-01 15:26:49 +02:00
Olli Pettay
2a9d0cc5af
[XPCOM] be more precise when counting the number of allocator users
...
This patch is based on code inspection.
One could also move sAllocatorUsers to Free(), but it shouldn't matter
in practice.
2022-04-01 14:28:04 +02:00
Moonchild
1bf0734a72
Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcom
2021-05-03 11:35:41 +00:00
Moonchild
d5a2c45aad
Issue #1656 - Part 6: Clean up the build files
2020-09-23 15:52:00 +00:00
Moonchild
a680bdc637
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
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.
2020-09-23 13:55:00 +00:00
Matt A. Tobin
c895d35a7a
Issue #1053 - Remove android support from xpcom/threads/nsThread.cpp
...
Forgot to save..
2020-02-22 19:04:51 -05:00
Matt A. Tobin
69ed4e4b4e
Issue #1053 - Remove android support from XPCOM
2020-02-22 19:03:00 -05:00
wolfbeast
0257b657d2
Issue #1319 - Enable promise debugging only in DEBUG builds.
2020-01-14 14:44:13 +01:00
Nathan Froyd
4266966eee
Kill newly-spawned threads if we're shutting down.
2019-09-04 17:55:04 +02:00
wolfbeast
5d409fdca9
Remove AIX 1st party code OS checks, part 1
...
Issue #186
2019-03-31 18:43:10 +02:00
wolfbeast
ab961aeb54
Remove all C++ Telemetry Accumulation calls.
...
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
wolfbeast
ac25827a87
Remove SPS profiler.
...
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast
1124fb525b
Remove other gonk widget conditionals and unused files.
...
Tag #288 .
2018-05-13 22:46:04 +02:00
wolfbeast
6571d2ceb4
Remove MOZ_WIDGET_GONK [1/2]
...
Tag #288
2018-05-12 16:19:58 +02:00
wolfbeast
4e368f8199
Remove base conditional code for crash reporter and injector.
2018-03-30 08:50:58 +02:00
Matt A. Tobin
5f8de423f1
Add m-esr52 at 52.6.0
2018-02-02 04:16:08 -05:00