Граф коммитов

1641 Коммитов

Автор SHA1 Сообщение Дата
Jens Stutte 30b28c264e Bug 1839051 - Remove include nsQuickSort.h from some more files. r=emilio
Depends on D182724

Differential Revision: https://phabricator.services.mozilla.com/D182731
2023-12-11 06:53:28 +00:00
Jens Stutte 95be758f8e Bug 1839051 - Use nsTArray::Sort for Sort and have also StableSort in nsCOMArray. r=necko-reviewers,kershaw,emilio,places-reviewers,mak
Depends on D181344

Differential Revision: https://phabricator.services.mozilla.com/D181889
2023-12-11 06:53:26 +00:00
Iulian Moraru 95f4da1719 Backed out 8 changesets (bug 1839051) for causing assertion failures on NotificationController.cpp. CLOSED TREE
Backed out changeset 94a4c163e417 (bug 1839051)
Backed out changeset 5204b97e40bc (bug 1839051)
Backed out changeset 8443a22a399d (bug 1839051)
Backed out changeset 2ab1e27d5945 (bug 1839051)
Backed out changeset 20a850a4fd7e (bug 1839051)
Backed out changeset 658568fe9662 (bug 1839051)
Backed out changeset 82525b11a7c3 (bug 1839051)
Backed out changeset 720e6863c41a (bug 1839051)
2023-12-04 22:34:25 +02:00
Jens Stutte 11a85fe724 Bug 1839051 - Remove include nsQuickSort.h from some more files. r=emilio
Depends on D182724

Differential Revision: https://phabricator.services.mozilla.com/D182731
2023-12-04 18:33:42 +00:00
Jens Stutte badb30f6c0 Bug 1839051 - Use nsTArray::Sort for Sort and have also StableSort in nsCOMArray. r=necko-reviewers,kershaw,emilio,places-reviewers,mak
Depends on D181344

Differential Revision: https://phabricator.services.mozilla.com/D181889
2023-12-04 18:33:40 +00:00
Nagata Aptana 1bde357754 Bug 1860230 - nsComponentManagerUtils.cpp: Only include "nsComponentManager.h" once r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192147
2023-10-30 08:17:42 +00:00
Sylvestre Ledru d0f6c7fc66 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan 6a90f5eded Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru cc8a0ee742 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
stransky 18bd527479 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-10-12 12:59:08 +00:00
Stanca Serban 17fb8bac17 Backed out changeset 50b448b2d902 (bug 1532281) for causing Linux build bustages. CLOSED TREE 2023-09-05 11:38:18 +03:00
stransky 60dc5e2272 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-09-05 08:14:21 +00:00
Andrew Osmond 00188ff292 Bug 1845946 - Part 2. Add plumbing for component services to be used in the GMP process. r=emilio,geckoview-reviewers,owlish
In order to bring the GMP process in closer alignment with how other
special purpose processes work, we need to be able to use the same
component services generally expected. This patch makes the GMP process
allow the same services as seen in the GPU/VR/RDD/Utility processes.

Differential Revision: https://phabricator.services.mozilla.com/D185336
2023-08-18 22:01:08 +00:00
Cristian Tuns da1e39f50e Backed out 3 changesets (bug 1845946) for causing bug 1848484. CLOSED TREE
Backed out changeset bad73ceb87dd (bug 1845946)
Backed out changeset f984e69872e4 (bug 1845946)
Backed out changeset af600f0290b6 (bug 1845946)
2023-08-13 15:38:36 -04:00
Andrew Osmond ce46c63b8d Bug 1845946 - Part 2. Add plumbing for component services to be used in the GMP process. r=emilio
In order to bring the GMP process in closer alignment with how other
special purpose processes work, we need to be able to use the same
component services generally expected. This patch makes the GMP process
allow the same services as seen in the GPU/VR/RDD/Utility processes.

Differential Revision: https://phabricator.services.mozilla.com/D185336
2023-08-10 14:31:47 +00:00
Andrew Osmond 0bb18adaa7 Bug 1847296 - Make the utility process selector use a unique bitflag. r=emilio
This patch corrects a bug where the bitflag for the utility process,
used in the process selector plumbing used to determine what component
services are available in a given process, do not overlap with the
socket and RDD processes.

Differential Revision: https://phabricator.services.mozilla.com/D185471
2023-08-08 00:41:17 +00:00
serge-sans-paille 7aeaa5c6d0 Bug 1815758 - Reorder StaticProtocolHandler fields to improve padding r=xpcom-reviewers,nika
This saves 4 padding bytes.

