Commit Graph

159 Commits

Author SHA1 Message Date
Mike Hommey
d46c6229a7 Bug 1917739 - Move Lz4 and mfbt/Compression* to mozglue/static. r=nika,frontend-codestyle-reviewers
As per mozglue/static/README:

> mozglue/static contains parts of the mozglue library that can/should be
> statically linked to e.g. js/Gecko.

The compression part of MFBT is a good candidate for this.

Differential Revision: https://phabricator.services.mozilla.com/D221565
2024-09-10 20:35:56 +00:00
Paul Adenot
b81bab7544 Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid
Differential Revision: https://phabricator.services.mozilla.com/D215395
2024-07-15 14:20:37 +00:00
Paul Adenot
64db4178ef Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206922
2024-04-30 14:21:45 +00:00
Cristian Tuns
bbbd3c280f Backed out 5 changesets (bug 1889978) for causing mda failures in mochitest_compat.toml CLOSED TREE
Backed out changeset ce0c34e548fa (bug 1889978)
Backed out changeset 96e08e04fa4d (bug 1889978)
Backed out changeset 2aeb87615ee0 (bug 1889978)
Backed out changeset 2272c3a73ad3 (bug 1889978)
Backed out changeset dc81d0c812b8 (bug 1889978)
2024-04-29 15:02:55 -04:00
Paul Adenot
aba8d4f080 Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206922
2024-04-29 16:58:04 +00:00
Sylvestre Ledru
b1480c3f5c Bug 1519636 - add intl/icu_capi/ and dom/media/platforms/ffmpeg/ to the clang ignore list r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D207866
2024-04-22 16:00:09 +00:00
Nicolas Chevobbe
39fd633713 Bug 1877989 - [devtools] Add CodeMirror 6 in tree. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D200305
2024-02-08 14:39:41 +00:00
John Schanck
7438e57809 Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 22:56:50 +00:00
Iulian Moraru
6fa14bea14 Backed out 2 changesets (bug 1816519, bug 1816520) for causing build bustages on WinWebAuthnManager.cpp. CLOSED TREE
Backed out changeset 1bae007bf17b (bug 1816520)
Backed out changeset 96cdbead4d15 (bug 1816519)
2023-08-31 23:07:26 +03:00
John Schanck
7933f948be Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 18:06:48 +00:00
Cosmin Sabou
2d7b94471e Backed out 2 changesets (bug 1816520, bug 1816519) for non-unified build bustages on AuthrsBridge_ffi.h. CLOSED TREE
Backed out changeset 03d6e3a37329 (bug 1816520)
Backed out changeset 891504a115dd (bug 1816519)
2023-08-31 09:21:24 +03:00
John Schanck
eb35827ea1 Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 04:48:19 +00:00
John Bieling
24210e2c3a Bug 1764698 - Move LanguageDetector.jsm and related files to toolkit. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D151606
2022-08-23 05:59:55 +00:00
Ben Dean-Kawamura
1cf71b7095 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 18:59:35 +00:00
Butkovits Atila
a8ad39a288 Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE
Backed out changeset 113593df6272 (bug 1766045)
Backed out changeset f137315bb6af (bug 1766045)
Backed out changeset d86ad195a9a0 (bug 1766045)
Backed out changeset e8bc2ec40cff (bug 1766045)
Backed out changeset 2d33e41ac507 (bug 1766045)
Backed out changeset 4d5874e16302 (bug 1766045)
2022-08-03 17:40:30 +03:00
Ben Dean-Kawamura
703dbdfe3a Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 13:48:27 +00:00
criss
04616ca52e Backed out 2 changesets (bug 1766045) for causing Bp-hybrid failures on UniFFIGeneratedScaffolding.cpp
Backed out changeset 5708672d0e83 (bug 1766045)
Backed out changeset cc77fd5ec7a8 (bug 1766045)
2022-08-03 00:01:58 +03:00
Ben Dean-Kawamura
c1816bab45 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-02 19:51:47 +00:00
Narcis Beleuzu
94e1afa8c3 Backed out 2 changesets (bug 1776104) as requested by Andi
Backed out changeset c2f124ed65ec (bug 1776104)
Backed out changeset 05da7d6fa999 (bug 1776104)
2022-07-06 19:15:18 +03:00
Ryan VanderMeulen
f26cea8874 Bug 1776104 - Remove missing paths from Generated.txt and ThirdPartyPaths.txt. r=andi
Also refresh the list generated from ThirdPartyPaths.txt in
.clang-format-ignore and clean up a few other entries.

Differential Revision: https://phabricator.services.mozilla.com/D150070
2022-06-27 13:05:46 +00:00
Jim Blandy
84f5976ec1 Bug 1765179: Remove dom/webgpu/ffi. r=jgilbert DONTBUILD
Remove the unused source directory `dom/webgpu/ffi`.