Differential Revision: https://phabricator.services.mozilla.com/D169231
2023-02-15 17:50:28 +00:00
serge-sans-paille 5d971cd17b Bug 1815757 - limit size of InterfaceOffset to reduce padding r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D169230
2023-02-15 17:50:27 +00:00
Iulian Moraru 9ac50220c9 Backed out 6 changesets (bug 1815667, bug 1815755, bug 1815664, bug 1815757, bug 1815758, bug 1815666) for causing build bustages on StaticComponents.cpp. CLOSED TREE
Backed out changeset 77e6a4a85bf9 (bug 1815758)
Backed out changeset 177e47b3c2b6 (bug 1815757)
Backed out changeset 0965e3256adf (bug 1815755)
Backed out changeset dff2ba4fce6f (bug 1815667)
Backed out changeset 7db93be29952 (bug 1815666)
Backed out changeset 469d307fbc21 (bug 1815664)
2023-02-15 16:39:41 +02:00
serge-sans-paille 45b09251e2 Bug 1815758 - Reorder StaticProtocolHandler fields to improve padding r=xpcom-reviewers,nika
This saves 4 padding bytes.

Differential Revision: https://phabricator.services.mozilla.com/D169231
2023-02-15 14:08:37 +00:00
serge-sans-paille a793461c45 Bug 1815757 - limit size of InterfaceOffset to reduce padding r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D169230
2023-02-15 14:08:37 +00:00
Andrew McCreight 0e20ed96ec Bug 961019 - Remove nsIClassInfo::MAIN_THREAD_ONLY. r=peterv,necko-reviewers
XPConnect has been single threaded for a long time, so this
flag doesn't do anything.

Differential Revision: https://phabricator.services.mozilla.com/D168442
2023-02-01 21:45:44 +00:00
serge-sans-paille da45a5a7c1 Bug 1811934 - Have nsID::ToString() return an managed string instead of a raw pointer r=xpcom-reviewers,nika
And use nsID::ToProvidedString(...) method when suitable.

This naturally fixes a memory leak in dom/fetch/FetchParent.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D167606
2023-01-31 16:44:04 +00:00
Norisz Fay 73c377bc06 Backed out changeset 7d4b830c1cf6 (bug 1811934) for causing wpt failures on pointerevent_pointerrawupdate_in_pointerlock.html CLOSED TREE 2023-01-31 21:44:59 +02:00
serge-sans-paille 2dfe139f78 Bug 1811934 - Have nsID::ToString() return an managed string instead of a raw pointer r=xpcom-reviewers,nika
And use nsID::ToProvidedString(...) method when suitable.

This naturally fixes a memory leak in dom/fetch/FetchParent.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D167606
2023-01-31 16:44:04 +00:00
Sylvestre Ledru 1f8d23143a Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D165559
2022-12-28 09:52:44 +00:00
Makoto Kato a628865b23 Bug 1805127 - Don't use AndroidBridge to get release version. r=geckoview-reviewers,calu
Actually, we can get Android release version from JNI generator, so it is
unnecessary to use `AndroidBridge` to get it.

Also, this cleans up unused AndroidBridge functions.

Differential Revision: https://phabricator.services.mozilla.com/D164431
2022-12-13 11:57:06 +00:00
Nika Layzell bca0a6965b Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.

This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.

Differential Revision: https://phabricator.services.mozilla.com/D162803
2022-12-01 15:43:19 +00:00
Marian-Vasile Laza 7492025127 Backed out 7 changesets (bug 1793463) for causing bustages on nsIOService.cpp. CLOSED TREE
Backed out changeset 47c3acb30de2 (bug 1793463)
Backed out changeset 71afe900eb17 (bug 1793463)
Backed out changeset d168599a269e (bug 1793463)
Backed out changeset d0f18d300818 (bug 1793463)
Backed out changeset a116e6f089f2 (bug 1793463)
Backed out changeset eba1123c8b56 (bug 1793463)
Backed out changeset 68a3eb8a3057 (bug 1793463)
2022-12-01 02:30:02 +02:00
Nika Layzell 90f7562d95 Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.

This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.

Differential Revision: https://phabricator.services.mozilla.com/D162803
2022-11-30 18:13:42 +00:00
Marco Castelluccio 2784a97322 Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162640
2022-11-22 13:37:48 +00:00
Kagami Sascha Rosylight fac20df060 Bug 1796085 - Part 1: Define MOZ_BACKGROUNDTASKS macro globally r=smaug,necko-reviewers,application-update-reviewers,nalexander,valentin
There are 10+ separate macro definition for this, we can do it globally instead.

Differential Revision: https://phabricator.services.mozilla.com/D156911
2022-10-19 12:04:08 +00:00
Andrew McCreight cc63625045 Bug 1792437, part 2 - Remove nsIModule. r=xpcom-reviewers,nika
I think some prior XPCOM component work removed the uses of this.

Differential Revision: https://phabricator.services.mozilla.com/D158210
2022-09-27 22:16:29 +00:00
Andrew McCreight c954e90d57 Bug 1792437, part 1 - Mark some xpcom/components interfaces builtinclass. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D158209
2022-09-27 22:16:29 +00:00
Nika Layzell 2d7346701a Bug 1789902 - Part 1: Support accessing XPCOM static components from Rust, r=xpcom-reviewers,barret
This will allow us to replace some of the uses of Services.py with the
non-deprecated static components getters.

Differential Revision: https://phabricator.services.mozilla.com/D156890
2022-09-13 13:47:13 +00:00
Emilio Cobos Álvarez 42b7f1a58c Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana
This prevents copies and avoids the hack we have to avoid this, which
right now is using nsDependent{C,}String.

Non-virtual actors can still use `nsString` if they need to on the
receiving end.

Differential Revision: https://phabricator.services.mozilla.com/D152519
2022-07-25 20:19:48 +00:00
Andi-Bogdan Postelnicu 72ba7fb691 Bug 1519636 - Reformat recent changes to the Google coding style. r=media-playback-reviewers,alwu
Updated with clang-format version 14.0.5 (taskcluster-cAkeFEZXQmihHYDO8Y4hRw)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D151003
2022-07-14 08:10:07 +00:00
Kris Maglione 850421ecb6 Bug 1774686 - Remove obsolete "binary compatibility" stub methods. r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149567
2022-07-11 15:40:43 +00:00
Kris Maglione 12faebc6e9 Bug 1773770: Part 12 - Remove XPCOM Module infrastructure. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149439
2022-06-30 09:12:19 +00:00
Kris Maglione 0a4ce6199e Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8
Several widget contracts use different implementations in the parent and
content processes. Since the static registration system builds its hashtable
at compile time rather than runtime, it doesn't support different contract IDs
per process. It could make the decision at lookup time, but given how rarely
it's needed, I don't think it would be worth the complexity.

This patch updates the widget components that need different implementations
in the parent and content process to register separate contracts for each
implementation, and a third stub contract which forwards to the appropriate
implementation depending on which process it's used in. The implementation
entries restrict their usage to the process they are meant to be used in.

Differential Revision: https://phabricator.services.mozilla.com/D149436
2022-06-30 09:12:18 +00:00
Kris Maglione df4aae4dd3 Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D149435
2022-06-30 09:12:18 +00:00
Kris Maglione ae5e26145b Bug 1773770: Part 7 - Migrate PowerManagerService to static component registration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149434
2022-06-30 09:12:17 +00:00
Kris Maglione 197caa5c79 Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-30 09:12:17 +00:00
Kris Maglione a8a76125b8 Bug 1773770: Part 4 - Migrate INI parser factory to static component registration. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149432
2022-06-30 09:12:16 +00:00
Kris Maglione 9746256032 Bug 1773770: Part 3 - Migrate XRE module to static component registration. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149431
2022-06-30 09:12:16 +00:00
Kris Maglione 7a2e2d4aa7 Bug 1773770: Part 2 - Migrage KeyValueStore to static component registration. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D149430
2022-06-30 09:12:16 +00:00
Kris Maglione ce5a40d75a Bug 1773770: Part 1 - Remove defunct layout module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149429
2022-06-30 09:12:15 +00:00
Mozilla Releng Treescript 82769fbd14 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-06-27 15:55:43 +00:00
Noemi Erli ff26b8a5d0 Backed out 11 changesets (bug 1773770) because shouldn't have been landed during a soft freeze CLOSED TREE
Backed out changeset ede55d570d1e (bug 1773770)
Backed out changeset d5374ef362c2 (bug 1773770)
Backed out changeset 26e47956508b (bug 1773770)
Backed out changeset c78f0c4c8f3f (bug 1773770)
Backed out changeset 9089a97bcb26 (bug 1773770)
Backed out changeset 17894f5b3b41 (bug 1773770)
Backed out changeset 986a64a9e6b4 (bug 1773770)
Backed out changeset 7a63d8676bf0 (bug 1773770)
Backed out changeset 38e7b99ffbed (bug 1773770)
Backed out changeset e9ad07c96ab2 (bug 1773770)
Backed out changeset 2a8f65417b66 (bug 1773770)
2022-06-24 20:03:43 +03:00
Kris Maglione 2e6a978eec Bug 1773770: Part 12 - Remove XPCOM Module infrastructure. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149439
2022-06-24 07:10:19 +00:00