The `wgpu_ffi_generated.h` header actually #included by
`gfx/wgpu_bindings/wgpu.h` is generated by `gfx/wgpu_bindings/moz.build` at
build time and placed in the obj directory. The copy in the source directory is
ignored, and it's confusing to keep it around.

Differential Revision: https://phabricator.services.mozilla.com/D143931
2022-04-19 22:26:40 +00:00
stransky
7b0c28a7d1 Bug 1750663 [Linux] Move mozva library and va headers to media directory r=alwu,media-playback-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D136596
2022-01-24 10:19:51 +00:00
Dan Minor
522eefbe31 Bug 1719554 - Unify unicode::Script as intl::Script; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D132278
2021-12-06 18:15:50 +00:00
Butkovits Atila
56c46d06a1 Backed out 3 changesets (bug 1719554) for causing bustages complaining about gfxTextRun.cpp.
Backed out changeset 6181e40d4da1 (bug 1719554)
Backed out changeset c261ede6ae81 (bug 1719554)
Backed out changeset 221ec418475c (bug 1719554)
2021-12-04 00:58:15 +02:00
Dan Minor
30ad309163 Bug 1719554 - Unify unicode::Script as intl::Script; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D132278
2021-12-03 20:49:32 +00:00
Deian Stefan
1ee9a841d8 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 23:30:49 +00:00
Cristian Tuns
f0ef0360eb Backed out changeset d486edc7499b (bug 1732201) for causing web-platform-tests failures on header-totalsfntsize-001.xht CLOSED TREE 2021-11-27 07:32:22 -05:00
Deian Stefan
0a5e1f2075 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 04:41:21 +00:00
Dan Minor
6de738dee6 Bug 1719746 - Add Locale to moz.build; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D126983
2021-10-18 13:38:20 +00:00
Butkovits Atila
7495be3566 Backed out 9 changesets (bug 1719746, bug 1735341) as requested by dev. CLOSED TREE
Backed out changeset f1b3e7dec7e2 (bug 1735341)
Backed out changeset e7675e3524da (bug 1719746)
Backed out changeset 05109157a4b5 (bug 1719746)
Backed out changeset b98f10477f44 (bug 1719746)
Backed out changeset dce9c0d6c79c (bug 1719746)
Backed out changeset 472767f43cad (bug 1719746)
Backed out changeset 4fa55bded471 (bug 1719746)
Backed out changeset 391c305dce1f (bug 1719746)
Backed out changeset 5f20632de2be (bug 1719746)
2021-10-15 02:02:25 +03:00
Dan Minor
bef53f7ede Bug 1719746 - Add Locale to moz.build; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D126983
2021-10-13 12:07:01 +00:00
Dzmitry Malyshau
5695f517a5 Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley
This update makes wgpu a vendored dependency instead of having it in gfx/wgpu.

## Notes


It relies on https://phabricator.services.mozilla.com/D123157

It has a quirk related to OpenGL ES backend. Previousy, we manually had to disable GL backend
in order to avoid vendoring WASM dependencies in. This time, manual editing is more complicated,
so instead this change adds a few cargo patch lines to point WASM dependencies to dummy projects.

The update also totally removes SPIRV-Cross, since the latest `wgpu` doesn't depend on it any more.
The compiled binary size for Gecko should improve with this.

Differential Revision: https://phabricator.services.mozilla.com/D123153
2021-09-03 16:52:08 +00:00
Michael Froman
bbce1490f9 Bug 1719491 - revert clang-format of tools/profiler/public/GeckoTraceEvent.h. r=ng
Bug 1714577 meant to exclude tools/profiler/public/GeckoTraceEvent.h from
clang-format, but the trailing comment in .clang-format-ignored broke that.
Bug 1519636 then formatted the file.

This fixes the exclusion in .clang-format-ignore and backs out the
clang-format on tools/profiler/public/GeckoTraceEvent.h.

Differential Revision: https://phabricator.services.mozilla.com/D119297
2021-07-07 15:57:17 +00:00
Paul Adenot
6a738f2062 Bug 1714577 - Part 5 - Add GeckoTraceEvent.h to clang-format-ignore. r=gerald
We're going to modify it, but it will cause unnecessary churn to reformat it to
Gecko style (it would change all indentation, etc.), in case we want to update
it with upstream.

Differential Revision: https://phabricator.services.mozilla.com/D116842
2021-06-09 15:43:38 +00:00
Mike Hommey
6779b992a5 Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D103131
2021-01-28 09:48:53 +00:00
Csoregi Natalia
8db3ebb5da Backed out 9 changesets (bug 1686831) for sanitizer failures on nsTSubstring.cpp. CLOSED TREE
Backed out changeset 0e03d508c8d4 (bug 1686831)
Backed out changeset cf6dd6eab427 (bug 1686831)
Backed out changeset 308000f1e14b (bug 1686831)
Backed out changeset c4d470be0184 (bug 1686831)
Backed out changeset 9751918b1ccb (bug 1686831)
Backed out changeset dd9b7e71dcfb (bug 1686831)
Backed out changeset 486a184530a7 (bug 1686831)
Backed out changeset b64d3e89bf68 (bug 1686831)
Backed out changeset dcc6396e455a (bug 1686831)
2021-01-28 09:55:28 +02:00
Mike Hommey
7208a7a56d Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D103131
2021-01-27 23:10:02 +00:00
Markus Stange
40965f4cef Bug 1686635 - Remove gfx/wr from .clang-format-ignore. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D101317
2021-01-14 04:25:08 +00:00
Markus Stange
2afea612fc Bug 1686635 - Fix line endings in .clang-format-ignore. r=sylvestre
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D101316
2021-01-14 04:25:01 +00:00
Robert Mader
71f8bab55f Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky
This is required to support pasting the primary selection into Firefox on compositors only
supporting the public protocol, such as KWin. Getting the selection *from* Firefox is done
via GTK and will be supported from GTK 3.24.23 on.

The public protocol, while practically identical, will replace the gtk-private one eventually.
However, support for the private one will still be needed for a while.

Note: this also updates the auto-generated gtk-primary-selection files.

Differential Revision: https://phabricator.services.mozilla.com/D91594
2020-10-02 09:13:06 +00:00
Narcis Beleuzu
c3f877ffe4 Backed out changeset 499103fc4ccb (bug 1667674) for bc failures on browser_aboutCertError_offlineSupport.js . CLOSED TREE 2020-09-30 21:50:27 +03:00
Robert Mader
8397a4676b Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky
This is required to support pasting the primary selection into Firefox on compositors only
supporting the public protocol, such as KWin. Getting the selection *from* Firefox is done
via GTK and will be supported from GTK 3.24.23 on.

The public protocol, while practically identical, will replace the gtk-private one eventually.
However, support for the private one will still be needed for a while.

Note: this also updates the auto-generated gtk-primary-selection files.

Differential Revision: https://phabricator.services.mozilla.com/D91594
2020-09-30 12:35:49 +00:00
Michael Froman
5b942915e9 Bug 1664898 - move media/mtransport to media/transport. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90309
2020-09-22 21:43:49 +00:00
Tom Prince
2244b1cc7c Bug 1651731: [lint] Only allow files that are typically executable to have shebang lines override permission check; r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82949
2020-07-09 21:16:32 +00:00
Iain Ireland
bd890c87d7 Bug 1642493: Apply clang-format to shim files r=mgaudet
Now this code is less of a weird outlier.

Differential Revision: https://phabricator.services.mozilla.com/D77732
2020-06-04 14:35:05 +00:00
Iain Ireland
31ded7e5aa Bug 1642493: Clean up remaining references to ENABLE_NEW_REGEXP and old irregexp r=mgaudet
I kept a running list of code that would be dead once we removed the old engine. This is what was on that list.

Note: The regexp_parse tests used a testing function that parsed a regexp and returned an AST to compare against the expected AST. They are being deleted because the tests are fragile in the face of upstream changes, not particularly useful, and a lot of work to convert.

Depends on D77727

Differential Revision: https://phabricator.services.mozilla.com/D77728
2020-06-04 14:35:04 +00:00
thomasmo
59be1c47cd Bug 1635608 - Update OpenVR source code to use Unix line endings r=daoshengmu
This change simply changes line endings to make diffing easier with updates from OpenVR, which have Unix line endings.
Further, .clang-format-ignore, does not seem to work for wildcard to match a directory and subdirectory, so all files are listed individually.

Differential Revision: https://phabricator.services.mozilla.com/D74100
2020-05-07 20:20:39 +00:00
Sylvestre Ledru
ee37eb29a7 Bug 1466070 - Integrate clang-format into mozlint r=linter-reviewers,ahal
For now, the local detection sucks. I will fix that once bug 1625884
is fixed

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:39:32 +00:00
Marc Streckfuss
1eb3d684e4 Bug 1353652 - Initial Draft of MPRIS API Provider (Media API on Linux) r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D47999

--HG--
extra : moz-landing-system : lando
2020-02-12 13:10:50 +00:00
Coroiu Cristina
b0bbc80821 Backed out changeset b4dc366c9161 (bug 1353652) for build bustage on linux32 at build/src/widget/gtk/MPRISServiceHandler.cpp a=backout 2020-02-12 12:13:03 +02:00